/* Hallmark · shape: app screen · genre: playful · theme: Arcade (deal 2/3, seed public-pages-twitch-streamer-fbfd·6950ecbc·2026-11-06·r0) · redesign: full
 * nav: one shared top bar, wordmark + six tabs + watch link + theme · signature: the cabinet masthead, a Bungee head split in RGB over a CRT band, with the page's live figures in Silkscreen · states: loading, empty, error, full · arcade: oxblood (gold lead, Poxine crimson answer)/grille
 * axes: dark/pixel/chromatic-oxblood · posture: full-palette · contrast: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, the theme alone could be any game night; the crimson answer ink is Poxine's own hair colour and her pictures stay on the personalities page */
/* Hallmark · answered F4 · the second filled button is Twitch's own purple on its login and watch links, a platform mark, never a second house primary */
/* Hallmark · waive 64 · .alias-chip holds a command alias such as !sr, typed code · the aliases on /twitch are chat commands people copy and paste */
/* Hallmark · dismissed 23 · the gold field on /twitch is the live giveaway banner, the page's one band, under the full-palette posture */
@import url("./tokens.css");
@import url("./base.css");
@import url("./themes.css");

/* ---------- the shell: one top bar on every public page ---------- */
.shell {
  position: sticky; top: 0; z-index: var(--z-sticky-nav);
  background: var(--color-paper); border-bottom: var(--rule-bar) solid var(--color-rule);
}
.shell-in {
  max-width: var(--container); margin-inline: auto; padding: var(--space-xs) var(--gutter);
  display: flex; align-items: center; gap: var(--space-md);
}
/* the lockup: the logo, Pox4eveR, and Poxine under it (texts: the admin's Branding) */
.brand { display: inline-flex; align-items: center; gap: var(--space-xs); color: var(--color-ink); text-decoration: none; flex: none; }
.brand-logo { width: 36px; height: 36px; flex: none; filter: var(--logo-edge); transition: translate var(--dur-short) var(--ease-out); }
.brand:hover .brand-logo { translate: 0 -3px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  /* not Bungee: it has capitals only, and the name is spelled Pox4eveR */
  font-family: var(--font-body); font-weight: 900; letter-spacing: -0.02em; font-size: var(--text-lg); white-space: nowrap;
  text-shadow: var(--display-split, -1px 0 0 var(--color-crt-r), 1px 0 0 var(--color-crt-c));
}
.brand-sub { font-size: var(--text-xs); font-weight: 700; color: var(--color-muted); margin-top: var(--space-3xs); white-space: nowrap; }
.brand:hover .brand-name { color: var(--color-accent-text); }
.brand-lg .brand-logo { width: 56px; height: 56px; }
.brand-lg .brand-name { font-size: var(--text-xl); }
.brand-lg .brand-sub { font-size: var(--text-sm); }
@media (prefers-reduced-motion: reduce) { .brand:hover .brand-logo { translate: none; } }

/* the logo as a sticker on the page head (switch: the admin's Branding) */
.masthead.has-logo { padding-right: calc(var(--space-xl) + 150px); }
.mast-logo {
  position: absolute; top: calc(var(--space-md) * -1); right: var(--space-lg); width: 150px; height: 150px; z-index: 1;
  rotate: 6deg; filter: var(--logo-edge) drop-shadow(5px 5px 0 var(--color-accent-2)); pointer-events: none;
}
:root[data-brand-sticker="off"] .mast-logo { display: none; }
:root[data-brand-sticker="off"] .masthead.has-logo { padding-right: var(--space-xl); }

/* the footer: the lockup, a line from Poxine, the links */
.site-foot { border-top: var(--rule-bar) solid var(--color-rule); background: var(--color-paper-2); margin-top: var(--space-2xl); position: relative; z-index: 1; }
.site-foot-in {
  max-width: var(--container); margin-inline: auto; padding: var(--space-xl) var(--gutter);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-xl); align-items: center;
}
.foot-quote { margin: 0; max-width: 52ch; justify-self: center; }
.foot-quote blockquote { margin: 0; font-style: italic; color: var(--color-ink); quotes: "\201C" "\201D"; }
.foot-quote blockquote::before { content: open-quote; } .foot-quote blockquote::after { content: close-quote; }
.foot-quote figcaption { margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-md); justify-content: flex-end; }
.foot-links a { color: var(--color-ink); font-weight: 700; font-size: var(--text-sm); text-decoration: underline; text-decoration-color: var(--color-accent-2); text-decoration-thickness: 2px; text-underline-offset: .2em; white-space: nowrap; }
.foot-links a:hover { color: var(--color-accent-text); }
.foot-links .foot-home { color: var(--color-muted); }
@media (max-width: 52rem) {
  .site-foot-in { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .foot-quote { justify-self: start; }
  .foot-links { justify-content: flex-start; }
}
.tabs { display: flex; gap: var(--space-3xs); flex: 1; min-width: 0; }
.tabs a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--space-sm);
  border-radius: var(--radius-card); color: var(--color-ink-2); text-decoration: none;
  font-weight: 700; font-size: var(--text-sm); white-space: nowrap;
}
.tabs a:hover { background: var(--color-paper-3); color: var(--color-ink); }
.tabs a:active { background: var(--color-rule); }
.tabs a[aria-current="page"] { background: var(--color-accent); color: var(--color-accent-ink); }
.shell-end { display: flex; align-items: center; gap: var(--space-xs); margin-left: auto; }
.shell-end .who { font-size: var(--text-sm); color: var(--color-muted); white-space: nowrap; }
.shell-end .who b { color: var(--color-ink); }
.shell-end .who a { color: var(--color-ink); text-decoration-color: var(--color-accent-2); text-decoration-thickness: 2px; }
@media (max-width: 60rem) {
  .shell-in { flex-wrap: wrap; row-gap: var(--space-2xs); }
  .tabs {
    order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: var(--space-2xs);
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs a { scroll-snap-align: start; }
}

/* ---------- controls ---------- */
.icon-btn {
  display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none;
  border: var(--rule-bar) solid var(--color-rule); border-radius: var(--radius-card);
  background: transparent; color: var(--color-ink); cursor: pointer; padding: 0; position: relative;
}
.icon-btn::before { content: ""; position: absolute; inset: -4px; }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { border-color: var(--color-muted); background: var(--color-paper-3); }
.icon-btn:active { background: var(--color-rule); }
.icon-btn:disabled { opacity: .5; cursor: not-allowed; }
/* the toggle shows where a click takes you: a sun on dark, a moon on light */
.theme-toggle .moon { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-toggle .sun { display: none; }
  :root:not([data-theme="dark"]) .theme-toggle .moon { display: block; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs);
  min-height: 40px; padding: 0 var(--space-md); white-space: nowrap;
  background: var(--color-accent); color: var(--color-accent-ink);
  border: var(--rule-bar) solid var(--color-ink); border-radius: var(--radius-card);
  box-shadow: var(--shadow-press); font-weight: 700; font-size: var(--text-sm); text-decoration: none; cursor: pointer;
  transition: translate var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out);
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover { translate: -1px -1px; box-shadow: var(--shadow-press-up); }
.btn:active { translate: 3px 3px; box-shadow: var(--shadow-press-down); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; translate: none; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--color-ink); }
.btn.twitch { background: var(--color-twitch); color: var(--color-twitch-ink); }
.btn.small { min-height: 32px; padding: 0 var(--space-sm); box-shadow: var(--shadow-press-sm); }
.btn.small:hover { box-shadow: var(--shadow-press-sm); }
.btn.small:active { translate: 2px 2px; box-shadow: none; }
.btn.good { background: transparent; color: var(--color-success); border-color: var(--color-success); }
.btn.bad { background: transparent; color: var(--color-error); border-color: var(--color-error); }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover, .btn:active { translate: none; } }

.chip {
  display: inline-flex; align-items: center; gap: var(--space-2xs); min-height: 36px; padding: 0 var(--space-sm);
  border: var(--rule-bar) solid var(--color-rule); border-radius: var(--radius-card);
  background: transparent; color: var(--color-ink-2); font-weight: 700; font-size: var(--text-sm);
  cursor: pointer; white-space: nowrap; user-select: none;
}
.chip svg { width: 16px; height: 16px; }
.chip:hover { border-color: var(--color-muted); color: var(--color-ink); }
.chip:active { background: var(--color-paper-3); }
.chip:disabled { opacity: .5; cursor: not-allowed; }
.chip[aria-pressed="true"] { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.chip-row { display: inline-flex; gap: var(--space-2xs); flex-wrap: wrap; }

.field {
  min-height: 44px; padding: 0 var(--space-sm); width: 100%;
  border: var(--rule-bar) solid var(--color-muted); border-radius: var(--radius-card);
  background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md);
}
.field::placeholder { color: var(--color-muted); }
.field:hover { border-color: var(--color-ink-2); }
.field:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.field:disabled { opacity: .5; cursor: not-allowed; }
select.field { cursor: pointer; padding-right: var(--space-lg); }

/* links in running text: ink with a crimson underline */
.prose-link, .lede a, .note a, .foot a {
  color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent-2);
  text-decoration-thickness: 2px; text-underline-offset: 0.2em;
}
.prose-link:hover, .lede a:hover, .note a:hover, .foot a:hover { color: var(--color-accent-text); }

/* ---------- the page frame ---------- */
.page { max-width: var(--container); margin-inline: auto; padding: 0 var(--gutter) var(--space-3xl); }

/* the masthead: a CRT band with the page's head, one line and its live figures */
.masthead {
  position: relative; isolation: isolate; margin: var(--space-lg) 0 var(--space-lg);
  padding: var(--space-xl) var(--space-xl) var(--space-lg);
  background: var(--color-paper-2); border: var(--rule-bar) solid var(--color-rule); border-radius: var(--radius-card);
}
.masthead::after {
  content: ""; display: var(--crt, block); position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background-image:
    repeating-linear-gradient(to right, color-mix(in oklab, var(--color-crt-r) 5%, transparent) 0 1px, color-mix(in oklab, var(--color-crt-g) 5%, transparent) 1px 2px, color-mix(in oklab, var(--color-crt-b) 5%, transparent) 2px 3px),
    repeating-linear-gradient(to bottom, transparent 0 2px, color-mix(in oklab, var(--color-shade) 14%, transparent) 2px 3px);
}
.masthead h1, .display {
  font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--display-transform, uppercase); line-height: 1.02;
  letter-spacing: var(--tracking-display); font-size: var(--text-hero); max-width: 22ch; color: var(--color-ink);
  text-shadow: var(--display-split, -1.5px 0 0 var(--color-crt-r), 1.5px 0 0 var(--color-crt-c));
}
.masthead .lede { margin-top: var(--space-sm); color: var(--color-ink-2); font-size: var(--text-lg); line-height: 1.45; max-width: 52ch; }
.masthead-row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-lg); flex-wrap: wrap; }
.masthead-row > :first-child { min-width: 0; flex: 1 1 420px; }

/* figures: Silkscreen, 40px and up, the unit beside in Chivo */
.score { display: flex; flex-wrap: wrap; gap: 0; }
.score:empty { display: none; }
.score > div { display: flex; align-items: baseline; gap: var(--space-xs); padding: 0 var(--space-lg); border-left: var(--rule-bar) solid var(--color-rule); }
.score > div:first-child { padding-left: 0; border-left: 0; }
.figure { font-family: var(--font-outlier); font-weight: 700; font-size: var(--text-figure); line-height: 1; color: var(--color-accent-text); font-variant-numeric: tabular-nums; }
.score > div:nth-child(2n) .figure { color: var(--color-accent-2-text); }
.unit { font-weight: 700; color: var(--color-ink-2); font-size: var(--text-sm); }

.section-head { display: flex; align-items: baseline; gap: var(--space-xs); margin: var(--space-xl) 0 var(--space-sm); }
.section-head h2 { font-size: var(--text-xl); line-height: 1.1; }
.section-head .n { font-weight: 700; color: var(--color-muted); font-variant-numeric: tabular-nums; }
.section-head .note { margin: 0; }

.well { background: var(--color-paper-2); border: var(--rule-bar) solid var(--color-rule); border-radius: var(--radius-card); }
.toolbar { display: flex; align-items: center; gap: var(--space-xs); flex-wrap: wrap; margin-bottom: var(--space-md); }
.toolbar .field[type="search"] { flex: 1 1 260px; max-width: 420px; }
.count { color: var(--color-muted); font-size: var(--text-sm); margin-left: auto; font-variant-numeric: tabular-nums; }

.tag {
  display: inline-flex; align-items: center; gap: var(--space-3xs); padding: 1px var(--space-xs);
  border-radius: var(--radius-card); font-size: var(--text-xs); font-weight: 700; line-height: 1.5; white-space: nowrap;
  background: var(--color-paper-3); color: var(--color-ink-2);
}
.tag.lead { background: var(--color-accent); color: var(--color-accent-ink); }
.tag.answer { background: var(--color-accent-2); color: var(--color-accent-2-ink); }
.tag.good { background: color-mix(in oklab, var(--color-success) 18%, var(--color-paper-2)); color: var(--color-success); }
.tag.warn { background: color-mix(in oklab, var(--color-error) 18%, var(--color-paper-2)); color: var(--color-error); }

.empty { text-align: center; color: var(--color-muted); padding: var(--space-2xl) var(--space-md); grid-column: 1 / -1; }
.empty b { display: block; color: var(--color-ink); font-size: var(--text-lg); margin-bottom: var(--space-2xs); }
.foot { margin-top: var(--space-xl); color: var(--color-muted); font-size: var(--text-sm); text-align: center; }
.note { color: var(--color-muted); font-size: var(--text-sm); margin-top: var(--space-xs); }
code, .code { font-family: var(--font-mono); font-size: .92em; }

/* toast: one line, bottom centre */
.toast {
  position: fixed; left: 50%; bottom: var(--space-lg); z-index: var(--z-toast); translate: -50% 0;
  max-width: calc(100% - 2 * var(--space-md)); padding: var(--space-xs) var(--space-md);
  background: var(--color-ink); color: var(--color-paper); border-radius: var(--radius-card);
  box-shadow: var(--shadow-press-sm); font-size: var(--text-sm); font-weight: 700; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity var(--dur-short) var(--ease-out);
}
.toast.show { opacity: 1; }
.toast.bad { background: var(--color-paper-2); color: var(--color-error); outline: var(--rule-bar) solid var(--color-error); }

/* tooltips: themed, shown at once on keyboard focus, after a beat on hover */
[data-tip] { position: relative; }
[data-tip]::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; translate: -50% 0;
  width: max-content; max-width: min(280px, 80vw); white-space: normal; text-align: left;
  background: var(--color-ink); color: var(--color-paper); font-family: var(--font-body);
  font-size: var(--text-xs); font-weight: 700; line-height: 1.4; padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-card); box-shadow: var(--shadow-press-sm);
  opacity: 0; pointer-events: none; z-index: var(--z-tooltip); transition: opacity var(--dur-micro) var(--ease-out) 0s;
}
[data-tip]:hover::after { opacity: 1; transition-delay: 500ms; }
[data-tip]:focus-visible::after { opacity: 1; transition: none; }
[data-tip].tip-right::after { left: auto; right: 0; translate: 0 0; }

/* the narrowest phones: the channel link keeps its icon, its name stays for screen readers */
@media (max-width: 40rem) {
  .shell .brand-sub { display: none; }
  .masthead.has-logo { padding-right: var(--space-md); }
  .mast-logo { width: 84px; height: 84px; top: calc(var(--space-lg) * -1); right: var(--space-sm); }
  .masthead.has-logo h1 { max-width: calc(100% - 70px); }
}
@media (max-width: 26rem) {
  .shell-end a[href="https://twitch.tv/pox4ever"] { font-size: 0; gap: 0; padding: 0 var(--space-xs); }
}
@media (max-width: 40rem) {
  .masthead { padding: var(--space-lg) var(--space-md) var(--space-md); margin-top: var(--space-md); }
  .score { gap: var(--space-md); }
  .score > div { flex-direction: column; align-items: flex-start; gap: var(--space-2xs); padding: 0 0 0 var(--space-md); }
}

/* the right-hand group (watch link, login, PT/EN, theme) is never squeezed:
   on the narrowest phones it moves under the wordmark instead */
@media (max-width: 60rem) { .shell-end { flex-shrink: 0; } }
/* the narrowest phones with a login button showing: the watch icon goes (the footer links Twitch) */
@media (max-width: 22rem) { .shell-end:has(.btn.twitch) a[href="https://twitch.tv/pox4ever"] { display: none; } }

/* the tabs on their own row, as on phones: set by site-theme.js whenever
   they don't fit beside the wordmark and the right-hand group (any width) */
.shell.stacked .shell-in { flex-wrap: wrap; row-gap: var(--space-2xs); }
.shell.stacked .shell-end { flex-shrink: 0; }
.shell.stacked .tabs {
  order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: var(--space-2xs);
}
.shell.stacked .tabs::-webkit-scrollbar { display: none; }
.shell.stacked .tabs > * { scroll-snap-align: start; flex: none; }

/* without the script: below the container's width the tabs get their own row
   (the measuring above takes over from here) */
@media (max-width: 75rem) {
  .shell-in { flex-wrap: wrap; row-gap: var(--space-2xs); }
  .tabs {
    order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: var(--space-2xs);
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs a { scroll-snap-align: start; }
}

/* ---- live now (live.js, site review G1): the top bar's LIVE button and the "watch live" card ---- */
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
@keyframes live-pulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: no-preference) { .is-live .live-dot, .live-card:not(.off) .live-dot { animation: live-pulse 1.6s var(--ease-in-out) infinite; } }
.shell-end a.is-live {
  background: var(--color-accent-2); color: var(--color-accent-2-ink); border-color: var(--color-ink);
  font-family: var(--font-outlier); font-size: var(--text-xs); letter-spacing: .04em; gap: var(--space-xs);
}
/* the narrowest phones hide the channel button's name (above): "LIVE" stays readable */
@media (max-width: 26rem) { .shell-end a.is-live { font-size: var(--text-xs); gap: var(--space-2xs); padding: 0 var(--space-xs); } }

.live-card {
  display: flex; align-items: center; gap: var(--space-md); margin: 0 0 var(--space-lg);
  padding: var(--space-md) var(--space-lg); border-radius: var(--radius-card); text-decoration: none;
  background: var(--color-accent-2); color: var(--color-accent-2-ink);
  border: var(--rule-bar) solid var(--color-ink); box-shadow: 4px 4px 0 var(--color-accent);
  transition: translate var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out);
}
.live-card:hover { translate: -1px -1px; box-shadow: 5px 5px 0 var(--color-accent); }
.live-card:active { translate: 3px 3px; box-shadow: 1px 1px 0 var(--color-accent); }
.live-card .live-text { display: flex; flex-direction: column; gap: var(--space-2xs); min-width: 0; }
.live-card .live-badge { display: inline-flex; align-items: center; gap: var(--space-xs); font-family: var(--font-outlier); font-size: var(--text-sm); letter-spacing: .04em; }
.live-card .live-title { font-weight: 900; font-size: var(--text-lg); line-height: 1.25; overflow-wrap: anywhere; }
.live-card .live-game { font-size: var(--text-sm); font-weight: 700; line-height: 1.35; }
.live-card .go { margin-left: auto; font-weight: 900; white-space: nowrap; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.live-card.off { background: var(--color-paper-2); color: var(--color-ink); box-shadow: var(--shadow-press); }
.live-card.off .live-badge { color: var(--color-muted); }
.live-card.off .live-game { font-weight: 400; color: var(--color-ink-2); }
@media (max-width: 40rem) {
  .live-card { flex-wrap: wrap; padding: var(--space-md); }
  .live-card .go { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .live-card, .live-card:hover, .live-card:active { translate: none; } }

/* ---- the Twitch player under the live card (live.js, batch 11j): loaded only when "Watch here" is pressed ---- */
[data-live-card] .live-card:has(+ .live-play) { margin-bottom: var(--space-sm); }
.live-play { margin: 0 0 var(--space-lg); min-height: 44px; }
.live-play .play-tri { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
.live-player { position: relative; aspect-ratio: 16 / 9; width: 100%; margin: calc(var(--space-sm) * -1) 0 var(--space-lg);
  border: var(--rule-bar) solid var(--color-ink); border-radius: var(--radius-card); overflow: hidden; background: #000; }
.live-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live-play.open { margin-bottom: var(--space-sm); }
.live-play.open + .live-player { margin-top: 0; }

/* ---- clips (the clips page, the last stream page, /links: batch 11j) ---- */
.clip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr)); gap: var(--space-lg); list-style: none; margin: 0; padding: 0; }
.clip { display: flex; flex-direction: column; min-width: 0; background: var(--color-paper-2); border: var(--rule-bar) solid var(--color-rule); border-radius: var(--radius-card); overflow: hidden; }
.clip-pic { position: relative; display: block; aspect-ratio: 9 / 16; max-height: 22rem; background: var(--color-paper-3); overflow: hidden; }
.clip-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.clip-pic .clip-blank { position: absolute; inset: 0; display: grid; place-items: center; padding: var(--space-md); text-align: center;
  font-family: var(--font-display); font-weight: var(--display-weight); text-transform: var(--display-transform, uppercase); font-size: var(--text-xl); line-height: 1.05;
  color: var(--color-accent-text); background: radial-gradient(circle at 30% 20%, color-mix(in oklab, var(--color-accent-2) 30%, transparent), transparent 60%), var(--color-paper-3); overflow-wrap: anywhere; }
.clip-pic .clip-len { position: absolute; right: var(--space-xs); bottom: var(--space-xs); padding: 1px var(--space-xs); border-radius: var(--radius-card);
  background: var(--color-veil); color: var(--color-ink); font-size: var(--text-xs); font-weight: 700; font-variant-numeric: tabular-nums; }
.clip-body { display: flex; flex-direction: column; gap: var(--space-xs); padding: var(--space-sm) var(--space-md) var(--space-md); flex: 1; }
.clip-title { font-weight: 900; line-height: 1.3; overflow-wrap: anywhere; margin: 0; font-size: var(--text-md); }
.clip-meta { color: var(--color-muted); font-size: var(--text-sm); margin: 0; }
.clip-links { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: auto; padding-top: var(--space-xs); }
.clip-links a { display: inline-flex; align-items: center; gap: var(--space-2xs); min-height: 36px; padding: 0 var(--space-sm);
  border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); color: var(--color-ink); font-weight: 700; font-size: var(--text-sm); text-decoration: none; }
.clip-links a:hover { border-color: var(--color-accent-2); color: var(--color-accent-text); }
.clip-links svg { width: 16px; height: 16px; flex: none; }

/* the recap's numbers and games */
.recap-nums { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); gap: var(--space-sm); list-style: none; margin: 0; padding: 0; }
.recap-nums li { display: flex; flex-direction: column; gap: var(--space-2xs); padding: var(--space-sm) var(--space-md); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); }
.recap-nums .figure { font-size: var(--text-2xl); }
.recap-games { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); }
.recap-games li { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); flex-wrap: wrap; padding: var(--space-sm) var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.recap-games b { font-weight: 900; overflow-wrap: anywhere; min-width: 0; }

/* plain reading pages (the privacy page): one column of text */
.prose { max-width: 46rem; }
.prose h2 { font-size: var(--text-xl); line-height: 1.15; margin: var(--space-xl) 0 var(--space-sm); }
.prose p, .prose li { line-height: 1.6; color: var(--color-ink-2); }
.prose p { margin: 0 0 var(--space-sm); }
.prose ul { margin: 0 0 var(--space-md); padding-left: 1.2rem; }
.prose li { margin: var(--space-2xs) 0; }
.prose strong { color: var(--color-ink); }
.prose code { background: var(--color-paper-3); padding: 0 var(--space-2xs); border-radius: var(--radius-card); color: var(--color-ink); }
.prose a { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent-2); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.prose .cmd { margin: var(--space-md) 0; padding: var(--space-md); background: var(--color-paper-2); border: var(--rule-bar) solid var(--color-rule); border-radius: var(--radius-card); }
.prose .cmd h3 { font-family: var(--font-mono); font-size: var(--text-lg); margin: 0 0 var(--space-xs); color: var(--color-accent-text); }
.prose .cmd p:last-child, .prose .cmd ul:last-child { margin-bottom: 0; }
