/* Comments + condiment reactions everywhere (social R1, task T4; docs/social-plan.md §8 items 1–4), built to the approved
 * T0 board. Classes rx- (reactions), cm- (comments), sx- (permalinks), lb-panel (the photo viewer's comments).
 * Only the site's tokens (style.css :root / :root[data-night]), so light and 2 AM Mode both work.
 * The static footer rules repeat css/feed.css (T6) on purpose: spot pages, permalinks, dispatches and Dog of the Week
 * don't load feed.css. At integration T9 drops the copy from feed.css (spec §4.5a "Styles"). */

[hidden] { display: none !important; }

/* ── the item footer: reaction button · 💬 N · Share · ⋯ ── */
.sx-acts { position: relative; flex-wrap: nowrap; min-width: 0; }
.sx-acts .mh-act, .sx-acts .rx-sum { flex: none; white-space: nowrap; }
@media (max-width: 420px) { .sx-acts { gap: 0; } .sx-acts .mh-share-label { display: none; } .sx-acts .mh-act { padding-inline: 8px; } }
@media (max-width: 359px) { .sx-acts .rx-l { display: none; } }
.sx-more { margin-left: auto; font-size: 18px; letter-spacing: 1px; }
.sx-acts .cm-menu { right: 0; left: auto; top: auto; bottom: calc(100% + 4px); }
.cm-foot { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 2px; }
.cm-foot.is-small { border-top: 0; margin-top: 4px; padding-top: 0; }
.cm-foot.is-small .mh-act { padding-block: 6px; font-size: 13px; }

.rx { position: relative; display: inline-flex; align-items: center; gap: 2px; }
.rx-btn { touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.rx-btn .rx-e { font-size: 17px; line-height: 1; filter: grayscale(1) opacity(.75); }
.rx-btn.is-on .rx-e { filter: none; }
.rx-btn.is-on { background: var(--open-bg); color: var(--open); border-radius: 99px; }
.rx-btn.rx-fire.is-on { background: var(--closed-bg); color: var(--closed); }
.rx-btn.rx-lol.is-on, .rx-btn.rx-want.is-on { background: var(--soon-bg); color: var(--soon); }
.rx-btn.rx-salute.is-on { background: var(--unk-bg); color: var(--ink); }
.rx-sum { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; color: var(--muted); font: 600 13.5px var(--body); padding: 6px 6px; border-radius: 99px; cursor: pointer; }
button.rx-sum:hover { color: var(--ink); background: var(--bun); }
.rx-tops { display: inline-flex; font-size: 15px; letter-spacing: -3px; padding-right: 3px; }
.rx-sum.is-empty { padding: 0; }
.rx-pick { position: absolute; z-index: 30; bottom: calc(100% + 6px); left: -4px; display: flex; gap: 2px; padding: 5px; background: var(--card); border: 1px solid var(--line);
  border-radius: 99px; box-shadow: 0 10px 30px rgb(40 20 0 / .22); }
.rx-pick.is-below { bottom: auto; top: calc(100% + 6px); }
.rx-pick button { display: grid; justify-items: center; gap: 1px; width: 52px; padding: 5px 0 3px; border: 0; border-radius: 16px; background: none; cursor: pointer; color: var(--muted); }
.rx-pick button span { font-size: 27px; line-height: 1.1; transition: transform .12s; }
.rx-pick button small { font: 700 10.5px var(--body); }
.rx-pick button:hover span, .rx-pick button:focus-visible span { transform: scale(1.25) translateY(-3px); }
.rx-pick button:focus-visible { outline: 3px solid var(--mustard); outline-offset: -2px; }
.rx-pick button[aria-checked="true"] { background: var(--bun); color: var(--ink); }
:root[data-night] .rx-pick { box-shadow: 0 0 0 1px var(--neon-cyan), 0 10px 30px rgb(0 0 0 / .5); }
@media (max-width: 360px) { .rx-pick button { width: 46px; } .rx-pick button span { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { .rx-pick button span { transition: none; } .rx-pick button:hover span, .rx-pick button:focus-visible span { transform: none; } }
/* small: on comments */
.rx.is-small .rx-btn { padding: 2px 6px; font-size: 12.5px; gap: 3px; display: inline-flex; align-items: center; border-radius: 99px; }
.rx.is-small .rx-btn .rx-e { font-size: 13px; }
.rx.is-small .rx-sum { font-size: 12px; padding: 2px 4px; } .rx.is-small .rx-sum.is-empty { display: none; } .rx.is-small .rx-tops { font-size: 12px; letter-spacing: -2px; }
.rx.is-small .rx-pick button { width: 44px; } .rx.is-small .rx-pick button span { font-size: 22px; }
@media (max-width: 420px) {   /* one meta row on phones: the emoji says it */
  .rx.is-small .rx-l { display: none; }
  .cm-meta { gap: 2px 4px; padding-left: 2px; }
  .cm-replies .cm > img, .cm-replies .cm > a > img { width: 26px; height: 26px; }
  .sx-perma-side.fb-card { padding: 12px; }
  .rx.is-small .rx-btn { padding: 2px 3px; }
  .cm-meta .cm-lnk { padding: 2px 3px; }
}

/* ⋯ menus */
.cm-menu { position: absolute; z-index: 40; top: calc(100% + 2px); left: 40px; display: grid; min-width: 190px; padding: 6px; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: 0 12px 34px rgb(40 20 0 / .22); }
.cm-menu.is-up { top: auto; bottom: calc(100% + 2px); }
.cm-menu button { text-align: left; border: 0; background: none; padding: 9px 10px; border-radius: 9px; font: 600 14px var(--body); color: var(--ink); cursor: pointer; width: 100%; }
.cm-menu button:hover, .cm-menu button:focus-visible { background: var(--bun); outline: 0; }
.cm-menu button small { color: var(--muted); font-weight: 500; }
.cm-menu .is-bad { color: var(--closed); }
:root[data-night] .cm-menu { box-shadow: 0 0 0 1px #2f3770, 0 12px 34px rgb(0 0 0 / .5); }
.cm-owner { display: inline-block; color: #fff; background: var(--open); border-radius: 4px; padding: 0 5px; font: 800 11px/17px var(--body); vertical-align: 1px; }
:root[data-night] .cm-owner { color: #04121a; }

/* ── the thread ── */
.cm-wrap { display: grid; gap: 12px; min-width: 0; scroll-margin-top: 80px; }
.cm-h { margin: 6px 0 0; font: 800 20px/1.2 var(--head); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cm-h small { font: 600 13px var(--body); color: var(--muted); }
.cm-sort { margin-left: auto; display: inline-flex; gap: 2px; }
.cm-sort .cm-lnk[aria-pressed="true"] { color: var(--ink); background: var(--bun); }
.cm-loading, .cm-closed { margin: 0; font-size: 14px; }
.cm-list, .cm-replies { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cm-replies { margin-top: 10px; gap: 10px; }
.cm { display: flex; gap: 9px; align-items: flex-start; min-width: 0; scroll-margin-top: 90px; }
.cm > img, .cm > a > img { margin-top: 2px; box-shadow: none; display: block; }
.cm > a { flex: none; }
.cm-b { flex: 1; min-width: 0; }
.cm-bubble { display: inline-block; max-width: 100%; background: var(--bun); border-radius: 16px; padding: 7px 12px 8px; }
.cm.is-own > .cm-b > .cm-bubble { background: var(--soon-bg); }
.cm.is-owner > .cm-b > .cm-bubble { background: var(--open-bg); box-shadow: inset 0 0 0 1.5px var(--open); }
.cm.is-staff > .cm-b > .cm-bubble { box-shadow: inset 0 0 0 1.5px var(--ketchup); }
.cm.is-hl > .cm-b > .cm-bubble { box-shadow: 0 0 0 2px var(--mustard); }
.cm.is-off > .cm-b > .cm-bubble { background: transparent; border: 1.5px dashed var(--line); }
.cm-name { display: block; font-size: 13.5px; line-height: 1.3; }
.cm-name a { color: var(--ink); text-decoration: none; } .cm-name a:hover { text-decoration: underline; }
.cm-rk { color: var(--muted); font-size: 12px; font-weight: 600; }
.cm-rk.is-staff { color: #fff; background: var(--ketchup); border-radius: 4px; padding: 0 5px; font-size: 11px; font-weight: 800; }
.cm-t { margin: 2px 0 0; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; white-space: pre-wrap; }
.cm-t.is-hidden { font-style: italic; color: var(--muted); margin: 0; }
.cm-at { font-weight: 700; color: var(--ketchup); text-decoration: none; }
:root[data-night] .cm-at { color: var(--neon-cyan); }
a.cm-at:hover { text-decoration: underline; }
.cm-meta { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 2px 8px; padding: 3px 0 0 6px; font-size: 12.5px; color: var(--muted); }
.cm-meta time { font-weight: 600; }
.cm-lnk { border: 0; background: none; color: var(--muted); font: 700 12.5px var(--body); padding: 2px 4px; cursor: pointer; border-radius: 6px; }
.cm-lnk:hover { color: var(--ink); background: var(--bun); }
.cm-lnk:focus-visible { outline: 3px solid var(--mustard); outline-offset: 0; }
.cm-dots { font-size: 16px; letter-spacing: 1px; line-height: 1; }
.cm-morereplies { margin: 8px 0 0 2px; display: block; }
.cm-spot-ava { position: relative; flex: none; display: inline-grid; place-items: center; margin-top: 2px; border-radius: 9px; background: var(--open-bg); box-shadow: 0 0 0 2px var(--open); }
.cm-spot-ava img { width: 100%; height: 100%; object-fit: cover; border-radius: 9px; display: block; }
.cm-spot-ini { font: 800 15px var(--head); color: var(--open); }
.cm-spot-ava i { position: absolute; right: -4px; bottom: -4px; width: 16px; height: 16px; border-radius: 50%; background: var(--open); color: #fff; font: 900 10px/16px var(--body);
  text-align: center; font-style: normal; box-shadow: 0 0 0 2px var(--card); }
.cm-more { justify-self: start; }
.cm-wrap .btn.small, .cm-signin .btn.small, .lb-panel .btn.small { padding: 7px 14px; font-size: 14px; min-height: 0; }
.cm-edit { display: grid; gap: 6px; margin-top: 4px; min-width: min(420px, 70vw); }
.cm-edit textarea { width: 100%; resize: vertical; padding: 8px 10px; border: 1.5px solid var(--mustard); border-radius: 12px; background: var(--bg); color: var(--ink); font: 16px/1.35 var(--body); }
.cm-edit-row { display: flex; gap: 6px; justify-content: flex-end; }
.cm-msg { margin: 0; font-size: 13px; color: var(--muted); } .cm-msg:empty { display: none; } .cm-msg.bad { color: var(--closed); }

/* the empty state */
.cm-empty { display: flex; gap: 14px; align-items: center; padding: 16px; border: 2px dashed var(--line); border-radius: var(--radius); background: var(--bun); }
.cm-empty img { flex: none; height: auto; }
.cm-empty h3 { margin: 0 0 3px; font: 800 18px var(--head); } .cm-empty p { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 360px) { .cm-empty { padding: 12px; gap: 10px; } .cm-empty img { width: 40px; } }

/* the comment box (sticky at the bottom on phones) */
.cm-form { display: grid; gap: 6px; background: var(--card); border: 2px solid var(--mustard); border-radius: var(--radius); padding: 10px 12px; }
@media (max-width: 860px) {
  .cm-wrap .cm-box-slot { position: sticky; bottom: 0; z-index: 5; }
  .cm-wrap .cm-form { border-radius: var(--radius) var(--radius) 0 0; border-bottom: 0;
    box-shadow: 0 -8px 20px rgb(40 20 0 / .08); padding-bottom: max(10px, env(safe-area-inset-bottom)); }
}
.cm-row { display: flex; gap: 8px; align-items: flex-end; min-width: 0; }
.cm-row .mh-ava { box-shadow: none; margin-bottom: 4px; }
.cm-row textarea { flex: 1; min-width: 0; resize: none; min-height: 40px; max-height: 140px; padding: 9px 13px; border: 1.5px solid var(--line); border-radius: 20px; background: var(--bg);
  color: var(--ink); font: 16px/1.35 var(--body); }   /* 16px: iPhone zooms in on smaller text boxes */
.cm-row textarea:focus { outline: none; border-color: var(--mustard); }
.cm-row .btn { flex: none; margin-bottom: 2px; }
.cm-replying { font-size: 13px; color: var(--muted); padding-left: 40px; } .cm-replying b { color: var(--ink); }
.cm-left { margin: 0; padding-left: 40px; font-size: 12px; } .cm-left:empty { display: none; }
.cm-fine { margin: 0; padding-left: 40px; font-size: 12px; color: var(--muted); }
.cm-as { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-left: 40px; font-size: 13px; color: var(--muted); }
.cm-as .chip { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; color: var(--ink); }
.cm-as .chip:has(input:checked) { border-color: var(--open); background: var(--open-bg); }
.cm-as .chip input { accent-color: var(--open); margin: 0; }
.cm-as .chip .mh-ava { box-shadow: none; }
.cm-as .cm-spot-ava { margin: 0; box-shadow: none; border-radius: 5px; }
.cm-as .cm-spot-ava i { display: none; } .cm-as .cm-spot-ini { font-size: 11px; }
@media (max-width: 420px) { .cm-replying, .cm-left, .cm-fine, .cm-as { padding-left: 0; } }
@media (max-width: 360px) { .cm-row > .mh-ava { display: none; } }
.cm-signin { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 2px solid var(--mustard); border-radius: var(--radius); background: var(--card); }
.cm-signin img { border-radius: 50%; background: var(--mustard); flex: none; }
.cm-signin p { margin: 0; flex: 1; min-width: 0; font-size: 14px; }

/* ── sheets: comments (from a feed card), who reacted, report, enlist ── */
dialog.cm-sheet { border: 0; padding: 0; width: min(600px, calc(100vw - 24px)); max-height: 86vh; height: 86vh; border-radius: 22px; background: var(--card); color: var(--ink);
  box-shadow: 0 20px 60px rgb(0 0 0 / .35); overflow: hidden; }
dialog.cm-sheet[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
dialog.cm-sheet::backdrop { background: rgb(20 10 5 / .55); }
:root[data-night] dialog.cm-sheet::backdrop { background: rgb(2 4 14 / .7); }
html.cm-sheet-open, html.cm-sheet-open body { overflow: hidden; }
.cm-sheet-head { display: flex; align-items: center; gap: 10px; padding: 12px 56px 10px 18px; border-bottom: 1px solid var(--line); position: relative; }
.cm-sheet-head b { font: 800 18px var(--head); }
.cm-sheet-go { margin-left: auto; font-size: 13.5px; font-weight: 600; }
.cm-sheet-head .x { top: 8px; }
.cm-sheet-body { overflow-y: auto; padding: 4px 16px 0; overscroll-behavior: contain; }
.cm-sheet-body .cm-wrap { padding-bottom: 12px; }
.cm-sheet-body .cm-box-slot { position: sticky; bottom: 0; z-index: 5; }
.cm-sheet-body .cm-form { border-radius: var(--radius) var(--radius) 0 0; border-bottom: 0; margin-inline: -4px; }
@media (max-width: 640px) {
  dialog.cm-sheet { width: 100vw; max-width: 100vw; height: 88dvh; max-height: 88dvh; margin: auto 0 0; border-radius: 20px 20px 0 0; }
  .cm-sheet-body .cm-form { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
}
dialog.cm-who, dialog.cm-report, dialog.cm-enlist { padding: 20px 18px 18px; }
dialog.cm-who h2, dialog.cm-report h2, dialog.cm-enlist h2 { margin: 0 40px 10px 0; font: 800 22px var(--head); }
.cm-who-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.cm-who-chips .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.cm-who-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 60vh; overflow-y: auto; }
.cm-who-row { display: flex; align-items: center; gap: 10px; padding: 6px 4px; border-radius: 10px; }
.cm-who-row .mh-ava { box-shadow: none; }
.cm-who-name { flex: 1; min-width: 0; display: grid; } .cm-who-name a, .cm-who-name b { color: var(--ink); font-weight: 700; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-who-name small { color: var(--muted); font-size: 12px; }
.cm-who-e { font-size: 22px; }
dialog.cm-report form { display: grid; gap: 10px; }
dialog.cm-report .chips { display: flex; flex-wrap: wrap; gap: 6px; }
dialog.cm-report .chip { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
dialog.cm-report .chip:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--bg); }
dialog.cm-report .chip input { accent-color: var(--ketchup); margin: 0; }
dialog.cm-report label:not(.chip) { display: grid; gap: 4px; font-weight: 600; font-size: 14px; }
dialog.cm-report textarea { padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font: 16px var(--body); }
dialog.cm-enlist { text-align: center; display: none; } dialog.cm-enlist[open] { display: grid; justify-items: center; gap: 6px; }
dialog.cm-enlist img { border-radius: 50%; background: var(--mustard); }
.cm-toast { position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 2147483000; transform: translateX(-50%); max-width: calc(100vw - 32px);
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 99px; font: 600 14px var(--body); box-shadow: 0 8px 24px rgb(0 0 0 / .3); }

/* ── the photo viewer with comments (js/lightbox.js; §8 item 3) ── */
dialog.lb.sx-lb[open] { grid-template-columns: minmax(0, 1fr) 380px; grid-template-rows: minmax(0, 1fr); }
.lb-left { display: contents; }   /* without a panel the viewer keeps style.css's own rows */
.sx-lb .lb-left { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; min-width: 0; min-height: 0; position: relative; }
dialog.lb:not(.sx-lb) .lb-panel { display: none; }
.lb-panel { background: var(--card); color: var(--ink); display: grid; grid-template-rows: auto minmax(0, 1fr); min-height: 0; border-left: 1px solid var(--line); text-align: left; }
.lb-panel-top { display: grid; min-width: 0; }
.lb-panel-head { display: flex; gap: 10px; align-items: center; padding: 14px 14px 8px; min-width: 0; }
.lb-panel-head .mh-ava { box-shadow: none; }
.lb-panel-head p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.35; min-width: 0; overflow-wrap: anywhere; }
.lb-panel-head p b, .lb-panel-head p a { color: var(--ink); }
.lb-panel .mh-acts { margin: 0; padding: 0 6px 6px; border-bottom: 1px solid var(--line); border-top: 0; }
.lb-panel .lb-perma { font-size: 13px; padding: 6px 14px; margin: 0; border-bottom: 1px solid var(--line); }
.lb-panel .lb-perma:empty { display: none; }
.lb-panel .lb-perma a { color: var(--ink); font-weight: 600; }
.lb-panel .cm-wrap { min-height: 0; overflow-y: auto; grid-template-rows: auto auto auto auto 1fr; gap: 10px; padding: 10px 14px 0; overscroll-behavior: contain; }
.lb-panel .cm-h { font-size: 17px; margin: 0; }
.lb-panel .cm-box-slot { position: sticky; bottom: 0; align-self: end; margin: 0 -14px; background: var(--card); }
.lb-panel .cm-form, .lb-panel .cm-signin { position: static; box-shadow: none; border-radius: 0; border-width: 2px 0 0; padding-bottom: max(10px, env(safe-area-inset-bottom)); }
.lb-panel .cm-empty { padding: 12px; } .lb-panel .cm-empty img { width: 40px; }
.lb-panel .sx-sheet-hint { display: none; }
.lb-panel .rx.is-small .rx-l { display: none; }   /* a 380 px panel: one meta row per comment */
.lb-panel .cm-meta { gap: 2px 4px; }
.sx-lb .lb-nav { background: rgb(255 255 255 / .16); color: #fff; }
@media (max-width: 860px) {
  dialog.lb.sx-lb[open] { grid-template-columns: minmax(0, 1fr); }
  .sx-lb .lb-left { padding-bottom: 92px; }
  .sx-lb .lb-nav, .sx-lb .lb-strip { display: none; }   /* swiping still changes photos */
  .lb-panel { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; border-radius: 20px 20px 0 0; border: 0; height: 66%; height: 66dvh;
    transform: translateY(calc(100% - 92px)); transition: transform .25s ease; box-shadow: 0 -10px 30px rgb(0 0 0 / .45); }
  .lb-panel.is-open { transform: none; }
  .lb-panel::before { content: ""; position: absolute; left: calc(50% - 20px); top: 7px; width: 40px; height: 5px; border-radius: 9px; background: var(--line); }
  .lb-panel-head { cursor: pointer; padding-top: 18px; min-height: 92px; box-sizing: border-box; }
  .lb-panel .sx-sheet-hint { display: inline; font-weight: 600; }
  .lb-panel.is-open .sx-sheet-hint { display: none; }
  .lb-panel:not(.is-open) .cm-wrap, .lb-panel:not(.is-open) .mh-acts, .lb-panel:not(.is-open) .lb-perma { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) { .lb-panel { transition: none; } }

/* ── permalinks: /photo/<id> and /review/<id> (§8 item 4) ── */
.sx-perma { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.sx-perma-main, .sx-perma-side { display: grid; gap: 14px; min-width: 0; }
.sx-perma-side.fb-card { padding: 14px 16px; }
.sx-photo { margin: 0; background: #000; border-radius: var(--radius); overflow: hidden; }
.sx-photo button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.sx-photo img { display: block; width: 100%; height: auto; max-height: 72vh; object-fit: contain; }
.sx-strip { display: flex; gap: 6px; overflow-x: auto; list-style: none; margin: 0; padding: 2px; scrollbar-width: thin; }
.sx-strip a { display: block; flex: none; border-radius: 10px; }
.sx-strip img { width: 74px; height: 74px; object-fit: cover; border-radius: 10px; display: block; }
.sx-strip .on img { box-shadow: 0 0 0 3px var(--mustard); }
.sx-strip .sx-strip-all { display: grid; place-items: center; width: 74px; height: 74px; border: 1.5px dashed var(--line); border-radius: 10px; text-align: center; font-size: 12px;
  color: var(--muted); text-decoration: none; line-height: 1.2; }
.sx-perma .pf-ph { margin: 0; }
.sx-perma .pf-body { margin: 0; overflow-wrap: anywhere; }
.sx-perma .sx-spotcard { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: var(--radius-sm); background: var(--bun); text-decoration: none; color: var(--ink); min-width: 0; }
.sx-perma .sx-spotcard img, .sx-perma .sx-spotcard-ph { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; }
.sx-perma .sx-spotcard-ph { display: grid; place-items: center; font-size: 30px; background: var(--card); }
.sx-perma .sx-spotcard > span { min-width: 0; }
.sx-perma .sx-spotcard b { font: 800 17px var(--head); display: block; overflow-wrap: anywhere; } .sx-perma .sx-spotcard small { color: var(--muted); display: block; }
.sx-review .rv-body { font-size: 17px; line-height: 1.45; margin: 6px 0; overflow-wrap: anywhere; }
.sx-review .pf-media { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 8px 0; }
.sx-review .pf-media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; }
.sx-review .pf-media button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; }
.sx-more-from { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .sx-perma { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

/* spot pages: a footer under each review and the General's Take */
.review .cm-foot { margin: 6px -8px 0; }
.rv-when { color: inherit; text-decoration: none; } .rv-when:hover { text-decoration: underline; }
.take .cm-foot { margin: 14px 0 0; }
.take .cm-foot .mh-act, .take .cm-foot .rx-sum { color: inherit; }
/* Glizette dispatches + Dog of the Week */
.gz-article + .cm-foot, .dotw-page .cm-foot { margin: 6px 0 0; }
.sx-social { margin: 18px 0 8px; display: grid; gap: 10px; }
/* Mess Hall post footers on phones: style.css keeps them on one row (nowrap) below 600 px, but the reaction button is wider
   than the old Relish button, so your own post (Edit + Delete showing) ran ~74 px off a 320-390 px screen (R1 browser
   check 2026-11-16). Let the row wrap there; other posts still fit on one row. */
@media (max-width: 600px) { .mh-acts { flex-wrap: wrap; } }
