/* Message and friend rows never grow past their box (Safari let a long preview widen the row and the whole page). All widths. */
.dash > *, .msgbox, .msgbox .list, .thread { min-width: 0; }
.convo, .friend { min-width: 0; max-width: 100%; overflow: hidden; }
.convo .txt, .friend .grow { min-width: 0; overflow: hidden; }
.convo .who, .convo .last { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* inline spans ignore the ellipsis */
.convo .txt br { display: none; } /* name and preview are blocks now; the <br> would add an empty line */

.msgbox .tabs button { white-space: nowrap; }

/* Members area on phones (2026-11-16, Roman: "everything is huge"). Same compact scale as the home page:
   13.5px text, 22px page titles, 12px section labels, 12px-radius boxes with 14px padding, 13px buttons.
   Loaded after the page's own <style>, so these win on phones only. Desktop is untouched. */
@media (max-width: 700px) {
  body { font-size: 13.5px; line-height: 1.45; padding-bottom: 32px; }
  body > .wrap { padding-top: 14px; }
  .wrap { gap: 14px; }
  h1 { font-size: 22px; line-height: 1.15; }
  h2 { font-size: 11.5px; letter-spacing: .16em; }
  h3 { font-size: 14px; }
  .sub { font-size: 13px; }
  .example { font-size: 11.5px; }

  /* boxes */
  .glass { border-radius: 12px; }
  .card, .systems, .settings .glass, .cp .glass { padding: 14px; gap: 10px; }
  .settings, .cp, .dash, .profile, .right-col, .cp-left { gap: 12px; }

  /* buttons and fields */
  .btn { padding: 7px 12px; font-size: 13px; border-radius: 8px; }
  .btn.mini, .mini { padding: 3px 9px; font-size: 11.5px; border-radius: 6px; }
  .field { gap: 4px; }
  .field label, .field > span { font-size: 10.5px; }
  .field input, .field textarea, .field select, .filter, .compose input, .ph-form input, .ph-form select { font-size: 16px; padding: 7px 10px; border-radius: 8px; } /* 16px: iPhone doesn't zoom in */
  .field textarea { min-height: 60px; }
  .pill { font-size: 10.5px; padding: 1px 8px; }
  .chip { font-size: 12px; }

  /* login + sign-up */
  .auth { margin-top: 10px; padding: 18px 16px; gap: 12px; max-width: none; }
  .auth .btn { padding: 9px 12px; }

  /* dashboard */
  .dash-head { gap: 8px; }
  .dash-head .grow { min-width: 0; }
  .tabs button { padding: 6px 10px; font-size: 11px; letter-spacing: .12em; }
  .tabs .sys-theme button { padding: 3px 9px; font-size: 10.5px; }
  .games { gap: 8px; padding-top: 10px; }
  .game { padding: 12px 10px 10px; gap: 6px; border-radius: 12px; }
  .game h3 { font-size: 11.5px; letter-spacing: .1em; padding: 0 18px; }
  .game .meta, .game .live { font-size: 11px; }
  .game .sys-chip { font-size: 10.5px; padding: 1px 8px 1px 5px; }
  .game .sys-chip svg { width: 12px; height: 12px; }
  .kebab { width: 26px; height: 26px; top: 4px; right: 4px; font-size: 15px; }
  .add-game { min-height: 64px; font-size: 13px; border-radius: 12px; }
  .quick-tile small { font-size: 10.5px; }
  .convo { padding: 8px 12px; gap: 8px; }
  .convo .who { font-size: 13px; }
  .convo .last { font-size: 12px; }
  .bubble { font-size: 13px; }
  .friend { padding: 8px 12px; }
  .section-label { font-size: 10px; padding: 10px 12px 4px; }
  .poll { font-size: 10.5px; padding: 6px 12px; }

  /* profile */
  .card .avatar { width: 64px; height: 64px; font-size: 26px; }
  .card .name { font-size: 18px; }
  .card .desc { font-size: 12.5px; }
  .stat-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .stat { padding: 7px 8px; border-radius: 8px; }
  .stat b { font-size: 17px; }
  .stat span { font-size: 9.5px; letter-spacing: .08em; }
  .favs { gap: 6px; }
  .fav { padding: 7px 9px; border-radius: 8px; }
  .fav .avatar { width: 30px; height: 30px; font-size: 13px; }
  .fav .ft b { font-size: 13px; }
  .fav .ft span, .fav .ft small { font-size: 10.5px; }
  .camp { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 8px 0; font-size: 13px; }
  .camp .cc { grid-column: 1 / -1; font-size: 11.5px; }
  .moments { gap: 6px; }
  .moment { padding: 7px 8px; border-radius: 8px; }
  .moment .ico { width: 28px; height: 28px; }
  .moment .mt b { font-size: 12.5px; }
  .moment .mt span { font-size: 10.5px; }
  .legend { font-size: 11.5px; gap: 10px; }
  .gold-die { padding: 8px 10px; gap: 10px; }
  .gold-die .gd { width: 32px; height: 32px; font-size: 12px; }
  .gold-die small { font-size: 11px; }
  .luck .lbl { font-size: 10px; }
  .badge-chip { font-size: 11.5px; padding: 3px 8px; }

  /* campaign */
  .cp-head { gap: 8px; }
  .cp-head .grow { min-width: 0; }
  .cp-head .btn { width: auto; align-self: flex-start; }
  .prow { font-size: 13px; padding: 6px 0; gap: 8px; }
  .prow .note { font-size: 11.5px; }
  .kv { font-size: 13px; gap: 4px 12px; }
  .ann-top b { font-size: 13px; }
  .ann-post p { font-size: 13px; }

  /* discussion */
  .topic { padding: 10px 12px; gap: 3px 10px; }
  .topic .tt { font-size: 13.5px; }
  .topic .tm, .topic .tc { font-size: 11px; }
  .cat { font-size: 9.5px; }
  .post { padding: 10px 12px; gap: 10px; }
  .post .ph { font-size: 11.5px; }
  .post.pinned { top: 52px; }

  /* find a game */
  .finds { gap: 10px; }
  .find { border-radius: 12px; }
  .find .fb { padding: 10px 12px 12px; gap: 4px; }
  .find .fb p { font-size: 13px; }
  .find .note { font-size: 11.5px; }

  /* menus and pop-ups */
  .menu > button, .qmenu button { font-size: 13px; padding: 6px 8px; }
  .modal .box, .modal .box.wide { padding: 14px 14px calc(14px + env(safe-area-inset-bottom, 0px)); gap: 10px; }
  .wall .who { font-size: 15px; }
  .wall .nope { font-size: 26px; }
  .toast { font-size: 13px; }
}

/* Discussion on phones: a plain list and a readable thread (no pinned first post covering the replies, shallow indents) */
@media (max-width: 700px) {
  #s-discussion .dash-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 4px 10px; }
  #s-discussion .dash-head .btn { margin-top: 2px; padding: 6px 12px; }
  #s-discussion h1 { font-size: 20px; }
  #s-discussion .sub { font-size: 12.5px; }
  .topic { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 10px 12px; }
  .topic .tt { flex-basis: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; line-height: 1.3; font-size: 14px; }
  .topic .cat { margin: 0; }
  .topic .tm { order: 2; }
  .topic .tc { order: 3; grid-row: auto; text-align: left; }
  .topic .tc::before { content: '·'; margin-right: 8px; }
  .thread-wrap { padding: 0; }
  .thread-wrap .post, .post.pinned { position: static; margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .thread-wrap > .post:first-child { border-bottom: 1px solid var(--edge); }
  .post { gap: 8px; padding: 9px 10px; }
  .post .avatar { width: 24px; height: 24px; font-size: 11px; }
  .ptext { font-size: 13.5px; line-height: 1.45; }
  .pactions { gap: 2px 10px; margin-top: 2px; }
  .pa { font-size: 11.5px; padding: 2px 0; }
  .pa svg { width: 12px; height: 12px; }
  .thread-kids { margin-left: 12px; }
  .thread-kids .thread-kids { margin-left: 8px; }
  .topic-img img { height: 110px; }
  .reply-box textarea, .edit-post textarea { font-size: 16px; min-height: 52px; border-radius: 8px; }
  .modal .box h3[style] { font-size: 17px !important; }
  .modal .field select { width: 100%; }
}

/* Narrow screens and Safari page zoom (2026-11-16 audit, 240–430 px): every grid cell may shrink, long words wrap, rows wrap instead of spilling out. */
@media (max-width: 700px) {
  .wrap > *, .glass, .card, .dash > *, .cp > *, .profile > *, .right-col > *, .cp-left > * { min-width: 0; max-width: 100%; }
  h1, h2, h3, .game h3, .name, .fav .ft b, .moment .mt b, .topic .tt, .ptext, .kv dd { overflow-wrap: anywhere; }
  .games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game h3 { padding: 0 14px; }
  .tabs { flex-wrap: wrap; row-gap: 4px; }
  .msgbox .tabs { flex-wrap: nowrap; }
  .msgbox .tabs button { flex: 1 1 0; min-width: 0; padding-inline: 4px; }
  .favs, .stat-row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 90px), 1fr)); }
  .favs { grid-template-columns: minmax(0, 1fr); }
  .fav, .moment, .fav .ft, .moment .mt { min-width: 0; }
  .moments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .moment { align-items: flex-start; }
  .moment .mt span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 10px; }
  .camp .cn, .camp .cc { overflow-wrap: anywhere; }
  .card .avatar { width: 56px; height: 56px; font-size: 22px; }
  .pf-grid { grid-template-columns: minmax(0, 1fr); }
  .finds { grid-template-columns: minmax(0, 1fr); }
  .kv { grid-template-columns: auto minmax(0, 1fr); }
}
@media (max-width: 340px) {
  .moments { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 290px) {
  .game { padding: 10px 6px 8px; }
  .game h3 { padding: 0 12px; font-size: 10.5px; letter-spacing: .06em; }
  .stat-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Unread counts (2026-11-16, Roman): a small count on the top-right of the picture, like the one on your avatar, not a bubble at the end of the row */
@media (max-width: 700px) {
  .convo, .friend { position: relative; }
  .convo > .badge, .friend > .badge { position: absolute; left: 34px; top: 5px; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 999px; font-size: 9px; line-height: 15px; text-align: center; border: 1.5px solid #0a0a0f; box-sizing: border-box; }
  .msgbox .tabs .badge { font-size: 9px; padding: 0 5px; line-height: 14px; display: inline-block; vertical-align: 2px; margin-left: 3px; }
  .convo .avatar, .friend .avatar { width: 30px; height: 30px; font-size: 13px; }
  .friend .note { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .friend .grow br { display: none; }
  .friend .btn { padding: 4px 9px; font-size: 11.5px; }
}

/* Dashboard game cards on phones (2026-11-16, Roman: "two tall boxes, large fonts"): compact cards, titles fit two columns */
@media (max-width: 700px) {
  #s-dashboard h1 { font-size: 20px; }
  .games { gap: 8px; }
  .game { min-height: 0; padding: 10px 8px 9px; gap: 5px; border-radius: 10px; }
  .game h3 { font-size: 11.5px; letter-spacing: .05em; line-height: 1.25; padding: 0 16px; overflow-wrap: normal; hyphens: auto; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .game .sys-chip { font-size: 10px; padding: 1px 7px 1px 5px; gap: 4px; }
  .game .sys-chip svg { width: 11px; height: 11px; }
  .game .sys-bigmark { width: 30px; height: 30px; }
  .game .sys-bigmark svg { width: 24px; height: 24px; }
  .game .meta, .game .live { font-size: 10.5px; line-height: 1.3; }
  .game .star { top: 7px; left: 8px; }
  .kebab { top: 3px; right: 3px; width: 24px; height: 24px; }
  .kebab svg { width: 15px; height: 15px; }
  .add-game { min-height: 46px; font-size: 12.5px; border-radius: 10px; padding: 6px; }
  .quick-tile span { display: flex; flex-direction: column; align-items: center; gap: 1px; }
  .quick-tile small { margin-top: 0; font-size: 10px; }
}
@media (max-width: 340px) {
  .game { padding: 9px 6px 8px; }
  .game h3 { font-size: 10.5px; letter-spacing: .02em; padding: 0 14px; -webkit-line-clamp: 3; }
  .game .meta { font-size: 10px; }
}

@media (max-width: 700px) {
  .card .avatar, .card .pic-btn .avatar { width: 64px !important; height: 64px !important; font-size: 26px !important; }
  .card .name { font-size: 16px; }
  .luck { gap: 3px; }
  .find .pubimg, .find .pubimg.ph { aspect-ratio: 16 / 6; font-size: 30px; }
  .find .fb { padding: 8px 10px 10px; }
  .find .fb h3 { font-size: 13px; }
  .find .fb p { font-size: 12px; }
  .find .note { font-size: 10.5px; }
  .find .btn { padding: 5px 10px; font-size: 12px; }
}

/* Pass 10 (Roman): previous dashboard, but names never split mid-word, smaller text in the cards, small unread circles */
@media (max-width: 700px) {
  .game h3 { font-size: 10.5px; letter-spacing: .02em; line-height: 1.3; padding: 0 18px; hyphens: none; -webkit-hyphens: none; overflow-wrap: normal; word-break: normal; -webkit-line-clamp: 3; }
  .game .sys-chip { font-size: 9.5px; }
  .game .meta, .game .live { font-size: 10px; }
  .convo > .badge, .friend > .badge { left: 33px; top: 6px; min-width: 13px; height: 13px; padding: 0 3px; font-size: 8px; line-height: 10px; border-width: 1.5px; }
  .msgbox .tabs .badge { font-size: 8.5px; min-width: 13px; height: 13px; line-height: 13px; padding: 0 3px; border-radius: 999px; text-align: center; vertical-align: 1px; }
}
@media (max-width: 340px) {
  .game h3 { font-size: 9.5px; letter-spacing: 0; padding: 0 16px; }
}

/* Pass 11: full game names (no "…" cut), system chips always inside the card */
@media (max-width: 700px) {
  .game h3 { -webkit-line-clamp: unset; display: block; overflow: visible; }
  .game .sys-chip { max-width: 100%; min-width: 0; overflow: hidden; gap: 3px; padding: 1px 6px 1px 4px; font-size: 9.5px; letter-spacing: .02em; }
  .game .sys-chip svg { width: 10px; height: 10px; flex: none; }
}
@media (max-width: 340px) {
  .game .sys-chip { font-size: 8.5px; padding: 1px 5px 1px 3px; }
  .game .sys-chip svg { display: none; }
}

/* Pass 12 (Roman): open message thread compact on phones */
@media (max-width: 700px) {
  .thread-head { gap: 7px; padding: 6px 10px; font-size: 12.5px; }
  .thread-head button.back { font-size: 12px; padding: 0 4px 0 0; white-space: nowrap; }
  .thread-head .avatar { width: 24px; height: 24px; font-size: 11px; }
  .bubbles { padding: 8px 10px; gap: 5px; max-height: 38vh; }
  .bubble { font-size: 12px; line-height: 1.35; padding: 5px 8px; border-radius: 7px; max-width: 82%; }
  .bubble time { font-size: 9.5px; margin-top: 1px; }
  .compose { padding: 6px 8px; gap: 6px; }
  .compose input { font-size: 16px; padding: 5px 8px; height: 32px; } /* 16px stops iPhone zooming in on focus */
  .compose .btn { padding: 5px 12px; font-size: 12px; }
  .compose input::placeholder { font-size: 12px; }
  .thread-head > .avatar, .thread-head .av { width: 24px !important; height: 24px !important; font-size: 11px !important; }
}

/* Pass 13 (Roman): game names centred; messages = game-card text size; campaign page = dashboard sizes */
@media (max-width: 700px) {
  .game { align-items: stretch; text-align: center; }
  .game h3 { text-align: center; padding: 0 20px; width: 100%; box-sizing: border-box; }
  .game .sys-chip, .game .sys-bigmark { align-self: center; }

  .convo { padding: 7px 10px; gap: 8px; }
  .convo .who { font-size: 11px; }
  .convo .last { font-size: 10.5px; }
  .friend { font-size: 11px; }
  .friend .note { font-size: 10.5px; }
  .msgbox .tabs button { font-size: 10.5px; }
  .msgbox .hint, .msgbox > p, .msgbox .foot { font-size: 10px; }
  .bubble { font-size: 10.5px; }
  .thread-head { font-size: 11px; }

  #s-campaign h1 { font-size: 20px; }
  #s-campaign > p, #s-campaign .sub, #s-campaign .lead { font-size: 12px; }
  #s-campaign .live-pill, #s-campaign .pill { font-size: 10px; padding: 1px 7px; }
  #s-campaign .btn { font-size: 11.5px; padding: 5px 11px; }
  #s-campaign .btn.mini, #s-campaign .prow .btn { font-size: 10.5px; padding: 3px 9px; }
  .cp { gap: 10px; }
  .cp .glass { padding: 12px; gap: 8px; }
  .cp h2 { font-size: 11px; letter-spacing: .12em; }
  .prow { font-size: 11px; gap: 8px; padding: 5px 0; flex-wrap: nowrap; }
  .prow .grow { min-width: 0; }
  .prow .note { font-size: 10px; }
  .prow .avatar { width: 26px; height: 26px; font-size: 11px; flex: none; }
  .cp label { font-size: 10.5px; }
  .cp input, .cp textarea { font-size: 16px; padding: 5px 8px; } /* 16px: iPhone doesn't zoom in on focus */
  .cp input::placeholder, .cp textarea::placeholder { font-size: 12px; }
  .cp textarea { min-height: 54px; }
  .cp .kv, .cp .kv dt, .cp .kv dd { font-size: 11.5px; }
  .cp .kv { row-gap: 3px; }
  .cp .post h3, .cp .ann h3, .cp article h3 { font-size: 12.5px; }
  .cp .post p, .cp .ann p, .cp article p { font-size: 11.5px; }
  .cp .example, .cp small { font-size: 10.5px; }
  .ann-post { padding: 6px 0 5px; }
  .ann-top b { font-size: 12px; }
  .ann-post p, .ann-post div, .ann-post span { font-size: 11px; }
  .ann-post p { margin: 2px 0; }
  .cp-head .btn { padding: 5px 12px; }
}

/* Pass 15 (Roman): card contents centred both ways; Accept/Decline on their own line under the name; readable message box hint */
@media (max-width: 700px) {
  .game { justify-content: center; align-items: center; }
  .game h3 { padding: 0 18px; }
  .compose input { min-width: 0; }
  .compose input::placeholder { color: #8f88a8; opacity: 1; }
}

/* Pass 16 (Roman): every line in a game card centred; messages use exactly the card's text sizes
   (card name 10.5px = message name, card details 10px = message text) */
@media (max-width: 700px) {
  .game > h3, .game > .meta, .game > .live { display: block; width: 100%; box-sizing: border-box; margin: 0; text-align: center !important; }
  .game > h3 { padding: 0 18px; letter-spacing: .02em; }
  .game > .meta, .game > .live { padding: 0 4px; }
  .game > .live { display: flex; justify-content: center; align-items: center; gap: 5px; }
  .game > .sys-chip, .game > .sys-bigmark { align-self: center; margin: 0 auto; }
  .game > .meta *, .game > h3 * { text-align: center; }

  .convo .who, .friend .grow > :first-child, .thread-head { font-size: 10.5px !important; }
  .convo .last, .friend .note, .bubble { font-size: 10px !important; }
  .bubble time { font-size: 9px; }
  .msgbox .tabs button { font-size: 10.5px !important; }
}
@media (max-width: 700px) {
  /* Join requests: Accept + Decline on the right of the name, lined up with the Remove buttons above */
  .prow:has(.btn + .btn) { flex-wrap: nowrap; }
  .prow:has(.btn + .btn) .grow { flex: 1 1 auto; min-width: 0; }
  .prow:has(.btn + .btn) .grow .note { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .prow:has(.btn + .btn) .btn { flex: 0 0 auto; margin: 0; }
  .prow:has(.btn + .btn) .btn + .btn { margin-left: -3px; }
  .game > h3 { -webkit-box-orient: horizontal; -webkit-box-pack: center; }
}

/* Pass 17 (Roman: login boxes too big): compact log-in / sign-up card on phones */
@media (max-width: 700px) {
  .auth { max-width: 330px; margin-left: auto; margin-right: auto; padding: 14px 16px !important; gap: 8px; }
  .auth h1, .auth h2 { font-size: 18px; margin-bottom: 2px; }
  .auth p { font-size: 12px; margin: 0 0 4px; }
  .auth label, .auth .field > span { font-size: 9.5px; letter-spacing: .1em; margin-bottom: 3px; }
  .auth input { font-size: 16px; height: 32px; padding: 4px 10px; border-radius: 7px; box-sizing: border-box; }
  .auth .btn { padding: 6px 12px !important; font-size: 12.5px; }
  .auth small, .auth .example, .auth em, .auth .note { font-size: 10px; line-height: 1.4; }
  .auth .field, .auth label { gap: 3px; }
}

/* Pass 18 (Roman's iPhone at Safari page zoom ≈ 200%: the page is only ~190px wide).
   Layout must hold at any zoom: names scale with their card, the "…" button gets its own corner,
   Accept/Decline drop under the name on the right when they don't fit. */
@media (max-width: 700px) {
  .game { container-type: inline-size; padding-top: 24px; }
  .game > .kebab { top: 2px; right: 2px; }
  .game > .star { top: 6px; left: 8px; }
  .game > h3 { padding: 0 2px !important; font-size: min(10.5px, 12cqi) !important; overflow-wrap: normal; word-break: normal; }
  .game > .meta, .game > .live { font-size: min(10px, 11cqi) !important; }
  .game > .sys-chip { font-size: min(9.5px, 10cqi); }
  .game > .live { flex-wrap: wrap; column-gap: 4px; row-gap: 0; }

  .prow .note { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .prow:has(.btn + .btn) { flex-wrap: wrap; row-gap: 5px; }
  .prow:has(.btn + .btn) .grow { flex: 1 1 45%; min-width: 0; }
  .prow:has(.btn + .btn) .btn:first-of-type { margin-left: auto; }
  .prow:has(.btn + .btn) .btn + .btn { margin-left: 0; }
}
@media (max-width: 300px) {
  .msgbox .tabs button { letter-spacing: .03em; padding-inline: 2px; font-size: 9.5px !important; gap: 3px; }
  .msgbox .tabs .badge { margin-left: 2px; }
  .compose { gap: 5px; }
  .compose .btn { padding: 5px 8px; }
  .prow { gap: 6px; }
  .prow .avatar { width: 22px; height: 22px; font-size: 10px; }
  .prow .btn { padding: 3px 7px !important; }
}

/* Pass 19 (Roman's screenshots): the game's "…" menu stays on screen (opens toward the middle, never wider
   than the screen); campaign details stack label over value on narrow screens (no letter-by-letter wrap). */
@media (max-width: 700px) {
  .game .menu { width: min(220px, calc(100vw - 32px)); top: 30px; padding: 4px; }
  .games > .game:nth-child(odd) .menu { right: auto; left: 0; }
  .games > .game:nth-child(even) .menu { left: auto; right: 0; }
  .game .menu > button { font-size: 12px; padding: 6px 8px; gap: 8px; }
  .game .menu .inline .btn { font-size: 11.5px; padding: 4px 9px; }
  .kv dd { overflow-wrap: normal; word-break: normal; }
}
@media (max-width: 340px) {
  .cp .kv, .kv { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .kv dt { font-size: 10px; margin-top: 6px; }
  .kv dd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
}
@media (max-width: 240px) {
  .stat span { font-size: 8px; letter-spacing: 0; }
  .stat { padding-left: 6px; padding-right: 4px; min-width: 0; }
}
/* page titles never break mid-word (DISCUS / SION at high zoom) */
@media (max-width: 700px) {
  .wrap h1, section > h1, .dash-head h1 { overflow-wrap: normal; word-break: normal; font-size: min(20px, 9vw); }
  .dash-head { flex-wrap: wrap; row-gap: 6px; }
  .day-tabs button, .days button, #s-find .tabs button { letter-spacing: .04em; padding-inline: 6px; }
}
@media (max-width: 300px) {
  .dash-head .grow { flex-basis: 100%; min-width: 0; }
}
@media (max-width: 300px) {
  #s-discussion .dash-head { grid-template-columns: minmax(0, 1fr); }
  #s-discussion .dash-head .btn { justify-self: start; }
}
