/* Design tokens — spec §15.2, visual direction A, "The Intruding System".
 *
 * A dark ink-and-parchment novel with an alien game interface pasted over it. Nine colours,
 * two families, and nothing else: every surface, glow and hairline on the reader is one of
 * the nine or a `color-mix` of one with the ground. That is the whole point of the
 * direction — the System's acid is the only thing on the page that was not printed, so the
 * moment a fourth accent appears the clash stops meaning anything.
 *
 * Season 1 is dark only (§15.2: "light theme is deliberately not offered"), so there is no
 * media query here and no second palette to keep in step.
 */

:root {
  color-scheme: dark;

  /* --- the nine (§15.2) ------------------------------------------------------------- */
  --ink: #0e0d0b; /* the ground */
  --ink-2: #11100d; /* strips: ticker, sheet, anything laid over the ground */
  --parchment: #e9dfc9; /* prose */
  --parchment-dim: #bdb08f; /* the inner voice, and anything the narrator half-says */
  --rule: #26221a; /* hairlines */
  --muted: #978d72; /* quiet labels; one step up from #8d8369 (2026-10-08, TYPE): 5.9:1 on the ground */
  --acid: #c7ff3a; /* System chrome */
  --cyan: #3ee0ff; /* party, and anything a viewer caused */
  --blood: #ff5a5a; /* death, and the live dot */
  --fray: #e3a23c; /* a fight with monsters (R98): ochre, 9:1 on the ground; blood stays death and crawlers against crawlers */
  --flood: #5ea6ff; /* the flood (R98, DR2-WEB): water, 7:1 on the ground, never the red of a fight or a death; cyan stays the party's */

  /* --- surfaces derived from the nine ------------------------------------------------ */
  /* Mixed rather than picked, so the ground stays one colour with the lights turned down. */
  --ink-deep: color-mix(in srgb, var(--ink) 82%, #000); /* under the ticker */
  --rule-soft: color-mix(in srgb, var(--rule) 70%, var(--ink)); /* dashed row separators */
  /* The nameplate's bar (R161, FRZ-BAR): one track for every list that stands a bar under a name, so health reads down a column as a length and never as the
   * name's own width; it is 6 px tall and 4 px clear of the name, so it is a bar and not the link's underline. A phone's is the shorter. */
  --hbar-track: 6rem;
  --hbar-plate-h: 6px;
  --hbar-plate-gap: 4px;
  --bar-empty: color-mix(in srgb, var(--parchment-dim) 24%, var(--ink)); /* what a health bar has lost: its track */
  /* A health bar's three steps (R161, MB3-BAR). The healthy one is acid cooled toward the flood's blue, a sage no other mark on the site wears: pure acid is
   * the System's voice (R18) and a bar must never read as the System speaking. Hurt is the fray's ochre and critical the blood, the two the bands' cuts
   * already used. What a round took is the parchment, hatched (`health_bar.css`), what it gave back the flood. */
  --health-healthy: color-mix(in srgb, var(--acid) 46%, var(--flood));
  --health-hurt: var(--fray);
  --health-critical: var(--blood);
  --health-lost: var(--parchment);
  --health-healed: var(--flood);
  /* Edges only, and named for it: at 3.2:1 on the ground it is a rule, never text. */
  --rule-strong: color-mix(in srgb, var(--rule) 55%, var(--parchment-dim));
  --notice-ground: color-mix(in srgb, var(--parchment-dim) 13%, var(--ink)); /* the rehearsal's notice (R134): a band of its own, warmer than the strips */
  --band-ground: color-mix(in srgb, var(--parchment-dim) 30%, var(--ink-2)); /* a plate that stays under a fight's: the map's stairs band */
  /* The dimmest thing allowed to carry a word. Mixed at 80% (2026-10-08, TYPE: it was 70%, 4.9:1 on
   * the ground but 4.0:1 on a row tinted with 6% parchment — `.blow--own`, a name in it, a miss —
   * which is a ground it is judged on). 80% is 6.1:1 on the ground, 5.65 on the raised surface and
   * about 5.0 on that tint, and still under `--parchment-dim` (9:1) and `--parchment` (14:1), so
   * muted still reads as muted. A test holds it there. */
  --parchment-faint: color-mix(in srgb, var(--parchment-dim) 80%, var(--ink));

  /* The rule under every text link at rest (SR2-VISUAL, M6, L5): 4.3:1 on the ground and 4.0 on the raised
   * surface — it was 2.3:1, under the 3:1 a non-text mark needs, and a phone has no hover to say "link".
   * An edge, never text. A card host's dotted rule (`hover.css`) is its own mark. */
  --link-rest: color-mix(in srgb, var(--parchment) 50%, var(--ink));

  /* The third surface (the reader rebuild, 2026-09-25): the stage and the cards sit one step
   * above the panels, the panels one above the ground. Mixed at 97% because that is as far
   * as it lifts while `--parchment-faint`, the dimmest word, still reads AA on it (4.55:1). */
  --surface-raised: color-mix(in srgb, var(--ink-2) 97%, var(--parchment));

  /* The colour a System box is intruding in. Set per kind in blocks/system.css; every
   * border, label, inner outline and glow on the box reads it, so a kind is one declaration. */
  --kind: var(--acid);
  --kind-tint: color-mix(in srgb, var(--kind) 6%, transparent);
  --kind-edge: color-mix(in srgb, var(--kind) 22%, transparent);
  --kind-glow: color-mix(in srgb, var(--kind) 12%, transparent);

  /* A crawler's name followed down the page (`name_tint.js`, #31): the marker wash behind every mention
   * of the crawler under the pointer, and its edge. A violet nothing else on the site wears (acid is the
   * System and level and XP, cyan the party, blood death, ochre a fight with monsters): the olive the wash
   * made of acid read as a lime level (DR-PAGES, the designer of MBW4-s7). Parchment on the wash is 10:1,
   * and a tinted name is always parchment. */
  --mention: #b79bff;
  --name-tint: color-mix(in srgb, var(--mention) 22%, transparent);
  --name-tint-edge: color-mix(in srgb, var(--mention) 60%, transparent);

  /* --- type (§15.2) ------------------------------------------------------------------ */
  --font-prose: "Newsreader", "Newsreader Fallback", Georgia, "Times New Roman", serif;
  --font-system: "IBM Plex Mono", "IBM Plex Mono Fallback", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* The reading column. Everything else on the page is chrome around this number. */
  --measure: 62ch;
  /* The feed's measure on the rebuilt pages. Running text keeps it; a wide page fills with
   * columns beside it, never with longer lines (LAYOUT, 2026-10-08). */
  --measure-feed: 40rem;
  /* A one-line note or headline in the chrome (the break's, the crawl's): never past 72 characters, which the page pass reads as 76-80 against a face that has not landed. */
  --measure-note: 72ch;
  --rail-width: 20rem;

  /* One frame for every page (LAYOUT, #11): the masthead's own width, and the content inside it.
   * `--shell-max` is the masthead, the strip, `<main>` and the footer, centred past it;
   * `--page-max` is what is left of it between the gutters — where the wordmark's left edge is
   * every page's left edge. A page container is at most `--page-max` and never sets a width of
   * its own; a page that wants two columns divides this one. */
  --shell-max: 96rem;
  --page-max: calc(var(--shell-max) - 2 * var(--gutter));
  /* The space between a page's reading column and the companion column beside it. The reading
   * column keeps its measure on the left; the companion takes everything else, so this is the
   * only space between the two (LAYOUT2, #13). */
  --page-gap: var(--space-6);

  /* The scale (the reader rebuild, 2026-09-25): a floor, two fixed steps above it, and four
   * that grow with the viewport. Titles are big, prose is comfortable, and nothing on any
   * page computes under `--text-12` — `test_gallery.py` holds every sheet to it. */
  --text-12: 0.75rem;
  --text-14: 0.875rem;
  --text-16: 1rem;
  --text-prose: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem);
  --text-lead: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --text-h2: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  --text-h1: clamp(2rem, 1.3rem + 2.8vw, 3.5rem);

  --leading-prose: 1.62;
  --leading-chrome: 1.45;

  /* Tracking: three steps where there were eleven literals — tight for display titles, label
   * for a word set apart, caps for serif section labels and the nav (0.14em before 2026-10-08,
   * TYPE: the design review asked for 0.12 on 12 px caps). */
  --track-tight: -0.01em;
  --track-label: 0.08em;
  --track-caps: 0.12em;
  --tracking-wordmark: 0.24em;

  /* --- rhythm ------------------------------------------------------------------------ */
  /* How far a level badge on a face's corner hangs past it: a face's column holds the face and this, so the text after it starts clear of the badge (R162). */
  --badge-over: 6px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2.25rem;
  --space-7: 3.5rem;

  /* The pinned masthead's height (STICKYHEAD, #4): what stays on screen, so where everything else that
   * sticks starts. A token set per width in CSS (below), never measured by a script; below 768 it is
   * the bar's height (the wordmark and the menu), from 768 the whole row's. `--stick-top` is where a
   * sticky column sticks (a gap under the masthead) and `--stick-room` is the screen it has there. */
  --masthead-h: 2.75rem;
  /* The bar alone (the wordmark and the menu), and the one row a page about a moment pins under it below 1024 (RP8). */
  --masthead-bar-h: 2.75rem;
  --moment-row-h: 2.25rem;
  --stick-top: calc(var(--masthead-h) + var(--space-4));
  --stick-room: calc(100vh - var(--masthead-h) - 2 * var(--space-4));
  /* ...and what a sticky column cannot ride into at the page's end: the page's bottom padding and the
   * footer under it (one line, 46 px measured at 1600), less the gap the room already leaves. A column
   * whose box is taller than the room less this is pushed up by its page's end: the cam's rail rose
   * 87 px with 400 px of nothing under it (the owner, 2026-10-23, #34). */
  --pagefoot-h: 3.25rem;
  --foot-room: calc(var(--space-7) + var(--pagefoot-h) - var(--space-4));

  /* The feed's turns (TURNHEAD, 2026-10-15): the space before a turn, which is at least
   * twice the gap between a turn's own lines (`--space-3`, or the section gap `--space-5` where a turn's
   * items are boxes: two section gaps and a breath, 52 px, MB75-PAGES); and where a turn's head sticks,
   * which is the masthead's foot (STICKYHEAD: the masthead stays, so the head clears it). */
  --turn-gap: calc(2 * var(--space-5) + var(--space-1));
  --turn-head-top: var(--masthead-h);
  /* ...and how tall that head is: a 14 px line, 8 px over and under, and its rule (2 px on /live), so a link
   * a keyboard scrolls to is brought clear of it (`common.css`, SR2-VISUAL M32). */
  --turn-head-h: calc(var(--text-14) * var(--leading-chrome) + 2 * var(--space-2) + 2px);

  /* `/live`'s typeset live blog (the redesign, 2026-11-02): the turn numeral's column, the face beside a turn's lead,
   * the lead's kind rule and the rail head's acid rule, the phone's live bar and the gap between two moments of one turn. */
  --turn-gutter: 4.5rem;
  --lead-face: 3.5rem;
  --rule-lead: 2px;
  --bar-h: 2.5rem;
  --moment-gap: var(--space-5);

  /* A capped pane — a sticky column that scrolls inside its own box, a list capped at a height —
   * fades its cut instead of slicing a line (designer, V1). The pane only sets
   * `padding-bottom: var(--pane-fade-band)` where it is capped: the band is empty padding, so a pane
   * that fits, or is scrolled to its end, has nothing under the cut. The fade itself is the mark's,
   * not the pane's (I3-WEB, the designer: a roster faded with nothing hidden): `pane_cue.js` marks a
   * pane `data-more` only while rows lie under its cut, and `layout.css` masks what is marked. */
  --pane-fade-band: var(--space-7);
  /* The fade of a pane that has more under it (`[data-more]`, `layout.css`): gone a step before the cap
   * and a hair above the cue's own top (`--pane-cue-gap`: a faded line reaching the bar's edge read as
   * printed under "more below", the designer's landing/live-1440), and the strip under that is opaque, so the
   * cue's bar is read whole. */
  --pane-cue-h: 1.5rem;
  --pane-cue-gap: var(--space-2);
  --pane-fade-cue: linear-gradient(
    to bottom,
    #000 calc(100% - var(--space-7)),
    transparent calc(100% - var(--pane-cue-h) - var(--pane-cue-gap)),
    transparent calc(100% - var(--pane-cue-h)),
    #000 calc(100% - var(--pane-cue-h))
  );
  --gutter: clamp(0.875rem, 0.4rem + 2vw, 1.75rem);

  /* The control family (DB-A0, the designer's components-2: five button and chip styles). Every pill, button and chip
   * is one shape at one of two heights: `--control-h` (32 px) from a tablet up and `--control-h-tight` (28 px) on a
   * phone, `--control-pad` (or `-tight`) each side, the serif at `--text-14` for a control and `--text-12` caps for a
   * chip. The rule (S4-FOUNDATION, the designer's read): you press a pill, you read a square. Whatever a viewer presses
   * (Watch, Follow, Sponsor, a step) is a pill (`--control-radius-pill`); whatever only says something (a status chip,
   * a box, a head) is square-cornered. A chip is `--chip-pad` inside its rule and wraps inside its box (`dossier.css`),
   * never past it. */
  --control-h: 2rem;
  --control-h-tight: 1.75rem;
  --control-pad: 0.875rem;
  --control-pad-tight: 0.625rem;
  --control-radius-pill: 999px;
  --chip-pad: 2px var(--space-2);

  /* The three scales every sheet writes in (S4-FOUNDATION). Radius: square is `--radius-0`, the least a corner is
   * softened (the hover card's, a map mark's) is `--control-radius`, a pill is `--control-radius-pill`; a face's own 20 %
   * and a dot's 50 % are shapes, not steps. Shadow: one, the hover card's, for whatever floats over the page (a menu,
   * a note, a card). Layers: a lifted sibling, a sticky head, the masthead and its menu, a card over all; a
   * layer one over or under another is written `calc(var(--z-x) ± 1)`, so the order is read off the names. */
  --radius-0: 0;
  --control-radius: 2px;
  --shadow-raised: 0 10px 28px color-mix(in srgb, var(--ink-deep) 80%, transparent);
  --z-base: 1;
  --z-sticky: 5;
  --z-menu: 20;
  --z-hover: 40;

  /* A thumb's worth (WCAG 2.2's 2.5.8; Task S4, 2026-09-27): the least a control a phone taps
   * is, 24 CSS px. What a word lacks of it: a name in a line of text is its font's box, about
   * an em tall (`--tap-lift`), and a hover host is a line box of its own and its dotted rule
   * (`--tap-lift-line`). Resolved on the element that uses them — an em and a line are its own. */
  --tap: 1.5rem;
  --tap-lift: max(0px, calc(var(--tap) - 1em));
  --tap-lift-line: max(0px, calc(var(--tap) - 1lh - 1px));

  /* --- motion (§15.4) ---------------------------------------------------------------- */
  --duration-fast: 120ms;
  --duration-normal: 320ms;
  --duration-glow: 1200ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* The pinned masthead's height, per width (STICKYHEAD, #4). Below 1024 it is the bar's one row; from
 * 1024 the whole row — 12 px over and under a 22 px nav link, with a hair to spare — and from 1280 to
 * 1439 a break's line is a second row of the same header (from 1440 it stands in the row), which is
 * `:has` so it follows `masthead.js` unhiding the line without a script of its own. The dynamic
 * viewport where the browser has one, so a phone's address bar does not leave the column short. */
@media (min-width: 64em) {
  :root {
    --masthead-h: 3.125rem;
  }
}

@media (min-width: 48em) {
  :root {
    --hbar-track: 8rem;
  }
}

/* A page about a moment ("Floor 1 · turn 16") pins that row under the bar below 1024 (RP8), so every sticky column and
 * head that starts at the masthead's foot starts under both. */
@media (max-width: 63.99em) {
  :root:has(.masthead-moment) {
    --masthead-h: calc(var(--masthead-bar-h) + var(--moment-row-h));
  }
}

@media (min-width: 80em) and (max-width: 89.99em) {
  :root:has(.masthead-episode:not([hidden])) {
    --masthead-h: 5rem;
  }
}

@supports (height: 100dvh) {
  :root {
    --stick-room: calc(100dvh - var(--masthead-h) - 2 * var(--space-4));
  }
}

/* Motion is a garnish here: it says "this line just arrived", and a reader who has asked
 * for stillness is told the same thing by the line being there. Zeroed at the token, so
 * every transition and animation in the stack goes instant at once (§15.4). */
@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-fast: 0ms;
    --duration-normal: 0ms;
    --duration-glow: 0ms;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Deliberately NOT `scroll-behavior: smooth`. It reads well on an anchor and is wrong
 * everywhere else here: `scroll-behavior` also governs every scroll a script makes of the
 * page without naming a behaviour, and the reader's own scrolls are the ones that hold a
 * reader's place while a page changes above them (`feed.js`, `steady.js`) — held by an
 * animation, the line being read is seen to move. Motion on this page belongs to the block
 * that just arrived, not to the page. */
html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  /* Painted explicitly: a transparent body borrows whatever ground is behind the page. */
  background: var(--ink);
  color: var(--parchment);
  font-family: var(--font-prose);
  font-size: var(--text-prose);
  line-height: var(--leading-prose);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

/* The two voices — spec §15.2, and the reader rebuild's roles (2026-09-25).
 *
 * The show has exactly two: a novel and a game-show AI. The novel is Newsreader — titles,
 * prose, names, the desk, section labels, buttons. The AI is IBM Plex Mono, and it is the
 * *only* monospace on the page: the System's cards, the ticker, clocks and countdowns, and
 * the numbers the world counts (turn, alive, HP, damage, tallies). Nothing sits between
 * them — a mid-size sans would make the page a dashboard.
 *
 * The roles (`.t-*`) are what a template or a builder reaches for; `.mono`, the one older
 * helper still worn (the gallery's code line), stays until nothing wears it.
 * Then the base pass: links, focus, headings, and the classes the renderer hands out —
 * a crawler's name, their face, and how hurt they are.
 */

/* --- the faces --------------------------------------------------------------------------- */

/* Ours, served from `static/fonts` (Latin subset, the OFL beside them), so the first screen waits
 * on no third party and the CSP names none (backlog #23). `optional` (the owner, 2026-10-15, over
 * the global `swap` rule, #23's font race: "fonts don't render well in the first frame"): a face
 * the browser has — every page after the first, cached — paints in the first frame; one it does not
 * have leaves that page in the fallback, which wears the face's own metrics below, so nothing ever
 * swaps in front of the reader. The `url()`s are relative to this file's place (`styles/`), which the page's one
 * bundle keeps (`broadcast/static_build.py`). Only the weights and styles the sheets ask for. */
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("/static/e66067814f/fonts/newsreader-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("/static/05c91a26d1/fonts/newsreader-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url("/static/fa9b900403/fonts/newsreader-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("/static/08949f728d/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url("/static/01d2854474/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("/static/0d1f0b8d07/fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* The fallbacks, each Georgia (or Courier New) scaled and re-spaced to its face's measure:
 * `size-adjust` the average Latin advance, the three overrides the face's own ascent, descent
 * and line gap over that scale. Measured off the files (hhea metrics, English letter
 * frequencies), so a line wraps where it will wrap in the real face and the box is as tall. */
@font-face {
  font-family: "Newsreader Fallback";
  font-style: normal;
  font-weight: 400;
  src: local("Georgia");
  size-adjust: 96.07%;
  ascent-override: 76.51%;
  descent-override: 27.58%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Newsreader Fallback";
  font-style: normal;
  font-weight: 600;
  src: local("Georgia Bold"), local("Georgia-Bold");
  size-adjust: 86.47%;
  ascent-override: 85%;
  descent-override: 30.64%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Newsreader Fallback";
  font-style: italic;
  font-weight: 400;
  src: local("Georgia Italic"), local("Georgia-Italic");
  size-adjust: 87.45%;
  ascent-override: 84.05%;
  descent-override: 30.3%;
  line-gap-override: 0%;
}

/* Plex Mono is 0.6 em a character and so is Courier New: the scale is the identity. */
@font-face {
  font-family: "IBM Plex Mono Fallback";
  font-style: normal;
  font-weight: 400 600;
  src: local("Courier New"), local("CourierNewPSMT");
  size-adjust: 100%;
  ascent-override: 102.5%;
  descent-override: 27.5%;
  line-gap-override: 0%;
}

/* --- the roles ------------------------------------------------------------------------- */

/* The System's voice: a card's body, a vote's label, the crawl. */
.t-system {
  font-family: var(--font-system);
  font-variant-ligatures: none;
}

/* A number the world counted. Tabular, so a column of them lines up and a clock that ticks
 * does not shuffle the words beside it. */
.t-readout {
  font-family: var(--font-system);
  font-variant-ligatures: none;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

/* A sentence with numbers in it — "Over after 5 rounds", "8 got out · 21 caught on floor 10" — is
 * the page talking, so it is the serif (2026-10-08, TYPE, R18, the design review's finding #2):
 * words in monospace read as a terminal and dilute the System, the only monospace the show owns.
 * Tabular and lining figures keep a ticking count from shuffling the words beside it. `.t-readout`
 * is for a number with its unit (`lv 7`, `turn 295`, `collapses in 6h 12m`) and nothing longer. */
.t-figures {
  font-family: var(--font-prose);
  font-variant-numeric: tabular-nums lining-nums;
}

/* The show's section labels — serif caps, tracked, at the floor or one step above it, and
 * the faintest colour allowed to carry a word. Never mono: a label is the page talking. */
.t-label {
  font-family: var(--font-prose);
  font-size: var(--text-12);
  font-weight: 400;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--parchment-faint);
}

.t-label--14 {
  font-size: var(--text-14);
}

.t-h1 {
  font-family: var(--font-prose);
  font-size: var(--text-h1);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: var(--track-tight);
}

.t-h2 {
  font-family: var(--font-prose);
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: var(--track-tight);
}

.t-lead {
  font-family: var(--font-prose);
  font-size: var(--text-lead);
  line-height: 1.35;
}

.t-prose {
  font-family: var(--font-prose);
  font-size: var(--text-prose);
  line-height: var(--leading-prose);
}

/* A line about a line: when, where, who else. Serif, one step down, and dim. */
.t-meta {
  font-family: var(--font-prose);
  font-size: var(--text-14);
  line-height: var(--leading-chrome);
  color: var(--parchment-dim);
}

/* A turn's link in an index of moments — the cam's story, a floor's brief: one look for a date that opens its turn
 * (DESIGN3, R18: the story's were caps with rules no other page used). Serif one step down, tabular, in the reading
 * colour, underlined at rest as a name in the prose is. */
.t-turnlink {
  font-family: var(--font-prose);
  font-size: var(--text-14);
  font-variant-numeric: tabular-nums;
  letter-spacing: normal;
  text-transform: none;
  color: var(--parchment);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--rule-strong);
}

.t-turnlink:hover,
.t-turnlink:focus-visible {
  color: var(--parchment);
  text-decoration-color: currentColor;
}

/* --- the older helper ------------------------------------------------------------------- */

.mono {
  font-family: var(--font-system);
  font-size: var(--text-12);
  line-height: var(--leading-chrome);
  font-variant-ligatures: none;
}

/* --- the base pass ---------------------------------------------------------------------- */

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration-color: var(--link-rest);
  text-underline-offset: 0.18em;
  transition: color var(--duration-fast) var(--ease-out);
}

/* A link pointed at comes up to the story's own ink, its rule drawn whole. Never acid: that is
 * the System speaking, and the pointer is the reader's (the reader rebuild's polish). */
a:hover {
  color: var(--parchment);
  text-decoration-color: currentColor;
}

/* One focus ring for the whole reader: the story's brightest ink, drawn clear of the element
 * so it frames rather than touches, and outside it so it never reflows what it is marking
 * (§15.4). Buttons and links share it deliberately — "where am I" should not depend on what
 * kind of control the answer is — and it is the reader's, so it is never the System's acid. */
:focus-visible {
  outline: 2px solid var(--parchment);
  outline-offset: 3px;
  border-radius: 1px;
}

/* A crawler's name, wherever it appears: the one link the page makes out of the world. The rule
 * is `--link-rule`, so the underline and the hover share one colour. It is the text's own underline
 * at every width, never a border under the link's box (TURNHEAD, backlog #13, R17): a border sits
 * under the box, so a name padded for a thumb dropped its rule 4 px below it, and on a roll of
 * names a row's rules sat on the next row's text (the fallen roll, 2026-10-15). `page_underline_close`
 * holds it within 0.35em of the baseline. */
.crawler-link {
  --link-rule: var(--link-rest);
  color: var(--parchment);
  /* `--link-line` is "none" where a name has its health bar under it as its rule (a nameplate, `blocks/health_bar.css`): two rules 4 px apart read as one
   * mistake. The pointer and the keyboard bring the line back. */
  text-decoration: var(--link-line, underline) 1px var(--link-rule);
  text-underline-offset: 0.3em;
}

/* A name in prose keeps its ring off its neighbours' glyphs (SR2-VISUAL, M33): "in|The Salt-Blind Reef|:" had
 * the 3 px ring pressing on the word and the colon, so a name wears 2 px of padding aside, paid back in
 * margin — the ring (1 px off, below) then stands in the space either side. */
.crawler-link:where(:not(.crawler-link--sigil)) {
  padding-inline: 2px;
  margin-inline: -2px;
}

/* A name is 15 px tall on a phone, under WCAG 2.5.8's 24 px (R17, TAPLIVE): 5 px above and below
 * is hit area only, since an inline box's padding adds no line height, and 2 px aside is paid
 * back in margin (the same 2 px as above). The underline is the text's own, which padding never moves. Not a background
 * line: that made a padded inline-block name a painted chip, read by its box (`page_overlap`,
 * 8 px on the intermission's wrapped fallen chips, B13-seeds s7). The face-and-name pair keeps its
 * own rule (below). One class of specificity (`:where`), so a component that sizes its own target
 * — those chips, 4 px paid back in margin (`intermission.css`) — keeps it. */
@media (max-width: 47.99em) {
  .crawler-link:where(:not(.crawler-link--sigil)) {
    padding: 5px 2px;
    margin-inline: -2px;
  }
}

.crawler-link:hover,
.crawler-link:focus-visible {
  --link-rule: var(--parchment);
  --link-line: underline;
  color: var(--parchment);
}

/* The ring of a link in a line of text stands 1 px off it, not 3: a name or a room beside a comma has no
 * room for more (M33). A room link has the same padding, so the same space. */
.crawler-link:focus-visible,
a[data-hover="room"]:focus-visible {
  outline-offset: 1px;
}

a[data-hover="room"]:where(:not(.minimap-room-link)) {
  padding-inline: 2px;
  margin-inline: -2px;
}

/* Every mention of the crawler under the pointer or the keyboard (`name_tint.js`, #31, R16): a marker
 * wash and a solid rule. The fade is the token's, so it is none under `prefers-reduced-motion`. A
 * link's rule is `--link-rule`; a prose host (a span) and a fight box's face have none of their own. */
.crawler-link,
.hover-host,
.fighter-face {
  transition:
    background-color var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out);
}

.name-tinted {
  --link-rule: var(--parchment);
  color: var(--parchment); /* whatever ink the name wore, the wash is judged against this one */
  background-color: var(--name-tint);
  border-radius: 1px;
}

.name-tinted:not(.crawler-link--sigil, .crawler-link--named, .fighter-face) {
  text-decoration: underline 1px var(--parchment);
  text-underline-offset: 0.3em;
}

/* A face and a name (a board row, a roster) tint the name alone: the link stretches the row's width, and
 * its wash read as a bar (the designer, L11; R16). The board's link draws its face beside it (`named`, AS1)
 * and stretches the row all the same. */
.name-tinted.crawler-link--sigil,
.name-tinted.crawler-link--named {
  background-color: transparent;
}

.name-tinted.crawler-link--sigil .crawler-link-name,
.name-tinted.crawler-link--named .crawler-link-name {
  background-color: var(--name-tint);
  border-radius: 1px;
}

.fighter-face.name-tinted {
  outline: 1px solid var(--name-tint-edge);
  outline-offset: 1px;
}

/* The name with its face (`parts.crawlerLink(…, {sigil: true})`), a link or the page's own
 * crawler. Aligned on the name's baseline, so the pair sits in a sentence like the name alone
 * would and names beside faces of different sizes line up; the face centres itself on the
 * line instead. The rule moves under the name, because a hairline under a picture is a line
 * under nothing. */
.crawler-link--sigil,
.crawler-self--sigil {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4em;
  max-width: 100%;
}

.crawler-link--sigil {
  text-decoration: none;
}

.crawler-link--sigil .crawler-link-name {
  min-width: 0;
  text-decoration: underline 1px var(--link-rule);
  text-underline-offset: 0.3em;
}

/* The page's own crawler, named in its own prose: not a link, not a card, just the name —
 * set apart from the running text only by weight, so the eye still finds who the line is
 * about without being offered a trip to the page it is already on. */
.crawler-self {
  font-weight: 600;
}

/* --- faces (`sigil.js`) ------------------------------------------------------------------- */

/* A rounded-square portrait tile (R88, R89): the server's image in a dark tile that is there before
 * the face is, so a slow face is a quiet square and never a broken-image icon. The tile is the size
 * class's — nothing in the image's own box moves it. A quiet edge is drawn over the picture
 * (`::after`); death greys the face and strikes the tile corner to corner in
 * a light line (the strike rides the same overlay), and a crawler on air wears the live dot on the
 * shoulder (`::before`). */
.sigil {
  --sigil-px: 28px;
  position: relative;
  display: inline-block;
  flex: none;
  align-self: center;
  vertical-align: middle;
  inline-size: var(--sigil-px);
  block-size: var(--sigil-px);
  border-radius: 20%;
  background: var(--ink-2);
}

.sigil--20 {
  --sigil-px: 20px;
}

.sigil--28 {
  --sigil-px: 28px;
}

.sigil--40 {
  --sigil-px: 40px;
}

.sigil--64 {
  --sigil-px: 64px;
}

/* The cam's portrait (R89): the whole person, so a softer corner and a dot that stays a dot —
 * 26% of 160 would be a 42 px blob on the shoulder. */
.sigil--160 {
  --sigil-px: 160px;
  border-radius: 12%;
}

.sigil--160.sigil--on-air::before {
  inset-block-start: 6px;
  inset-inline-end: 6px;
  inline-size: 14px;
  block-size: 14px;
}

.sigil-face {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.sigil::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--rule-strong);
  border-radius: inherit;
  pointer-events: none;
}

/* The face stays readable under the strike (R89, L43-PAGES): at brightness 0.6 a dark portrait was a blank
 * tile with a blood slash through it, so the grey is lighter and the slash a light line over the face. */
.sigil--dead .sigil-face {
  filter: grayscale(1) brightness(0.85);
}

/* The slash runs bottom-left to top-right: the level's badge stands on the bottom-right corner (R162), and the dead mark stays whole beside it. */
.sigil--dead::after {
  border-color: var(--rule);
  background: linear-gradient(
    to top left,
    transparent calc(50% - 0.75px),
    color-mix(in srgb, var(--parchment) 55%, transparent) calc(50% - 0.75px),
    color-mix(in srgb, var(--parchment) 55%, transparent) calc(50% + 0.75px),
    transparent calc(50% + 0.75px)
  );
}

.sigil--on-air::before {
  content: "";
  position: absolute;
  z-index: var(--z-base);
  inset-block-start: -2px;
  inset-inline-end: -2px;
  inline-size: max(7px, 26%);
  block-size: max(7px, 26%);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--blood);
  pointer-events: none;
}

/* The placeholder a server-rendered page leaves for `hydrateSigils`, at the size the face
 * will be — so a face arriving moves nothing, and a page without script keeps the gap. */
[data-sigil] {
  display: inline-block;
  flex: none;
  align-self: center;
  inline-size: 28px;
  block-size: 28px;
  vertical-align: middle;
}

[data-sigil][data-size="20"] {
  inline-size: 20px;
  block-size: 20px;
}

[data-sigil][data-size="40"] {
  inline-size: 40px;
  block-size: 40px;
}

[data-sigil][data-size="64"] {
  inline-size: 64px;
  block-size: 64px;
}

[data-sigil][data-size="160"] {
  inline-size: 160px;
  block-size: 160px;
}

[data-sigil] > .sigil {
  display: block;
}

/* A small face that wears its level BESIDE it (the cam's strip and bar, `data-badged`, MB3-ROW) is as wide as the two, so the badge never lies over the name. */
[data-sigil][data-badged] {
  inline-size: auto;
  min-inline-size: 28px;
}

/* --- health, as a band ---------------------------------------------------------------------- */

/* Health is a word on the public channels, never a number (§12), and the word is one of six
 * bands. One colour per band, dim to loud as it gets worse — so a rail of eight names reads
 * at a glance — and the same colour whether it is written as a word or drawn as a bar
 * (`parts.bandTag`/`bandBar`, and the pages the server draws whole). Hurt is a parchment ramp
 * (SR2-VISUAL, H23: a monster's WOUNDED read as crawler on crawler); red is dying and the dead, and a
 * monster's own bands are the fray (`blocks/fight_frame.css`). */
.band-tag {
  font-family: var(--font-prose);
  font-size: var(--text-12);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  white-space: nowrap;
}

.band--unharmed {
  color: var(--parchment-faint);
}

.band--bruised {
  color: var(--parchment-dim);
}

.band--wounded {
  color: var(--parchment);
}

.band--dying,
.band--dead {
  color: var(--blood);
}

.band-tag.band--dead {
  text-decoration: line-through;
}

/* The band's word as its card (`parts.bandTerm`) is a button inside the tag, and a line-through
 * never reaches inside one: the word is struck on itself. */
.band-tag.band--dead .band-term {
  text-decoration: line-through;
}

/* Out of reach rather than out of health — backed out of a fight, or never seen at all. */
.band--gone,
.band--unknown {
  color: var(--parchment-faint);
}

/* --- rarity ----------------------------------------------------------------------------------- */

/* Rarity, on an item card: the word in muted caps, common the faintest. No colour of its own: acid is the System's
 * mono and cyan a party's, and the word says it (L36-CAMPAGE, R18). */
.rarity-common {
  color: var(--muted);
}

.rarity-uncommon,
.rarity-rare,
.rarity-epic,
.rarity-legendary {
  color: var(--parchment-dim);
}

/* --- utilities (S4-FOUNDATION): one recipe each, so no page sheet retypes it ---------------------------------------- */

/* Said to a screen reader, not drawn. `-focusable` is shown while it has the focus (the foot's "Your place" line the step sends focus to);
 * `-below-N` and `-from-N` hide it only below or from that width, where a column's head or a row's word is the screen reader's alone. */
.visually-hidden,
.visually-hidden-focusable:not(:focus, :focus-visible) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 29.99em) {
  .visually-hidden-below-480 {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
}

@media (max-width: 47.99em) {
  .visually-hidden-below-768 {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
}

@media (max-width: 79.99em) {
  .visually-hidden-below-1280 {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
}

@media (min-width: 64em) {
  .visually-hidden-from-1024 {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
}

/* A list that is rows, not prose: no bullet, no indent, no margin. A page sheet places it (a gap, a grid) and never retypes this. */
.list-reset {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* A party's name carries a small flag in front of it (2026-10-08, R12): its name once read like a
 * room's, and the flag is what tells a crew from a place wherever a party is named. Drawn by
 * CSS so the text a reader copies, and a link's name, stay the party's own. */
.party-name::before {
  content: "\2691\00a0";
  color: var(--cyan);
}

/* The shell — spec §15.3, §15.4, and the reader rebuild's (2026-09-25, "The shell").
 *
 * Every page is the same four bands: masthead, ticker strip, `<main>`, footer. What sits
 * inside `<main>` is the page's own business (`pages/*.css`); what is here is the frame, the
 * primitives a page lays itself out with, the reveal that keeps a page still until it is
 * drawn, and the few rules every block wears whatever its type.
 *
 * Responsive targets are 320 / 375 / 768 / 1024 / 1440 and the rule is one line long: the
 * page never scrolls sideways. Anything that cannot narrow — a standings row, a wide strip —
 * scrolls inside its own `.scroll-x`.
 */

/* A jump (an anchor, `scrollIntoView`, Tab to a link) lands under the pinned masthead, not behind it. */
html {
  scroll-padding-top: calc(var(--masthead-h) + var(--space-3));
}

.skip-link {
  position: absolute;
  left: var(--space-2);
  top: var(--space-2);
  z-index: calc(var(--z-menu) + 1);
  padding: var(--space-2) var(--space-3);
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--font-prose);
  font-size: var(--text-14);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  text-decoration: none;
  /* Clipped to nothing until focused, not parked above the page by a transform: the cam has two, seated at one corner, and the
   * page pass read the words of both printed over each other by 8 px (SR3-PAGES). Only one is ever focused. */
  clip-path: inset(50%);
}

.skip-link:focus {
  clip-path: none;
}

/* --- masthead --------------------------------------------------------------------------- */

/* The wordmark, the season, what the show's numbers are right now, and the way around. On a
 * phone the nav folds into a menu and the numbers take the line under the wordmark — three
 * labelled readouts do not fit beside a wordmark and a menu in 375 px, and a readout squeezed
 * into a three-line stack is worse than a second line. Wider, it is one row, and where the nav
 * cannot fit beside the numbers it is the nav that moves down a line, never the numbers that
 * crumple. Its own size and leading, so no line box borrows the prose size's strut.
 *
 * It stays on screen (STICKYHEAD, #4; the owner: "I think the header should be always visible, so if I
 * want to go back to the `live` page I can do it easily"): sticky at the top, on the page's own ground
 * so what scrolls under it is hidden, over every sticky child (their tops all start at `--masthead-h`,
 * `tokens.css`). Below 768 only the bar (wordmark and menu) is pinned: `layout_responsive.css`. */
.masthead {
  position: sticky;
  top: 0;
  z-index: var(--z-menu);
  background: var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-4);
  padding: var(--space-3) var(--gutter);
  border-bottom: 1px solid var(--rule);
  font-size: var(--text-12);
  line-height: var(--leading-chrome);
}

/* The wordmark and the menu share a row of their own below 768 (`layout_responsive.css`); from 768
 * they are the masthead's own flex items, the row's ends. */
.masthead-bar {
  display: contents;
}

/* The System's show, in the System's voice: the one place mono and acid sign the page. */
.wordmark {
  flex: none;
  font-family: var(--font-system);
  font-size: var(--text-12);
  font-weight: 600;
  letter-spacing: var(--tracking-wordmark);
  color: var(--acid);
  text-decoration: none;
}

/* The season's title, the first thing of every status row (`base.html`, `season_mark`): "Season 1", "Rehearsal 2". It is
 * the link to the season, the dim label the row's readouts are read against, and one dot (the readouts' own) from what
 * follows. From 1024 it stands beside the wordmark as one lockup, a hair rule between them (`layout_responsive.css`). */
.masthead-season {
  flex: none;
  font-size: var(--text-14);
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: var(--parchment);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--duration-fast) var(--ease-out);
}

.masthead-season:hover {
  text-decoration: underline 1px;
  text-underline-offset: 0.2em;
}

/* The title's twin in the bar, for a 320 px screen only (`layout_responsive.css`). */
.masthead-season-bar {
  display: none;
  flex: none;
  font-size: var(--text-14);
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: var(--parchment);
  text-decoration: none;
  white-space: nowrap;
}

.masthead-season:not(:last-child)::after {
  content: "·";
  content: "·" / "";
  margin-inline: var(--space-3) 0;
  color: var(--parchment-faint);
}

/* "Floor 3 of 10 · turn 3 of 60 · 80 alive" (R118): the show's place on its floor, then who is
 * left, in mono with the word that says what it is in serif caps beside it (`.t-readout`,
 * `.t-label`). On a narrow row the turn half (`.clock-turn`) goes first, as the turn readout did. */
.masthead-readouts {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  /* One dot, one spacing, at every width: the dot between two readouts stands as close to its words as the dot inside one ("Floor 5 · turn 30 of
   * 60"), a word space either side (the designer, CA read 6 L2: 24 px around one and 4 around the other). */
  gap: 0 var(--space-1);
  min-width: 0;
  margin: 0;
}

.readout {
  white-space: nowrap;
}

/* The status slot has one look on every page (CA15; the designer, CA-s7 M8): the serif at 14 px in sentence case, the title's weight left to
 * the title ("Season 1" semibold, "Floor 2 · turn 30 of 60" regular), whether it is the clock of a season on the air, the turn a still page is
 * about, when a season opens or that it is finished. The mono is the System's (R18), and the wordmark's. */
.readout .t-readout,
.masthead-readouts .masthead-catching-label,
.masthead-over-mark {
  font-family: var(--font-prose);
  font-size: var(--text-14);
  font-weight: 400;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: normal;
  text-transform: none;
  color: var(--parchment);
}

/* The count and its word ("100 alive") stand a space apart, the word in the dim of a unit beside its figure. */
.readout .t-label {
  font-size: var(--text-14);
  letter-spacing: normal;
  text-transform: none;
  color: var(--parchment-dim);
}

.readout .t-readout + .t-label {
  margin-inline-start: var(--space-1);
}

/* The phone's form of the clock, "Floor 5 · turn 30 of 60 · stairs in 25" (L30-PAGES, R17): drawn beside the long one, shown
 * only below 768, where the long one is hidden (`layout_responsive.css`). */
.clock-short {
  display: none;
}

/* "turn 55 of 60 · 3 off the stairs": the few still off the landings are a span of their own after the turn (`floor_turns.js`,
 * `base.html`), the dot seated at the end of the first so a wrapped row ends a line on it (SR3-PAGES). */
.clock-turn:has(+ .clock-off)::after {
  content: " ·";
  color: var(--parchment-faint);
}

/* After a readout rather than before the next, so a line that wraps ends on its dot instead of
 * starting the next with one. Empty alt text: the dot is for the eye only. */
.readout:not(:last-child)::after {
  content: "·";
  content: "·" / "";
  margin-left: var(--space-1);
  color: var(--parchment-faint);
}

/* A season that has ended says so where every page can see it, with who won. */
.masthead-over {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 var(--space-1); /* the verdict row is one line (the sticky tokens): 83 ch was past 80 */
  min-width: 0;
  margin: 0;
}

.masthead-over-mark {
  margin-inline-end: var(--space-2);
  white-space: nowrap;
}

/* A page about a moment, a season not started and a finished one say it in the status slot's one look (above), never in the mono the
 * System speaks in (R18; RP6). */
.masthead-catching-label {
  white-space: nowrap;
}

/* Between two episodes (R55): "Floor 5 opens tonight at 20:00 CEST · in 3h 20m", a line of
 * its own under the row — the one thing the page is waiting for, so it never shares a line the
 * readouts could push it off — and from 1440 up the status strip's own: it takes the row's
 * spare width between the readouts and the nav (the foot of this sheet), so a break costs the
 * first screen no band of its own. It is one line, "Floor 2 opens tonight at
 * 20:00 CEST · in 5h 47m" (the floor's length is the floor card's, R12). */
.masthead-episode {
  order: 2;
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 var(--space-3);
  margin: 0;
  font-size: var(--text-14);
  color: var(--parchment);
}

.masthead-episode-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 var(--space-2);
  max-width: var(--measure-note);
  margin: 0;
}

/* Drawn on every page of a running season and `hidden` while an episode is on (`masthead.js`
 * fills it when a wait begins): `display` above beats the UA's `[hidden]`, so say it. */
.masthead-episode[hidden] {
  display: none;
}

.masthead-episode-left {
  font-size: var(--text-12);
  color: var(--parchment-dim);
  white-space: nowrap;
}

/* The break's words are the sentence, the headline of the wait, said once (SR2-CHROME, M2: the state is the
 * readout's "Between floors"). The dot between them and the countdown ends the first line rather than
 * starting the second, so a wrap at 320 never begins "· in 5h 47m"; with no countdown there is no dot. */
.masthead-episode-words {
  color: var(--parchment);
}

.masthead-episode-words:has(+ .masthead-episode-left:not(:empty))::after {
  content: " ·";
  content: " ·" / "";
  color: var(--parchment-faint);
}

/* The nav's fold: a `<details>`, so a phone gets a menu without a script. Below 768 the
 * summary is the button and the nav drops over the page (absolute, so opening it moves
 * nothing); at 768 and up the summary goes and the nav stands in the row. */
.masthead-menu {
  position: relative;
  flex: none;
  /* After the readouts in the row, though the markup puts it in the bar with the wordmark. */
  order: 1;
  margin-left: auto;
}

.masthead-menu > summary {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--rule-strong);
  font-family: var(--font-prose);
  font-size: var(--text-12);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--parchment);
  cursor: pointer;
  list-style: none;
  transition: border-color var(--duration-fast) var(--ease-out);
}

.masthead-menu > summary::-webkit-details-marker {
  display: none;
}

.masthead-menu > summary::after {
  content: "▾";
  content: "▾" / "";
  color: var(--parchment-dim);
}

.masthead-menu[open] > summary::after {
  content: "▴";
  content: "▴" / "";
}

.masthead-menu > summary:hover,
.masthead-menu[open] > summary {
  border-color: var(--parchment-dim);
}

.masthead-nav {
  position: absolute;
  top: calc(100% + var(--space-2));
  right: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 12rem;
  padding: var(--space-2) 0;
  background: var(--surface-raised);
  border: 1px solid var(--rule-strong);
  box-shadow: var(--shadow-raised);
}

/* In the dropdown the page you are on is marked by an acid edge down its left; in the row
 * (768+) by an acid rule under it — the wordmark's colour, the one place the System signs the
 * shell. The menu's own marker is the show's, like every disclosure's. */
.masthead-nav a {
  padding: var(--space-2) var(--space-4);
  border-left: 2px solid transparent;
  font-family: var(--font-prose);
  font-size: var(--text-12);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--parchment-dim);
  text-decoration: none;
  white-space: nowrap;
  transition:
    color var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out);
}

.masthead-nav a:hover,
.masthead-nav a[aria-current="page"] {
  color: var(--parchment);
}

.masthead-nav a[aria-current="page"] {
  border-left-color: var(--acid);
}

/* A signed-in viewer's display name is the one entry whose length nobody here chose (a
 * Discord name runs to 32 characters): capped, so a long one clips rather than wrapping the
 * row. The whole name is still the link's text, and `/me` — where it goes — says it in full. */
.masthead-nav .signin {
  max-width: 10rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Live's dot: blood, the page's colour for "on air", lit by the page's script while a
 * segment is on (`[data-onair-dot]`). `hidden` until then, and guarded, because an author
 * `display` beats the UA's `[hidden]` whatever the specificity. */
.live-dot,
.menu-dot {
  display: inline-block;
  inline-size: 0.5em;
  block-size: 0.5em;
  margin-left: 0.45em;
  border-radius: 50%;
  background: var(--blood);
  vertical-align: 0.12em;
  animation: live-pulse 2s ease-in-out infinite;
}

.live-dot[hidden] {
  display: none;
}

/* The MENU button's own (SR2-CHROME, H22): a phone folds Live's dot away with the nav. Dark, it keeps its room
 * (`visibility`, not `display`), so the button does not widen when the show goes on air. */
.menu-dot {
  margin-left: 0.6em;
  margin-right: -0.1em;
}

.menu-dot[hidden] {
  display: inline-block;
  visibility: hidden;
}

/* The word's room is held while the dot is dark (HOME0, #16): it lit at turn 1 and the nav
 * shifted 12 px. The link keeps what the dot takes — its margin and its width, in the link's own
 * em — so nothing in the row moves when the dot lights or goes out. */
.masthead-nav a:has(> .live-dot[hidden]) {
  padding-inline-end: 0.95em;
}

/* --- ticker strip ------------------------------------------------------------------------ */

/* One live region for the whole page (`role="status"`), because a screen reader being told
 * about every block as it drips would be unusable. The strip is the polite summary.
 *
 * **It is never `display: none`.** A live region that is not rendered when it mutates is
 * generally not announced, so hiding an empty strip would cost a screen reader the *first*
 * ticker line. And it is **one line tall before any line lands**: the height is fixed at a
 * line, its padding and its rule, where a `min-height` let the first line push the page down.
 *
 * **It fades out at its right edge rather than cutting a word in half** ("…level 4, and Bra"
 * on a phone, R17): a line the strip clips reads as the crawl running on. A mask, since the
 * page may write no style of its own (the CSP): the first layer fades the last stretch of the
 * strip — the gutter and a few characters — to nothing; the second keeps the bottom rule whole,
 * so the band's edge does not fade with its words. A mask reads only alpha, so its colour is
 * any opaque one. */
.tickerstrip {
  --ticker-fade: calc(var(--gutter) + var(--space-6));
  --ticker-mask:
    linear-gradient(to left, transparent, var(--ink) var(--ticker-fade)) 0 0 / 100% 100% no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 1px no-repeat;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  block-size: calc(var(--text-12) * var(--leading-chrome) + 2 * var(--space-2) + 1px);
  padding: 0 var(--gutter);
  background: var(--ink-deep);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  -webkit-mask: var(--ticker-mask);
  mask: var(--ticker-mask);
}

.tickerstrip .block {
  margin: 0;
  min-width: 0;
}

/* No line yet, no band (R48): the cold open's first turns drew an empty rule under the
 * masthead. The first crawl line to arrive fills it, and `:empty` lets go on its own. */
.tickerstrip:empty {
  display: none;
}

/* A rehearsal says so (R134): one quiet sentence above the masthead, in the small body face on a ground of its own
 * (not the System's acid, the masthead's ink or the ticker's deep ink), sentence case. It scrolls away - the
 * masthead stays the one sticky row, and two would eat a phone's first screen - and the link is the only thing in it
 * that looks pressable. From 768 it is one line; at 320 and 375 it wraps to two at most, balanced. Its text keeps the
 * bands' left edge past `--shell-max`, where the bands centre and the tint runs on. */
.rehearsal-notice {
  flex: none;
  margin: 0;
  padding: var(--space-2) max(var(--gutter), calc(50% - var(--shell-max) / 2 + var(--gutter)));
  background: var(--notice-ground);
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-prose);
  font-size: var(--text-14);
  line-height: var(--leading-chrome);
  color: var(--parchment-dim);
  text-wrap: balance;
}

.rehearsal-notice a {
  color: var(--parchment);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* The link answers a pointer: brighter, and its underline thicker in the acid, which the sentence around it never wears (RP5). */
.rehearsal-notice a:hover {
  color: color-mix(in srgb, var(--parchment) 60%, white);
  text-decoration-color: var(--acid);
  text-decoration-thickness: 2px;
}

/* The house ring stands 5 px off the text, which covers the "." before the link and touches the "t" after (a word space is 3 px at 14 px),
 * and on a line that starts with the link it leaves the gutter by as much (RP7, asked three times). Any ring round words does, so here
 * the focus is a tint over the words and a 2 px bar under them, in the ring's ink: nothing stands left or right of the text (the feed's
 * turn link on a phone is lit the same way, `pages/common.css`). */
.rehearsal-notice a:focus-visible {
  outline: 0;
  border-radius: 1px;
  background: color-mix(in srgb, var(--parchment) 24%, transparent);
  box-shadow: 0 2px 0 var(--parchment);
  text-decoration-thickness: 2px;
}

/* --- the page ------------------------------------------------------------------------------ */

.page {
  padding: var(--space-5) var(--gutter) var(--space-7);
}

/* The gutter, from one place (DB-A0, the designer's components-2 #2): `.page` insets everything it holds by
 * `--gutter`, the masthead's own inset, so no component sets a side inset of its own against the screen and none
 * touches its edge. The component library's frame stands for a page at its width (`/gallery?w=N`), so it takes the
 * same inset here: prose, a scene, the sheet and the stat row stood flush against a 320 frame there and nowhere else. */
.gallery-frame {
  padding-inline: var(--gutter);
}

/* A page is drawn by its script from the snapshot it was served with, and until it has been,
 * `<main data-reveal>` is held invisible — by visibility, not display, so every box is
 * already where it will be and showing it moves nothing. `html[data-ready]` is set by the
 * page's boot; `noscript.css` undoes this for a browser that will never run one.
 *
 * And a failsafe for a script that ran and failed before it got there: the hold lifts itself
 * after three seconds whatever happened, rather than leaving a blank page for good. The delay
 * is a literal on purpose — the motion tokens are zeroed under reduced motion, and a zeroed
 * delay would show every page before it was drawn. */
/* ... and so is everything around it, on a page that holds `<main>` back (SR2-PERF, R17). The
 * masthead used to paint at once, while the module that drew `<main>` was still waiting for the
 * faces (`fonts.fontsIn`): `blocking="render"` ends when the module has run, not when its promise
 * settles, so the first paint came a frame before the faces and `page_ready_fast` read the five
 * faces (and the data) landing 17-21 ms after it on one load in five. Held, the first paint IS
 * the settled page: the faces are in, the snapshot is drawn, nothing follows it. A cold visit
 * waits for its faces at most the second `fontsIn` allows. */
html:not([data-ready]) [data-reveal],
html:has(main[data-reveal]):not([data-ready]) body {
  visibility: hidden;
  animation: reveal-anyway 0s linear 3s forwards;
}

@keyframes reveal-anyway {
  to {
    visibility: visible;
  }
}

/* And held a screen tall meanwhile, on every page that reveals (home, `/live`, a cam, a past floor, a
 * permalink): the footer under `<main>` is painted below the fold rather than halfway up the
 * screen where the page is about to be drawn, and so is never seen to jump (layout shift on
 * load). A page drawn whole on the server is never held, and neither is a cam before the first turn, which carry no `data-reveal`. */
html:not([data-ready]) main[data-reveal] {
  min-block-size: 100vh;
}

/* The page's frame (LAYOUT, #11): the shell is `--shell-max` wide at most, so inside the `.page`'s
 * own gutters the content is `--page-max` — the masthead's content width, its left edge on the
 * wordmark. A page container fills it (no `margin: auto`, no width of its own) and divides it
 * into columns; running text keeps its own measure. */
.content {
  width: 100%;
  max-width: var(--page-max);
  min-width: 0;
}

/* The gallery's reading column (`gallery.js`): the feed's own column, `--measure-feed` wide at the page's left edge,
 * as `/live`, a cam, a room and a fight set it — not a centred measure that floated a block in the middle of a wide
 * frame (the designer's components-2: the episode "floats in an offset column"). `min-width: 0` so a wide child in a
 * grid cell cannot push the column past the viewport. */
.column {
  width: 100%;
  max-width: var(--measure-feed);
  margin: 0;
  min-width: 0;
}

.scroll-x {
  overflow-x: auto;
  max-width: 100%;
}

/* --- the feed ------------------------------------------------------------------------------ */

.feed {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* --- "N more" folds ------------------------------------------------------------------------ */

/* A fold that counts what it hides has nothing left to count once it is open: the label goes and the
 * list continues in place (MB1 #1, R48; the owner: "the link should disapear"). One-way — the cam's
 * Pack keeps it open across redraws (R64). A history the reader toggles ("Earlier rounds") does not
 * wear it. */
.fold-once[open] > summary {
  display: none;
}

/* --- footer -------------------------------------------------------------------------------- */

/* On a page shorter than the screen the footer rests on the bottom of it (TYPE, 2026-10-08: a room
 * with three lines of content had the footer floating mid-screen). The shell is a column at least a
 * screen tall and `<main>` takes what is left — never `position: fixed`, which would cover the
 * page's last line, and never a height on `<main>`, which a page that reveals late would fight.
 * `dvh` where a phone has it (its URL bar is not part of the screen), `vh` where it does not. The
 * bands carry `width: 100%` (with the shell's `max-width`, at the foot of this sheet) because a
 * flex item with `margin-inline: auto` shrinks to its content. */
.shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.masthead,
.tickerstrip,
.pagefoot {
  flex: none;
}

.page {
  flex: 1 0 auto;
}

/* The foot is a foot (MB46-CONTAIN, #40: it felt like the header): one quiet line in the serif meta face - the season, the
 * floor's clock in its R118 words, the connection in words - with no dot, no mono and no caps. */
.pagefoot {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-4);
  align-items: center;
  padding: var(--space-3) var(--gutter);
  border-top: 1px solid var(--rule);
  font-family: var(--font-prose);
  font-size: var(--text-14);
  color: var(--parchment-dim);
}

.pagefoot-line {
  margin: 0;
}

/* The way on from the foot (SR2-CHROME, H22): the masthead's places in the page's own voice, small and muted, for a phone
 * that has folded the nav away and a long page that ended in nothing. From 48em the sticky masthead is the nav and the
 * row is gone (`layout_responsive.css`). Wide enough targets for a thumb. */
.pagefoot-nav {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-4);
}

.pagefoot-nav a {
  padding: var(--space-2) 0;
  font-size: var(--text-14);
  color: var(--parchment-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.pagefoot-nav a:hover,
.pagefoot-nav a:focus-visible {
  color: var(--parchment);
  border-bottom-color: var(--parchment-dim);
}

/* The foot's two legal links (R163): Privacy and Contact, quieter than the nav's places and there at every width. On a phone
 * a row of their own under the nav; from 48em, where the nav is gone, at the foot line's far end. */
.pagefoot-legal {
  display: flex;
  gap: var(--space-4);
  margin: 0;
  font-size: var(--text-14);
}

.pagefoot-legal a {
  padding: var(--space-2) 0;
  color: var(--parchment-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.pagefoot-legal a:hover,
.pagefoot-legal a:focus-visible {
  color: var(--parchment);
  border-bottom-color: var(--parchment-dim);
}

/* The connection in words, one with the line it ends. */
.conn {
  display: inline;
}

/* A silent light — held or over, when the state word beside it already says "Between floors" or
 * "Finished" (R12) — takes its separator with it, so the line never ends on a dot. */
.pagefoot-sep:has(+ .conn:empty) {
  display: none;
}

@keyframes live-pulse {
  50% {
    opacity: 0.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot {
    animation: none;
  }
}

/* The shell's responsive rules, split from layout.css at the 800-line cap (B6). Linked right after
   layout.css in base.html, so the cascade reads as the one sheet it was. */

/* --- responsive -------------------------------------------------------------------------- */

@media (max-width: 29.99em) {
  .masthead-bar {
    gap: var(--space-3);
  }

  /* On a phone the masthead is two short rows, 2026-10-08: the wordmark and the menu, then the
   * readouts on one line (it was three, with the readouts on two). The old two-line rule
   * (Task S4) existed because the readouts fit one line in one face and not in the other, so
   * the row flipped as each family landed (0.44 of layout shift): the break is now decided by the
   * counts present and the width, never by which face has landed (below). */

  /* The floor's turn is never given up (SR2-CHROME, H13: "Floor 1 of 10 · 88 ALIVE" two turns before the fall at
   * 320, and the finale's "14 INSIDE · 7 OUT" at 375): it is the one readout that says how long the floor has
   * left. The phone's short clock is "Floor 10 · turn 55 of 60", so the counts share its one line, the finale's included
   * (L31-PHONE, R17, designer L30: the masthead took two lines at the finale). Where the escaped count joins, the
   * stairs' tail ("stairs in 25", `.clock-short-tail`) is the piece that gives way; a row that still cannot hold
   * them may wrap, between readouts, each whole. */
  .masthead-readouts {
    flex-wrap: wrap;
    gap: 0 var(--space-2);
  }

  .masthead-readouts:has([data-escaped]) .clock-short-tail {
    display: none;
  }

  /* The season's title leads the status line and shares it with the clock and the count: "Rehearsal 2 · Floor 5 · turn 51 of 60 · 58 alive" is
   * the longest line a phone is asked to hold (377 px of a 347 px row), so the dots between its parts stand as close as a dot can and the title is
   * not tracked: 343 px. Below 360 px even that does not fit, and the title stands in the bar beside the wordmark (`.masthead-season-bar`). */
  .masthead-readouts {
    gap: 0 var(--space-1);
  }

  .readout:not(:last-child)::after,
  .masthead-season:not(:last-child)::after {
    margin-left: var(--space-1);
  }

  .masthead-season {
    letter-spacing: normal;
  }

  /* The clock may wrap between its parts, each whole: "Floor 1 of 10 · turn 55 of 60 · 3 off the stairs" is 346 px of nowrap
   * mono, 30 past a 320 screen (`page_overflow`, SR3-PAGES). */
  .masthead-readouts .readout:first-of-type {
    white-space: normal;
  }

  .masthead-readouts .clock-turn,
  .masthead-readouts .clock-off {
    white-space: nowrap;
  }
}

/* Below 1024 the title stands beside the wordmark, at every width (it stood in the status line from 360 px and in the bar below it: the designer,
 * CA read 2, and in the bar at 375 and in the status row at 768: CA read 6 L3): the status line is the clock and the count, or when the season
 * opens, and has no room for a name at 320. From 1024 it is the lockup's. */
@media (max-width: 63.99em) {
  .masthead-bar {
    column-gap: var(--space-3);
  }

  .masthead-readouts > .masthead-season,
  .masthead-over > .masthead-season {
    display: none;
  }

  /* A row that held only the title (the floors page) has nothing left to say here. */
  .masthead-readouts:not(:has(.readout)) {
    display: none;
  }

  /* A long slug is a long title ("E2e 40395"): it gives way with an ellipsis rather than push the menu off a 320 px row (R17). */
  .masthead-season-bar {
    display: block;
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: normal;
    /* A short title ("Qa", 18 px) is a link a thumb has to hit: the box grows to 26 × 28 and the margin takes the growth back, so nothing moves
     * (`page_tap_targets`). */
    padding: var(--space-1);
    margin: calc(-1 * var(--space-1));
  }
}

/* The wordmark is 17 px tall at 12 px type, and now has the title beside it: its hit area grows to 25 px, in the bar's own height (a link the
 * same size and place; `page_tap_targets`). */
@media (max-width: 63.99em) {
  .wordmark {
    padding-block: var(--space-1);
    margin-block: calc(-1 * var(--space-1));
  }
}

@media (max-width: 22.49em) {
  /* Wordmark, title and menu in 292 px: the bar's gaps and the button's own padding take a step in. */
  .masthead-bar {
    gap: var(--space-2);
  }

  /* "Floor 1 · turn 5 of 60 · stairs in 50 turns · 100 alive" is 302 px of the 288 a 320 row has, and the row stays one line (the owner, RD-LANE
   * cycle 10, #14: "I don't think we need 2 lines here"): the tail gives way here and only here, the clock's stairs being said from 360 up
   * (FRZ-PHONE, R118, R53). */
  .masthead-readouts .clock-short-tail {
    display: none;
  }

  .masthead-menu > summary {
    padding-inline: var(--space-2);
  }
}

@media (max-width: 29.99em) {
  /* The finale's "Floor 10 · turn 26 of 60 · 14 INSIDE · 4 OUT" is 330 px of a 292 px row and stood on two lines at 320 (RD-LANE,
   * R17, the designer: "the 320 masthead never wraps", and "4 out" is the last floor's crux): "inside" is "in" here and the
   * line a hair tighter, which is the whole of it, 280 px. */
  .masthead-readouts {
    letter-spacing: -0.03em;
  }

  .masthead-readouts:has([data-escaped]) .readout:has([data-alive]) .t-label {
    font-size: 0;
  }

  .masthead-readouts:has([data-escaped]) .readout:has([data-alive]) .t-label::after {
    content: "in";
    font-size: var(--text-12);
  }

  /* "2 out" says the desk's "got out" (FRZ-PHONE, the stranger: "out" with no word read as dead): "Floor 10 · turn 59 of 60 · 0 in · 2 got out"
   * is 244 px of a 320 row's 288. */
  .masthead-readouts .readout:has([data-escaped]) .t-label::before {
    content: "got ";
  }
}

/* Below 1024 only the bar is pinned (STICKYHEAD, #4): the wordmark and the way around (the menu
 * below 768, the nav in the row from there), one row of `--masthead-h`. The header is no box here
 * (`display: contents`, its type inherited), so the bar, the numbers (or an ended season's mark)
 * and a break's line are rows of the shell, and the bar sticks against the whole page rather than
 * the three-row header: the numbers and the break's line scroll away under it — 44 px kept on a
 * 667 px screen, not 90, and a row's height that no wrap can change, which is what lets every
 * sticky column start at a token. From 1024 the row holds it all (the foot of this sheet). */
@media (max-width: 63.99em) {
  .masthead {
    display: contents;
  }

  .masthead-bar {
    position: sticky;
    top: 0;
    z-index: var(--z-menu);
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    height: var(--masthead-bar-h);
    padding: 0 var(--gutter);
    background: var(--ink);
    border-bottom: 1px solid var(--rule);
  }

  .masthead-readouts,
  .masthead-over,
  .masthead-episode {
    flex: none;
    order: 0;
    padding-inline: var(--gutter);
  }

  .masthead-readouts {
    padding-block: var(--space-2);
  }

  /* The verdict row has the masthead's own padding, so it does not hug the bar's rule (RP8). */
  .masthead-over {
    padding-block: var(--space-3);
  }

  .masthead-episode {
    padding-bottom: var(--space-2);
  }

  /* A catch-up floor's or a permalink's "Floor 1 · turn 16" is the page's position, the one thing a reader stepping
   * needs, so it is pinned under the bar as one line (RP8). The other pages' readouts scroll away as before. */
  .masthead-moment {
    position: sticky;
    top: var(--masthead-bar-h);
    z-index: calc(var(--z-menu) - 1); /* under the bar's: its menu opens over the row */
    box-sizing: border-box;
    display: flex;
    align-items: center;
    height: var(--moment-row-h);
    padding-block: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--rule);
  }
}

@media (max-width: 47.99em) {
  /* One line for where the show is: "Floor 5 · 30/60 · stairs in 25", not the long form's two or three at 375 (L30-PAGES,
   * R17, designer L29 8). The long form is the markup's and stays for a script that reads it; this hides it. */
  .masthead-readouts [data-air-turn]:has(+ .clock-short:not([hidden])) {
    display: none;
  }

  .masthead-readouts .clock-short:not([hidden]) {
    display: inline;
    white-space: nowrap;
  }

  .page {
    padding-top: var(--space-4);
  }

  /* A break's notice is the sentence alone on a phone as well as wider (SR2-CHROME, M2): "Floor 6 opens
   * tonight at 20:00 CEST · in 3h 20m", the readout above it says "Between floors". It may take two lines
   * at 320, the dot ending the first. */
  .masthead-episode-line {
    max-width: none;
  }

}

/* Before floor 1 (R169) a page of the cast's masthead is one line under the wordmark's row, on a tablet as on a phone: "Floor 1 opens Mon 19 Jan · 22:00 CET ·
 * in 4 days". The "Premiere · 1,000 crawlers" readout stands down (the head of `/live` says it, and that page's masthead keeps it), and the count is spelled as
 * everywhere else ("in 4 days"). From 1024 the row holds the episode beside the nav. */
@media (max-width: 63.99em) {
  .masthead--held .masthead-readouts {
    display: none;
  }

  .masthead--held .masthead-episode {
    padding-top: var(--space-2);
  }
}

/* 768+: nothing to fold. Only where a closed `<details>` can still show what is inside it
 * (`::details-content`) — an engine without that keeps the menu at every width, which is a
 * button where a row of links would be rather than a nav that cannot be opened. */
@media (min-width: 48em) {
  @supports selector(::details-content) {
    .masthead-menu > summary {
      display: none;
    }

    .masthead-menu::details-content {
      content-visibility: visible;
      display: contents;
    }

    .masthead-nav {
      position: static;
      flex-direction: row;
      align-items: baseline;
      gap: var(--space-2) var(--space-4);
      min-width: 0;
      padding: 0;
      background: none;
      border: 0;
      box-shadow: none;
    }

    .masthead-nav a {
      padding: 2px 0;
      border-left: 0;
      border-bottom: 1px solid transparent;
    }

    .masthead-nav a[aria-current="page"] {
      border-bottom-color: var(--acid);
    }

    /* In the row Live's dot is a badge on the word's top-right shoulder, tight to the E and raised to the cap
     * line, and out of the flow: a dark dot kept 0.95em of padding, so LIVE→MAP ran wider than HOME→LIVE
     * between floors (I16-WEB), and centred in the gap it read as a "·" between LIVE and MAP (ROOMNAV, the
     * owner, 2026-10-13). */
    .masthead-nav a {
      position: relative;
    }

    .masthead-nav a:has(> .live-dot[hidden]) {
      padding-inline-end: 0;
    }

    .masthead-nav .live-dot {
      position: absolute;
      top: 0.2em;
      left: calc(100% + 0.15em);
      margin: 0;
    }

    /* The dot's room is the link's, lit or dark, so it stands as far from the next item as the items stand from each other and nothing
     * moves when it lights (the designer, CA-s7: "LIVE•FLOORS": the dot crowded the next item). */
    .masthead-nav a:has(> .live-dot) {
      margin-inline-end: 0.6em;
    }
  }
}

/* The root's masthead is the wordmark, How it works and Sign in (`base.html`, `masthead--root`): two short links need no
 * menu, so a phone shows them in the bar where it would fold them. An engine without `::details-content` keeps the button. */
@media (max-width: 47.99em) {
  @supports selector(::details-content) {
    .masthead--root .masthead-menu > summary {
      display: none;
    }

    .masthead--root .masthead-menu::details-content {
      content-visibility: visible;
      display: contents;
    }

    .masthead--root .masthead-nav {
      position: static;
      flex-direction: row;
      align-items: baseline;
      gap: var(--space-4);
      min-width: 0;
      padding: 0;
      background: none;
      border: 0;
      box-shadow: none;
    }

    .masthead--root .masthead-nav a {
      padding: var(--space-2) 0;
      border-left: 0;
    }
  }
}

/* From 1024 the title and the wordmark are one lockup, "CRAWLCAST | SEASON 1": the status row sits against the wordmark
 * (the row's own gap taken back to a word space) and the title opens it behind a hair rule. The row is one line, the
 * nav never wraps under it; what gives way is the status, by width (below). */
@media (min-width: 64em) {
  .masthead {
    flex-wrap: nowrap;
  }

  .masthead > .masthead-readouts,
  .masthead > .masthead-over {
    margin-inline-start: calc(var(--space-3) - var(--space-4));
    /* The nav's links are 2 px taller than a line either side: the status row shares their centre line. */
    padding-block: 2px;
  }

  .wordmark {
    padding-block: 2px;
  }

  .masthead-season {
    padding-inline-start: var(--space-3);
    border-inline-start: 1px solid var(--rule-strong);
    line-height: 1.25;
  }

  .masthead-season:not(:last-child)::after {
    content: none;
    margin: 0;
  }

  /* The title is the lockup's, a clause apart from what the row says: the readouts' own dots are a word space (`layout.css`). */
  .masthead-season {
    margin-inline-end: var(--space-3);
  }
}

/* 1024–1279: one row holds the wordmark, the three readouts (or a season's verdict) and the
 * nav only with the nav drawn tighter — and the status said short: "Floor 5 · turn 30 of 60 · 58 alive", the
 * stairs' tail left to 1280 (the desk and the foot say it). */
@media (min-width: 64em) and (max-width: 79.99em) {
  .masthead-readouts [data-air-turn]:has(+ .clock-short:not([hidden])) {
    display: none;
  }

  .masthead-readouts .clock-short:not([hidden]) {
    display: inline;
    white-space: nowrap;
  }

  .masthead-readouts .clock-short-tail {
    display: none;
  }

  .masthead-nav {
    column-gap: var(--space-3);
  }

  .masthead-nav a {
    letter-spacing: var(--track-label);
  }

  /* The gap is 12 px here: a 0.5em dot 0.15em off the word ended 4 px from MAP, nearer it than LIVE by the
   * measure (`page_live_dot` 0.43, QAPAGES 2026-10-13). Smaller and on the word's tracking, it is LIVE's. */
  .masthead-nav .live-dot {
    inline-size: 0.4em;
    block-size: 0.4em;
    left: calc(100% + 0.04em);
  }

  /* …and the gap after it holds the dot's width too, so the dot is not wedged against MAP (DESIGN1): the
   * dot's room whether lit or dark, so the row does not move when it lights. */
  .masthead-nav a:has(> .live-dot) {
    margin-inline-end: 0.5em;
  }

  .masthead-nav .signin {
    max-width: 7rem;
  }

  /* A break is part of the row here too, said short: "Floor 2 opens · in 10h 37m", the when ("tonight at 20:00 UTC")
   * left to 1280, where the row holds the whole sentence's band (L36-PAGES4, R17, the designer, L35: the status
   * took a second line at 1024). `min-width: 0` and one clipped line keep the nav on its own row's end. */
  .masthead-episode {
    order: 1;
    flex: 1 1 0;
    min-width: 0;
    padding: 0;
  }

  .masthead-episode-line {
    flex-wrap: nowrap;
    max-width: none;
    white-space: nowrap;
  }

  .masthead-episode-words {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .masthead-episode-when {
    display: none;
  }

  .masthead-menu {
    order: 2;
  }
}

/* 1440+: a break is part of the status row, not a band under it (TYPE, 2026-10-08, #6: the header
 * stack took 110 px of the first screen). The row has 500 px spare there between the readouts and
 * the nav and a headline needs 400 — `min-width` is what keeps the nav from wrapping when the
 * words run long, since an item that cannot shrink below it is wrapped *with* the line it is on,
 * and 1440 is where the sum of the minimums (about 1220 px) first fits the 1384 the row has. */
@media (min-width: 90em) {
  /* Top-aligned: a break's headline stands two lines tall (the headline and the evening's length), and
   * centred on it the wordmark, the readouts and the nav sat 9 px lower than on every other page
   * (I14-WEB, the designer of I13-s7). */
  .masthead {
    align-items: start;
  }

  .masthead-episode {
    order: 1;
    flex: 1 1 0;
    min-width: 22rem;
  }

  .masthead-menu {
    order: 2;
  }
}

/* 1024+: the wordmark, the numbers and the nav are one row, pinned whole, so the header is exactly
 * `--masthead-h` tall (tokens.css: the row, or the row and a break's line under it from 1280 to
 * 1439) — a height a script need not measure, and one the sticky columns below it count on. */
@media (min-width: 64em) {
  .masthead {
    box-sizing: border-box;
    height: var(--masthead-h);
  }

  /* A little more air above the page, where the rail starts beside it. */
  .page {
    padding-top: var(--space-6);
  }
}

/* Past `--shell-max` the shell centres rather than stretching to a 27-inch line length — all four
 * bands the same, so the wordmark and every page's left edge stay one line (LAYOUT, #11). */
.masthead,
.tickerstrip,
.page,
.pagefoot {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
}

/* --- blocks, whatever their type ----------------------------------------------------------- */

.block {
  margin: 0 0 var(--space-4);
}

.block:last-child {
  margin-bottom: 0;
}

/* A block that has just arrived: a 4 px rise and a fade (the spec's "Motion"), opacity and
 * transform only, and both instant under `prefers-reduced-motion` because the durations are
 * zeroed (§15.4).
 *
 * `backwards`, not `both`: an animation on opacity or transform makes the block a stacking
 * context for as long as its fill applies, and with `both` that is forever — so a hover
 * card opened inside a dripped block was painted *under* the block after it (the card's
 * z-index only counts inside its own context). With `backwards` the fill ends with the
 * animation, the block is an ordinary block again, and the card sits over the page. */
.block--enter {
  animation: block-in var(--duration-normal) var(--ease-out) backwards;
}

@keyframes block-in {
  from {
    opacity: 0;
    transform: translate3d(0, 4px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --- a thumb's worth ----------------------------------------------------------------------- */

/* On a phone every name and every card to ask about is at least `--tap` tall (WCAG 2.2's 2.5.8;
 * Task S4, 2026-09-27): a fight log's names were 15 px, a pulse's rooms 22. A name in a line
 * of text grows upward by what it lacks — padding, which never moves a line, given back by a
 * margin where the box is a flex or a grid item's — so its rule stays under the word; a hover
 * host is a line box of its own and grows by what that lacks (`tokens.css`). Only where the
 * lines are at least a thumb and a hair apart (`blocks/*.css` spaces the tight ones on a phone),
 * so no two boxes a finger lands on overlap — and never inside a card, whose rows are its own.
 * The desk's paragraph too (round J: a name there was 21 px at 375; its lines are 1.42 apart). */
@media (max-width: 47.99em) {
  :is(.prose-narrator, .prose-inner, .highlight-text, .highlight-detail, .blow-who, .fighter-name,
    .desk-text)
    a[href]:not(.hover-card a) {
    padding-top: var(--tap-lift);
    margin-top: calc(-1 * var(--tap-lift));
  }

  :is(.highlight-text, .highlight-detail, .highlight-kind, .feed-item-kind, .blow-who, .fighter-name,
    .band-tag, .room-monster, .room-card-where)
    .hover-host:not(.hover-card .hover-host) {
    padding-top: var(--tap-lift-line);
    margin-top: calc(-1 * var(--tap-lift-line));
  }

  /* A face and its name (`crawler-link--sigil`) is a flex box with no padding: in a System card's title it stood
   * 23 px tall, a pixel under a thumb (`page_tap_targets`, /live at 320, MB77-PAGES). */
  .crawler-link--sigil {
    min-height: var(--tap);
  }
}

/* A type with no renderer. Muted rather than thrown, because a stream that dies on one
 * unknown block takes the whole show off screen with it (R9.2). */
.block--unknown {
  font-family: var(--font-system);
  font-size: var(--text-12);
  letter-spacing: var(--track-label);
  color: var(--muted);
  border: 1px dashed var(--rule-strong);
  padding: var(--space-2) var(--space-3);
}

/* --- a faded pane that has more under it says so (the designer, I2, R17) ---------------------------- */

/* `pane_cue.js` marks a capped pane `data-more` while rows lie under its fade, and unmarks it scrolled
 * to the end or when it fits. The cue is the last thing in the pane, stuck to its foot and drawn
 * over the faded band: a zero-height-in-flow bar (the negative margin takes back its own height, so
 * the pane's scroll length is the content's) the mask leaves opaque (`--pane-fade-cue`). The mask is
 * drawn here and nowhere else: a pane that does not overflow has none. */
[data-more] {
  mask-image: var(--pane-fade-cue);
}

[data-more]::after {
  content: "more below";
  content: "more below" / "";
  position: sticky;
  /* The pane's foot, past its own padding (the band): sticky measures from the content box. */
  bottom: calc(-1 * var(--pane-fade-band));
  display: block;
  box-sizing: border-box;
  align-self: stretch;
  height: var(--pane-cue-h);
  margin: calc(-1 * var(--pane-cue-h)) 0 0;
  background: var(--pane-ground, var(--ink));
  font-family: var(--font-system);
  /* Drawn after first paint (`pane_cue.js`): in the weight the first screen's labels already
   * loaded, so no face is fetched after FCP for it (`page_ready_fast`). */
  font-weight: 500;
  font-size: var(--text-12);
  line-height: var(--pane-cue-h);
  letter-spacing: var(--track-label);
  text-align: center;
  text-transform: uppercase;
  color: var(--parchment-dim);
  pointer-events: none;
}

/* A phone's foot is two rows, and neither is an orphan (DB-A0, the designer's L10: "Back to top" fell alone onto a line
 * of its own at 320 and 375): the show's places, then how it works at the start and the way back up at the end. From
 * 480 the five fit one row. */
@media (max-width: 29.99em) {
  .pagefoot-nav::after {
    content: "";
    flex-basis: 100%;
    order: 1;
  }

  .pagefoot-nav a:nth-child(n + 4) {
    order: 2;
  }

  .pagefoot-nav a:last-child {
    margin-inline-start: auto;
  }
}

/* From 48em the sticky masthead is the navigation; the foot's row of links is the phone's way on (MB46-CONTAIN, #40). */
@media (min-width: 48em) {
  .pagefoot-nav {
    display: none;
  }

  .pagefoot-legal {
    margin-inline-start: auto;
  }
}

/* Prose — the narrator's paragraph, the inner voice, and the recap (spec §13.6, §15.2).
 *
 * One block family per file (the reader rebuild, 2026-09-25), so the task that owns a family
 * owns its sheet and nobody else's: a renderer module and its treatment stay one grep apart.
 * The type itself is the roles' (`t-prose`, `t-lead`, `t-label`, `t-readout` in
 * typography.css); what is set here is the measure, the colour and what sets a voice apart.
 */

/* --- prose ------------------------------------------------------------------------- */

.prose-narrator {
  max-width: var(--measure);
  color: var(--parchment);
  text-wrap: pretty; /* no lone "XP." on a last line (DB-ALL B20) */
}

/* Narrator prose in a crawler's feed — the cam's and a past floor's, which tells the same turns — is a moment of the feed's one
 * unit, and the turn's first a lead (`feed_item.css`, RO-CAM: the cam reads like `/live`, R71). */
/* The inner voice is the crawler thinking, so it is set apart rather than set louder:
 * italic, one step down the scale, and behind a 2px rule that says "this was not said out
 * loud".
 *
 * Apart, but no longer *quieter* than the stranger talking beside it (the follow-cam
 * design, 2026-09-19). The diary is the reason a cam is worth staying on, and it was the
 * dimmest thing on the page: so the rule takes a trace of the parchment the story is printed
 * in (never the System's acid — this is the crawler, not the dungeon), the ground lifts a hair
 * off the page's, and the label says whose voice it is. */
.prose-inner {
  /* The ledger column's full width (design round 2, #9): a box held to the text measure stopped
   * short of the cards and rules either side of it, and the column's edge wobbled. The text
   * inside it is narrow enough; the column is already the feed's measure. */
  max-width: none;
  padding: var(--space-1) var(--space-3);
  border-left: 2px solid color-mix(in srgb, var(--parchment) 40%, var(--rule-strong));
  background: color-mix(in srgb, var(--parchment) 3%, transparent);
  font-size: var(--text-16);
  font-style: italic;
  color: var(--parchment-dim);
}

/* "thinks" — the diary's own tag, set like a speaker's label so the column reads as one
 * system of labelled voices. Upright inside the italic paragraph, because a label is not
 * part of the sentence it introduces. */
.prose-label {
  margin-right: var(--space-2);
  font-style: normal;
}

/* --- recap ------------------------------------------------------------------------- */

/* The story so far: the site's one box, a hairline on the strips' surface (DESIGN2, the designer of round 0, #9:
 * dashed it was a third border style beside the solid card and the System's; dashed is an empty slot's alone). */
.recap {
  max-width: var(--measure);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--rule);
  background: var(--ink-2);
}

.recap-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-1) var(--space-3);
  margin-bottom: var(--space-2);
}

/* A label, not a readout: the serif, set like the head's own label beside it (I5 — mono is the
 * System's). The compound selector outranks `.t-readout`, whichever sheet comes last. */
.recap-head .recap-span {
  font-family: var(--font-prose);
  font-size: var(--text-12);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--parchment-dim);
}

.recap-text {
  color: var(--parchment);
}

/* "the replay" in the desk's pointer: a link by its underline alone, the sentence stays prose (L40-LIVEPAGE6). */
.recap-replay {
  color: inherit;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 0.2em;
}

.recap-replay:hover,
.recap-replay:focus-visible {
  text-decoration-style: solid;
}

/* Speech — a line said out loud, to a party, in a whisper, or to camera (spec §13.6).
 *
 * A person talking, so all of it is the show's serif (the reader rebuild, 2026-09-25): the
 * speaker's face and name, the labels in small caps (`t-label`), then the line. The scope
 * rules first, then whose line it is on a cam, then the confessional: the order is the
 * argument (see the notes below), so it is kept.
 *
 * Sizes sit on the parts, never on `.speech` itself: the block's own font is the prose's, so
 * `--measure` (in `ch`) comes out the same width as the paragraph above it.
 */

/* --- speech ------------------------------------------------------------------------ */

.speech {
  max-width: var(--measure);
  padding: var(--space-1) 0 var(--space-1) var(--space-3);
  border-left: 2px solid var(--parchment-dim);
}

.speech-speaker {
  margin-right: var(--space-2);
  font-size: var(--text-14);
  font-weight: 600;
  color: var(--parchment);
}

.speech-scope,
.speech-about {
  margin-right: var(--space-2);
  white-space: nowrap;
}

.speech-text {
  font-size: var(--text-16);
  color: var(--parchment);
}

/* Party chat is the one channel a viewer can see but not hear; cyan is that whole idea. */
.speech--party {
  border-left-color: var(--cyan);
  background: color-mix(in srgb, var(--cyan) 4%, transparent);
}

.speech--party .speech-scope {
  color: var(--cyan);
}

/* A whisper is quieter than a shout, but it is still dialogue: the dashed rule and the
 * dimmer label carry "nobody else heard this", and the line itself stays a content colour.
 * `--parchment-dim` is 9:1 on the ground; the mix it used to have was 3.4:1. */
.speech--whisper {
  border-left-style: dashed;
  border-left-color: var(--rule-strong);
}

.speech--whisper .speech-text {
  color: var(--parchment-dim);
}

/* --- whose line it is, on a cam (the follow-cam design, 2026-09-19) ------------------ */

/* `about` only ever rides a follow channel, so these rules are dead on the main one and
 * every main-channel line keeps the treatment above exactly. They are written after the
 * scope rules on purpose: on a cam, "is this mine" outranks "who could hear it" — a whisper
 * *to* the crawler being watched is cyan and still dashed, because only the rule's colour
 * is taken and its style is not. */

/* The crawler's own voice, in the story's own colour at full strength: the brightest rule a
 * line of dialogue wears here and the ground lifted a hair under it. Not acid — that is the
 * System's, and this is the person the page is about. */
.speech--self {
  border-left-color: var(--parchment);
  background: color-mix(in srgb, var(--parchment) 5%, transparent);
}

.speech--self .speech-speaker,
.speech--self .speech-about {
  color: var(--parchment);
}

/* Aimed at them: cyan, the reader's colour for a channel you can see into. */
.speech--to-you {
  border-left-color: var(--cyan);
  background: color-mix(in srgb, var(--cyan) 5%, transparent);
}

.speech--to-you .speech-about {
  color: var(--cyan);
}

/* The room's other business. It stays legible — this is dialogue, not furniture — but the
 * rule goes quiet and the sentence steps back to the dim colour, so a scan down the column
 * finds the two above it first. Colour rather than `opacity`, for the reason the pulse rows
 * give: an opacity is inherited by a hover card opened inside the line. */
.speech--nearby {
  border-left-color: var(--rule-strong);
  background: none;
}

.speech--nearby .speech-text {
  color: var(--parchment-dim);
}

/* --- a line to camera (the confessional, 2026-09-22) -------------------------------- */

/* Said to the audience, not the room, so it must never read as dialogue somebody heard. A
 * double rule in full parchment, the words on a line of their own at the prose size and in
 * italic — a person leaning into the lens — and the label led by the live dot, because "on
 * camera" is the one thing the blood-red dot already means on this page. After the `about`
 * rules on purpose: on a cam the crawler's own confessional is a confessional first. */
.speech--confessional {
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
  border-left: 3px double var(--parchment);
  background: color-mix(in srgb, var(--parchment) 4%, transparent);
}

.speech--confessional .speech-camera {
  color: var(--parchment-dim);
}

.speech--confessional .speech-camera::before {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  margin-right: var(--space-1);
  border-radius: 50%;
  background: var(--blood);
  vertical-align: 0.05em;
}

.speech--confessional .speech-text {
  display: block;
  margin-top: var(--space-1);
  font-size: var(--text-prose);
  font-style: italic;
  color: var(--parchment);
}

/* The System box — spec §13.5, §15.2: the intrusion pasted over the story, as an accent and
 * never a wall (R14; the reader rebuild, 2026-09-25).
 *
 * The one shared rule: nothing sets its own colour twice. A kind sets `--kind` and the border,
 * label, inner outline, tint and glow all read it.
 */

/* --- the System box ---------------------------------------------------------------- */

/* Hard edges on a soft page, a ground tinted in the kind's hue, a mono label, a serif title that
 * belongs to the novel and a body that does not — every one of those says "this was pasted over the
 * story". What changed is the volume: no wider than the prose, padded tight, and the glow down to a
 * faint edge, so a card reads as subordinate to the paragraph beside it. One border: the inner frame
 * it had drew a box inside the box (DESIGN2, the designer of round 0, #4 and #9: one box style on the
 * site), so the ground carries the kind instead, tinted whole and brighter at the head.
 *
 * The box's own font is the prose's, so `--measure` (in `ch`) is the paragraph's width to the
 * pixel; the System's mono is set on the parts that are its voice. */
.system {
  /* Derived here and not inherited: `tokens.css` computes these on `:root`, where `--kind` is
   * acid, and a custom property is inherited as its computed value — so a blood card's tint,
   * edge and glow were acid until each card worked its own out of its own `--kind`. */
  --kind-tint: color-mix(in srgb, var(--kind) 6%, transparent);
  --kind-edge: color-mix(in srgb, var(--kind) 22%, transparent);
  --kind-glow: color-mix(in srgb, var(--kind) 16%, transparent);

  position: relative;
  max-width: var(--measure);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--kind);
  background:
    linear-gradient(180deg, var(--kind-tint), transparent 70%),
    linear-gradient(color-mix(in srgb, var(--kind) 3%, transparent), color-mix(in srgb, var(--kind) 3%, transparent)),
    var(--ink-2);
  box-shadow: 0 0 4px var(--kind-glow);
}

/* The routine weight (SR2-LIVEFIRST, H17; `system.js`): a follower, a fan box, a level or a kill count, a stretch
 * of the landing. Boxed, but quieter than an announcement (MB46-CONTAIN, #41; the owner: "Medals were shown in a box
 * previously"): a 1 px rule in the card's own hue at low strength, no fill, no glow, no inner frame and the title at
 * body size, where the same double-bordered, tinted card outshouted the obituary beside it. The kind still colours its
 * label. */
.system--routine {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 var(--space-3);
  padding: var(--space-2) var(--space-3);
  border: 1px solid color-mix(in srgb, var(--kind) 40%, transparent);
  background: none;
  box-shadow: none;
}

/* No face row: the name stays, linked, beside the kind; the portrait is the full card's. A rolled-up card whose title is
 * the crawler says the name the same way, with no face (DESIGN4: one achievement card, two heads). */
.system--routine .system-refs .sigil,
.system--routine .system-refs [data-sigil],
.system--routine .system-title > .crawler-link--sigil .sigil {
  display: none;
}

/* Every System card's head is the kicker, then its title on a line of its own, in one of two sizes (DB-HAPPY H5, A19: the
 * title stood in four places, inline in a kicker row, its own large line, a small bold line, a left-ruled mono line): the big
 * one (`.system-title`, below) for announcements, deaths, collapses and the rest of the cards that act; the small one here for
 * the routine cards. The person stands at the head's right. */
.system--routine .system-head {
  flex-basis: 100%;
}

.system--routine .system-title {
  flex-basis: 100%;
  margin: var(--space-1) 0 0;
  font-size: var(--text-16);
  font-weight: 600;
  line-height: var(--leading-chrome);
  color: color-mix(in srgb, var(--kind) 25%, var(--parchment));
}

/* A roll-up's medals are the small title too, comma-joined, with no rule (a left-ruled mono line read as a stray quote). */
.system--routine .system-items:has(.system-medal) {
  padding-left: 0;
  border-left: 0;
}

.system--routine .system-item:has(.system-medal) {
  font-family: var(--font-prose);
  font-size: var(--text-16);
  font-weight: 600;
  font-variant-ligatures: normal;
  color: color-mix(in srgb, var(--kind) 25%, var(--parchment));
}

.system--routine .system-body {
  margin-top: 0;
  flex-basis: 100%;
  color: var(--parchment-dim);
}

/* One achievement, one layout (DESIGN4, the designer of dr2 F7; DB-ALL2 A23): the medal's name is the card's title, set as
 * every System title is (serif, the kind's tint), whether one crawler earned it or many: not a ledger row in a left-ruled
 * box that read as a broken quote. A medal many earned keeps its title in the head: its ledger is the names under
 * "Earned by". */

/* A medal's list of crawlers is the card's whole width too, and a row's room never breaks inside its name
 * ("The Weeping / Wharf", the owner 2026-10-29): it moves whole to the next line when it must. */
.system--routine .system-items {
  flex-basis: 100%;
}

.system-item-room {
  white-space: nowrap;
}

/* The label's line: the kind, and whom the card is about beside it. */
.system-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-1) var(--space-3);
}

/* The box's heading (`<h3>`, so the box is not a landmark — see system.js). */
.system-label {
  margin: 0;
  font-family: var(--font-system);
  font-size: var(--text-12);
  font-weight: 500;
  line-height: var(--leading-chrome);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--kind);
}

/* A box this fan sent (L39-FANACT, R38): a small filled tag beside the label, in the accent a viewer's own things wear. */
.system-yours {
  margin-right: auto;
  padding: 0 var(--space-2);
  font-family: var(--font-system);
  font-size: var(--text-12);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  line-height: var(--leading-chrome);
  color: var(--ink);
  background: var(--cyan);
}

/* Names are the show's: the crawler's face and name, the room and the item as hover hosts. */
.system-refs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1) var(--space-3);
  font-size: var(--text-14);
  line-height: var(--leading-chrome);
  color: var(--parchment-dim);
}

/* The room a crawler's card happened in, its foot (L35-LIVEPAGE3, R16): "in", then the room link, quiet and the
 * card's whole width, so a routine row's kicker line holds the kicker, one name and the title. */
.system-in {
  flex-basis: 100%;
  margin: var(--space-1) 0 0;
  font-size: var(--text-14);
  line-height: var(--leading-chrome);
  color: var(--parchment-faint);
}

.system-in a {
  padding-block: 3px;
  margin-block: -3px;
  color: var(--parchment-dim);
}

/* A paragraph that keeps a heading's weight and tight leading, so a two-line System title
 * does not read as prose. No margin above it: the label's line already leaves the room. */
.system-title {
  font-size: var(--text-lead);
  font-weight: 600;
  line-height: 1.1;
  color: color-mix(in srgb, var(--kind) 25%, var(--parchment));
}

.system-body,
.system-items,
.system-reward {
  font-family: var(--font-system);
  font-variant-ligatures: none;
  line-height: var(--leading-chrome);
}

/* A room named in a short card is most of its sentence, so the measure counts it a control, not a word in a
 * sentence: 24 px of hit area, paid back in margin (`page_tap_targets`, L24 middle /live at 320, R17). */
.system-body a,
.system-reward a {
  padding-block: 3px;
  margin-block: -3px;
}

/* A long card's links are a dotted rule, the host's own (DB-ALL2 A24): fourteen solid underlines in one paragraph striped
 * the System's longest cards. Leading is a reading size's, not the chrome's. */
.system-body a,
.system-reward a,
.system-body .crawler-link {
  text-decoration-style: dotted;
}

.system-body {
  line-height: 1.6;
}

.system-body {
  /* Its own face is the mono, whose `ch` is narrower than the box's prose `ch`: the box's measure
   * left a line 82 characters wide on `/live` (`page_measure`, RV1-WEB). */
  max-width: var(--measure-note);
  margin-top: var(--space-1);
  font-size: var(--text-14);
  color: color-mix(in srgb, var(--parchment) 78%, var(--kind));
}

/* One crawler's rewards in one turn, rolled into this card (`system_rollup.py`): a tight
 * ledger between the title and the System's one line — the thing in parchment, what it was
 * for in the kind's own muted colour, so the list reads as items and not as prose. */
.system-items {
  list-style: none;
  margin: var(--space-1) 0 0;
  padding: 0 0 0 var(--space-2);
  border-left: 1px solid color-mix(in srgb, var(--kind) 45%, transparent);
  font-size: var(--text-14);
}

.system-item {
  color: var(--parchment);
}

/* "Earned by" over a medal's list of crawlers (`system.js` earnedBy, L36-LIVEDESK): the rows are the recipients.
 * Its own row in a routine card's flex line, so the title is never read as the first name. */
.system-earned {
  flex-basis: 100%;
  margin: var(--space-1) 0 0;
  font-family: var(--font-system);
  font-size: var(--text-12);
  color: color-mix(in srgb, var(--parchment) 55%, var(--kind));
}

/* A name alone on a ledger row is the site's link, 16 px, not the list's 14 it would inherit
 * (`page_component_consistency`, L32-PAGEFIX: the achievement's two crawlers). */
.system-items .crawler-link {
  font-size: var(--text-16);
}

/* The crowning's road past its first lines (`system.js`, `ROAD_SHOWN`): one quiet line that opens
 * the rest, in the card's own colour, a tap target tall. */
.system-road-more > summary {
  display: flex;
  align-items: center;
  min-block-size: 1.5rem;
  padding-left: var(--space-2);
  font-family: var(--font-system);
  font-size: var(--text-12);
  letter-spacing: var(--track-label);
  color: var(--kind);
  cursor: pointer;
}

/* A list of sentences is the page talking, not a readout (R18's reading, 2026-10-08): the prose's face at
 * the ledger's size, the colours as they were. The list's, never a line's (`system-item--said`, I50-WEB, MB63). */
.system-items .system-item--said {
  font-family: var(--font-prose);
  font-variant-ligatures: normal;
}

.system-item-detail,
.system-item-room {
  color: color-mix(in srgb, var(--parchment) 55%, var(--kind));
}

/* A merged row's room is a link at the end of a wrapped line: 24 px of hit area, paid back in margin, as the
 * card's "in" foot is (`page_tap_targets`, L37-LIVEDESK2, the designer's L36 low: 18 px lines on a phone). */
.system-item-room a {
  padding-block: 3px;
  margin-block: -3px;
}

/* What it pays, in the kind's colour: acid for what the season gives, cyan for what a
 * viewer sent. */
.system-reward {
  /* At the measure (87 ch at 1440 on `/live`, `page_measure`, L37-s7), wrapped without an orphan
     ("in / all", the designer, L36): both, not the card's width (L37-LIVEDESK2, L38-PAGEFIT). */
  max-width: var(--measure-note);
  text-wrap: pretty;
  margin-top: var(--space-1);
  font-size: var(--text-12);
  letter-spacing: var(--track-label);
  color: var(--kind);
}

/* The pay's label, a term before its value ("Reward · 80 fame"): the ledger's muted colour, the figure the kind's. */
.system-reward-label {
  color: color-mix(in srgb, var(--parchment) 55%, var(--kind));
}

/* Several crawlers paid differently (L38-LIVEPAGE4, R18, the designer, L37: "one 87-character mono sentence for
 * three crawlers"): a row a crawler, the name then the box, the fame and the fame in all in columns the rows share,
 * the figures right-aligned in tabular numerals so they read down. */
.system-pays {
  margin-top: var(--space-1);
}

.system-pay-rows {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  column-gap: var(--space-4);
  margin: var(--space-1) 0 0;
  padding: 0;
  list-style: none;
}

.system-pay {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  align-items: baseline;
  padding: var(--space-1) 0;
  border-top: 1px dashed var(--rule-soft);
  font-family: var(--font-system);
  font-size: var(--text-14);
  line-height: var(--leading-chrome);
  color: var(--parchment-dim);
}

.system-pay-who {
  min-width: 0;
  color: var(--parchment);
}

.system-pay-fame,
.system-pay-total {
  font-variant-numeric: tabular-nums;
  text-align: end;
}

.system-pay-fame {
  color: var(--kind);
}

/* A phone has no room for four columns: the name takes a row, and what it was paid runs under it. */
@media (max-width: 47.99em) {
  .system-pay-rows {
    display: block;
  }

  .system-pay {
    display: flex;
    flex-wrap: wrap;
    gap: 0 var(--space-3);
  }

  .system-pay-who {
    flex-basis: 100%;
  }
}

/* On a phone the head's names, the title and a roll-up's lines are each a thumb tall (WCAG 2.2's
 * 2.5.8; Task S4): rows of controls stacked a pixel apart, the refs 21 px and a medal 23, were
 * the commonest target a finger missed. Real room, a few pixels a row, and only there. */
@media (max-width: 47.99em) {
  .system-refs {
    line-height: 1.75;
  }

  /* 2 x 12 px: each row of a list is 24 px, so a room's link on a wrapped row is a whole target (L37). */
  .system-items {
    line-height: 2;
  }

  .system-title {
    line-height: 1.25;
  }
}

/* Acid is the default (`--kind` in tokens.css): rewards, announcements, the season talking
 * to you. Only two kinds change it. */
.system--death,
.system--obituary {
  --kind: var(--blood);
}

/* A floor coming down is the calendar, not a death (R98, L23-WEBFIX2): ochre, never the blood of a crawler's end. */
.system--collapse {
  --kind: var(--fray);
}

/* Cyan is "a viewer did this" (§15.2), so every card a viewer caused reads as one family:
 * the open vote, the follower who just arrived, the box somebody paid for. A reader should
 * be able to tell the season's own doing from the audience's without reading a word. */
.system--vote,
.system--follower,
.system--sponsor {
  --kind: var(--cyan);
}

/* An obituary's way to the fight that killed them (R58, R16): the one Watch pill (`feed_item.css`), in the card's own
 * hue, under the card's words at its start (it was plain "Watch" text: the pill took no hue outside a fight's kicker,
 * the designer's components-2 #3 and P5). */
.system-foot {
  --kick-hue: var(--kind);
  display: flex;
  margin: var(--space-2) 0 var(--space-1);
}

.system-foot .fight-kick-watch {
  margin-inline-start: 0;
}

/* The System's cards of several facts: whose it is, then rows on one grid (R160, R24, R18, R14; MB3-SYSTEM).
 *
 * A crawler's rolled-up rewards are a head (their face and name, the turn's sum in words) and facts on one grid in
 * one face, the page's serif: the label in the small caps every label wears, then what it says. The System's own
 * sentences stay the card's one mono voice, after the facts (`system.css` `.system-body`), and the room its foot.
 * A wall of medals or level-ups is a row a crawler on its own grid: who, what, where. One sheet for both because
 * they are one idea: a card of several facts is a table, not a paragraph. */

/* --- a crawler's rolled-up rewards ------------------------------------------------------------------------------- */

/* The head says whose it is: the face and name first, then the sum, dim, on the same line while it fits. Every card
 * about one crawler wears it (a medal, a level, a box, a descent, an obituary: MB3-SYSTEM2). The routine card hides
 * faces (`system.css`); this card is read out of context in a feed, so it shows theirs. */
.system-title.system-who {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--space-3);
}

.system--routine .system-title.system-who > .crawler-link--sigil .sigil {
  display: inline-block;
}

/* The head's face is the nameplate rows' 36 px, never the feed's 20 px speck beside a name with a line under it (MB3-I7-MISC). */
.system-title.system-who > .crawler-link--sigil .sigil {
  --sigil-px: 36px;
}

/* A title that says the crawler's name is the head's line (a fight begun): in the title's own weight. */
.system-said {
  min-width: 0;
}

/* The event a card is about (a landing, a vote, a box sent), after the name: the card's one fact, so in the page's
 * parchment at reading size, never the dim of a roll-up's sum. */
.system-event {
  min-width: 0;
  font-size: var(--text-16);
  font-weight: 400;
  line-height: var(--leading-chrome);
  color: var(--parchment);
}

.system-sum {
  font-size: var(--text-14);
  font-weight: 400;
  line-height: var(--leading-chrome);
  color: var(--parchment-dim);
}

/* The facts: a label column of one width on every card (so a level and a medal line up from one card to the next) and a
 * column of words, the rows sharing both (a subgrid), a dashed rule between. */
.system-rows {
  flex-basis: 100%;
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr);
  column-gap: var(--space-4);
  margin: var(--space-2) 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-prose);
  font-size: var(--text-16);
  line-height: var(--leading-chrome);
}

.system-row {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  align-items: baseline;
  padding: var(--space-1) 0;
  border-top: 1px dashed var(--rule-soft);
  color: var(--parchment);
}

.system-row-label {
  white-space: nowrap;
}

/* A line the System added with no label (the race moving): across both columns, in the dim serif. */
.system-row--line {
  display: block;
  color: var(--parchment-dim);
}

/* A figure is a figure: tabular numerals, so a level and a pay read down the column. */
.system-row-main {
  font-variant-numeric: tabular-nums;
}

.system-row-detail {
  color: var(--parchment-dim);
}

/* A medal's own note ("killing Toft Holyoake") is dim, after its own medal. */
.system-note {
  color: var(--parchment-dim);
}

/* What the System says is the card's one mono voice, set a little apart from the facts. */
.system-rows + .system-body,
.system-wall + .system-body {
  margin-top: var(--space-2);
}

/* --- a wall of medals or level-ups ---------------------------------------------------------------------------------- */

/* A row a crawler: who (face and name, the column the width of the longest name up to 13rem), what (the medal in the
 * card's acid, its clause under it in the dim serif, the rest of the row and never under 16rem: MB3-SYSTEM3, the
 * designers' "medal names break in a 150px column"), where (the room, small and dim, under the clause). */
.system-wall {
  flex-basis: 100%;
  display: grid;
  grid-template-columns: fit-content(13rem) minmax(16rem, 1fr);
  column-gap: var(--space-4);
  margin: var(--space-2) 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-prose);
  font-size: var(--text-16);
  line-height: var(--leading-chrome);
}

.system-wall-row {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  align-items: start;
  padding: var(--space-2) 0;
  border-top: 1px dashed var(--rule-soft);
}

/* The rows past the fourth are folded until "And two more" opens them (the grid would otherwise show them). */
.system-wall-row[hidden] {
  display: none;
}

.system-wall-who,
.system-wall-what,
.system-wall-where {
  min-width: 0;
}

.system-wall-who .crawler-link,
.system-wall-who .crawler-self {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-16);
}

/* The face stands on the name's first line; a long name wraps beside it, whole words, never cut (R159). */
.system-wall-who .sigil {
  align-self: flex-start;
  margin-top: 2px;
}

.system-wall .system-medal,
.system-wall-thing {
  font-weight: 600;
  color: var(--kind);
}

.system-wall-medal,
.system-wall-thing {
  display: block;
}

.system-wall-clause {
  display: block;
  margin-top: 2px;
  font-size: var(--text-14);
  line-height: var(--leading-chrome);
  color: var(--parchment-dim);
}

.system-wall-where {
  grid-column: 2;
  margin-top: 2px;
  font-size: var(--text-12);
  line-height: var(--leading-chrome);
  color: var(--parchment-faint);
}

.system-wall-where a {
  padding-block: 3px;
  margin-block: -3px;
  color: var(--parchment-dim);
}

.system-wall-more {
  grid-column: 1 / -1;
  padding-top: var(--space-2);
  border-top: 1px dashed var(--rule-soft);
  font-size: var(--text-14);
  color: var(--parchment-dim);
}

/* "And two more" opens the folded rows: a control that reads as one, a dotted rule under it like the site's links. */
.system-wall-open {
  min-height: 24px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--parchment);
  text-decoration: underline dotted;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* A phone: one column, the name, the medal under it and the room under the clause, the two indented to the name's text
 * (a face and its gap). */
@media (max-width: 47.99em) {
  .system-wall {
    grid-template-columns: minmax(0, 1fr);
  }

  .system-wall-what,
  .system-wall-where {
    grid-column: 1;
    padding-left: 1.5rem;
  }
}

/* The crawl — `blocks/ticker.js` and the strip under the masthead (spec §13.8, and the
 * reader rebuild's ticker line, 2026-09-25).
 *
 * The one block type designed to be read past rather than read, and the System's own crawl:
 * so the whole line is mono at the floor — the kind in acid (blood for the three that cost
 * something), the sentence dim, and the names in it lit, because a name is the one thing on
 * the line a reader might want to follow. One line that clips rather than wraps — and fades
 * where the strip clips it (`layout.css`), so it reads as the crawl running on.
 */

.ticker-line {
  font-family: var(--font-system);
  font-size: var(--text-12);
  line-height: var(--leading-chrome);
  font-variant-ligatures: none;
  color: var(--parchment-dim);
  /* One line, and an ellipsis only where the sentence really overflows its measure (SR2-LIVEFIRST,
   * H2): the two-line clamp cut "Onto / and one more." in half and a fixed band clipped the third
   * line on a phone. `nowrap` is what a measure check reads as one wide line, so the box keeps its
   * own `max-width` and the text is cut inside it. */
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: min(34rem, var(--measure-note));
  overflow: hidden;
}

.ticker-kind {
  color: var(--acid);
  margin-right: var(--space-2);
}

.ticker-line--death .ticker-kind {
  color: var(--blood);
}

.ticker-line--collapse .ticker-kind {
  color: var(--fray);
}

/* The flood is water, not a death (R98, DR2-WEB). */
.ticker-line--sweep .ticker-kind {
  color: var(--flood);
}

/* A name in the sentence, linked to its cam (no card: the line clips). Lit against the dim
 * sentence, with the hairline every crawler's name carries. */
.ticker-line .crawler-link {
  color: var(--parchment);
}

/* ... and the rule is seen at every width (DB-ALL2 A37): the one-line band clips what hangs under its text, so the rule
 * stands closer than the page's 0.3em and the line has a pixel to hold it. */
@media (min-width: 48em) {
  .ticker-line .crawler-link {
    text-underline-offset: 0.18em;
  }

  .ticker-line {
    padding-bottom: 1px;
  }
}

/* --- the crawl ---------------------------------------------------------------------------- */

/* The strip's right edge (R4-BOARD, R17): the mask in `layout.css` ran from opaque to clear at the
 * very edge, so a line's first characters ("[de", "Land…") stayed legible half-faded beside it
 * and read as a cut token. The last stretch is now fully clear before the edge, so a line runs
 * into the fade and the next one begins only past it. */
.tickerstrip {
  --ticker-clear: var(--space-5);
  --ticker-mask:
    linear-gradient(to left, transparent var(--ticker-clear), var(--ink) calc(var(--ticker-fade) + var(--ticker-clear))) 0 0 / 100% 100% no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 1px no-repeat;
}

/* An empty strip holds no band (SR2-LIVEFIRST, H2; was PAGES0 #16, which held it open so the first
 * line moved nothing): 60 to 95 px of nothing under the masthead on /live and the cam, nine
 * reviewers. It is still rendered, at no height, so the live region is there when the first line
 * lands: `display: none` would cost a screen reader that line (`layout.css`). The strip's first
 * line is the one shift, once a season; `rollTicker` never lets it empty again. `div.` outranks
 * layout.css's `.tickerstrip:empty`. */
div.tickerstrip:empty {
  display: flex;
  block-size: 0;
  min-block-size: 0;
  padding: 0;
  background: transparent;
  border-bottom-width: 0;
}

/* The strip is a flex row and a `.ticker-line` shrinks by default, so six of them would be
 * six ellipses rather than a crawl. They keep their natural width and the strip clips; the
 * line's own `max-width` is what stops one very long line owning the whole row. */
.tickerstrip .ticker-line {
  flex: 0 0 auto;
}

/* On a phone the crawl is its newest line, whole (2026-10-08: "[descent] D…" was a cut word).
 * It wraps to what it needs and the band grows with it: the fixed height below once outranked
 * `block-size: auto` here and cut a third line in half ("more.", landing at 320, SR2 H2). Two lines
 * is the floor, so a line that wraps to two moves nothing. */
@media (max-width: 47.99em) {
  /* A crawl line wraps on a phone wherever it is drawn, the strip or the component library's frame: "slain by th…"
   * lost the line's point at 320 (the designer's components-2 #9). */
  .ticker-line {
    max-width: none;
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
    text-wrap: pretty;
  }

  .tickerstrip {
    --ticker-mask: none;
    align-items: flex-start;
    block-size: auto;
    min-block-size: calc(2 * var(--text-12) * var(--leading-chrome) + 2 * var(--space-2) + 1px);
    padding-block: var(--space-2);
  }

  .tickerstrip .ticker-line {
    flex: 1 1 auto;
    max-width: none;
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
  }

  .tickerstrip .ticker-line:not(:first-child) {
    display: none;
  }

  /* On a cam the crawl's line is the masthead readouts' second row, not a band of its own (L49-PHONE, R17, stranger A,
   * L47 and L48: the sweep banner and the hero put the first story line below the first screen). No ground, no top
   * padding, and it stands up into the readouts' own bottom padding: the same two-line floor under it (R64), 16 px less
   * above the cam. */
  body:has(.page[data-self]) .tickerstrip:not(:empty) {
    margin-top: calc(-1 * var(--space-2));
    padding-top: 0;
    min-block-size: calc(2 * var(--text-12) * var(--leading-chrome) + var(--space-2) + 1px);
    background: none;
  }

  /* While a break's notice stands the crawl is put away (design round 3, #2): the notice carries
   * the news, and one clipped chip ("[descen...") under it read worse than none. Mid-floor the
   * strip keeps its whole line. */
  body:has(.masthead-episode:not([hidden])) .tickerstrip {
    display: none;
  }
}

/* From a tablet the band is one line tall at every turn, so nothing under it moves (R64): the
 * lines are `nowrap` and end in an ellipsis rather than a second line the band would clip. */
@media (min-width: 48em) {
  .tickerstrip {
    block-size: calc(var(--text-12) * var(--leading-chrome) + 2 * var(--space-2) + 1px);
    /* Whole lines only (L30-PAGES, R17, designer L29 10): a line that does not fit beside the last wraps to a row the
     * band's height clips away, instead of ending in the fade ("Zaida Be…") with 900 px of the strip empty. The row gap
     * is wider than the band's padding, so the second row starts outside it; no line ends in the fade, which the end
     * padding keeps clear. */
    flex-wrap: wrap;
    align-content: flex-start;
    row-gap: var(--space-4);
    padding-block: var(--space-2);
    padding-inline-end: calc(var(--ticker-fade) + var(--ticker-clear));
  }

  /* Each line keeps its own width, up to the strip's, and never shrinks: shrinking them all cut six lines to
   * "Dell Everleigh w…" each (SR2, 1440), and the old 34 rem cap cut "Esme Wharton and …" with the strip's right
   * half empty (L30-PAGES). */
  .tickerstrip .ticker-line {
    flex: 0 0 auto;
    max-width: 100%;
  }

  /* A break (the masthead's notice stands): the crawl is the newest line alone — two lines of
   * "[descent] Umber Trelawney, Calla Havelock and twenty-seven more also reach floor 10." under
   * a masthead that says the floor opens were the same fact a third time (DR2-WEB, R12). */
  body:has(.masthead-episode:not([hidden])) .tickerstrip .ticker-line:not(:first-child) {
    display: none;
  }
}

/* Where the camera is — the `scene` slug line and the `segment` in its two places (spec
 * §13.6; the reader rebuild, 2026-09-25).
 *
 * The column's punctuation: a scene says which room, a segment says the camera moved — as
 * the stage's header on `/live`, or a one-line cut in a feed (a page read after the fact draws
 * its own header). All of it is the show's serif; the only mono is the turn, a readout.
 */

/* --- scene ------------------------------------------------------------------------- */

/* `/live`'s scene divider: the cut line above it has said where the camera went, so this one is
 * not drawn (`blocks/scene.js`, R65). */
.scene--folded {
  display: none;
}

/* "The Salt Larder · CACHE" (no bare arrow, DB-ALL B40: a mark used nowhere else): the room in the novel's face, its kind in the show's caps. */
.scene-head {
  font-size: var(--text-16);
  font-weight: 600;
  line-height: 1.35;
  color: var(--parchment);
}

.scene-kind {
  font-size: var(--text-12);
  font-weight: 400;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--parchment-dim);
}

/* The route under the slug line: quieter than the room's name, louder than nothing. It is
 * the causal link the dropped move sentence used to carry, so it reads as stage direction —
 * one step down, dim, in italic — rather than as prose. */
.scene-route {
  margin-top: var(--space-1);
  font-size: var(--text-14);
  font-style: italic;
  line-height: var(--leading-chrome);
  color: var(--parchment-dim);
}

/* The room's own words, when the scene is drawn whole: the story's serif, a step back. */
.scene-body {
  max-width: var(--measure);
  margin-top: var(--space-2);
  color: var(--parchment-dim);
}

/* --- segment on the stage: `/live`'s on-air header --------------------------------- */

.segment-onair {
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--rule);
}

.segment-onair-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  margin-bottom: var(--space-2);
}

/* "On air", in the live colour and led by the live dot — the dot the masthead wears too. */
.segment-live {
  color: var(--blood);
  white-space: nowrap;
}

.segment-live::before {
  content: "";
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  margin-right: var(--space-1);
  border-radius: 50%;
  background: var(--blood);
  vertical-align: 0.05em;
}

.segment-since {
  font-size: var(--text-12);
  color: var(--parchment-dim);
}

.segment-onair .segment-title {
  color: var(--parchment);
  overflow-wrap: anywhere;
}

/* --- segment in a feed: the cut ---------------------------------------------------- */

/* One line on a hairline, and quiet: the camera moved, here is where to. It wraps rather
 * than truncates — the room in it is a hover host, and a clipped line would clip its card. */
.segment-cut {
  padding-top: var(--space-2);
  border-top: 1px solid var(--rule-strong);
  font-size: var(--text-14);
  line-height: var(--leading-chrome);
  color: var(--parchment-faint);
}

.segment-cut-arrow {
  margin-right: var(--space-1);
}

.segment-cut-title {
  font-weight: 600;
  color: var(--parchment);
}

.segment-where,
.segment-left {
  color: var(--parchment-dim);
}

/* Where the cut went moves to the next line whole, never "Stairwell C, / floor 2" broken at 375 (DB-A0, the
 * designer's components-2): an inline block wraps inside itself only when it is wider than a line. */
.segment-where {
  display: inline-block;
  max-inline-size: 100%;
}

/* --- a segment's end, in every mode ------------------------------------------------ */

.segment-end {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-1) var(--space-2);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--rule);
  font-size: var(--text-14);
  line-height: var(--leading-chrome);
}

.segment-end-title {
  font-style: italic;
  color: var(--parchment-dim);
}

/* The fight box — `blocks/fight.js` (spec §13.6, R25; the reader rebuild's stage, 2026-09-25).
 *
 * The one game screen on the page: a panel on the raised surface, blood only on its top edge,
 * the word "Fight" and what is running out, so a brawl of twelve still reads. Inside, two sides
 * of unit frames in one grid (`fight_frame.css`: a face, a name, a bar, a word) and under them the
 * combat log, the names in the show's serif and what the dice said in the System's mono.
 *
 * What it draws now is a cam's box: the kicker, the room, the lineup card (`fight_lineup.css`) and the rounds' log. The older
 * duel card (a head, two sides of unit frames, a tally) went with its only callers (DB-HAPPY H1, B3). */

.fight {
  /* The fight's hue is its kind's (R98): blood for crawlers against crawlers, the fray for monsters.
   * Set by `.fight--pve` or a page that holds the fight (`.fight-page[data-kind]`); deaths stay blood. */
  --fight-edge: color-mix(in srgb, var(--fight-hue, var(--blood)) 38%, var(--rule));
  /* Its own width decides the layout, not the viewport's: the stage and a cam's "right now"
   * give it very different columns at the same screen width. */
  container: fight / inline-size;
  position: relative;
  padding: var(--space-3) var(--space-4) var(--space-4);
  border: 1px solid var(--fight-edge);
  border-top: 2px solid var(--fight-hue, var(--blood));
  background: var(--surface-raised);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--ink-deep) 70%, transparent);
  font-family: var(--font-prose);
  font-size: var(--text-14);
  line-height: var(--leading-chrome);
  color: var(--parchment);
}

.fight--pve {
  --fight-hue: var(--fray);
}

/* A box's kicker and Watch pill are the feed's (`feed_item.css`), tinted by the kind's hue. */
.fight {
  --kick-hue: var(--fight-hue, var(--blood));
}

/* What the fight is about, when it is a feud over a stolen kill (`fight.js` feudLine). */
.fight-feud {
  margin: 0 0 var(--space-2);
  font-size: var(--text-16);
  color: var(--parchment);
}

.fight-feud-label {
  margin-right: var(--space-1);
  font-size: var(--text-12);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--blood);
}

.fight-feud-paid {
  font-weight: 600;
  color: var(--blood);
}

/* Why a crawler picked this fight (`fight.js` whyLine): the commentator's aside, under the head
 * and above the frames — quieter than a feud, which is a story rather than a motive. */
.fight-why {
  /* The note's measure, about 72 characters of this italic at 14 px, in rem: in `ch` it was 504 px at first paint and
   * 576 px from the next layout (the lazily loaded italic face's "0"), so the lines rewrapped after the page showed
   * (DB-FIGHT, the designer F8). */
  max-width: 32rem;
  margin: 0 0 var(--space-2);
  font-size: var(--text-14);
  font-style: italic;
  color: var(--parchment-dim);
}

/* --- the log --------------------------------------------------------------------------------- */

/* Who hit whom, a row a swing, read like a game's combat log. Names on the left in the show's
 * serif; the result in a right-hand column of the System's mono wide enough for "crit 14", so
 * the numbers stack into a column the eye can run down. A miss dims; a hit's number is the
 * loudest thing in the row; a crit is acid and says "crit", a kill is blood and says "kills" —
 * colour never alone. */
.fight-log {
  --blow-result: 8rem;
  /* What a blow was ("with Bad Harvest") and what changed it ("Fern's thorns bite back for 2") are one voice under a row: the
   * same italic at the same size, a hair larger on a phone, where 12 px italic is thin (V-CLAUSE2). */
  --blow-note: var(--text-12);
  --join-gap: 0.3rem; /* between a joiner's name and its "+" */
  margin: var(--space-3) 0 0;
  padding: var(--space-2) 0 0;
  border-top: 1px solid var(--rule);
  list-style: none;
}

.blow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--blow-result);
  align-items: baseline;
  column-gap: var(--space-2);
  padding: 3px var(--space-2);
  border-left: 2px solid transparent;
}

.blow + .blow {
  border-top: 1px dashed var(--rule-soft);
}

.blow-who {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: var(--text-14);
  line-height: 1.45;
  color: var(--parchment);
}

/* Doubled up because `.hover-host` sets `font: inherit` further down the cascade, and a
 * monster's name should read in the same face as the crawler it is swinging at. */
.blow .blow-name {
  font-family: var(--font-prose);
  font-size: var(--text-16);
  /* A name is one box: "The Grinning / Apparatus" split across two lines took three a swing at 375, and the
   * tag and the target now break after it instead (L15-WEB, R15). Never unbreakable: a floor-nine boss's
   * name is wider than a 320 column, and nowrap ran it 20 px off the page (L15-seeds-s7, R17). */
  display: inline-block;
  max-width: 100%;
}

/* A name and the comma after it (`fight_log.namedCrowd`): never parted, so a comma never starts a line. The name itself still wraps. */
.blow-run {
  white-space: nowrap;
}

.blow-run .blow-name {
  white-space: normal;
}

/* Inline-block: a break opportunity either side of the arrow. Bare in the text it left "Teague→Name" one
 * unbreakable run, and `overflow-wrap: anywhere` cut the name in two at the line's edge (I12, R17). */
.blow-arrow {
  display: inline-block;
  margin: 0 0.4em 0 0;
  color: var(--parchment-faint);
}

/* The arrow and its target, one unit (`fight_log.toward`): a row too narrow for both names breaks before the
 * arrow and the target comes with it, never the arrow hanging at a line's end (DR-FIGHT, the designer). A
 * target wider than the row still breaks inside, as a name always could. */
.blow-to {
  display: inline-block;
  max-width: 100%;
  /* The gap before the arrow is the unit's, not the arrow's: inside it, the name ran flush into "⟶"
   * (page_name_note_gap, DR1-s7). */
  margin-inline-start: 0.4em;
}

/* "with Settle Up" — the swing's name, tucked under the names: what the System gave them. */
.blow-skill {
  /* Inline after the names, as the phone's rows have it: "with Settle Up" and "last swing" stay on the names' line where they fit
   * (the owner's #44: a row of five blows is five lines; DB-HAPPY, the designer: "LAST SWING" a third line at the desk). */
  display: inline-block;
  max-width: 100%;
  /* As wide as its words: a skill with a card is a hover host, and its dotted rule ran the row's
   * whole width under "with Settle Up" (the owner, 2026-10-23: "the horizontal lines that show up
   * when there's a skill used, they make it hard to follow"). */
  width: fit-content;
  font-size: var(--blow-note);
  font-style: italic;
  color: var(--acid);
}

.blow-skill::before {
  content: "with ";
  color: var(--parchment-faint);
}

/* The space before "with Settle Up" (`fight_log.blowRow`), a half em wide: it vanishes with the line break when the tag wraps, so a
 * tag on a line of its own starts on the names' edge, where the clause under it does (V-CLAUSE3). */
.blow-gap {
  word-spacing: 0.25em;
}

/* A blow thrown by somebody who fell this round, read before the blow that dropped them. */
.blow-last {
  margin-left: var(--space-2);
  font-size: var(--text-12);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  white-space: nowrap; /* "last / swing" broke in two at 375 (DB-A1) */
  color: var(--blood);
}

.blow-result {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: baseline;
  column-gap: 0.4em;
  /* What the dice read out is the page's own words and lining tabular figures: mono is the System's
   * voice only (L6-WORDS, the designer's R18 finding on the fight log). */
  font-family: var(--font-prose);
  font-variant-numeric: tabular-nums lining-nums;
  text-align: right;
}

.blow-outcome {
  font-size: var(--text-12);
  letter-spacing: var(--track-label);
  color: var(--parchment-dim);
}

.blow-damage {
  min-width: 2ch;
  font-size: var(--text-16);
  font-weight: 500;
  line-height: 1;
  color: var(--parchment);
}

/* What changed the blow, in the world's own words ("Fern's thorns bite back for 2", `fight_log.riderLine`, R158): a line of its own
 * under the blow, in the names' column, so the figures stay in theirs whatever the row says after them (V-CLAUSE: beside the
 * figure it pushed "hit 8" 170 px off the column, and at 375 it took the row's right half and sent the arrow down). Italic at
 * the size "with Settle Up" is, in the dim ink: what a blow was, never the figure's weight. The owner leads in plain words and
 * the thing's own words are the host of the card that says what it does, so the dotted rule never runs under "and" or a name
 * (V-CLAUSE2). Two clauses on one line have a middle dot between them; a clause that starts a line has none (P-AGAIN, below).
 * A joiner's line starts under their name, not under the "+". */
.blow-riders {
  grid-column: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: var(--blow-note);
  line-height: 1.4;
  font-style: italic;
  color: var(--parchment-dim);

  /* The room between two clauses is the space's own (a wide word-space the clauses take back), and the dot hangs in it; a clause
   * that starts a line has its dot off the line's start, outside this box, where the clip hides it. The clip stands a focus ring
   * (3 px off a host, 2 px wide) clear of itself, so a ring on the first clause is whole. */
  overflow: clip;
  overflow-clip-margin: 6px;
  word-spacing: 1.25em;
}

/* A clause is one unit (P-WRAP): an inline-block moves to the next line whole before it breaks inside, and one too long for the box
 * (320) wraps inside itself, its last two words (`.blow-keep`) held together so the figure never stands alone. */
.blow-clause {
  position: relative;
  display: inline-block;
  vertical-align: top;
  word-spacing: normal;
}

.blow-keep {
  white-space: nowrap;
}

/* The dot belongs to the clause after it, hung in the gap before it: a line that breaks there leaves it off the start of the next
 * line (clipped) and never at the end of the line before (P-AGAIN: "… weapon's die ·"). It is no part of either host, so a ring
 * holds one clause. A browser with no `overflow-clip-margin` draws no dot rather than a dangling one. */
.blow-clause + .blow-clause::before {
  position: absolute;
  inset-inline-end: calc(100% + 0.6em);
  content: "·";
  color: var(--parchment-faint);
  pointer-events: none;
}

@supports not (overflow-clip-margin: 1px) {
  .blow-clause + .blow-clause::before {
    content: none;
  }
}

/* Where the blow left its target — "Perrin ▸ DYING" (`nowBand`, R25; MB47 #44): beside the name it is about,
 * in small caps and the band's own colour (the frame's: red only for dying and dead, SR2-VISUAL), on
 * the same line, so a round of five blows is still five rows. It travels with the target (`.blow-to`
 * wraps whole). */
.blow-now {
  display: inline-block;
  /* The gap is the tag's own: a space inside an inline-block is stripped at its line's start, and "Calla▸ DYING"
   * ran together (`page_name_note_gap`, SR4-FIGHT). */
  margin-inline-start: 0.5rem;
  font-size: var(--text-12);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  white-space: nowrap;
}

.blow-now-mark {
  margin-inline-end: 0.25em;
  color: var(--parchment-faint);
}

.blow-kill {
  /* On the figure's own line at every width (the owner's #44, "a row of five blows is five lines"; DB-HAPPY: the desk
   * wrapped "† kills" under "hit 34" where the phone kept it on line one). */
  flex-basis: auto;
  white-space: nowrap;
  font-size: var(--text-12);
  letter-spacing: var(--track-label);
  color: var(--blood);
}

/* A kill is its own clause after a separator at every width and in every pane, "hit 12 · ✝ kills", so the figure is never read as a
 * count of kills (SR2-FIGHTPAGE M20; MB2 #13: the log kept the "·" for a phone alone). */
.blow-kill::before {
  content: "·";
  margin-inline-end: var(--space-1);
  color: var(--parchment-faint);
}

.blow-kill-mark {
  margin-inline-end: 0.15em;
}

/* A miss steps back a notch, to the dim ink, not the dimmest: at the faint ink a missed blow read as a disabled
 * row (the designer of DR1-s7, #9, R18). */
.blow--miss .blow-who,
.blow--miss .blow-who a,
.blow--miss .blow-who button {
  color: var(--parchment-dim);
}

/* "miss" is nothing happening, so it is italic (I4 designer, R18); the rest of what the dice read out
 * stands upright beside it, all in the serif. */
.blow--miss .blow-outcome {
  font-family: var(--font-prose);
  font-size: var(--text-14);
  font-style: italic;
  letter-spacing: normal;
  color: var(--parchment-dim);
}

.blow--crit .blow-outcome,
.blow--crit .blow-damage {
  color: var(--acid);
}

.blow--kills {
  border-left-color: var(--blood);
  background: linear-gradient(90deg, color-mix(in srgb, var(--blood) 12%, transparent), transparent 70%);
}

.blow--kills .blow-damage,
.blow--finish .blow-outcome {
  color: var(--blood);
}

/* On a cam, the rows its crawler is in: lifted, with a parchment edge — the viewer's own
 * fight inside the room's. A kill keeps its blood edge; the lift still says whose it is. */
.blow--own {
  border-left-color: var(--parchment-dim);
  background: color-mix(in srgb, var(--parchment) 6%, transparent);
}

.blow--own.blow--kills {
  border-left-color: var(--blood);
}

/* The line for somebody who left, and the parting shots filed under it, the shots indented beneath
 * their runner: the round opens with who left (MB79), so the first row needs no rule above it; any
 * other (a second leaver, the box's closing "the fight is over") sets itself off with one. */
.blow--exit {
  margin-top: var(--space-1);
  padding-top: var(--space-1);
  border-top: 1px dashed var(--rule);
  border-left-color: transparent;
}

.fight-log > .blow--exit:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.blow--exit .blow-who {
  font-style: italic;
  color: var(--parchment-dim);
}

/* The room an exit names is the ordinary room link (R16, #35): upright, body size, the story's ink,
 * not the row's dim italic. */
.blow-who .blow-room {
  font-family: var(--font-prose);
  font-size: var(--text-16);
  font-style: normal;
  color: var(--parchment);
}

/* Somebody came into the fight this round (`joinRow`, R61), or a fighter did something else
 * (`insteadRow`, R25): an event of the log rather than a blow, in the exit rows' ink, with the glyph the frame's note wears in front of the name. */
.blow--join .blow-who,
.blow--instead .blow-who {
  font-style: italic;
  color: var(--parchment-dim);
}

/* The mark before a name that came in is the fight cards' "joined" icon (`fight_lineup.css`): the same shape, size and
 * hue, so the feed's card and the log say "came in" one way (DB-FIGHT, R17; the page's "↘" and "↩" were its own). */
.blow-join-glyph {
  display: inline-block;
  inline-size: 14px;
  block-size: 14px;
  margin-inline-start: var(--join-gap);
  vertical-align: -1px;
  background-color: color-mix(in srgb, var(--fight-hue, var(--blood)) 70%, var(--parchment));
  -webkit-mask: url("/static/adb5350d6e/icons/state-joined.svg") center / contain no-repeat;
  mask: url("/static/adb5350d6e/icons/state-joined.svg") center / contain no-repeat;
}

/* "with Bad Harvest" on the swing that brought somebody in is said where the joiner is, inline after the
 * names, not a block of its own under the row with the dotted rule trailing it (L5-TRUTH, L4 designer L2, fight-1440 round 2). */
.blow--came .blow-skill {
  /* One unit, as a name is (`.blow-name`): inline, "with Settle / Up" broke mid-phrase at 320 (DB-A1, the designer F9). */
  display: inline-block;
  max-width: 100%;
}

/* A swing that is also the joining (`blowRow`'s `came`): the swing keeps a swing's ink, and the
 * word that says it brought them in is the event rows' quieter italic. */
/* A margin beside an upright space: the italic space after an upright name was too narrow to read as one (the owner, 2026-10-13).
 * The join row's word is the same note (`page_name_note_gap`, R17: a quarter em after a name at the least, the space not counted). */
.blow-came,
.blow-join-word {
  margin-left: 0.3em;
  font-style: italic;
  color: var(--parchment-dim);
}

/* The floor came down on the fight (`endedRow`): its last line, in the ink a death is said in,
 * upright — it is what happened to everyone above it, not somebody slipping out. */
.blow--collapse .blow-who {
  font-style: normal;
  color: var(--blood);
}

/* A swing that found its target already down or gone: muted like a miss, and said in words.
 * Muted by colour, never by `opacity`: opacity carries down to the hover card a name in the row
 * opens, and the card went see-through over the rows below it (2026-09-24). */
.blow--late .blow-who,
.blow--late .blow-who a,
.blow--late .blow-who button {
  color: var(--parchment-faint);
}

.blow--late .blow-outcome {
  color: var(--parchment-dim);
}

.blow--parting {
  margin-left: var(--space-3);
}

/* --- the rounds (R58) ------------------------------------------------------------------------ */

/* Every round the box holds, under its own heading — "ROUND 7 · TURN 122" in the show's label
 * caps — with its why and its blows beneath; a rule between rounds, where the log had its own. */
.round-log {
  margin-top: var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px solid var(--rule);
}

.round-log-head {
  margin: 0;
  line-height: 1.4;
}

.round-log .fight-why {
  margin: var(--space-1) 0 0;
}

.round-log .fight-log {
  margin-top: var(--space-1);
  padding-top: 0;
  border-top: 0;
}

/* "Earlier rounds (5)": the fold under the two open rounds (above them read after the fact), so
 * however long the stair fight the box stands at two rounds and a line. The summary is the
 * control — a thumb tall, its marker both ways, the caps saying what it holds. What it opens is
 * read in the page's own scroll, never a box of its own: a name's card opens beside the name
 * (`hover.css`), and a scrolling box would clip it. */
.rounds-earlier {
  margin-top: var(--space-3);
  border-top: 1px dashed var(--rule);
}

.rounds-earlier-summary {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-block-size: var(--tap);
  padding-top: var(--space-2);
  color: var(--parchment-dim);
  list-style: none;
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-out);
}

.rounds-earlier-summary::-webkit-details-marker {
  display: none;
}

.rounds-earlier-summary::after {
  content: "▾";
  content: "▾" / "";
  color: var(--parchment-faint);
}

.rounds-earlier[open] > .rounds-earlier-summary::after {
  content: "▴";
  content: "▴" / "";
}

.rounds-earlier-summary:hover,
.rounds-earlier-summary:focus-visible {
  color: var(--parchment);
}

/* What the fold cannot show: on its way, not read, or never on camera — said, never a blank. */
.rounds-earlier-note {
  margin: var(--space-2) 0 0;
  font-size: var(--text-14);
  font-style: italic;
  color: var(--parchment-dim);
}

/* A narrow column's box wears less padding. */
@media (max-width: 29.99em) {
  .fight {
    padding: var(--space-3);
  }
}

/* On a phone every name in the box is a thumb tall (`layout.css`, "a thumb's worth"; Task S4):
 * the log's lines a thumb and a hair apart, so the names in them can grow without overlapping,
 * and a boss's chip a thumb of its own. A monster's name keeps a box its own size, which the
 * lift then makes a thumb, so its dotted rule sits under the word as a crawler's rule does. */
@media (max-width: 47.99em) {
  .fight-log {
    --blow-note: 0.8125rem;
  }

  /* What a blow was wraps under its row when the row is full, so on a phone it is the clause's voice: the same small italic, in
   * the same dim ink (a host's `font: inherit` made "Bad Harvest" a roman name-sized line under a small italic clause, and
   * "Tithe Rat 2 Haymaker" one name; V-CLAUSE2). Doubled, as `.blow .blow-name` is, to beat `.hover-host`. */
  .blow .blow-skill {
    font-size: var(--blow-note);
    font-style: italic;
  }

  .blow .blow-skill:not(:hover, :focus-visible) {
    color: var(--parchment-dim);
  }

  .blow-who {
    line-height: 1.6rem;
  }

  .blow .blow-name {
    line-height: 1.2;
  }
}

/* The two sides stack by themselves when the box is narrow (`fight_frame.css`); the log's result column
 * narrows to what a two-digit hit needs. */
@container fight (max-width: 29.99rem) {
  .fight-log {
    --blow-result: 7rem;
  }

  /* The feed's box (a cam, `/live`) is under 300 px at 375: beside a column the names took two or three lines a
   * swing (L14-WEB), and under them (the number on a line of its own) every swing was two and the card twice as long
   * (DB-FIGHT, the designer: "miss" and "hit 4" stacked under each line). The names, the band and the skill run as one
   * sentence in the first column and the result is pinned to the right of line one (DB-HAPPY H1, B10, the owner's #17:
   * rows share a baseline; a long row dropped "hit 26" onto a line of its own while its siblings kept it on theirs).
   * The fight page's phone rows are the same (`pages/fight_roster.css`). */
  .blow {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .blow-who {
    display: block;
  }

  .blow-result {
    flex-wrap: nowrap;
    line-height: 1.6rem;
  }

  .blow-skill {
    display: inline-block;
    max-width: 100%;
  }

  .blow-kill {
    flex-basis: auto;
    white-space: nowrap;
  }
}

/* Health as a bar, and a level as a badge on the face — `health_bar.js`, `sigil.js` (R161, R162; the owner, 2026-11-13, MB3-BAR).
 *
 * The bar is a plain continuous track and a fill in one of three steps (`--health-*`, tokens.css); no word stands beside it anywhere.
 * Two `<meter>`s are its lengths (the CSP forbids a width, a meter's value is an attribute): the fill, and under it the segment, which
 * reaches to where a fight's round began (a loss, hatched in the parchment) or from there to now (a heal, in the flood). A fight's bar is tall
 * enough to hold its figures, "18/100 (−12)": on hover under a pointer, always on a touch screen. Each engine names the meter's parts. */

.hbar {
  --hbar-fill: var(--health-healthy);
  position: relative;
  display: block;
  flex: none;
  inline-size: var(--hbar-w, 3.5rem);
  block-size: var(--hbar-h, 4px);
  background: var(--bar-empty);
}

.hbar--hurt {
  --hbar-fill: var(--health-hurt);
}

.hbar--critical {
  --hbar-fill: var(--health-critical);
}

.hbar-fill,
.hbar-segment {
  position: absolute;
  inset: 0;
  display: block;
  inline-size: 100%;
  block-size: auto;
  appearance: none;
  background: transparent;
  border: 0;
}

/* A meter's bar and value are given the bar's height in pixels: left at "100%" Chromium drew the value half the bar's height and centred, which a 4 px bar
 * hid and an 18 px one did not (MB3-ROW). */
.hbar-fill::-webkit-meter-bar,
.hbar-segment::-webkit-meter-bar,
.hbar-fill::-webkit-meter-optimum-value,
.hbar-fill::-webkit-meter-suboptimum-value,
.hbar-fill::-webkit-meter-even-less-good-value,
.hbar-segment::-webkit-meter-optimum-value,
.hbar-segment::-webkit-meter-suboptimum-value,
.hbar-segment::-webkit-meter-even-less-good-value {
  block-size: var(--hbar-h, 4px);
}

.hbar-fill::-webkit-meter-bar,
.hbar-segment::-webkit-meter-bar {
  background: transparent;
  border: 0;
  border-radius: var(--radius-0);
}

.hbar-fill::-webkit-meter-optimum-value,
.hbar-fill::-webkit-meter-suboptimum-value,
.hbar-fill::-webkit-meter-even-less-good-value {
  background: var(--hbar-fill);
}

.hbar-fill::-moz-meter-bar {
  background: var(--hbar-fill);
}

/* What a round took: a hatched run of the parchment past the fill's end. It reads as "there, and gone", and tells apart from every fill at a glance. */
.hbar-segment::-webkit-meter-optimum-value,
.hbar-segment::-webkit-meter-suboptimum-value,
.hbar-segment::-webkit-meter-even-less-good-value {
  background: repeating-linear-gradient(135deg, var(--health-lost) 0 2px, transparent 2px 4px);
}

.hbar-segment::-moz-meter-bar {
  background: repeating-linear-gradient(135deg, var(--health-lost) 0 2px, transparent 2px 4px);
}

/* What a round gave back, from where it began to now: solid, in a colour of its own. */
.hbar--heal .hbar-segment::-webkit-meter-optimum-value,
.hbar--heal .hbar-segment::-webkit-meter-suboptimum-value,
.hbar--heal .hbar-segment::-webkit-meter-even-less-good-value {
  background: var(--health-healed);
}

.hbar--heal .hbar-segment::-moz-meter-bar {
  background: var(--health-healed);
}

/* A nameplate: the name over its bar. The bar is the name's rule (a full one read as a second underline 4 px under the link's), so the link's own line
 * waits for a pointer or the keyboard (`typography.css`, `--link-line`). One list for every row that draws it. */
.fighter--plate,
.board-table .board-name,
.vote-option-label:has(> .hbar),
.viewer-panel--follows .viewer-row,
.dossier-mate {
  --link-line: none;
}

/* The nameplate's bar, in every list that draws one under a name (the roster, a room's who is here, a vote, the issued crawler, a party mate, a box's rows,
 * the cam's strip): the same track, height and gap, whatever the name above it is (R161, FRZ-BAR). A bar the row cannot hold shortens to the row. */
.board-bar .hbar,
.vote-option-label > .hbar,
.dossier-mate-plate > .hbar,
.issued-plate > .hbar,
.viewer-facts > .hbar,
.fighter--plate .hbar,
.cam-strip-vitals .hbar {
  --hbar-w: var(--hbar-track);
  --hbar-h: var(--hbar-plate-h);
  max-inline-size: 100%;
  margin-block-start: var(--hbar-plate-gap);
}

/* A followed crawler's mark is the ring on its face; where a bar stands under the name, a cyan rule under it would be a second line over the bar's. */
.fighter--plate .is-yours-link:not(:hover, :focus-visible),
.board-table .board-name.is-yours-link:not(:hover, :focus-visible),
.vote-option-label .is-yours-link:not(:hover, :focus-visible),
.issued-plate .is-yours-link:not(:hover, :focus-visible),
.dossier-mate .is-yours-link:not(:hover, :focus-visible),
.viewer-panel--follows .is-yours-link:not(:hover, :focus-visible) {
  text-decoration: none;
}

/* A health figure or a `<meter>` told its step (the cam's vitals, which keep their exact numbers): the bar's colours as a text colour. */
.health--healthy {
  color: var(--health-healthy);
}

.health--hurt {
  color: var(--health-hurt);
}

.health--critical {
  color: var(--health-critical);
}

/* --- a fight row's figures ------------------------------------------------------------------------------------------------------ */

/* "82/144 −48" (`health_bar.healthFigures`), a part of the fight row (`fight_frame.css` places it at the first line's right end), never drawn on the bar
 * (the owner, 2026-11-14: "nothing ever covers a number"). The figure is the step's colour and the change the colour its segment wears: a loss the
 * hatch's parchment, a heal the flood. Under a pointer they show while the row is hovered or has the keyboard (the row's height and its figures' place
 * never change: only their opacity), on a touch screen always. */
.hbar-figures {
  font-family: var(--font-system); /* the vitals' face: a health figure is one face wherever it stands (MB3-I7-MISC, as `.t-readout`) */
  font-variant-ligatures: none;
  font-size: var(--text-12);
  font-variant-numeric: tabular-nums lining-nums;
  font-weight: 500;
  color: var(--parchment);
  opacity: 0;
  transition: opacity var(--duration-fast, 120ms) var(--ease-out);
}

.hbar-figures--healthy .hbar-now {
  color: var(--health-healthy);
}

.hbar-figures--hurt .hbar-now {
  color: var(--health-hurt);
}

.hbar-figures--critical .hbar-now {
  color: var(--health-critical);
}

.hbar-change--loss {
  color: var(--health-lost);
}

.hbar-change--heal {
  color: var(--health-healed);
}

.fighter:hover .hbar-figures,
.fighter:focus-within .hbar-figures {
  opacity: 1;
}

@media (hover: none) {
  .hbar-figures {
    opacity: 1;
  }
}

/* --- a level, as a badge on the face -------------------------------------------------------------------------------------------- */

/* A face and its level as one thing. Beside: the badge to the right of a small face, before the name. Corner: on the bottom-right corner of a big
 * one, half over its edge so it hides a sixteenth of a 40 px face. The follow's ring (a shadow on the face) and the dead mark (the face's own
 * overlay, corner to corner on the other diagonal) are the face's: the badge sits over neither. */
.face-lv {
  position: relative;
  /* its face's width, never a grid column's: the badge hangs 6 px off the wrapper, and off a stretched one it hung past the column into the name */
  inline-size: fit-content;
  display: inline-flex;
  flex: none;
  align-items: center;
  vertical-align: middle;
  line-height: 0;
}

.face-lv--beside {
  gap: 3px;
}

/* In a server-drawn face's placeholder (`hydrateSigils`) the wrapper is the placeholder's own block, so no line box sits the face on a baseline. */
[data-sigil] > .face-lv {
  display: flex;
}

.face-lv--corner > .level-badge {
  position: absolute;
  inset-inline-end: calc(-1 * var(--badge-over));
  inset-block-end: calc(-1 * var(--badge-over));
  z-index: var(--z-base);
  /* The follow's 2 px ring runs round the face under this corner: the badge's own 2 px of ground notches it, so the ring ends clean against the
   * badge and is never half-hidden by its rim (MB3-BAR2). */
  box-shadow: 0 0 0 2px var(--ink);
}

/* The number is the page's own serif, lining and tabular, in a hairline circle of the ground: a level is a number, never a colour a bar could be. */
.level-badge {
  box-sizing: border-box;
  display: inline-grid;
  flex: none;
  place-items: center;
  min-inline-size: 20px;
  block-size: 20px;
  padding-inline: 2px;
  border: 1.5px solid var(--parchment-dim);
  border-radius: var(--control-radius-pill);
  /* one filled disc in every place (R162): beside a small face it was the ground's own colour, so it read as an outline next to the corner's disc */
  background: color-mix(in srgb, var(--parchment-dim) 14%, var(--ink)); /* dark enough for its numeral at 4.5:1 (`page_contrast`) */
  box-shadow: 0 0 0 2px var(--ink);
  font-family: var(--font-prose);
  font-size: var(--text-12);
  font-variant-numeric: tabular-nums lining-nums;
  font-weight: 600;
  line-height: 1;
  color: var(--parchment);
}

/* The cam's portrait: a badge in proportion to a 160 px face. */
.level-badge--large {
  min-inline-size: 30px;
  block-size: 30px;
  font-size: var(--text-16);
}

.face-lv--corner > .level-badge--large {
  inset-inline-end: -8px;
  inset-block-end: -8px;
}

/* The fighters' rows — `fight_row.js`, `fight_frame.js`, `fight_roster.js` (FIGHTFRAME, #34; R25, R12, R159, R161, R162; MB3-ROW, MB3-R6-FIGHT): the fight
 * page's pane, a room's "Fights here now" and the feed's, a cam's and a floor's fight box (the FIGHT row), and a room's "Who is here" (the NAMEPLATE row).
 *
 * The fight row, one at every width, count and page, TWO LINES (the owner, 2026-11-14, from a sketch): line 1 the face wearing its level badge, the call name
 * with its mark and, at the row's right end, the figures "82/144 −48" (`health_bar.css`); line 2 the bar, across the row from the name's left edge to the
 * figures' right edge, 10 px tall, with nothing drawn on it. Only for one with no bar to draw does a word stand at the figures' place, "out, third place" or
 * "in another fight", over an empty track. A row never drops, shortens or moves a part; the layout around it gives (`roster_fit.js`).
 *
 * The sides (`fight_frame.framesOf`): ABREAST, two equal columns with a "vs" rule down the gutter, when they are of a similar length; a BAND when one is more
 * than twice the other: the short side over the long one in as many columns as fit (`fframes--cols-2`, `-3`), a "vs" rule across between them, so no hole
 * stands under the short side; STACKED, one column, where nothing fits abreast. Every row is the width of its column, so a side's bars are one length.
 *
 * The nameplate row (`.fighter--plate`): the same face and badge, the name, and the bar UNDER the name, as wide as the list's name column and thin, with no
 * figures: a list of who is here says how each stands without a bar's length floating by the next row's name. */

.fframes-box {
  min-width: 0;
}

/* The room's lists of who is here draw the same rows on the same measures (`blocks/room.css`). */
.fframes,
.room-card-people,
.room-card-monsters {
  /* A face and its level badge on its corner (R162), as a fight row's: the face column is the face and the badge's overhang. */
  --fighter-face: 36px;
  --face-col: calc(var(--fighter-face) + var(--badge-over));
  /* `--row-gap` is the clear step between the name and the figures (a plate's: its word), `--name-gap` the face's to its name, `--col-gap` between two
   * columns of rows, `--vs-gutter` the "vs" rule's column between two sides abreast, `--bar-h` the fight row's bar. */
  --row-gap: var(--space-3);
  --name-gap: var(--space-2);
  --name-size: var(--text-16);
  --col-gap: var(--space-5);
  --vs-gutter: 3rem;
  --bar-h: 10px;
}

.fframes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

/* Abreast: the two sides' columns are equal (`1fr` each), so the same health is the same length on both, and "vs" stands in the gutter between them. */
.fframes--abreast {
  grid-template-columns: minmax(0, 1fr) var(--vs-gutter) minmax(0, 1fr);
}

.fframes--abreast.fframes--stacked {
  grid-template-columns: minmax(0, 1fr);
}

.fframes-side {
  min-width: 0;
}

/* Stacked, the side that draws fewer rows leads (R159: a phone's first screen holds the short side whole; `framesOf` says which in `data-fewer`). */
.fframes--stacked[data-fewer="far"] .fframes-side--far {
  order: 0;
}

.fframes--stacked[data-fewer="far"] .fframes-vs {
  order: 1;
}

.fframes--stacked[data-fewer="far"] .fframes-side--near {
  order: 2;
}

/* --- the heads: each side's count and how many stand -------------------------------------------------------------------------- */

.fframes-head {
  min-width: 0;
  max-inline-size: 60ch; /* a head is a count, never a measure: a band's side is the pane's whole width */
  white-space: nowrap; /* it never wraps (MB3-FIGHT4): `roster_fit.js` stacks the sides when one's head does not fit its side; a party's name is a line of its own (`.fframes-party`) */
  margin: 0 0 var(--space-2);
  font-size: var(--text-12);
  letter-spacing: var(--track-caps);
  text-align: start;
  text-transform: uppercase;
  color: var(--parchment-faint);
}

.fframes-head--none {
  display: block;
}

/* A party's name under the count, set as a caption and not as a second line of tracked caps: it wraps in the side's width and never sizes the columns
 * (a long gang's name is no reason to stack the sides). */
.fframes-party {
  display: block;
  contain: inline-size;
  white-space: normal;
  margin-block-start: var(--space-1);
  font-family: var(--font-prose);
  font-size: var(--text-14);
  letter-spacing: normal;
  line-height: var(--leading-chrome);
  text-transform: none;
  color: var(--parchment-dim);
}

/* Abreast, the two sides share their rows: a head that runs a line longer (a party's name) pushes both lists down, so the rows of one side stand level with
 * the other's and the "vs" rule runs the whole of both. */
.fframes--abreast:not(.fframes--stacked) {
  grid-template-rows: auto auto;
}

.fframes--abreast:not(.fframes--stacked) > .fframes-side {
  display: grid;
  grid-row: 1 / span 2;
  grid-template-rows: subgrid;
  align-content: start;
}

.fframes--abreast:not(.fframes--stacked) > .fframes-vs {
  grid-row: 1 / span 2;
}

/* The shorter list keeps its rows' own height, never stretched to the longer one's. */
.fframes--abreast:not(.fframes--stacked) .fframes-list {
  align-content: start;
}

/* --- the lists: a column of rows, or a band's and a long side's columns ------------------------------------------------------- */

.fframes-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: var(--col-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.fframes--cols-2 .fframes-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fframes--cols-3 .fframes-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* A side's folded lines (R159: past six gone) close its list across all its columns; its own text never sizes one. */
.fframes-tail {
  grid-column: 1 / -1;
  contain: inline-size;
  min-width: 0;
  list-style: none; /* an <li>: no marker in the page's margin */
}

.fframes-tail-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* The line that opens what a phone keeps back (`fight_roster.opener`) stands under its own side's rows, across its columns. */
.fframes-more {
  grid-column: 1 / -1;
  min-width: 0;
  list-style: none;
}

/* "vs": the card's, the lead's size, italic. Abreast it is a rule down the gutter with the word on it; a band's and a stack's is the same rule across. */
.fframes-vs {
  display: flex;
  align-items: center;
  font-family: var(--font-prose);
  font-size: var(--text-lead);
  font-style: italic;
  line-height: 1;
  color: var(--muted);
}

.fframes--abreast .fframes-vs {
  flex-direction: column;
  align-self: stretch;
  gap: var(--space-2);
}

.fframes--abreast .fframes-vs::before,
.fframes--abreast .fframes-vs::after {
  content: "";
  flex: 1 1 0;
  min-block-size: var(--space-3);
  border-inline-start: 1px solid var(--rule-strong);
}

.fframes--band .fframes-vs,
.fframes--stacked .fframes-vs {
  flex-direction: row;
  gap: var(--space-3);
  padding-block: var(--space-3);
}

.fframes--band .fframes-vs::before,
.fframes--band .fframes-vs::after,
.fframes--stacked .fframes-vs::before,
.fframes--stacked .fframes-vs::after {
  content: "";
  flex: 1 1 0;
  border-block-start: 1px solid var(--rule-strong);
}

/* Stacked after abreast fell back: the rule across, not down. */
.fframes--abreast.fframes--stacked .fframes-vs::before,
.fframes--abreast.fframes--stacked .fframes-vs::after {
  border-inline-start: 0;
  min-block-size: 0;
}

/* --- a fight row ------------------------------------------------------------------------------------------------------------- */

/* Face | name | figures on the first line, the bar on the second, under the name and the figures; the face stands across both lines. The name's column is
 * `min-content` and its name `nowrap`, so a row too narrow for its name overflows itself (`roster_fit.js` measures that). */
.fighter--near,
.fighter--far {
  /* The face is as tall as the row's two lines (R89: a face reads at the size of what it stands beside), its level badge on its corner (R162). */
  --fighter-face: 36px;
  --face-col: calc(var(--fighter-face) + var(--badge-over));
  display: grid;
  grid-template-columns: var(--face-col) minmax(min-content, 1fr) auto;
  align-items: center;
  align-content: start;
  min-width: 0;
  min-block-size: calc(var(--fighter-face) + 3px);
  /* A row is never wider than it needs to read: a column wider than this leaves the bar this long, not a ribbon across a desk (MB3-R6-FIGHT2). */
  max-inline-size: 28rem;
  padding-block: 1px 2px;
}

/* ... unless a name needs more than that on one line (`roster_fit.js` lifts the cap before it stacks the sides or breaks the name). */
.fframes--uncapped .fighter--near,
.fframes--uncapped .fighter--far {
  max-inline-size: none;
}

.fighter-face {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  gap: 3px;
  line-height: 0;
}

/* A fight row's face: the face alone in its square, the level's badge on its bottom-right corner, over the edge by the token's overhang (`health_bar.css`
 * `.face-lv--corner`): the same corner at 36 px as everywhere a face is that big. The nameplate rows (a room's who is here) are the same, so a person and a monster wear it alike. */
.fighter--near .fighter-face,
.fighter--far .fighter-face,
.fighter--plate .fighter-face {
  position: relative;
  display: block;
  align-self: center;
  inline-size: var(--fighter-face);
  block-size: var(--fighter-face);
}

.fighter--near .fighter-face > .level-badge,
.fighter--far .fighter-face > .level-badge,
.fighter--plate .fighter-face > .level-badge {
  position: absolute;
  inset-inline-end: calc(-1 * var(--badge-over));
  inset-block-end: -2px;
  z-index: var(--z-base);
  box-shadow: 0 0 0 2px var(--ink);
}

.fighter .sigil {
  --sigil-px: var(--fighter-face);
}

/* A monster's slot: no portrait, but the portrait's own size, so its name starts where a crawler's does. */
.fighter-face--none {
  display: block;
  inline-size: var(--fighter-face);
  block-size: var(--fighter-face);
}

/* A monster's tile wears its level on its bottom-right corner (`fight_frame.faceOf`, MB3-ROW): the face column is the crawlers' own, so every name starts at one
 * x, and the badge stands over the tile's corner and no further, so the monster's own number ("Chalk Widow 3") has the name's side of the row to itself. */
.fighter-face--tile {
  position: relative;
  display: block;
  inline-size: var(--face-col);
  block-size: var(--fighter-face);
}

.hover-monster .fighter-face--tile > .level-badge {
  position: absolute;
  inset-inline-start: calc(var(--fighter-face) - 6px);
  inset-block-end: 0;
  box-shadow: 0 0 0 2px var(--ink);
}

/* The folded line draws the state's mark where a face would stand: the same 14 px icon as after a name, centred in the face's own square. */
.fighter-face--walked {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* A monster's kind glyph (`fight_frame.faceOf`): the portrait's own square, in the monsters' ochre (R98), so a monster's row is a face and a name
 * like a crawler's. A boss's is filled and wears a double rule, so a floor boss is told from a kind at a glance (R18). */
.fighter-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  inline-size: var(--fighter-face);
  block-size: var(--fighter-face);
  box-sizing: border-box;
  /* The amber frame is the boss's alone (R89): a kind's tile is the ochre glyph on a quiet ground, and whether it stands is its bar's to say. */
  border: 1px solid var(--rule);
  background: color-mix(in srgb, var(--fray) 8%, var(--surface-raised));
  font-family: var(--font-prose);
  font-size: var(--text-14);
  font-weight: 600;
  line-height: 1;
  color: var(--fray);
}

.monster-sigil {
  inline-size: 68%;
  block-size: 68%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fighter-tile--boss {
  background: color-mix(in srgb, var(--fray) 24%, var(--surface-raised));
  color: var(--parchment);
  border-color: var(--fray);
  outline: 1px solid color-mix(in srgb, var(--fray) 60%, var(--rule));
  outline-offset: 1px;
}

.fighter--down .fighter-tile {
  border-color: var(--rule);
  background: var(--surface-raised);
  color: var(--parchment-faint);
}

/* The name is one line, whole: never an ellipsis (R159). The mark stands on the name's own line. Only where not even a column of its own holds it on a line
 * (a 320 px phone, a room's narrowest rail: `fframes--wrap`) does it break, at a space. */
.fighter-name {
  grid-column: 2;
  grid-row: 1;
  align-self: baseline;
  margin-inline-start: var(--name-gap);
  white-space: nowrap;
  font-size: var(--name-size);
  line-height: 1.25;
}

.fframes--wrap .fighter-name {
  white-space: normal;
}

.fighter--boss .fighter-name {
  font-weight: 600;
}

/* The bar is the second line, from the name's left edge to the figures' right edge (`grid-column: 2 / -1`), as tall as `--bar-h` at every width and for every
 * row, so a row's height never depends on its state. Who fell leaves the track with nothing in it, dimmed, and says "no health left" in the same place. */
.fighter--near .hbar,
.fighter--far .hbar,
.fighter-track {
  --hbar-h: var(--bar-h);
  grid-column: 2 / -1;
  grid-row: 2;
  margin: 3px 0 0 var(--name-gap);
  inline-size: auto;
}

.fighter-track {
  display: block;
  block-size: var(--bar-h);
  background: color-mix(in srgb, var(--bar-empty) 45%, transparent);
}

/* The figures stand at the first line's right end, on the name's baseline; the word that stands where they would ("out, third place", "in another fight")
 * takes the same place. */
.fighter--near .hbar-figures,
.fighter--far .hbar-figures,
.fighter--near .fighter-word,
.fighter--far .fighter-word {
  grid-column: 3;
  grid-row: 1;
  align-self: baseline;
  margin-inline-start: var(--row-gap);
  text-align: end;
  white-space: nowrap;
  line-height: 1.25;
}

.fighter-word--away .fighter-state {
  letter-spacing: 0;
  text-transform: none;
}

/* --- the nameplate row: the bar under the name ------------------------------------------------------------------------------------ */

/* "Who is here" (`blocks/room.js`): the face and its badge span the name and the bar under it; the bar is as wide as the list's name column (every name's
 * longest) and thin, no figures; a word ("fighting") stands after the name in a column of its own. The list is the grid the rows' subgrid stands on. */
.fighter--plate {
  display: grid;
  grid-template-columns: subgrid;
  align-items: center;
  align-content: start;
  align-self: start;
  min-width: 0;
  min-block-size: calc(var(--fighter-face) + var(--space-2));
  padding-block-end: var(--space-1);
}

.fighter--plate .fighter-face {
  align-self: center;
}

.fighter--plate .hbar {
  grid-column: 2;
  grid-row: 2;
  margin-inline-start: var(--name-gap);
}

.fighter--plate .fighter-word {
  grid-column: 3;
  margin-inline-start: var(--row-gap);
}

/* A boss left on a fallen floor's stair has no health to show and a long thing to say ("still holds the stair", `blocks/room.js`): it stands under the
 * name, wrapping in the row, where the bar would have been. */
.fighter--plate .fighter-word--away {
  grid-column: 2 / -1;
  grid-row: 2;
  margin-inline-start: var(--name-gap);
}

.fighter-word {
  white-space: nowrap;
}

.fighter-state {
  font-size: var(--text-12);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--parchment-dim);
}

/* A name and its mark are plain inline text (`fight_row.fightRow`): the icon follows the name on its own line, a word joiner keeping it there. */
.fighter-nameplate {
  display: inline;
}

/* A fighter out of the fight is the feed card's icon after the name (`fight_lineup.css`), a hair off the name; the strike never reaches it. */
.fighter-name .fight-lineup-state {
  display: inline;
  padding-inline: 7px;
  margin-inline: var(--space-1) 0;
  -webkit-mask-size: 14px 14px;
  mask-size: 14px 14px;
  translate: 0 var(--mark-lift, 3px);
}

.fighter--down .fighter-name .fight-lineup-state {
  text-decoration: none;
}

/* Down: struck through, and dimmed so the living lead the eye. Gone: dimmed, out of reach rather than out of health. Muted by colour, not
 * `opacity`: 0.6 over the faint word measured 2.4:1 (TYPE, 2026-10-08), and the name inside it opens a hover card that opacity would have made
 * see-through. */
.fighter--down .fighter-name,
.fighter--down .fighter-name > *,
.fighter--down .fighter-nameplate > * {
  color: var(--parchment-dim);
}

/* One strike, the row's: the name's own line, in blood, whatever the name is (a link, a hover host) and whatever else tints it (`name_tint.js`'s underline on a
 * name under the pointer or the keyboard must not swap the strike for its own parchment rule). */
.fighter--down .fighter-name .fighter-nameplate > :first-child,
.fighter--down .fighter-name .fighter-nameplate > .name-tinted:first-child {
  text-decoration: line-through 1px var(--blood);
}

.fighter--gone .fighter-name,
.fighter--gone .fighter-name > *,
.fighter--gone .fighter-nameplate > *,
.fighter--gone .fighter-state {
  color: var(--parchment-faint);
}

/* --- a side's folded lines: "6 ran: A, B …", "2 fell: D and E" ----------------------------------------------------------------- */

.fighter--walked {
  contain: inline-size; /* it spans the side and wraps in it: its one-line width must not size the side's columns */
  grid-template-columns: var(--face-col) minmax(0, 1fr); /* the rows' own face column, badge included: a folded name starts where a row's does */
  align-items: start;
  min-block-size: 0;
  padding-block: 0;
  margin-block: var(--space-1);
}

.fighter--walked .fighter-name {
  grid-column: 2;
  white-space: normal;
  color: var(--parchment-dim);
  line-height: 1.4;
}

/* The line is a count that opens its names (the site's fold, a caret after the words): a bare button in the row's own face and dimness. */
.fighter-fold {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.fighter-fold::after {
  content: "▾";
  content: "▾" / "";
  color: var(--parchment-faint);
}

.fighter-fold[aria-expanded="true"]::after {
  content: "▴";
  content: "▴" / "";
}

.fighter-fold:hover,
.fighter-fold:focus-visible {
  color: var(--parchment);
}

/* Opened, the names of those who fell or ran stand under both sides, across the pane (a column of 200 px broke "Mirror / Double 13"): set between names,
 * each whole. */
.fframes-gone {
  grid-column: 1 / -1;
  order: 3; /* after a stacked pane's sides (`data-fewer` orders them 0 to 2) */
  min-width: 0;
  margin-block-start: var(--space-3);
  padding-block-start: var(--space-2);
  border-top: 1px solid var(--rule);
  font-family: var(--font-prose);
  font-size: var(--text-14);
  line-height: 1.7;
  color: var(--parchment-dim);
}

.fframes-gone[hidden] {
  display: none;
}

.fframes-gone a,
.fframes-gone .hover-host {
  white-space: nowrap;
}

.fframes-gone-lead {
  margin-inline-end: var(--space-2);
  color: var(--parchment-faint);
}

.fighter--walked .fighter-face {
  block-size: 1.25rem;
  inline-size: var(--fighter-face); /* the mark stays centred on where the face is */
}

/* --- phones: the same row, a step smaller ------------------------------------------------------------------------------------- */

@media (max-width: 29.99em) {
  .fight-roster-summary,
  .fight-roster-body {
    padding-inline: var(--space-2);
  }
}

/* A 320 px screen: the face gives up a step more and the gaps a step less; the bar and its figures keep their sizes (no stub bar, no dropped figure). */
@media (max-width: 22.49em) {
  .fframes,
  .room-card-people,
  .room-card-monsters {
    --fighter-face: 32px;
    --row-gap: var(--space-2);
    --name-gap: var(--space-1);
  }

  .fight-roster-summary,
  .fight-roster-body {
    padding-inline: var(--space-1);
  }
}

/* The item and stat cards — `blocks/cards.js` (spec §13.6; the reader rebuild, 2026-09-25).
 *
 * A compact panel on the raised surface, one step above the page: the kind and a name in the
 * show's serif, the numbers as the world's readouts. Everything drawn here reads AA on
 * `--surface-raised` as well as on the ground the contrast test measures against. */

/* --- cards ------------------------------------------------------------------------- */

.card {
  max-width: 46ch;
  padding: var(--space-3);
  border: 1px solid var(--rule);
  background: var(--surface-raised);
}

/* "ITEM · RARE" / "CRAWLER": what the card is, before what it is called. */
.card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-1) var(--space-2);
}

/* The rarity's colour is typography.css's (`.rarity-*`); the word is set like a label. */
.card-rarity {
  font-size: var(--text-12);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
}

.card-name {
  margin: var(--space-1) 0 0;
  font-size: var(--text-lead);
  line-height: 1.2;
}

/* A person's name wears their face; "called …" sits beside it when the short name is not
 * simply their first word (R4). */
.stat-card .card-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1) var(--space-3);
}

.card-called {
  font-size: var(--text-14);
  font-weight: 400;
  font-style: italic;
  color: var(--parchment-dim);
}

.card-flavor {
  margin-top: var(--space-1);
  font-size: var(--text-14);
  font-style: italic;
  line-height: var(--leading-chrome);
  color: var(--parchment-dim);
}

/* An item's modifiers: the word in serif, the number as a readout. */
.card-mods {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-2);
  margin: var(--space-2) 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--text-14);
  line-height: var(--leading-chrome);
}

.card-mods li {
  padding: 0 var(--space-2);
  border: 1px solid var(--rule-strong);
  color: var(--parchment-dim);
}

.card-mod-value {
  color: var(--cyan);
}

/* A crawler's public card as labelled readouts, the label above, the value under, on one grid at every width (DB-A0,
 * the designer's components-2: at 320 the row reflowed unevenly, PARTY alone on a row and RANK wrapped): the three
 * numbers (level, health, floor) a row of thirds, the words (rank, party) a row of halves under them, a lone party
 * across the card. */
.card-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-2) var(--space-4);
  margin: var(--space-2) 0 0;
}

.card-stats div {
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  min-width: 0;
}

.card-stats div:nth-child(n + 4) {
  grid-column: span 3;
}

.card-stats div:nth-child(4):last-child {
  grid-column: 1 / -1;
}

.card-stats dd {
  margin: 0;
  font-size: var(--text-14);
  line-height: var(--leading-chrome);
  color: var(--parchment);
}

/* The cam-less card's health: the bar, a little taller than a row's line (R161). */
.card-stats .hbar {
  --hbar-w: 4.5rem;
  margin-block: 0.4rem;
}

/* The room card — `blocks/room.js`, the `room` state block (the reader rebuild, 2026-09-25; unframed by RO-ROOM: only a fight is a frame).
 *
 * The stage's picture of the room on camera, in the show's serif: its name big, what kind of
 * room it is in caps, the System's water in blood when the sweep has named it, the room's own
 * words dim and short, then who is here as a row of faces and what else is — the monsters as
 * tiles on the ground colour, a boss edged in the fray. Typeset on the page, no box round it. */

.room-card {
  container: roomcard / inline-size;
  display: grid;
  gap: var(--space-2);
  font-family: var(--font-prose);
  font-size: var(--text-14);
  line-height: var(--leading-chrome);
  color: var(--parchment-dim);
}

.room-card-name {
  margin: 0;
  color: var(--parchment);
  overflow-wrap: anywhere;
}

.room-card-where {
  margin-top: calc(-1 * var(--space-1));
  color: var(--parchment-dim);
}

/* The System's sweep has named the room: the one line on the card that is news, so it is
 * water (`--flood`, DR2-WEB: red is fights and deaths) and sits above the room's description. */
.room-card-levels {
  white-space: nowrap;
}

.room-card-sweep {
  padding-left: var(--space-2);
  border-left: 2px solid var(--flood);
  font-size: var(--text-16);
  color: var(--flood);
}

/* An entry hub's truce while it holds: the rule of the room, set like the sweep's warning but
 * quiet — nobody is in danger here, which is the news. */
.room-card-truce {
  padding-left: var(--space-2);
  border-left: 2px solid var(--parchment-dim);
  font-size: var(--text-16);
  color: var(--parchment);
}

/* A landing's waiting room (R53): the rule of the room, set like the truce — quiet, since
 * nobody here is in danger, and who is waiting for which floor is the news. */
.room-card-landing {
  padding-left: var(--space-2);
  border-left: 2px solid var(--parchment-dim);
  font-size: var(--text-16);
  color: var(--parchment);
}

/* The rooms the landing's people wait in are links in a sentence, and each is a target a thumb
 * lands on: `--tap` tall, the sentence's lines opened to fit (R17, 2026-10-08 — they were 16 px). */
.room-card-hub {
  display: inline-block;
  min-block-size: var(--tap);
  line-height: var(--tap);
}

/* The room's own words, whole: nothing is cut (the owner's line), a lead's size on its page. */
.room-card-words {
  font-size: var(--text-16);
  line-height: 1.45;
  color: var(--parchment-dim);
}

/* --- who is here ------------------------------------------------------------------------------ */

/* A person and a monster are the nameplate row (`fight_frame.css`, MB3-ROW): a face wearing its level, the call name with the health bar under it (thin, as
 * wide as the list's name column, no figures: nothing here is a round) and, after the name, a word for who is swinging. The list is the grid the rows' subgrid
 * stands on, one column of rows whose names, bars and words stand level; a name that does not fit the room wraps at a space rather than ever being cut. */
.room-card-people,
.room-card-monsters {
  display: grid;
  grid-template-columns: var(--face-col) minmax(calc(var(--hbar-track) + var(--name-gap)), max-content) max-content;
  justify-content: start;
  margin: var(--space-1) 0 0;
  padding: 0;
  list-style: none;
}

.room-card-people .fighter-name,
.room-card-monsters .fighter-name {
  white-space: normal;
}

.fighter--here {
  grid-column: 1 / -1;
}

.room-person-name {
  font-size: var(--text-16);
}

/* Before floor 1 (R169) what they want, in the place of a full bar: under the name, in the row's width, never cut. */
.fighter--plate > .room-person-want {
  grid-column: 2 / -1;
  grid-row: 2;
  margin-inline-start: var(--name-gap);
  font-size: var(--text-14);
  font-style: italic;
  line-height: 1.35;
  color: var(--parchment-dim);
  text-wrap: pretty;
}


.room-card-counts {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-1) var(--space-3);
}

/* "+3 more" is the page talking, in its serif at the counts' size, not the System's mono (the designer's components-2
 * #11, R18). */
.room-card-more {
  font-size: var(--text-14);
  color: var(--parchment-dim);
  font-variant-numeric: tabular-nums;
}

/* Who fell here this turn: a count, in the colour the page spends on harm. */
.room-card-fell {
  font-size: var(--text-14);
  font-style: italic;
  color: var(--blood);
}

/* Whoever is swinging this turn, in the list like everyone else (R74): the word in blood, the
 * name and the band as they were. */
.room-fighting {
  font-size: var(--text-12);
  font-style: italic;
  color: var(--blood);
}

.room-person--pve .room-fighting,
.room-monster .room-fighting {
  color: var(--fray);
}

.room-card-empty {
  font-size: var(--text-14);
  font-style: italic;
  color: var(--parchment-faint);
}

/* --- what else is here ------------------------------------------------------------------------ */


/* Doubled up because the name is a `.hover-host`, whose `font: inherit` comes later in the cascade (`hover.css`) and would
 * otherwise win the tie. */
.room-monster .room-monster-name {
  font-size: var(--text-16);
  color: var(--parchment);
}

.room-monster-boss {
  margin-inline-end: var(--space-2);
  font-size: var(--text-12);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--fray);
}

/* The panels — `blocks/state.js`: the camera's floor clock, the board's top eight, the rooms
 * off camera, the desk and the story so far (spec §13.6; the reader rebuild, 2026-09-25). The
 * vote is `vote.css`'s.
 *
 * They replace their predecessor in a slot rather than scrolling past, so they are read by
 * glancing — which is a reason for hierarchy, not for mono. The show's words are serif and its
 * section labels serif caps (`.t-label`); the System's mono is only what it counts, the clock
 * and the numbers (`.t-readout`). The container is the page's (`.panel`, a rail card): a
 * panel draws no box of its own unless it *is* a card — a room off camera, a moment, a pick.
 */

/* --- every panel ------------------------------------------------------------------------ */

/* `:where()`, so this is a floor under a panel rather than a rule over it: at specificity 0 a
 * block's own class wins whichever sheet it is in and wherever that sheet is linked — the
 * room card and the map (`room.css`, `map.css`) wear `.state-block` too and set their own. */
:where(.state-block) {
  font-family: var(--font-prose);
  font-size: var(--text-14);
  line-height: var(--leading-chrome);
  color: var(--parchment-dim);
}

/* A panel with nothing to say (`data-empty`, `state.js`'s `empty()`): it takes no room, and
 * the page folds the slot around it. */
.state-block[data-empty] {
  display: none;
}

.state-head {
  margin: 0 0 var(--space-2);
}

/* --- the floor clock ---------------------------------------------------------------------- */

/* The only collapse clock on a page (R12): the countdown is the panel, the label says whose
 * clock it is, and the line under it says who it is counting down on. */
.floor-status {
  container-type: inline-size;
}

/* The clock's name is the way to the floor's map (R108): the label's own colour under the one rest rule every
 * text link wears (`--link-rest`, SR2-VISUAL L5: it was dotted, which is a card host's mark), a stronger line when
 * pointed at. */
.floor-status-map {
  color: inherit;
  text-decoration: underline 1px var(--link-rest);
  text-underline-offset: 0.25em;
}

.floor-status-map:hover {
  text-decoration-color: currentColor;
}

/* One line whatever the words: the season's "the season ends in 1 min" wrapped an orphan "1 min" in
 * the rail's width, so the size gives to the panel's own width (a mono character is 0.6 em, 26 of them
 * in "the season ends in 6 turns": 17, not 15, L33-LIVEPAGE) rather than the words to the line (I9-WEB). */
.floor-clock,
.floor-opens {
  margin: 0 0 var(--space-1);
  font-size: clamp(var(--text-16), 100cqi / 17, var(--text-prose));
  white-space: nowrap;
  line-height: 1.25;
  color: var(--parchment);
  overflow-wrap: break-word;
}

/* The turn the floor falls at, on a line of its own under the countdown and a step smaller:
 * the masthead's own count, so "130h" and "turn 120" can be held up against each other. A line
 * and not a clause, so no width of rail breaks it before a stranded dot. */
.floor-clock-at {
  display: block;
  font-size: var(--text-14);
  color: var(--parchment-dim);
  white-space: nowrap;
}

/* The last floor's door can end the season before its turn: said under it, wrapping as prose
 * does (I4: held on the turn's unbreakable line, it ran 190 px off a phone). */
.floor-clock-sooner {
  display: block;
  white-space: normal;
  font-family: var(--font-prose);
  font-size: var(--text-14);
  color: var(--parchment-dim);
}

/* In the floor's last ten turns the clock is acid at the larger mono size (R18: colour is state; R98: blood is for
 * fights between crawlers and for deaths, and a clock is the System's, L32-ENDPAGE2) — parchment until then. */
.floor-status--urgent .floor-clock {
  font-size: clamp(var(--text-16), 100cqi / 17, var(--text-lead));
  color: var(--acid);
}

.floor-counts {
  margin: 0;
}

.floor-counts .t-readout {
  color: var(--parchment);
}

/* --- the board ------------------------------------------------------------------------------ */

/* --- the roster row ---------------------------------------------------------------------- */

/* One grid for every list of crawlers that shows a rank, a name, a level and a way on (#3, R17,
 * R12): the board's rows here, "going down" between floors (`intermission.css`). Rank in the
 * gutter (three digits fit, so a cam's own board starts where its crawler stands), the name over
 * a muted line, the figure right-aligned; the name is the way on. Baseline-aligned on the first line, so the serif
 * name and the readouts sit on one line of type; the name is the link's baseline, not the face's.
 * The old row let the room link and the cam link wrap under the level, and the level under the
 * rank at 375. */
.roster-row {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr) auto;
  grid-template-areas:
    "rank who figure"
    ". line line";
  align-items: baseline;
  column-gap: var(--space-2);
  padding: var(--space-1) 0;
  border-bottom: 1px solid var(--rule-soft);
}

.roster-row:last-child {
  border-bottom: 0;
}

.roster-rank {
  grid-area: rank;
  text-align: end;
  color: var(--parchment-faint);
}

/* The rank and the figure are readouts beside a name: a size of their own, under the name's, so a
 * row that inherits a prose-sized li (the front page's) does not shout its level. */
.roster-rank,
.roster-figure {
  font-size: var(--text-14);
}

.roster-row:first-child .roster-rank {
  color: var(--parchment);
}

/* A name that wraps under itself rather than one cut off: a name nobody can read in full is
 * a name nobody can look up (QA, 2026-09-22). */
.roster-name {
  grid-area: who;
  min-width: 0;
  color: var(--parchment);
}

.roster-figure {
  grid-area: figure;
  justify-self: end;
  white-space: nowrap;
  text-align: end;
  color: var(--parchment-dim);
}

/* The finale board's head carries when the season ends (`board_clock.js`, DB-ALL2 A16): the head and the time on one line,
 * the time wrapping under the head only as a unit. */
.standings > .state-head:has(.standings-clock) {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-1) var(--space-4);
}

@media (max-width: 47.99em) {
  /* Beside the head where it fits (a phone's first moment is counted in rows), clear of the "All" button at the card's corner. */
  .standings > .state-head:has(.standings-clock) {
    justify-content: flex-start;
    padding-right: 4.5rem;
  }
}

.standings-clock {
  letter-spacing: normal;
  text-transform: none;
  font-size: var(--text-14);
  color: var(--parchment);
}

/* The rule line under the board's head: what fame is, and on the bottom floor what ends the season. At
 * 83 ch on a home card at 768 it ran past a reader's measure (`page_measure`, I12). */
.standings-rule {
  max-width: 70ch;
}

/* A flex container takes its baseline from an item that asks to be aligned by one, so this
 * makes the name the line the row's rank and readouts sit on. */
.roster-name .crawler-link-name {
  align-self: baseline;
  overflow-wrap: anywhere;
}

/* A crawler's name in a list, a row or a card is one size (#3, `page_component_consistency`): a
 * face and a name are the list form of the link (`parts.crawlerLink`, `sigil`), and drawn at
 * `--text-16` wherever it stands. A name inside a sentence takes the sentence's size instead,
 * and one in a heading the heading's; neither is set here. A floor's kill rows have no face: their plain
 * link took the page's fluid prose size, 18.4 px at 768 to 20 at 1440 (MB38B-CAMFIT). */
.crawler-link--sigil,
.roster-name,
.floor-brief-kill .crawler-link {
  font-size: var(--text-16);
}

/* A rail card's crawler link is one size, whatever stands beside it (DB-ALL2 A14, A38, `page_component_consistency`): the name
 * alone in the desk's sentence and in Elsewhere's body drew 2 px off the face-and-name pair. A name at either end of a line
 * stands on the card's padding, not 2 px past it. Only the desk's and Elsewhere's rows: in running prose (the winner's road,
 * a System card in the rail) a link takes its sentence's size and face (rescore A18). */
.main-rail-card:is(.live-desk, .live-watch) .crawler-link {
  font-size: var(--text-16);
}

/* In every rail card, a name or a room at either end of a line stands on the card's padding. */
.main-rail-card .crawler-link:where(:not(.crawler-link--sigil)),
.main-rail-card a[data-hover="room"]:where(:not(.minimap-room-link)) {
  padding-inline: 0;
  margin-inline: 0;
}

/* A unique relic on the board (R68): a small parchment hairline and the relic's short name, a card on hover. */
/* Said in full, wrapping to a second line when the column is narrow: an ellipsis hid the name of the thing
 * it announces (I41-WEB, R15). */
.relic-chip {
  display: inline-block;
  max-inline-size: 100%;
  vertical-align: bottom;
  text-align: start;
  padding: 0 var(--space-1);
  border: 1px solid var(--parchment-dim);
  color: var(--parchment);
  background: transparent;
  font: inherit;
  font-size: var(--text-12);
  letter-spacing: var(--track-label);
  cursor: help;
}

/* The board's row is the name on a line of its own at the column's full width, and the level and the
 * way on in a muted line under it (R4-BOARD, R17): at 1440 the column is ~330 px and "lv 13 ·
 * escaped" beside the name took half of it, so the leader read "Norrin of the B…". A relic chip is
 * a third line, a cell of its own, so it never pushes the stats about. */
.standings-row {
  grid-template-columns: 1.75rem calc(40px + var(--badge-over)) minmax(0, 1fr); /* the face and its badge's overhang */
  grid-template-areas:
    "rank face who"
    "rank face figure";
}

/* The face is drawn at the size of what it stands beside (R89, AS1): 40 px across the name's line and
 * the figures' line under it. A tied row has no face; its text stays in `who`, the names' column. */
.standings-row .standings-face {
  grid-area: face;
  align-self: start;
}

/* Each row is its own container, so a narrow row stands the climb, "up from #14", on a line of its own
 * (`board_between.climbParts`): beside a 40 px face the figures' line ran 25 px past the frame at 1024
 * (`page_frame_filled`, AS1), and between floors, with the board read down two columns, the list's width
 * hid the column's and "level 5 · floor 3 · fame 726 · up from #625" ran 30 px past its rule (manual #16, R17).
 * 28rem is the widest line a thousand crawlers make — rank, face, "level 13 · floor 10 · fame 1,234 ·
 * up from #1000" — so the climb stays beside the figures only where it fits. */
.standings-row {
  container: standings-row / inline-size;
}

@container standings-row (max-width: 28rem) {
  .standings-climb {
    display: block;
  }

  .standings-climb-sep {
    display: none;
  }
}

.standings-row .relic-chip {
  grid-column: 3;
  grid-row: 3;
  justify-self: start;
}

/* A row's two targets are 21 px tall and stand a line apart: the name and the chip are padded to
 * WCAG 2.5.8's 24 px and the padding paid back in margin, so the row does not grow (BLANKS, R17:
 * A10's home at 320 and 375). */
.standings-row .standings-name,
.standings-row .relic-chip {
  padding-block: 2px;
  margin-block: -2px;
}

.standings-row .standings-name {
  display: flex;
  min-width: 0;
}

/* A name is never cut (DB-H2A A1, the owner: names cut with an ellipsis, the third round): a long one wraps to a second
 * line at a word and the face, top-aligned with the name, spans both. */
.standings-row .crawler-link-name {
  min-width: 0;
  white-space: normal;
  overflow-wrap: break-word;
}

.standings-row .standings-meta {
  grid-area: figure;
  justify-self: start;
  text-align: start;
}

/* A crowd the rows cannot hold is one line (FIRSTMIN2, TIES): "8 tied at 25 fame", quiet, where a
 * row's name would stand. Block, not the name's flex: a flex container drops the leading space of
 * its text, which read "8tied" (the designer, C1-s7). */
.standings-row--tied .standings-name {
  display: block;
}

.standings-row--tied .standings-tied {
  color: var(--parchment-dim);
  white-space: nowrap;
}

.standings-row--tied .standings-tied .t-readout {
  color: var(--parchment);
}

/* The board before anybody has fame: its second line, in the card's own box (DESIGN2, the designer of round 0, #9:
 * a dashed box inside the card's solid one was a box in a box; dashed is an empty slot's alone, never inside a card). */
.standings-slot {
  margin: var(--space-1) 0 0;
}

/* The row's level, floor and fame: the serif in small caps with lining tabular figures — mono is the
 * System's voice only (L6-WORDS, the designer's R18 finding on the board). */
.standings-meta {
  white-space: nowrap;
  color: var(--parchment-dim);
  font-variant-caps: all-small-caps;
  letter-spacing: var(--track-label);
}

/* How the season ended for a crawler, one chip in the meta line after the level (RD-LANE cycles 13 and 14; DB-HAPPY H5, A24): the
 * status chip, square-cornered and boxed in the state's tone at the meta line's size, acid for out, parchment for the winner. */
.standings-who {
  grid-area: who;
  display: block;
  min-width: 0;
}

.standings-who > .standings-name {
  display: inline;
  max-inline-size: 100%;
}

.standings-status {
  display: inline-block;
  padding: 0 var(--space-1);
  border: 1px solid currentColor;
  font-size: var(--text-12);
  font-weight: 600;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  font-variant-caps: normal;
  line-height: 1.4;
  white-space: nowrap;
  color: var(--acid);
}

.standings-status--won {
  color: var(--parchment);
}

.standings-more {
  margin: var(--space-2) 0 0;
  text-align: right;
}

/* A target of WCAG 2.5.8's 24 px, its padding paid back in margin so the line does not grow. */
.standings-full {
  display: inline-block;
  padding-block: 6px;
  margin-block: -6px;
  color: var(--parchment-dim);
  text-decoration: underline 1px var(--link-rest);
  text-underline-offset: 0.2em;
}

.standings-full:hover,
.standings-full:focus-visible {
  color: var(--parchment);
  text-decoration-color: currentColor;
}

/* --- the desk ----------------------------------------------------------------------------------- */

/* A person's column, not the System's: a byline in serif caps, the hour in a paragraph, and the
 * three things to watch as rows under it. No mono anywhere in it. The feed's item size and the
 * rail's quiet ink, each name linked once (`linkedText`'s `once`): at prose size, in full parchment
 * and some twenty-five underlines, the rail's paragraph outshouted the feed it stands beside (the
 * designer, dr3; at 24 px it was the largest type on the page, FIRSTMIN2). */
.desk-text {
  max-width: var(--measure);
  margin: 0 0 var(--space-4);
  font-size: var(--text-16);
  line-height: 1.55;
  color: var(--parchment-dim);
}

/* The picks are one column of rows (L31-ENDPAGE, R48; the designer, L30-s7: three tiles, the third orphaned at
 * 1440, each "level 2 now" under an 18 px face): the face across two lines, the name over the reason. */
.desk-picks {
  display: grid;
  gap: var(--space-3);
}

/* A row: the face (or the room's mark) at the board's 40 px, the name, and the few words for why under it. */
.desk-pick {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start; /* top-aligned, every row alike (L14-WEB, R15) */
  gap: 2px var(--space-3);
  max-width: min(100%, 36rem);
}

.desk-pick-face {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.desk-pick .desk-pick-name,
.desk-pick-why {
  grid-column: 2;
}

/* More specific than `.hover-host`'s `font: inherit` (`hover.css`, later in the cascade), so a
 * room's name is set like a crawler's. A long name breaks inside only if it is wider than its column
 * ("Hollowbrook" was cut in two in a 147 px chip at 1024, MB36; `page_word_split`, R17, R18). */
.desk-pick .desk-pick-name {
  font-size: var(--text-16);
  color: var(--parchment);
  overflow-wrap: break-word;
}

.desk-pick-why {
  color: var(--parchment-dim);
}

/* A room's mark: a doorway — an arch on its threshold, drawn in two strokes — where a crawler's
 * row has a face. A room has a card and no page, and the mark says which kind of row this is
 * before the name does. (A plain box was tried first; at 20 px it read as a checkbox.) */
.desk-pick-mark {
  position: relative;
  grid-column: 1;
  grid-row: 1 / span 2;
  inline-size: 40px;
  block-size: 40px;
}

.desk-pick-mark::before {
  content: "";
  position: absolute;
  inset: 4px 8px 5px;
  border: 1.5px solid var(--parchment-dim);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.desk-pick-mark::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 4px;
  left: 3px;
  block-size: 1.5px;
  background: var(--parchment-dim);
}

/* --- the story so far --------------------------------------------------------------------------- */

.story-moments {
  display: grid;
  gap: var(--space-3);
}

/* A card per moment: the rank as a big serif numeral, then the highlight as the stream draws
 * it (`highlight.css` colours its kind by meaning). Scoped under the panel, because the
 * highlight's own sheet comes later in the cascade and draws a hairlined row, not a card. */
.story-panel .story-moments > .story-card {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  align-items: start;
  column-gap: var(--space-3);
  margin: 0;
  padding: var(--space-3) var(--space-4) var(--space-3) var(--space-2);
  background: var(--surface-raised);
  border: 1px solid var(--rule);
}

.story-panel .story-card > :not(.story-rank) {
  grid-column: 2;
}

/* The lead card's subject (`story_cards.js`): only the end page's wide desk has the room for it (`pages/live_end.css`). */
.story-face {
  display: none;
}

/* Scale is the ranking: the season's biggest moment has the biggest numeral and its sentence
 * at the prose size; the two under it one step down. */
.story-rank {
  grid-column: 1;
  grid-row: 1 / span 3;
  font-family: var(--font-prose);
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: 1;
  text-align: center;
  color: var(--parchment-faint);
}

.story-panel .story-moments > .story-card--lead {
  border-color: var(--rule-strong);
}

/* The panel holds the season's first three (`--top`) and, on the end page, the rest under them (`--more`, from the
 * fourth): two lists so the page can lay the three as a group and balance the rest (L38-LIVEPAGE4). */
.story-moments--more {
  margin-top: var(--space-3);
}

.story-panel .story-card--lead .story-rank {
  font-size: var(--text-h1);
  color: var(--parchment);
}

.story-panel .story-card--lead .highlight-text {
  font-size: var(--text-prose);
}

/* --- a viewer's two actions, at a card's width (DB-A0) ------------------------------------------------------------------
 * Follow and Sponsor are the control family's square-cornered member (`tokens.css`; their look is `vote.css`'s): a
 * button as wide as the card it sits in, never wider than a rail card's measure — "Sponsor a box" ran 1,300 px across a
 * wide frame (the designer's components-2 #10). Wider than any phone's column, so a phone's row is untouched. */
.action-form--sponsor .action {
  justify-self: start;
  inline-size: 100%;
  max-inline-size: 24rem;
}

/* The day's last box sent, the button is the one quiet line saying what is next (L39-FANACT): a sentence in the serif,
 * not tracked caps, so at 320 it is one or two plain lines and not two dim lines of caps (the designer's
 * components-2). The words are the page's. */
.action-form--spent .action:disabled {
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  inline-size: auto;
  max-inline-size: none;
}

/* --- a wait between floors, as the component library reads it (`state.js`'s episode) ----------------------------------
 * A live page turns it into the masthead's line; drawn alone it is a small panel on the feed's ground at a note's
 * measure, framed like the rail's panels, not two loose lines at the column's edge (the designer's components-2). */
.episode-note {
  max-inline-size: var(--measure-note);
  padding: var(--space-3) var(--space-4);
  background: var(--ink-2);
  border: 1px solid var(--rule);
}

.episode-note .episode-note-line {
  margin: 0;
  color: var(--parchment);
}

/* A row's meta line with the boxed status chip may wrap between its parts when its row is narrow (320: "level 17 · GOT OUT · fame 1,946" is 7 px
 * past a row; the still page's two-column board, a row 296 px wide, 3 px): whole parts, never a cut word (RD-LANE cycle 14, MB2-R3). The row is the
 * container, so a narrow column of a wide screen is held the same as a phone. */
@container standings-row (max-width: 28rem) {
  .standings-meta:has(.standings-status) {
    white-space: normal;
  }
}

/* The separator before the chip belongs to it: a line never ends with the "·" (RD-LANE cycle 15). */
.standings-chipped {
  white-space: nowrap;
}

/* --- the catch-up's way in: one outlined button, wherever the show offers a floor from its first turn (R129, R131) -------------------
 * `/live`'s line, a crawler's past floor and the list's cards all wear it (R17: one look). The System's acid outline over a clear
 * fill; the filled one (`.still-button--fill`) is the way to go on from where a reader stopped. */
.still-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: var(--control-h);
  padding: 0 var(--control-pad);
  border: 1px solid var(--acid);
  border-radius: var(--control-radius-pill);
  background: transparent;
  font-family: var(--font-prose);
  font-size: var(--text-14);
  line-height: 1.2;
  color: var(--parchment);
  text-decoration: none;
  transition:
    background-color var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out);
}

.still-button:hover {
  background: color-mix(in srgb, var(--acid) 18%, transparent);
}

.still-button:focus-visible {
  outline: 2px solid var(--parchment);
  outline-offset: 2px;
}

.still-button--fill {
  background: var(--acid);
  color: var(--ink);
}

/* `a:hover` (typography.css) is more specific than `.still-button--fill`: the ink is said again. */
.still-button--fill:hover {
  background: color-mix(in srgb, var(--acid) 82%, var(--parchment));
  color: var(--ink);
}

/* The hover card — `hover.js` (polish P2; the reader rebuild, 2026-09-25): a fact where a name is.
 *
 * An MMO's tooltip, solid (R16: never see-through): the raised surface under a hairline and a
 * small shadow, the kind of thing in the show's caps, its name at lead size, what it does in a
 * sentence, and its numbers as the System's readouts in two columns — the one mono on the card.
 *
 * **It is a child of the body, fixed**, and `card_place.js` (Floating UI, 2026-10-09) writes its
 * left and top: beside its host, on the side with room, inside the screen. Nothing around a host
 * can clip it or paint over it, so none of the old lifting of the boxes round a host is left.
 * Under a desk's width it is a sheet along the foot of the screen (`--sheet`).
 *
 * Capped against the viewport so the 320 px width gets a card and not a horizontal scrollbar. */
[data-hover] {
  position: relative; /* kept: other rules in the sheets lean on a host being a containing block */
}

.hover-card {
  --sheet-name-room: 7rem; /* what a phone sheet leaves above itself for the name that opened it */
  position: fixed;
  z-index: var(--z-hover);
  top: 0;
  left: 0;
  display: grid;
  gap: var(--space-2);
  /* One width for every kind (DB-A4; the designer, components-2 #7: cards ran 380 to 1060 px): a card is
   * a card, not a banner the length of its longest line, nor a tag the width of its shortest. */
  --hover-w: min(22rem, calc(100vw - 2 * var(--gutter)));
  width: var(--hover-w);
  max-width: var(--hover-w);
  /* `card_place.js` caps the height to what the screen has left; a taller card scrolls. */
  overflow-y: auto;
  padding: var(--space-3) var(--space-3) var(--space-3);
  border: 1px solid var(--rule-strong);
  border-radius: var(--control-radius);
  background: var(--surface-raised);
  --hover-gap: 7px; /* `card_place.GAP_PX` less its `AIR_PX`: the air between a host and its card, which is the bridge */
  box-shadow: var(--shadow-raised);
  /* The host may be a link, a truncating row or a mono chip; none of that is inherited in
   * here, because the card is a card wherever it opened. */
  color: var(--parchment);
  font-family: var(--font-prose);
  font-size: var(--text-14);
  font-style: normal;
  font-weight: 400;
  line-height: var(--leading-chrome);
  text-align: left;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  white-space: normal;
  cursor: auto;
}

/* Until the library has said where it goes (`hover.js`'s `show`): in the page, never seen at 0,0. */
.hover-card--placing {
  visibility: hidden;
}

/* The bridge (#27, R16, R48): the gap between a host and its card is the card's own border on the
 * side facing the host — transparent, so the page shows through, but still the card's, so a pointer
 * crossing it has not left it (a `::before` would be clipped by the card's own scroll). `card_place.js`
 * writes `data-side` once it has settled the side the card opens on; the card's visible edge there
 * is drawn inside, the width a border would have been. A sheet has no side and no gap. */
.hover-card[data-side] {
  background-clip: padding-box;
}

.hover-card[data-side="bottom"] {
  border-top: var(--hover-gap) solid transparent;
  box-shadow: inset 0 1px 0 var(--rule-strong), var(--shadow-raised);
}

.hover-card[data-side="top"] {
  border-bottom: var(--hover-gap) solid transparent;
  box-shadow: inset 0 -1px 0 var(--rule-strong), var(--shadow-raised);
}

.hover-card[data-side="right"] {
  border-left: var(--hover-gap) solid transparent;
  box-shadow: inset 1px 0 0 var(--rule-strong), var(--shadow-raised);
}

.hover-card[data-side="left"] {
  border-right: var(--hover-gap) solid transparent;
  box-shadow: inset -1px 0 0 var(--rule-strong), var(--shadow-raised);
}

/* Under a desk's width: a sheet along the foot of the screen, gutter to gutter. */
.hover-card--sheet {
  top: auto;
  right: var(--gutter);
  bottom: var(--gutter);
  left: var(--gutter);
  width: auto;
  max-width: none;
  max-height: calc(100vh - 2 * var(--gutter));
}

/* The sheet at the top instead, when the foot would lie over the name that opened it (`card_fit.js`,
 * SR2-HOVER H24): a class, so no style is written. */
.hover-card--sheet.hover-card--sheet-top {
  top: var(--gutter);
  bottom: auto;
}

/* A sheet as tall as the screen would lie over the name that opened it however the page scrolled
 * (`card_fit.js`): capped to leave room for a name (and its gap) above it, and it scrolls itself. */
.hover-card--sheet.hover-card--sheet-short {
  max-height: calc(100vh - 2 * var(--gutter) - var(--sheet-name-room));
}

.hover-card p {
  margin: 0;
}

/* The masthead's open menu on a phone hangs down over the page and sits over any card: the reader
 * opened it last. */
.masthead:has(.masthead-menu[open]),
.masthead-bar:has(.masthead-menu[open]) {
  z-index: calc(var(--z-hover) + 1);
}

/* "SKILL · ATTACK": what kind of thing this is, in the show's caps. */
.hover-kind {
  font-size: var(--text-12);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--parchment-dim);
}

.hover-sort--boss {
  color: var(--fray); /* a boss is a monster's: the fray, not the blood of crawlers against crawlers (SR2-VISUAL, H23) */
}

.hover-sort--yours {
  color: var(--cyan); /* "Crawler · yours": a crawler the reader follows, in the colour of what a viewer caused (R152) */
}

.hover-name {
  font-size: var(--text-lead);
  line-height: 1.2;
  color: var(--parchment);
  overflow-wrap: anywhere;
}

/* A crawler's card: their face beside their name. */
.hover-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.hover-head-words {
  min-width: 0;
}

/* "Level 5 · floor 4" under the name (#20): the serif's small caps, as the board says a row's figures. */
.hover-standing {
  font-size: var(--text-14);
  font-variant-caps: all-small-caps;
  letter-spacing: var(--track-label);
  color: var(--parchment-dim);
}

/* "called “Plumtree”" — the short name the prose uses, under the full one. */
.hover-called {
  font-size: var(--text-14);
  font-style: italic;
  color: var(--parchment-dim);
}

/* What a skill, a hazard or a boss's big move does, in words — the rule, whose numbers sit in
 * the list under it (`catalog_words`). */
.hover-does {
  font-size: var(--text-16);
  line-height: 1.45;
  color: var(--parchment);
}

/* Where a waiting box was earned (a chip's card, `boxBody`): the line a box is told apart by. */
.hover-source {
  color: var(--acid);
}

.hover-does--signature {
  padding-left: var(--space-2);
  border-left: 2px solid var(--fray);
}

/* The numbers: what each is on the left in the show's face, how much on the right as a
 * readout — two columns that line up down the card, each label on its value's baseline (the
 * 12 px caps sat 3–4 px above the 14 px readout when the cells were top-aligned; #17, 2026-10-15,
 * the owner: "Is it me, or the table is misaligned?"). */
.hover-facts {
  display: grid;
  /* A fixed key column (DB-A4, components-2 #7): every card's values start at one x, whatever its longest
   * label — "Hits six levels over you for" wraps under itself rather than push the column across. */
  grid-template-columns: 7.5rem minmax(0, 1fr);
  align-items: baseline;
  gap: var(--space-1) var(--space-3);
  margin: 0;
  padding: var(--space-2) 0;
  border-block: 1px solid var(--rule);
}

.hover-fact {
  display: contents;
}

.hover-fact-term {
  font-size: var(--text-12);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--parchment-dim);
}

.hover-fact-value {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: var(--text-14);
  color: var(--parchment);
}

/* The Health row's bar (R161) is a bar on the value's line, not a block above it: a block with no text has no baseline of its own, so the
 * row's baseline fell on the bar's foot and the term stood 2 px off (`page_hover_facts_aligned`, MB3-BAR2). Inline, it sits on the line the
 * term's baseline is read on, centred on the words' height. */
.hover-fact-value > .hbar {
  display: inline-block;
  vertical-align: middle;
}

/* A number on a card ("+3 on every swing") is the page's own words in lining tabular figures, as
 * the fight log's hit numerals are: mono is the System's voice only (L7-WORDS, the designer's R18
 * finding on `hover-skill-1440`). Two classes, so it wins over `.t-readout`'s mono. */
.hover-fact-value.t-readout {
  font-family: var(--font-prose);
  font-variant-numeric: tabular-nums lining-nums;
}

/* The flavour, a bio, a room's words: the one line in the novel's italic. */
.hover-bio {
  font-size: var(--text-14);
  font-style: italic;
  color: var(--parchment-dim);
}

/* A crawler's run off the ledger, one line: who, where, and the counted half. */
.hover-story {
  font-size: var(--text-14);
  color: var(--parchment-dim);
}

.hover-note {
  font-size: var(--text-14);
  font-style: italic;
  color: var(--parchment-faint);
}

.hover-shelf-label {
  margin-bottom: var(--space-1);
  font-size: var(--text-12);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--parchment-dim);
}

.hover-medals {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}

/* A medal is the System's gift: a chip ruled in `--rule-strong`, its words parchment (acid is the System's mono only). */
.hover-medal {
  padding: 0 var(--space-2);
  border: 1px solid var(--rule-strong);
  font-size: var(--text-12);
  color: var(--parchment);
  cursor: help;
}

/* The roster behind a counted phrase ("Twelve crawlers earn First Blood."): twelve names,
 * inside the card the phrase opens. Two columns at the card's own measure, because twelve
 * names one to a line is a card taller than most of the sentences it opens under — and one
 * column on a phone, where the card is most of the screen and half of it is not a name's width.
 *
 * The card's `max-width` does the rest: this list never sets a width of its own, so it can
 * never be the thing that pushes a card off the side of a 320px screen. */
.hover-group {
  columns: 2;
  column-gap: var(--space-3);
  font-size: var(--text-14);
  line-height: 1.6;
}

.hover-group li {
  break-inside: avoid;
}

@media (max-width: 29.99em) {
  .hover-group {
    columns: 1;
  }
}

/* A noun the page can say something about but cannot link: an item, a skill, a room. A
 * `<span role="button" tabindex="0">` (`parts.hoverHost`), inline content that wraps like the words
 * round it (I4) — a keyboard reaches it and a phone can tap it. The few templates that still
 * write a `<button>` have everything that makes it look like one taken back off here, and the
 * dotted rule under it is the only thing left saying there is more here. */
.hover-host {
  font: inherit;
  text-align: inherit; /* a button centres its lines; a name wrapped in prose is set as the prose is (the designer, I3) */
  color: inherit;
  /* The words around it, set as they are set: a button takes neither its parent's caps nor its
   * tracking (the UA sheet resets both), so "entry hub" in a room card's caps line and a band's
   * word in a frame read lower-case and untracked until they were given back. */
  letter-spacing: inherit;
  text-transform: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: help;
  border-bottom: 1px dotted color-mix(in srgb, var(--muted) 70%, transparent);
}

/* Pointed at: the word comes up to the story's ink and its dotted rule is drawn whole. */
.hover-host:hover,
.hover-host:focus-visible {
  color: var(--parchment);
  border-bottom-style: solid;
  border-bottom-color: currentColor;
}

/* The skulls (MB48-SKULLS, #50; `skulls.js`, the board's `crawlers.html`): the crawlers a crawler has killed, a
 * picture and a count. In the blood the crawler-against-crawler fray wears (SR2-VISUAL, H23: red is crawlers
 * against crawlers and the dead) and nowhere a monster's kill is meant, so the colour holds when the host is pointed
 * at, too. The picture is sized by the words round it. */
.skulls,
.skulls.hover-host:hover,
.skulls.hover-host:focus-visible {
  color: var(--blood);
  white-space: nowrap;
}

.skull-icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.12em;
  fill: currentColor;
}

/* A room's card (R72; `hover.js`'s `roomBody`): who is in it and what else, in a wrapping run —
 * a room of twelve is three lines, not twelve — a name and, where hurt, a small bar. */
.hover-here {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
}

.hover-here li {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2);
}

.hover-person--fighting .hover-person-name {
  font-weight: 600;
}

/* A room's people as one line of prose: "25 here: Alis, Ashlin bruised, … and 20 more" (the owner,
 * 2026-10-08 — twelve names, two to a row where the wrap fell, were a list nobody reads on a
 * hover). The list stays a list for a reader of the page's structure; the commas are the sheet's. */
.hover-here-line {
  line-height: 1.6;
}

.hover-here-count,
.hover-here-line .hover-more {
  color: var(--muted);
}

.hover-here--inline {
  display: inline;
}

.hover-here--inline li {
  display: inline;
}

/* A name hurt in the room's line wears a small bar after it, not a word (R161). */
.hover-here--inline li .hbar,
.hover-monster .hbar {
  --hbar-w: 2.25rem;
  display: inline-block;
  margin-inline-start: 0.4em;
  vertical-align: middle;
}

/* A monster is a row: its tile with the level's badge on the corner (`fight_frame.faceOf`, R162), its name, a boss's tag and its bar. */
.hover-here .hover-monster {
  --fighter-face: 24px;
  --face-col: calc(var(--fighter-face) + 17px);
  display: flex;
  align-items: center;
  gap: var(--space-1) var(--space-2);
}

.hover-here--inline li:not(:last-child)::after {
  content: ", ";
}

.hover-here-line .hover-more::before {
  content: " ";
}


.hover-monster--boss .hover-sort {
  margin-inline-start: calc(-1 * var(--space-1));
}

.hover-fight {
  color: var(--blood);
}

.hover-fight--fray {
  color: var(--fray);
}

/* A party's card (`hover_bodies.js`, MB1 #3): its name, a "Members" heading, then everyone in it,
 * one name to a line — a party is a handful, not a crowd — the leader marked in small caps. */
.hover-party {
  columns: 1;
}

/* ... and a group member's note ("+4 XP", the fight page's pay line past its fourth figure, `fight_after.js`) is set the same. */
.hover-leader,
.hover-note {
  margin-inline-start: var(--space-1);
  font-size: var(--text-12);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--parchment-faint);
}

/* A pay figure's card (`hover_pay.js`, MB39-PAYCARD #37): a part a row, its words then a signed figure
 * on the right in the System's tabular numerals, and the total under a rule. Two columns, never a
 * formula. The figure column does not wrap, so a sheet's narrow width breaks the words, not the sum. */
.hover-pay {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-14);
}

.hover-pay td {
  padding-block: var(--space-1);
  vertical-align: baseline;
}

/* The label column stops at about 120 px so a long part ("Award (the Brine Leech was level 6)") wraps between words
 * rather than push the figures off the card (SR2-FIGHTPAGE M3). */
.hover-pay-words {
  max-inline-size: 7.5rem;
  padding-inline-end: var(--space-3);
  color: var(--parchment);
}

.hover-pay-figure {
  text-align: right;
  white-space: nowrap;
  color: var(--parchment);
}

.hover-pay-total td {
  padding-top: var(--space-2);
  border-top: 1px solid var(--rule);
  font-weight: 600;
}

/* The highlight — `blocks/highlight.js`: one thing worth knowing, on the home stream and the
 * cam's moments (the reader rebuild, 2026-09-25). */

/* --- the stream, and the story so far ------------------------------------------------ */

/* A kind tag, the narrator's own sentence, what it was for, and when and where to go. It is
 * a list item on the front page's `<ol class="stream">` and inside the `story` panel's own
 * list, and an orphan `<li>` in the gallery — the marker is off in all three, because the
 * order is the page's argument and a bullet adds nothing to it.
 *
 * Hairlines rather than cards. A stack of ten boxed rows is a feed reader; ten rows parted
 * by a dashed rule is a column of a newspaper, which is what the rest of this page is. */
.highlight {
  list-style: none;
  margin: 0;
  padding: var(--space-3) 0;
  border-bottom: 1px dashed var(--rule-soft);
  /* Its own family, whatever its container's: a moment is the narrator's sentence wherever it
   * is listed — the stream, the story, a cam's rail, "since you left". */
  font-family: var(--font-prose);
}

.highlight:last-child {
  border-bottom: 0;
}

.highlight-line {
  margin: 0;
  max-width: var(--measure); /* home's one-column 768 ran a line 86 ch (M2-s7 between floors, R17) */
  font-size: var(--text-16);
  line-height: 1.5;
}

/* The tag is what a reader scans for, so it is the one coloured thing on the line — in the
 * show's small caps (`t-label`), not the System's mono: the kind is the page talking. */
.highlight-kind {
  margin-right: var(--space-1);
  white-space: nowrap;
}

/* Colour by meaning (§15.2): blood for what costs a crawler everything, the fray for a monster's, cyan for people
 * acting together and for what a viewer caused. What the System gives or moves is plain: acid is the System's mono,
 * and the tag is the page's serif (SR2-VISUAL, H23: acid on a serif label). */
.highlight--betrayal .highlight-kind,
.highlight--party_wipe .highlight-kind,
.highlight--death .highlight-kind,
.highlight--record .highlight-kind,
.highlight--kill .highlight-kind {
  color: var(--blood);
}

/* A relic is the System's, so its tag is plain like everything the System gives: never the blood a crawler's end
 * keeps (R98, L34 designer), and not acid, the System's mono only (SR2-VISUAL, H23). */
.highlight--relic .highlight-kind {
  color: inherit;
}

/* A boss's fall is the monsters' ochre, not the blood of a crawler's end (R98, L23-WEBFIX2). */
.highlight--boss .highlight-kind,
.highlight--boss_kill .highlight-kind,
.highlight--boss_hold .highlight-kind {
  color: var(--fray);
}

.highlight--party .highlight-kind,
.highlight--vote_opened .highlight-kind,
.highlight--vote_resolved .highlight-kind {
  color: var(--cyan);
}

.highlight-text {
  font-family: var(--font-prose);
  color: var(--parchment);
}

/* A medal's "for …" and its pay (`highlights._detail`), under the sentence it explains. */
.highlight-detail {
  margin: var(--space-1) 0 0;
  font-size: var(--text-14);
  line-height: var(--leading-chrome);
  color: var(--parchment-dim);
}

/* When it happened, and where to go with it. Under the sentence rather than beside it, so
 * the line above stays one sentence at every width. */
.highlight-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-1) var(--space-3);
  margin: var(--space-1) 0 0;
}

.highlight-turn {
  font-family: var(--font-prose);
  font-size: var(--text-14);
  color: var(--parchment-faint);
}

/* A sibling of the sentence, never a wrapper round it: the names inside the line are already links to the cams they name, and an
 * anchor around all of it would nest them. One way in everywhere a moment opens its turn (RD-LANE cycle 9): the fight's Watch pill
 * (`blocks/feed_item.css`'s `.fight-kick-watch`), a step smaller to stand in the moment's meta line, worded "Watch" and in the
 * moment's hue as the fight card's is in its fight's: blood for what costs a crawler everything, the fray's ochre for a boss, cyan
 * for people acting together, the quiet ink otherwise. */
.highlight {
  --watch-hue: var(--parchment-dim);
}

.highlight:is(.highlight--death, .highlight--betrayal, .highlight--kill, .highlight--record, .highlight--party_wipe) {
  --watch-hue: var(--blood);
}

.highlight:is(.highlight--boss, .highlight--boss_kill, .highlight--boss_hold) {
  --watch-hue: var(--fray);
}

.highlight:is(.highlight--party, .highlight--vote_opened, .highlight--vote_resolved) {
  --watch-hue: var(--cyan);
}

.highlight-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-block-size: var(--control-h-tight);
  margin-block: calc(-1 * var(--space-1));
  padding: 0 var(--control-pad-tight);
  border: 1px solid var(--watch-hue);
  border-radius: var(--control-radius-pill);
  background: color-mix(in srgb, var(--watch-hue) 26%, transparent);
  font-size: var(--text-14);
  line-height: 1;
  white-space: nowrap;
  color: var(--parchment);
  text-decoration: none;
}

.highlight-link::before {
  content: "";
  flex: none;
  inline-size: 9px;
  block-size: 9px;
  background-color: var(--watch-hue);
  clip-path: polygon(20% 10%, 90% 50%, 20% 90%);
}

.highlight-link:hover,
.highlight-link:focus-visible {
  background: color-mix(in srgb, var(--watch-hue) 38%, transparent);
  text-decoration: none;
}

/* A pulse is the turn's loudest line on a turn with no news in it: it keeps the stream
 * moving and must not look like news, so the whole item steps down the scale and back into
 * the dim colours. Colour, never `opacity`: an opacity on the item is inherited by the hover
 * card that is a child of the name inside it (2026-09-17). */
.highlight--pulse .highlight-line {
  font-size: var(--text-14);
}

.highlight--pulse .highlight-text {
  color: var(--parchment-dim);
}

/* The cam's rail: the same three parts, compact, because the rail is furniture. */
.highlight--compact {
  padding: var(--space-2) 0;
}

.highlight--compact .highlight-line {
  font-size: var(--text-14);
  line-height: var(--leading-chrome);
}

.highlight--compact .highlight-detail {
  font-size: var(--text-12);
}

/* On a phone the lines are a thumb and a hair apart, so the names and rooms in them can each be
 * a thumb tall without two of them overlapping (`layout.css`, "a thumb's worth"; Task S4). */
@media (max-width: 47.99em) {
  .highlight-line,
  .highlight--compact .highlight-line,
  .highlight-detail {
    line-height: 1.6rem;
  }

  /* A room's box its own size, lifted to a thumb, so its dotted rule stays under the word. */
  .highlight-line .hover-host {
    line-height: 1.2;
  }
}

/* What the live feed's turn is made of — `blocks/highlight_item.js`, `blocks/quiet.js` and the
 * fight's `turn` mode (`blocks/fight_turn.js`); the live-feed round, 2026-10-01 (R69, R70).
 *
 * A turn reads as a hierarchy, not a stack of equal cards: the *lead* — the best thing the
 * turn found, always the first line under its heading — is set a size up with a rule in its
 * tone's colour down its edge; what follows is the same serif a step down and no rule; a fight's
 * round after its first is one line of head and its blows; and a fall inside a fight is a short
 * marked line under it. Between turns there is a hairline and a gap, and between a turn's
 * lines only the rhythm of the type.
 *
 * Colour is meaning, the palette's three accents and nothing else (§15.2): blood for what costs
 * somebody, cyan for people acting together or an audience's hand, the System's acid for what it
 * gives or moves — so help is as loud as harm. Colour on the kind label and the lead's rule,
 * never `opacity` (an opacity on the line would be inherited by a hover card that is a child of
 * a name in it, 2026-09-17). The page's serif throughout: only the System speaks mono.
 */

/* --- a moment, plain (`/live`'s redesign, spec §2.3, §2.4, §4.3; lifted to every feed by RO-CAM) --------------------------- */

.feed-item {
  --tone: var(--muted);
  margin: var(--space-3) 0 0;
  padding: 0;
  font-family: var(--font-prose);
}

/* Colour is the kind's meaning (§2.4; SR2-VISUAL, H23): blood is a crawler against a crawler and the dead (a betrayal, a
 * revenge, a death, a fight between crawlers), the fray a monster's (a boss, a fight with monsters), cyan what a viewer caused
 * and people acting together, the flood the water, everything else the muted ink. One `--tone` per kind, so the kicker and the
 * lead's rule read one value; and never the System's acid, which is mono, on a serif label. */
.feed-item:is(.feed-item--betrayal, .feed-item--revenge, .feed-item--death, .feed-item--fight_round) {
  --tone: var(--blood);
}

/* A fight with monsters (R98): the fray, not the blood a death keeps. */
.feed-item--pve,
.feed-fight--pve {
  --fight-hue: var(--fray);
}

.feed-item:is(.feed-item--boss_kill, .feed-item--boss_hold, .feed-item--pve) {
  --tone: var(--fray);
}

.feed-item:is(.feed-item--party, .feed-item--help, .feed-item--vote, .feed-item--sponsor) {
  --tone: var(--cyan);
}

.feed-item--last_call {
  --tone: var(--flood);
}

.feed-item-kind {
  margin: 0 0 var(--space-1);
  color: var(--muted);
}

/* Written out per kind, not through `--tone`: the contrast check reads the colour a rule names, and a
 * custom property is not one it can resolve. */
.feed-item--betrayal .feed-item-kind,
.feed-item--revenge .feed-item-kind,
.feed-item--death .feed-item-kind,
.feed-item--fight_round .feed-item-kind {
  color: var(--blood);
}

/* A boss, and a fight with monsters, are the fray: red on a monster fight read every fight as crawler on
 * crawler (R98). A boss's fall and a slip past one cost no crawler their life. */
.feed-item--boss_kill .feed-item-kind,
.feed-item--boss_hold .feed-item-kind,
.feed-item--fight_round.feed-item--pve .feed-item-kind {
  color: var(--fray);
}

.feed-item--party .feed-item-kind,
.feed-item--help .feed-item-kind,
.feed-item--vote .feed-item-kind,
.feed-item--sponsor .feed-item-kind {
  color: var(--cyan);
}

.feed-item--last_call .feed-item-kind {
  color: var(--flood);
}

.feed-item-text {
  margin: 0;
  font-size: var(--text-16);
  line-height: 1.55;
  color: var(--parchment);
}

/* A room's turn of doors is one moment, a row a place (L32-ENDPAGE2, R48): the rows sit a step apart under one label. */
.feed-item-rows {
  display: grid;
  gap: var(--space-1);
}

/* No box: no border, no fill, no padding box. A hairline under the unit is where it ends and the kicker is where it starts.
 * The kicker runs in, on the sentence's first line, so a plain moment is a line of type with a label in it. */
.feed-turn > :is(.feed-item:not(.feed-fight, .feed-item--goes-on), .prose-narrator, .prose-inner) {
  margin: 0;
  padding: var(--space-3) 0;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: none;
}

/* A crawler's own feed (a cam's, a floor's) is told in the narrator's lines and the crawler's thoughts, not the ranker's picks: the
 * same unit, a muted tone (they carry no kind), at the page's one moment size. A thought is a moment like any other, its
 * "thinks" the run-in label: no rule, no fill. */
.feed-turn > :is(.prose-narrator, .prose-inner) {
  --tone: var(--muted);
  max-width: none;
  font-size: var(--text-prose);
  line-height: var(--leading-prose);
}

.feed-turn > .prose-inner {
  font-style: italic;
  color: var(--parchment-dim);
}

.feed-turn > .feed-item:not(.feed-fight, .feed-item--goes-on, .feed-item--fell) .feed-item-kind {
  display: inline;
  margin: 0 var(--space-2) 0 0;
}

.feed-turn > .feed-item:not(.feed-fight, .feed-item--goes-on, .feed-item--fell) .feed-item-text {
  display: inline;
  font-size: var(--text-prose);
  line-height: var(--leading-prose);
}

/* Doors and a turn of rows are a column of lines under one kicker. */
.feed-turn > .feed-item .feed-item-rows {
  margin-top: var(--space-1);
}

/* The last moment of a turn needs no hairline: the turn's own rule is under it. And no hairline runs before or after a
 * frame: the frame is its own boundary. */
.feed-turn > :is(.feed-item:not(.feed-fight), .prose-narrator, .prose-inner):last-child,
.feed-turn > :is(.feed-item:not(.feed-fight), .prose-narrator, .prose-inner):has(+ :is(.feed-fight, .system, .fight)) {
  border-bottom: 0;
}

.feed-turn > :is(.feed-item:not(.feed-fight), .prose-narrator, .prose-inner):has(+ :is(.feed-fight, .system, .fight)) {
  padding-bottom: 0;
}

/* --- the turn's lead (§4.4) ------------------------------------------------------------------------------------------ */

/* The first moment under a turn's heading, set a size up: its kicker on a line of its own, the sentence at the lead's size
 * and a `--rule-lead` down its edge in the kicker's colour, from the kicker to the meta line. The rule is an inset shadow,
 * so it stops at the hairline under the unit and does not meet it in a mitre.
 *
 * A door — who came in, who left, which only a room's own page draws (R74) — is never a turn's lead (PAGES2, R12): the turn
 * that holds doors is a column that lets them close it (`order`), and the first moment that is not a door takes the lead
 * after them, once. */
.feed-turn > .feed-turn__at + .feed-item:not(.feed-fight, .feed-item--goes-on, .feed-item--fell, .feed-item--arrival, .feed-item--departure),
.feed-turn > .feed-turn__at + :is(.feed-item--arrival, .feed-item--departure) ~ .feed-item:not(.feed-fight, .feed-item--goes-on, .feed-item--fell, .feed-item--arrival, .feed-item--departure),
.feed-turn > .prose-narrator[data-lead] {
  padding: 0 0 var(--space-3) var(--space-3);
  box-shadow: inset var(--rule-lead) 0 0 var(--tone);
}

/* A narrator's line leads its turn at the lead's size when `cam_turns.js` marks it the watched crawler's own biggest line (a cam has
 * no kicker over it: its lines carry no kind). */
.feed-turn > .prose-narrator[data-lead] {
  font-size: var(--text-lead);
  line-height: 1.4;
}

.feed-turn > .feed-turn__at + .feed-item:not(.feed-fight, .feed-item--goes-on, .feed-item--fell, .feed-item--arrival, .feed-item--departure) .feed-item-kind,
.feed-turn > .feed-turn__at + :is(.feed-item--arrival, .feed-item--departure) ~ .feed-item:not(.feed-fight, .feed-item--goes-on, .feed-item--fell, .feed-item--arrival, .feed-item--departure) .feed-item-kind {
  display: block;
  margin: 0 0 var(--space-1);
}

.feed-turn > .feed-turn__at + .feed-item:not(.feed-fight, .feed-item--goes-on, .feed-item--fell, .feed-item--arrival, .feed-item--departure) .feed-item-text,
.feed-turn > .feed-turn__at + :is(.feed-item--arrival, .feed-item--departure) ~ .feed-item:not(.feed-fight, .feed-item--goes-on, .feed-item--fell, .feed-item--arrival, .feed-item--departure) .feed-item-text {
  display: block;
  font-size: var(--text-lead);
  line-height: 1.4;
}

/* …and only the first of them: anything not a door after a line takes the plain unit again. */
.feed-turn > .feed-turn__at + :is(.feed-item--arrival, .feed-item--departure) ~ :not(.feed-item--arrival, .feed-item--departure) ~ .feed-item:not(.feed-fight, .feed-item--goes-on, .feed-item--fell, .feed-item--arrival, .feed-item--departure) {
  padding: var(--space-3) 0;
  box-shadow: none;
}

.feed-turn > .feed-turn__at + :is(.feed-item--arrival, .feed-item--departure) ~ :not(.feed-item--arrival, .feed-item--departure) ~ .feed-item:not(.feed-fight, .feed-item--goes-on, .feed-item--fell, .feed-item--arrival, .feed-item--departure) .feed-item-kind {
  display: inline;
  margin: 0 var(--space-2) 0 0;
}

.feed-turn > .feed-turn__at + :is(.feed-item--arrival, .feed-item--departure) ~ :not(.feed-item--arrival, .feed-item--departure) ~ .feed-item:not(.feed-fight, .feed-item--goes-on, .feed-item--fell, .feed-item--arrival, .feed-item--departure) .feed-item-text {
  display: inline;
  font-size: var(--text-prose);
  line-height: var(--leading-prose);
}

.feed-turn:has(> :is(.feed-item--arrival, .feed-item--departure)) > :is(.feed-item--arrival, .feed-item--departure) {
  order: 1;
}

/* The doors close the turn visually (`order`), so the turn's last unit is the last door, not the markup's last child: every unit
 * keeps its hairline and the last door alone has none, so no pair of moments runs together and none is doubled with the turn's rule. */
.feed-turn:has(> :is(.feed-item--arrival, .feed-item--departure)) > .feed-item:not(.feed-fight, .feed-item--goes-on) {
  border-bottom: 1px solid var(--rule);
}

.feed-turn:has(> :is(.feed-item--arrival, .feed-item--departure)) > :is(.feed-item--arrival, .feed-item--departure):not(:has(~ :is(.feed-item--arrival, .feed-item--departure))) {
  border-bottom: 0;
}

/* A door the markup tells before a frame has no padding under it (it ends where the frame begins), but `order` sets it after the frame, with
 * another door under it: it keeps the moment's own padding, so the hairline under CAME IN is as far from it as every other (MB111, #17). */
.feed-turn.feed-turn:has(> :is(.feed-item--arrival, .feed-item--departure)) > :is(.feed-item--arrival, .feed-item--departure) {
  padding-bottom: var(--space-3);
}

@media (max-width: 47.99em) {
  .feed-turn:has(> :is(.feed-item--arrival, .feed-item--departure)) {
    display: flex;
    flex-direction: column;
  }
}

/* The face of the lead's subject hangs at the start of its sentence (`lead_face.js`); a sentence that names no crawler has
 * none. A portrait tile at the size token. */
.feed-item-face--lead {
  float: inline-start;
  margin: var(--space-1) var(--space-3) var(--space-1) 0;
}

.feed-item-face--lead .sigil {
  --sigil-px: var(--lead-face);
  display: block;
}

/* On a phone the lead's sentence is long and its face a head taller than a line: the face is a size down so the sentence
 * is the lead, not the portrait. */
@media (max-width: 29.99em) {
  .feed-item-face--lead .sigil {
    --sigil-px: 2.75rem;
  }
}

.feed-item-meta {
  margin: var(--space-1) 0 0;
  font-size: var(--text-14);
  line-height: var(--leading-chrome);
  color: var(--parchment-faint);
}

/* The room, as the ordinary room link: the dim ink under the one rest rule every text link wears, the
 * line whole when it is wanted. The "in" before it is the line's own word, outside the link
 * (`highlight_item.js`; SR2-VISUAL L5: the link took the word in and its rule ran under it). */
.feed-item-room,
.feed-item-link {
  color: var(--parchment-dim);
  text-decoration: underline 1px var(--link-rest);
  text-underline-offset: 0.2em;
}

.feed-item-in {
  color: var(--parchment-faint);
}

.feed-item-room:hover,
.feed-item-room:focus-visible,
.feed-item-link:hover,
.feed-item-link:focus-visible {
  color: var(--parchment);
  text-decoration-color: currentColor;
}

/* A fight that goes on without a frame of its own is still a fight (ALSOFIGHT, the owner 2026-10-15: "It doesn't even have
 * the red vertical line"): the fight lines' rule, thinner and dashed for the lower volume, the page's normal text size, and
 * the turn's first says "Smaller fights". */
.feed-item--goes-on {
  padding-left: var(--space-3);
  border-left: 2px dashed color-mix(in srgb, var(--fight-hue, var(--blood)) 38%, var(--rule));
}

.feed-turn > .feed-item--goes-on {
  margin: 0;
  padding-block: var(--space-2);
  background: none;
}

.feed-item--goes-on .feed-fight-round {
  color: var(--parchment);
}

/* A fall inside a fight is a moment like any other, with its cross before the word; it stands the turn's ordinary gap off
 * the fight above it. */
.feed-item--fell {
  border-left: 0;
}

.feed-item--fell .feed-item-kind {
  display: block;
  margin: 0 0 var(--space-1);
  color: var(--blood);
}

.feed-item--fell .feed-item-kind::before {
  content: "✝ ";
}

/* --- the quiet line ------------------------------------------------------------------------- */

/* A turn with nothing worth showing: one short, dim line — a breath between two turns that had something to say, never an
 * item that failed to be one. The same unit as any moment, with no kicker. */
.feed-quiet {
  margin: 0;
  padding-block: var(--space-2);
  max-width: var(--measure); /* 14 px italic ran 89 ch in the feed's 40 rem (`page_measure`, R17) */
  font-family: var(--font-prose);
  font-size: var(--text-16);
  font-style: italic;
  line-height: var(--leading-chrome);
  color: var(--parchment-dim);
}

/* --- a turn's items, one rhythm (§2.3: a frame stands the section gap from anything, `page_boxes_apart`) ------------------- */

/* Whatever a turn holds sits the same step under what is above it; the System's card had only a bottom margin (`.block`) and
 * the line above it none, so a level up stood flush against the death line before it on a cam (2026-10-02). */
.feed-turn > .block {
  margin: var(--space-3) 0 0;
}

/* A fight in a turn: a cam's compact turn (`.fight`) beside a feed's line (`.feed-fight`). */
.feed-turn .fight {
  margin: var(--space-3) 0 0;
}

.feed-turn > :is(.feed-fight, .system, .fight) {
  margin: var(--space-5) 0 0;
}

.feed-turn > .feed-turn__at + :is(.feed-fight, .system, .fight) {
  margin-top: 0;
}

.feed-turn > :is(.feed-fight, .system, .fight) + :is(.feed-fight, .system, .fight) {
  margin-top: var(--space-5);
}

.feed-turn > :is(.feed-fight, .system, .fight) + .feed-item:not(.feed-item--goes-on, .feed-fight) {
  margin-top: var(--space-5);
  padding-top: 0;
}

/* The System's card that leads its turn steps its title up (`system.js`). */
.feed-turn__at + .system .system-title,
.feed-turn > .system[data-lead] .system-title {
  font-size: var(--text-h2);
}

/* The collapse is the flood's, not the fray's: ochre read as a monster fight (A's low). */
.system--collapse {
  --kind: var(--flood);
}

/* --- a fight in a turn: the one frame (§2.2, §4.5) ----------------------------------------------------------------------- */

/* A fight is framed, and only a fight and the System: a 1 px frame in the kind's edge, the 3 px rule of its family down the
 * left (one rule per kind on every page, below), the wash of its hue and no panel inside it: the sides are type on the
 * frame's own ground, with "vs" between (`fight_lineup.css`). A cam's compact turn (`.fight--turn`, L49-LINEUPSTATE) is the same frame, running or
 * over, with the blow rows inside it. */
.fight.fight--turn {
  --fight-edge: color-mix(in srgb, var(--fight-hue, var(--blood)) 22%, transparent);
  padding: var(--space-3) var(--space-4) var(--space-3) var(--space-3);
  border: 1px solid var(--fight-edge);
  border-left: 3px solid var(--kick-rule);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--fight-hue, var(--blood)) 9%, transparent), transparent 75%),
    color-mix(in srgb, var(--fight-hue, var(--blood)) 6%, transparent);
  box-shadow: none;
}

/* How it ended, once, under its last round. */
.fight-ending {
  margin: var(--space-3) 0 0;
  /* Prose, set to be followed: a long ending ran 94 ch across a wide fight page (M2-s7, R17). */
  max-width: var(--measure);
  font-size: var(--text-16);
  line-height: 1.5;
  color: var(--parchment);
}

/* The sentence a cam's box ends a kill on (`fight_kill`, MB47 #46) is the ending's own line, a hair closer. */
.fight-ending + .fight-kill,
.fight-kill + .fight-kill {
  margin-top: var(--space-1);
}

/* "The whole fight": the room page holds every round (R58). Quiet, like every way out. */
.fight-foot {
  margin: var(--space-3) 0 0;
  font-size: var(--text-14);
}

/* The rule is the text's own underline, not a border: the link is padded to a thumb's height
 * (below), and a border sat at the foot of that box, on the next line's words (the owner,
 * 2026-10-08, of "watch →"). At rest it is the one every text link wears (SR2-VISUAL L5). */
.fight-whole {
  color: var(--parchment-dim);
  text-decoration: underline 1px var(--link-rest);
  text-underline-offset: 0.2em;
  transition: text-decoration-color var(--duration-fast) var(--ease-out);
}

/* A tap target (R17): the link was the height of its text, 15 px at 320 wide. The box grows by a
 * padding and gives it back as a negative margin, so the foot does not grow with it. */
.fight-whole {
  display: inline-block;
  min-block-size: 24px;
  padding-block: 4px;
  margin-block: -4px;
}

.fight-whole:hover,
.fight-whole:focus-visible {
  color: var(--parchment);
  text-decoration-color: currentColor;
}

/* --- a fight: a kicker and two lines (FEEDLINE, 2026-10-07; MB31-FIGHTKICK, 2026-10-23) --------- */

/* A running fight in a turn is a kicker row (the kind, the round, the way in), the sentence and
 * where, then what changed — never the blows (`blocks/fight_line.js`). The block reads as one unit
 * in its kind's colour (R98): a full-strength edge, a wash of the hue from the left that fades
 * out, a little padding. A first turn's why is a third line in the page's smaller serif; an end
 * is the kicker and one line. */
.feed-fight {
  --fight-edge: color-mix(in srgb, var(--fight-hue, var(--blood)) 22%, transparent);
  margin: var(--space-3) 0 0;
  padding: var(--space-3) var(--space-4) var(--space-3) var(--space-3);
  border: 1px solid var(--fight-edge);
  border-left: 3px solid var(--kick-rule);
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--fight-hue, var(--blood)) 9%, transparent),
    transparent 75%
  );
  font-family: var(--font-prose);
}

/* One left rule per kind on every page (SR2-FIGHTBOX M34, R18: it was blood on /live, a dimmer red on the
 * cam, parchment or none on the room page): the kind's hue at 75% over the ink, three px, whatever the
 * line is — a fight's feed line, a cam's compact turn, a box in the stage. The lead rules and the door cases
 * (`.feed-turn__at + … ~ … .feed-item`, five classes deep) would otherwise paint their tone or take the
 * edge away from a fight that stands first or second in a turn: the doubled class outweighs them without an
 * `!important`, as `room.css` does for the hold line. */
.feed-fight,
.fight--turn {
  --kick-rule: color-mix(in srgb, var(--fight-hue, var(--blood)) 75%, var(--ink));
}

.feed-turn > .feed-fight.feed-fight.feed-fight.feed-fight {
  padding-left: var(--space-3);
  border-left: 3px solid var(--kick-rule);
}

.feed-fight p {
  margin: 0;
  line-height: 1.5;
}

.feed-fight-sides {
  font-size: var(--text-16);
  color: var(--parchment);
}

.feed-fight-round {
  color: var(--parchment-dim);
}

/* One round label for the cam's goes-on line and the feed's (I8, R18, R12): serif small caps in
 * the red; the number is the page talking, never the System's mono. */
.feed-fight-round-label {
  font-family: var(--font-prose);
  font-size: var(--text-12);
  font-weight: 400;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--blood);
}

/* A monster fight's round label wears the fray too (R98): red on it read every fight as crawler on
 * crawler (the owner, 2026-10-17: "Its all red always"). */
.feed-fight--pve .feed-fight-round-label,
.feed-item--pve .feed-fight-round-label {
  color: var(--fray);
}

.feed-fight-change {
  margin-top: var(--space-1);
  max-width: var(--measure); /* 100 ch on the room page's wide column (M2-s7, R17) */
  font-size: var(--text-16);
  color: var(--parchment-dim);
}

/* --- the kicker row, a feed fight's and a cam's compact turn's (MB31-FIGHTKICK, R98, R18, R12) --- */

/* An icon and the kind in the kind's colour, the round in the muted after it, and the way into
 * the fight at the far end — in the same place on every fight, so a scan down the feed finds it
 * (the owner, 2026-10-23: "the `watch the fight` link is hard to spot, as it's all a wall of text"). */
.fight-kick {
  --kick-hue: var(--fight-hue, var(--blood));
  /* The row's own line, whatever the card's: the words keep the card's padding and the pill rides the corner (below). */
  --kick-line: calc(var(--text-14) * var(--leading-chrome));
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-1);
  line-height: var(--kick-line);
}

/* The Watch pill sets no height of the row: it is pulled up and out by half of what it is taller than the line, so the
 * kicker's words stand at the card's padding and the pill is `padding - pull` from the top border and from the right
 * one. A card that draws it takes one padding on both of those sides, so the two gaps are the same
 * (MB94, R17; the owner, 2026-11-03: "Look at the `watch` button, is misaligned"). */
.fight-kick > .fight-kick-watch {
  --watch-pull: calc((var(--watch-h) - var(--kick-line)) / 2);
  align-self: flex-start;
  margin-block: calc(-1 * var(--watch-pull));
  margin-inline-end: calc(-1 * var(--watch-pull));
}

:is(.feed-fight, .fight):has(> .fight-kick > .fight-kick-watch) {
  padding-block-start: var(--space-4);
  padding-inline-end: var(--space-4);
}

/* One line, always (SR2-FIGHTBOX H6: "· round 10 of a fight begun at floor 4, turn 31" wrapped onto a line that
 * began with the dot): the round and its "since" are one item that gives way with an ellipsis, the hover has it whole. */
.fight-kick-kind {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  column-gap: 6px;
  min-width: 0;
}

/* The icon is a mask drawn in the kind's colour: a same-origin file, so the CSP's `img-src 'self'`
 * holds, and no inline SVG. Claw marks for monsters, crossed swords for crawlers. */
.fight-kick-icon {
  flex: none;
  inline-size: 16px;
  block-size: 16px;
  background-color: var(--kick-hue);
  -webkit-mask: url("/static/b8e90ef4fd/icons/fight-pvp.svg") center / contain no-repeat;
  mask: url("/static/b8e90ef4fd/icons/fight-pvp.svg") center / contain no-repeat;
}

.feed-fight--pve .fight-kick-icon,
.fight--pve .fight-kick-icon {
  -webkit-mask-image: url("/static/f24a0d76b5/icons/fight-pve.svg");
  mask-image: url("/static/f24a0d76b5/icons/fight-pve.svg");
}

/* Written out per kind, not through `--kick-hue`: the contrast check reads the colour a rule names. */
.fight-kick .fight-kick-word {
  white-space: nowrap;
  color: var(--blood);
}

:is(.feed-fight--pve, .fight--pve) .fight-kick .fight-kick-word {
  color: var(--fray);
}

/* Where a fight's rounds are not drawn the kicker says so at the end of its one line (`pages/room.js`, RO-ROOM, MB3-TRUTH); the
 * round's age gives way to it, the hover has the turn. */
.fight-kick > .fight-kick-kind > .feed-fight-round:has(> .fight-kick-skipped) {
  display: block;
  block-size: auto; /* the age rule's one line is not this one's */
  text-overflow: ellipsis;
}

.feed-fight-round:has(> .fight-kick-skipped) .fight-kick-age {
  display: none;
}

.fight-kick .feed-fight-round {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
}

/* A round's age ("· since turn 32") is the one clause that may not fit beside the Watch pill and the map chip (the desk's 1024: "ROUND 4 ·
 * SINCE TU…" cut mid-word, MB2-R6-FIGHT): the round and its age are two items of a one-line box, so an age that does not fit wraps below
 * the line and is clipped whole, never cut in a word. The hover has the turn. */
.fight-kick .feed-fight-round:has(> .fight-kick-age) {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.3em; /* the space the flex items would lose */
  block-size: var(--kick-line);
  text-overflow: clip;
}

/* A continuing round is a slim box (MB102, R71, R17, R12; the owner: "maybe we should have a new kind of box for intermediary fight
 * events, more minimalistic"): a round the head above it says the same of (`cam_fight_fold.js` on a cam, a floor's middle rounds;
 * `pages/room_fold.js` on a room's feed) keeps what is its own, the kicker with its round and Watch (every fight has Watch, RO-FOLD),
 * that turn's blows or the line of what changed, and leaves the room and the lineup to the box that drew them: a fight that ran nine
 * turns told its sides once and its rounds eight times, not nine boxes of the same five against three. The frame is the same (kind's
 * rule, edge and wash); what goes is the room line and the card, and the air around the kicker. A join, an exit or a fall is not a
 * continuing round: that box draws both sides in full. */
.fight--cont > :is(.fight-lineup-room, .fight-lineup-frame) {
  display: none;
}

.fight.fight--turn.fight--cont,
.feed-fight.fight--cont {
  padding-block-end: var(--space-2);
}

.fight--cont > .fight-kick + * {
  margin-top: var(--space-2);
}

.fight--cont > .fight-kick + .feed-fight-change.fight-lineup-footer {
  margin-top: var(--space-1);
  padding-top: 0;
  border-top: 0;
}

/* The Watch pill and what follows it in a feed's fight (split from `feed_item.css` at its 800-line cap; listed right after it in
 * `base.html`, so the cascade reads as the one sheet it was). */

/* --- the Watch pill: the one way into a fight, everywhere (M1, R58; DB-A0) ---------------------------------------
 * The owner's rule: one look and the word "Watch" at every width — a feed's fight, a cam's, a boss's card, an
 * obituary, the fight page. `fightButton(href)` (`blocks/fight_kicker.js`) draws it; this is its only look. It is
 * tinted by the hue of what it sits in, read through `--watch-hue`: a fight's kicker sets `--kick-hue` (blood for
 * crawlers, the fray's ochre for monsters), a fight box `--fight-hue`, a System card its `--kind`
 * (`system.css`); anywhere else it is blood. Set `--kick-hue` on an ancestor to tint it; never restyle it.
 * Its shape is the control family's (`tokens.css`): `--control-h` tall, `--control-pad` aside, a pill. */
.fight-kick-watch {
  --watch-hue: var(--kick-hue, var(--fight-hue, var(--blood)));
  --watch-h: var(--control-h);
  flex: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-inline-start: auto;
  min-block-size: var(--watch-h);
  padding: 0 var(--control-pad);
  border: 1px solid var(--watch-hue);
  border-radius: var(--control-radius-pill);
  background: color-mix(in srgb, var(--watch-hue) 26%, transparent);
  font-family: var(--font-prose);
  font-size: var(--text-14);
  font-weight: 400;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  color: var(--parchment);
  text-decoration: none;
  transition:
    background-color var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out);
}

.fight-kick-watch:hover,
.fight-kick-watch:focus-visible {
  border-color: var(--watch-hue);
  background: color-mix(in srgb, var(--watch-hue) 38%, transparent);
}

.fight-kick-watch:focus-visible {
  outline: 2px solid var(--watch-hue);
  outline-offset: 2px;
}

/* The play mark: a triangle cut out of a box in the hue. */
.fight-kick-play {
  flex: none;
  inline-size: 9px;
  block-size: 9px;
  background-color: var(--watch-hue);
  clip-path: polygon(20% 10%, 90% 50%, 20% 90%);
}

/* A phone keeps the pill and its word, a step tighter (the owner: one look, the word at every width; it was an
 * unlabelled circle below 480 px, the designer's components-2 #3): `--control-h-tight` tall inside a target a thumb's
 * worth taller. The kicker stays one line, "/// BOSS FIGHT · ROUND 2" beside the pill, as wide as 360 (MB102, the owner: chrome
 * stays on one line); the round's age ("since turn N") goes below 480 px, and the fight's own hover and page say when it began
 * (L36-CAMPAGE, R17). */
@media (max-width: 29.99em) {
  .fight-kick-kind {
    flex: 1 1 auto;
    column-gap: 4px;
  }

  .fight-kick-age {
    display: none;
  }

  /* A round after rounds the feed did not draw says so in its one phrase, "ROUND 9 · ROUND 8 UNCHANGED", under the kind and the pill
   * rather than cut beside them (MB3-TRUTH: it was "ROUND 9 · ROUN…"); the leading " · " is set off by the indent, as the end's is. */
  .fight-kick-kind:has(> .feed-fight-round > .fight-kick-skipped) {
    flex-wrap: wrap;
  }

  .fight-kick > .fight-kick-kind > .feed-fight-round:has(> .fight-kick-skipped) {
    flex-basis: calc(100% - 20px);
    letter-spacing: 0.03em; /* "ROUND 9 · ROUND 8 UNCHANGED" in the 185 px beside the pill, tracked tighter than a label */
    margin-inline-start: 20px;
    overflow: hidden;
    text-indent: -0.66em;
    text-overflow: clip;
    white-space: normal;
  }

  .fight-kick .t-label {
    letter-spacing: var(--track-label);
  }

  .fight-kick-watch {
    --watch-h: var(--control-h-tight);
    gap: 6px;
    padding: 0 var(--control-pad-tight);
  }

  /* The target: a thumb's worth over and under the pill, drawn by nothing. */
  .fight-kick-watch::before {
    content: "";
    position: absolute;
    inset: calc((var(--control-h-tight) - 44px) / 2) 0;
  }

  .fight-kick-play {
    inline-size: 8px;
    block-size: 8px;
  }
}

/* Beside a whole pill the kind and its round do not fit one line below 360 ("MONSTER FIGHT · ROUN…"), and the end's ("· OVER · 8
 * ROUNDS", a word and a count more) does not below 480: there the round takes a second line under the kind, starting where the
 * kind's word does, and the pill stands beside the two: "ROUND 2" and "OVER · 3 ROUNDS" whole. The round's leading " · " (the
 * markup's, said for a reader of one line) is set off the line's start and clipped: 0.66 em is the dot and its space in the
 * label's caps. */
@media (max-width: 29.99em) {
  .fight-kick--over .fight-kick-kind {
    flex-wrap: wrap;
  }

  .fight-kick--over .feed-fight-round {
    flex-basis: calc(100% - 20px);
    margin-inline-start: 20px;
    text-indent: -0.66em;
  }
}

/* At 320 the running kicker still fits one line beside the pill, "/// MONSTER FIGHT · ROUND 2" (MB110, #11; the owner: chrome stays on
 * one line): the pill's padding and gaps and the label's tracking are a step tighter, which is the 26 px the round needed. The end's
 * kicker keeps its second line above. */
@media (max-width: 22.49em) {
  .fight-kick {
    gap: var(--space-1);
  }

  .fight-kick .t-label {
    letter-spacing: 0.03em;
  }

  .fight-kick-icon {
    inline-size: 14px;
    block-size: 14px;
  }

  /* The end's second line starts where the kind's word does: the icon and its gap are 18 px now. */
  .fight-kick--over .feed-fight-round {
    flex-basis: calc(100% - 18px);
    margin-inline-start: 18px;
  }

  /* The pill rides the corner, so the card's top and right padding shrink together: the two gaps stay one (`page_watch_inset`). */
  :is(.feed-fight, .fight):has(> .fight-kick > .fight-kick-watch) {
    padding-block-start: var(--space-3);
    padding-inline-end: var(--space-3);
  }

  .fight-kick .fight-kick-watch {
    gap: var(--space-1);
    padding: 0 0.375rem;
  }
}

/* On a phone the names and rooms in the lines are a thumb tall (`layout.css`, "a thumb's worth"),
 * so a line's links need the room to be each a thumb apart. */
@media (max-width: 47.99em) {
  :is(.feed-item-text, .feed-item-meta, .fight-ending, .feed-fight p) a[href]:not(.hover-card a) {
    padding-top: var(--tap-lift);
    margin-top: calc(-1 * var(--tap-lift));
  }

  /* The pay figures in a kill line are hosts: a thumb tall like the names beside them. */
  .fight-kill .hover-host:not(.hover-card .hover-host) {
    padding-top: var(--tap-lift-line);
    margin-top: calc(-1 * var(--tap-lift-line));
  }

  .feed-item-text,
  .feed-item-meta,
  .feed-fight p {
    line-height: 1.7;
  }
}

/* The commentator's paragraph that opens a turn (R150): a standfirst over the turn's cards, not one of them — so no frame, no
 * kicker and no rule (a rule at the cards' stripe read as one more card, and an italic block behind a bar is a blockquote,
 * R18). Its label meets the turn numeral's kicker, and a wider gap under it groups the cards as the set it talks about. */
.feed-turn > .feed-booth {
  margin: 0;
  padding-bottom: var(--space-5); /* padding, not margin: a margin collapses into the next card's on a phone */
}

.feed-booth {
  max-width: var(--measure);
}

.feed-booth-label {
  display: block;
  margin: 0 0 var(--space-2);
  padding-top: var(--space-2); /* its cap line on the turn kicker's */
  line-height: 1;
  color: var(--muted);
}

.feed-booth-text {
  margin: 0;
  font-family: var(--font-prose);
  font-size: var(--text-prose);
  font-style: italic;
  line-height: var(--leading-prose);
  color: var(--parchment);
}

/* Under a slanted line an underline at the page's 0.2em drifts left of its letters, and a name-dense paragraph reads striped. */
.feed-booth-text a {
  text-underline-offset: 0.12em;
}

/* A fight's lineup on the feed's card, a cam's boxes and a floor's brief (L47-LINEUPS, L48-CAMLINEUP, R25, R98, R16, R159; the owner, 2026-10-29: "it's hard
 * to know who fights who in a quick look, requires too much reading"; 2026-11-14: "one fight row everywhere"). The kind row above is `feed_item.css`'s; under
 * it the room, then the card: the two sides, each under its count, each fighter the fight row (`fight_frame.css`, the fight page's own) and the sides
 * where `fight_frame.framesOf` puts them, and the footer of what changed. Ochre for monsters, red for crawlers (the card's `--fight-hue`). A state is an icon
 * after the name's last word (a shape, never colour alone), its word in the tooltip. */

.fight-lineup-room {
  margin-top: var(--space-1);
  font-size: var(--text-14);
  color: var(--parchment-faint);
}

.fight-lineup-room-link {
  color: var(--parchment-dim);
}

/* The card is its own box in the feed's measure: its sides' columns are by the width it is given (`roster_fit.js`), a feed 600 px wide, a brief rail 380
 * px wide and a phone alike. A running fight has no footer, so the card closes at its rows (A44: it ended in ~35 px of empty card). */
.fight-lineup-frame {
  margin: var(--space-3) 0;
  font-size: var(--text-16);
  line-height: 1.3;
  color: var(--parchment);
}

.fight-lineup-frame:last-child {
  margin-bottom: var(--space-1);
}

/* A fighter's state is one icon after the name, the same 14 px in every card and at every width, whatever the name's own size, in the card's hue; its
 * word is the tooltip and the accessible name (the owner, 2026-10-30: "I prefer icons over words for those verbs"). The mark stands on the name's own
 * baseline, its foot the baseline and the lift taking it to the middle of the words (`page_mark_on_name`). */
.fight-lineup-state {
  flex: none;
  inline-size: 14px;
  block-size: 14px;
  background-color: color-mix(in srgb, var(--fight-hue, var(--blood)) 70%, var(--parchment));
  -webkit-mask: url("/static/adb5350d6e/icons/state-joined.svg") center / contain no-repeat;
  mask: url("/static/adb5350d6e/icons/state-joined.svg") center / contain no-repeat;
}

.fight-lineup-state--left {
  -webkit-mask-image: url("/static/023f4a0882/icons/state-left.svg");
  mask-image: url("/static/023f4a0882/icons/state-left.svg");
}

/* A death is blood whatever the fight's kind (R98, R18; MB105: the × was the kind's hue, ochre on a monster's, and the strike
 * beside it parchment). The kind's colour stays on the kicker and the rule. */
.fight-lineup-state--fell {
  background-color: var(--blood);
  -webkit-mask-image: url("/static/ada15bc094/icons/state-fell.svg");
  mask-image: url("/static/ada15bc094/icons/state-fell.svg");
}

.fight-lineup-state--out {
  -webkit-mask-image: url("/static/3410ffa1cd/icons/state-out.svg");
  mask-image: url("/static/3410ffa1cd/icons/state-out.svg");
}

/* Who left or got out: the face dimmed and greyed (the fell's is the dead face's own). */
.fighter--gone .fighter-face {
  opacity: 0.55;
  filter: grayscale(0.6);
}

/* The result or what changed, under a hairline across the frame. */
.fight-lineup-footer,
.feed-fight-change.fight-lineup-footer {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid color-mix(in srgb, var(--fight-hue, var(--blood)) 22%, var(--rule));
  /* The rule spans the card: the feed's change line caps its own measure (`feed_item.css`), which stopped it ~55 px short */
  max-width: none;
}

/* A floor's brief row: the card stands the row's width, its hue the fight's kind, its footer the result sentence
 * (floor_brief.js, L48-CAMLINEUP). */
.floor-brief-fight .fight-lineup-frame {
  justify-self: stretch;
  margin: var(--space-1) 0;
}

.floor-brief-fight--pve {
  --fight-hue: var(--fray);
}

.floor-brief-fight .fight-lineup-footer {
  justify-self: stretch;
}

/* The fight page's roster head row: its label */
.fight-roster-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
}

/* A boss's damage share: a plain bar and its whole percent (R161, R12). One component for the fight page's pay table (`fight_ledger.js`) and
 * the boss-down card (`blocks/boss_down.js`): the bar is a measure of the kill and never a crawler's health, so it stands beside its
 * figure, never under a name. The fill is a class a twentieth (no style is written under the CSP); a caller sets its ink in `--share-ink`. */

.share-bar {
  display: inline-block;
  inline-size: 3.5rem;
  block-size: 4px;
  margin-inline-end: var(--space-2);
  vertical-align: middle;
  background: var(--rule);
  overflow: hidden;
}

.share-bar-fill {
  display: block;
  block-size: 100%;
  background: var(--share-ink, var(--parchment-dim));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--duration-normal) var(--ease-out);
}

.share-percent {
  display: inline-block;
  min-inline-size: 2.25rem;
  text-align: right;
  color: var(--parchment);
}

/* The bar is shorter below the desk: the table's damage column is 4.5 rem, bar and figure. */
@media (max-width: 63.99em) {
  .share-bar {
    inline-size: 2rem;
    margin-inline-end: var(--space-1);
  }

  .share-percent {
    min-inline-size: 2rem;
  }
}

/* A twentieth a step: a scale, so the bar moves on the compositor and no style is written. */
.share-bar-fill--1 { transform: scaleX(0.05); }
.share-bar-fill--2 { transform: scaleX(0.1); }
.share-bar-fill--3 { transform: scaleX(0.15); }
.share-bar-fill--4 { transform: scaleX(0.2); }
.share-bar-fill--5 { transform: scaleX(0.25); }
.share-bar-fill--6 { transform: scaleX(0.3); }
.share-bar-fill--7 { transform: scaleX(0.35); }
.share-bar-fill--8 { transform: scaleX(0.4); }
.share-bar-fill--9 { transform: scaleX(0.45); }
.share-bar-fill--10 { transform: scaleX(0.5); }
.share-bar-fill--11 { transform: scaleX(0.55); }
.share-bar-fill--12 { transform: scaleX(0.6); }
.share-bar-fill--13 { transform: scaleX(0.65); }
.share-bar-fill--14 { transform: scaleX(0.7); }
.share-bar-fill--15 { transform: scaleX(0.75); }
.share-bar-fill--16 { transform: scaleX(0.8); }
.share-bar-fill--17 { transform: scaleX(0.85); }
.share-bar-fill--18 { transform: scaleX(0.9); }
.share-bar-fill--19 { transform: scaleX(0.95); }
.share-bar-fill--20 { transform: scaleX(1); }

/* A boss down — the floor's peak (MB70-BOSSDOWN, R52, R18, R12; `blocks/boss_down.js`).
 *
 * The owner (2026-10-26): "boss down events should be a big deal, maybe make it look much more
 * epic". It is the biggest card the feed draws: the feed's full width, a double rule in the fray's
 * ochre above and below it with a soft glow behind, a title in display type, and more air around
 * it than any other card. It leads its turn, so nothing comes before or between. The ochre is the
 * monsters' (R98): a boss's fall costs no crawler their life, and blood stays death.
 *
 * Motion is the rules drawing in and the title coming up, once, when the card arrives on the live
 * stream (`.block--enter`, the turn's section a streamed turn carries — never a page load, a
 * permalink or a room's log), and it is `transform` and `opacity` alone. A reader who asks for
 * less motion gets none: the durations are zeroed (`tokens.css`) and the animation is not even named.
 */

.boss-down {
  --kick-hue: var(--fray);
  position: relative;
  margin: var(--space-7) 0;
  padding: var(--space-6) var(--space-4);
  background:
    radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--fray) 14%, transparent), transparent 70%),
    var(--surface-raised);
  box-shadow: 0 0 2.5rem color-mix(in srgb, var(--fray) 16%, transparent);
}

/* A turn's own item gap (`.feed-turn > .block`, `feed_item.css`: 12 px above, none below) outweighs the
 * card's margin, so it stood 12 px from the blow above and the System card below (`page_boxes_apart`,
 * the floor page, MB75-PAGES): the card's own air, at the section gap (24 px, the least the rule asks).
 * Wider than that it was the only gap inside a room turn to measure, 56 px against the 52 px before a turn
 * (`page_turn_head` 0.93, the room page, MB77-PAGES): a turn's inner gap stays under half the gap before it. */
.feed-turn > .boss-down {
  margin: var(--space-5) 0;
}

/* The double rule: two hairlines with ink between, a box 6 px tall with only its top and bottom drawn. */
.boss-down::before,
.boss-down::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  block-size: 6px;
  border-block: 2px solid var(--fray);
  pointer-events: none;
  transform-origin: left center;
}

.boss-down::before {
  inset-block-start: 0;
}

.boss-down::after {
  inset-block-end: 0;
}

.boss-down-head {
  margin: 0 0 var(--space-4);
}

.boss-down-kicker {
  margin: 0 0 var(--space-2);
  font-size: var(--text-14);
  color: var(--fray);
}

.boss-down-title {
  margin: 0;
  font-family: var(--font-prose);
  font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: var(--track-tight);
  color: var(--parchment);
  overflow-wrap: break-word;
  text-wrap: balance;
}

/* One sentence: the last blow and the biggest share. */
.boss-down-lead {
  margin: 0 0 var(--space-5);
  max-inline-size: var(--measure);
  font-family: var(--font-prose);
  font-size: var(--text-prose);
  line-height: var(--leading-prose);
  color: var(--parchment);
}

/* --- the shares: the pay table's rows, two lines a crawler (MB3-K1, R161, R12, R17) ------------------------------------------ */

/* One column, biggest share first, down the card (L32-FIGHTPAGE3, R76, the designer: "boss-down shares in two columns read
 * out of order" — Kalla 61 and Dell 29 side by side with Fosse 10 under Kalla). The lead's own measure holds the line, so
 * a wide card is not a row of figures a thousand pixels long. */
.boss-down-shares {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
  max-inline-size: 32rem; /* the name, the pay and the share a glance apart: not a measure wide */
}

/* Every row is the same three columns (the face, the name and its pay, the share's bar and figure), the last as wide as its parts so the bars
 * and figures of eight rows stand in two straight lines at any width. The first line is the crawler and the share; the pay is the second. */
.boss-down-share {
  display: grid;
  /* The face's track holds the face and its corner badge's reach (6 px over, 2 px of ring), so the badge never lies on the pay beside it. */
  grid-template-columns: 48px minmax(0, 1fr) auto;
  column-gap: var(--space-2);
  row-gap: 0;
  align-items: start;
  align-content: start;
  min-block-size: 40px;
  padding: 0 var(--space-2);
  border-inline-start: 3px solid transparent;
}

/* Their own row on a cam: the card is the same, and one row of it is theirs. */
.boss-down-share.is-own {
  border-inline-start-color: var(--fray);
  background: color-mix(in srgb, var(--fray) 9%, transparent);
}

/* A 40 px square beside the name and the pay, the row growing before the face does (L31-FIGHTPAGE, R89). */
.boss-down-face {
  grid-row: 1 / span 3;
  grid-column: 1;
  display: flex;
  align-items: flex-start;
  inline-size: 40px;
  block-size: 40px;
}

.boss-down-face > .sigil {
  align-self: flex-start;
}

.boss-down-name {
  grid-column: 2;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: var(--text-16);
  line-height: 1.25;
}

/* The killer's words after the name, as the pay table sets them (`.ledger-kill`): small, tracked, quiet. */
.boss-down-kill {
  margin-inline-start: var(--space-1);
  font-size: var(--text-12);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--parchment-dim);
}

/* The share of the kill, at the row's right: the pay table's plain bar and figure (`share_bar.css`, one component with the fight page's ledger),
 * in the card's ochre. It is a measure of the kill and never a crawler's health (R161, `health_is_a_bar`): it stands beside the figure at the
 * row's right, never under the name. */
.boss-down-damage {
  --share-ink: var(--fray);
  grid-column: 3;
  white-space: nowrap;
  font-size: var(--text-16);
  line-height: 1.25;
}

/* Where a share was earned, when it was not in the fight the card links (L32-FIGHTPAGE3): one dim line under the figures, said once, as the
 * ledger's how-they-left cell says it (`.ledger-earlier`, MB2-R6-LIVE: the card said it above the pay and again below), its link the fight's page. */
.boss-down-earlier {
  grid-column: 2 / -1;
  margin-top: 2px;
  font-size: var(--text-12);
  color: var(--parchment-dim);
}

/* What it paid as the fight page's ledger row says it (`fight_ledger.figure`, MB2-R5-LIVE, R6-LIVE): a cell a kind, the figure in the
 * ledger's readout face (`.t-readout`, as `.ledger-fame`), its unit a quiet serif word after it and the tier a word. A cell does not break
 * inside; the row wraps between. */
.boss-down-pays {
  grid-column: 2 / -1;
  margin-top: 2px;
}

.boss-down-pays--figures {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-3);
  font-family: var(--font-prose);
  font-size: var(--text-14);
  line-height: var(--leading-chrome);
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--parchment);
}

.boss-down-pay {
  white-space: nowrap;
}

/* The cells of every share stand in the same columns (fame, XP, then the box), so a list of eight reads down as well as across: a cell is as wide as the
 * widest figure it holds (a thousand's "+1,000 fame"), and the one after it starts where the same cell starts on the row above. */
.boss-down-pay--fame {
  min-inline-size: 5.25rem;
}

.boss-down-pay--xp {
  min-inline-size: 4.25rem;
}

/* The unit after a figure is the page talking: serif, tracked, the faintest ink that carries a word (R18; the ledger's `::after` is the same). */
.boss-down-unit {
  font-family: var(--font-prose);
  font-size: var(--text-12);
  font-weight: 400;
  letter-spacing: var(--track-label);
  color: var(--parchment-faint);
}

.boss-down-tier {
  text-transform: capitalize;
}

/* What a row says in words where it has no figures ("nothing — fell"): the ledger's how-they-left voice, quiet serif. */
.boss-down-how {
  grid-column: 2 / -1;
  margin-top: 2px;
  font-size: var(--text-14);
  line-height: var(--leading-chrome);
  color: var(--parchment-dim);
  overflow-wrap: anywhere;
}

/* What the pay line says besides (the last blow's extra): under the figures, quiet, in the reading voice. */
.boss-down-after {
  display: block;
  grid-column: 2 / -1;
  margin-top: 2px;
  font-size: var(--text-12);
  color: var(--parchment-dim);
}

/* A phrase of a row's words is one unit the line breaks between, and inside only when it is wider than the line (`boss_down.phrases`). */
.boss-down-phrase {
  display: inline-block;
  max-width: 100%;
}

.boss-down-own {
  font-size: var(--text-12);
  letter-spacing: var(--track-label);
  white-space: nowrap;
  color: var(--parchment-faint);
}

.boss-down-own {
  color: var(--fray);
}

/* The fallen are struck as the fight page strikes them, a departure only fades. */
.boss-down-share--fell .boss-down-link,
.boss-down-share--fell .boss-down-link .crawler-link-name {
  color: var(--parchment-dim);
  text-decoration: line-through;
  text-decoration-color: var(--blood);
}

.boss-down-share--left .boss-down-link {
  color: var(--parchment-dim);
}

.boss-down-share--fell .boss-down-pays,
.boss-down-share--fell .boss-down-how,
.boss-down-share--left .boss-down-pays,
.boss-down-share--left .boss-down-how {
  color: var(--parchment-faint);
}

.boss-down-notes {
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--text-14);
  line-height: var(--leading-chrome);
  color: var(--parchment-dim);
}

.boss-down-notes li + li {
  margin-top: var(--space-1);
}

/* --- the way to the fight ---------------------------------------------------------------- */

.boss-down-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--rule-soft);
}

.boss-down-fight {
  color: var(--parchment-dim);
}

/* The two controls are a pair at the foot's right (`still_marks.css` seats the fold; the Watch's own auto margin would split the room). */
.boss-down-foot > .fight-kick-watch {
  margin-inline-start: 0;
}

/* On a phone the count is the foot's first line and the controls it holds (Show the fight, Watch) are its second, side by side. */
@media (max-width: 47.99em) {
  .boss-down-foot > .boss-down-fight {
    flex: 1 0 100%;
  }
}

/* A boss that fell after the last door shut (L41-ENDPAGE, R52, R12; the designer, L40: "the first thing in the reading column is a
 * turn-34 boss kill, set at a headline as big as the winner's name"): nothing opened, so it is no peak. The same card at the
 * feed's own size, with no rules or glow, ochre only on its edge and kicker. */
.boss-down--late {
  padding: var(--space-4);
  border-inline-start: 3px solid var(--fray);
  background: var(--surface-raised);
  box-shadow: none;
}

.feed-turn > .boss-down--late {
  margin: var(--space-3) 0;
}

.boss-down--late::before,
.boss-down--late::after {
  content: none;
}

.boss-down--late .boss-down-title {
  font-size: var(--text-h2);
}

/* --- the arrival: once, on the live stream, and not for a reader who asked for less ------- */

@media (prefers-reduced-motion: no-preference) {
  .block--enter .boss-down::before,
  .block--enter .boss-down::after {
    animation: boss-rule-in var(--duration-glow) var(--ease-out) backwards;
  }

  .block--enter .boss-down-title,
  .block--enter .boss-down-kicker {
    animation: boss-title-in var(--duration-glow) var(--ease-out) 200ms backwards;
  }
}

@keyframes boss-rule-in {
  from {
    transform: scaleX(0);
  }
}

@keyframes boss-title-in {
  from {
    opacity: 0;
    transform: translate3d(0, 6px, 0);
  }
}

@media (max-width: 29.99em) {
  .boss-down {
    margin: var(--space-6) 0;
    padding: var(--space-5) var(--space-3);
  }

  /* A phone's title a step down, to the page's second voice: at 28 px a floor's boss with its descent ("The Drowned
   * Magistrate of The Barnacled Descent falls") ran four lines at 320 (DB-FIGHT, the designer). */
  .boss-down-title {
    font-size: var(--text-h2);
  }
}

/* --- a boss fight's start: the card's opening twin (R52, R18; `blocks/fight_line.js`) --------------------------------
 * The owner (2026-10-29): "the start of a boss fight should be highlighted, same as we do when the boss dies." One ochre
 * rule over a fight line, the boss's name in display type, the Watch button at the head. The rule draws in once, on the
 * live stream, and not for a reader who asked for less motion. */

.feed-fight--boss {
  --kick-hue: var(--fray);
  position: relative;
  margin: var(--space-5) 0 var(--space-3);
  padding-block-start: var(--space-4);
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--fray) 12%, transparent), transparent 70%);
  box-shadow: 0 0 2rem color-mix(in srgb, var(--fray) 12%, transparent);
}

.feed-fight--boss::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  border-block-start: 2px solid var(--fray);
  pointer-events: none;
  transform-origin: left center;
}

/* Under the kind row ("boss fight", Watch): the boss's name, then what relic it keeps if any. The row already says
 * it is a boss fight, so the head is only the name (the owner, 2026-10-29: "Boss fight · Floor 2" over "a
 * floor-two boss" said it three times). */
.boss-open-head {
  display: grid;
  gap: var(--space-1);
  margin: var(--space-1) 0 var(--space-2);
}

.boss-open-title {
  margin: 0;
  font-family: var(--font-prose);
  font-size: clamp(1.5rem, 1.2rem + 1.25vw, 2.125rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: var(--track-tight);
  text-wrap: balance;
  color: var(--parchment);
}

.boss-open-gloss {
  margin: 0;
  font-size: var(--text-14);
  font-style: italic;
  color: color-mix(in srgb, var(--parchment) 70%, var(--fray));
}

@media (prefers-reduced-motion: no-preference) {
  .block--enter .feed-fight--boss::before {
    animation: boss-rule-in var(--duration-glow) var(--ease-out) backwards;
  }

  .block--enter .boss-open-title {
    animation: boss-title-in var(--duration-glow) var(--ease-out) 200ms backwards;
  }
}

/* A narrow phone gives the name the width: a tighter row, so "Hollowbrook" stays whole at 320 (the share bar is already its short one). */
@media (max-width: 29.99em) {
  .boss-down-share {
    column-gap: var(--space-1);
    padding: 0 var(--space-1);
  }

  .boss-down-name {
    margin-inline-start: var(--space-1);
  }
}

/* ... and the pay's three cells on one line: tighter gaps and columns (a thousand's "+1,204 fame" still widens its own). */
@media (max-width: 29.99em) {
  .boss-down-pays--figures {
    column-gap: var(--space-2);
  }

  .boss-down-pay--fame {
    min-inline-size: 4.25rem;
  }

  .boss-down-pay--xp {
    min-inline-size: 3.75rem;
  }
}

/* The floor map block's local view — `blocks/floor_map.js`, `map_local.js`, `broadcast/floor_map.py`.
 *
 * The plan that used to be drawn here is gone: `/map` is an OpenLayers map over the floor's tiles
 * (`pages/map.css`, R107), and the local view says where a crawler is, in words (a room page's "Where it
 * sits", a landing's wait).
 *
 * Colour means one thing each, as the palette's own: blood is a crawler fight, water (`--flood`) the flood
 * (R98, DR2-WEB: red is fights and deaths only), cyan whatever a viewer chose — and everything else is ink
 * and parchment.
 */

/* A floor block that is not the map page's: one line and the way to the map (the gallery's). */
.floor-map-line {
  margin: 0;
  font-family: var(--font-prose);
  font-size: var(--text-14);
  color: var(--parchment-dim);
}

/* --- the follow-cam: "where they are" -------------------------------------------------------- */

.floor-local {
  min-width: 0;
  font-family: var(--font-prose);
  font-size: var(--text-14);
  line-height: var(--leading-chrome);
  color: var(--parchment-dim);
}

.floor-local p {
  margin: 0;
}

/* The room they are in: the panel's one raised card, edged in the story's parchment — cyan is
 * a party's and a viewer's, and this is neither. */
.local-here {
  display: grid;
  gap: var(--space-1);
  margin: var(--space-2) 0;
  padding: var(--space-3);
  border: 1px solid var(--rule-strong);
  border-left: 3px solid var(--parchment-dim);
  background: var(--surface-raised);
}

.local-room {
  font-size: var(--text-lead);
  line-height: 1.2;
  color: var(--parchment);
  overflow-wrap: anywhere;
}

.local-with {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1) var(--space-2);
  margin-top: var(--space-1);
}

.local-with-label {
  color: var(--parchment-dim);
}

.local-company {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
}

.local-person {
  display: inline-flex;
  min-width: 0;
}

.local-person-link {
  font-size: var(--text-14);
}

/* Monsters in the room are the fray's ochre with the claws mark, never blood and the crossed blades, which mean crawlers against
 * crawlers (DB-ALL B26, R98). */
.local-danger {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--fray);
}

.local-danger-mark {
  flex: none;
  inline-size: 16px;
  block-size: 16px;
  background-color: currentColor;
  -webkit-mask: url("/static/f24a0d76b5/icons/fight-pve.svg") center / contain no-repeat;
  mask: url("/static/f24a0d76b5/icons/fight-pve.svg") center / contain no-repeat;
}

.local-flood {
  color: var(--flood);
}

.local-stairs {
  margin: var(--space-2) 0;
  font-size: var(--text-16);
  color: var(--parchment);
}

.local-stairs-mark {
  color: var(--parchment);
}

.local-stairs--none,
.local-none {
  color: var(--parchment-faint);
}

.local-stairs-next {
  color: var(--parchment-dim);
}

.local-nears {
  display: grid;
  gap: var(--space-1);
  padding-top: var(--space-2);
  border-top: 1px dashed var(--rule-soft);
}

.local-near {
  color: var(--parchment-dim);
}

.local-near-room {
  color: var(--parchment);
}

.local-near--flood,
.local-near--flood .local-near-room {
  color: var(--flood);
}

/* The minimap (R110, MM1) -- `broadcast/minimap.py`, `templates/_minimap.html`.
 *
 * A room on its floor's map, small: the map's own tiles under each room's outline (a link to that room's page,
 * MM3) and a ringed mark on this one. The way to the whole map is a text link under the frame. The frame is the
 * page cards' (a hairline, square) and keeps a 16 : 10 shape at any width while the svg scales inside it. The room's edge is parchment, as on the map;
 * cyan stays a viewer's and red death's, so the mark is parchment too, ringed. */

.minimap-frame {
  display: block;
  width: 100%;
  max-width: 20rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--rule-strong);
  background: var(--ink-deep);
  line-height: 0;
  /* The section gap below the block (`page_boxes_apart`, R17) is the "open" link's, which ends it. */
  margin-bottom: var(--space-2);
}

.minimap-frame:hover,
.minimap-frame:focus-within {
  border-color: var(--parchment-dim);
}

/* A thumb's 24 px (WCAG 2.5.8, `page_tap_targets`): the 14 px line stood 23 px tall (L19). */
.minimap-open {
  display: block;
  width: fit-content;
  min-height: 24px;
  padding-block: 2px;
  margin-bottom: var(--space-5);
  font-size: var(--text-14);
}

/* Every room in view opens its page: its outline lit on hover and focus, a ring that stays visible for the
 * keyboard (R17). The page's own room is drawn over it, ringed, and lets the pointer through. */
.minimap-room-link {
  cursor: pointer;
}

.minimap-room-link path {
  fill: transparent;
  stroke: transparent;
  stroke-width: 2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  pointer-events: all;
}

.minimap-room-link:hover path,
.minimap-room-link:focus-visible path {
  fill: color-mix(in srgb, var(--parchment) 18%, transparent);
  stroke: var(--parchment);
}

.minimap-room-link:focus-visible {
  outline: none;
}

/* A room of another floor than a still page reads has no page at its turn (MB134): its name on hover, nothing to open. */
.minimap-room-plain path {
  fill: transparent;
  stroke: none;
  pointer-events: all;
}

.minimap-room,
.minimap-mark {
  pointer-events: none;
}

.minimap {
  display: block;
  width: 100%;
  height: 100%;
}

.minimap-room {
  fill: none;
  stroke: var(--parchment);
  stroke-width: 2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.minimap-ring {
  fill: color-mix(in srgb, var(--ink) 55%, transparent);
  stroke: var(--parchment);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.minimap-dot {
  fill: var(--parchment);
}

/* Under a fight's heading it stands apart from the roster and the log below it. */
.fight-page > .minimap-frame {
  margin-block: var(--space-4) var(--space-2);
}

/* The room page's column is wide enough to take the whole of it (MM3, the owner 2026-10-21: "it can take that
 * whole column width"); `routes_pages` asks for the wider crop, so more neighbours show at the same scale. */
@media (min-width: 64em) {
  /* A band two wide to one (the crop's 16:10 sliced at its ring's side): at 16:10 the column's 440 px picture pushed its
   * caption and the way to the whole map against the screen's foot at 1440 (DESIGN3, R17). */
  .room-page-where .minimap-frame {
    max-width: none;
    aspect-ratio: 2 / 1;
  }
}

/* A phone's room page: the picture the column's width and square, sliced at its ring's side, so the room and its doors
 * read as a place and not a shallow strip (DB-A3, the designer's P8). */
@media (max-width: 47.99em) {
  .room-page-where .minimap-frame {
    max-width: none;
    aspect-ratio: 1 / 1;
  }
}

/* A wide minimap is two frames of one room (`_minimap.html`, SR2-FIGHTPAGE H30): the wide crop from 1024 and, below it, the
 * phone's own 320 x 200 crop at the cam's and the fight's scale. It was the wide crop's middle half, which left a room the
 * floor's edge had pushed to the corner of its crop outside the frame; the phone crop holds the room by its own clamp. The
 * rooms past the edge are still a Tab away in the page's list. */
.minimap-frame--phone {
  display: none;
}

@media (max-width: 63.99em) {
  .minimap-frame--wide {
    display: none;
  }

  .minimap-frame--phone {
    display: block;
  }
}

/* The cam's crop (`minimap.py` `cam`, MB2-CAM #16): the wide neighbourhood in one frame at every width, their room ringed and
 * named, every stair in it marked, and with none in it the way to the nearest at the frame's edge. The frame is its own
 * container: the drawing is in the crop's pixels (640 wide), so its marks are set a step larger where the frame is narrow and the
 * crop is drawn small, and read the same at a phone's width and at the rail's. */
.minimap-frame--cam {
  position: relative;
  container-type: inline-size;
  max-width: none;
  aspect-ratio: 16 / 9;
}

.minimap-stair rect {
  fill: color-mix(in srgb, var(--ink) 80%, transparent);
  stroke: var(--parchment-dim);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.minimap-stair path {
  fill: none;
  stroke: var(--parchment);
  stroke-width: 2;
  stroke-linejoin: miter;
}

.minimap-name {
  fill: var(--parchment);
  stroke: var(--ink);
  stroke-width: 6px; /* a heavy halo: a name over walls and tiles read as the walls (the designer, MB2 desk 9) */
  paint-order: stroke;
  stroke-linejoin: round;
  pointer-events: none;
}

.minimap-name {
  font-family: var(--font-prose);
  font-size: 22px;
}

.minimap-toward {
  position: absolute;
  z-index: 1;
  margin: 0;
  padding: 1px var(--space-2);
  font-family: var(--font-system);
  font-size: var(--text-12);
  line-height: 1.6;
  white-space: nowrap;
  color: var(--parchment);
  background: color-mix(in srgb, var(--ink) 84%, transparent);
  border: 1px solid var(--rule-strong);
  pointer-events: none;
}

.minimap-toward[hidden] {
  display: none;
}

.minimap-toward--n,
.minimap-toward--ne,
.minimap-toward--nw {
  top: var(--space-2);
}

.minimap-toward--s,
.minimap-toward--se,
.minimap-toward--sw {
  bottom: var(--space-2);
}

.minimap-toward--e,
.minimap-toward--w {
  top: 50%;
  translate: 0 -50%;
}

.minimap-toward--e,
.minimap-toward--ne,
.minimap-toward--se {
  right: var(--space-2);
}

.minimap-toward--w,
.minimap-toward--nw,
.minimap-toward--sw {
  left: var(--space-2);
}

.minimap-toward--n,
.minimap-toward--s {
  left: 50%;
  translate: -50% 0;
}

@container (max-width: 26rem) {
  .minimap-frame--cam .minimap-ring {
    r: 16px;
  }

  .minimap-frame--cam .minimap-dot {
    r: 6px;
  }

  .minimap-stair {
    scale: 1.5;
  }

  .minimap-name {
    font-size: 32px;
    stroke-width: 6px;
  }
}

/* What several pages share (the reader rebuild, 2026-09-25): the turns every feed is grouped
 * in, the "↑ N new" pill over a feed, and the furniture of the two pages over the main channel
 * — the rail and its cards, the row of other rooms — which `/live` and the front page each
 * place on their own grid.
 *
 * Linked on every page (`base.html`), after the block families and before the page's own
 * sheet: a page's sheet is last in its cascade, which is what makes it an override.
 */

/* --- the feed's turns (`feed.js`, `feed_append.js`) -------------------------------------------------------------------- */

/* Every feed is turn groups, and the turn is the unit of the page (`/live`'s redesign, RO-CAM's lift: one look on `/live`, a cam,
 * a room and a floor, R17): a section with a hairline across it and a breath over it, its head the Label row "TURN 55 · FLOOR 1"
 * on a phone and the turn's serif numeral in a gutter from 768, "turn" and the floor under it, riding down the turn and handing
 * over to the next one's. The first turn needs no rule: "Load earlier turns" or the page's head is above it. The space before a
 * turn is at least twice the gap between a turn's own lines: `--turn-gap`. A page's own sheet may not set another. */
.feed-turn {
  margin-top: var(--turn-gap);
  padding-top: var(--space-3);
  border-top: 1px solid var(--rule-strong);
}

.feed-turn:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* A quiet run's head (a cam's one-line turns, `cam_turns.js`; a room's turns it has nothing for, `room_fold.js`): its range, "12–15", stands in
 * the numeral's slot a size down so it fits the gutter whole, "turns" and the floor the labels around it as a single turn's are. The
 * section keeps its padding, so the head stands the gap a turn's head does under the line above it (`page_turn_head`). */
@media (min-width: 48em) {
  .feed-turn[data-run] .feed-turn__num {
    font-size: var(--text-prose);
    line-height: 1.2;
    white-space: nowrap;
  }
}

.feed-gap__note {
  margin: 0;
  color: var(--muted);
}

/* A single quiet turn (`room_fold.js`) says it in the reading voice beside its full numeral, as the turns above it say theirs: the turn a still
 * room is read at is never drawn smallest. */
.feed-gap__note--turn {
  font-family: var(--font-prose);
  font-size: var(--text-prose);
  line-height: 1.4;
  color: var(--parchment-dim);
}

.feed-gap__note--turn::first-letter {
  text-transform: uppercase;
}

/* A turn whose every block is hidden (a thought the header already says, R12) is no turn: its numeral over nothing ended a cam's feed. */
.feed-turn:not(:has(> :not(.feed-turn__at, [hidden]))) {
  display: none;
}

.feed-turn__at {
  position: static;
  margin: 0 0 var(--space-3);
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  font-size: var(--text-14);
  font-weight: 400;
  line-height: var(--leading-chrome);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--muted);
}

/* A link, a button or a focus stop in a turn scrolls clear of the turn's own sticky head, which stands under
 * the masthead (`html`'s `scroll-padding-top` clears that): at 375 "floor 1 · turn 53" covered the focused
 * name and its ring (SR2-VISUAL, M32, R17). The head and its permalink are what it clears. */
.feed-turn :is(a, button, [tabindex]):not(.feed-turn__at, .feed-turn__link) {
  scroll-margin-top: calc(var(--turn-head-h) + var(--space-2));
}

/* A phone's turn label stays under the page's bar (`--feed-bar`: `/live`'s rail bar; none elsewhere) while its turn is read,
 * on the ground so the lines slide under it (R17, R69: the turn is the page's unit, found in a dense feed). */
@media (max-width: 47.99em) {
  /* The head rests at the foot of its own turn once the turn has scrolled by, and a sticky box stays inside its container's content, not its
   * padding: the turn ends with a head's height of room, so the head parks in it and never on the turn's last words (the designer, CA read 4
   * L6: `page_overlap` 5 px). The room comes out of the gap before the next turn, so two turns stand as far apart as they did. */
  /* Only where a page lands mid-feed (a still page, `data-as-of`): a feed read from its top never parks a
   * head on a turn, and the room page's gap before a turn would fall under the turn head rule's 2x. */
  [data-as-of] .feed-turn {
    margin-top: max(0px, calc(var(--turn-gap) - var(--turn-head-h)));
  }

  [data-as-of] .feed-turn::after {
    content: "";
    display: block;
    block-size: var(--turn-head-h);
  }

  .feed-turn__at {
    position: sticky;
    top: calc(var(--turn-head-top) + var(--feed-bar, 0px));
    z-index: var(--z-base);
    padding-block: var(--space-1);
    background: var(--ink);
    /* A rule under it, so what slides beneath is cut at an edge and not mid-letter (RP12). */
    box-shadow: 0 1px 0 var(--rule-strong);
  }
}

/* The head's one link is the turn's own address (`/live?at=M`, the shareable unit), and it is the row: quiet at rest,
 * whole on hover. */
.feed-turn__link,
.feed-turn__at:not(:has(> .feed-turn__link)) {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: var(--space-2);
  text-decoration: none;
}

.feed-turn__link {
  color: inherit;
}

/* "FLOOR 10" is the widest label of the gutter: a feed that sets `--turn-label` (the cam's, 12 px: the spec's Label) keeps a space
 * between it and the sentence beside it, and a phone's head is the same tracked Label. */
.feed-turn__at,
.feed-turn__num,
.feed-turn__word,
.feed-turn__floor,
.feed-turn__sep {
  font-size: var(--turn-label, var(--text-14));
}

/* A turn a keyboard was sent to (`feed_append`: after loading earlier ones, or "↓ N new turns") is shown to be where
 * reading goes on. */
.feed-turn__at:focus-visible {
  outline: 1px solid var(--parchment-dim);
  outline-offset: 3px;
}

/* Hover and focus draw one line, in its place (MB94, R17; the owner, 2026-11-03: "The lines here don't look good": each of
 * the three pieces carried a line of its own, and the numeral's, at a quarter of its own em, ran through "FLOOR" under it).
 * The three pieces brighten to parchment; on a phone the row is one link, so one line runs under the whole row (below), and
 * from the desk's width the numeral alone is underlined, at an offset in px that stays inside its own box. */
.feed-turn__link:hover :is(.feed-turn__num, .feed-turn__word, .feed-turn__floor),
.feed-turn__link:focus-visible :is(.feed-turn__num, .feed-turn__word, .feed-turn__floor) {
  color: var(--parchment);
}

@media (max-width: 47.99em) {
  .feed-turn__link {
    inline-size: fit-content;
    max-inline-size: 100%;
    /* The numeral's line is 20 px tall: the link takes the head's own 4 px either side, so a thumb has 28 and the head is the height it was
     * (`page_tap_targets`). */
    padding-block: var(--space-1);
    margin-block: calc(-1 * var(--space-1));
  }

  .feed-turn__link:hover,
  .feed-turn__link:focus-visible {
    box-shadow: 0 1px 0 var(--parchment);
  }
}

/* The turn a page is about is marked in its own head and along its whole height (H52, RP11, RP12, MB3-RAIL): the named turn of a still page and the
 * linked one of a permalink. A faint tint in the System's acid and its rule over the top, a ground of its own that bleeds a step outside the turn on the
 * left and at the foot, so the numeral and the last card stand inside it with air (the owner, 2026-11-13); the turn's box and the gutter do not move.
 * From the desk's width the linked turn's two px acid rule stands on the ground's left edge. */
.feed-turn:is([data-named], [data-linked]) {
  position: relative;
  isolation: isolate;
  border-top-color: var(--acid);
}

.feed-turn:is([data-named], [data-linked])::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1px 0 calc(-1 * var(--space-3)) calc(-1 * var(--space-3));
  border-top: 1px solid var(--acid);
  background: linear-gradient(to right, color-mix(in srgb, var(--acid) 10%, transparent), transparent 78%);
  pointer-events: none;
}

.feed-turn:first-child:is([data-named], [data-linked])::before {
  inset-block-start: 0;
  border-top: 0;
}

@media (min-width: 48em) {
  .feed-turn[data-linked]::before {
    box-shadow: inset 2px 0 var(--acid);
  }

  /* ... and a step past the cards on the right, so the ground holds them on every side (the desk designer, round 2). */
  .feed-turn:is([data-named], [data-linked])::before {
    inset-inline-end: calc(-1 * var(--space-3));
  }
}

/* On a phone the turn ends with the head's resting room (above): the ground ends at the last item and a step under it, never as a slab under the room. */
@media (max-width: 47.99em) {
  [data-as-of] .feed-turn:is([data-named], [data-linked])::before {
    inset-block-end: calc(var(--turn-head-h) - var(--space-3));
  }
}

/* The sticky head needs an opaque ground, and on the turn a page is about that ground is the wash itself over ink, so the turn and its head read as
 * one tinted block at rest and stuck (the phone designer: a dark slab cut the tint in two; MB3-WASH2). */
@media (max-width: 47.99em) {
  .feed-turn:is([data-named], [data-linked]) .feed-turn__at {
    background: linear-gradient(to right, color-mix(in srgb, var(--acid) 10%, var(--ink)), var(--ink) 78%);
  }
}

/* The turn after it (a permalink draws the moment and its payoff) is named in the gutter and left at the plain turns' volume: "NEXT / TURN 41",
 * the shape of "LINKED / TURN 40", and a boss's opening inside it is one step down from the linked turn's own, without its glow. */
.feed-turn[data-linked] .feed-turn__link::before,
.feed-turn[data-next] .feed-turn__link::before {
  content: "linked";
  order: 0;
  flex-basis: 100%;
  /* The label face, as every small cap of the page: never the System's lime mono (R18); the acid rule is the mark's colour (RP7). */
  font-family: var(--font-prose);
  font-size: var(--text-12);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--parchment);
}

.feed-turn[data-next] .feed-turn__link::before {
  content: "next";
  color: var(--parchment-faint);
}

.feed-turn[data-next] .feed-fight--boss {
  background: none;
  box-shadow: none;
}

.feed-turn[data-next] .boss-open-title {
  font-size: var(--text-lead);
}

/* "TURN 55 · FLOOR 1" on a phone: the turn first, then the floor, the one dot between (the markup reads floor first, so
 * a line that is not this head reads "floor 3 · turn 20"). */
.feed-turn__word {
  order: 1;
}

.feed-turn__num {
  order: 2;
  font-variant-numeric: lining-nums tabular-nums;
}

.feed-turn__sep {
  order: 3;
}

.feed-turn__floor {
  order: 4;
}

@media (min-width: 48em) {
  .feed-turn {
    display: grid;
    grid-template-columns: var(--turn-gutter) minmax(0, 1fr);
  }

  .feed-turn > * {
    grid-column: 2;
  }

  .feed-turn > .feed-turn__at {
    grid-column: 1;
    /* Every row of the turn: the numeral sticks inside the turn's own box, so the next turn's takes over. */
    grid-row: 1 / span 60;
    position: sticky;
    top: calc(var(--turn-head-top) + var(--feed-bar, 0px) + var(--space-3));
    align-self: start;
    margin: 0;
    padding: 0;
    background: none;
    z-index: var(--z-base);
  }

  .feed-turn__link,
  .feed-turn__at:not(:has(> .feed-turn__link)) {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    /* "FLOOR 10" at 14 px stands whole in the gutter's 4.5rem, the tracking a step tighter (R69: a label never wraps or is cut). */
    letter-spacing: var(--track-tight);
  }

  .feed-turn__sep {
    display: none;
  }

  /* The numeral stays whole in the gutter with breathing room before a card's wash: two tabular digits of the h1's 56 px were 67 px of the
   * gutter's 72, 5 px from the card at 1257 and up; capped at 50 px they are 60, a hand's breadth clear (MB3-DB-LIVE). */
  .feed-turn__num {
    font-size: min(var(--text-h1), 3.125rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: var(--track-tight);
    text-transform: none;
    color: var(--parchment-faint);
  }

  .feed-turn__word {
    margin-top: var(--space-1);
  }

  .feed-turn__link:hover .feed-turn__num,
  .feed-turn__link:focus-visible .feed-turn__num {
    text-decoration: underline 1px var(--parchment);
    text-underline-offset: 4px;
  }

  /* A span of turns under one head ("turns 35–37", a floor's fold of rests): its range stands in the numeral's slot a size down so it
   * fits the gutter whole, as a cam's quiet stretch does (`cam_live.css`). */
  .feed-turn[data-span] .feed-turn__num {
    font-size: var(--text-prose);
    line-height: 1.2;
    white-space: nowrap;
  }


  .feed-turn__floor {
    order: 3;
    white-space: nowrap;
  }
}

/* --- the bar and its sheet below 1024 (RD-RAIL, spec §4.11; lifted for the cam by RO-CAM) -------------------------------------
 *
 * A page's rail below its wide breakpoint is one sticky bar under the masthead (the page makes the box sticky: `.live-side`,
 * the cam's `.cam-dossier`) and a sheet it opens over the feed, never in the flow, so opening it moves nothing a reader is
 * reading (R64; `side_fold.js` owns `data-fold`). `/live`'s and the cam's are this one component (R17). */
@media (max-width: 63.99em) {
  .rail-fold[data-fold] > .rail-fold-head {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    box-sizing: border-box;
    min-block-size: var(--bar-h);
    padding: var(--space-1) 0;
    border-block: 1px solid var(--rule-strong);
    background: var(--ink);
    list-style: none;
    cursor: pointer;
  }

  .rail-fold[data-fold] > .rail-fold-head::-webkit-details-marker {
    display: none;
  }

  .rail-fold[data-fold] > .rail-fold-head::after {
    flex: none;
    margin-inline-start: var(--space-1);
    content: "▾";
    content: "▾" / "";
    color: var(--parchment-dim);
  }

  .rail-fold[data-fold][open] > .rail-fold-head::after {
    content: "▴";
    content: "▴" / "";
  }

  .rail-fold[data-fold] > .rail-fold-head:hover .rail-fold-label,
  .rail-fold[data-fold] > .rail-fold-head:focus-visible .rail-fold-label {
    color: var(--parchment);
  }

  /* The bar says "The board", so the sheet it opens does not head its board with the same words again (the designer, CA read 6 L6): the heading
   * stays for a screen reader, which meets the sheet without the bar's label. */
  .rail-fold[data-fold][open] > .rail-fold-body .standings > .state-head {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  /* The sheet is a layer over the page, and reads as one (MB2-R6-LIVE, R17; the designer, phone read 4 N3: "no scrim, no shadow, a strip of
   * the page under it, its edge slicing a fight card"): it runs to the screen's foot, a scrim dims the page around it (a spread shadow, so it
   * takes no element, no pointer and no layout: a press on the dimmed page is a press outside, `side_fold.js`), and a rule and the lift's
   * shadow close its foot. The bar stands above the scrim, undimmed: it is the control that closes the sheet. */
  .rail-fold[data-fold][open] > .rail-fold-head {
    position: relative;
    z-index: 1;
  }

  /* The sheet: the rail's own sections, over the feed under the bar, scrolling inside itself. */
  .rail-fold[data-fold][open] > .rail-fold-body {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    box-sizing: border-box;
    max-block-size: calc(100vh - var(--masthead-h) - var(--bar-h));
    max-block-size: calc(100dvh - var(--masthead-h) - var(--bar-h));
    padding: var(--space-4) var(--space-3) var(--space-5);
    overflow-y: auto;
    overscroll-behavior: contain;
    /* A glow at the sheet's foot says it scrolls: a cover that moves with the content hides it once the end is reached. */
    background:
      linear-gradient(var(--ink-2), var(--ink-2)) bottom / 100% 2.5rem no-repeat local,
      linear-gradient(transparent, color-mix(in srgb, var(--parchment) 16%, transparent)) bottom / 100% 2.5rem no-repeat scroll,
      var(--ink-2);
    border: 1px solid var(--rule-strong);
    border-top: 0;
    border-bottom-color: var(--parchment-faint);
    box-shadow:
      var(--shadow-raised),
      0 0 0 100vmax color-mix(in srgb, var(--ink-deep) 66%, transparent);
  }
}

/* --- the append-only feed's "Load earlier turns" (`feed_append.js`: `/live`, a cam) ------------- */

/* "Load earlier turns": a hairline box in the log's own width, its
 * label in small caps, slimmer than the dashed box it was (MB46-CONTAIN, #38: a quiet link lost it its place in the
 * log). One rule for `/live`, a cam and a room. */
.feed-earlier {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-block-size: 2rem;
  /* The hairline button stands the section gap off the first turn, whose first thing may be a frame. */
  margin: 0 0 var(--space-5);
  padding: var(--space-1) var(--space-4);
  border: 1px solid var(--rule-strong);
  background: transparent;
  font-family: var(--font-prose);
  font-size: var(--text-14);
  font-variant-caps: normal;
  letter-spacing: normal;
  border-radius: var(--control-radius-pill);
  color: var(--parchment-dim);
  cursor: pointer;
  transition:
    border-color var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out);
}

/* The label in small caps, as the checklist asks; still the log's width and a hairline (the owner's #38). */
.feed-earlier {
  font-variant-caps: all-small-caps;
  letter-spacing: var(--track-label);
}

.feed-earlier:hover,
.feed-earlier:focus-visible {
  border-color: var(--parchment-dim);
  color: var(--parchment);
}

/* Loading: the same dim ink as at rest (never the faint one — it is words, and read at AA). */
.feed-earlier:disabled {
  cursor: progress;
  color: var(--parchment-dim);
}

.feed-earlier[hidden] {
  display: none;
}

/* "↓ 2 new turns", fixed to the bottom edge of the screen while a reader is above them: shown, it
 * covers a line for a moment and moves none. The page talking to its reader — parchment, not the
 * System's acid — and fading in; the fade is zeroed under reduced motion with every other. */
.feed-note {
  position: fixed;
  inset-inline: 0;
  bottom: var(--space-4);
  z-index: var(--z-sticky);
  width: max-content;
  max-width: calc(100% - 2 * var(--space-4));
  margin-inline: auto;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--parchment-dim);
  border-radius: var(--control-radius-pill);
  background: var(--surface-raised);
  box-shadow: var(--shadow-raised);
  font-family: var(--font-prose);
  font-size: var(--text-14);
  letter-spacing: var(--track-label);
  color: var(--parchment);
  cursor: pointer;
  animation: feed-note-in var(--duration-normal) var(--ease-out) backwards;
  transition:
    border-color var(--duration-fast) var(--ease-out),
    background-color var(--duration-fast) var(--ease-out);
}

.feed-note:hover,
.feed-note:focus-visible {
  border-color: var(--parchment);
  background: color-mix(in srgb, var(--parchment) 8%, var(--surface-raised));
}

.feed-note[hidden] {
  display: none;
}

@keyframes feed-note-in {
  from {
    opacity: 0;
  }
}


/* --- the rail's cards, on `/live` ------------------------------------------------------ */

/* The rail's sections — the clock, the open vote, the board, the desk: furniture, not boxes (RD-RAIL, the
 * redesign of 2026-11-02: only the System gets a frame, and the vote is the System asking; `live_rail.css` sets them
 * apart by hairlines and Label heads). A section whose panel has nothing to say — an empty slot, or a panel marked
 * `data-empty` (`blocks/state.js`) — folds away whole, ballot and all. */
.main-rail-card {
  min-width: 0;
}

.main-rail-card:has(> [data-state-slot]:empty),
.main-rail-card:has(> [data-state-slot] > [data-empty]) {
  display: none;
}

/* A stranger is told how to take part; the link is the viewer controls' own (`vote.css`). */
.vote-signin {
  margin-top: var(--space-3);
  font-family: var(--font-prose);
  font-size: var(--text-14);
  color: var(--parchment-dim);
}

/* The one empty-feed treatment (FIRSTMIN2, R17): the dashed slot, on `/live` and a room's
 * page alike — a place standing at turn 0 for the first line to land in. */
.feed-slot {
  margin: var(--space-2) 0 0;
  padding: var(--space-4);
  border: 1px dashed var(--rule);
  color: var(--parchment-dim);
}

/* A page that is not there (`missing.html`): a heading, one sentence, three ways out. The
 * title is the second voice, not the first — nothing here is news (R17). */

.missing-head {
  display: grid;
  gap: var(--space-2);
  min-width: 0;
}

.missing-name {
  font-size: var(--text-h2);
  color: var(--parchment);
  overflow-wrap: anywhere;
}

.missing-why {
  max-width: var(--measure);
  font-family: var(--font-prose);
  font-size: var(--text-16);
}

.missing-out {
  font-size: var(--text-16);
  color: var(--parchment-dim);
}

/* "Jump to latest", a feed's way down to now: the link size on every page that has it (DESIGN4, the designer of dr2 F6:
 * at the prose's 20 px on `/live` and a room, at 16 on the cam). Each page lays it out in its own head. */
.live-latest,
.room-page-latest,
.cam-latest {
  font-size: var(--text-16);
}

/* What a page about a moment is, said under its title before anything on it is read: the still floor, crawler, fight and room (R141). */
.still-dek {
  max-inline-size: var(--measure-feed);
  margin: var(--space-3) 0 0;
  font-size: var(--text-prose);
  color: var(--parchment-dim);
}

/* --- the fan's own crawlers (§2.4, §4.13, R152) ------------------------------------------------------------------------- */

/* A followed crawler is marked on the crawler, on every page (`yours_mark.js`): cyan is what a viewer caused, and following is the fan's act.
 * Every face of theirs wears a 2 px ring, a shadow, so no face moves; every link to them a solid cyan underline, the words keeping their
 * colour (a sentence keeps its ink: red stays health's, ochre the fight's). No bar, no wash. */
.sigil.is-yours {
  box-shadow: 0 0 0 2px var(--cyan);
}

.is-yours-link {
  --link-rule: var(--cyan);
  text-decoration: underline solid var(--cyan);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

/* The design kit (S4, 2026-11-09; the owner: "a design kit with a set of predefined components to reuse"). One part, one drawing (R12): a
 * `.kit-*` class is drawn here and nowhere else. A page sheet under `pages/` or `blocks/` only places a kit part (margin, grid, flex,
 * width, position, gap); it never sets its colour, type, border, radius, padding or background. `tests/unit/test_kit.py` holds that.
 *
 * Each family lands here with its macro (`templates/kit.html`) and its builder (`js/kit.js`), which emit the same markup:
 *   crawler, section_head, button and chip, box and stat.
 * Linked last in the shell's sheets (`base.html`), so a kit part wins where it meets a block's, never by specificity.
 */

/* The Crawlers page `/crawlers` — spec §15.1, R10.5, R10.9, and LAYOUT's merge (2026-10-08): the
 * board's table, with the casting page's filters over it.
 *
 * The season in order, to be read: a rank, a face and a name, how hurt as a band, the numbers
 * and a slim column of marks. The rank and the numbers are readouts, the one mono on the page;
 * every word is the show's serif. A row the feed has this turn wears the live colour and the
 * dead go quiet. The table fills the page's width (`--page-max`, the masthead's) and scrolls
 * inside its own box where it must; the page itself never does. The form, the buttons, the
 * pages — none of it is the System talking.
 */

/* --- the page ------------------------------------------------------------------------------- */

/* The page's whole frame: a table is not a column of sentences, so it takes all of it; the
 * blurb and the "as of" line keep their measure. */
.casting {
  width: 100%;
  min-width: 0;
}

.casting-head {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--rule);
}

.casting-title {
  color: var(--parchment);
}

.casting-intro {
  display: grid;
  gap: var(--space-2);
  align-content: start;
}

/* From 1024 the head is two halves across the frame — the name and its "as of" line, the rule and
 * the count beside them at the measure — so the intro is no narrow column beside a blank half. */
@media (min-width: 48em) {
  .casting-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 48%);
    column-gap: var(--page-gap);
    align-items: end;
  }

  /* The rule fame is read by runs to the frame's edge (it stopped 190 px short at 1024, held to a measure beside a bare strip). */
  .casting-head .board-blurb {
    max-width: none;
    text-wrap: pretty;
  }
}

@media (min-width: 64em) {
  .casting-head .board-blurb {
    font-size: var(--text-16);
  }
}

/* "The living, by fame, as of turn 95" — how old the page is, said where the page is named,
 * because nothing on it moves after load. */
.board-asof {
  font-size: var(--text-lead);
  line-height: 1.3;
  text-wrap: balance; /* no lone "30." on a line of its own */
  color: var(--parchment-dim);
}

/* The turn is a figure in a sentence: the sentence's own serif and size, tabular so it does not
 * shuffle, a shade brighter (R18, design round 2 — it was mono and larger than the words around it). */
.board-asof .t-figures {
  color: var(--parchment);
}

/* While fame is flat (`crawlers.html`): why the rows wear no rank. A quiet line over the table; the
 * System's voice is not wanted for a plain fact. */
.board-flat {
  margin: var(--space-3) 0;
  font-size: var(--text-14);
  color: var(--parchment-faint);
}

/* The fame rule folds behind one line on a phone, so the board starts on the first screen (L4: the first row
 * began at y 505); from 768 the fold has no toggle and its text is always shown, as the filters' is. */
.board-rule-toggle,
.casting-filters-toggle {
  display: flex;
  align-items: center;
  column-gap: var(--space-2);
  inline-size: fit-content;
  max-inline-size: 100%;
  min-block-size: var(--control-h);
  padding: 0 var(--control-pad);
  border: 1px solid var(--rule-strong);
  border-radius: var(--control-radius-pill);
  font-size: var(--text-14);
  letter-spacing: normal;
  text-transform: none;
  color: var(--parchment-dim);
  cursor: pointer;
  list-style: none;
}

.board-rule-toggle::-webkit-details-marker,
.casting-filters-toggle::-webkit-details-marker {
  display: none;
}

.board-rule-toggle:hover,
.board-rule-toggle:focus-visible {
  border-color: var(--parchment-dim);
  color: var(--parchment);
}

.board-blurb {
  max-width: var(--measure);
  font-size: var(--text-14);
  color: var(--parchment-dim);
}

/* From 1280 the second half starts where the table's party column does and runs to the frame's edge, a share
 * of the frame (43%) rather than a capped measure beside a bare strip: at 1920 the blurb floated at the
 * middle with 180 px bare to its right. Its line stays under 80 ch of its own font: 16 px in 636 px (I16-WEB,
 * the designer of I16-s7, R17). */
@media (min-width: 80em) {
  .casting-head {
    grid-template-columns: minmax(0, 1fr) 43%;
    column-gap: var(--space-7); /* the longest lede (a still board's) ran to 37 px of the blurb; it wraps first now */
  }
}

/* --- the form: five choices and a button, on one line where the width allows ------------------ */

/* The fold the form sits in (`crawlers.html`): a phone's one line, "Filter and sort", so the board
 * starts on the first screen; from 768 the fold has no toggle and its form is always shown. */
.casting-filters-toggle {
  margin-bottom: var(--space-4);
  /* The label stays one piece and what is in force wraps under it, whole: a long name made the label itself break in two
   * ("Filter and / sort") inside the pill (MB3-DB-CRAWLERS). */
  flex-wrap: wrap;
  padding-block: var(--space-1);
}

/* What is in force, said on the closed fold (DR-PAGES #8): plain words after the label's caps. */
.casting-filters-now {
  text-transform: none;
  letter-spacing: normal;
  color: var(--parchment);
}

.casting-filters-toggle:hover,
.casting-filters-toggle:focus-visible {
  border-color: var(--parchment-dim);
  color: var(--parchment);
}

.casting-filters[open] > .casting-filters-toggle {
  margin-bottom: var(--space-3);
}


.casting-form {
  margin-bottom: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: var(--space-3) var(--space-4);
  padding-block: 0 var(--space-4);
  border-bottom: 1px solid var(--rule);
}

.casting-field {
  display: grid;
  gap: var(--space-1);
  flex: 1 1 9rem;
  min-width: 0;
}

.casting-field--name {
  flex: 2 1 14rem;
}

.casting-field--party {
  flex: 2 1 13rem;
}

/* A field a person types into or chooses from is theirs, so the show's serif — at 16 px, the
 * size under which a phone zooms the page on focus. Its height is its own and never its
 * face's: a control's `line-height: normal` follows the face, and a `<select>` follows it
 * whatever its line says, so the roster under the form rose three pixels a row when Newsreader
 * landed on the fallback it was first drawn in (Task S4). One line, its padding, its border. */
.casting-input {
  width: 100%;
  min-width: 0;
  block-size: calc(var(--text-16) * var(--leading-chrome) + 2 * var(--space-2) + 2px);
  padding: var(--space-2) 0;
  font-family: var(--font-prose);
  font-size: var(--text-16);
  line-height: var(--leading-chrome);
  color: var(--parchment);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-strong);
  border-radius: var(--radius-0);
  transition: border-color var(--duration-fast) var(--ease-out);
}

/* No control keeps the browser's look (R18): the same box for the type-in and the choosers, and
 * the chooser's arrow drawn here, two gradients making a chevron, in the page's own colours. */
.casting-input {
  appearance: none;
  -webkit-appearance: none;
  border-radius: var(--radius-0);
}

.casting-input::-webkit-search-cancel-button {
  appearance: none;
  -webkit-appearance: none;
}

select.casting-input {
  padding-inline-end: var(--space-6);
  background-image:
    linear-gradient(45deg, transparent 50%, var(--parchment-dim) 50%),
    linear-gradient(135deg, var(--parchment-dim) 50%, transparent 50%);
  background-position:
    calc(100% - 6px) 50%,
    calc(100% - 0px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

select.casting-input option {
  color: var(--parchment);
  background: var(--ink);
}

.casting-input:hover {
  border-bottom-color: var(--parchment-dim);
}

.casting-input:focus {
  border-bottom-color: var(--parchment);
}

/* A click on a field should not ring it; a keyboard landing on it must — scoped, because a
 * bare `:focus { outline: none }` outranks the shell's one `:focus-visible` rule. */
.casting-input:focus:not(:focus-visible) {
  outline: none;
}

.casting-input::placeholder {
  color: var(--parchment-faint);
}

.casting-go {
  flex: 0 0 auto;
}

/* The page's own button: serif caps on the ground, filled on hover, pressed a pixel. */
.casting-button,
.casting-page {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--control-h);
  padding: 0 var(--control-pad);
  font-family: var(--font-prose);
  font-size: var(--text-14);
  font-weight: 400;
  line-height: 1;
  letter-spacing: normal;
  text-decoration: none;
  color: var(--parchment-dim);
  background: transparent;
  border: 1px solid var(--rule-strong);
  border-radius: var(--control-radius-pill);
  cursor: pointer;
  transition:
    background-color var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}

.casting-button:hover,
.casting-page:hover,
.casting-button:focus-visible,
.casting-page:focus-visible {
  color: var(--parchment);
  border-color: var(--parchment-dim);
}

.casting-button:active,
.casting-page:active {
  transform: translateY(1px);
}

/* --- the count ------------------------------------------------------------------------------ */

/* How many the filters leave: the head's, under the rule fame is read by. */
.casting-count {
  margin: 0;
  font-size: var(--text-14);
  color: var(--parchment-dim);
}

.casting-rule {
  display: grid;
  gap: var(--space-3);
  align-content: start;
}

/* --- the table ------------------------------------------------------------------------------ */

/* Eight columns will not narrow to 320 px, so below 768 a row is two lines (narrow, below). */
.board-scroll {
  border-top: 0;
}

.board-table {
  /* One rank track for every row at every width: "=3" at the podium's numeral and "=100" at the body's, tabular figures
   * (a serif digit is about 0.5 em wide, the "=" 0.6), right-aligned in it, so no name ever starts at another x (MB-BOARD, R18). */
  --rank-d: 2;
  --rank-tie: 1;
  /* Sized for the ranks the page draws, not for "=100" on every page (`crawlers.html` says them): the digits (0.55 em each, a margin on
   * the 0.5) and, where any two tie, the "=" (0.6 em). */
  --rank-track: max(calc((0.55 + 0.6 * var(--rank-tie)) * var(--text-h1)), calc((0.55 * var(--rank-d) + 0.6 * var(--rank-tie)) * var(--text-h2)));
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-prose);
  font-size: var(--text-16);
  color: var(--parchment-dim);
}

.board-table[data-rank-digits="1"] {
  --rank-d: 1;
}

.board-table[data-rank-digits="3"] {
  --rank-d: 3;
}

.board-table[data-rank-tie="0"] {
  --rank-tie: 0;
}

.board-table th {
  padding: var(--space-2) var(--space-3) var(--space-2) 0;
  border-bottom: 1px solid var(--rule-strong);
  text-align: left;
  font-size: var(--text-12);
  font-weight: 400;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--parchment-faint);
  white-space: nowrap;
}

.board-table td {
  padding: var(--space-2) var(--space-3) var(--space-2) 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: middle;
  white-space: nowrap;
}

.board-table tbody tr {
  transition: background-color var(--duration-fast) var(--ease-out);
}

.board-table tbody tr:hover,
.board-table tbody tr:focus-within {
  background: var(--ink-2);
}

/* The rank is the one number bigger than the rest: it is what the page is sorted by, and a
 * board where the ranking whispers is a list. */
.board-table .board-rank {
  width: calc(var(--rank-track) + var(--space-4));
  min-width: calc(var(--rank-track) + var(--space-4));
  padding-right: var(--space-4);
  text-align: right;
}

td.board-rank {
  font-family: var(--font-prose);
  font-size: var(--text-h2);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: var(--track-tight);
  font-variant-numeric: lining-nums tabular-nums;
  /* The digits' ink sits about 0.07em above the line box's middle: that much more padding above, so the numeral is
   * centred on the face and the name by what is drawn, not by its box (MB-BOARD). */
  padding-top: calc(var(--space-2) + 0.14em);
  color: var(--parchment-faint);
}

/* The season's three in front are set as a podium in type: the numeral at the page's display size, the face a size up and the row a
 * step taller (RO-LISTS); the ledger follows from the fourth. The name stays the site's one crawler link (`design-check`: one component, one look). */
@media (min-width: 64em) {
  .board-table tbody tr.board-row--lead td {
    padding-block: var(--space-3);
  }

  .board-table tbody tr.board-row--lead td.board-rank {
    padding-top: calc(var(--space-3) + 0.14em);
  }
}

.board-table tbody tr.board-row--lead td.board-rank {
  font-size: var(--text-h1);
  line-height: 1;
}

.board-table tbody tr:hover td.board-rank,
.board-table tbody tr:focus-within td.board-rank {
  color: var(--parchment);
}

/* The face and the name on one line, the face centred on it — a flex box inside the cell,
 * never the cell itself, which has to stay a table cell for the row to hold together. */
.board-who {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1) var(--space-2);
}

/* The name is the link's whole box, hugging its words: a flex item that stretched across the row drew its ring
 * as an L, and 3 px off the name the ring's foot ran through the meta line under it (SR2-VISUAL, M33, D17). */
.board-who .crawler-link {
  align-self: center;
  font-weight: 600;
  color: var(--parchment);
}

.board-who > [data-sigil],
.board-who > .board-plate,
.board-who > .casting-in-feed,
.board-who > .board-chip {
  align-self: center;
}

/* The nameplate (R161, MB3-I7-MISC): the name over its bar, the bar as wide as the name (the plate's one column is the name's own width; the bar asks for
 * none), never a fixed stub that runs past a short name or stops under a long one. The bar's own minimum keeps a short name's bar a bar. */
.board-plate {
  display: grid;
  justify-items: start;
  inline-size: fit-content;
  min-inline-size: 0;
  max-inline-size: 100%;
  row-gap: 2px;
}

/* The name's 2 px of ring room aside (`typography.css`, paid back in margin) is a prose link's, for its neighbours' glyphs: a nameplate's name has none, and
 * its box stays inside its plate, as a grid item's text does (`page_text_inside`; the plate is the name's width, so the bar is too). */
.board-plate > .crawler-link {
  padding-inline: 0;
  margin-inline: 0;
}

.board-who .crawler-link:focus-visible {
  outline-offset: 1px;
}

/* Health: the nameplate's bar (R161, MB3-ROW), under the name, the one track of every row (`blocks/health_bar.css`), no figures and no word: there is no Health column to float it
 * 300 px from the name. The colour is the step, the length the health (`blocks/health_bar.css`). */
.board-bar {
  display: block;
  inline-size: 100%;
}

/* The place of a bar the dead and those out do not have: its height and its gap, no more. */
.board-bar--none {
  block-size: calc(var(--hbar-plate-h) + var(--hbar-plate-gap));
}

/* Numbers right, and their headers with them — `.board-table th` sets every header left, so
 * this has to outrank it. */
.board-table .board-number {
  text-align: right;
}

td.board-number {
  color: var(--parchment);
}

/* Body ink: the cyan competed with the mono tags beside it; the row's hover is where it lights (I21-WEB, R18). */
.board-party {
  color: var(--parchment);
}

/* A party's name keeps to two lines in its column and is never broken mid-word: "The Mussel- / Crusted Tidepool / Pact"
 * stood three lines tall at 1024 (SR2-BOARD, M8). The full name is the span's title. */
.board-party-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  hyphens: none;
}

.board-table tbody tr:hover td.board-party {
  color: var(--cyan);
}

/* The one free text in the row: a party's name may be long ("The Kelp-Choked Drowning Pools") and,
 * with the table no longer scrolling from 768, a cell that will not wrap sets the page's width
 * (A4-s7, 6 px, R17). */
.board-table td.board-party {
  white-space: normal;
  /* Not `anywhere`: that let the table squeeze the column to a letter ("The Sodde/n Sluice
   * Band", B0-s7 finale at 1024). A word breaks only when it alone is wider than the cell. */
  overflow-wrap: break-word;
}

/* The text columns keep a gutter from the number column before them, headers included: Floor's
 * right-aligned figure sat flush against Party, and an empty Marks column ran its header into
 * Fame's (PAGES0, #16). Marks keeps the room of its chips whether any are drawn or not. */
.board-table th.board-wide:not(.board-number),
.board-table td.board-party,
.board-table td.board-marks {
  padding-left: var(--space-4);
}

.board-table th.board-marks,
.board-table td.board-marks {
  min-width: 10rem;
}

/* "Holds: Cloak of the Quiet Stair" is said in full (I41-WEB, R15) and wraps inside the marks column, two lines of a
 * chip, rather than widening the column and wrapping the party beside it. */
.board-table td.board-marks .relic-chip {
  max-inline-size: 11rem;
}

.board-party--none,
.board-table tbody tr:hover td.board-party--none {
  color: var(--parchment-faint);
}

/* A wide desk spreads its spare width across every column in proportion, not into the name's alone and
 * a bare strip after the marks: at 1920 the table stopped 200 px short and the name's cell held 400 px of
 * nothing (I16-WEB, the designer of I15-s7, R17). The tracks add to 100, the rank taking its own sliver;
 * a cell's content still sets its floor, so a long name or party widens its column, never overflows. */
@media (min-width: 80em) {
  /* The name gives the party four points: a crew's name is the longer ("The Brackish Drowning Pool Company" took two
   * lines at 1440 beside a name cell half empty, DESIGN3, R17). */
  .board-table th.board-col-name {
    width: 27%; /* hugs the level beside it: at 31% a short name stood 290 px from its level (MB3-DB-CRAWLERS) */
  }

  .board-table th.board-col-level,
  .board-table th.board-col-floor {
    width: 6%;
  }

  .board-table th.board-col-party {
    width: 29%;
  }

  .board-table th.board-col-fame {
    width: 8%;
  }

  /* The marks take what is left, left-aligned: wide enough for a kill and a relic side by side, and one line each row
   * (stacked chips made a row 30 px taller than its neighbours, I16-WEB, DR2-WEB, R18). The slack ends the row, where an
   * empty cell is quiet, instead of opening gaps between the figures the eye reads across. */
  .board-table th.board-marks {
    width: auto;
  }
}

/* The dead go quiet: the name dimmed. The word "dead" and the struck face stay at full
 * strength — those are the facts, and blood is their colour. */
.board-row--dead .crawler-link {
  color: var(--parchment-dim);
}

/* Every figure of the board is the page's serif in lining tabular figures, at every width (R18: mono is the System's alone). */
.board-table .t-readout,
.board-table .t-figures,
.board-meta .t-readout {
  font-family: var(--font-prose);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: normal;
}

/* Level, floor, party and fame under the name, for the width where they do not fit beside it. */
.board-meta {
  display: none;
}

/* From 768 every column fits, so nothing scrolls — and a box that scrolls clips: a card opened
 * on the first row of a short board (the finale's six) was cut off by it and the heading behind
 * showed through (`page_hover_solid`, R16). */
@media (min-width: 48em) {
  .board-scroll {
    overflow: visible;
  }

  /* ... and the filters' fold has no toggle: its form is always shown (`crawlers.html`); so is the fame rule's. */
  .casting-filters-toggle,
  .board-rule-toggle {
    display: none;
  }

  .board-rule::details-content {
    content-visibility: visible;
    display: block;
  }

  .casting-filters::details-content {
    content-visibility: visible;
    display: block;
  }
}

/* One line a row from 1280 (the table's columns), so the face is the name's size again: the markup
 * draws the 40 px of the two-line rows below it (a face spanning the name and the line under it,
 * `directory_narrow.css`), and the portrait is a vector, so 28 px is the same face smaller (R89, AS1;
 * the rows are two lines up to 1279, SR2-BOARD M8). The marks stay in one slot after the name, never under it. */
@media (min-width: 80em) {
  .board-who {
    flex-wrap: nowrap;
  }

  /* The table has a Level column, the level's one home here (R12): its faces wear no badge. */
  .board-table .level-badge {
    display: none;
  }

  /* The face has one 40 px slot on every row, centred in it, so every name starts at one x: the podium's face fills it, the
   * body's 28 px one sits in the middle (MB-BOARD, R18). */
  .board-who > [data-sigil] {
    display: grid;
    place-items: center;
    inline-size: 40px;
    block-size: 40px;
  }

  .board-who .sigil {
    --sigil-px: 28px;
  }

  .board-row--lead .board-who .sigil {
    --sigil-px: 40px;
  }
}

/* --- the pages ------------------------------------------------------------------------------ */

.casting-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-4);
  margin-top: var(--space-6);
}

.casting-page-at {
  font-size: var(--text-14);
  color: var(--parchment-dim);
}

/* --- a tablet ------------------------------------------------------------------------------- */

/* From 768 the five choices and the button are one row, in a grid and not a wrapping flex row: which field wrapped followed the face the
 * words were drawn in, so the roster under the form moved when the fonts landed (0.12 of layout shift at 768, round J, R17), and "Show"
 * stood alone on a 70 px row of its own (M8). The head above is two halves from here too, so the first row of the board is on the first
 * screen of a tablet (MB3-DB-CRAWLERS). */
@media (min-width: 48em) {
  .casting-form {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.6fr) minmax(0, 1fr) auto;
    align-items: end;
    column-gap: var(--space-3);
  }
}

@media (min-width: 64em) {
  .casting-form {
    grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)) minmax(0, 2fr) minmax(0, 1fr) auto;
    column-gap: var(--space-4);
  }
}

/* --- a decided board and the sort's cue ------------------------------------------------------ */

/* The final board's parts (H36): a small-caps subhead where each begins; the winner's chip beside the name. */
.board-table th.board-group-head {
  padding-top: var(--space-4);
  border-bottom: 1px solid var(--rule);
  color: var(--parchment-dim);
}

.board-group-count {
  letter-spacing: normal;
}

/* Below 1280 the subhead's row is a block that draws its own hairline across the frame; the cell's second, shorter one stood
 * as a brighter stub under the first (MB3-DB-CRAWLERS). */
@media (max-width: 79.99em) {
  .board-table th.board-group-head {
    border-bottom: 0;
  }
}

.board-chip {
  padding: 0 var(--space-2);
  font-size: var(--text-12);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--parchment);
  border: 1px solid var(--parchment-dim);
  white-space: nowrap;
}

/* The column the table is sorted by, marked in its header (L4). */
.board-table th.board-sorted {
  color: var(--parchment);
}

.board-table th.board-sorted::after {
  content: " ▾";
}

/* --- narrow --------------------------------------------------------------------------------- */

/* Below 768 the form is two columns rather than six rows, so a phone's first screen still
 * reaches the first card: the name and the party take a whole row each — a party squeezed to
 * half of 320 px shows three letters of its name — and floor, status, the order and the button
 * pair up beside each other. */
@media (max-width: 47.99em) {
  .casting-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
    padding: var(--space-3);
  }

  .casting-field--name,
  .casting-field--party {
    grid-column: 1 / -1;
  }

  .casting-go {
    align-self: end;
  }

  .casting-button {
    width: 100%;
  }

  /* The "as of" line wraps to three lines in the fallback face and two in Newsreader once it
   * loads, which lifted the blurb and the whole board by a line at 320 (page_layout_shift 0.23):
   * it keeps the room of its longest wrap, so the face arriving moves nothing (R17). */
  .board-asof {
    min-block-size: 3lh;
  }
}

/* The Crawlers page, the rows' own parts: the marks column and the "in the feed now" link. Linked right after directory.css
 * (`crawlers.html`), so the cascade reads as the one sheet it was; split at the 800-line cap (RO-LISTS). */

/* The marks: what the show has counted of them — kills, betrayals — and the relic they hold,
 * small tags in a row that wraps rather than widening the table. A betrayal is blood, the rest
 * the page's quiet; the relic chip is the board's own (`blocks/panels.css`). */
/* `td.` — `.board-table td`'s nowrap outranks a bare class, and the marks ran 78 px off the
 * page at 1024 (B0-s7 finale, R17). */
.board-table td.board-marks {
  white-space: normal;
}

@media (min-width: 80em) {
  .board-table td.board-marks {
    white-space: nowrap;
  }

  /* One inline form, a chip beside a chip: the relic they hold stood on a line of its own under the kills (L9),
   * so a relic holder's row was taller than its neighbours' (the designer of DR1-s7, #10, R17). The column is
   * wide enough for a kill and a relic side by side (`board-marks`, 22%), and the relic keeps one line, said
   * whole, at the marks' own size. */
  .board-table td.board-marks .relic-chip {
    max-inline-size: none;
    margin: 1px 0;
    padding: 0;
    font-size: var(--text-14);
    line-height: 1.6;
    vertical-align: baseline;
    white-space: nowrap;
  }
}

.mark {
  display: inline-block;
  margin: 1px 0;
  font-size: var(--text-14);
  letter-spacing: normal;
  line-height: 1.6;
  color: var(--parchment-dim);
  white-space: nowrap;
  vertical-align: top; /* marks side by side share their top: the skull's image sat the kills' baseline 2 px off */
}

/* The marks are a typeset line, "7 kills · 1 betrayal", the dot a mark's own (RO-LISTS: only the System's cards and a fight are
 * framed; a row of boxed tags was the page's loudest thing after the name). */
.mark:not(:last-child) {
  margin-inline-end: var(--space-3);
}

/* The dot between two marks is where the cell is one line (the desk's table): a cell that wraps leaves it at a line's end or its start. */
@media (min-width: 80em) {
  .mark:not(:last-child) {
    margin-inline-end: var(--space-2);
  }

  .mark:not(:last-child)::after {
    content: "·";
    content: "·" / "";
    margin-inline-start: var(--space-2);
    color: var(--parchment-faint);
  }
}

/* The relic they hold is the same chip as the kills beside it (the designer, dr3: a dotted rule beside two boxes was two
 * treatments in one cell); `.hover-host` (later in the cascade) takes a button's border off, so the chip gives it back. */
.board-table td.board-marks .mark--relic.relic-chip {
  display: inline-block;
  max-inline-size: 100%;
  margin: 0;
  padding-block: 1px; /* the 1 px margin of the kills beside it, as the box: a 22 px button was a tap target under 24 */
  padding-inline: 0;
  font-size: var(--text-14);
  letter-spacing: normal;
  line-height: 1.6;
  color: var(--parchment-dim);
  vertical-align: top;
}

.board-table td.board-marks .mark--relic.relic-chip:hover,
.board-table td.board-marks .mark--relic.relic-chip:focus-visible {
  color: var(--parchment);
}

/* A betrayal is told in blood, in the same box as the kills beside it: one chip style in the cell (DESIGN3, R17, R18: a
 * blood edge beside a quiet one read as two kinds of tag). */
.mark--betrayals {
  color: var(--blood);
}

/* In the feed now: a way to `/live` (no dot on the face: SR2-BOARD, M27), said quietly after the name — small caps in the
 * row's muted colour under the site's quiet underline, no box (DESIGN4, the designer of dr2 F5: ten of the first twelve
 * rows carried a boxed tag, the loudest thing in each row beside the name). */
/* In the name cell it wraps under the name when the column is narrow (`.board-who` wraps): a
 * nowrap tag beside a long name pushed the table 34 px past the frame at 1024 (V1, landing). */
.casting-in-feed {
  display: inline-flex;
  align-items: center;
  align-self: baseline;
  padding-block: 4px;
  margin-block: -4px;
  font-size: var(--text-14);
  color: var(--parchment-dim);
  text-decoration: underline 1px var(--link-rest);
  text-underline-offset: 0.3em;
  white-space: nowrap;
}

/* The reader's own hand is never acid (`sheets.test.mjs`: acid is the System's): a pointer or the keyboard on it
 * brightens it, as a link's does. */
.casting-in-feed:hover,
.casting-in-feed:focus-visible {
  color: var(--parchment);
  text-decoration-color: currentColor;
}

/* The Crawlers page, second half: the board below 1280, where a row is a card (MB3-DB-CRAWLERS). Linked right after
   directory.css (crawlers.html) so the cascade reads as the one sheet it was; split at the 800-line cap (B6).

   A row is one nameplate and one line of facts: the rank, the face with its badge, the name over its bar (never broken by a tag:
   nothing shares the name's line), the line of what the board says of them (the floor where it differs, the fame, the party), the
   winner's chip, and at the foot the marks with "in the feed now" at the row's end. That is the phone's card. From 768 the fame
   and the marks leave the card for two columns of their own beside it, hugging it as the desk's table hugs its columns (below),
   the ranks one list down the page: the board is a ranking, and two columns of cards started the second at rank 23 and put the
   names at two x's (tried at 768, 1024 and 1440, and not kept). The header goes (its columns are not columns here) and stays for
   a screen reader. */

@media (max-width: 79.99em) {
  .board-table {
    /* The face's drop from the row's top: its centre is the middle of the name, its bar and the first line under it. */
    --board-head-drop: 11px;
    --rank-w: calc(var(--rank-track) + var(--space-3));
  }

  /* No rank numeral while fame is flat: the row is the face and the card. */
  .board-table--flat {
    --rank-w: 0px;
  }

  .board-table .board-wide {
    display: none;
  }

  /* One grid per row: rank, face, a gutter, the card's column, and an end track for the one thing that stands at a foot's end. The
   * name's own cell and the nameplate's wrapper give up their boxes, so the face, the name, the line and the foot are placed together. */
  .board-table tbody tr {
    display: grid;
    grid-template-columns: var(--rank-w) 40px var(--space-3) minmax(0, 1fr) auto;
    align-items: start;
    padding-block: var(--space-2);
    border-bottom: 1px solid var(--rule);
  }

  .board-table tbody td {
    padding: 0;
    border-bottom: 0;
  }

  .board-table tbody tr.board-row--lead {
    padding-block: var(--space-3);
  }

  .board-table tbody tr.board-row--lead td {
    padding-block: 0;
  }

  .board-table td.board-name,
  .board-who {
    display: contents;
  }

  /* The numeral and the face stand on one line, however far the card runs: the digits' ink centre (0.48 em down a 1.1 line, 0.43 em down
   * the podium's 1) on the face's centre, 20 px under its top (MB-BOARD, R18). One rank track for every row (`--rank-track`, sized for the
   * ranks the page shows), so "=12" never shifts a name. */
  .board-table tbody td.board-rank,
  .board-table tbody tr.board-row--lead td.board-rank {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: auto;
    min-width: 0;
    padding: calc(var(--board-head-drop) + 20px - 0.48em) var(--space-3) 0 0;
    font-variant-numeric: tabular-nums;
    block-size: 0; /* the numeral hangs from its line and asks the row for no height: a podium's 56 px one stretched the rows beside it */
    overflow: visible;
    text-align: right;
    white-space: nowrap;
  }

  .board-table tbody tr.board-row--lead td.board-rank {
    padding-top: calc(var(--board-head-drop) + 20px - 0.43em);
  }

  .board-who > [data-sigil] {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: start; /* beside the name and the first of the line under it (the numeral's rule, above) */
    margin-top: var(--board-head-drop);
    flex: none;
  }

  .board-who > .board-plate {
    grid-column: 4 / -1;
    grid-row: 1 / span 2;
    min-width: 0;
    justify-self: start; /* hugs the name: stretched to its track, the ring was the row's width (M33) */
  }

  /* A grid item is a block, so the link's 5 px of tap padding (`typography.css`) grew the row by 10 px and the face stopped short of the
   * line under the name (`page_faces_scaled`, R89, SR3-PAGES): paid back in margin. */
  .board-plate > .crawler-link {
    margin-block: -5px;
    white-space: nowrap;
  }

  /* The line under the name: the floor where it differs from the page's, the fame, the party, set apart by space and not by dots (a dot at a
   * line's end or start belongs to neither item), wrapping between items, never inside one. The party is the one free text and keeps the
   * line after the fame; its name is said whole. */
  .board-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: var(--space-3);
    grid-column: 4 / -1;
    grid-row: 3;
    margin-top: 2px;
    font-size: var(--text-14);
    color: var(--parchment-dim);
  }

  .board-rest {
    display: contents;
  }

  .board-meta .t-readout {
    color: var(--parchment);
  }

  /* The fame's figure is the line's own height, so the row's head is measured by its lines and not by a glyph's box (`page_board_row_aligned`). */
  .board-meta .board-bit .t-readout {
    display: inline-block;
    line-height: var(--leading-chrome);
  }

  .board-meta > .board-sep,
  .board-rest .board-sep {
    display: none;
  }

  .board-rest .board-bit {
    flex: none;
  }

  .board-rest .board-partybit {
    flex: 1 0 100%; /* a line of its own on every card, so a card's height is what it holds and not how long a party's name is */
    order: 1;
    min-width: 0;
    white-space: normal; /* the row's figures are nowrap; the party's own line is not */
    overflow-wrap: anywhere;
  }

  /* The floor everyone on the page shares says nothing under the name (M8; I6 on a phone): said only where it differs. */
  .board-rest .board-bit--floor-here {
    display: none;
  }

  /* The winner's chip stands under the line of facts, a row of its own. */
  .board-who > .board-chip {
    grid-column: 4 / -1;
    grid-row: 4;
    justify-self: start;
    margin-top: 2px;
  }

  /* The foot: the marks, and "in the feed now" at its end; a mark that does not fit wraps within its own column, the tag keeps the
   * end (24 px tall: a tap target). */
  .board-table tbody td.board-marks {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    grid-column: 4;
    grid-row: 5;
    min-width: 0;
    margin-top: 2px;
    padding: 0;
    white-space: normal;
  }

  .board-table tbody td.board-marks:empty {
    display: none;
  }

  .board-who > .casting-in-feed {
    grid-column: 5;
    grid-row: 5;
    justify-self: end;
    min-height: 24px;
    margin-left: var(--space-3);
  }

  /* "Holds: ..." is said whole, wrapping inside the marks' column, never cut with an ellipsis (R159, M8). */
  .board-table td.board-marks .mark--relic.relic-chip {
    min-inline-size: 0;
    max-inline-size: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    text-align: start;
  }

  /* A decided board's parts (H36): a small-caps subhead across the row. */
  .board-table tbody tr.board-group {
    display: block;
    padding-block: 0;
  }
}

/* Below 360 px a name breaks only between its words, and only where the card's 190 px cannot hold it. */
@media (max-width: 22.49em) {
  .board-plate > .crawler-link {
    white-space: normal;
  }
}

/* From 768 to 1279 the row is the card, then the fame, then the marks, in columns that hug it (the desk's table does the same from 1280):
 * the card's column is as wide as a name and a party need, never the row's, and the slack ends the row, where an empty cell is quiet.
 * The fame leaves the card's line for its own column (a figure the eye compares down the page, said "fame 1,847" because the header
 * is a screen reader's), and the marks stand at the card's middle, no longer at its foot. */
@media (min-width: 48em) and (max-width: 79.99em) {
  .board-table {
    --board-head-drop: 6px; /* the name's line is 26 px here, the phone's 20 under a 5 px tap margin; the bar and the line under it follow */
  }

  .board-table tbody tr {
    grid-template-columns: var(--rank-w) 40px var(--space-3) minmax(0, 20rem) 7.5rem minmax(0, 1fr);
  }

  .board-table tbody td.board-cell-fame {
    display: block;
    grid-column: 5;
    grid-row: 1 / span 3;
    align-self: center;
    padding: 0 var(--space-4) 0 0;
    text-align: right;
  }

  .board-table td.board-cell-fame::before {
    content: "fame ";
    font-size: var(--text-14);
    color: var(--parchment-dim);
  }

  /* The fame has its own column from here: it leaves the card's line. */
  .board-rest > .board-bit:last-child {
    display: none;
  }

  .board-table tbody td.board-marks {
    grid-column: 6;
    grid-row: 1 / span 3;
    align-self: center;
    margin: 0;
    padding-left: var(--space-4);
  }

  /* The winner's chip and "in the feed now" stand under the card's line, at its left: they are the card's, not the marks'. */
  .board-who > .board-chip,
  .board-who > .casting-in-feed {
    grid-column: 4;
    grid-row: 4;
    justify-self: start;
    margin-left: 0;
  }

  /* Where nothing else is under the name, the tag is the line under it. */
  .board-name--lone .board-who > .casting-in-feed {
    grid-row: 3;
  }

  /* A crawler with nothing on the line under the name (no floor said, no party): the head is the name and its bar, and the face, the numeral,
   * the fame and the marks centre on those two rows. */
  .board-table tr:has(.board-name--lone:not(:has(.casting-in-feed))) > td.board-rank {
    grid-row: 1 / span 2;
    align-self: center;
    padding-top: 0;
    block-size: auto;
  }

  .board-table .board-name--lone:not(:has(.casting-in-feed)) .board-who > [data-sigil] {
    grid-row: 1 / span 2;
    align-self: center;
    margin-top: 0;
  }

  .board-table tr:has(.board-name--lone:not(:has(.casting-in-feed))) > td.board-cell-fame,
  .board-table tr:has(.board-name--lone:not(:has(.casting-in-feed))) > td.board-marks {
    grid-row: 1 / span 2;
  }
}

/* The vote, the ballot and every viewer control — spec §14, §15.2, and the reader rebuild
 * (2026-09-25).
 *
 * Two colours, each used for what it means. `--cyan` is the palette's "party, and anything a
 * viewer caused": the vote's frame, its tallies and bars, and every control that does
 * something to the world when a viewer presses it. `--acid` is the System: the vote's label,
 * because the System is the one asking. Words are the show's serif — the question, the
 * options, the buttons — and the only mono is the System's: its label and its counts.
 *
 * Linked last on every page, after the page's own sheet (`base.html`): the controls look the
 * same on every page, so where a page sheet meets one of them at equal weight, the control's
 * own rule stands. A page lays its controls out with rules more specific than these
 * (`pages/cam.css`'s Follow row) and restyles none of them.
 *
 * The states are the design: a solid edge, the accent at full strength, a hover that fills, an
 * active that presses down a pixel, and a focus ring that is visible on the ground rather than
 * implied by a colour change. Motion is one 120ms transition, which `tokens.css` zeroes under
 * `prefers-reduced-motion` for the whole stack at once.
 */

/* --- the vote ------------------------------------------------------------------------------ */

/* A viewer's thing, so a cyan frame — dashed once it has closed and is only its result. */
.vote {
  padding: var(--space-3) var(--space-4) var(--space-4);
  background: color-mix(in srgb, var(--cyan) 4%, var(--ink-2));
  border: 1px solid color-mix(in srgb, var(--cyan) 50%, transparent);
}

.vote--closed {
  border-style: dashed;
}

/* On `/live` the rail's card is the vote's one frame (the designer, pages-live-2 #4: the rows were boxes in a cyan box in a
 * rail card, three frames deep): the card wears the vote's cyan, and the panel inside it is bare, at every width, as
 * the phone's compact card already was (`live_phone.css`). */
.main-rail-card--vote:has(> [data-state-slot] > .vote) {
  padding: var(--space-4);
  background: color-mix(in srgb, var(--cyan) 4%, var(--ink-2));
  border: 1px solid color-mix(in srgb, var(--cyan) 50%, transparent);
}

.main-rail-card--vote:has(> [data-state-slot] > .vote--closed) {
  border-style: dashed;
}

.main-rail-card--vote > [data-state-slot] > .vote {
  padding: 0;
  background: none;
  border: 0;
}

/* "No ballots yet" is the rows' foot, a step under the last one, not its caption (pages-live-2 #4: 8 px under a boxed row). */
.vote-none {
  margin: var(--space-3) 0 0;
}

/* An empty answer line is a rule and a gap with nothing in them: the stray rule under the rows (pages-live-2 #4). */
.main-rail-card--vote .ballot:has(.action-message:empty) {
  display: none;
}

/* The System asks: its label in its own mono and its own acid. */
.vote-label {
  font-size: var(--text-12);
  font-weight: 500;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--acid);
}

.vote-question {
  margin: 0 0 var(--space-3);
  font-family: var(--font-prose);
  font-size: var(--text-16);
  line-height: 1.35;
  color: var(--parchment);
}

/* What winning does and what no votes does, in a line under a quick vote's question (I41-WEB, R48). */
.vote-question:has(+ .vote-hint) {
  margin-bottom: var(--space-1);
}

.vote-hint {
  margin: 0 0 var(--space-3);
  color: var(--parchment-dim);
}

/* The prize is the line to read (I42-WEB, R48: a stranger saw three bars at 0 and never learned what a vote
 * bought): a labelled line in the page's own parchment over the dim line for no votes. */
.vote-hint p {
  margin: 0;
}

.vote-prize {
  color: var(--parchment);
}

.vote-hint-key {
  margin-right: var(--space-1);
  color: var(--cyan);
}

.vote-no-votes {
  margin-top: var(--space-1);
}

/* The dead and the departed stand apart from who is still running, under their own line (I41-WEB, R48). */
.vote-out-note {
  margin: var(--space-3) 0 var(--space-2);
  color: var(--parchment-dim);
}

.vote-options {
  display: grid;
  gap: var(--space-2);
}

/* An option: its name across the row, then "out" if it is, then its tally under the name — and its share of the
 * vote as a bar under the lot, so the eye reads the race before it reads the numbers. The name takes the row and the
 * count goes under it (L36-PAGES4, the designer, L35: "Kirra of the Drowned / Quay" wrapped beside the count and the
 * tick stood alone on line 1). */
.vote-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "label out";
  align-items: baseline;
  gap: var(--space-1) var(--space-2);
  min-width: 0; /* a grid item: without it a long line of company sets the track's floor and spills the box */
}

.vote-option-label {
  grid-area: label;
  font-family: var(--font-prose);
  color: var(--parchment);
  overflow-wrap: anywhere;
}

/* The draught's candidates wear their health under the name, a nameplate (R161, MB3-ROW): the bar is the list's one track (`health_bar.css`), whatever the name is. */
.vote-option-label:has(> .hbar) {
  justify-self: start;
}


/* A crawler on the ballot is the site's one link size: the panel's 14 px was inherited, and the page pass read three of
 * them smaller than every other crawler link (`page_component_consistency`, L47-PAGES3, R12). */
.vote-option-label .crawler-link {
  font-size: var(--text-16);
}

/* Why they are on the ballot: a line of its own under the name, and a row only when there is one (R48). */
.vote-option:has(.vote-why) {
  grid-template-areas:
    "label out"
    "why why";
}

.vote-why {
  grid-area: why;
  color: var(--parchment-dim);
}

/* Who stands in a room on the crate ballot (R148): the first four, a small face and a call name each, wrapping, under the room's name. */
.vote-option:has(.vote-here) {
  grid-template-areas:
    "label out"
    "here here";
}

.vote-here {
  grid-area: here;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1) var(--space-3);
  margin: 0;
  color: var(--parchment-dim);
}

.vote-here-one {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-width: 0;
  max-width: 100%;
}

.vote-here-name {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* What is the fan's own on a row (L39-FANACT, R33, R39): the crawler they follow, and the pick they cast. */
.vote-option:has(.vote-follow, .vote-yours) {
  grid-template-areas:
    "label out"
    "marks marks";
}

.vote-option:has(.vote-why):has(.vote-follow, .vote-yours) {
  grid-template-areas:
    "label out"
    "why why"
    "marks marks";
}

/* A crawler's row wears their face across the name and the place under it, 36 px and a gap from the name
 * (L43-PHONEVOTE2, R89: it was 20 px beside two lines, touching the name). The face is two lines tall; a row with no
 * place spans the name and the tally. These come after the rows above and outrank them. */
.vote-option .vote-face {
  --sigil-px: 36px;
  grid-area: face;
}

.vote-option:has(> .vote-face) {
  grid-template-columns: calc(40px + var(--badge-over)) minmax(0, 1fr) auto; /* the face (the sigil's own 40 px) and its badge's overhang */
  grid-template-areas:
    "face label out";
}

.vote-option:has(> .vote-face):has(.vote-why) {
  grid-template-areas:
    "face label out"
    "face why why";
}

.vote-option:has(> .vote-face):has(.vote-follow, .vote-yours) {
  grid-template-areas:
    "face label out"
    "face marks marks";
}

.vote-option:has(> .vote-face):has(.vote-why):has(.vote-follow, .vote-yours) {
  grid-template-areas:
    "face label out"
    "face why why"
    ". marks marks";
}

.vote-option:has(.vote-here):has(.vote-yours) {
  grid-template-areas:
    "label out"
    "here here"
    "marks marks";
}

/* "you follow" over "your ballot": one cell, one line each (they once shared the cell and printed over each other). */
.vote-marks {
  grid-area: marks;
  justify-self: start;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.vote-follow,
.vote-yours {
  color: var(--cyan);
}

.vote-yours {
  font-weight: 600;
}

/* The quick vote's row is its ballot: a bordered target in the accent, the pick filled once cast. */
.vote-option--ballot,
.vote-option--yours,
.vote-option[aria-disabled="true"] {
  padding: var(--space-2);
  border: 1px solid color-mix(in srgb, var(--cyan) 45%, transparent);
}

.vote-option--ballot {
  cursor: pointer;
  transition:
    background var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out);
}

/* The face, the name and the line are the button (DB-ALL2 A17): no underline inside it, which read as a link in a button. */
.vote-option--ballot :is(.crawler-link, .crawler-link-name) {
  text-decoration: none;
}

.vote-option--ballot:hover {
  background: color-mix(in srgb, var(--cyan) 12%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--cyan) 18%, transparent);
}

.vote-option--ballot:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.vote-option--yours {
  background: color-mix(in srgb, var(--cyan) 14%, transparent);
  border-color: var(--cyan);
}

.vote-option[aria-disabled="true"]:not(.vote-option--yours) {
  border-color: var(--rule);
  color: var(--parchment-dim);
}

/* The row's end (MB3-K3): the figures of how hurt they are, then the votes in words, right-aligned in the vitals' mono, one line each. The
 * bar is health alone, under the name; a vote's share is never a second bar. `.hbar-figures` hides itself outside a fight row: here they are
 * the choice's own number. */
.vote-end {
  grid-area: out;
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: end;
  white-space: nowrap;
}

.vote-end .hbar-figures {
  opacity: 1;
}

.vote-tally {
  font-size: var(--text-12);
  color: var(--cyan);
}

/* Out: the crawler is dead in the world this airs with, or got out. Struck, dimmed, and the word said — a strike alone
 * is not read aloud — in the muted small caps of a label (R98: blood is for fights and deaths, and "got out" is good
 * news, L42-PHONEVOTE). */
.vote-option--out .vote-option-label {
  color: var(--parchment-faint);
  text-decoration: line-through;
  text-decoration-color: var(--rule-strong);
}

.vote-out {
  font-family: var(--font-prose);
  font-size: var(--text-12);
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--parchment-dim);
}

.vote-option--out .vote-tally {
  color: var(--parchment-faint);
}

/* Closed, the panel reads as its result: the winner lit and ticked, one line saying so. */

/* The tick is its own flex item, so it stays with the name's first line: in a line of text it stood alone when the
 * name's link wrapped (L36-PAGES4). */
.vote-option--won .vote-option-label {
  font-weight: 600;
  color: var(--cyan);
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
}

.vote-option--won .vote-option-label::before {
  content: "✓";
  flex: none;
}

/* A closed vote's winner is the option row as it stood open: the check and the colour are the mark, not a size
 * (L34-LIVEPAGE2, the designer, L33: four lines of 24 px at the finale, body size at the landing). */

/* The fan's answer is their row's one line, "your ballot · counted next turn" (`ballot.js`, L44-BALLOT), and the form's own line is
 * then for a screen reader: its rule and gap go with it. A closed vote has nothing left to sign in for. */
.ballot:has(.visually-hidden) {
  margin: 0;
  padding: 0;
  border: 0;
}

.main-rail-card--vote:has(.vote--closed) .vote-signin {
  display: none;
}

.vote-result {
  margin: var(--space-3) 0 0;
  font-family: var(--font-prose);
  color: var(--cyan);
}

/* --- the controls ---------------------------------------------------------------------------- */

/* Every viewer control, whichever page it is on: the Watch pill's shape and serif, in the accent — a
 * button is the show's word for "do this" (spec, "Families and roles"; one shape, DB-ALL2 A39). `pages/cam.css`
 * styles `.action` for the two announced buttons; each of these rules is either more specific
 * than that one or later in the cascade, and all of them have to stand alone because `/` and
 * `/me` never load it. */
.action-form .action,
.kept-follow .action,
.action--signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  /* The control family's square-cornered member (`tokens.css`, DB-A0): one height and one inset with the Watch pill. */
  min-block-size: var(--control-h);
  padding: var(--space-1) var(--control-pad);
  font-family: var(--font-prose);
  font-size: var(--text-14);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: none;
  color: var(--cyan);
  /* One shape across the site's controls (DB-ALL2 A39): the Watch pill's, in the viewer's cyan. */
  border-radius: var(--control-radius-pill);
  background: color-mix(in srgb, var(--cyan) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--cyan) 55%, transparent);
  cursor: pointer;
  transition:
    background var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}

.action-form .action:hover,
.kept-follow .action:hover,
.action--signin:hover {
  background: color-mix(in srgb, var(--cyan) 16%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--cyan) 18%, transparent);
}

/* A phone's controls are the family's tight step (`tokens.css`), as the Watch pill is. */
@media (max-width: 47.99em) {
  .action-form .action,
  .kept-follow .action,
  .action--signin {
    min-block-size: var(--control-h-tight);
    padding-inline: var(--control-pad-tight);
  }
}

/* Pressed, and it looks pressed: the one transform in the sheet, and a compositor-only one.
 * Under reduced motion the duration is 0ms and the state still lands, which is the point —
 * the feedback is the position, not the animation getting there. */
.action-form .action:active,
.kept-follow .action:active,
.action--signin:active {
  transform: translateY(1px);
  background: color-mix(in srgb, var(--cyan) 24%, transparent);
}

/* A ring on the ground rather than a colour change, because the resting state is already
 * the accent colour and "slightly more cyan" is not a focus indicator. */
.action-form .action:focus-visible,
.kept-follow .action:focus-visible,
.action--signin:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* In flight, or already done. `pages/*.js` sets `disabled` while a post is out, so this is
 * the same look for "wait" and for "cast" — in both, pressing again is not the next move. */
.action-form .action:disabled,
.kept-follow .action:disabled {
  color: var(--muted);
  background: transparent;
  border-color: var(--rule-strong);
  cursor: default;
  box-shadow: none;
  transform: none;
}

/* The day's last box is sent (L41-FANPAGE): no note to type, and what is next is one muted line of text, not a pill that looks
 * pressable (DB-HAPPY H5, A37: "a spent sponsor is a muted line of text"). */
.action-form--spent .action:disabled {
  min-block-size: 0;
  padding: 0;
  color: var(--parchment-dim);
  border: 0;
  border-radius: var(--radius-0);
  background: none;
  justify-content: flex-start;
  text-align: start;
}

.action-form .action.action--unfollow,
.action--unfollow {
  /* Unfollow is the way out, not the way in (L39-FANACT, R48), and it is the same pill as every control, small and quiet
   * (DB-HAPPY H5, A37: a square-cornered caps block and a bare underlined word beside serif pills were three shapes): the
   * filled "Following" mark beside it is what the eye reads. */
  display: inline-flex;
  align-items: center;
  min-block-size: 24px;
  padding: 0 var(--space-3);
  font-family: var(--font-prose);
  font-size: var(--text-12);
  font-weight: 400;
  letter-spacing: var(--track-label);
  text-transform: none;
  color: var(--parchment-dim);
  background: transparent;
  border: 1px solid var(--rule-strong);
  border-radius: var(--control-radius-pill);
  box-shadow: none;
  cursor: pointer;
  text-decoration: none;
}

.action-form .action.action--unfollow:hover,
.action--unfollow:hover {
  color: var(--parchment);
  background: color-mix(in srgb, var(--parchment) 8%, transparent);
  border-color: var(--parchment-dim);
  box-shadow: none;
}

.action--unfollow:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.action-form .action.action--unfollow:disabled,
.action--unfollow:disabled {
  color: var(--muted);
  border-color: var(--rule);
}

/* --- the dossier's two actions ---------------------------------------------------------------- */

/* The rail is 320px wide on a phone and holds a text field, so the two forms stack rather
 * than sharing a row — `pages/cam.css` lays the container out as a wrapping flex row, and a
 * full-width basis is all it takes to break it into rows. */
.action-form {
  flex: 1 1 100%;
  display: grid;
  gap: var(--space-2);
  margin: 0;
  min-width: 0;
}

.action-form--sponsor {
  padding-top: var(--space-2);
  border-top: 1px dashed var(--rule);
}

/* What a viewer writes on a box is theirs, not the System's: set in the show's serif. */
.action-form input[type="text"] {
  width: 100%;
  min-width: 0;
  padding: var(--space-2);
  font-family: var(--font-prose);
  font-size: var(--text-16);
  color: var(--parchment);
  background: var(--ink);
  border: 1px solid var(--rule-strong);
}

.action-form input[type="text"]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 1px;
}

/* A spent Sponsor dims its note with its button (L40-VOTEROWS, R33): the field cannot be typed in. */
.action-form input[type="text"]:disabled {
  color: var(--muted);
  background: transparent;
  cursor: default;
}

.action-form input[type="text"]::placeholder {
  color: var(--parchment-faint);
}

/* What the last click did, and what a refusal said — the show answering the viewer, so serif,
 * and full width, so a sentence never squeezes a button. */
.action-message {
  flex: 1 1 100%;
  margin: var(--space-2) 0 0;
  font-family: var(--font-prose);
  font-size: var(--text-14);
  letter-spacing: normal;
  text-transform: none;
  color: var(--parchment-dim);
}

/* --- the ballot -------------------------------------------------------------------------------- */

/* Hidden until a `vote` block names an open vote with something left to cast for
 * (`ballot.js`). The `[hidden]` guard is required, not decorative: an author `display`
 * outranks the UA sheet's `[hidden]` rule whatever the specificity, so without this line the
 * form would sit in the rail — and in the tab order — offering a ballot for a vote that is
 * not open. */
.ballot {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--rule);
}

.ballot[hidden] {
  display: none;
}

/* The form keeps only the hidden choice and the answer: the ballot is the panel's own rows
 * (`ballot_rows.js`), so the fieldset that holds the choice draws nothing. */
.ballot-options {
  display: none;
}
