/* ruck edition stylesheet (DESIGN.md v4; graduated from the D8 round-4d specimen).
   One ground per mode, one DOM: tokens on :root, redefined for graphite by `prefers-color-scheme`
   (unless the page forces light) and by `data-theme="dark"`. Palette D, claret x cerulean.
   Fills: T1 = side hue at --tint under a 1.5 px edge (curves, bars); T2 = hairline with end ticks.
   Square everywhere; only dots and the result dot are round. Every line is one of four weights
   (--w-hair / --w-rule / --w-emph / --w-subject, below; DESIGN.md v4 §Line weights), butt caps.
   The page sets --s1/--s2 (and --s1t/--s2t) from the clubs' kits in its own <style>. */

@font-face { font-family: "Geist"; src: url("/assets/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* ---------- 1 · tokens ---------- */
:root {
  --ground: #ECEEF0; --ink: #15181B; --muted: #5D636A; --hair: #CFD4D9;
  --claret: #7E1834; --cerulean: #2683B5; --recede: .41;
  /* hue-in-text: a side's name takes its hue only where the hue passes 4.5:1 */
  --claret-text: var(--claret); --cerulean-text: var(--ink);
  /* side roles: the page sets them to kit tones; the house pair is only the default */
  --s1: var(--claret); --s2: var(--cerulean); --s1t: var(--claret-text); --s2t: var(--cerulean-text);
  --tint: .12;
  --s-display: 56px; --lh-display: 1.04; --s-text: 16px; --lh-text: 1.55; --s-label: 13px;
  --gutter: 96px; --beat: 128px; --head-pad: 40px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #151617; --ink: #E9EBED; --muted: #9DA2A8; --hair: #2A2C2F;
    --claret: #C4505A; --cerulean: #6DC0EE; --recede: .26; --claret-text: var(--ink); --cerulean-text: var(--cerulean);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #151617; --ink: #E9EBED; --muted: #9DA2A8; --hair: #2A2C2F;
  --claret: #C4505A; --cerulean: #6DC0EE; --recede: .26; --claret-text: var(--ink); --cerulean-text: var(--cerulean);
  color-scheme: dark;
}
@media (max-width: 899px) {
  :root { --s-display: 28px; --lh-display: 1.08; --s-text: 15px; --lh-text: 1.5; --s-label: 12px;
          --gutter: 16px; --beat: 72px; --head-pad: 32px; }
}
/* The line weights: four roles, and no line in this sheet (border, outline, underline, stroke) has any
   other width (tests/app/web/test_web_sheet.py). hair = structure in --hair/--muted (table rows, gridlines,
   field lines, leaders, dashed references); rule = 1 px in --ink (a section or table head, a card's top);
   emph = 2 px (the baseline, a reference or zero line, a marked row, the focus ring, a receded subject);
   subject = 2.75 px, the one line a figure is about, in its tone. --ctx is a field line's grey (about 2:1).
   --mark-bar, --mark-slab: a bar's and a slab's thickness (the dials), marks drawn as strokes, not lines. */
:root { --w-hair: 1px; --w-rule: 1px; --w-emph: 2px; --w-subject: 2.75px; --ctx-p: 50%;
  --ctx: color-mix(in srgb, var(--muted) var(--ctx-p), var(--ground)); --mark-bar: 10px; --mark-slab: 28px; --mark-slab-narrow: 20px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ctx-p: 40%; } }
:root[data-theme="dark"] { --ctx-p: 40%; }

/* ---------- 2 · base + type (three sizes per screen: display, text, label) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 var(--s-text)/var(--lh-text) "Geist", system-ui, sans-serif;
       font-feature-settings: "ss01"; overflow-wrap: break-word; }
a { color: inherit; text-decoration-thickness: var(--w-hair); text-underline-offset: 3px; }
p { margin: 0; }
.wrap { width: calc(100% - 2 * var(--gutter)); max-width: 1248px; margin-inline: auto; }
.label { font: 400 var(--s-label)/1.4 "Geist Mono", ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.display { font: 600 var(--s-display)/var(--lh-display) "Geist", sans-serif; letter-spacing: -.025em; margin: 0; }
.num { font-family: "Geist Mono", ui-monospace, monospace; font-weight: 600; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
b, strong { font-weight: 600; }

/* ---------- 3 · masthead ---------- */
.mast { border-bottom: var(--w-hair) solid var(--hair); }
.mast-in { display: flex; align-items: center; gap: 32px; height: 56px; }
.wm { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.mark { width: 20px; height: 20px; display: block; }
.wm-word { font: 700 var(--s-text)/1 "Geist", sans-serif; letter-spacing: -.01em; }
.desks { display: flex; gap: 20px; margin-left: auto; }
.desks a, .foot-desks a, .index a { text-decoration: none; color: var(--muted); }
.desks a:hover, .foot-desks a:hover { color: var(--ink); }
.desks a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 calc(-1 * var(--w-rule)) 0 var(--ink); }
/* The sport switch is one unit, set off from the desks by a hairline: wrapped, "Rugby / Football"
   stacked on two lines and read as a broken masthead (owner, 2026-10-29). */
.sport-switch { display: inline-flex; gap: 8px; white-space: nowrap; padding-left: 20px; border-left: var(--w-hair) solid var(--hair); }
.through { white-space: nowrap; }
.index { display: none; position: relative; }
.index summary { cursor: pointer; list-style: none; color: var(--ink); }
.index summary::-webkit-details-marker { display: none; }
.index nav { position: absolute; right: 0; top: 28px; background: var(--ground); border: var(--w-hair) solid var(--hair); padding: 12px 16px;
             display: grid; gap: 8px; z-index: 5; min-width: 160px; }

/* The search: an underline, never a box; the card of matches is a hairline-ruled sheet. */
.masthead-search { position: relative; flex: 0 1 220px; min-width: 0; margin: 0; margin-left: 16px; border-bottom: var(--w-rule) solid var(--ink); }
.masthead-search input { width: 100%; padding: 6px 0 6px 22px; background: transparent; color: var(--ink); border: 0; border-radius: 0;
                         font: 400 var(--s-text)/1.3 "Geist", sans-serif; }
.masthead-search input::placeholder { color: var(--muted); }
.masthead-search input:focus-visible { outline: var(--w-emph) solid var(--ink); outline-offset: 4px; }
.search-glyph { position: absolute; left: 0; top: 50%; width: 14px; height: 14px; fill: none; transform: translateY(-50%);
                stroke: var(--muted); stroke-width: var(--w-emph); pointer-events: none; }
.masthead-search ul { position: absolute; z-index: 10; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 0; list-style: none;
                      background: var(--ground); border: var(--w-hair) solid var(--hair); min-width: 260px; }
.masthead-search li a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 8px 12px; text-decoration: none; }
.masthead-search li[aria-selected="true"] a, .masthead-search li a:hover { box-shadow: inset var(--w-emph) 0 0 var(--ink); }
.search-detail, .search-kind { display: block; font: 400 var(--s-label)/1.4 "Geist Mono", ui-monospace, monospace; color: var(--muted); }
.search-empty { padding: 8px 12px; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 4 · grid, head, beats ---------- */
/* The head grid centres its columns (owner, 2026-10-29, over M3's top edge): the figure sits level with the middle of the text. */
.grid { display: grid; grid-template-columns: 440px minmax(0, 1fr); column-gap: 48px; align-items: start; }
.head > .grid { align-items: center; }
.head { padding-top: var(--head-pad); }
.head .col-t { padding-top: 4px; }
.state { margin-bottom: 8px; }
.state .chip { background: var(--ink); color: var(--ground); padding: 2px 8px; margin-right: 8px; }
.sur { margin-bottom: 20px; }
.head h1 { margin-bottom: 24px; }
.stand { margin-bottom: 16px; }
.dated { color: var(--muted); }
.beat { margin-top: var(--beat); }
.sent { margin-bottom: 16px; max-width: 40ch; }
.caption { color: var(--muted); margin-bottom: 8px; }
.nti { color: var(--muted); max-width: 52ch; margin-top: 8px; }
.col-f { min-width: 0; }
.fp { display: none; }
.fw svg, .fp svg { display: block; max-width: 100%; height: auto; overflow: visible; }
/* A section chart is drawn at a 1440 column (grammar.SECTION_WIDTH); a wider column (the 1248 px page from
   1560) takes it up to 11% larger rather than leaving it short of its own caption (owner, 2026-10-29). */
@media (min-width: 900px) { .srow svg[width="528"] { width: 100%; } }

/* ---------- 4b · the section layout (web/layout.py `beats`) ----------
   After press.stripe.com (owner, 2026-10-28): space is the signature. A section is its head, then rows:
   the prose that leads to a figure in a 504 px column (21 units), the figure (chart, table, big
   numbers) in the rest of the row, the prose column alternating sides by section (odd left, even
   right). A row with no figure, or a table too wide for the column, spans both. Phone: one column,
   rows stack as written. Air, in 24 px units: 336 between sections (240 on the phone), 96 between
   rows (72), 72 under a head, table columns 48 apart; the band keeps 120 px outside the content at
   1440 (24 + the page's 96) and 40 on the phone. */
:root { --sect-gap: 336px; --row-gap: 96px; --head-gap: 72px; }
@media (max-width: 899px) { :root { --sect-gap: 240px; --row-gap: 72px; } }
/* One edge (owner, 2026-10-29: "the width does not look constant"): a section band keeps the page's
   gutter like the lead and every other band; the 24 px it once added moved every section's edge in. */
@media (min-width: 900px) { .band:has(> .sect), .band:has(> .sec-head ~ .srow) { --band-pad: 168px; } }
@media (max-width: 899px) { .band:has(> .sect), .band:has(> .sec-head ~ .srow) { --band-pad: 120px; } }
.sect + .sect { margin-top: var(--sect-gap); }
.sec-head:has(+ .srow) { margin-bottom: var(--head-gap); }
/* A printed page (owner, 2026-10-29): text and figures flow down two equal columns with a rule between
   them, a figure never split (layout.beats); two figures in a row stand side by side (.srow-pair). A
   column is grammar.SECTION_WIDTH at 1440. On the phone the blocks stack as written. */
.srow + .srow { margin-top: var(--row-gap); }
.srow > * + * { margin-top: var(--u6); }
.sc-t, .sc-f, .sc-half { min-width: 0; }
.sc-half > .card { margin-top: calc(2 * var(--u6)); }
@media (min-width: 900px) {
  .srow:not(.srow-solo):not(.srow-pair) { columns: 2; column-gap: 48px; column-rule: 1px solid var(--hair); }
  .srow:not(.srow-solo):not(.srow-pair) > * { margin: 0 0 calc(2 * var(--u6)); }
  .srow:not(.srow-solo):not(.srow-pair) > :last-child { margin-bottom: 0; }
  .srow > .sc-f { break-inside: avoid; }
  .srow:not(.srow-solo) .sc-t p { text-align: justify; hyphens: auto; }
  .srow-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; align-items: start;
    background: linear-gradient(var(--hair), var(--hair)) center / 1px 100% no-repeat; }
  .srow-pair > * + * { margin-top: 0; }
}
@media (min-width: 1200px) {  /* owner 2026-10-29: 48 px read narrow at 1440 */
  .srow:not(.srow-solo):not(.srow-pair) { column-gap: 72px; } .srow-pair { column-gap: 72px; } }
:is(.sc-t, .sc-f) > :first-child { margin-top: 0; }
:is(.sc-t, .sc-f) > :last-child { margin-bottom: 0; }
.srow-solo .sc-t > p:not(.rx-source), .srow-solo .sc-t > .prose { max-width: var(--measure); }
.sc-t > p:not([class]) + p:not([class]) { margin-top: var(--u4); }
.srow .sc-f > .rx-figure + .rx-figure { margin-top: var(--row-gap); }
.srow .sc-f table.rx-table { width: 100%; max-width: none; min-width: 0; }
.srow table.rx-table :is(th, td) { padding-left: var(--u6); padding-right: var(--u6); }
.srow table.rx-table :is(th, td):first-child { padding-left: 0; }
.srow table.rx-table :is(th, td):last-child { padding-right: 0; }
@media (min-width: 900px) {  /* a table in half of a pair keeps its columns 32 px apart, so it fits the half */
  .srow .sc-half table.rx-table :is(th, td) { padding-left: var(--u2); padding-right: var(--u2); }
  .srow .sc-half table.rx-table :is(th, td):first-child { padding-left: 0; }
  .srow .sc-half table.rx-table :is(th, td):last-child { padding-right: 0; }
}
@media (max-width: 899px) {
  .srow-solo .sc-f > table.rx-table td { white-space: nowrap; }  /* a wide table scrolls; its rows stay one line */
  .srow table.rx-table :is(th, td) { padding-left: var(--u2); padding-right: var(--u2); }
  .srow table.rx-table :is(th, td):first-child { padding-left: 0; }
  .srow table.rx-table :is(th, td):last-child { padding-right: 0; }
}

/* ---------- 5 · the fill grammar as classes ---------- */
svg text { font-family: "Geist", sans-serif; fill: var(--ink); }
svg line, svg path, svg polyline { stroke-linecap: butt; }
/* Chart type follows the site's chart scale (ruck.viz.template: annotations 13, ticks 11), not the
   body's; a figure's prose caption stays at reading size. Annotations are Geist medium. */
.c-t { font-size: 13px; }
.c-cap { font-size: var(--s-text); }
.c-mono { font-family: "Geist Mono", monospace; font-weight: 600; font-variant-numeric: tabular-nums; }
.c-tick { font-family: "Geist Mono", monospace; font-size: 11px; fill: var(--muted); }
.c-mut { fill: var(--muted); }
.c-acc { fill: var(--claret); }
.c-dim { font-size: calc(var(--s-label) * 0.85); opacity: 0.7; }
.c-b { font-weight: 500; }
.c-sb { font-weight: 600; }
.c-cap.c-b { font-weight: 600; }
/* The chart's three text roles (the grammar's AXIS, LABEL, CARRY): ticks, names, the one carrying value. */
:root { --c-axis: 11px; --c-label: 13px; --c-carry: var(--s-text); }
.t-axis { font-family: "Geist Mono", monospace; font-size: var(--c-axis); fill: var(--muted); font-variant-numeric: tabular-nums; }
.t-label { font-size: var(--c-label); font-weight: 500; }
.fm-n { font-variant-numeric: tabular-nums; }  /* a formation's shirt numbers: one width per digit */
.t-carry { font-size: var(--c-carry); font-weight: 600; }
text.c-lab-k { fill: var(--k); }
text.c-lab-k.c-b { font-weight: 600; }
.wh.k { stroke: var(--k); }  /* an end label set in its line's own tone (the Team style strip: the club's kit) */
.c-halo { paint-order: stroke; stroke: var(--ground); stroke-width: 6px; stroke-linejoin: round; }
.c-grid { stroke: var(--hair); stroke-width: var(--w-hair); }
.c-axis { stroke: var(--hair); stroke-width: var(--w-hair); }
.c-ref { stroke: var(--ink); stroke-width: var(--w-emph); }
.c-ref.dash { stroke: var(--muted); stroke-dasharray: 4 3; }
.c-whisk { stroke: var(--ink); stroke-width: var(--w-emph); fill: none; }
/* T1: tint + 1.5 px edge, in the side's hue */
.t1 { stroke-width: var(--w-emph); }
.t1.s1 { fill: color-mix(in srgb, var(--s1) calc(var(--tint) * 100%), transparent); stroke: var(--s1); }
.t1.s2 { fill: color-mix(in srgb, var(--s2) calc(var(--tint) * 100%), transparent); stroke: var(--s2); }
.t1.s0 { fill: color-mix(in srgb, var(--muted) calc(var(--tint) * 100%), transparent); stroke: var(--muted); }
/* the calibration chart's marks: the lead mark is the ink tint */
.t1.s0.lead { fill: color-mix(in srgb, var(--ink) calc(var(--tint) * 100%), transparent); stroke: var(--ink); }
.t1.s0.focus { fill: color-mix(in srgb, var(--claret) calc(var(--tint) * 100%), transparent); stroke: var(--claret); }
/* T2: hairline with end ticks */
.t2 { stroke-width: var(--w-hair); fill: none; }
.t2.s1 { stroke: var(--s1); } .t2.s2 { stroke: var(--s2); } .t2.s0 { stroke: var(--muted); }
/* solid = happened */
.sol.s1 { fill: var(--s1); } .sol.s2 { fill: var(--s2); } .sol.s0 { fill: var(--ink); }
.stem.s1 { stroke: var(--s1); } .stem.s2 { stroke: var(--s2); } .stem.s0 { stroke: var(--ink); }
.stem { stroke-width: var(--w-emph); }
.halo { fill: var(--ground); }
.leader { stroke: var(--muted); stroke-width: var(--w-hair); fill: none; }
.diag { stroke-dasharray: 3 4; opacity: .6; }
/* the story layer (charts/grammar.py): the marks a figure's sentence is not about recede, and a
   hovered or focused stop restores its own; a note's leader is ink and never takes the pointer */
/* A receded mark is recoloured, never made transparent: edges draw in --muted at full opacity (3:1 or
   better on both grounds, WCAG 1.4.11), a bar or band loses its tint and keeps the outline, a dot fills
   in --muted. A hovered or focused stop is not receded: it keeps its own colour. */
:is(.rc:not(.stop *), .stop:not(:hover):not(:focus) .rc) :is(.ln, .stem, .wh, .t2, .ring, .ring-r) { stroke: var(--muted); }
:is(.rc:not(.stop *), .stop:not(:hover):not(:focus) .rc) :is(.t1, .bd) { fill: none; stroke: var(--muted); stroke-width: var(--w-hair); }
:is(.rc:not(.stop *), .stop:not(:hover):not(:focus) .rc) .sol { fill: var(--muted); }
:is(.rc:not(.stop *), .stop:not(:hover):not(:focus) .rc) text { fill: var(--muted); }
.leader.nl { stroke: var(--ink); pointer-events: none; }

/* ---------- 6 · disclosure + foot band ---------- */
.how-wrap { margin-top: var(--beat); }
.how { border-top: var(--w-hair) solid var(--hair); padding-top: 14px; }
.how summary { cursor: pointer; font-weight: 600; list-style: none; }
.how summary::-webkit-details-marker { display: none; }
.how summary::before { content: "+ "; font-family: "Geist Mono", monospace; color: var(--muted); }
.how[open] summary::before { content: "– "; }
.how-in { max-width: 64ch; margin-top: 16px; display: grid; gap: 12px; color: var(--muted); }
footer.foot { margin-top: var(--beat); border-top: var(--w-hair) solid var(--hair); padding: 56px 0 72px; }
/* the brand column gives way first: a fixed 440 px overflowed the page by 58 px at 900 (D10) */
.foot-in { display: grid; grid-template-columns: minmax(0, 440px) 1fr auto; column-gap: 48px; align-items: start; }
.foot-a p { margin-top: 12px; max-width: 32ch; }
.foot-links a { text-decoration: none; }
.foot-desks { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.foot-d { white-space: nowrap; }

/* Below 1100 the masthead cannot hold the desks, the sport switch and the date on one row (it
   overflowed by 35 px at 900); the date stays in the foot band. */
@media (max-width: 1199px) { .through { display: none; } }  /* 1199: the sport switch on one line needs it (71 px over at 1100) */

/* ---------- 7 · 390 ---------- */
@media (max-width: 899px) {
  .grid, .foot-in { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .desks, .through { display: none; }
  .index { display: block; }
  .mast-in { height: 48px; gap: 16px; }
  .masthead-search { flex: 1 1 auto; margin-left: 0; }
  .masthead-search ul { min-width: 0; }
  .fw { display: none; } .fp { display: block; }
  .head .col-f { margin-top: 8px; }
}

/* ---------- 8 · house accent and the W levers ----------
   The house pair (claret x cerulean) marks only the wordmark, links and the focus ring; every side
   role reads --s1/--s2. The levers are classes on <html>, set by the server (edition.document).
   The figure is complete at rest and under prefers-reduced-motion: every motion rule sits inside
   a no-preference query. */
a { text-decoration-color: var(--cerulean); }
a:hover { text-decoration-color: var(--claret); }
:focus-visible { outline: var(--w-emph) solid var(--claret); outline-offset: 2px; }

/* W1: the display size is 60 px on a desktop screen. The head no longer runs to the right edge: Match's
   hero sits in the same 1248 px content column as every desk (D11 15c; the full-bleed rule was why
   its content ran to ~1950 px on a 2000 px screen). */
@media (min-width: 900px) { .w1 { --s-display: 60px; } }


/* W4: the one number that carries the page, at display size in the kit tone, beside its sentence.
   Where the head states the same fact, the head's version is swapped out (never said twice). */

/* W5 hover depth: the rest falls to 15 %. A hovered or focused stop keeps its mark; the other
   stops' marks recede, and so does a standing note
   ("Calls like this one") the read-out may cross. cursor:pointer on a scrub bin makes iOS fire :hover on tap. */
.w5 { --recede: .15; }
.w5 [id^="luck-"] { --recede: .55; }  /* the luck long-read's rows stay readable while one is held */
.w5 .ch:has(.stop:hover, .stop:focus) .stop:not(:hover):not(:focus),
.w5 .ch:has(.stop:hover, .stop:focus) .note { opacity: var(--recede); }
.ch .bin .hit { cursor: pointer; }

@media (prefers-reduced-motion: no-preference) {
  .w5:not([data-m-hover="off"]) .ch :is(.stop, .note) { transition: opacity var(--mbeat); }
  .w3 .ch :is(.a-bar, .a-pop, .a-down) { transform-box: fill-box; }
  .w3 .ch .a-bar { transform-origin: center bottom; }
  .w3 .ch .a-down { transform-origin: center top; }
  .w3 .ch .a-pop { transform-origin: center; }
}


/* ---------- 8b · the motion layer: it moves with the scroll (charts/grammar.py `motion_hooks`) ----------
   Every entrance is tied to the scroll position, so it runs forward as a figure or a row comes into
   view and backward as it leaves: no script, nothing fires once. The class contract on a form's
   marks: m-d a series drawn in point order, m-x / m-y a bar growing from its start / base, m-o a
   range opening from its centre, m-p a point popping in, m-f a band or cell fading in; --i is the
   mark's order. The root (`svg.mo`, and a Match figure's `svg.ch`) is the timeline (`--fig`), and
   each mark takes its slice of it (--r0..--r1, shares of its approach). A section's two columns slide in
   from left and right on their row's timeline (`--row`): one movement, 48 px, a long ease.
   Without support, or under reduced motion, nothing is declared and every mark is drawn.
   Fill is `backwards`, never `both`: after its slice the mark is the page's own again, so hover owns it.
   Switches, each an attribute on <html> that turns its principle off when "off":
   data-m-draw (entrances) · data-m-scene (the columns' slide) · data-m-hover (recede on hover) ·
   data-m-vt (page transitions). Durations are whole beats (--mbeat, not --beat: the 128 px gap). */
:root { --mbeat: 120ms; --mease: cubic-bezier(.3, .6, .4, 1); --mglide: cubic-bezier(.16, .84, .3, 1); --mslide: 48px; --mrise: 24px; }
@media (prefers-reduced-motion: no-preference) {
  .mo :is(.m-x, .m-y, .m-p, .m-o) { transform-box: fill-box; }
  .mo .m-x { transform-origin: left center; }
  .mo .m-x.m-r { transform-origin: right center; }
  .mo .m-y { transform-origin: center bottom; }
  .mo :is(.m-p, .m-o) { transform-origin: center; }

  @supports (animation-timeline: view()) {
    /* --anticipate lowers the trigger line below the screen edge, so a figure or row starts moving just
       before it enters and has finished sooner (owner, 2026-10-28: "appear a bit earlier"). */
    :root { --anticipate: -15%; --approach: 75vh; }  /* 115 % - 75 % = done at 40 % (sections.js APPROACH_VH) */
    .w3:not([data-m-draw="off"]) svg:is(.mo, .ch) { view-timeline: --fig block; view-timeline-inset: 0 var(--anticipate); }
    .w3:not([data-m-draw="off"]) svg :is(.m-d, .m-x, .m-y, .m-o, .m-p, .m-f, .a-curve, .a-curve2, .a-tint, .a-fade, .a-drop, .a-drop + .c-halo,
        .a-bar, .a-down, .a-late, .a-final, .a-wipe, .a-pop) {
      animation-timeline: --fig; animation-fill-mode: backwards; animation-timing-function: var(--mease);
      /* The choreography (--r0..--r1, shares 0–1) spans the figure's approach: a fixed scroll of
         --approach from the moment its top crosses the trigger line, so every mark is drawn by the time
         the top reaches 40 % of the screen, whatever the figure's height. A share of the cover range
         grew with the figure (cover = screen + height): a 360 px chart finished with its top above the
         screen, and Safari showed dots and broken whiskers on a figure in full view (owner, 2026-11-05).
         On entry alone a line finished below the fold (owner, 2026-10-28). */
      animation-range: cover calc(min(var(--r0, 0), 1) * var(--approach)) cover calc(min(var(--r1, 1), 1) * var(--approach)); }
    .w3 svg :is(.m-d, .a-curve, .a-curve2) { stroke-dasharray: 1; animation-name: k-draw; --r1: .55; }
    .w3 svg .a-curve2 { --r0: .4; --r1: .8; }
    .w3 svg .m-x { animation-name: k-grow-x; --r0: calc(var(--i, 0) * .03); --r1: calc(.5 + var(--i, 0) * .03); }
    .w3 svg :is(.m-y, .a-bar, .a-down) { animation-name: k-grow-y; --r0: calc(var(--i, 0) * .03); --r1: calc(.5 + var(--i, 0) * .03); }
    .w3 svg .a-down { --r0: .7; --r1: .95; }
    .w3 svg :is(.m-p, .m-o, .a-pop) { animation-name: k-pop; --r0: calc(.4 + var(--i, 0) * .02); --r1: calc(.65 + var(--i, 0) * .02); }
    .w3 svg :is(.m-f, .a-tint, .a-fade, .a-late, .a-final, .a-drop + .c-halo) { animation-name: k-in; --r0: .25; --r1: .75; }
    .w3 svg .a-fade { --r0: .5; --r1: .85; }
    .w3 svg .a-late { --r0: .55; --r1: .85; }
    .w3 svg .a-final { --r0: .8; --r1: 1; }
    .w3 svg .a-drop { animation-name: k-drop; --r0: .75; --r1: .92; }
    .w3 svg .a-drop.a-drop-b { --r0: .65; --r1: .85; }
    .w3 svg .a-drop + .c-halo { --r0: .88; --r1: 1; }
    .w3 svg .a-drop.a-drop-b + .c-halo { --r0: .8; --r1: 1; }
    .w3 svg .a-wipe { animation-name: k-wipe; --r1: .35; }
    .w3 svg .a-fade.a-whisk { --r0: calc(.2 + var(--i, 0) * .03); --r1: calc(.5 + var(--i, 0) * .03); }
    .w3 svg .a-fade.a-last { --r0: .7; --r1: .95; }
    /* The last point lands as the line it ends is finishing (owner, 2026-11-03: "the final point
       animation needs to open earlier"). */
    .w3 svg .m-z { --r0: .48; --r1: .72; }
    /* A figure on the first screen plays its draw once on load (sections.js sets each mark's delay and
       duration from its range); a scroll timeline would already be spent there. */
    .w3:not([data-m-draw="off"]) svg.m-now * { animation-timeline: auto !important; }

    /* a section's columns: each slides in from its own side (the prose column alternates), one movement per row */
    .w3:not([data-m-scene="off"]) main > section > .grid { view-timeline: --row block; view-timeline-inset: 0 var(--anticipate); }
    .w3:not([data-m-scene="off"]) main > section > .grid > .col-t { animation-name: k-from-left; }
    .w3:not([data-m-scene="off"]) main > section > .grid > .col-f { animation-name: k-from-right; }
    .w3:not([data-m-scene="off"]) main > section > .grid > :is(.col-t, .col-f) {
      animation-timeline: --row; animation-fill-mode: backwards; animation-timing-function: var(--mglide);
      animation-range: entry 0% entry 100%; }
    /* D11 15d: a section's blocks rise (vertical, --mrise), each on its own entry: in two columns a block's
       neighbour can sit a screen lower */
    .w3:not([data-m-scene="off"]) .srow > :is(.sc-t, .sc-f) {
      animation-name: k-rise; animation-timeline: view(block 0 var(--anticipate)); animation-fill-mode: backwards;
      animation-timing-function: var(--mglide); animation-range: entry 0% entry 100%; }
    .w3:not([data-m-scene="off"]) .srow > .sc-f { animation-range: entry 8% entry 100%; }
    /* D15c: never animate a block inside the two-column flow. WebKit paints a transformed fragment of
       a multicol box at its pre-flow offset, so a rising block lands on top of its neighbour (heads over
       prose, two figures stacked; measured in Playwright WebKit at 1440, clean with this rule). The
       row's figures still draw on their own timeline; solo and paired rows still rise. */
    @media (min-width: 900px) {
      .srow:not(.srow-solo):not(.srow-pair) > :is(.sc-t, .sc-f) { animation: none; } }
  }

  /* hover: the others recede within one beat (the W5 rule above owns the opacity) */
  :root[data-m-hover="off"] .ch .stop:not(:hover):not(:focus), :root[data-m-hover="off"] .ch .note { opacity: 1 !important; }

  /* page to page: the old page leaves, then the new one arrives (never both on screen). The
     masthead holds still (named, so it never fades); `main` and the rest of the page (root) go out in
     one beat and the next comes in after it, lifting 24 px. */
  @supports (view-transition-name: none) {
    @view-transition { navigation: auto; }
    .mast { view-transition-name: mast; }
    main { view-transition-name: page; }
    ::view-transition-group(*) { animation-duration: calc(var(--mbeat) * 4); }
    ::view-transition-old(page), ::view-transition-old(root) { animation: k-in var(--mbeat) var(--mease) reverse both; mix-blend-mode: normal; }
    ::view-transition-new(page), ::view-transition-new(root) { animation: k-page-in calc(var(--mbeat) * 3) var(--mease) var(--mbeat) both; mix-blend-mode: normal; }
    :root[data-m-vt="off"]::view-transition-group(*), :root[data-m-vt="off"]::view-transition-old(*),
    :root[data-m-vt="off"]::view-transition-new(*) { animation: none; }
  }
}
main { overflow-x: clip; }
@keyframes k-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes k-drop { from { opacity: 0; transform: translateY(-48px); } to { opacity: 1; transform: none; } }
@keyframes k-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes k-page-in { from { opacity: 0; transform: translateY(24px); } }
@keyframes k-in { from { opacity: 0; } }
@keyframes k-grow-x { from { transform: scaleX(0); } }
@keyframes k-grow-y { from { transform: scaleY(0); } }
@keyframes k-pop { from { transform: scale(0); } }
@keyframes k-rise { from { transform: translateY(var(--mrise)); opacity: 0; } }
@keyframes k-from-left { from { transform: translateX(calc(-1 * var(--mslide))); opacity: 0; } }
@keyframes k-from-right { from { transform: translateX(var(--mslide)); opacity: 0; } }


/* ---------- 8c · the chance tree (app/web/charts/chance_tree.py) ----------
   One radio group per drawing: the choice chips, and a transparent label laid over each ending and
   each middle station (`.ct-hot`, positioned in % of the drawing). Hover previews; the checked radio
   pins. An ending recedes every line and station that does not lead to it; a station says itself in
   words on its card and in the readout. Pre-drawn, no script. */
.lead, .ct-fig { --club-kit-p: 90%; --club-kit-soft: color-mix(in srgb, var(--club-kit) var(--club-kit-p), var(--ground)); }
.lead .kicker.club-name { font: 800 var(--sect-head)/var(--sect-lh) var(--sans); letter-spacing: -.03em; text-transform: none;
  color: var(--club-kit, var(--ink)); margin: 0 0 var(--u3); }
.ct-fig svg text { fill: var(--ink); font-family: "Geist", system-ui, sans-serif; }
.ct-fig svg .ct-mono { font: 400 10px "Geist Mono", ui-monospace, monospace; letter-spacing: .04em; fill: var(--muted); }
.ct-fig svg .ct-axis { font: 600 10px "Geist Mono", ui-monospace, monospace; letter-spacing: .06em; }
.ct-fig svg .ct-game { font-size: 13px; font-weight: 600; }
.ct-fig svg .ct-win { font: 600 12px "Geist Mono", ui-monospace, monospace; }
.ct-fig svg .ct-big { font-weight: 600; letter-spacing: -.04em; }
.ct-fig svg .ct-big.ct-hit { fill: var(--club-kit); }
.ct-fig svg .ct-today { fill: var(--club-kit); }
.ct-fig svg .ct-title { font: 600 10px "Geist Mono", ui-monospace, monospace; letter-spacing: .06em; fill: var(--club-kit); }
.ct-num { color: var(--club-kit); }
.ct-fig svg .ct-fin { font-weight: 600; letter-spacing: -.02em; }
.ct-grid, .ct-col { stroke: var(--hair); stroke-width: var(--w-hair); }
.ct-line { fill: none; stroke-linejoin: round; stroke-linecap: butt; }
.ct-won { stroke: var(--club-kit-soft); } .ct-lost { stroke: var(--muted); } .ct-main { stroke: var(--club-kit); }
.ct-cap { --ct-edge: var(--ink); fill: var(--ground); stroke: var(--ct-edge); stroke-width: var(--w-emph); }
.ct-st.ct-up .ct-cap { --ct-edge: var(--club-kit-soft); }
.ct-st.ct-main .ct-cap { --ct-edge: var(--club-kit); }
.ct-fig:has(.ct-ps10:checked) .ct-s10 .ct-cap,
.ct-fig:has(.ct-ps11:checked) .ct-s11 .ct-cap,
.ct-fig:has(.ct-ps20:checked) .ct-s20 .ct-cap,
.ct-fig:has(.ct-ps21:checked) .ct-s21 .ct-cap,
.ct-fig:has(.ct-ps22:checked) .ct-s22 .ct-cap { fill: var(--ct-edge); }
.lead:has(.ct-fig) .lead-text { grid-column: 1 / span 6; }
.lead-art:has(.ct-fig) { grid-column: 7 / span 6; align-self: start; }
.lead-kit .lead-art:not(:has(.ct-fig)) { grid-column: 8 / span 5; }  /* a club's line-art starts where its text column ends, never under it */
@media (max-width: 899px) { .lead-art:has(.ct-fig) { display: none; } }
.ct-fig { position: relative; }
.ct-plot { position: relative; width: fit-content; max-width: 100%; }
.lead-art .ct-fig svg { width: auto; max-width: 100%; }
.ct-hot { position: absolute; display: block; cursor: pointer; background: transparent; }
.ct-plot input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ct-plot input:focus-visible + .ct-hot { outline: var(--w-emph) solid var(--ink); }
.ct-tip { opacity: 0; pointer-events: none; }
.ct-tipbg { fill: var(--ink); stroke: none; }
.ct-fig svg .ct-tipt { fill: var(--ground); font: 600 13px "Geist", system-ui, sans-serif; }
.ct-fig svg .ct-tip0 { font-weight: 600; }
.ct-fig svg .ct-tip1 { font-weight: 400; }
.ct-fig svg .ct-tip2 { font-weight: 400; fill-opacity: .7; }
.ct-fig:has(.ct-ps10:checked) .ct-t10,
.ct-fig:has(.ct-ps11:checked) .ct-t11,
.ct-fig:has(.ct-ps20:checked) .ct-t20,
.ct-fig:has(.ct-ps21:checked) .ct-t21,
.ct-fig:has(.ct-ps22:checked) .ct-t22 { opacity: 1; }
.ct-fig:has(.ct-hot:hover) .ct-tip { opacity: 0; }
.ct-fig:has(.ct-hs10:hover) .ct-t10,
.ct-fig:has(.ct-hs11:hover) .ct-t11,
.ct-fig:has(.ct-hs20:hover) .ct-t20,
.ct-fig:has(.ct-hs21:hover) .ct-t21,
.ct-fig:has(.ct-hs22:hover) .ct-t22 { opacity: 1; }
.ct-fig:has(.ct-he0:hover) .tree :is(.ct-line, .ct-st):not(.ct-r0),
.ct-fig:has(.ct-pk0:checked) .tree :is(.ct-line, .ct-st):not(.ct-r0),
.ct-fig:has(.ct-he1:hover) .tree :is(.ct-line, .ct-st):not(.ct-r1),
.ct-fig:has(.ct-pk1:checked) .tree :is(.ct-line, .ct-st):not(.ct-r1),
.ct-fig:has(.ct-he2:hover) .tree :is(.ct-line, .ct-st):not(.ct-r2),
.ct-fig:has(.ct-pk2:checked) .tree :is(.ct-line, .ct-st):not(.ct-r2),
.ct-fig:has(.ct-he3:hover) .tree :is(.ct-line, .ct-st):not(.ct-r3),
.ct-fig:has(.ct-pk3:checked) .tree :is(.ct-line, .ct-st):not(.ct-r3) { opacity: .05; }
.ct-fig:has(.ct-he0:hover) .ct-end:not(.ct-e0),
.ct-fig:has(.ct-pk0:checked) .ct-end:not(.ct-e0),
.ct-fig:has(.ct-he1:hover) .ct-end:not(.ct-e1),
.ct-fig:has(.ct-pk1:checked) .ct-end:not(.ct-e1),
.ct-fig:has(.ct-he2:hover) .ct-end:not(.ct-e2),
.ct-fig:has(.ct-pk2:checked) .ct-end:not(.ct-e2),
.ct-fig:has(.ct-he3:hover) .ct-end:not(.ct-e3),
.ct-fig:has(.ct-pk3:checked) .ct-end:not(.ct-e3) { opacity: .35; }
.ct-pick { display: flex; flex-wrap: wrap; gap: var(--u2); margin: var(--u4) 0 0; }
.ct-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ct-pick label { font: 500 12px/20px "Geist Mono", ui-monospace, monospace; letter-spacing: .03em; padding: var(--u1) var(--u3);
  border: var(--w-hair) solid var(--hair); cursor: pointer; color: var(--ink); }
.ct-pick input:checked + label { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.ct-pick input:focus-visible + label { outline: var(--w-emph) solid var(--ink); outline-offset: var(--w-emph); }
.ct-readout { margin: var(--u3) 0 var(--u8); min-height: 24px; }
.ct-rd { display: none; }
.ct-fig:has(.ct-pkall:checked) .ct-rd-all { color: var(--muted); display: inline; }
.ct-fig:has(.ct-pk0:checked) .ct-rd0, .ct-fig:has(.ct-pk1:checked) .ct-rd1,
.ct-fig:has(.ct-pk2:checked) .ct-rd2, .ct-fig:has(.ct-pk3:checked) .ct-rd3,
.ct-fig:has(.ct-ps10:checked) .ct-rds10,
.ct-fig:has(.ct-ps11:checked) .ct-rds11,
.ct-fig:has(.ct-ps20:checked) .ct-rds20,
.ct-fig:has(.ct-ps21:checked) .ct-rds21,
.ct-fig:has(.ct-ps22:checked) .ct-rds22 { display: inline; }
@media (prefers-reduced-motion: no-preference) {
  .ct-line, .ct-st, .ct-end, .ct-tip { transition: opacity .15s; }
}

/* ---------- 8d · the Team luck chart (app/web/charts/luck.py) ----------
   The club's run against its calls: a segment and a dot per game, kit where the game raised the line and
   the claret where it fell; its funnel shaded; the neighbours named, the rest faint and named on hover.
   A full-height column per game is the tap target; its sentence is pre-drawn and shown by :has(), one
   rule per game (luck.MAX_GAMES of them). No script. */
.lk { overflow: visible; display: block; max-width: 100%; height: auto; }
.lk-fig svg text { fill: var(--ink); font-family: "Geist", system-ui, sans-serif; }
.lk-fig svg .lk-mono { font: 400 10px "Geist Mono", ui-monospace, monospace; letter-spacing: .04em; fill: var(--muted); }
.lk-fig svg .lk-halo { paint-order: stroke; stroke: var(--lk-band); stroke-width: calc(3 * var(--w-emph)); stroke-linejoin: round; }
.lk-fig svg .lk-ann.lk-halo { stroke: var(--ground); }  /* a swing label may sit past the band's edge: the ground is its ground */
.lk-fig { --lk-band-p: 7%; --lk-far-p: 30%;
  --lk-band: color-mix(in srgb, var(--ink) var(--lk-band-p), var(--ground));
  --lk-far: color-mix(in srgb, var(--muted) var(--lk-far-p), var(--ground)); }
.lk-band { fill: var(--lk-band); }
.lk-edge { fill: none; stroke: var(--muted); stroke-width: var(--w-emph); stroke-dasharray: 4 3; }
.lk-zero { stroke: var(--ink); stroke-width: var(--w-emph); }
.lk-fl { fill: none; stroke: var(--lk-far); stroke-width: var(--w-hair); pointer-events: none; }
.lk-grab { fill: none; stroke: transparent; stroke-width: calc(4 * var(--w-emph)); }
.lk-near .lk-fl { stroke: var(--muted); stroke-width: var(--w-emph); }
.lk-lead { stroke: var(--hair); stroke-width: var(--w-hair); }
.lk-me-lead { stroke: var(--club-kit); }
.lk-fig svg .lk-nm { font: 400 10px "Geist Mono", ui-monospace, monospace; fill: var(--muted); }
.lk-fig svg .lk-near .lk-nm { fill: var(--ink); }
.lk-fig svg .lk-me-nm { font: 600 12px "Geist", system-ui, sans-serif; fill: var(--club-kit); }
.lk-club, .lk-m { cursor: pointer; outline: none; }
.lk-hov { opacity: 0; }
.lk-far:hover .lk-hov, .lk-far:focus .lk-hov { opacity: 1; }
.lk-club:hover .lk-fl, .lk-club:focus .lk-fl { stroke: var(--ink); stroke-width: var(--w-emph); }
.lk-club:hover .lk-nm, .lk-club:focus .lk-nm { fill: var(--ink); font-weight: 600; }
.lk-seg { stroke-width: var(--w-subject); stroke-linecap: round; }
.lk-seg.lk-up { stroke: var(--club-kit); } .lk-seg.lk-down { stroke: var(--claret); }
.lk-dot { stroke: var(--ground); stroke-width: var(--w-emph); }
.lk-dot.lk-up { fill: var(--club-kit); } .lk-dot.lk-down { fill: var(--claret); }
.lk-m:hover .lk-dot, .lk-m:focus .lk-dot { r: 6px; }
.lk-hit { fill: transparent; }
.lk-col { stroke: transparent; }
.lk-m:hover .lk-col, .lk-m:focus .lk-col { stroke: var(--hair); }
.lk-fig svg .lk-ann { font: 600 11px "Geist", system-ui, sans-serif; }
.lk-fig svg .lk-ann.lk-up { fill: var(--club-kit); } .lk-fig svg .lk-ann.lk-down { fill: var(--claret); }
.lk-read { min-height: 48px; margin: var(--u2) 0 0; font-size: 15px; line-height: 24px; }
.lk-rd { display: none; }
.lk-idle { color: var(--muted); }
.lk-fig:has(.lk-m:hover, .lk-m:focus) .lk-idle { display: none; }
.lk-fig:has(.lk-m0:hover, .lk-m0:focus) .lk-rd0,
.lk-fig:has(.lk-m1:hover, .lk-m1:focus) .lk-rd1,
.lk-fig:has(.lk-m2:hover, .lk-m2:focus) .lk-rd2,
.lk-fig:has(.lk-m3:hover, .lk-m3:focus) .lk-rd3,
.lk-fig:has(.lk-m4:hover, .lk-m4:focus) .lk-rd4,
.lk-fig:has(.lk-m5:hover, .lk-m5:focus) .lk-rd5,
.lk-fig:has(.lk-m6:hover, .lk-m6:focus) .lk-rd6,
.lk-fig:has(.lk-m7:hover, .lk-m7:focus) .lk-rd7,
.lk-fig:has(.lk-m8:hover, .lk-m8:focus) .lk-rd8,
.lk-fig:has(.lk-m9:hover, .lk-m9:focus) .lk-rd9,
.lk-fig:has(.lk-m10:hover, .lk-m10:focus) .lk-rd10,
.lk-fig:has(.lk-m11:hover, .lk-m11:focus) .lk-rd11,
.lk-fig:has(.lk-m12:hover, .lk-m12:focus) .lk-rd12,
.lk-fig:has(.lk-m13:hover, .lk-m13:focus) .lk-rd13,
.lk-fig:has(.lk-m14:hover, .lk-m14:focus) .lk-rd14,
.lk-fig:has(.lk-m15:hover, .lk-m15:focus) .lk-rd15,
.lk-fig:has(.lk-m16:hover, .lk-m16:focus) .lk-rd16,
.lk-fig:has(.lk-m17:hover, .lk-m17:focus) .lk-rd17,
.lk-fig:has(.lk-m18:hover, .lk-m18:focus) .lk-rd18,
.lk-fig:has(.lk-m19:hover, .lk-m19:focus) .lk-rd19,
.lk-fig:has(.lk-m20:hover, .lk-m20:focus) .lk-rd20,
.lk-fig:has(.lk-m21:hover, .lk-m21:focus) .lk-rd21,
.lk-fig:has(.lk-m22:hover, .lk-m22:focus) .lk-rd22,
.lk-fig:has(.lk-m23:hover, .lk-m23:focus) .lk-rd23,
.lk-fig:has(.lk-m24:hover, .lk-m24:focus) .lk-rd24,
.lk-fig:has(.lk-m25:hover, .lk-m25:focus) .lk-rd25,
.lk-fig:has(.lk-m26:hover, .lk-m26:focus) .lk-rd26,
.lk-fig:has(.lk-m27:hover, .lk-m27:focus) .lk-rd27,
.lk-fig:has(.lk-m28:hover, .lk-m28:focus) .lk-rd28,
.lk-fig:has(.lk-m29:hover, .lk-m29:focus) .lk-rd29,
.lk-fig:has(.lk-m30:hover, .lk-m30:focus) .lk-rd30,
.lk-fig:has(.lk-m31:hover, .lk-m31:focus) .lk-rd31,
.lk-fig:has(.lk-m32:hover, .lk-m32:focus) .lk-rd32,
.lk-fig:has(.lk-m33:hover, .lk-m33:focus) .lk-rd33,
.lk-fig:has(.lk-m34:hover, .lk-m34:focus) .lk-rd34,
.lk-fig:has(.lk-m35:hover, .lk-m35:focus) .lk-rd35,
.lk-fig:has(.lk-m36:hover, .lk-m36:focus) .lk-rd36,
.lk-fig:has(.lk-m37:hover, .lk-m37:focus) .lk-rd37,
.lk-fig:has(.lk-m38:hover, .lk-m38:focus) .lk-rd38,
.lk-fig:has(.lk-m39:hover, .lk-m39:focus) .lk-rd39,
.lk-fig:has(.lk-m40:hover, .lk-m40:focus) .lk-rd40,
.lk-fig:has(.lk-m41:hover, .lk-m41:focus) .lk-rd41,
.lk-fig:has(.lk-m42:hover, .lk-m42:focus) .lk-rd42,
.lk-fig:has(.lk-m43:hover, .lk-m43:focus) .lk-rd43,
.lk-fig:has(.lk-m44:hover, .lk-m44:focus) .lk-rd44,
.lk-fig:has(.lk-m45:hover, .lk-m45:focus) .lk-rd45,
.lk-fig:has(.lk-m46:hover, .lk-m46:focus) .lk-rd46,
.lk-fig:has(.lk-m47:hover, .lk-m47:focus) .lk-rd47,
.lk-fig:has(.lk-m48:hover, .lk-m48:focus) .lk-rd48,
.lk-fig:has(.lk-m49:hover, .lk-m49:focus) .lk-rd49 { display: inline; }
.lk-more { margin: var(--u1) 0 0; font-size: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .lk-fl, .lk-hov, .lk-dot { transition: opacity .15s; }
}

/* ---------- 8e · the luck series' Monoline marks (app/web/views/articles/luck/monoline.py) ----------
   Hairlines with round ends, dots, and words set on the marks at reading size: labels and hover
   sentences at 15 px, notes and ticks at 14 px in the 1440 drawing, one step smaller in the 390 one
   (.fp). The muted ink is the house muted pulled 9 % toward the ink (the specimen's
   565C63 light and A3A8AE dark, within one step a channel, so a 14 px note keeps its contrast); the faint is the muted over the ground. A mark's tone is
   --mono-tone, set by one tone class. Hover is the house stop (§9): its sentence, the others recede. */
.ch { --mono-mut: color-mix(in srgb, var(--ink) 9%, var(--muted)); --mono-faint-p: 45%;
  --mono-faint: color-mix(in srgb, var(--muted) var(--mono-faint-p), var(--ground)); --mono-tone: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ch { --mono-faint-p: 50%; } }
:root[data-theme="dark"] .ch { --mono-faint-p: 50%; }
.ch .mono-lab, .ch .mono-ro { font-size: 15px; font-weight: 500; }
.ch .mono-num { font-size: 15px; font-weight: 650; }
.ch .mono-note { font-size: 14px; font-weight: 400; --mono-tone: var(--mono-mut); }
.ch .mono-tick { font-size: 14px; font-weight: 400; --mono-tone: var(--mono-mut); font-variant-numeric: tabular-nums; }
.fp .ch .mono-lab, .fp .ch .mono-ro, .fp .ch .mono-num { font-size: 14px; }
.fp .ch .mono-note, .fp .ch .mono-tick { font-size: 13px; }
.ch .mono-big { font-size: 64px; font-weight: 650; letter-spacing: -.02em; }
.fp .ch .mono-big { font-size: 44px; }
.ch .mono-ink { --mono-tone: var(--ink); } .ch .mono-mut { --mono-tone: var(--mono-mut); }
.ch .mono-faint { --mono-tone: var(--mono-faint); } .ch .mono-claret { --mono-tone: var(--claret); }
.ch :is(.mono-lab, .mono-num, .mono-note, .mono-tick, .mono-big) { fill: var(--mono-tone); }
.ch :is(.mono-lab, .mono-num) .mono-faint { fill: var(--mono-mut); }  /* faint marks, words still read */
.mono-ln { fill: none; stroke: var(--mono-tone); stroke-width: var(--w-emph); stroke-linecap: round; stroke-linejoin: round; }
.mono-ln.mono-hair { stroke-width: var(--w-hair); }
.mono-ln.mono-subject { stroke-width: var(--w-subject); }
.mono-ln.mono-dotted { stroke: var(--mono-faint); stroke-width: var(--w-subject); stroke-dasharray: .1 6; }
.mono-ln.mono-dash { stroke-dasharray: 8 6; }
.mono-rule { stroke: var(--hair); stroke-width: var(--w-hair); }
.mono-shade { fill: color-mix(in srgb, var(--mono-tone) 16%, transparent); }
.mono-dot { fill: var(--mono-tone); }
/* A swarm's run of dots as one stroke: round caps on zero-length dashes, the pitch and size
   set on the line by the drawing (monoline.dot_swarm). */
.ch .mono-beads { fill: none; stroke: var(--mono-tone); stroke-linecap: round; }
.ch .stop:is(:hover, :focus) .mono-beads.mono-faint { --mono-tone: var(--mono-mut); }
.mono-open { fill: var(--ground); stroke: var(--mono-tone); stroke-width: var(--w-emph); }
.mono-named { stroke: var(--ink); stroke-width: var(--w-emph); }
.ch .stop:is(:hover, :focus) .mono-ln.mono-faint { --mono-tone: var(--ink); }  /* a held context line rises to the ink */
.ch .stop:is(:hover, :focus) .mono-dot { stroke: var(--ink); stroke-width: var(--w-hair); }
/* Words that give their rows to a hover sentence (a club strip's name and named seasons). */
.ch:has(.stop:hover, .stop:focus) .mono-cede { visibility: hidden; }
/* The luck story's chapters 3-6 figures (D26 round 7, decision 10): the luck line, chapter 4's
   ladder and one illustration per test, the carry-over scatter and the paradox are drawn at the
   measure or smaller, never stretched, and sit centred in the reading column over their reading line. */
.art-column .art-figrow > :is(#luck-line, #luck-sports, #luck-per-score, #luck-close-games, #luck-spread, #luck-century, #luck-dials) {
  max-width: var(--measure); margin-inline: auto; }
.art-column .art-figrow > :is(#luck-line, #luck-sports, #luck-per-score, #luck-close-games, #luck-spread, #luck-century, #luck-dials) .fw svg {
  width: auto; margin-inline: auto; }
/* A Monoline figure's claim: a headline sentence at --s-hl, its key phrase in claret
   (monoline.claim). The menus of a figure that carries one are text tabs, the chosen one underlined
   in claret, where the house menus are boxed buttons; the legend stays for screen readers. */
.rx-panel.mono-claim { max-width: 34ch; margin: var(--u6) 0 var(--u4); font: 600 var(--s-hl)/1.15 var(--sans);
  letter-spacing: -.02em; text-wrap: balance; }
.mono-claim .mono-hit { color: var(--claret); }
.rx-figure:has(.mono-claim) .fig-menu { gap: var(--u1) var(--u6); }
.rx-figure:has(.mono-claim) .fig-menu legend { position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; }
.rx-figure:has(.mono-claim) .fig-menu label { padding: var(--u1) 0; border: 0; background: none; color: var(--muted);
  text-decoration: underline var(--w-emph) transparent; text-underline-offset: 8px; }
.rx-figure:has(.mono-claim) .fig-menu label:hover { color: var(--ink); }
.rx-figure:has(.mono-claim) .fig-menu input:checked + label { background: none; color: var(--ink);
  text-decoration-color: var(--claret); }
/* The Galton board (monoline.pegs, balls, ball_path): finished at rest and under reduced motion;
   with motion each peg row, path and ball plays in its own slice of the figure's scroll timeline
   (--r0..--r1, set inline), so the board fills step by step as it comes into view (§8b): the rows
   come in, a rider falls the path peg by peg (offset-path) and is gone where the resting ball lands,
   each ball falls its own --fall into the bin, and the bell's bins fill from the floor. */
.ch .g-rider { opacity: 0; offset-rotate: 0deg; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) and (offset-distance: 0%) {
    .w3:not([data-m-draw="off"]) svg :is(.g-peg, .g-ball, .g-path, .g-rider, .g-fill .mono-beads, .g-fill .mono-dot, .g-late, .g-slide, .g-grow) {
      animation-timeline: --fig; animation-fill-mode: backwards; animation-timing-function: var(--mease);
      animation-range: cover calc(min(var(--r0, 0), 1) * var(--approach)) cover calc(min(var(--r1, 1), 1) * var(--approach)); }
    .w3 svg .g-peg { animation-name: k-in; }
    .w3 svg .g-ball { animation-name: k-fall; }
    .w3 svg .g-path { stroke-dasharray: 1; animation-name: k-draw; animation-timing-function: linear; }
    .w3 svg .g-rider { animation-name: k-ride; animation-timing-function: linear; }
    .w3 svg :is(.g-fill .mono-beads, .g-fill .mono-dot) { animation-name: k-fill; --r0: .5; --r1: .8; }
    .w3 svg .g-late { animation-name: k-in; --r0: .8; --r1: .9; }
    .w3 svg .g-slide { animation-name: k-slide; }
    .w3 svg .g-grow { stroke-dasharray: 1; animation-name: k-draw; }
  }
  .ch .play-team { transition: transform 170ms var(--mease); }
  .ch .play-spread { transition: opacity 480ms var(--mease); }
}
@keyframes k-fall { from { opacity: 0; transform: translateY(calc(-1 * var(--fall, 48px))); } 20% { opacity: 1; } }
@keyframes k-ride { from { opacity: 1; offset-distance: 0%; } to { opacity: 1; offset-distance: 100%; } }
@keyframes k-fill { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
/* The luck line (A★): every league starts at the coin and slides left to its share (--dx, inline). */
@keyframes k-slide { from { transform: translateX(var(--dx, 0px)); } }
.mono-ringed { stroke: var(--ground); stroke-width: 2; }
/* The dials (C★): a rule's bar, and the calendar's slab, both drawn out from zero (.g-grow). */
.mono-ln.mono-bar { stroke-width: var(--mark-bar); stroke-linecap: butt; }
.mono-ln.mono-slab { stroke-width: var(--mark-slab); stroke-linecap: butt; }
.fp .mono-ln.mono-slab { stroke-width: var(--mark-slab-narrow); }
.ch .play-hide { opacity: 0; }
/* Twenty identical teams (static/luck-play.js): the controls show only once the script runs; with
   it off the figure is the one pre-rolled season it was drawn with. */
.play-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: var(--u2) var(--u3); margin: 0 auto var(--u3); }
.play-ctl[hidden] { display: none; }
.play-ctl button { padding: var(--u1) var(--u3); border: var(--w-hair) solid var(--ink); background: transparent;
  color: var(--ink); font: 500 var(--s-text)/24px var(--sans); cursor: pointer; border-radius: 0; }
.play-ctl button:first-child { background: var(--ink); color: var(--ground); }
.play-ctl button:disabled { opacity: .5; cursor: progress; }
.play-tally { flex-basis: 100%; max-width: 64ch; min-height: 48px; margin: 0; color: var(--ink); font-size: var(--s-text); line-height: 24px; }
.play-tally:empty { display: none; }
/* The luck story's three later games (chapters/ending_figures.py): a row of choices a group, the
   pressed one filled; the reader's format ringed in claret on the ladder; the pools drawn. */
.luck-interactive .pick { display: flex; flex-wrap: wrap; align-items: center; gap: var(--u1) var(--u2); flex-basis: 100%; }
.luck-interactive .pick[hidden] { display: none; }
.luck-interactive .pick > span { min-width: 9ch; color: var(--muted); font-size: var(--s-text); }
.luck-interactive .pick button { background: transparent; color: var(--ink); }
.luck-interactive button[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
.luck-interactive .pick button:disabled { opacity: .35; cursor: not-allowed; }
.pools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--u2) var(--u3); flex-basis: 100%; }
.pools:empty { display: none; }
.pools b { display: block; font: 650 var(--s-text)/24px var(--sans); color: var(--ink); }
.pools ol { margin: 0; padding: 0; list-style: none; font-size: var(--s-text); line-height: 24px; color: var(--ink); }
.pools .ours b, .pools li.ours { color: var(--claret); }
.pools div.ours { box-shadow: inset var(--w-subject) 0 0 var(--claret); padding-left: var(--u2); }
@media (max-width: 899px) { .pools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 9 · figure hover layers (app/web/pages/match/figures.py) ----------
   Read-outs are pre-drawn and hidden; a scrub bin or a stop reveals its own on hover, and a stop
   on keyboard focus too. Hit rects are transparent but paint (fill: transparent, never none). */
.ch .hit { fill: transparent; stroke: none; }
.ch .ro { visibility: hidden; pointer-events: none; }
.ch .bin:hover .ro, .ch .stop:hover .ro, .ch .stop:focus .ro { visibility: visible; }
.ch:has(.stop:hover, .stop:focus) .ref-name { visibility: hidden; } /* the read-out takes the top row */
/* the scrub rule: a bin's own pre-drawn vertical, full height hairline + a heavier run up to the curve */
.ch .vr, .ch .vr-ext { visibility: hidden; pointer-events: none; }
.ch .vr { stroke: var(--ink); stroke-width: var(--w-emph); }
.ch .vr-ext { stroke: var(--muted); stroke-width: var(--w-hair); }
.ch .bin:hover .vr, .ch .bin:hover .vr-ext, .ch .stop:hover .vr, .ch .stop:focus .vr { visibility: visible; }
.ch .stop { outline: none; }
.ch .ko1 { display: none; }  /* a landing chart's second-order key: its Order menu shows it */
.ch .gf * { vector-effect: non-scaling-stroke; }  /* a panel drawn in games and tenths: strokes in pixels */
.ch .stop:focus-visible .hit { stroke: var(--claret); stroke-width: var(--w-emph); }
.ch .call-tick, .ch .coin-tick { stroke-width: var(--w-emph); }

/* ---------- 9b · the line, band, slope and timeline forms (app/web/charts/lines.py, timelines.py) ----------
   Lines are T1 edges (1.5 px) in a tone; a band is the tint behind it (outer 90, inner 50); a
   field line is thin and dim. Tones: s1/s2 kit sides, s0 muted, lead ink. A scrub bin is focusable
   too (tabindex), so tap and keyboard reach its read-out and its dot. */
.ch .vr-dot { visibility: hidden; pointer-events: none; }
.ch .bin:focus .ro, .ch .bin:focus .vr, .ch .bin:focus .vr-ext,
.ch .bin:hover .vr-dot, .ch .bin:focus .vr-dot { visibility: visible; }
.ch .bin { outline: none; }
.ch .bin:focus-visible .hit { stroke: var(--claret); stroke-width: var(--w-emph); }
.c-base { stroke: var(--ink); stroke-width: var(--w-emph); }
.ln { --tone: var(--ink); fill: none; stroke: var(--tone); stroke-width: var(--w-emph); stroke-linejoin: round; stroke-linecap: round; }  /* softened: round ends, never smoothed values */
.ln.s1 { --tone: var(--s1); } .ln.s2 { --tone: var(--s2); } .ln.s0 { --tone: var(--muted); }
.ln:not(.s0):not(.dim):not(.dash) { stroke-width: var(--w-subject); }  /* the data subject */
.ln.dim { --tone: var(--ctx); stroke-width: var(--w-hair); }  /* a field line: hairline in the context grey */
.ln.faint, .sol.faint { opacity: .45; }  /* a reference line faded below the other field greys */
.ln.dash { stroke-dasharray: 4 3; stroke-width: var(--w-hair); }
:is(.rc:not(.stop *), .stop:not(:hover):not(:focus) .rc) .ln { stroke-width: var(--w-emph); }  /* a receded subject */
/* a field line's own stop: hover, focus or tap raises it to its tone at subject weight, with its read-out */
.ch .stop .fld { visibility: hidden; pointer-events: none; }
.ch .stop:hover .fld, .ch .stop:focus .fld { visibility: visible; }
.ch .stop:focus-visible .hit.hot { stroke: transparent; }
.bd, .bd.b90 { --tone: var(--ink); stroke: none; fill: color-mix(in srgb, var(--tone) calc(var(--tint) * 50%), transparent); }
.bd.b50 { fill: color-mix(in srgb, var(--tone) calc(var(--tint) * 100%), transparent); }
.bd.s1 { --tone: var(--s1); } .bd.s2 { --tone: var(--s2); } .bd.s0 { --tone: var(--muted); } .bd.focus { --tone: var(--claret); }
.ch .hit.hot { fill: none; stroke: transparent; stroke-width: 24px; pointer-events: stroke; }  /* the 24 px target floor */
.sol.lead { fill: var(--ink); } .sol.dim { fill: var(--muted); }
/* the one accent: the side a figure's sentence names (the focus colour), the rest quiet */
.sol.focus, .ring.focus { fill: var(--claret); stroke: none; } .ring.focus { fill: none; stroke: var(--claret); } .ln.focus { --tone: var(--claret); } .stem.focus { stroke: var(--claret); }
.sol.mute { fill: var(--muted); }
.cell { fill: var(--ink); stroke: transparent; cursor: pointer; }  /* a match-cloud cell (kick-win Figure 1): its fill-opacity is the matches it holds; a bin, so pointer only; the stroke's width (an attribute) is its hover target */
.ch .bin:hover .cell { fill-opacity: 1; stroke: var(--ink); stroke-opacity: .3; }
.sol.hollow { fill: var(--ground); stroke: var(--ink); stroke-width: var(--w-emph); }  /* below the range: an ink ring */
.sol.hollow.dim { stroke: var(--muted); }  /* an open dot in the field grey */
.t2.lead, .t2.hollow { stroke: var(--ink); } .t2.mute { stroke: var(--muted); } .t2.focus { stroke: var(--claret); }
/* fill = the LEDGER grade, colour = the subject: solid strong, hollow weak, dotted ring for untested / not graded / descriptive (D27) */
.sol.dotted { fill: var(--ground); stroke: var(--ink); stroke-width: var(--w-emph); stroke-dasharray: 2 2; } .t2.dotted { stroke: var(--ink); }
.sol.hollow.focus, .sol.dotted.focus, .t2.hollow.focus, .t2.dotted.focus { stroke: var(--claret); }
.sol.hollow.mute, .sol.dotted.mute, .t2.hollow.mute, .t2.dotted.mute { stroke: var(--muted); }
.ring { fill: var(--ground); stroke: var(--muted); stroke-width: var(--w-emph); }
.ev.hatch { fill: url(#hatch); stroke: var(--muted); stroke-width: var(--w-hair); }
.hatch-line { stroke: var(--muted); stroke-width: var(--w-hair); }
.cl[aria-hidden] { fill: var(--ink); fill-opacity: 0.16; stroke: none; pointer-events: none; }  /* one match in a fitted chart's cloud (the claret group is a bare .cl) */
.clt { stroke: var(--ink); stroke-opacity: 0.45; stroke-width: var(--w-hair); pointer-events: none; }  /* a match past the frame, a tick on its edge */
.rib { --tone: var(--ink); stroke: none; fill: color-mix(in srgb, var(--tone) calc(var(--tint) * 18%), transparent); }  /* the eight-in-ten band of the cloud: a faint wash */
.rib.core { fill: color-mix(in srgb, var(--tone) calc(var(--tint) * 24%), transparent); }  /* the middle half of a bin's matches: the one faint wash */
.bdl { stroke: var(--muted); stroke-width: var(--w-hair); stroke-dasharray: 1 4; fill: none; pointer-events: none; }  /* the one-point band: two dotted rules */
.t2.pt { stroke-width: var(--w-emph); }  /* a held-out prediction's tick */
.fband { --tone: var(--ink); stroke: none; fill: color-mix(in srgb, var(--tone) calc(var(--tint) * 70%), transparent); }  /* a fitted line's 95 % band: above the cloud, under the line */
.fband.focus { --tone: var(--claret); }
.t1.lead { fill: color-mix(in srgb, var(--ink) calc(var(--tint) * 100%), transparent); stroke: var(--ink); }
.t1.mute { fill: color-mix(in srgb, var(--muted) calc(var(--tint) * 100%), transparent); stroke: var(--muted); }
/* the home-edge long-read, dark ground: the no-change band and the grey bar read at ink strength, not the 6 % wash */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) [id^="home-edge-"] .bd.s0 { fill: color-mix(in srgb, var(--ink) calc(var(--tint) * 100%), transparent); }
  :root:not([data-theme="light"]) [id^="home-edge-"] .t1.mute { fill: color-mix(in srgb, var(--muted) calc(var(--tint) * 250%), transparent); }
}
:root[data-theme="dark"] [id^="home-edge-"] .bd.s0 { fill: color-mix(in srgb, var(--ink) calc(var(--tint) * 100%), transparent); }
:root[data-theme="dark"] [id^="home-edge-"] .t1.mute { fill: color-mix(in srgb, var(--muted) calc(var(--tint) * 250%), transparent); }
.t1.focus { fill: color-mix(in srgb, var(--claret) calc(var(--tint) * 100%), transparent); stroke: var(--claret); }
/* A series' own colour pair (a club's kit, a source's hue): its <g class="kt"> carries --tl/--td,
   the per-mode custom properties a fixture row carries (.fx, below), and the mode picks here. */
.kt { --k: var(--tl); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kt { --k: var(--td); } }
:root[data-theme="dark"] .kt { --k: var(--td); }
.ln.k { --tone: var(--k); } .bd.k { --tone: var(--k); } .bd.focus { --tone: var(--claret); }
.sol.k { fill: var(--k); } .t2.k { stroke: var(--k); } .ring.k { stroke: var(--k); }
.t1.k { fill: color-mix(in srgb, var(--k) calc(var(--tint) * 100%), transparent); stroke: var(--k); }

/* ---------- 9c · the dot, strip, scatter, panel and matrix forms (app/web/charts/dots.py) ----------
   A range is a muted whisker with end caps (.band: the wide expected range behind a dot); a label
   never takes the pointer from its mark (.c-lab); a leader joins a moved label to its mark. A hovered
   or focused mark takes an ink edge, a hovered bin its ring (.vr-dot is revealed by .bin:hover). */
.wh { stroke: var(--muted); stroke-width: var(--w-emph); fill: none; }
.c-lab { pointer-events: none; }
.c-axis.dim { stroke: var(--muted); opacity: .6; }
.ring-r { fill: none; stroke: var(--ink); stroke-width: var(--w-emph); }
.ring-r.focus { stroke: var(--claret); }
.cm-tick { stroke: var(--ink); stroke-width: var(--w-emph); }
.ch .stop:hover .sol, .ch .stop:focus .sol { stroke: var(--ink); stroke-width: var(--w-emph); }

/* ---------- 9m · the Now map (app/web/charts/week/now_map.py) ----------
   The land is a hairline and the weight is the data. One veil dims the map; a hovered, focused or
   tapped game's layer sits above it, its dot lit and its card in the one slot, where the caption
   rests. `--lit` lights one game and `--on` the figure, so a row outside the figure can do both. */
.nm { margin: 0; }
.nm-land { fill: none; stroke: var(--muted); stroke-width: var(--w-hair); }
.nm-frame { fill: none; stroke: var(--hair); stroke-width: var(--w-hair); }
.nm-box { fill: none; stroke: var(--ink); stroke-width: var(--w-emph); }
.nm-d, .nm-hot { fill: var(--k, var(--ink)); }
.nm-d.neu, .nm-hot.neu { --k: var(--muted); }
.nm-ring { fill: none; stroke: var(--ink); stroke-width: var(--w-emph); }
.nm-veil { fill: var(--ground); opacity: calc(var(--on, 0) * .85); pointer-events: none; }
.nm-rest { opacity: calc(1 - var(--on, 0)); }
.nm-g { outline: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.nm-g:hover, .nm-g:focus { --lit: 1; }
.nm-hot { stroke: transparent; opacity: var(--lit, 0); pointer-events: all; }
.nm-card { opacity: var(--lit, 0); pointer-events: none; }
.nm-focus { fill: none; stroke: var(--ink); stroke-width: var(--w-emph); opacity: 0; pointer-events: none; }
.nm-g:focus-visible .nm-focus { opacity: 1; }
.nm:has(.nm-g:hover, .nm-g:focus), .now-spread:has([data-row]:is(:hover, :focus-within)) .nm { --on: 1; }
/* Now's lead: at 1100 and up the map takes 8 of the 12 columns, the first ladder the other 4 beside
   it, and the rest flow three across under it, so no column stands empty. At 390 the rows follow the
   swing frame straight away and the locator (`.nm-far`) moves under them. */
.now-spread { display: grid; gap: var(--u8) var(--col-gap); margin-top: var(--u8); }
.now-rows .results { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
@media (min-width: 1100px) {
  .now-spread:has(.now-rows) { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .now-spread:has(.now-rows) > .nm { grid-column: span 8; }
  .now-spread .now-rows, .now-spread .now-rows .results { display: contents; }
  .now-spread .now-rows .res { grid-column: span 4; }
  .now-spread .now-rows > :not(.results) { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  .now-spread .nm, .now-spread .nm .fp { display: contents; }
  .now-spread .nm-far { order: 1; }
}
.res:is(:hover, :focus-within) { --lit: 1; }
.res-go { display: contents; text-decoration: none; }
a.res:hover .who, .res:has(.res-go:hover) .who { color: var(--claret); }

/* ---------- 9n · the stakes ladder (app/web/charts/week/ladder.py) ----------
   One strip per result, a bar per finishing place: claret inside the tinted zone, grey outside.
   A strip's hover line is pre-drawn in the one slot under the axis; hover, focus or tap shows it. */
.lad-key { display: block; margin-top: var(--u2); font: 500 var(--s-label)/1.5 "Geist Mono", ui-monospace, monospace; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.lad { display: block; width: 100%; max-width: 28rem; height: auto; overflow: visible; margin-top: var(--u1); }
.lad text { font-family: "Geist", sans-serif; }
.lad-zb { fill: color-mix(in srgb, var(--claret) 9%, var(--ground)); }
.lad-zl { font: 600 10.5px "Geist Mono", monospace; letter-spacing: .06em; fill: var(--claret-text); }
.lad-k { font: 400 9.5px "Geist Mono", monospace; fill: var(--muted); }
.lad-p { stroke: var(--hair); stroke-width: var(--w-hair); fill: none; }
.lad-r { font: 700 11px "Geist Mono", monospace; letter-spacing: .06em; fill: var(--ink); }
.lad-in { fill: var(--claret); } .lad-out { fill: var(--ctx); }
.lad-b { stroke: var(--muted); stroke-width: var(--w-hair); }
.lad-n { font-size: 15px; font-weight: 750; letter-spacing: -.02em; fill: var(--ink); }
.lad-m { font: 500 9.5px "Geist Mono", monospace; fill: var(--ink); }
.lad-t { font-size: 12px; font-weight: 600; fill: var(--ink); opacity: 0; }
.lad-h { fill: transparent; }
.lad-s { outline: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.lad-s:is(:hover, :focus) .lad-t { opacity: 1; }
.lad-s:is(:hover, :focus) > .lad-h { fill: color-mix(in srgb, var(--muted) 10%, transparent); }
.lad-s:focus-visible > .lad-h { stroke: var(--ink); stroke-width: var(--w-emph); }
.res[data-row] { background: color-mix(in srgb, var(--ink) calc(var(--lit, 0) * 8%), transparent); }
.card-stage { margin-left: var(--u2); font: 400 var(--s-label)/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ---------- 9d · the bar, histogram, interval and arrow forms (app/web/charts/bars.py) ----------
   A bar is T1 and an interval T2; the lead tone (ink) reaches them and the
   stem of an arrow. A hovered or focused bar takes an ink edge, as a hovered dot does. */
.stem.lead { stroke: var(--ink); } .stem.k { stroke: var(--k); }
/* soft tint (Q8b 7a, owner-picked): tokens, not per figure. A fill is 8-10 % ink, no panel box, gridlines dotted,
   the heavy baseline the only rule. Claret is the subject only: one `.cl` group per figure (grammar.figure),
   the marks its title talks about; how firm a reading is goes in the marks and words, never the colour. */
:root { --soft-p: 9%; --soft: color-mix(in srgb, var(--ink) var(--soft-p), transparent);
  --soft-hot: color-mix(in srgb, var(--ink) 16%, transparent);
  --soft-claret: color-mix(in srgb, var(--claret) var(--soft-p), transparent); }
.c-grid.dot { stroke: var(--ctx); stroke-dasharray: 1 3; }
.sw-med { stroke: var(--ink); stroke-width: var(--w-emph); } .sw-med.k { stroke: var(--k); }
.sh-tile { fill: var(--soft); stroke: none; }
.sh-n { font-size: 32px; font-weight: 800; letter-spacing: -.04em; fill: var(--ink); font-variant-numeric: tabular-nums; }
.sh-v { fill: var(--muted); }
.ch .stop:hover .sh-tile, .ch .stop:focus .sh-tile { fill: var(--soft-hot); }
.cl .sol { fill: var(--claret); }
.cl .ln, .cl .ln.k { --tone: var(--claret); }  /* a line that clears chance: the message colour */
.cl .sh-tile { fill: var(--soft-claret); } .cl .sh-n, .cl .sh-v { fill: var(--claret); }
.cl .stop:hover .sh-tile, .cl .stop:focus .sh-tile { fill: color-mix(in srgb, var(--claret) 18%, transparent); }
/* the series' own marks (Q8b 7r1, specimen v20): a window as an outline (the first three seasons) over a tint
   (the last three), a part drawn solid inside its bar, the heavy rule where a step fits, a law change as a
   hairline across its panel, a big "N of M" headline; claret only inside the figure's `.cl` group.
   The clock's areas are translucent under a solid top edge, so the grid and the rules read through (7r3). */
.sf-out { fill: none; stroke: var(--ink); stroke-width: var(--w-hair); }
.sf-tint { fill: var(--soft-hot); stroke: none; } .cl .sf-tint { fill: var(--claret); }
.sf-part { fill: var(--ink); stroke: none; pointer-events: none; } .cl .sf-part { fill: var(--claret); }
.t1.pale { fill: var(--soft); stroke: none; }  /* a bar's rest beside its claret part: a light tint, no box */
.ck-s { fill: color-mix(in srgb, var(--ink) 7%, transparent); stroke: none; }
.ck-r { fill: var(--soft-hot); stroke: none; } .cl .ck-r { fill: color-mix(in srgb, var(--claret) 55%, transparent); }
.ck-b { fill: none; stroke: var(--ink); stroke-width: var(--w-emph); }  /* the replacements' entry bracket */
.ck-e { fill: none; stroke: var(--muted); stroke-width: var(--w-hair); }  /* the starters' top edge */
.ch .stop:hover .ck-h, .ch .stop:focus .ck-h { fill: color-mix(in srgb, var(--ink) 8%, transparent); }  /* a spell's slice, lit */
.sf-step { stroke: var(--ink); stroke-width: calc(2 * var(--w-subject)); }
.sf-fit { stroke: var(--muted); stroke-width: var(--w-hair); stroke-dasharray: 3 3; }  /* a best-fitting step inside chance */
.ch .stop:hover .sf-fit, .ch .stop:focus .sf-fit { stroke: var(--ink); }
.sf-law { stroke: var(--ctx); stroke-width: var(--w-hair); stroke-opacity: .5; }  /* a law: light, under the data */
.ch .stop:hover .sf-law, .ch .stop:focus .sf-law { stroke: var(--ink); stroke-opacity: 1; }
.sol.hollow.k { fill: var(--ground); stroke: var(--k); }  /* an open dot in its league's colour */
.sf-n { font-weight: 600; } .cl .sf-n, .cl .sh-n { fill: var(--claret); }
.ch .stop:hover .t1, .ch .stop:focus .t1 { stroke: var(--ink); }
/* the Forwards' eight-question link table (Q8b 7r2b, v20's .cardgrid): a question per row, a group per column,
   each cell a short answer linked to its figure plus its grade glyph; on a phone the rows stack, each cell named. */
table.rx-table:has(a.cg) { width: 100%; max-width: none; table-layout: fixed; }
table.rx-table:has(a.cg) th:first-child { width: 34%; }
.art-depth table.rx-table:not(.compact):has(a.cg) td, table.rx-table:has(a.cg) td { height: auto; padding-top: var(--u3); padding-bottom: var(--u3); white-space: normal; }
a.cg { display: flex; align-items: baseline; gap: var(--u2); color: var(--ink); text-decoration: none; }
a.cg .t { font-weight: 600; }
a.cg:hover .t, a.cg:focus .t { text-decoration: underline; }
a.cg .gm { flex: none; }
a.cg .cg-g { display: none; }
@media (max-width: 599px) {
  .rx-scroll:has(a.cg) { overflow: visible; }
  table.rx-table:has(a.cg), table.rx-table:has(a.cg) :is(tbody, tr, td) { display: block; width: auto; }
  table.rx-table:has(a.cg) tr:has(th) { display: none; }
  table.rx-table:has(a.cg) tr { border-top: var(--w-rule) solid var(--ink); padding: var(--u3) 0 var(--u2); }
  .art-depth table.rx-table:not(.compact):has(a.cg) td, table.rx-table:has(a.cg) td { border: 0; padding: var(--u1) 0; }
  a.cg { flex-wrap: wrap; }
  a.cg .cg-g { display: block; flex-basis: 100%; font: 400 var(--s-label)/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
}

/* ---------- 10 · the Match page's head and blocks (app/web/pages/match/bands.py) ----------
   The headline is a sentence at --s-hl; its one numeral (.hn) is set at display size in the kit
   tone by W4, so the same figure is never printed twice. At 390 the standfirst follows the lead
   figure (the text column dissolves into the grid and its children are ordered). */
:root { --s-hl: 32px; }
@media (max-width: 899px) { :root { --s-hl: 21px; } }  /* owner 2026-10-29: the phone read too big */
.hl { font: 600 var(--s-hl)/1.15 "Geist", sans-serif; letter-spacing: -.02em; margin: 0 0 24px; }
.hn { font-variant-numeric: tabular-nums; white-space: nowrap; }
.nw { white-space: nowrap; }
.hn.t0 { color: var(--ink); } .hn.t1 { color: var(--s1); } .hn.t2 { color: var(--s2); }
.fig { margin: 0 0 16px; }
.fig .hn { display: block; font: 600 var(--s-display)/var(--lh-display) "Geist", sans-serif; letter-spacing: -.025em; }
.fig-cap { display: block; color: var(--muted); }
.w4 .hn { font-size: var(--s-display); line-height: var(--lh-display); letter-spacing: -.025em; }
.routes { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.routes a { text-decoration: none; border-bottom: var(--w-hair) solid var(--hair); }
.stake + .stake { margin-top: 32px; }
.beat .grid > .col-f:first-child { grid-column: 2; }  /* a figure with no sentence keeps its own column */
/* a beat that is one sentence or one line of links (no figure) sits close: the 128 px beat is for
   a beat with a figure to carry it */
.beat:not(:has(.col-f)), .how-wrap { margin-top: var(--beat-brief); }
.beat:not(:has(.col-f)) .sent:last-child { margin-bottom: 0; }
:root { --beat-brief: 56px; }
@media (max-width: 899px) { :root { --beat-brief: 40px; } .beat .grid > .col-f:first-child { grid-column: 1; } }
@media (max-width: 899px) {
  .head .col-t { display: contents; }
  .head .state { order: 0; } .head .sur { order: 0; } .head .hl { order: 1; } .head .col-f { order: 2; }
  .head .fig { order: 3; } .head .stand { order: 3; } .head .dated { order: 4; }
}

/* ── Components (D11, from sheet.py) ──────────────────────────────────────────────────────────
   The component rules of the pre-edition sheet (app/web/sheet.py, sheet_reading.py, and the
   shared/sheet_grid.py, shared/sheet.py, pages/lab.py, pages/match/any.py fragments it served),
   restated on the edition tokens so a desk can move to the edition shell with its markup as is.
   Translated, not redesigned: the same class names, grid tracks, gaps and breakpoints.

   Old token  ->  edition token
     --bg, --surface            ->  --ground      (no filled surface: a panel is a rule)
     --ink, --rule              ->  --ink
     --ink-muted, --ink-faint   ->  --muted       (faint and muted merge: two greys became one)
     --hairline, --dim, --grid  ->  --hair
     --focus (the one accent)   ->  --claret      (hover and the focus ring only; the coin-flip
                                                   word, the miss tick and the active chapter or
                                                   subnav entry take --ink, as the edition spends
                                                   the house pair on nothing else)
     --font-heading/-body/-mono ->  "Geist" / "Geist Mono" (--sans, --mono below)
     --fs-label (11)            ->  --s-label (13 / 12), tracking .06em
     --fs-table/-body/-name/-value/-read/-cap/-title (14..22) -> --s-text, weight 600 for a head
     --fs-display (44)          ->  --s-display; a 22 px figure -> --s-hl
     --lh-*                     ->  --lh-text, or the 24 px baseline where a block ends on one
     --s1..--s24 (spacing)      ->  --u1..--u16 (4..64 px; --s1/--s2 are the sides here)
     --gutter (24, columns)     ->  --col; --site-gutter (fluid) -> --col-gap; page margin -> .wrap
     --radius                   ->  0;  shadows and mask gradients  ->  none (rules, not boxes)
     820 px phone break         ->  899 px, the edition's own narrow break
   The old names are gone from the markup too (D11 commit 16). */
:root {
  --sans: "Geist", system-ui, sans-serif; --mono: "Geist Mono", ui-monospace, monospace;
  --u1: 4px; --u2: 8px; --u3: 12px; --u4: 16px; --u6: 24px; --u8: 32px; --u12: 48px; --u16: 64px;
  --col: 24px; --col-gap: clamp(16px, 3vw, 48px); --measure: 64ch; --band-pad: 64px; --cell: 12px;
}
@media (max-width: 899px) { :root { --band-pad: 48px; } }

/* The label roles: mono at --s-label, 16 px leading. Caps for a label, plain for a note. */
.kicker, .count .l, .sec-head .meta, .bignums .l, .rx-subhead, .rx-day-label, .rx-kpi-label,
.rx-rail-label, .rx-head-meta, .rx-card-label, .rx-cover-status, .fx-day,
.art-pager-direction, .mk-rung-label, .mk-rung-n, .any-field .l, .any-switch span, .any-axis,
.rx-register-label, .rx-verdict b, table.rx-table th, table.rx-matrix th {
  font: 400 var(--s-label)/16px var(--mono); letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted);
}
.fx .time, .res .kick, .res .callout, .credit, .rx-mb-sub, .draw-below, .rx-cover-meta,
.mk-form-count, .rx-card-sub, .bar-wrap, .rx-verdict, .fx .call.muted, .filter span,
.mk-strip-axis .mk-strip-cells, .rx-row-call-muted, .search-detail, .search-kind {
  font: 400 var(--s-label)/16px var(--mono); color: var(--muted);
}
/* The caption role: Geist at text size, muted, on the measure. */
.rx-source, .fx .foot, .kv .n, .bignums .n, .count .n, .gone-note, .art-standfirst, .standfirst,
.rx-read, .rx-figure-note { font: 400 var(--s-text)/var(--lh-text) var(--sans); color: var(--muted); }
.rx-source { max-width: var(--measure); margin-top: var(--u3); }
.rx-source a { color: var(--ink); }
.rx-source:has(+ table), .rx-source:has(+ .rx-table) { margin-bottom: var(--u3); }
.rx-source + .rx-doc { margin-top: var(--u3); }  /* a caption under a figure or table, then the prose */
.rx-figure + .rx-source { margin-top: var(--u2); }

/* Type: the headline at display size; the other heads at text size, 600. */
.headline { max-width: 18ch; margin: 0 0 var(--u6); font: 600 var(--s-display)/var(--lh-display) var(--sans);
            letter-spacing: -.025em; text-wrap: balance; }
.headline.long { max-width: 26ch; }
/* Past components.HEADLINE_BUDGET a headline steps down a size and widens its measure (owner, 2026-10-29). */
.headline.over { max-width: 34ch; font-size: var(--s-hl); line-height: 1.15; }
.lab-headline { overflow-wrap: anywhere; }
.lead-sentence { max-width: 26ch; margin: 0 0 var(--u6); font: 500 var(--s-text)/1.3 var(--sans); text-wrap: balance; }
.rx-statement-text { margin: 0; font: 600 var(--s-display)/var(--lh-display) var(--sans); letter-spacing: -.025em; text-wrap: balance; }
.rx-statement-dek { margin: var(--u4) 0 0; max-width: 46ch; color: var(--muted); }
.rx-title { margin: 0 0 var(--u2); font: 600 var(--s-text)/24px var(--sans); }
.rx-rule { margin: var(--u12) 0 var(--u2); border-top: var(--w-rule) solid var(--ink); }
.rx-subtitle, .stakes, .rx-doc p, .prose p, .srow p:not([class]) { font: 400 var(--s-text)/var(--lh-text) var(--sans); }
.rx-subtitle { margin: 0 0 var(--u4); color: var(--muted); }
.rx-subtitle, .rx-statement-dek { max-width: var(--measure); }
.stakes { max-width: var(--measure); margin: var(--u6) 0 0; color: var(--muted); }
.pp-clubs { max-width: var(--measure); margin: var(--u2) 0 0; color: var(--muted); font: 500 var(--s-text)/var(--lh-text) var(--sans); }
.pp-clubs + .stakes { margin-top: var(--u4); }
.standfirst { max-width: var(--measure); margin: 0 0 var(--u8); }
.sec-head:has(+ .standfirst) { margin-bottom: var(--u2); }
.rx-subhead { margin: var(--u6) 0 var(--u3); }
.rx-doc p { max-width: var(--measure); margin: 0 0 var(--u4); color: var(--ink); }
.rx-doc strong, .prose strong { font-weight: 600; }
.rx-doc code { font: 400 .85em var(--mono); border-bottom: var(--w-hair) solid var(--hair); }
.prose p { max-width: var(--measure); margin: 0 0 var(--u4); }
.sect h3, .comp-sections h3 { margin: 0 0 var(--u4); font: 600 var(--s-text)/24px var(--sans); }
.comp-sections h3 { margin: var(--u8) 0 var(--u2); }
.srow .sc-t > p, .srow .sc-t > .rx-source { max-width: var(--measure); }
.rx-num { font-family: var(--mono); font-weight: 400; font-variant-numeric: tabular-nums; }
.rx-num.rx-em { color: var(--ink); font-weight: 600; }
.rx-band { margin-left: var(--u1); font-family: var(--sans); font-size: .93em; font-weight: 400; color: var(--muted); }
.rx-nowrap, .rx-card-value, .rx-verdict, .nw { white-space: nowrap; }
.rx-right { text-align: right; font-variant-numeric: tabular-nums; }
.credit { margin: var(--u2) 0 0; text-align: right; }
.credit a { color: inherit; text-decoration: none; }
.credit a:hover { color: var(--ink); }
.no-arrow { text-decoration: none; }

/* Layout: a band (a full-width section on its hairline), the 12-column grid the layout helpers
   name, the lead (text beside art on one row), the jump list and the sub-navigation. */
.band { padding-block: var(--band-pad); border-bottom: var(--w-hair) solid var(--hair); }
.band.slim { padding-block: var(--u6); }
.band.slim .rx-subtitle { margin: 0; }
.cell { min-width: 0; }
.rx-grid, .lead > .grid, .grid[class*="cols-"] { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
.rx-grid { column-gap: var(--col); }
.cols-main-rail > :nth-child(1) { grid-column: 1 / span 8; } .cols-main-rail > :nth-child(2) { grid-column: 9 / span 4; }
.cols-halves > :nth-child(1) { grid-column: 1 / span 6; } .cols-halves > :nth-child(2) { grid-column: 7 / span 6; }
.cols-lead > :nth-child(1) { grid-column: 1 / span 7; } .cols-lead > :nth-child(2) { grid-column: 8 / span 5; }
.cols-narrow-wide > :nth-child(1) { grid-column: 1 / span 4; } .cols-narrow-wide > :nth-child(2) { grid-column: 5 / span 8; }
.lead { position: relative; padding-block: var(--band-pad); border-bottom: var(--w-hair) solid var(--hair); overflow: hidden; }
.lead-text { grid-row: 1; grid-column: 1 / span 7; position: relative; z-index: 2; align-self: center; }
.lead-plain .lead-text { grid-column: 1 / span 8; }
.lead-art { grid-row: 1; grid-column: 6 / span 7; position: relative; z-index: 1; align-self: center; min-height: 220px; }
.lead-art svg { display: block; width: 100%; }
.lead .rx-mb { max-width: 34rem; margin: var(--u6) 0 0; }
.lead .rx-source { margin: var(--u3) 0 0; }
.lead .lead-next, .lead .rx-source + .rx-subtitle { margin-top: var(--u6); }
.lead .rx-rail { display: flex; flex-wrap: wrap; gap: var(--u2) var(--u8); margin-top: var(--u6); }
.jump { display: flex; flex-wrap: wrap; gap: var(--u2) var(--u6); padding-block: var(--u4); border-bottom: var(--w-hair) solid var(--hair); }
.jump a, .subnav a, .res, .rx-cover { text-decoration: none; }
.subnav { display: flex; flex-wrap: wrap; gap: var(--u6); margin-bottom: var(--u6); }
.subnav a { padding-bottom: var(--u1); color: var(--muted); border-bottom: var(--w-emph) solid transparent; }
.subnav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.rx-lede-rail { grid-column: 1 / span 2; padding-right: var(--col); margin-top: var(--u12); }
.rx-lede-statement { grid-column: 3 / span 6; margin-top: var(--u12); }
.rx-lede-kpi { grid-column: 9 / span 4; padding-left: var(--col); margin-top: var(--u12); }
.rx-head { align-items: baseline; margin-top: var(--u12); padding: var(--u2) 0 14px; border-top: var(--w-rule) solid var(--ink); }
.rx-head-number { grid-column: 1 / span 2; font: 400 var(--s-display)/var(--lh-display) var(--mono); color: var(--muted); }
.rx-head-title { grid-column: 3 / span 7; font: 600 var(--s-text)/24px var(--sans); }
.rx-head-meta { grid-column: 10 / span 3; text-align: right; }
.rx-rail { display: grid; }
.rx-rail-item { display: block; }
.rx-rail-label, .rx-rail-value { display: block; }
.rx-rail-value { margin-bottom: var(--u3); font: 500 var(--s-text)/24px var(--mono); }
.rx-kpi { padding: 11px 0 var(--u3); border-top: var(--w-rule) solid var(--ink); }
.rx-kpi-row { display: flex; flex-wrap: wrap; gap: 0 var(--u3); justify-content: space-between; align-items: baseline; line-height: 24px; }
.rx-kpi-value { font: 600 var(--s-text)/24px var(--mono); font-variant-numeric: tabular-nums; }
.rx-mb-pct { font: 600 var(--s-text)/24px var(--mono); font-variant-numeric: tabular-nums; }

/* The section head: number, title, mono meta. No rule of its own: the band above it carries the hairline. */
.sec-head { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; align-items: baseline; margin-bottom: var(--u8); }
.sec-head > h2:first-child { grid-column: 1 / -1; }  /* an unnumbered head (Home's rail) spans the row, not the number column */
.sec-head .no { font: 400 var(--s-text)/24px var(--mono); color: var(--muted); }
.sec-head h2 { margin: 0; font: 600 var(--s-text)/24px var(--sans); }
.method { padding-block: 64px var(--u8); border-bottom: 0; }
.method-head { margin: 0 0 var(--u6); font: 600 var(--s-text)/24px var(--sans); }
.method details { max-width: var(--measure); margin-top: var(--u4); }
.method summary { cursor: pointer; color: var(--muted); }

/* Counts, big numbers, label/value lines. */
.counts { display: flex; flex-wrap: wrap; gap: var(--u6) var(--u12); max-width: 56rem; margin-top: var(--u12); padding-top: var(--u6); border-top: var(--w-hair) solid var(--hair); }
.count .v { display: block; font: 600 var(--s-hl)/1.1 var(--sans); font-variant-numeric: tabular-nums; }
.count .l { display: block; margin-top: var(--u1); }
.count .n { display: block; margin-top: var(--u1); max-width: 18ch; }
/* Tiles wrap, each at least as wide as its figure: a grid of equal tracks broke "unchanged" mid-word and
   ran "97.9%" past the column at 1440 (D11 step 19). */
.bignums { display: flex; flex-wrap: wrap; column-gap: var(--u8); row-gap: var(--u6); max-width: 44rem; }
.bignums > * { flex: 1 0 auto; min-width: 9rem; }
.bignums .l { display: block; }
.bignums .v { display: block; margin-top: var(--u2); font: 600 var(--s-display)/1.05 var(--sans); font-variant-numeric: tabular-nums; }
.bignums .v .rx-band { font-size: var(--s-text); }
.bignums .v.word { font-size: var(--s-hl); line-height: 1.15; }  /* a word in a tile ("unchanged"), not a figure: it fits its column whole */
.bignums .n { display: block; margin-top: var(--u1); font-variant-numeric: tabular-nums; }
.kv { max-width: 64rem; margin: var(--u6) 0 var(--u4); border-top: var(--w-rule) solid var(--ink); }
.kv .row { display: grid; grid-template-columns: 12rem 7rem minmax(0, 1fr); column-gap: var(--u4); align-items: baseline; padding-block: var(--u3); border-bottom: var(--w-hair) solid var(--hair); }
.kv .v { text-align: right; white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.rx-cards { display: flex; flex-wrap: wrap; gap: var(--col); margin: var(--u2) 0 var(--u6); }
.rx-cards.rx-stack { flex-direction: column; }
.rx-card { flex: 1 1 0; min-width: 130px; padding-top: var(--u3); border-top: var(--w-rule) solid var(--ink); }
.rx-card-value { margin-top: var(--u1); font: 600 var(--s-text)/24px var(--mono); }
.rx-card-sub { margin-top: var(--u1); }
.rx-chip { display: inline-block; width: 10px; height: 10px; margin-right: var(--u2); vertical-align: middle; }

/* Tables on the 24 px baseline: header 24, body row 48 (Row; Compact 24 behind "Show all"), a hairline under each. */
table.rx-table { width: auto; min-width: min(100%, 26rem); max-width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.band table.rx-table { max-width: 64rem; }
table.rx-table th, table.rx-table td { box-sizing: border-box; vertical-align: top; text-align: left; }
table.rx-table th { height: 24px; padding: 4px var(--cell) 3px; white-space: nowrap; border-bottom: var(--w-rule) solid var(--ink); }
table.rx-table td { height: 48px; padding: 11px var(--cell) 12px; font: 400 var(--s-text)/24px var(--sans); color: var(--ink); border-bottom: var(--w-hair) solid var(--hair); }
table.rx-table th:first-child, table.rx-table td:first-child { padding-left: 0; }
table.rx-table td.rx-right, table.rx-table th.rx-right { text-align: right; padding-left: var(--u6); }
table.rx-table td.rx-right:last-child, table.rx-table th.rx-right:last-child { padding-right: 0; }
table.rx-table td.rx-nowrap, table.rx-table th.rx-nowrap { white-space: nowrap; }
table.rx-table .rx-num { line-height: 24px; vertical-align: top; }
table[data-sortable] th { cursor: pointer; }
table[data-sortable] th[aria-sort="ascending"]::after { content: " \25B2"; font-size: .7em; }
table[data-sortable] th[aria-sort="descending"]::after { content: " \25BC"; font-size: .7em; }
.lab-scroll { overflow-x: auto; margin: 0 0 var(--u6); }
.lab-scroll .rx-table { margin-bottom: 0; }
.lab-scroll.lab-wide .rx-table { width: 100%; min-width: 40rem; }
.lab-scroll-hint { display: none; }

/* The matrix: one baseline a row; the ink opacity of a cell is the structure. */
/* A figure's one-sentence title (`Chart.claim`, `pages/journal.py`), on every article. */
.sx-claim { max-width: 36ch; margin: var(--u12) 0 var(--u6); font: 600 24px/30px var(--sans); letter-spacing: -.01em; text-wrap: balance; }
.sx-claim strong { color: var(--claret); font-weight: inherit; }
@media (max-width: 599px) { .sx-claim { margin-top: var(--u8); font-size: 20px; line-height: 26px; } }
.rx-matrix-statement { margin: var(--u6) 0 var(--u3); font: 400 var(--s-text)/var(--lh-text) var(--sans); }
table.rx-matrix { width: 100%; max-width: 64rem; border-collapse: separate; border-spacing: 2px; border: 0; table-layout: fixed; }
table.rx-matrix th, table.rx-matrix td { height: 24px; box-sizing: border-box; vertical-align: top; border: 0; }
table.rx-matrix th { padding: var(--u1) var(--cell); text-align: left; }
table.rx-matrix th:first-child { width: 11rem; text-align: right; }
table.rx-matrix tr:first-child th { padding: 4px var(--cell) 3px; border-bottom: var(--w-rule) solid var(--ink); }
table.rx-matrix td { padding: var(--u1) var(--cell); text-align: center; font: 500 var(--s-label)/16px var(--mono); font-variant-numeric: tabular-nums; }
table.rx-matrix tr.mk-focus th { font-weight: 700; color: var(--ink); }
table.rx-matrix tr.mk-focus td { outline: var(--w-emph) solid var(--ink); outline-offset: -2px; }

/* Verdict (word and probability, one line), the matchup bar, the three-way bar. */
.rx-verdict { text-align: right; color: var(--ink); text-transform: none; letter-spacing: 0; }
.rx-verdict b { margin-right: var(--u2); font-weight: 500; color: var(--ink); }
.rx-table .rx-verdict { white-space: nowrap; }
.lead-call .rx-verdict, .gone-lead .rx-verdict { display: inline-block; padding: 3px var(--u2); border: var(--w-rule) solid var(--ink); text-align: left; white-space: nowrap; }
.rx-statement-text .rx-verdict { display: inline-block; margin: 0 var(--u1); font: 600 var(--s-text)/24px var(--sans); vertical-align: baseline; }
.rx-mb { margin: var(--u2) 0 var(--u4); }
.rx-mb-row { display: flex; justify-content: space-between; align-items: baseline; }
.rx-mb-team { font: 600 var(--s-text)/24px var(--sans); }
.rx-mb-right { text-align: right; }
.rx-mb-bar { display: flex; height: 6px; margin: var(--u1) 0; overflow: hidden; }
.rx-mb-fill { height: 100%; }
.rx-mb-bar.three { height: 16px; }
.rx-mb-fill.draw, .bar-wrap.three .bar i.draw { display: flex; align-items: center; justify-content: center; }
.rx-mb-fill .draw-tab, .bar i .draw-tab { padding: 0 var(--u1); background: var(--ground); color: var(--ink); font: 500 var(--s-label)/1 var(--mono); }
.rx-mb .draw-row, .bar-wrap .draw-row { position: relative; height: 0; }
.rx-mb .draw-row:not(:empty), .bar-wrap .draw-row:not(:empty) { height: 16px; }
.bar-wrap .draw-row { grid-column: 2; }
.draw-below { position: absolute; top: 0; transform: translateX(-50%); padding-top: var(--u1); font-variant-numeric: tabular-nums; }
.draw-below::before { content: ""; position: absolute; left: 50%; top: 0; height: var(--u1); border-left: var(--w-hair) solid var(--hair); }
.bar-wrap { display: grid; grid-template-columns: 3ch minmax(0, 1fr) 3ch; column-gap: var(--u2); align-items: center; font-variant-numeric: tabular-nums; }
.bar-wrap .num:first-child { text-align: right; }
.bar { display: flex; gap: 2px; height: 6px; }
.bar i { display: block; height: 100%; }
.bar-wrap.three .bar { height: 16px; gap: 0; }

/* The Now desk: the filter, one card per competition, fixtures on fixed tracks, results. */
.filter { display: flex; flex-wrap: wrap; gap: var(--u2) var(--u3); margin: 0 0 var(--u12); }
.filter a, .filter button, .fig-menu label { display: inline-block; padding: var(--u1) var(--u3); border: var(--w-hair) solid var(--hair); background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; font: inherit; font-size: var(--s-text); line-height: 24px; border-radius: 0; }
.filter span { margin-left: var(--u2); }
.filter button:hover, .fig-menu label:hover { border-color: var(--ink); }
.filter button[aria-pressed="true"], .fig-menu input:checked + label { background: var(--ink); border-color: var(--ink); color: var(--ground); }
.filter button[aria-pressed="true"] span { color: var(--ground); }
.fig-menu input { position: absolute; opacity: 0; }
.fig-menu input:focus-visible + label { outline: var(--w-emph) solid var(--claret); outline-offset: 2px; }
.cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--u16) var(--col-gap); }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1800px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { container: card / inline-size; min-width: 0; }
.card[hidden] { display: none; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--u4); margin-bottom: var(--u2); padding-top: var(--u3); border-top: var(--w-rule) solid var(--ink); }
.card-head h3 { margin: 0; font: 600 var(--s-text)/24px var(--sans); }
.card-head a, .card-more { font: 400 var(--s-label)/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.card-more { display: block; margin-top: var(--u2); }
.card-head a:hover { color: var(--claret); }
.fx { position: relative; display: grid; grid-template-columns: 6rem minmax(0, 1fr) minmax(0, 15rem); grid-template-areas: "time home away" "time bar bar" "time call call" ". foot foot"; column-gap: var(--u3); row-gap: var(--u1); align-items: center; padding-block: var(--u3); border-bottom: var(--w-hair) solid var(--hair); }
@container card (min-width: 46rem) { .fx { grid-template-columns: 6rem minmax(0, 1fr) 12rem minmax(0, 1fr); grid-template-areas: "time home bar away" ". . call ." ". foot foot foot"; } }
@container card (max-width: 30rem) { .fx { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "time time" "home away" "bar bar" "call call" "foot foot"; } .fx .time { flex-direction: row; gap: var(--u2); } }
.fx .time { grid-area: time; display: flex; flex-direction: column; text-decoration: none; white-space: nowrap; }
.fx .time b { color: var(--ink); font-weight: 500; }
.fx .time::after { content: ""; position: absolute; inset: 0; }
.fx a.t { position: relative; z-index: 1; text-decoration: none; color: var(--ink); }
.fx a.t:hover, .fx:hover .t { color: var(--claret); }
.fx .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 var(--s-text)/20px var(--sans); }
.fx .home { grid-area: home; } .fx .away { grid-area: away; text-align: right; }
.fx .bar-wrap { grid-area: bar; } .fx .call { grid-area: call; min-width: 0; text-align: center; }
.fx .call .rx-verdict { display: block; text-align: inherit; }
.fx .foot { grid-area: foot; }
.fx.watch { border-bottom-color: var(--ink); } .fx.watch .t { font-weight: 600; }
.fx-day { margin: var(--u6) 0 var(--u1); } .fx-day:first-child { margin-top: 0; }
.fx-comp { margin: var(--u4) 0 0; font: 600 var(--s-text)/24px var(--sans); }
.fx-day + .fx-comp { margin-top: var(--u2); }
.match-index .card, .comp-sections .card { max-width: 64rem; }
.match-index .card { max-width: none; }
.gone-lead { max-width: 34ch; margin: 0 0 var(--u4); font: 600 var(--s-hl)/1.3 var(--sans); text-wrap: balance; }
.gone-lead a { text-decoration: none; } .gone-lead em { font-style: normal; font-weight: 700; }
.gone-note { max-width: var(--measure); margin: 0; }
.results { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); column-gap: var(--col-gap); margin-top: var(--u8); }
.res { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--u3); row-gap: var(--u1); padding-block: var(--u3); border-bottom: var(--w-hair) solid var(--hair); }
.res .kick, .res .callout { grid-column: 1 / -1; }
.res .who { font: 500 var(--s-text)/20px var(--sans); }
.res .sc { font: 600 var(--s-text)/20px var(--sans); text-align: right; }
.res .callout .rx-verdict { text-align: left; }
.res.miss { border-left: var(--w-emph) solid var(--ink); padding-left: var(--u2); }
.movers { list-style: none; columns: 2 22rem; column-gap: var(--col-gap); margin: var(--u8) 0 var(--u4); padding: 0; }
.movers li { margin: 0 0 var(--u2); break-inside: avoid; }

/* The Team and Competition desks. */
.comp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr)); gap: var(--u12) var(--col-gap); }
.comp-card { position: relative; min-width: 0; padding-top: var(--u3); border-top: var(--w-rule) solid var(--ink); }
.comp-card .name { font: 600 var(--s-text)/24px var(--sans); text-decoration: none; }
.comp-card .name::after { content: ""; position: absolute; inset: 0; }
.comp-card:hover .name { color: var(--claret); }
.comp-card .rx-source { margin: var(--u2) 0 0; }
.comp-sections > .jump { margin-top: 0; }
@media (min-width: 1440px) { html.sect-nav-on .comp-sections > .jump { display: none; } }  /* the left-gutter section nav does its job */
.rx-index { list-style: none; margin: 0 0 var(--u6); padding: 0; columns: 3 14rem; column-gap: var(--col-gap); }
.rx-index li { margin: 0 0 var(--u2); break-inside: avoid; }
nav.picker { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--u1) var(--u4); margin: var(--u4) 0; color: var(--muted); }
nav.picker a, nav.picker strong { white-space: nowrap; }
nav.picker strong { color: var(--ink); font-weight: 600; }
.rx-misses { max-width: var(--measure); margin: var(--u6) 0 0; padding-top: var(--u2); border-top: var(--w-rule) solid var(--ink); }
.rx-gonext { display: flex; flex-wrap: wrap; gap: var(--u2) var(--u6); margin: var(--u4) 0 0; }

/* Articles: the cover grid, the chapter strip, the pager, the pull quote. */
.rx-cover-grid { grid-column: 3 / 13; margin: var(--u12) 0; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--col); row-gap: var(--u12); }
.rx-cover { display: flex; flex-direction: column; min-width: 0; color: var(--ink); }
.rx-cover-mark { display: block; height: 144px; color: var(--ink); } .rx-cover-mark svg { width: 100%; height: 100%; display: block; }
.rx-cover-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; height: 72px; margin-top: var(--u3); font: 600 var(--s-text)/24px var(--sans); }
.rx-cover:hover .rx-cover-title { color: var(--claret); }
.rx-cover-dek { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; height: 72px; margin-top: var(--u2); }
.rx-cover-meta { display: flex; flex-direction: column; overflow: hidden; height: 48px; margin-top: var(--u2); }
.rx-cover-meta-date { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rx-cover-meta-detail { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rx-cover-status { display: block; margin-top: var(--u1); }
.art-contents { margin: var(--u6) 0 var(--u8); border-top: var(--w-rule) solid var(--ink); }
.art-contents ol { margin: 0; padding: 0; list-style: none; } .art-contents li { border-bottom: var(--w-hair) solid var(--hair); }
.art-contents a { display: flex; gap: var(--u4); padding-block: var(--u2); text-decoration: none; color: var(--muted); }
.art-contents a:hover { color: var(--ink); }
.art-contents a[aria-current="page"] { color: var(--ink); font-weight: 600; border-left: var(--w-emph) solid var(--ink); padding-left: var(--u2); }
.art-contents-number { font-family: var(--mono); min-width: 2ch; }
.art-contents a:has(.art-contents-claim) { color: var(--ink); font-weight: 600; }
.art-contents-claim { display: block; max-width: var(--measure); margin-top: var(--u1); color: var(--muted); font-weight: 400; }
.art-chapter-title { margin: 0 0 var(--u2); max-width: var(--measure); font: 600 var(--s-text)/24px var(--sans); }
.art-standfirst { max-width: var(--measure); margin: 0 0 var(--u8); }
.art-pager { display: flex; justify-content: space-between; gap: var(--u6); margin-top: var(--u12); padding-top: var(--u4); border-top: var(--w-rule) solid var(--ink); }
.art-pager a { display: block; max-width: var(--measure); text-decoration: none; }
.art-pager-previous { text-align: left; } .art-pager-next { margin-left: auto; text-align: right; }
.art-pager-direction, .art-pager-title { display: block; } .art-pager-title { font-weight: 600; }
body .art-chapter .srow + .srow { margin-top: calc(var(--row-gap) + var(--u4)); }
body .art-chapter .prose p { margin-bottom: var(--u6); }
.art-quote { max-width: var(--measure); margin: var(--u8) 0; padding-left: var(--u4); border-left: var(--w-emph) solid var(--ink); }
.art-quote p { margin: 0 0 var(--u2); font: 600 var(--s-text)/24px var(--sans); }
.art-quote footer { color: var(--muted); } .art-quote footer a { color: var(--muted); }
/* A single-page long-read (one chapter): the surtitre is the kicker above the headline, the dateline
   sits under the standfirst, and each section's margin slot is a column beside its prose at 900 px and
   up, always open (a disclosure under the prose below that). */
.art-kicker { margin: var(--u12) 0 var(--u2); }
.art-kicker + .rx-statement { margin-top: 0; }
.art-backlink a { color: var(--muted); text-decoration: none; } .art-backlink a:hover { color: var(--ink); }
.art-chapter-position { margin: var(--u2) 0 var(--u6); font: 400 var(--s-label)/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rx-statement + .art-standfirst { margin-top: var(--u6); }
.art-dateline { margin: 0 0 var(--u8); font: 400 var(--s-label)/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.art-spread { margin-top: var(--u6); }
.art-text > :first-child, .art-text > :first-child > :first-child { margin-top: 0; }
.art-margin { margin-top: var(--u6); border-top: var(--w-hair) solid var(--hair); padding-top: var(--u3); color: var(--muted); }
.art-margin summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.art-margin p { max-width: var(--measure); margin: var(--u3) 0 0; }
.art-margin strong { color: var(--ink); font-weight: 600; }
/* The grade line (the strong / weak / refuted sentence and its range) is one visible line over the
   closed disclosure on a phone, and one of the open column's own lines from 900 px: each is shown at
   its width only, never both. */
.art-grade { margin: var(--u6) 0 0; max-width: var(--measure); color: var(--ink); }
.art-grade + .art-margin { margin-top: var(--u2); }
.art-grade-in { display: none; }
/* Long-read heads: the section number, title and an empty meta slot stack on a phone, and each gap
   between them was a full row gap (48 px); the empty slot goes and the rows sit close. */
.art-long .rx-head-meta:empty { display: none; }
@media (max-width: 899px) { .art-long .rx-head { row-gap: var(--u2); } }
@media (min-width: 900px) {
  .art-grade { display: none; }
  .art-grade-in { display: block; }
  .art-spread { display: grid; grid-template-columns: minmax(0, var(--measure)) minmax(0, 1fr); column-gap: var(--u16); align-items: start; }
  .art-margin { margin-top: 0; max-width: 44ch; }
}
@supports selector(::details-content) {
  @media (min-width: 900px) {
    .art-margin::details-content { content-visibility: visible; display: block; }
    .art-margin > summary { display: none; }  /* the column opens on its own first line, "How it is worked out:" */
  }
}
/* The home-advantage long-read (D15c 4e, the house article): a section is the desks' head (`.sect`: the
   number in the left index from 1440, the short label heavy, the claim as its standfirst), then rows —
   prose and lone figures in the desks' two columns (layout.beats), a wide figure across the page, two
   figures side by side; a box is a short framed block in the column flow, never split across the rule;
   the finish and the technical version stay at the measure (owner, 2026-11-05: "match the general design"). */
.art-sect + .art-sect { margin-top: calc(2 * var(--row-gap)); }
.art-sect > .sec-head .meta:empty { display: none; }
.art-sect > :is(.srow, .art-figrow, .art-grades) + :is(.srow, .art-figrow, .art-grades) { margin-top: var(--row-gap); }
.art-figrow > .rx-source { max-width: var(--measure); }
@media (min-width: 900px) { .art-figrow .fw svg { width: 100%; } }
/* A fitted model beside its held-out check (figures_fits._pair): the fit takes two thirds, the check, drawn
   square, one third; on the phone the check sits under the fit at the column's width. */
.fit-pair > * + * { margin-top: var(--u6); }
@media (min-width: 900px) {
  .fit-pair { display: grid; grid-template-columns: 2fr 1fr; column-gap: 48px; align-items: start; }
  .fit-pair > * + * { margin-top: 0; }
}
.art-tech { margin-top: var(--u8); }
.art-tech .rx-doc p { margin: 0; color: var(--muted); }
.art-tech a { color: var(--ink); }
/* One reading column (D26, owner 2026-11-11): the luck story is read through like a book, so its
   chapters never flow down two newspaper columns. Prose, heads and folds sit in one centred column
   at the measure, left-set; a figure may run wider, up to the page grid. Scoped by `.art-column`
   (`Journal.one_column`), so the other long-reads keep the desks' two columns. */
.art-column .srow:not(.srow-pair) { columns: auto; column-rule: none; }
.art-column .srow:not(.srow-pair) > * { margin: 0; }
.art-column .srow > * + * { margin-top: var(--u12); }
.art-column :is(.sec-head, .sc-t, .art-figrow > :not(.rx-figure)) { max-width: var(--measure); margin-inline: auto; }
.art-column .sec-head { grid-template-columns: 4.5rem minmax(0, 1fr); }
.art-column .srow:not(.srow-solo) .sc-t p { text-align: left; hyphens: manual; }
.art-column .sc-f { max-width: min(100%, 52rem); margin-inline: auto; }
.art-column .sc-f .fw svg { width: 100%; }
/* The grade strip: the four verdict words, each over its gloss — four cells on a rule, a list on the phone. */
.art-grades { padding-top: var(--u3); border-top: var(--w-rule) solid var(--ink); }
.art-grades dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--u6); margin: 0; }
.art-grades dl > div { padding-top: var(--u3); border-top: var(--w-hair) solid var(--hair); }
@media (min-width: 900px) { .art-grades dl:has(> div:nth-child(5)) { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--u4); } }
.art-grades dt { font: 600 var(--s-text)/24px var(--sans); }
.art-grades dd { margin: var(--u1) 0 0; color: var(--muted); }
@media (max-width: 899px) { .art-grades dl { grid-template-columns: minmax(0, 1fr); row-gap: var(--u4); } }
/* The dateline carries the download menu; its sheet is hairline-ruled like the masthead's index. */
.art-dateline-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--u3) var(--u6); margin: 0 0 var(--u8); }
.art-dateline-row .art-dateline { margin: 0; }
.art-download { position: relative; }
.art-download summary { cursor: pointer; list-style: none; padding-bottom: 2px; border-bottom: var(--w-rule) solid var(--ink);
  font: 400 var(--s-label)/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.art-download summary::-webkit-details-marker { display: none; }
.art-download summary::after { content: " \2193"; }
.art-download ul { position: absolute; z-index: 5; left: 0; top: calc(100% + var(--u2)); width: min(360px, calc(100vw - 2 * var(--u4)));
  display: grid; gap: var(--u2); margin: 0; padding: var(--u3) var(--u4); list-style: none; background: var(--ground); border: var(--w-hair) solid var(--hair); }
@media (min-width: 900px) { .art-download-head ul { left: auto; right: 0; } }
.art-download button { padding: 0; border: 0; background: none; color: var(--ink); font: inherit; text-align: left; text-decoration: underline; cursor: pointer; }
.art-download-foot { margin-top: var(--u6); display: inline-block; }
/* The technical version's folds: the site's disclosure line ("How is this worked out?"), linkable. */
.art-fold { margin-top: var(--u4); padding-top: 14px; border-top: var(--w-hair) solid var(--hair); scroll-margin-top: var(--u6); }
.art-fold > summary { cursor: pointer; font-weight: 600; list-style: none; }
.art-fold > summary::-webkit-details-marker { display: none; }
.art-fold > summary::before { content: "+ "; font-family: var(--mono); color: var(--muted); }
.art-fold[open] > summary::before { content: "– "; }.art-fold[open] > summary { margin-bottom: var(--u4); }
.art-fold[open] { padding-bottom: var(--u6); }
.art-box { margin: 0; padding-top: var(--u3); border-top: var(--w-rule) solid var(--ink); break-inside: avoid; }
.art-box .rx-doc p { margin-bottom: var(--u3); }
.art-box .rx-figure { margin-top: var(--u4); }
.art-finish, .art-depth :is(p, .rx-doc) { max-width: var(--measure); }
.art-finish { margin-top: var(--u12); }  /* the band's own rule above it is the line */
.rx-figure-plot { width: 100%; min-height: 360px; }
.rx-figure-fitted .rx-figure-plot { min-height: 0; }
.rx-read, .rx-figure-note { max-width: 64ch; margin: var(--u2) 0 var(--u4); }  /* a note inside a drawing; .rx-read is the one line a figure ends on */
/* A stacked figure's panel title: the panel's subject, set like a chart title, above its drawing. */
.rx-panel { margin: var(--u4) 0 var(--u1); font: 600 var(--s-label)/16px var(--sans); color: var(--ink); }
/* A figure's menus (app/web/charts/menus.py): radios as a segmented control; the figure's own <style> shows the chosen state. */
.fig-menus { display: flex; flex-wrap: wrap; gap: var(--u2) var(--u6); margin: 0 0 var(--u3); }
.fig-menu { display: flex; flex-wrap: wrap; align-items: center; gap: var(--u2); margin: 0; padding: 0; border: 0; min-width: 0; }
.fig-menu legend { float: left; margin-right: var(--u3); padding: 0; color: var(--muted); }
.fig-menu label { margin: 0; }
/* A menu of more than `DROPDOWN_OVER` options (menus.py) is a <select> once search.js marks the menu `js`; without script its radios show and the select stays `hidden`. */
/* `appearance: none` so WebKit draws no rounded bezel: a rule under the text and a drawn chevron, as in both engines. */
.fig-select { appearance: none; -webkit-appearance: none; margin: 0; padding: var(--u1) var(--u6) var(--u1) 0; color: var(--ink); border: 0; border-bottom: var(--w-rule) solid var(--ink); border-radius: 0; font: 400 var(--s-text)/20px var(--sans); color-scheme: light; cursor: pointer;
  background: linear-gradient(45deg, transparent 50%, var(--ink) 50%) right 10px center / 5px 5px no-repeat, linear-gradient(135deg, var(--ink) 50%, transparent 50%) right 5px center / 5px 5px no-repeat, transparent; }
.fig-select option { background: var(--ground); color: var(--ink); }
.fig-select:hover { border-bottom-color: var(--claret); }
.fig-select:focus-visible { outline: var(--w-emph) solid var(--claret); outline-offset: 2px; }
.fig-long.js > input, .fig-long.js > label { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fig-select { color-scheme: dark; } }
:root[data-theme="dark"] .fig-select { color-scheme: dark; }
.fig-peers { margin-top: var(--u3); }
/* The depth under the finish line: a layer's letter sits beside its title (the grid's 2-column rail left
   the title a third of the page away), a table's cells wrap rather than clip, and the verdict table's
   rows stack on a phone with each value named. */
.art-depth .rx-head { display: flex; align-items: baseline; gap: var(--u3); }
.art-depth .rx-head-number { flex: 0 0 auto; }
.art-depth .rx-head-title { flex: 1 1 auto; min-width: 0; font: 700 var(--s-hl)/1.2 var(--sans); }
.art-depth table.rx-table { width: 100%; max-width: 64rem; }
.art-depth table.rx-table:not(.compact) td { white-space: normal; overflow-wrap: anywhere; }
.art-depth table.rx-table:not(.compact) td:not(:first-child) { white-space: nowrap; overflow-wrap: normal; }  /* a figure never breaks mid-number; a wide table scrolls */
.art-depth table.rx-table:not(.compact) td:first-child { white-space: nowrap; overflow-wrap: normal; }  /* "S10" never splits */
.art-depth table.rx-table :is(th, td) { padding-right: var(--u4); }
@media (max-width: 899px) {
  .art-depth .rx-scroll:has(.rx-verdicts) { overflow: visible; }
  .art-depth table.rx-table.rx-verdicts, .art-depth .rx-verdicts tbody { display: block; width: 100%; }
  .rx-verdicts tr:has(th) { display: none; }
  .rx-verdicts tr { display: grid; grid-template-columns: 3rem minmax(0, 1fr); border-bottom: var(--w-hair) solid var(--hair); padding: var(--u3) 0; }
  .art-depth table.rx-table.rx-verdicts td { display: block; position: relative; grid-column: 2; min-width: 0; height: auto; padding: 0; border: 0; white-space: normal; }
  .art-depth table.rx-table.rx-verdicts td:first-child { grid-column: 1; grid-row: 1; font: 500 var(--s-label)/24px var(--mono); color: var(--muted); }
  .art-depth table.rx-table.rx-verdicts td:nth-child(2) { grid-row: 1; font-weight: 600; }
  .art-depth table.rx-table.rx-verdicts td:nth-child(n+3) { padding-left: 5.5rem; }
  .rx-verdicts td:nth-child(n+3)::before { position: absolute; left: 0; font: 500 var(--s-label)/24px var(--mono); color: var(--muted); }
  .rx-verdicts td:nth-child(3)::before { content: "Estimate"; }
  .rx-verdicts td:nth-child(4)::before { content: "Bar"; }
  .rx-verdicts td:nth-child(5)::before { content: "Grade"; }
}
.band:has(> .art-print) { padding-top: 0; }
.art-print > .sect:first-child { padding-top: 0; }

/* The marks: form chips, the rung strip, finishing strips, the slope. */
.mk-form { display: inline-flex; align-items: center; gap: var(--u2); }
.mk-chips { display: inline-flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.mk-chip, .mk-chip-as { display: inline-block; width: 24px; height: 24px; line-height: 20px; text-align: center; box-sizing: border-box; font: 600 var(--s-label)/20px var(--mono); border: var(--w-emph) solid var(--ink); background: var(--ink); color: var(--ground); }
.mk-chip-against { background: var(--ground); color: var(--ink); }
.mk-chip-none { background: var(--ground); color: var(--muted); border: var(--w-hair) dashed var(--muted); }
.mk-chip-break { align-self: stretch; margin: 0 var(--u1); border-left: var(--w-hair) solid var(--muted); }
.rx-table .mk-chips { gap: 6px; } .rx-table .mk-chip { width: 18px; height: 18px; line-height: 14px; border-width: var(--w-hair); }
/* A chip is a hover and focus target of at least 24 px (an invisible ::after), links to its match where
   one is built, and pre-draws the game it stands for (opponent, score, date, the call), shown on hover and focus. */
.mk-chip { position: relative; }
.rx-table .mk-chip::after { content: ""; position: absolute; inset: -4px; }
.mk-chip .mk-link { display: block; width: 100%; height: 100%; color: inherit; text-decoration: none; outline-offset: 2px; }
.mk-tip { display: none; position: absolute; z-index: 5; bottom: calc(100% + var(--u2)); left: 50%; transform: translateX(-50%); width: max-content; max-width: 16rem;
  padding: var(--u1) var(--u2); background: var(--ground); color: var(--ink); border: var(--w-rule) solid var(--ink);
  font: 400 var(--s-label)/16px var(--mono); letter-spacing: 0; text-align: left; white-space: normal; pointer-events: none; }
.rx-table .mk-tip { left: auto; right: 0; transform: none; }
.mk-chip:hover .mk-tip, .mk-chip:focus-within .mk-tip { display: block; }
.mk-rungs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--u2); margin: var(--u4) 0; padding: 0; list-style: none; max-width: 34rem; }
.mk-rung { display: grid; padding-top: var(--u2); border-top: var(--w-hair) solid var(--hair); } .mk-rung-here { border-top: var(--w-emph) solid var(--ink); }
.mk-rung-rate { font: 600 var(--s-text)/24px var(--sans); }
.mk-strip { margin: var(--u4) 0; max-width: 40rem; }
.mk-strip-row { display: flex; align-items: center; height: var(--u6); }
.mk-strip-name { flex: 0 0 7rem; padding-right: var(--u2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mk-strip-cells { flex: 1 1 auto; display: flex; gap: 1px; min-width: 0; }
.mk-strip-cells i { flex: 1 1 0; min-width: 8px; height: var(--u4); }
.mk-strip-axis .mk-strip-cells { justify-content: space-between; }
.mk-margins circle { fill: var(--ground); stroke: var(--muted); stroke-width: var(--w-emph); } .mk-margins circle.new { fill: var(--ink); stroke: var(--ink); }
.mk-slope { display: block; overflow: visible; }

/* The Lab: the register strip, code, the model disclosures. */
.rx-register.rx-grid { display: flex; flex-wrap: wrap; height: auto; align-items: stretch; row-gap: 0; background: var(--ink); margin: var(--u6) 0; padding: var(--u2) 0; }
.rx-register-item { flex: 1 1 12rem; min-width: 0; display: flex; flex-direction: column; justify-content: flex-start; padding: var(--u2) var(--u4); }
.rx-register-label { color: var(--ground); opacity: .7; }
.rx-register-value { margin-top: var(--u1); font: 600 var(--s-text)/24px var(--sans); color: var(--ground); overflow-wrap: break-word; }
.lab-code { font: 400 var(--s-label)/20px var(--mono); margin: 0 0 var(--u4); padding: var(--u2) var(--u3); overflow-x: auto; white-space: pre; border-left: var(--w-hair) solid var(--hair); }
.lab-top { margin: var(--u6) 0 0; }
.lab-model { border-top: var(--w-hair) solid var(--hair); padding: var(--u2) 0; } .lab-model:last-of-type { border-bottom: var(--w-hair) solid var(--hair); }
.lab-model summary { cursor: pointer; padding: var(--u1) 0; } .lab-model summary strong { margin-right: var(--u3); } .lab-model summary span { color: var(--muted); }
.lab-model[open] > summary { margin-bottom: var(--u3); }

/* Match, any two clubs: the form, the lede's bar and bell. The page sets --any-hl/-hd (home),
   -al/-ad (away), -dl/-dd (draw) for light and graphite. */
.any-lede { --any-h: var(--any-hl); --any-a: var(--any-al); --any-d: var(--any-dl); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .any-lede { --any-h: var(--any-hd); --any-a: var(--any-ad); --any-d: var(--any-dd); } }
:root[data-theme="dark"] .any-lede { --any-h: var(--any-hd); --any-a: var(--any-ad); --any-d: var(--any-dd); }

/* A fixture row's kit tones (Now, Home): the row carries both modes' tones as --hl/--hd, --al/--ad,
   --dl/--dd, the bars fill with var(--h|--a|--d), and the mode picks here. A chip carries --tl/--td. */
.fx, .wk-row { --h: var(--hl); --a: var(--al); --d: var(--dl); }
.rx-chip.tone { background: var(--tl); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) :is(.fx, .wk-row) { --h: var(--hd); --a: var(--ad); --d: var(--dd); } :root:not([data-theme="light"]) .rx-chip.tone { background: var(--td); } }
:root[data-theme="dark"] :is(.fx, .wk-row) { --h: var(--hd); --a: var(--ad); --d: var(--dd); }
:root[data-theme="dark"] .rx-chip.tone { background: var(--td); }
.any-lede .any-fill-home { background: var(--any-h); } .any-lede .any-fill-away { background: var(--any-a); } .any-lede .any-fill-draw { background: var(--any-d); }
.any-bell { display: block; width: 100%; height: 7rem; margin: var(--u3) 0 0; }
.any-bell .home { fill: var(--any-h); fill-opacity: .6; } .any-bell .away { fill: var(--any-a); fill-opacity: .6; }
.any-bell .rule, .any-bell .zero { stroke: var(--muted); stroke-width: var(--w-hair); vector-effect: non-scaling-stroke; }
.any-bell .rule { opacity: .5; } .any-bell .zero { stroke-dasharray: 2 2; }
.any-axis { position: relative; display: flex; justify-content: space-between; height: var(--u6); }
.any-axis-zero { position: absolute; transform: translateX(-50%); }
.any-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--u4) var(--u6); }
.any-field { display: flex; flex-direction: column; flex: 1 1 14rem; min-width: 0; }
.any-field select { width: 100%; padding: var(--u1) 0; background: transparent; color: var(--ink); border: 0; border-bottom: var(--w-rule) solid var(--ink); border-radius: 0; font: 400 var(--s-text)/var(--lh-text) var(--sans); }
.any-field select:focus-visible, .any-switch input:focus-visible { outline: var(--w-emph) solid var(--claret); outline-offset: 2px; }
.any-switch { display: flex; align-items: center; gap: var(--u2); padding: var(--u1) 0; }
.any-switch input { accent-color: var(--ink); margin: 0; }

/* A page that opens on its statement (the club index, a 404) keeps the lede's gap under the masthead. */
main > .rx-statement:first-child, main > .wrap > .rx-statement:first-child, #match-tail-missing > .rx-statement:first-child { margin-top: var(--u12); }
.rx-lede { align-items: start; }

/* Narrow: the 12-column layouts fold to one column; wide tables scroll in their own box. */
@media (max-width: 899px) {
  .rx-grid, .lead > .grid, .grid[class*="cols-"] { grid-template-columns: minmax(0, 1fr); row-gap: var(--u8); }
  .lead > .grid > *, .grid[class*="cols-"] > *, .rx-grid > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .lead-art { min-height: 0; margin-top: var(--u6); }
  .rx-lede-rail { border-bottom: var(--w-hair) solid var(--hair); padding: 0 0 var(--col); margin: 0 0 var(--col); }
  .rx-lede-kpi { border-top: var(--w-hair) solid var(--hair); padding: var(--col) 0 0; margin: var(--col) 0 0; }
  .rx-lede-rail, .rx-lede-statement, .rx-lede-kpi { padding-left: 0; padding-right: 0; }
  .rx-head-meta { text-align: left; }
  .sec-head { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .sec-head .meta { grid-column: 2; margin-top: var(--u1); }
  .kv .row { grid-template-columns: minmax(0, 1fr) auto; } .kv .n { grid-column: 1 / -1; }
  .method { padding-block: var(--u12) var(--u6); }
  .rx-cover-grid { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .art-pager { flex-direction: column; } .art-pager-next { text-align: left; margin-left: 0; }
  .rx-figure-wide { overflow-x: auto; } .rx-figure-wide .rx-figure-plot { min-width: 640px; }
  table.rx-matrix { table-layout: auto; }
  table.rx-matrix th:not(:first-child) { min-width: 9rem; white-space: normal; }
  table.rx-matrix th:first-child { width: auto; position: sticky; left: 0; background: var(--ground); white-space: nowrap; }
  body:has(.art-contents) table.rx-table { display: table; width: 100%; max-width: none; }
  body:has(.art-contents) table.rx-table th { white-space: normal; vertical-align: bottom; }
  body:has(.art-contents) table.rx-table td.rx-right, body:has(.art-contents) table.rx-table th.rx-right { padding-left: var(--u2); }
  body:has(.art-contents) table.rx-table td .rx-band { display: block; margin-left: 0; }
  .lab-headline { font-size: 2rem; }
  .lab-scroll table.rx-table { display: table; width: 100%; max-width: none; }
  .lab-scroll table.rx-table th { white-space: normal; vertical-align: bottom; }
  .lab-scroll table.rx-table td.rx-right { padding-left: var(--u2); }
  .lab-scroll:not(.lab-wide) table.rx-table td:first-child { overflow-wrap: anywhere; }
  .lab-scroll.lab-wide table.rx-table { width: 100%; min-width: 40rem; }
  .lab-scroll-hint { display: block; margin: 0 0 var(--u1); font: 500 var(--s-label)/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
  .lab-code { white-space: pre-wrap; overflow-wrap: anywhere; overflow-x: visible; }
}

/* A figure's key (app/web/charts/menus.py key_line) and its columns of one measure each. */
.fig-key { display: flex; flex-wrap: wrap; gap: var(--u1) var(--u4); margin: var(--u2) 0 0; padding: 0; list-style: none; color: var(--muted); }
.fig-key li { display: flex; align-items: center; gap: var(--u1); margin: 0; padding: 0; border: 0; }
.fig-key i, .fig-key svg { display: block; flex: none; box-sizing: border-box; }
.fig-key .kd-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.fig-key .kt .kd-dot { background: var(--k); }
.fig-key .kd-ring { width: 10px; height: 10px; border-radius: 50%; border: var(--w-emph) solid var(--muted); background: var(--ground); }
.fig-key .kd-bar { width: 20px; height: 8px; background: color-mix(in srgb, var(--muted) 30%, transparent); }
.fig-key .kt .kd-bar { background: var(--k); }
.fig-key .kd-tick { width: 2px; height: 12px; background: var(--muted); }
.fig-key .kd-line { width: 18px; height: 0; border-top: var(--w-hair) solid var(--muted); }
.fig-key .hatch-line { stroke: var(--muted); fill: none; }
.fig-cols { display: flex; gap: var(--u6); }
.fig-cols > div { min-width: 0; }
.fig-col-title { margin: 0 0 var(--u1); color: var(--muted); }


/* ---------- 11 · D11 15d: density levels, neo type, the section stack, the section nav, the line roles ----------
   A section is a "unit": a `.sect` (Team; Competition holds one per band), or a Lab band of head and rows
   (`UNITS` in sections.js is the same list). Motion sits in a no-preference query and is switched off by
   data-m-scene="off". The specimen's panel drives --sect-head; the tree has no other switch. */

/* 11a · tables. Row: 16/24, 48 px rows, 48 px between columns, a hairline under each. Compact (behind
   "Show all", the full measure): 16/24 exactly, 24 px rows, the hairline drawn inside the row (no border
   box to push it to 25), a heavy rule every fifth. A table wider than its box scrolls inside `.rx-scroll`
   with a cue at the edge it can still be pulled from. Tabular figures on every numeric cell: `font`
   resets `font-variant-numeric`, so it is set again after the shorthands. */
table.rx-table td { font-size: 16px; }
table.rx-table :is(th, td), .srow table.rx-table :is(th, td) { padding-inline: var(--u6); }
table.rx-table :is(th, td):first-child, .srow table.rx-table :is(th, td):first-child { padding-left: 0; }
table.rx-table :is(th, td):last-child, .srow table.rx-table :is(th, td):last-child { padding-right: 0; }
@media (max-width: 899px) { table.rx-table :is(th, td), .srow table.rx-table :is(th, td) { padding-inline: var(--u2); } }  /* 16 px between columns on the phone: three columns fit its 358 */
table.rx-table:not(.compact) td { white-space: nowrap; }
/* Beside prose a table has half the width: its cells wrap (a range under its value) rather than clip
   behind a scroller, as the season-by-season and next-three tables did (D11 step 19). */
.srow:not(.srow-solo) > .sc-f table.rx-table:not(.compact) td { white-space: normal; }
.srow:not(.srow-solo) > .sc-f table.rx-table td :is(.rx-band, .rx-num:not(:has(.rx-band))) { white-space: nowrap; }
/* A table across the row wraps its headings ("Adjusted points") so eleven columns fit the measure. */
@media (min-width: 900px) { .srow-solo > .sc-f table.rx-table th { white-space: normal; vertical-align: bottom; } }
table.rx-table.compact td { height: 24px; padding-block: 0; font-size: 16px; line-height: 24px; white-space: nowrap; border-bottom: 0;
  box-shadow: inset 0 calc(-1 * var(--w-hair)) 0 var(--hair); }
table.rx-table.compact tr:nth-child(5n) td { box-shadow: inset 0 calc(-1 * var(--w-rule)) 0 var(--ink); }
table.rx-table.compact .rx-num { line-height: 24px; }
table.rx-table :is(th, td), table.rx-matrix td, .rx-num, .rx-right, .rx-kpi-value, .rx-verdict, .fx .time, .fx .call, .kv .v, .bignums .v { font-variant-numeric: tabular-nums; }
.lab-scroll.lab-wide table.rx-table td { white-space: normal; }
.lab-scroll { overflow-x: visible; }
.rx-scroll { max-width: 100%; overflow-x: auto; background:
  linear-gradient(to right, var(--ground) 12px, transparent) left center / 24px 100% no-repeat local,
  linear-gradient(to left, var(--ground) 12px, transparent) right center / 24px 100% no-repeat local,
  linear-gradient(to right, color-mix(in srgb, var(--ink) 24%, transparent), transparent) left center / 12px 100% no-repeat scroll,
  linear-gradient(to left, color-mix(in srgb, var(--ink) 24%, transparent), transparent) right center / 12px 100% no-repeat scroll; }
.rx-scroll > table { max-width: none; }
.show-all { margin: 0 0 var(--u6); }
.show-all > summary { cursor: pointer; list-style: none; font: 400 var(--s-label)/24px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  border-top: var(--w-rule) solid var(--ink); padding-top: var(--u2); margin-bottom: var(--u3); }
.show-all > summary::-webkit-details-marker { display: none; }
.show-all > summary::before { content: "+ "; }
.show-all > summary::after { content: " rows"; }
.show-all[open] > summary::before { content: "\2013 "; }
.show-all .rx-table { margin-bottom: 0; }

/* 11b · fixtures: the stacked card (time, the two names, the bar, the call) at its stacked width, many to a
   row: as many 20 rem columns as the measure holds, 24 apart; one on the phone. */
.fx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); column-gap: var(--u6); }
.fx-grid .fx { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "time time" "home away" "bar bar" "call call"; }
.fx-grid .fx .time { flex-direction: row; gap: var(--u2); }
.comp-sections .card:has(.fx-grid) { max-width: none; }

/* 11c · neo-modernist Geist: heavy tight display, mono caps labels, flush left. The section head is one step
   under the page head: 72 px on the 72 line (the panel tries 64), 48 on the phone. Its number is in ink. */
:root { --sect-head: 32px; --sect-lh: 36px; --sect-lead: 48px; }  /* phone: owner 2026-10-29, 48 px read too big */
@media (min-width: 900px) { :root { --sect-head: 72px; --sect-lh: 72px; --sect-lead: 120px; } }
:is(.display, .headline, .rx-statement-text, .hl, .fig .hn, .bignums .v) { font-weight: 800; letter-spacing: -.03em; }
:is(.headline, .rx-statement-text) { text-align: left; }
@media (min-width: 900px) { :root.w1 { --s-display: 96px; --lh-display: 96px; } :root.w1 .headline.long { font-size: 72px; line-height: 72px; }
  :root.w1 .headline.over { font-size: 40px; line-height: 48px; max-width: 38ch; }
  .bignums .v:not(.word) { font-size: 64px; line-height: 72px; white-space: nowrap; } }  /* three to a row: "97.9%" holds one line */
:is(.label, .kicker, .sec-head .meta, .rx-subhead, .rx-kpi-label, .rx-card-label, table.rx-table th, .fx-day, .show-all > summary) { letter-spacing: .08em; }
:is(.sect, .band:has(> .sec-head ~ .srow), .beat) > .sec-head { margin-bottom: var(--head-gap); }
:is(.sect, .band:has(> .sec-head ~ .srow), .beat) > .sec-head .no { font: 500 24px/24px var(--mono); color: var(--ink); }
:is(.sect, .band:has(> .sec-head ~ .srow), .beat) > .sec-head h2 { font: 800 var(--sect-head)/var(--sect-lh) var(--sans); letter-spacing: -.03em; text-wrap: balance; grid-column: 2 / 3; }
@media (max-width: 899px) { :is(.sect, .band:has(> .sec-head ~ .srow), .beat) > .sec-head h2 { grid-column: 1 / -1; } }

/* 11d · the separator: a full-measure 1 px ink rule above each section, drawn left to right as the section
   enters; the blank above it is the section's own top padding. */
.band:has(> .sect:not(:only-child)) { padding-block: 0; }
.sect:not(:only-child) { padding-block: var(--sect-lead) var(--u12); }
.sect + .sect { margin-top: 0; }
.band:has(> .sect:only-child), .band:has(> .sec-head ~ .srow) { padding-block: var(--sect-lead) var(--u12); border-bottom: 0; }
:is(.sect, .band:has(> .sec-head ~ .srow), .beat)::before { content: ""; display: block; border-top: var(--w-rule) solid var(--ink); margin-bottom: var(--u6); transform-origin: left center; }

/* 11e · the stack. sections.js marks a unit `data-fit` when it fits the screen and the unit after it is at least
   as tall: it pins at the top while that one slides over and covers it whole, so no lower half of it shows under
   a shorter one (owner, 2026-10-29: "text on text"). Every later sibling is `data-over` (it carries the ground).
   A taller unit scrolls as it always did, and nothing snaps. The incoming section's own top rule is the edge:
   no shade, no fade, nothing drawn over text (owner, 2026-10-29, three times: "weird shading"). */
@keyframes k-rule { from { transform: scaleX(0); } }
[data-over] { position: relative; background: var(--ground); }
[data-fit] { position: sticky; top: 0; background: var(--ground); }
/* Nothing of a pinned unit paints past its band's end, in any engine (owner, 2026-10-30: a pinned unit's
   source line showed under the band's rule). `clip` is no scroll container, so the pin still holds. */
.band:has(> [data-fit]) { overflow-y: clip; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    :root:not([data-m-scene="off"]) :is(.sect, .band:has(> .sec-head ~ .srow), .beat)::before {
      animation: k-rule var(--mglide) backwards; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  }
}

/* 11f · the section nav: the page's section numbers, large, in their own gutter from 1440; the others in
   the field grey, the current one in the link accent (claret) with its bar, and its name in ink. The page
   column steps right to give the gutter its room (240 px), so the nav never crowds the heads. Below 1440
   the number stays in the head. */
.sect-nav { display: none; }
@media (min-width: 1440px) {
  html.sect-nav-on { --nav-w: 168px; --nav-room: 240px; }
  html.sect-nav-on .wrap { width: min(1248px, calc(100% - var(--nav-room) - 72px));
    margin-left: max(var(--nav-room), calc((100% - 1248px) / 2)); margin-right: auto; }
  html.sect-nav-on .sect-nav { display: block; position: fixed; z-index: 6; top: 120px; width: var(--nav-w);
    left: max(var(--u6), calc(max(var(--nav-room), (100vw - 1248px) / 2) - var(--nav-w) - var(--u6))); }
  html.sect-nav-on .sect-nav a { display: block; padding: var(--u1) 0 var(--u2) var(--u4); text-decoration: none;
    color: var(--ctx); border-left: var(--w-emph) solid transparent; }
  html.sect-nav-on .sect-nav b { display: block; font: 500 32px/48px var(--mono); font-variant-numeric: tabular-nums; }
  html.sect-nav-on .sect-nav span { display: none; margin-bottom: var(--u1); font: 400 var(--s-label)/16px var(--mono);
    letter-spacing: .08em; text-transform: uppercase; }
  html.sect-nav-on .sect-nav a:hover { color: var(--muted); }
  html.sect-nav-on .sect-nav a[aria-current="true"] { color: var(--ink); border-left-color: var(--claret); }
  html.sect-nav-on .sect-nav a[aria-current="true"] b { color: var(--claret); }
  html.sect-nav-on .sect-nav a[aria-current="true"] span { display: block; }
  html.sect-nav-on :is(.sect, .band:has(> .sec-head ~ .srow), .beat) > .sec-head .no { display: none; }
  html.sect-nav-on :is(.sect, .band:has(> .sec-head ~ .srow), .beat) > .sec-head h2 { grid-column: 1 / 3; }
}

/* a figure's skip link (pages/series.py `skippable`, any article): shown on focus only */
.skip-fig:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-fig:focus { display: inline-block; margin-bottom: var(--u2); font: 400 var(--s-label)/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.skip-to { display: block; height: 0; } .skip-to:focus { outline: none; }
@media print {
  :root { --row-gap: 24px; --sect-gap: 48px; }
  .mast, footer.foot, .sect-nav, .art-contents, .art-download, .fig-menus, .art-tech, .sx-play { display: none !important; }
  .sx-stage { position: static !important; } .sx-steps > p { margin: var(--u3) 0 0 !important; }
  .sx-build svg * { opacity: 1 !important; }
  .wrap { width: auto; max-width: none; }
  .band { padding-inline: 0; }
  .srow:not(.srow-pair) { columns: auto !important; column-rule: none; }
  .srow-pair { display: block !important; background: none !important; }
  .srow-pair > * + * { margin-top: var(--u6) !important; }
  .srow .sc-t p { text-align: left !important; }
  .fw { display: none !important; } .fp { display: block !important; }  /* a 1248 drawing shrunk to A4 sets its labels at 6 pt */
  .rx-figure, .art-figrow, .art-box, .art-grades, .rx-head, .sec-head, tr { break-inside: avoid; }
  .rx-head, .sec-head, .art-sect > .standfirst, .art-fold > summary { break-after: avoid; }
  .art-sect + .art-sect { margin-top: var(--u12); }
  .art-fold > summary::before { content: none; }
  a { color: inherit; text-decoration: none; }
  a[href]::after { content: none !important; }
  @supports selector(::details-content) { details::details-content { content-visibility: visible; display: block; } }
}

/* 11a · the owner's gate 2 polish (2026-11-03) ---------------------------------------------------- */
/* The section nav's number sits beside the column, not in the page margin: the nav is right-aligned to its
   gutter, so "00" meets the column's edge and its bar sits on the column side. */
@media (min-width: 1440px) {
  html.sect-nav-on .sect-nav { text-align: right; }
  html.sect-nav-on .sect-nav a { padding: var(--u1) var(--u4) var(--u2) 0; border-left: 0; border-right: var(--w-emph) solid transparent; }
  html.sect-nav-on .sect-nav a[aria-current="true"] { border-right-color: var(--claret); }
  /* 7i-4b: the current section's name sits in the gutter's inner 104 px, beside the column, where a
     24-character head takes three lines at most; a longer word breaks rather than run past the gutter.
     The owner's 2026-11-10 read cut the old 41-character name at the left ("ING THE ODDS"); no browser
     width or zoom reproduces it (the rail shows from 1440 CSS px only), and a 1440 drawing cropped
     ~95 px at the left matches the shot, so the name keeps clear of the gutter's outer part. */
  html.sect-nav-on .sect-nav span { max-width: var(--nav-label); margin-left: auto; overflow-wrap: anywhere; }
  html.sect-nav-on { --nav-label: 104px; }
}
/* Body text sits on the 24 px baseline at 1440 (the scale's 1.55 made 24.8 px lines). */
@media (min-width: 900px) { :root:root { --lh-text: 24px; } }
.count .v { line-height: 36px; }
.fx .t { line-height: 24px; }
.rx-table .mk-chip { line-height: 16px; }
/* Bands without a head close on the 48 px a numbered section's band does, so the air above the next
   head is one measure (48 + 120), not 64 + 120. */
.band:not(:has(> .sect, > .sec-head)):not(.method) { padding-bottom: var(--u12); }
/* "What decides it" is a figure to read: its own head at the headline size. */
.rx-title.fig-head { margin: 0 0 var(--u3); font: 800 var(--s-hl)/36px var(--sans); letter-spacing: -.03em; text-wrap: balance; }
/* The table's Strength cell: value, range and "level with" read as three columns, left-aligned, the range
   in the label size (it was .93em of the sans, glued to the value by 4 px). */
table.rx-table .rx-band { font: 400 var(--s-label)/16px var(--mono); }
/* "level with …" sits on its own line under the number and range, in every column; a chip and its team name never break. */
table.rx-table .rx-level { display: block; white-space: normal; }
table.rx-table td:has(> .mk-chip) { white-space: nowrap; }
table.rx-table td > [data-rating] > .rx-num { display: inline-block; min-width: 4.5ch; text-align: right; }
table.rx-table td > [data-rating] > .rx-band { display: inline-block; min-width: 10ch; margin-left: var(--u3); }
/* What this round moved (D13 11g, specimen C): a row per game (score, the graded call, both sides'
   strength before -> after on ONE shared scale) beside the order after the round. 18 px hollow ring
   = before, a --dot dot (grammar.DOT_DIAMETER, set on the figure) = after; the shaded band is the
   season's standout threshold; a move past it is in the accent. Pre-drawn: a game's read-out and its
   two sides in the order are revealed by CSS on hover, focus and tap. */
.rg { --ring: 18px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); margin-top: var(--u6); align-items: start; }
.rg-games { grid-column: 1 / span 8; }
.rg-order { grid-column: 9 / span 4; margin-top: var(--u8); }
.rg-head, .rg-game { display: grid; grid-template-columns: 248px minmax(0, 1fr); column-gap: var(--u6); }
.rg-head { border-bottom: var(--w-emph) solid var(--ink); }
.rg-axis { position: relative; height: 20px; }
.rg-axis span { position: absolute; transform: translateX(-50%); font: 400 var(--s-label)/20px var(--mono); color: var(--muted); white-space: nowrap; }
.rg-game { align-items: center; padding: var(--u3) 0 0; border-bottom: var(--w-hair) solid var(--hair); outline: none; cursor: default; }
.rg-game:focus-visible { box-shadow: inset var(--w-emph) 0 0 var(--ink); padding-left: var(--u2); }
.rg-games:has(.rg-game:hover, .rg-game:focus) .rg-game:not(:hover):not(:focus) { opacity: .35; }
.rg-game p { margin: 0; }
.rg-score { font: 650 var(--s-text)/24px var(--sans); }
.rg-score a { display: inline-block; min-height: 24px; text-decoration: none; }
.rg-score span { padding: 0 var(--u1); font-family: var(--mono); white-space: nowrap; }
.rg-call { font: 400 var(--s-label)/20px var(--sans); color: var(--muted); }
.rg-call b { color: var(--ink); font-weight: 600; }
.rg-game.miss .rg-call b { color: var(--claret-text); }
.rg-plain { list-style: none; margin: var(--u4) 0 var(--u6); padding: 0; max-width: var(--measure); }
.rg-plain .rg-game { display: block; padding: var(--u3) 0; }
.rg-lanes { position: relative; height: 56px; }
.rg-lane { position: absolute; left: 0; right: 0; height: 28px; }
.rg-lane:nth-of-type(1) { top: 0; } .rg-lane:nth-of-type(2) { top: 28px; }
.rg-track { position: relative; display: block; height: 100%; }
.rg-gl { position: absolute; top: 0; bottom: 0; width: 0; border-left: var(--w-hair) solid var(--hair); }
.rg-band { position: absolute; top: 50%; height: 14px; margin-top: -7px; background: color-mix(in srgb, var(--ink) 9%, transparent); }
.rg-line { position: absolute; top: 50%; height: var(--w-subject); margin-top: calc(var(--w-subject) / -2); background: var(--ink); }
.rg-ring { position: absolute; top: 50%; width: var(--ring); height: var(--ring); margin: calc(var(--ring) / -2) 0 0 calc(var(--ring) / -2); border-radius: 50%; border: var(--w-emph) solid var(--muted); }
.rg-dot { position: absolute; top: 50%; width: var(--dot); height: var(--dot); margin: calc(var(--dot) / -2) 0 0 calc(var(--dot) / -2); border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 1.5px var(--ground); }
.rg-lane.acc .rg-line, .rg-lane.acc .rg-dot { background: var(--claret); }
.rg-lane.acc .rg-ring { border-color: var(--claret); }
.rg-name { position: absolute; top: 50%; transform: translateY(-50%); font: 400 var(--s-label)/16px var(--sans); white-space: nowrap; }
.rg-v { margin-left: var(--u1); font-family: var(--mono); color: var(--muted); }
.rg-lane.acc .rg-name { color: var(--claret-text); font-weight: 600; }
.rg-name.ph { display: none; }
.rg-ro { grid-column: 1 / -1; min-height: 20px; margin: 0; padding: var(--u1) 0 var(--u2); font: 400 var(--s-label)/16px var(--mono); color: var(--muted); visibility: hidden; }
.rg-game:hover .rg-ro, .rg-game:focus .rg-ro { visibility: visible; }
.rg-order-head { margin: 0; padding-bottom: 6px; border-bottom: var(--w-emph) solid var(--ink); font: 400 var(--s-label)/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rg-order ol { list-style: none; margin: 0; padding: 0; }
.rg-order li { display: grid; grid-template-columns: 24px minmax(0, 1fr) 48px 44px; column-gap: var(--u2); align-items: baseline; height: 34px; line-height: 34px; border-bottom: var(--w-hair) solid var(--hair); }
.rg-p { font: 400 var(--s-label)/34px var(--mono); color: var(--muted); text-align: right; }
.rg-n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rg-c { font: 500 var(--s-label)/34px var(--mono); text-align: right; }
.rg-m { font: 500 var(--s-label)/34px var(--mono); color: var(--muted); text-align: right; }
.rg-order li.acc .rg-n { font-weight: 650; color: var(--claret-text); }
.rg:has(.rg-game:hover, .rg-game:focus) .rg-order li { opacity: .3; }
.rg-order-note { margin: var(--u3) 0 0; font: 400 var(--s-label)/20px var(--sans); color: var(--muted); }
@media (max-width: 899px) {
  .rg { grid-template-columns: minmax(0, 1fr); }
  .rg-games, .rg-order { grid-column: 1; }
  .rg-order { margin-top: var(--u12); }
  .rg-head > span:first-child { display: none; }
  .rg-head, .rg-game { grid-template-columns: minmax(0, 1fr); row-gap: var(--u2); }
  .rg-axis span.o10 { display: none; }
  .rg-name.dk { display: none; } .rg-name.ph { display: block; }
}

/* 11h · one page grid on the Competition desk (owner, 2026-11-04: "more readability and a more consistent use of
   the space"). `desk-competition` is on <html> (pages/edition.py COMPETITION_LEVERS), so no other desk moves.
   One frame (.wrap: 12 columns, 1248 px at 1440, the house gutter on the phone), two widths inside it: a figure
   is the frame, prose is the measure. One gap between bands (--band-gap), then the ink rule, then the head. The
   section number sits in its head, above the title, not in a gutter rail (sections.js builds no nav here). */
:root { --band-gap: 64px; }
@media (min-width: 900px) { :root { --band-gap: 96px; } }
.desk-competition .lead { padding-bottom: 0; border-bottom: 0; }
.desk-competition .lead-plain .lead-text { grid-column: 1 / -1; }
.desk-competition .band:not(.method), .desk-competition .sect:not(:only-child) { padding-block: var(--band-gap) 0; border-bottom: 0; }
.desk-competition .band:has(> .sect:not(:only-child)) { padding-block: 0; }
.desk-competition .band.method { padding-block: var(--band-gap) var(--u8); }
.desk-competition .sect + .sect, .desk-competition .rx-rule { margin-top: 0; }
.desk-competition :is(.sect, .band:has(> .sec-head ~ .srow)) > .sec-head { grid-template-columns: minmax(0, 1fr) auto; }
.desk-competition :is(.sect, .band:has(> .sec-head ~ .srow)) > .sec-head .no { grid-column: 1 / -1; margin-bottom: var(--u2); font: 400 var(--s-label)/16px var(--mono); color: var(--muted); }
.desk-competition :is(.sect, .band:has(> .sec-head ~ .srow)) > .sec-head h2 { grid-column: 1 / 2; }
.desk-competition main :is(p, .rx-doc, .rx-index, .rx-misses, details) { max-width: var(--measure); }
.desk-competition :is(.counts, .rx-rail, .band table.rx-table, .card, .comp-sections .card) { max-width: none; }

/* luck · chapters 7–10 (R8c2) */
/* A format's answer, set large at the end of its bar (chapters/ending_figures.py `SHARE_PX`). */
.ch .luck-share { font-size: 22px; font-weight: 650; letter-spacing: -.01em; fill: var(--mono-tone); }
.fp .ch .luck-share { font-size: 18px; }
/* A game's controls take its figure's centred frame (`style="max-width"`); the tally runs under the
   buttons across that frame, as the play-a-season tally does, never beside them. */
.luck-interactive .play-tally { max-width: none; }
/* ---------- 12 · Home (app/web/pages/home.py): the week leads, the call is the control, then the door ----------
   Every swing game is a row: who and what is at stake, the table as one strip of dots (area = share
   of seasons ending there, claret in the zone; charts/week/ladder.py `week_strip`), and under it the
   game's call bar turned for the side, its defeat left and its win right. The three stops are
   radios: the checked one scales each dot to its pre-drawn radius (--a lose, --b as it stands,
   --c win), moves the knob and the side's tone along the bar, and shows its numeral (.v0..v2).
   No script lays anything out; now.js adds drag-to-snap. Light grammar: dots and hairlines. */
.home-week .wk-key { margin-top: var(--u2); }
.wk { margin-top: var(--u12); }
.wk-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--u6) var(--u3); padding-block: var(--u12); }
.wk-row + .wk-row { border-top: var(--w-hair) solid var(--hair); }
.wk-lead { padding-top: var(--u6); }
.wk-meta { grid-column: 1 / -1; }
.wk-body { grid-column: 1 / -1; grid-row: 3; min-width: 0; }
.wk-n { grid-column: 2; grid-row: 2; text-align: right; }
@media (min-width: 900px) {
  .wk-row { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr) 11rem; column-gap: var(--u12); }
  .wk-meta { grid-column: 1; }
  .wk-body { grid-column: 2; grid-row: 1; }
  .wk-n { grid-column: 3; grid-row: 1; }
  .wk-lead { grid-template-columns: minmax(0, 1fr) 15rem; }
  .wk-lead .wk-meta { grid-column: 1 / -1; }
  .wk-lead .wk-body { grid-column: 1; grid-row: 2; }
  .wk-lead .wk-n { grid-column: 2; grid-row: 2; }
}
.wk-meta .kicker { margin: 0 0 var(--u3); }
.wk-club { margin: 0; font: 700 26px/1.05 var(--sans); letter-spacing: -.02em; }
.wk-lead .wk-club { font-size: 44px; font-weight: 800; letter-spacing: -.035em; }
.wk-prize { margin-top: var(--u3); font: 500 var(--s-label)/16px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--claret-text); }
.wk-n { margin: 0; font: 600 32px/1 var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wk-lead .wk-n { font-size: 44px; }
.wk-nl { display: block; margin-bottom: var(--u2); font: 500 var(--s-label)/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: normal; }
@media (min-width: 900px) {
  .wk-club { font-size: 36px; }
  .wk-lead .wk-club { font-size: 72px; }
  .wk-n { font-size: 48px; }
  .wk-lead .wk-n { font-size: 80px; }
}

/* The strip: an SVG of dots on one hairline, the place numbers and the zone's bracket in HTML under it. */
.wk-strip { max-width: 100%; }
.wk-dots { display: block; width: 100%; height: auto; overflow: visible; }
.wk-hair { stroke: var(--hair); stroke-width: var(--w-hair); fill: none; }
.wk-dots circle { --g: 1; transform-box: fill-box; transform-origin: center; transform: scale(calc(var(--g) * var(--b))); }
/* The lead's strip is drawn across the column, so on a phone its dots grow a third to still lead. */
@media (max-width: 599px) { .wk-lead .wk-dots circle { --g: 1.3; } }
.wk-ax { position: relative; height: 28px; margin-top: var(--u1); font: 500 11px/1 var(--mono); color: var(--muted); }
.wk-ax span { position: absolute; top: 10px; transform: translateX(-50%); }
.wk-ax span.z { color: var(--claret-text); }
.wk-zr { position: absolute; top: 0; height: 4px; border: var(--w-hair) solid var(--claret); border-top: 0; }

/* The call: the side's tone up to the call (--p), the opponent's after; the knob and the tone move with the stop. */
.wk-game { margin: var(--u6) 0 var(--u3); font: 400 var(--s-label)/16px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.wk-game a { color: inherit; text-decoration: none; }
.wk-game a:hover { color: var(--ink); text-decoration: underline; }
.wk-call { --x: var(--p); max-width: 35rem; }
.wk-bar { position: relative; display: flex; height: 8px; margin: 14px 0; cursor: pointer; touch-action: pan-y; }
.wk-bar::before { content: ""; position: absolute; inset: -14px 0; }
.wk-bar i { display: block; height: 100%; }
.wk-bar i:first-child { width: var(--x); }
.wk-bar i:last-of-type { flex: 1; }
.wk-cm { position: absolute; top: -5px; bottom: -5px; left: var(--p); width: 0; border-left: var(--w-emph) solid var(--ink); }
.wk-knob { position: absolute; top: 50%; left: var(--x); transform: translate(-50%, -50%); min-width: 36px; height: 24px; padding: 0 6px;
  border-radius: 12px; background: var(--ink); color: var(--ground); font: 600 13px/24px var(--mono); text-align: center; font-variant-numeric: tabular-nums; }
:is(.wk-i[value="0"]:checked ~ *, .wk-i[value="2"]:checked ~ *) .wk-knob { min-width: 16px; height: 16px; padding: 0; }
.wk-stops { display: grid; grid-template-columns: 1fr 1fr; row-gap: var(--u3); margin-top: var(--u3); }
.wk-legend { grid-column: 1 / -1; font: 400 var(--s-label)/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.wk-stop { position: relative; display: block; width: max-content; max-width: 100%; color: var(--muted); cursor: pointer; }
.wk-i { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.wk-stop.s0 { grid-row: 3; grid-column: 1; }
.wk-stop.s1 { grid-row: 2; grid-column: 1 / -1; left: var(--p); transform: translateX(calc(-1 * var(--p))); text-align: center; }
.wk-stop.s2 { grid-row: 3; grid-column: 2; justify-self: end; text-align: right; }
.wk-sn { display: block; font: 500 var(--s-label)/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.wk-stop b { display: block; margin-top: var(--u1); font: 600 24px/1.1 var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.wk-stop:hover, .wk-i[value="0"]:checked ~ * .wk-stop.s0, .wk-i[value="1"]:checked ~ * .wk-stop.s1, .wk-i[value="2"]:checked ~ * .wk-stop.s2 { color: var(--ink); }
:is(.wk-i[value="0"]:checked ~ * .wk-stop.s0, .wk-i[value="1"]:checked ~ * .wk-stop.s1, .wk-i[value="2"]:checked ~ * .wk-stop.s2) .wk-sn { box-shadow: inset 0 calc(-1 * var(--w-rule)) 0 var(--ink); }
.wk-i[value="0"]:focus-visible ~ * .wk-stop.s0, .wk-i[value="1"]:focus-visible ~ * .wk-stop.s1, .wk-i[value="2"]:focus-visible ~ * .wk-stop.s2 { outline: var(--w-emph) solid var(--claret); outline-offset: 2px; }
.wk-short { display: none; }
@media (max-width: 599px) { .wk-long { display: none; } .wk-short { display: inline; } .wk-stop b { font-size: 20px; } }

/* The stop's layers: as it stands at rest, the checked stop otherwise. The radios lead the row, so every
   layer is their sibling: a :has(:checked) here cost every page a third style pass (football Competition). */
.wk-row :is(.v0, .v2) { display: none; }
.wk-i[value="0"]:checked ~ * .v1, .wk-i[value="2"]:checked ~ * .v1 { display: none; }
.wk-i[value="0"]:checked ~ * .v0, .wk-i[value="2"]:checked ~ * .v2 { display: inline; }
.wk-nl > * { white-space: normal; }
.wk-i[value="0"]:checked ~ * .wk-call { --x: 0%; }
.wk-i[value="2"]:checked ~ * .wk-call { --x: 100%; }
.wk-i[value="0"]:checked ~ * .wk-dots circle { transform: scale(calc(var(--g) * var(--a))); }
.wk-i[value="2"]:checked ~ * .wk-dots circle { transform: scale(calc(var(--g) * var(--c))); }
@media (prefers-reduced-motion: no-preference) {
  .wk-dots circle { transition: transform calc(3 * var(--mbeat)) var(--mglide); }
  .wk-knob { transition: left calc(3 * var(--mbeat)) var(--mglide); }
  .wk-bar i:first-child { transition: width calc(3 * var(--mbeat)) var(--mglide); }
}
.home-hl { max-width: 34ch; margin-top: var(--u3); text-wrap: balance; }
.w4 .home-hl .hn { font-size: var(--sect-lead); line-height: 1; }
.home-hl ~ .stakes + .stakes { margin-top: var(--u2); }
.home-hl ~ .gone-note { margin-top: var(--u4); }
.home-pick { display: grid; gap: var(--u8) var(--col-gap); align-items: start; }
@media (min-width: 900px) { .home-pick { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.home-pick h2 { margin: 0 0 var(--u4); font: 700 var(--sect-head)/var(--sect-lh) var(--sans); letter-spacing: -.03em; }
.home-pick-hint { max-width: 40ch; margin: 0 0 var(--u6); }
.home-pick .filter { margin-bottom: var(--u4); }
.home-pick .card { padding-bottom: var(--u4); }
.home-miss { max-width: var(--measure); margin: 0; }
.home-miss .kicker { display: block; margin-bottom: var(--u1); }
/* The doors (D1b): a real count set as the image, what it counts, the desk's name; two by two. */
.home-doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--col-gap); }
.door { display: block; padding: var(--u8) 0 var(--u6); border-bottom: var(--w-hair) solid var(--hair); color: var(--ink); text-decoration: none; }
.door-n { margin: 0; font: 800 76px/.82 var(--sans); letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.door-n small { font-size: .42em; font-weight: 500; letter-spacing: -.03em; color: var(--muted); }
.door-c { margin-top: var(--u3); font: 500 var(--s-label)/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.door h3 { margin: var(--u3) 0 0; font: 700 24px/1.05 var(--sans); letter-spacing: -.025em; }
.door:is(:hover, :focus-visible) h3 { color: var(--claret-text); }
@media (min-width: 900px) {
  .door { padding-top: var(--u12); }
  .door-n { font-size: 160px; }
  .door h3 { margin-top: var(--u4); font-size: 40px; }
}

/* ---------- 13 · Football Now (app/web/charts/week/shocks.py): the week's shocks, set as type ----------
   Each league hangs in a column under its band, the "1 in 3 … 1 in 7" scale read first, with the
   ruler's ends over it; a name's size is ln(1/p) times the board's scale (--k, in cqw, set on the
   board), so one scale holds the whole board. Under 900 px the columns become rows, most surprising
   first, at the phone scale (--kp). */
.shk-h1 { margin: 0; font-family: "Geist", sans-serif; font-weight: 800; letter-spacing: -.05em; line-height: .9; }
.shk-big { display: block; font-size: clamp(44px, 9.2vw, 132px); text-wrap: balance; }
.shk-sub { display: block; margin-top: .2em; font-size: clamp(22px, 3.4vw, 46px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.shk-hit { color: var(--claret); white-space: nowrap; }
.shk-nb { white-space: nowrap; }
.shk-stand { max-width: 58ch; margin: var(--u6) 0 0; font-size: 19px; line-height: 1.45; }
.shk-key { margin: var(--u8) 0 10px; font: 500 var(--s-label)/1.5 "Geist Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.shk { container-type: inline-size; margin-top: 4px; }
.shk-cols { display: grid; column-gap: var(--gap); align-items: start; }
.shk-col { display: flex; flex-direction: column; min-width: 0; }
.shk-col > ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.shk-bh { display: block; order: -3; box-sizing: border-box; height: calc(2 * var(--k) + 16px); margin-top: -2px; padding-top: 14px;
  border-top: var(--w-emph) solid var(--ink); font: 800 calc(var(--l) * var(--k))/1 "Geist", sans-serif; letter-spacing: -.04em; white-space: nowrap; }
.shk-bh-held { font: 500 var(--s-label)/1.35 "Geist Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  padding-top: 12px; border-top-color: var(--hair); white-space: normal; }
.shk-bn { order: -2; display: block; padding-top: 6px; font: 400 var(--s-label)/1.3 "Geist Mono", monospace; color: var(--muted); }
.shk-t { position: relative; padding: 12px 0 16px; border-top: var(--w-hair) solid var(--hair); outline: none; cursor: default; }
.shk-held .shk-t { border-top-style: dashed; }
.shk-lg { display: block; font: 400 var(--s-label)/1.3 "Geist Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.shk-nm { display: block; margin-top: 6px; font: 800 calc(var(--l) * var(--k))/.92 "Geist", sans-serif; letter-spacing: -.05em; }
.shk-nm.shk-hit { white-space: normal; }
.shk-sc { display: block; margin-top: 6px; font: 500 15px/1.3 "Geist", sans-serif; }
.shk-ct { display: block; margin-top: 2px; font: 400 var(--s-label)/1.3 "Geist Mono", monospace; color: var(--muted); }
.shk-rule { display: flex; justify-content: space-between; margin-bottom: 10px; font: 500 var(--s-label)/1.4 "Geist Mono", monospace;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.shk-not { max-width: 70ch; margin: var(--u6) 0 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.shk-not b { color: var(--ink); font-weight: 600; }
.shk-pop { position: absolute; z-index: 6; left: 0; top: calc(100% - 6px); width: 300px; padding: 12px 14px; background: var(--ground);
  border: var(--w-hair) solid var(--ink); opacity: 0; pointer-events: none; }
.shk-pop.r { left: auto; right: 0; }
.shk-pop ul { list-style: none; margin: 8px 0; padding: 0; }
.shk-pop li { padding: 5px 0; border-bottom: var(--w-hair) solid var(--hair); font: 400 15px/1.3 "Geist", sans-serif; }
.shk-pop li span, .shk-ex { display: block; font: 400 var(--s-label)/1.3 "Geist Mono", monospace; color: var(--muted); }
.shk-t:hover, .shk-t:focus { z-index: 7; }
.shk-t:hover .shk-pop, .shk-t:focus .shk-pop { opacity: 1; }
.shk-t:focus-visible { outline: var(--w-emph) solid var(--ink); outline-offset: -2px; }
@media (max-width: 899px) {
  .shk-cols { display: flex; flex-direction: column-reverse; align-items: stretch; }
  .shk-col { flex-direction: column; margin-top: 30px; }
  .shk-col > ul { flex-direction: column; }
  .shk-bh { order: 0; height: auto; padding-top: 10px; font-size: calc(var(--l) * var(--kp)); }
  .shk-bn { order: 0; }
  .shk-nm { font-size: calc(var(--l) * var(--kp)); }
  .shk-rule { display: none; }
  .shk-pop, .shk-pop.r { left: 0; right: auto; width: min(300px, 90vw); }
}

/* F11 E8d: the player page ladder, tasks and locator. One mark everywhere: a rounded band and an
   estimate tick on a track whose middle is the typical man; grey, never claret (nothing ranks him). */
.dna { max-width: 64rem; margin: var(--u6) 0 var(--u4); }
.dna .rung, .dna .lhead { position: relative; display: grid; align-items: center; column-gap: var(--u4);
  grid-template-columns: minmax(8rem, 13rem) minmax(8rem, 1fr) minmax(9rem, 15rem); min-height: 40px;
  border-top: var(--w-hair) solid var(--hair); }
.dna .lhead { border-top: 0; min-height: 28px; font: 12px var(--mono); color: var(--muted); }
.dna .lhead .rt { height: 20px; }
.dna .typ { position: absolute; left: 50%; top: 0; transform: translateX(-50%); white-space: nowrap; }
.dna .rung.group { min-height: 44px; font: 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); }
.dna .rl { font-size: 15px; }
.dna .rv { font: 13px var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.dna .rt { position: relative; height: 14px; }
.dna .rung:not(.group) .rt::before { content: ""; position: absolute; left: 50%; top: -9px; bottom: -9px;
  border-left: var(--w-hair) solid var(--muted); }
.dna .rbar { position: absolute; top: 3px; height: 8px; border-radius: 4px; background: var(--ctx); }
.dna .told .rbar { background: var(--muted); }
.dna .tick { position: absolute; top: 0; width: 2px; height: 14px; margin-left: -1px; border-radius: 1px;
  background: var(--ink); }
.dna .rung:not(.group):hover, .dna .rung:focus-visible { outline: none;
  background: color-mix(in srgb, var(--ink) 5%, transparent); }
.dna .tip { display: none; position: absolute; z-index: 3; left: 50%; bottom: calc(100% - 6px);
  transform: translateX(-50%); width: max-content; max-width: min(22rem, 90vw); padding: var(--u2) var(--u3);
  border-radius: 2px; background: var(--ink); color: var(--ground); font-size: 13px; line-height: 1.4;
  pointer-events: none; }
.dna .rung:hover .tip, .dna .rung:focus .tip { display: block; }
@media (max-width: 599px) {
  .dna .rung, .dna .lhead { grid-template-columns: 1fr; row-gap: var(--u1); padding-block: var(--u2); }
  .dna .lhead .rl, .dna .group .rt, .dna .group .rv { display: none; }
}
.loc { display: block; width: 100%; max-width: 40rem; height: auto; margin: var(--u6) 0 var(--u4); }
@media (max-width: 599px) { .loc { min-height: 16.25rem; } }
.loc .grid { stroke: var(--hair); stroke-width: var(--w-hair); }
.loc .dot { fill: var(--ctx); }
.loc .dot:hover { fill: var(--ink); }
.loc .nring { fill: none; stroke: var(--muted); stroke-width: var(--w-hair); pointer-events: none; }
.loc .typical { fill: none; stroke: var(--ink); stroke-width: var(--w-emph); }
.loc .ring { fill: none; stroke: var(--claret); stroke-width: var(--w-emph); }
.loc .core { fill: var(--claret); }
.loc .name { font: 600 13px var(--sans); fill: var(--ink); paint-order: stroke; stroke: var(--ground); stroke-width: var(--w-subject); }
.loc .me:focus { outline: none; }
.loc .me:focus .ring { stroke-width: var(--w-subject); }

/* F11 E8u: the series' section figures (per_shirt/figures.py): faint dots, the named men ringed in claret,
   the cross the typical man. Tokens only; every dot has a <title>. */
.sf { max-width: 34rem; margin: var(--u6) 0 var(--u4); }
.sf svg { display: block; width: 100%; height: auto; overflow: visible; }
.sf .grid { stroke: var(--hair); stroke-width: var(--w-hair); }
.sf .base { stroke: var(--ink); stroke-width: var(--w-rule); }
.sf .bar { stroke: var(--muted); stroke-width: var(--w-emph); stroke-dasharray: 4 3; }
.sf .dot { fill: var(--ctx); }
.sf .dot:hover { fill: var(--ink); }
.sf .bg { stroke: var(--ctx); stroke-width: 4; stroke-linecap: round; fill: none; }
.sf .hl { fill: var(--ink); fill-opacity: .6; }
.sf .hl:hover { fill-opacity: 1; }
.sf .num { font: 600 13px var(--sans); fill: var(--ink); paint-order: stroke; stroke: var(--ground); stroke-width: var(--w-subject); }
.sf .lead { stroke: var(--muted); stroke-width: var(--w-hair); }
.sf .near { fill: none; stroke: var(--muted); stroke-width: var(--w-hair); }
.sf .typ { fill: none; stroke: var(--ink); stroke-width: var(--w-emph); }
.sf .ring { fill: none; stroke: var(--claret); stroke-width: var(--w-emph); }
.sf .core { fill: var(--claret); }
.sf .nm { font: 600 13px var(--sans); fill: var(--ink); paint-order: stroke; stroke: var(--ground); stroke-width: var(--w-subject); }
.sf a.me:hover .nm { fill: var(--claret-text); }
.sf a.me:focus-visible { outline: var(--w-emph) solid var(--claret); outline-offset: 2px; }
.sf .rl { font: 400 13px var(--sans); fill: var(--ink); }
.sf .few { font: 400 13px var(--sans); fill: var(--muted); }
.sf .band { stroke: var(--muted); stroke-width: var(--w-subject); }
.sf .est { fill: var(--ink); }
.sf .tv:hover .est { fill: var(--claret); }

/* ---------- the shirt map (F11 E8e; static/shirt-map.js): toolbar, canvas, legend, caption ---------- */
.sm { margin: var(--u6) 0 var(--u4); }
.sm-lede { max-width: var(--measure); margin: 0 0 var(--u3); }
.sm-bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--u2) var(--u3); padding: var(--u2) 0;
  border-top: var(--w-rule) solid var(--ink); }
.sm-sel { display: flex; align-items: center; gap: var(--u2); min-width: 0; }
.sm-sel > span { font: 400 11px/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sm-sel select { height: 32px; min-width: 0; max-width: 100%; width: 12.5rem; padding: 0 var(--u2); background: var(--ground);
  color: var(--ink); border: var(--w-rule) solid var(--ink); border-radius: 0; font: inherit; font-size: 14px; cursor: pointer; }
.sm-shirt select { width: 4.5rem; }
.sm-search { position: relative; flex: 1 1 12rem; min-width: 9rem; }
.sm-search input { width: 100%; height: 32px; padding: 0 var(--u2); background: var(--ground); color: var(--ink);
  border: var(--w-rule) solid var(--ink); border-radius: 0; font: inherit; font-size: 14px; }
.sm-search ul { position: absolute; z-index: 20; left: 0; top: 34px; margin: 0; padding: 0; list-style: none; max-height: 18rem;
  overflow: auto; width: min(22rem, calc(100vw - 2 * var(--gutter))); background: var(--ground); border: var(--w-rule) solid var(--ink); }
.sm-search li { padding: var(--u1) var(--u2); font-size: 13px; line-height: 20px; cursor: pointer; border-bottom: var(--w-hair) solid var(--hair); }
.sm-search li[aria-selected="true"], .sm-search li:hover { background: var(--ink); color: var(--ground); }
.sm-search li small { opacity: .7; }
.sm-clr { width: 32px; height: 32px; padding: 0; background: none; color: var(--ink); border: var(--w-rule) solid var(--ink);
  border-radius: 0; font: inherit; font-size: 14px; cursor: pointer; }
.sm-clr[disabled] { border-color: var(--hair); color: var(--muted); cursor: not-allowed; }
.sm select:focus-visible, .sm input:focus-visible, .sm button:focus-visible { outline: var(--w-emph) solid var(--claret); outline-offset: 2px; }
.sm-box { position: relative; }
.sm-box canvas { display: block; width: 100%; touch-action: manipulation; }
.sm-box canvas + canvas { position: absolute; left: 0; top: 0; pointer-events: none; }
.sm-tip { position: absolute; z-index: 5; pointer-events: none; max-width: 18rem; padding: var(--u1) var(--u2); background: var(--ground);
  border: var(--w-rule) solid var(--ink); font-size: 13px; line-height: 20px; }
.sm-tip[hidden] { display: none; }
.sm-legend { display: flex; flex-wrap: wrap; align-items: center; gap: var(--u1) var(--u3); margin: var(--u2) 0; font-size: 12px; }
.sm-legend .sm-muted { color: var(--muted); }
.sm-edge { display: inline-block; width: 10px; height: 10px; margin-right: var(--u2); vertical-align: -1px; box-sizing: border-box;
  border: var(--w-hair) solid var(--muted); border-radius: 50%; }
.sm-tog { height: 26px; padding: 0 var(--u2); background: none; color: var(--ink); border: var(--w-rule) solid var(--ink); border-radius: 0;
  font: inherit; font-size: 12px; cursor: pointer; }
.sm-tog[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
.sm-cap { border-left: var(--w-emph) solid var(--ink); padding: var(--u1) 0 var(--u1) var(--u3); margin: var(--u3) 0; max-width: var(--measure); }
.sm-claret { color: var(--claret-text); font-weight: 600; }
@media (max-width: 640px) {
  .sm-bar { gap: var(--u2); }
  .sm-sel { flex: 1 1 40%; }
  .sm-sel select { width: 100%; font-size: 13px; }
  .sm-shirt { flex: 0 0 auto; }
  .sm-shirt select { width: 4rem; }
  .sm-search { flex: 1 1 6rem; min-width: 0; }
}

/* ---------- 9n · the squad depth grid (app/web/charts/depth_grid.py; Z8, plan §2c) ----------
   Men are rows, matches are columns. A cell's state is drawn here from its class, not in markup:
   s-st a kit dot (started), s-on a ring with a tick (came on), s-bn an empty ring (on the bench,
   unused), s-no a faint dash (in no 23; a run of three joins into one line: rs, rm, re), s-du an
   ink square (in no 23, on a Test sheet), s-sq a hollow ink square (in no 23, in a national squad). Hover is CSS only: a cell, footer bar or header carries
   its read-out in data-t, and a row label its row's; they print in the one bar at the top of
   .dp, whose containing block is .dp and not the scrolling frame, so nothing clips them. At 390
   the frame scrolls inside itself (direction: rtl opens it on the latest matches), names sticky. */
.dp { position: relative; --lab: 220px; --hist: 264px; --rh: 24px; --cw: 36px; --g: 16px;
  --faint: color-mix(in srgb, var(--muted) 55%, var(--ground)); --rowline: color-mix(in srgb, var(--hair) 55%, transparent);
  --bar: color-mix(in srgb, var(--ink) 70%, var(--ground)); }
.dp-pair { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--u4) var(--u12); margin: 0 0 var(--u3); }
.dp-num { margin: 0; font: 600 var(--s-display)/var(--lh-display) var(--sans); letter-spacing: -.025em; }
.dp-num small { display: block; margin-top: var(--u1); font: 400 var(--s-text)/var(--lh-text) var(--sans); letter-spacing: 0; color: var(--muted); }
.dp-kit { color: var(--club-kit); }
.dp-hint { margin: var(--u4) 0 0; min-height: 24px; font: 400 var(--s-label)/24px var(--mono); color: var(--muted); }
.dp-key { display: flex; flex-wrap: wrap; gap: 0 var(--u4); margin: 0 0 var(--u2); font: 400 var(--s-label)/24px var(--mono); }
.dp-key span { display: inline-flex; align-items: center; gap: var(--u1); }
.dp-g { display: inline-block; width: 18px; height: 18px; --g: 18px; }
.dp-tk { display: inline-block; width: 12px; height: 3px; background: var(--ink); }
.s-st { background: radial-gradient(circle, var(--club-kit) calc(var(--g) * .42), transparent calc(var(--g) * .42 + .5px)) center / var(--g) var(--g) no-repeat; }
.s-on { background: radial-gradient(circle, transparent calc(var(--g) * .3), var(--ink) calc(var(--g) * .3 + .5px) calc(var(--g) * .42), transparent calc(var(--g) * .42 + .5px)) center / var(--g) var(--g) no-repeat,
  linear-gradient(var(--ink), var(--ink)) calc(50% - var(--g) * .62) 50% / calc(var(--g) * .26) var(--w-emph) no-repeat; }
.s-bn { background: radial-gradient(circle, transparent calc(var(--g) * .34), var(--muted) calc(var(--g) * .34 + .5px) calc(var(--g) * .42), transparent calc(var(--g) * .42 + .5px)) center / var(--g) var(--g) no-repeat; }
.s-no { background: linear-gradient(var(--faint), var(--faint)) center / calc(var(--g) * .7) var(--w-emph) no-repeat; }
.s-no.rs { background-position: 100% 50%; background-size: 50% var(--w-emph); }
.s-no.rm { background-position: 0 50%; background-size: 100% var(--w-emph); }
.s-no.re { background-position: 0 50%; background-size: 50% var(--w-emph); }
.s-du { background: linear-gradient(var(--ink), var(--ink)) center / calc(var(--g) * .6) calc(var(--g) * .6) no-repeat; }
.s-sq { background:
  linear-gradient(var(--ink), var(--ink)) center calc(50% - var(--g) * .3 + var(--w-emph) / 2) / calc(var(--g) * .6) var(--w-emph) no-repeat,
  linear-gradient(var(--ink), var(--ink)) center calc(50% + var(--g) * .3 - var(--w-emph) / 2) / calc(var(--g) * .6) var(--w-emph) no-repeat,
  linear-gradient(var(--ink), var(--ink)) calc(50% - var(--g) * .3 + var(--w-emph) / 2) center / var(--w-emph) calc(var(--g) * .6) no-repeat,
  linear-gradient(var(--ink), var(--ink)) calc(50% + var(--g) * .3 - var(--w-emph) / 2) center / var(--w-emph) calc(var(--g) * .6) no-repeat; }
.dp-fr { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dp-grid { width: max-content; min-width: 100%; direction: ltr; font: 400 var(--s-text)/1.2 var(--sans); }
.dp-strip { --cw: 14px; --g: 10px; }
.dp-r { display: flex; align-items: stretch; height: var(--rh); border-bottom: var(--w-hair) solid var(--rowline); }
.dp-l { flex: none; width: var(--lab); position: sticky; left: 0; z-index: 3; display: flex; align-items: center; gap: var(--u1);
  padding-right: var(--u2); overflow: hidden; white-space: nowrap; background: var(--ground); }
.dp-l b { font-weight: 600; }
.dp-l i { font-style: normal; color: var(--muted); }
.dp-l:focus-visible { outline: var(--w-emph) solid var(--ink); outline-offset: calc(-1 * var(--w-emph)); }
.dp-cs { display: flex; flex: 1 0 auto; }
.dp-c { flex: 1 1 var(--cw); min-width: var(--cw); cursor: pointer; }
.dp-c:hover, .dp-fc:hover { outline: var(--w-emph) solid var(--ink); outline-offset: calc(-1 * var(--w-emph)); }
.dp-h { flex: none; width: var(--hist); padding-left: var(--u4); line-height: var(--rh); white-space: nowrap; }
.dp-nohist .dp-h { display: none; }
.dp-n, .dp-sn, .dp-dn { display: none; }
.dp-hd { align-items: flex-end; height: auto; border-bottom-color: var(--ink); }
.dp-hd .dp-l, .dp-hd .dp-h { padding-bottom: var(--u1); line-height: 1.2; color: var(--muted); }
.dp-hd .dp-l { align-self: stretch; flex-wrap: wrap; align-content: flex-end; }
.dp-hc { flex: 1 1 var(--cw); min-width: var(--cw); padding-bottom: var(--u1); text-align: center; font: 400 var(--s-label)/1.2 var(--mono); }
.dp-dd { display: block; color: var(--ink); }
.dp-dm, .dp-tg { display: block; color: var(--muted); }
.dp-tw { display: block; height: 3px; margin: 2px 4px 0; background: var(--ink); }
.dp-strip .dp-hc { text-align: left; }
.dp-mo-l { display: block; height: 16px; padding-left: 3px; border-left: var(--w-hair) solid var(--muted); white-space: nowrap; }
.dp-mo-l.dp-none { border-left: 0; }
.dp-gh { display: flex; align-items: flex-end; height: 32px; border-top: var(--w-hair) solid var(--muted); }
.dp-gh span { position: sticky; left: 0; padding-bottom: 2px; white-space: nowrap; font: 400 var(--s-label)/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dp-d > summary { display: flex; align-items: center; height: var(--rh); border-bottom: var(--w-hair) solid var(--rowline); cursor: pointer; list-style: none; color: var(--muted); }
.dp-d > summary::-webkit-details-marker { display: none; }
.dp-d > summary:hover, .dp-d > summary:focus-visible { color: var(--ink); }
.dp-d[open] > summary .dp-l::before { content: "\2212 "; }
.dp-d:not([open]) > summary .dp-l::before { content: "+ "; }
.dp-d > summary .dp-l { color: inherit; }
.dp-cm, .dp-mo { display: none; }
.dp-ft { height: auto; min-height: 70px; margin-top: var(--u3); border-top: var(--w-hair) solid var(--muted); border-bottom: var(--w-emph) solid var(--ink); }
.dp-ft .dp-l { align-items: flex-end; flex-wrap: wrap; padding-bottom: var(--u1); white-space: normal; }
.dp-fc { flex: 1 1 var(--cw); min-width: var(--cw); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 22px 0 4px; cursor: pointer; }
.dp-fc b { display: flex; flex-direction: column; width: 14px; height: 36px; }
.dp-strip .dp-fc b { width: 8px; }
.dp-fc b::before { content: ""; height: calc((15 - var(--k)) * 2.4px); background: var(--club-kit); }
.dp-fc b::after { content: ""; flex: 1; background: var(--bar); }
.dp-ex { align-self: center; display: flex; justify-content: center; width: 0; margin-bottom: 2px; white-space: nowrap; font-weight: 600; pointer-events: none; }
.dp-xl { justify-content: flex-start; } .dp-xr { justify-content: flex-end; }
.dp-sw { display: inline-block; width: 12px; height: 12px; margin-right: var(--u1); }
.dp-sk { background: var(--bar); } .dp-sc { background: var(--club-kit); }
.dp-rr { display: none; }
.dp-c:hover::after, .dp-fc[data-t]:hover::after, .dp-hc[data-t]:hover::after { content: attr(data-t); }
:is(.dp-c, .dp-fc[data-t], .dp-hc[data-t]):hover::after, .dp-r:has(.dp-l:hover, .dp-l:focus) .dp-rr {
  display: block; position: absolute; top: 0; left: 0; right: 0; z-index: 6; min-height: 24px; padding: 0 var(--u1);
  background: var(--ground); color: var(--ink); font: 400 var(--s-label)/24px var(--mono); font-weight: 400; text-align: left; letter-spacing: 0; }
@media (max-width: 899px) {
  .dp { --lab: 128px; --rh: 28px; --cw: 34px; --g: 17px; }
  .dp-strip { --cw: 22px; --g: 13px; }
  .dp-fr { direction: rtl; }
  .dp-w, .dp-h, .dp-dw, .dp-cv, .dp-ex { display: none; }
  .dp-n, .dp-dn { display: inline; }
  .dp-sn { display: block; flex-basis: 100%; font-size: 12px; color: var(--ink); }
  .dp-hint { min-height: 48px; }
  .dp-cm { display: flex; } .dp-mo { display: block; }
  .dp-r:has(.dp-sn) { height: auto; min-height: var(--rh); }
  .dp-r:has(.dp-sn) .dp-l { flex-wrap: wrap; padding: 3px var(--u1) 3px 0; white-space: normal; }
  .dp-hd .dp-n { color: var(--ink); } .dp-hd .dp-l b { display: none; }
  .dp-ft .dp-l { font-size: 12px; }
}

/* A figure's claim, the sentence above it (N48): on every article page and on the series', so one rule. */
.sx-claim { max-width: 36ch; margin: var(--u12) 0 var(--u6); font: 600 24px/30px var(--sans); letter-spacing: -.01em; text-wrap: balance; }
.sx-claim strong { color: var(--claret); font-weight: inherit; }
@media (max-width: 599px) {
  .sx-claim { margin-top: var(--u8); font-size: 20px; line-height: 26px; }
}

/* The league field (F18 step 7d, `static/league-field.js`): a canvas square, the season bar under it,
   the two axis pickers and the best-view turn, then the read line and the key. */
.lf { margin: 16px 0 24px; max-width: 760px; }
.lf-stage { position: relative; }
.lf-canvas { display: block; width: 100%; aspect-ratio: 1; touch-action: none; }
.lf-tip { position: absolute; pointer-events: none; opacity: 0; max-width: 240px; padding: 6px 8px;
  background: var(--ground); color: var(--ink); border: var(--w-hair) solid var(--ink); font-size: 12px; line-height: 17px; }
.lf-tip strong { font-weight: 500; }
.lf-top, .lf-under { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.lf-top { justify-content: space-between; margin-bottom: 4px; }
.lf-under { justify-content: flex-end; margin-top: -4px; }
.lf-pick { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; color: var(--ink); }
/* the axis pickers are the figure's main control: input weight, an ink border and a drawn chevron */
.lf .lf-pick select { appearance: none; -webkit-appearance: none; min-height: 44px; max-width: min(400px, 70vw);
  padding: 0 34px 0 12px; font-size: 16px; font-weight: 500; border: var(--w-emph) solid var(--ink);
  background: linear-gradient(45deg, transparent 50%, var(--ink) 50%) right 16px center / 6px 6px no-repeat,
    linear-gradient(135deg, var(--ink) 50%, transparent 50%) right 10px center / 6px 6px no-repeat, var(--ground); }
.lf .lf-pick select option, .lf .lf-pick select optgroup { background: var(--ground); color: var(--ink); }
@media (max-width: 479px) {
  .lf-pick { flex-direction: column; align-items: stretch; gap: 4px; width: 100%; }
  .lf .lf-pick select { max-width: none; width: 100%; }
}
.lf-method { margin-top: 8px; font-size: 14px; color: var(--muted); max-width: 64ch; }
.lf-method summary { cursor: pointer; color: var(--ink); }
.lf-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }
.lf-season { flex: 1; min-width: 120px; accent-color: var(--claret); }
.lf-now { font-weight: 600; font-variant-numeric: tabular-nums; min-width: 5em; text-align: right; }
.lf button, .lf select { font: inherit; font-size: 14px; color: var(--ink); background: var(--ground);
  border: var(--w-hair) solid var(--hair); padding: 6px 10px; border-radius: 0; cursor: pointer; }
.lf button:focus-visible, .lf select:focus-visible, .lf-season:focus-visible { outline: var(--w-emph) solid var(--ink); outline-offset: 2px; }
.lf-read { margin: 12px 0 4px; }
.lf-num { display: block; font: 500 13px/18px var(--sans); color: var(--muted); }
.lf-title { margin: 0; font: 600 var(--s-text)/24px var(--sans); }
.lf-reading, .lf-source { max-width: 64ch; margin: var(--u2) 0 var(--u4); font: 400 14px/20px var(--sans); color: var(--muted); }
.lf-source { display: block; margin: var(--u2) 0; }
.lf-ax, .lf-ay { max-width: 100%; }
.lf-play, .lf-best { white-space: nowrap; }
.lf-data { display: none; }
@media (prefers-reduced-motion: no-preference) { .lf-tip { transition: opacity .12s; } }
