html body.pm-social-page[data-meydan-surface],
.m34-account {
  --meydan-rose: #ffe5e6;
  --meydan-hairline: #efe4e1;
  --meydan-paper: #fff5ef;
  --meydan-ink: #34262c;
  --meydan-muted: #73636a;
  --meydan-accent: #af384e;
  background: var(--meydan-paper) !important;
}
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card {
  box-sizing: border-box;
  min-width: 0;
  margin: 0 0 14px !important;
  border: 1px solid var(--meydan-hairline) !important;
  border-radius: 20px !important;
  box-shadow: none !important;
  background: #fff;
  font-family: inherit;
}
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card::after { content: none; }
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .cardhead {
  gap: 10px;
  padding: 10px 12px 10px 14px;
}
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .cardhead > .pm-author-link {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
}
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .cardhead > .pm-author-link :is(.avatar,img) {
  width: 38px !important;
  height: 38px !important;
  object-fit: cover;
}
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .byline {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 7px;
  line-height: 1.3;
}
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .byline > .pm-author-link {
  width: 100%;
  color: var(--meydan-ink);
  text-decoration: none;
}
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .byline b { font-size: 15px; font-weight: 700; }
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .byline > small,
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .byline > .small {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
}
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .byline > small { color: var(--meydan-muted); }
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .byline > a.small {
  color: var(--meydan-accent);
  text-decoration: none;
  font-weight: 600;
}
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .pm-more > summary {
  font-size: 15px;
  color: var(--meydan-muted);
}
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .body:empty { display: none; }

/* Allow a single photo to use its natural ratio, including wide landscapes. */
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .pm-media-gallery:has(> .pm-photo-link:only-child),
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .pm-media-gallery > .pm-photo-link:only-child {
  height: auto;
  max-height: none;
  aspect-ratio: auto;
}
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .pm-media-gallery > .pm-photo-link:only-child > .postimg {
  width: 100%;
  height: auto;
  max-height: min(69svh, 640px);
  object-fit: contain !important;
  background: #fbf3ef;
}
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .pm-caption:not(:empty) { margin: 0; padding: 12px 16px 0; }
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .pm-caption p { margin: 0; line-height: 1.5; color: var(--meydan-ink); }
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card > .actions { gap: 6px; padding: 3px 13px 6px; border: 0; }
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .actions .act {
  min-width: 48px;
  width: auto;
  padding: 0 6px;
  border: 0;
  background: transparent;
  color: #69585f;
}
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .actions .act[aria-pressed="true"] { color: var(--meydan-accent); }
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .actions .pm-ui-icon { width: 18px; height: 18px; }
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .cm-block { padding: 14px 16px; border-top: 1px solid var(--meydan-hairline); }
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .cm-content > p {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 3px 12px 12px;
}
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .cm-content > p > .cm-name { margin-bottom: 1px; color: var(--meydan-ink); }
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .cm-meta { gap: 0 4px; margin-top: 0; }
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .cm-meta time { flex: 0 1 auto; margin-right: 4px; }
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .cm-meta :is(.cm-like,.cm-guest-like) {
  min-width: 44px;
  min-height: 44px;
  padding: 0 4px;
  gap: 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #6c5c63;
}
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .cm-meta :is(.cm-like,.cm-guest-like) svg {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
}
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .cm-meta .cm-like[aria-pressed="true"] { color: var(--meydan-accent); }
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .cm-meta :is(.cm-like,.cm-guest-like) b { font-size: 11px; }
html body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card .cm-write { background: #faf5f3; border-color: var(--meydan-hairline); }

@media (min-width: 600px) {
  html:not([data-mama34-video-engine]) body.pm-social-page[data-meydan-surface] :is(#feed, .pm-main) article.pm-social-card {
    border-radius: 20px !important;
    margin-bottom: 16px !important;
  }
}

/* The same post has one visual hierarchy in the stream, on a profile, and on its own page. */
body[data-meydan-surface] :is(#feed,main.pm-main) article.pm-social-card .byline { gap: 3px 7px; }
body[data-meydan-surface] :is(#feed,main.pm-main) article.pm-social-card .byline > a.small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff1ed;
  color: #924047;
  padding: 1px 7px;
  border-radius: 8px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
body[data-meydan-surface] :is(#feed,main.pm-main) article.pm-social-card .byline > .small::after { content: "›" / ""; }
html body[data-meydan-surface] :is(#feed,main.pm-main) article.pm-social-card .pm-caption p { font-size: 15px; line-height: 1.48; }
html body[data-meydan-surface] :is(#feed,main.pm-main) article.pm-social-card .pm-caption { background: none; }
html body.pm-social-page[data-meydan-surface] :is(#feed,main.pm-main) article.pm-social-card .actions .act {
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  min-height: 44px;
  min-width: 48px;
  padding: 0 11px;
  gap: 5px;
  cursor: pointer;
  font: 650 12px/1.3 "Meydan Inter",system-ui,sans-serif;
  box-shadow: none;
  border: 0;
  border-radius: 12px;
  background: transparent;
}
body[data-meydan-surface] :is(#feed,main.pm-main) article.pm-social-card .actions .act::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 6px 0;
  border-radius: 999px;
  background: #f8f3f1;
}
body[data-meydan-surface] :is(#feed,main.pm-main) article.pm-social-card .actions .act:is([aria-pressed=true],[aria-expanded=true])::before { background: var(--meydan-rose); }
body[data-meydan-surface] :is(#feed,main.pm-main) article.pm-social-card .actions .cm-focus[aria-expanded=true] { color: var(--meydan-accent); }
body[data-meydan-surface] :is(#feed,main.pm-main) article .cm-focus .cm-total::after { content: " yorum" / ""; font-weight: 550; }

body[data-meydan-surface] article .meydan-excerpt {
  box-sizing: border-box;
  width: calc(100% - 32px);
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: -2px 16px 6px;
  padding: 0 2px;
  border: 0;
  border-top: 1px solid var(--meydan-hairline);
  border-radius: 0;
  box-shadow: none;
  color: var(--meydan-muted);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: 400 13px/1.45 "Meydan Inter",system-ui,sans-serif;
}
.meydan-excerpt strong { max-width: 42%; flex: 0 1 auto; font-weight: 650; color: var(--meydan-ink); }
.meydan-excerpt :is(strong,span) { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.meydan-excerpt span { flex: 1 1 0%; }
.meydan-excerpt::after { content: "›" / ""; color: #917b80; font-size: 18px; }
body[data-meydan-surface] article :is(.meydan-excerpt,.cm-block)[hidden] { display: none !important; }
body[data-meydan-surface] article.pm-social-card .cm-block {
  border-radius: 0 0 20px 20px;
  color: var(--meydan-ink);
  --cm-accent: var(--meydan-accent);
  --cm-peach: var(--meydan-rose);
  --cm-ink: var(--meydan-ink);
  --cm-muted: var(--meydan-muted);
}
body[data-meydan-surface] :is(#feed,main.pm-main) .cm-heading { margin: 0 0 12px; font-size: 14px; letter-spacing: -.01em; color: var(--meydan-ink); }
body[data-meydan-surface] :is(#feed,main.pm-main) article.pm-social-card .cm-block > * { order: 0; }
body[data-meydan-surface] article.pm-social-card .cm-row { gap: 9px; margin: 0 0 6px; }
body[data-meydan-surface] :is(#feed,main.pm-main) .cm-list .cm-content > p {
  font-size: 14px !important;
  line-height: 1.45 !important;
  color: var(--meydan-ink);
}
body[data-meydan-surface] :is(#feed,main.pm-main) .cm-list .cm-content > p > a.cm-name { font-size: 13px; margin: 0 0 2px; color: var(--meydan-ink); }
html body[data-meydan-surface] :is(#feed,main.pm-main) .cm-row .cm-meta { align-items: center; margin: 0; gap: 2px; }
body[data-meydan-surface] :is(#feed,main.pm-main) .cm-meta time { color: var(--meydan-muted); font-size: 11px; }
body[data-meydan-surface] article .cm-meta :is(.cm-reply,a:not(.cm-guest-like)) { font-size: 11px; color: var(--meydan-muted); }
/* Reserve the trigger's space. The options float above it without moving the thread. */
body[data-meydan-surface] article .cm-meta {
  position: relative;
  min-height: 44px;
  padding-inline-end: 44px;
}
body[data-meydan-surface] article .cm-meta > .cm-more {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  box-sizing: border-box;
  width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
body[data-meydan-surface] article .cm-meta > .cm-more > summary {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  color: var(--meydan-muted);
}
body[data-meydan-surface] article .cm-meta > .cm-more[open] {
  z-index: 5;
  isolation: isolate;
  width: min(8rem, 100%);
  padding: 4px 4px 48px;
}
body[data-meydan-surface] article .cm-more[open]::before {
  content: "";
  position: absolute;
  inset: 0 0 44px;
  z-index: -1;
  border: 1px solid var(--meydan-hairline);
  border-radius: 12px;
  background: white;
  box-shadow: 0 4px 16px #4127311c;
  pointer-events: none;
}
body[data-meydan-surface] article .cm-meta .cm-more[open] > form { display: block; margin: 0; }
body[data-meydan-surface] article .cm-meta .cm-more[open] :is(a,button) {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  color: var(--meydan-ink);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
}
body[data-meydan-surface] article .cm-meta .cm-more[open] form button { color: #a32c45; }
body[data-meydan-surface] article .cm-more :is(a,button,summary):focus-visible {
  outline: 2px solid var(--meydan-accent);
  outline-offset: -2px;
}
@media (hover: hover) {
  body[data-meydan-surface] article .cm-meta .cm-more[open] :is(a,button):hover { background: var(--meydan-rose); }
}
body[data-meydan-surface] :is(#feed,main.pm-main) article.pm-social-card .cm-form { padding: 0; border: 0; margin: 4px 0 0; }
html body[data-meydan-surface] :is(#feed,main.pm-main) article.pm-social-card .cm-write {
  padding: 1px 1px 1px 13px;
  gap: 4px;
  border-radius: 18px;
  border: 1px solid #e8dcda;
  background: #fcf8f6;
  box-shadow: none;
}
html body[data-meydan-surface] :is(#feed,main.pm-main) article.pm-social-card .cm-write:focus-within {
  border-color: var(--meydan-accent);
  box-shadow: 0 0 0 1px var(--meydan-accent);
}
body[data-meydan-surface] :is(#feed,main.pm-main) .cm-write textarea { font-size: 16px; color: var(--meydan-ink); }
body[data-meydan-surface] :is(#feed,main.pm-main) .cm-write textarea::placeholder { color: #7b6a70; }
body[data-meydan-surface] :is(#feed,main.pm-main) .cm-send[aria-label] {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-width: 44px;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: white;
  opacity: 1;
  font-size: 0;
}
body[data-meydan-surface] .cm-send[aria-label]::before { content: ""; position: absolute; z-index: -1; inset: 6px; border-radius: 50%; background: var(--meydan-accent); }
body[data-meydan-surface] .cm-send[aria-label]::after { content: "↑" / ""; position: absolute; inset: 0; display: grid; place-items: center; font: 650 20px/1 system-ui,sans-serif; }
body[data-meydan-surface] :is(#feed,main.pm-main) .cm-send[aria-label]:disabled { color: #866970; }
body[data-meydan-surface] .cm-send[aria-label]:disabled::before { background: #f1e4e4; }
body[data-meydan-surface] .cm-form[data-busy] .cm-send[aria-label]::after { content: "…" / ""; }
body[data-meydan-surface] article .cm-replying { background: #fff1ed; color: #833847; }
body[data-meydan-surface] article .cm-signin { color: var(--meydan-accent); background: #fff4ef; }
body[data-meydan-surface] article :is(.meydan-excerpt,.cm-focus,.cm-send,.act):focus-visible { outline: 2px solid var(--meydan-accent); outline-offset: 1px; }

html body[data-meydan-surface] #feed .m34-feed-heading h1 { letter-spacing: -.045em; color: var(--meydan-ink); }
html:not([data-mama34-video-engine]) body[data-meydan-surface] #feed .m34-weekly-entry,
html[data-mama34-video-engine] body[data-meydan-surface] #feed .m34-app-stars-entry {
  border-radius: 14px;
  padding-inline: 4px 8px;
  color: #483337;
}
html body[data-meydan-surface] #feed :is(.m34-weekly-star,.m34-app-stars-medal,.pw-heading::before) { background: #ffdfb1; border-color: transparent; color: #83431e; }
body[data-meydan-surface] .pub-profile, body[data-meydan-surface] .m69-pet { box-shadow: none; }
html body[data-meydan-surface] .m69-identity { background: linear-gradient(105deg,#fff0e8,#fffaf6 70%); border-top: 0; }
html body[data-meydan-surface] .pub-profile { background: linear-gradient(130deg,#fff7f0,#fff 62%); }
html body[data-meydan-surface] .m69-owner { background: white; }
html .m34-account #profile .mp-preview { background: #fff6ef; }
html body[data-meydan-surface] .pub-wrap .social-pets.m73-pets .m69-chevron { color: var(--meydan-accent); }

@media (max-width: 599px) {
  html body.pm-social-page[data-meydan-surface] :is(#feed,main.pm-main) article.pm-social-card {
    width: calc(100% - 16px);
    margin-inline: 8px !important;
    margin-bottom: 12px !important;
    border-radius: 18px !important;
  }
}
