/* site.css — Will It Stop? on the web: the game's look (Design/production/BRAND_UI.md, Variant B «Orange»;
   App/PenSim/Theme.swift) carried to pages.

   Grounds are blackened steel, lettering is bone, orange is what's live: ONE blaze fill in view (the primary action),
   one 2 px blaze line per section head, blaze text only for a live state. Steel is the selected state and the second
   action. Gel cyan belongs to the dummy's instruments and nothing else. Physics has no good or bad: STOPPED and
   WENT THROUGH are the same bone stamp — never green and red.
   Three voices: crew (condensed black), range log (mono caps), plain (system text). */

@font-face { font-family: "Crew"; src: url("fonts/barlow-condensed-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Crew"; src: url("fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
/* Latin Extended-A (pl, tr): a page with none of these letters never asks for the files */
@font-face { font-family: "Crew"; src: url("fonts/barlow-condensed-800-ext.woff2") format("woff2"); font-weight: 800; font-display: swap; unicode-range: U+0100-0130, U+0132-0151, U+0154-017F; }
@font-face { font-family: "Crew"; src: url("fonts/barlow-condensed-700-ext.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0100-0130, U+0132-0151, U+0154-017F; }

:root {
  --bg: #0B0D10; --raised: #13161B; --card: #181B21; --card-hi: #21252D;
  --line: rgba(255,255,255,.10); --line-2: rgba(255,255,255,.18);
  --ctl: rgba(255,255,255,.36); /* the edge of a control: 3:1 or better on --bg, --card and --raised */
  --bone: #F4F1EA; --bone-2: rgba(244,241,234,.72); --bone-3: rgba(244,241,234,.60);
  --blaze: #FF6A1A; --blaze-hi: #FF8A45; --blaze-deep: #D94E12;
  --steel: #D4D6DA; --steel-mid: #95979B; --gunmetal: #4D4F53; --ink: #14161A;
  --gel: #38D6FF; --rec: #FF3B30;
  --crew: "Crew", "SF Pro Condensed", "Avenir Next Condensed", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Roboto Mono", monospace;
  --plain: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r-card: 14px; --r-plate: 10px;
  --wrap: 1180px; --text: 720px;
  --pad: clamp(18px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--bg); color: var(--bone); font: 400 17px/1.62 var(--plain); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--bone-3); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--bone); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blaze); color: var(--ink); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--bone); color: var(--ink); padding: 15px 14px; border-radius: 8px; z-index: 100; font: 700 14px var(--plain); }
.skip:focus { top: 12px; }

/* ── voices ─────────────────────────────────────────────────────────────────────────────────────────────────── */
.log { font: 600 11.5px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-3); }
.log b, .log strong { color: var(--bone); font-weight: 600; }
.log .hot { color: var(--blaze); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
h1, h2, h3, h4 { font-family: var(--crew); font-weight: 800; line-height: 1.02; letter-spacing: .005em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(44px, 7.4vw, 88px); }
h2 { font-size: clamp(31px, 4.4vw, 46px); }
h3 { font-size: clamp(23px, 2.8vw, 29px); line-height: 1.08; }
h4 { font-size: 20px; }
p { margin: 0 0 1.05em; }
.lead { font-size: clamp(18.5px, 2.1vw, 21px); line-height: 1.52; color: var(--bone); }
.muted { color: var(--bone-2); }
.small { font-size: 14.5px; line-height: 1.5; color: var(--bone-2); }

/* The one blaze line: 2 px, under a head. */
.rule { height: 2px; background: var(--blaze); border: 0; border-radius: 1px; margin: 0; width: 100%; }
.rule.short { width: 72px; }

/* ── actions ────────────────────────────────────────────────────────────────────────────────────────────────── */
/* The blaze plate: the ONE orange fill in view. Ink lettering — never white on orange. */
.plate { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border: 0; border-radius: var(--r-plate);
  font: 800 21px/1 var(--crew); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); text-decoration: none;
  background: linear-gradient(180deg, var(--blaze-hi) 0%, var(--blaze) 45%, var(--blaze-deep) 100%);
  box-shadow: inset 0 1px 0 #FFC9A3, inset 0 -2px 0 #9C3606, 0 8px 22px rgba(0,0,0,.5); transition: transform .09s ease, filter .12s ease; }
.plate:hover { filter: brightness(1.06); }
.plate:active { transform: translateY(1px); background: linear-gradient(180deg, var(--blaze-deep) 0%, var(--blaze) 55%, var(--blaze-hi) 100%); }
.plate[disabled] { background: none; box-shadow: none; border: 1.5px dashed var(--line-2); color: var(--bone-3); cursor: default; filter: none; }
.plate.wide { width: 100%; }
.plate svg { width: 22px; height: 22px; flex: none; }
/* The second action: steel outline. */
.ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: var(--r-plate);
  font: 700 17px/1 var(--crew); letter-spacing: .06em; text-transform: uppercase; color: var(--bone); text-decoration: none;
  background: rgba(255,255,255,.05); border: 1px solid var(--ctl); transition: background .12s ease, border-color .12s ease; }
.ghost:hover { background: rgba(255,255,255,.09); border-color: var(--steel-mid); }
.ghost.sm { min-height: 38px; padding: 0 14px; font-size: 15px; position: relative; }
.steelbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 20px; border: 0; border-radius: var(--r-plate);
  font: 800 19px/1 var(--crew); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); text-decoration: none;
  background: linear-gradient(180deg, #E4E6E9 0%, var(--steel) 55%, #B9BBBF 100%); box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 #85878B; }
.steelbtn:hover { filter: brightness(1.05); }
.steelbtn:active { transform: translateY(1px); }
.steelbtn.wide { width: 100%; }
.textlink { font: 700 16px var(--crew); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--bone); border-bottom: 1px solid var(--bone-3); padding-bottom: 2px; }
.textlink:hover { border-color: var(--bone); }
/* Small controls keep their look but answer a 44 px thumb: the hit area reaches past the drawn edge. */
.textlink, .brand, table.logt tbody th a, table.matrix tbody th a { position: relative; }
.textlink::after, .brand::after, table.logt tbody th a::after, table.matrix tbody th a::after, .ghost.sm::after { content: ""; position: absolute; }
.textlink::after { inset: -12px -4px; }
.brand::after { inset: -7px -4px; }
.ghost.sm::after { inset: -4px 0; }
table.logt tbody th a::after, table.matrix tbody th a::after { inset: -14px -6px; }

/* ── surfaces ───────────────────────────────────────────────────────────────────────────────────────────────── */
.card { background: linear-gradient(180deg, var(--card) 0%, var(--raised) 100%); border: 1px solid var(--line); border-radius: var(--r-card); }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--ctl); background: rgba(255,255,255,.04);
  font: 600 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bone-2); white-space: nowrap; }
button.chip:hover { border-color: var(--steel-mid); color: var(--bone); }
/* small controls keep their look but answer a 44 px thumb: the hit area reaches past the drawn edge */
button.chip, .units button, .seg button, .stepper button { position: relative; }
button.chip::after { content: ""; position: absolute; inset: -8px -3px; }
.units button::after, .seg button::after { content: ""; position: absolute; inset: -10px 0; }
.stepper button::after { content: ""; position: absolute; inset: -7px -5px; }
.stepper { position: relative; z-index: 1; } /* above the masked picker row under it, which would take its taps */
.chip[aria-pressed="true"], .chip.on, button.chip[aria-pressed="true"]:hover { background: var(--steel); border-color: var(--steel); color: var(--ink); }

/* The verdict: one stamped word with its full stop. */
.stamp { display: inline-block; font: 800 1em/0.95 var(--crew); letter-spacing: .03em; text-transform: uppercase; color: var(--bone); white-space: nowrap; }
/* (a pass is the same stamp as a stop: physics has no good or bad. Only a coin flip is set back in steel.) */
.stamp.flip { color: var(--steel-mid); }
.stamp-lg { font-size: clamp(54px, 9vw, 92px); }
.tag { display: inline-block; font: 700 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 6px 8px; border-radius: 4px; border: 1px solid var(--line-2); color: var(--bone-2); }

/* ── header ─────────────────────────────────────────────────────────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 50; background: rgba(11,13,16,.86); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand .mark { width: 30px; height: 30px; color: var(--bone); }
.brand .name { font: 800 22px/1 var(--crew); letter-spacing: .06em; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; font: 700 16px/1 var(--crew); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--bone-2); padding: 0 11px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--bone); background: rgba(255,255,255,.06); }
.units { display: inline-flex; border: 1px solid var(--ctl); border-radius: 999px; padding: 2px; flex: none; }
.units button { border: 0; background: none; font: 600 11px/1 var(--mono); letter-spacing: .12em; color: var(--bone-3); padding: 7px 10px; border-radius: 999px; }
.units button[aria-pressed="true"] { background: var(--steel); color: var(--ink); }
/* five sections: on a wide screen they never wrap, and the last two (they are in the footer) wait for 1121 px, where
   the longest labels (es, fr) fit beside the rest. A header's button (the landing's) stays on one line and shows from
   1041 px; such a header has no `opt` items (layout.mjs NAV). Until 29.11 the button broke onto two lines in every
   language and the header ran past the screen's edge in five. */
@media (max-width: 1040px) { .top .ghost { display: none; } }
@media (min-width: 641px) { .nav a, .top .ghost { white-space: nowrap; } }
@media (min-width: 641px) and (max-width: 1120px) { .nav a.opt { display: none; } }
/* a phone: the name and the units on one line, the sections on a second line that scrolls; nothing sticks */
@media (max-width: 640px) {
  .top { position: static; }
  .top .wrap { flex-wrap: wrap; height: auto; padding-top: 12px; row-gap: 8px; }
  .units { margin-left: auto; }
  .nav { order: 3; width: calc(100% + 2 * var(--pad)); margin: 0 calc(var(--pad) * -1); padding-inline: calc(var(--pad) - 9px); overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line);
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); }
  .nav.at-end { -webkit-mask-image: none; mask-image: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a, .nav a.opt { display: flex; white-space: nowrap; padding: 0 9px; font-size: 15px; border-radius: 0; }
  html { scroll-padding-top: calc(16px + env(safe-area-inset-top, 0px)); }
}

/* ── sections ───────────────────────────────────────────────────────────────────────────────────────────────── */
.section { padding-block: clamp(46px, 7vw, 88px); }
.section-head { display: grid; gap: 12px; margin-bottom: clamp(22px, 3vw, 34px); }
.section-head .log { display: flex; gap: 14px; flex-wrap: wrap; }
.section-head p { max-width: 62ch; color: var(--bone-2); margin: 0; }
.band { background: var(--raised); border-block: 1px solid var(--line); }

/* ── hero ───────────────────────────────────────────────────────────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; padding-block: clamp(26px, 4.5vw, 56px) clamp(34px, 5vw, 64px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--hero-img, none) center 30% / cover no-repeat; filter: blur(14px) saturate(.8) brightness(.62); transform: scale(1.1); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,13,16,.55) 0%, rgba(11,13,16,.42) 30%, rgba(11,13,16,.82) 72%, var(--bg) 100%); }
.hero-grid { display: grid; gap: clamp(26px, 4vw, 54px); align-items: start; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1020px) { .hero-grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); } .hero-copy { padding-top: 22px; position: sticky; top: 96px; container-type: inline-size; } }
/* the big word is one line per word and a word cannot break: no wider than its column, by its longest word (--ch, layout.mjs
   `fitBig`; about .53 em a letter). «Пробьёт?», «Zatrzyma?», «Ça l’arrête ?» ran under the bench at 148 px (29.11). */
.hero h1 .big { display: block; font-size: clamp(64px, min(12.5vw, 188cqi / var(--ch, 1)), 148px); line-height: .86; letter-spacing: .01em; text-transform: uppercase; }
.hero h1 .sub { display: block; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.04; margin-top: 16px; color: var(--bone); }
.hero .rule { margin-block: 20px 20px; }
.hero .lead { max-width: 54ch; color: var(--bone-2); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; align-items: center; }
.statline { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,.7fr) minmax(0,1.3fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; margin-top: 30px; }
.statline div { background: var(--bg); padding: 14px 14px; min-width: 0; }
.statline b { display: block; font: 800 clamp(26px, 2.5vw, 34px)/1 var(--crew); letter-spacing: .02em; white-space: nowrap; }
.statline span { display: block; margin-top: 6px; }
@media (max-width: 640px) {
  .hero { padding-top: 14px; }
  .hero-grid { row-gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy > .log { order: 1; margin-bottom: 6px; font-size: 10.5px; line-height: 1.4; letter-spacing: .1em; }
  .hero-copy > h1 { order: 2; margin-bottom: 14px; }
  .hero h1 .big { font-size: 44px; line-height: .92; }
  .hero h1 .sub { font-size: 19px; line-height: 1.1; margin-top: 6px; }
  .hero-grid > :not(.hero-copy) { order: 3; }
  .hero-copy > .rule { order: 4; margin-top: 30px; }
  .hero-copy > .lead, .hero-copy > .hero-actions, .hero-copy > .statline { order: 5; }
}

/* ── the bench (the game's firing line, on a page) ──────────────────────────────────────────────────────────── */
.bench { position: relative; overflow: hidden; }
.bench-head { padding: 16px 18px 12px; display: grid; gap: 6px; }
.bench-head .q { font: 800 clamp(27px, 3.6vw, 36px)/1.02 var(--crew); }
.bench-pick { padding: 0 18px 12px; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.bench-pick .row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 8px; margin-block: -8px -6px; margin-inline: -18px; padding-inline: 18px; scroll-snap-type: x proximity;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.bench-pick .row.at-end { -webkit-mask-image: none; mask-image: none; }
.bench-pick .row::-webkit-scrollbar { display: none; }
.bench-pick .label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.thumb { flex: none; width: 62px; height: 62px; border-radius: 10px; border: 1px solid var(--ctl); background: rgba(255,255,255,.03); display: grid; place-items: center; padding: 6px; scroll-snap-align: start; }
.thumb img { max-height: 48px; max-width: 48px; width: auto; height: auto; object-fit: contain; }
.thumb:hover { border-color: var(--steel-mid); }
.thumb[aria-pressed="true"] { border: 2px solid var(--steel); background: rgba(212,214,218,.10); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--ctl); border-radius: 999px; }
.stepper button { width: 34px; height: 30px; border: 0; background: none; font: 700 18px/1 var(--mono); color: var(--bone); }
.stepper button[disabled] { color: var(--gunmetal); cursor: default; }
.stepper output { min-width: 26px; text-align: center; font: 600 13px var(--mono); }

.stage { position: relative; height: clamp(250px, 44vw, 330px); background:
    radial-gradient(90% 70% at 50% 10%, rgba(255,255,255,.07) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #171A20 0%, #101216 58%, #2a2622 58.2%, #17150f 100%);
  border-block: 1px solid var(--line); overflow: hidden; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.stage .hud { position: absolute; left: 12px; top: 10px; z-index: 6; font: 600 10px/1.5 var(--mono); letter-spacing: .1em; color: rgba(255,255,255,.72); text-transform: uppercase; pointer-events: none; }
.stage .hud i { color: var(--rec); font-style: normal; }
.stage .hud.right { left: auto; right: 12px; text-align: right; }
.lane { position: absolute; inset: 0 0 0 0; display: flex; align-items: flex-end; justify-content: center; gap: var(--gap, 10px); padding: 0 14px 0 46px; }
.slot { position: relative; flex: 0 1 auto; display: grid; justify-items: center; align-content: end; height: 100%; padding: 0 0 12px; border: 0; background: none; min-width: 0; -webkit-tap-highlight-color: transparent; }
.slot .pic { position: relative; display: block; pointer-events: none; transform-origin: 50% 100%; transition: transform .18s ease, filter .18s ease; filter: drop-shadow(0 10px 8px rgba(0,0,0,.55)); }
.slot .pic img { height: var(--h, 120px); width: auto; max-width: none; pointer-events: none; }
.slot:not([disabled]):hover .pic { transform: translateY(-3px); }
.slot .card-no { margin-top: 9px; min-width: 24px; height: 22px; padding: 0 6px; display: grid; place-items: center; background: #EDEDEA; color: #101114; font: 800 15px/1 var(--crew); border-radius: 2px; box-shadow: 0 2px 0 rgba(0,0,0,.5); }
.slot .card-no.none { font-size: 12px; letter-spacing: .06em; }
.slot.lap { flex: none; grid-template-columns: minmax(0, 1fr); }
.slot.lap .card-no { min-width: 0; padding: 0 2px; }
.slot .flag { position: absolute; left: 50%; transform: translate(-50%, -6px); top: var(--flag-top, 14%); opacity: 0; white-space: nowrap; background: var(--bone); color: var(--ink); font: 800 12px/1 var(--crew); letter-spacing: .1em; padding: 4px 7px 3px; border-radius: 2px; transition: opacity .15s ease, transform .15s ease; pointer-events: none; z-index: 5; }
.slot .flag::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 14px; background: var(--bone); }
.slot.called .flag { opacity: 1; transform: translate(-50%, 0); }
.slot.dim .pic { filter: drop-shadow(0 10px 8px rgba(0,0,0,.55)) brightness(.5) saturate(.7); }
.slot.hit .pic { animation: knock .5s cubic-bezier(.2,.9,.3,1); }
@keyframes knock { 0% { transform: translateX(0) rotate(0); } 18% { transform: translateX(5px) rotate(1.4deg); } 100% { transform: translateX(0) rotate(0); } }
.stage svg.shot { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; overflow: visible; }
.stage .ask { position: absolute; left: 14px; z-index: 3; font: 800 22px/1 var(--crew); color: var(--bone); transform: translateY(-150%); pointer-events: none; }
.bench-foot { padding: 14px 18px 18px; display: grid; gap: 12px; }
.bench-foot .hint { margin: 0; min-height: 21px; }
.spec { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.spec span b { color: var(--bone); font-weight: 600; }

/* the verdict, under the held frame: the stamp, the blaze line, the measured line, how the call did */
.verdict { display: grid; }
.verdict .stamp { animation: stamp .16s cubic-bezier(.2,.9,.3,1) both; transform-origin: 0 100%; font-size: clamp(52px, 8.4vw, 78px); }
@keyframes stamp { from { transform: scale(1.14); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.verdict .rule { margin: 8px 0 10px; transform-origin: 0 50%; animation: draw .22s .08s ease-out both; }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.verdict .fact { font: 600 13px/1.45 var(--mono); letter-spacing: .04em; color: var(--bone); margin: 0; }
.verdict .calltag { margin: 8px 0 0; font: 800 18px/1 var(--crew); letter-spacing: .1em; text-transform: uppercase; color: var(--bone-2); }
.verdict .calltag.right { color: var(--blaze); }
.verdict:focus { outline: none; }
.verdict .why { margin: 8px 0 0; font-size: 15.5px; line-height: 1.45; color: var(--bone); max-width: 52ch; }
.verdict .tally { margin: 8px 0 0; font: 600 11.5px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-3); }
.verdict .tally:empty { display: none; }
.bench [hidden] { display: none !important; }
.after { display: none; padding: 14px 18px 18px; gap: 14px; }
.bench.done .after { display: grid; }
.bench.done .bench-foot { display: none; }
.takes { display: grid; gap: 5px; }
.takes .t { display: grid; grid-template-columns: 76px 1fr 46px; align-items: center; gap: 10px; font: 600 12px/1 var(--mono); letter-spacing: .06em; color: var(--bone-2); text-transform: uppercase; }
.takes .bar { height: 8px; border-radius: 2px; background: rgba(255,255,255,.07); overflow: hidden; }
.takes .bar i { display: block; height: 100%; background: var(--steel-mid); border-radius: 2px; transition: width .5s ease; }
.takes .t.now { color: var(--bone); } .takes .t.now .bar i { background: var(--bone); }
.takes .t .pc { text-align: right; }
.after .btns { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; justify-items: stretch; }
.after .btns [data-next] { order: 1; }
.after .btns .again { order: 2; justify-self: center; background: none; border-top: 0; border-inline: 0; padding: 12px 2px 2px; font-size: 15px; }
.after .btns .plate { order: 3; font-size: 20px; margin-top: 4px; }
.five { padding: 18px; display: grid; gap: 14px; justify-items: stretch; background: var(--raised); }
.five-t { margin: 0; font: 800 24px/1.08 var(--crew); letter-spacing: .01em; }
.five .plate { width: 100%; padding-inline: 12px; font-size: 18px; }
.five .textlink { justify-self: center; background: none; border-top: 0; border-inline: 0; font-size: 15px; }
/* a phone: the stage comes straight after the question, the pickers wait under the plate, and step aside while
   a verdict reads */
@media (max-width: 640px) {
  .bench { display: flex; flex-direction: column; }
  .bench-pick { order: 1; padding-top: 14px; border-top: 1px solid var(--line); }
  .bench.done .bench-pick { display: none; }
  .bench-head { padding: 12px 16px 12px; gap: 4px; }
  .bench-head p { margin: 0; }
  .bench-head .log { font-size: 11px; letter-spacing: .08em; }
  .bench-head .q { font-size: 26px; }
}

/* ── range card: the one place paper exists ─────────────────────────────────────────────────────────────────── */
/* Bone paper, ink, dashed rows, one short blaze rule (BRAND_UI §5.1). A header strip and a foot strip, ruled thin;
   the stamp stands in the title's row, in the flow (components.mjs `rangecard`), so it never covers a word. A card
   that is narrow (a phone, a column beside text) sets each row as its label over its value: by the card's own width,
   not the screen's. */
.rangecard { position: relative; container-type: inline-size; background: var(--bone); color: var(--ink); border-radius: 10px; padding: 20px 26px 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 22px 46px -14px rgba(0,0,0,.66); overflow: hidden; }
.rangecard::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background: repeating-linear-gradient(0deg, rgba(20,22,26,.035) 0 1px, transparent 1px 3px); }
.rangecard > * { position: relative; }
.rangecard .rc-head, .rangecard .rc-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; font: 700 10.5px/1.45 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(20,22,26,.64); }
.rangecard .rc-head { padding-bottom: 11px; border-bottom: 1px solid rgba(20,22,26,.16); }
.rangecard .rc-head > :last-child { color: rgba(20,22,26,.8); font-variant-numeric: tabular-nums; }
.rangecard .rc-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin: 18px 0 14px; }
/* (.prose h2's margins are for the article's sections, not for a card inside it) */
.rangecard .rc-title h2, .rangecard .rc-title h3 { margin: 0; padding: 0; font-size: clamp(28px, 3.3vw, 36px); line-height: 1; color: var(--ink); }
/* a rubber stamp: ink, a double frame, set a few degrees off */
.rangecard .rc-stamp { flex: none; display: inline-block; transform: rotate(-4deg); padding: 7px 10px 6px; border: 2px solid currentColor; border-radius: 4px;
  box-shadow: inset 0 0 0 2px var(--bone), inset 0 0 0 3px currentColor; font: 800 15px/1 var(--crew); letter-spacing: .1em; text-transform: uppercase; color: rgba(20,22,26,.8); white-space: nowrap; }
.rangecard .rule { width: 56px; margin: 0 0 6px; }
.rangecard dl { margin: 0; }
.rangecard .rc-row { display: grid; grid-template-columns: minmax(9em, 30%) minmax(0, 1fr); gap: 4px 22px; align-items: baseline; padding: 11px 0; border-bottom: 1px dashed rgba(20,22,26,.26); }
.rangecard .rc-row:last-child { border-bottom: 0; }
.rangecard dt { font: 700 10.5px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(20,22,26,.64); }
.rangecard dd { margin: 0; font: 500 16px/1.5 var(--plain); color: var(--ink); text-wrap: pretty; }
.rangecard dd b { font-weight: 700; }
.rangecard dd .us, .rangecard dd .metric { white-space: nowrap; }
.rangecard .rc-foot { margin-top: 2px; padding-top: 11px; border-top: 1px solid rgba(20,22,26,.16); }
@container (max-width: 520px) {
  .rangecard .rc-row { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 10px 0 11px; }
  .rangecard .rc-title { margin: 16px 0 12px; }
  .rangecard .rc-title h2, .rangecard .rc-title h3 { font-size: 28px; }
  .rangecard .rc-stamp { font-size: 13px; padding: 6px 8px 5px; }
  .rangecard .rc-head, .rangecard .rc-foot { letter-spacing: .1em; }
}
@media (max-width: 560px) { .rangecard { padding: 16px 18px 14px; border-radius: 8px; } }
/* a long read that opens on its card (stop.mjs): the card the article's full width, its rows label | value, and the
   words that introduce the page under it at the measure of text (until 29.11 a narrow card beside them) */
.sa-intro { display: grid; gap: 26px; }
.sa-intro > :not(.rangecard) { max-width: var(--text); }

/* ── tables: the range log ──────────────────────────────────────────────────────────────────────────────────── */
.tablewrap { container-type: inline-size; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); background: linear-gradient(180deg, var(--card), var(--raised)); -webkit-overflow-scrolling: touch; }
table.logt { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
/* A table wider than its box scrolls; its caption is as wide as the box (100cqi: .tablewrap is the container), not the
   table, and stays put while the table moves under it. A row's name and a column's head wrap: nowrap, one name column
   took 360 px of a 792 px article, and on a phone, as the sticky column, nearly all of the screen (29.11). */
table.logt caption { caption-side: top; text-align: left; padding: 13px 16px 11px; font: 600 11.5px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-3); border-bottom: 1px solid var(--line); position: sticky; left: 0; max-width: 100cqi; }
table.logt th, table.logt td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: baseline; }
table.logt thead th { font: 600 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-3); background: rgba(255,255,255,.02); }
table.logt tbody tr:last-child th, table.logt tbody tr:last-child td { border-bottom: 0; }
table.logt tbody th { font: 700 17px/1.2 var(--crew); letter-spacing: .03em; color: var(--bone); }
table.logt td.n, table.logt th.n { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
table.logt td.n, table.logt tbody th.n { white-space: nowrap; }   /* a figure never breaks; its column's head may */
table.logt td .sub { display: block; font: 500 12px/1.3 var(--mono); color: var(--bone-3); }
table.logt tr.mark td, table.logt tr.mark th { background: rgba(255,255,255,.035); }
table.logt a { text-decoration-color: var(--line-2); }
table.logt.tight th, table.logt.tight td { padding: 9px 13px; }
table.logt tbody th small { display: block; font: 500 11.5px/1.3 var(--mono); color: var(--bone-3); letter-spacing: .02em; margin-top: 2px; }
/* site.js puts a sticky strip at the top of each scroller; its two shades cover the scroller's height */
.tablewrap, .matrixwrap { position: relative; }
.shades { position: sticky; left: 0; height: 0; z-index: 4; pointer-events: none; }
.shades::before, .shades::after { content: ""; position: absolute; top: 0; height: var(--sh-h, 0); width: 22px; opacity: 0; transition: opacity .15s ease; }
.shades::before { left: var(--sh-l, 0); background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,0)); }
.shades::after { right: 0; background: linear-gradient(270deg, rgba(0,0,0,.6), rgba(0,0,0,0)); }
.sh-l > .shades::before, .sh-r > .shades::after { opacity: 1; }
@media (max-width: 640px) {
  table.logt tbody th:first-child, table.logt thead th:first-child { position: sticky; left: 0; z-index: 2; background: #161920; }
  table.logt tbody th:first-child { min-width: 6.5em; max-width: 10em; }
  table.logt thead th:first-child { background: #1A1D23; }
  table.logt tr.mark th:first-child { background: #1E2127; }
}
.fold { margin: 14px 0; border: 1px solid var(--line); border-radius: var(--r-card); background: linear-gradient(180deg, var(--card), var(--raised)); }
.fold > summary { cursor: pointer; list-style: none; padding: 13px 44px 13px 16px; position: relative; font: 600 11.5px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-2); }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-52%); font: 500 20px/1 var(--mono); color: var(--steel-mid); }
.fold[open] > summary::after { content: "–"; }
.fold > .tablewrap { border: 0; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-card) var(--r-card); }
.fold > .tablewrap caption { display: none; }

/* ── the matrix: objects × rounds ───────────────────────────────────────────────────────────────────────────── */
.matrixwrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); background: linear-gradient(180deg, var(--card), var(--raised)); }
@media (max-width: 899px) { .matrixwrap { container-type: inline-size; } }   /* its caption's measure where it scrolls */
table.matrix { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 760px; }
table.matrix caption { caption-side: top; text-align: left; padding: 13px 16px 11px; font: 600 11.5px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-3); border-bottom: 1px solid var(--line); position: sticky; left: 0; max-width: 100cqi; }
table.matrix th, table.matrix td { padding: 0; border-bottom: 1px solid var(--line); }
table.matrix thead th { padding: 10px 4px 9px; font: 700 15px/1.1 var(--crew); letter-spacing: .04em; color: var(--bone); text-align: center; vertical-align: bottom; background: rgba(255,255,255,.02); }
/* a label under a round («пневматика», «кольцевой») is wider than its column on a phone: it hyphenates instead of running
   into the next one, and the rounds' names stay on one line across the top */
table.matrix thead th small { display: block; font: 500 10px/1.3 var(--mono); letter-spacing: .06em; color: var(--bone-3); margin-top: 3px; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 6 3 3; overflow-wrap: anywhere; }
table.matrix thead th:not(:first-child) { vertical-align: top; }
table.matrix thead th:first-child { position: sticky; left: 0; z-index: 4; background: #1A1D23; border-right: 1px solid var(--line); }
table.matrix tbody th { position: sticky; left: 0; z-index: 2; background: #161920; text-align: left; padding: 6px 12px 6px 10px; white-space: nowrap; border-right: 1px solid var(--line); }
table.matrix tbody th .o { display: flex; align-items: center; gap: 10px; font: 700 16px/1.1 var(--crew); letter-spacing: .03em; }
table.matrix tbody th img { width: 30px; height: 30px; object-fit: contain; flex: none; }
table.matrix tbody th small { display: block; font: 500 10.5px/1.3 var(--mono); color: var(--bone-3); letter-spacing: .04em; }
table.matrix tbody tr:last-child th, table.matrix tbody tr:last-child td { border-bottom: 0; }
.cell { display: grid; place-items: center; width: 100%; min-height: 50px; border: 0; background: none; padding: 5px 3px; position: relative; }
.cell .v { display: grid; place-items: center; width: 100%; max-width: 62px; height: 38px; border-radius: 6px; font: 700 13px/1 var(--mono); letter-spacing: 0; }
.cell.stop .v { background: var(--bone); color: var(--ink); }
.cell.thru .v { border: 1.5px solid rgba(244,241,234,.34); color: var(--bone-2); }
.cell.flip .v { background: repeating-linear-gradient(135deg, rgba(244,241,234,.9) 0 5px, rgba(244,241,234,.5) 5px 10px); color: var(--ink); }
button.cell:hover .v { outline: 2px solid var(--steel); outline-offset: 2px; }
@media (max-width: 640px) {
  table.matrix { min-width: 640px; table-layout: fixed; }
  table.matrix thead th:first-child { width: 118px; }
  table.matrix tbody th { padding: 5px 8px; white-space: normal; width: 118px; min-width: 118px; max-width: 118px; }
  table.matrix tbody th small { display: none; }
  table.matrix tbody th img { width: 24px; height: 24px; }
  table.matrix tbody th .o { font-size: 14.5px; gap: 7px; }
  table.matrix thead th { font-size: 14px; }
  .cell { min-height: 44px; } .cell .v { height: 34px; }
  .clip { max-width: 250px; }
}
@media (min-width: 900px) {
  .matrixwrap { overflow: visible; overflow: clip; }
  table.matrix { table-layout: fixed; min-width: 0; }
  table.matrix thead th:first-child { width: 170px; }
  table.matrix thead th { position: sticky; top: 62px; z-index: 3; background: #1A1D23; box-shadow: 0 1px 0 var(--line); }
  table.matrix thead th:first-child { z-index: 4; }
  table.matrix tbody th { width: 170px; white-space: normal; }
  table.matrix thead th { padding-inline: 1px; }
  table.matrix thead th small { letter-spacing: 0; font-size: 9.5px; }
}
@media (min-width: 900px) and (max-width: 1179px) { table.matrix thead th:first-child, table.matrix tbody th { width: 150px; } }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin-top: 14px; }
.legend .k { display: inline-flex; align-items: center; gap: 8px; font: 600 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--bone-2); }
.legend .k .cell { width: 44px; min-height: 0; padding: 0; } .legend .k .cell .v { height: 22px; font-size: 10px; }

/* ── article ────────────────────────────────────────────────────────────────────────────────────────────────── */
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding-top: 22px; }
.crumbs a { text-decoration: none; color: var(--bone-3); } .crumbs a:hover { color: var(--bone); }
.crumbs span[aria-hidden] { color: var(--gunmetal); }
.article-head { padding-block: 16px clamp(24px, 3.4vw, 40px); display: grid; gap: 16px; }
.article-head h1 { max-width: 15ch; }
.article-head .rule { max-width: 120px; }
.article-head .lead { max-width: 64ch; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.layout { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1060px) { .layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 56px; } }
.toc { display: none; }
@media (min-width: 1060px) { .toc { display: block; position: sticky; top: 92px; max-height: calc(100vh - 120px); overflow: auto; padding-left: 18px; border-left: 1px solid var(--line); } }
.toc ol { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 0; font-size: 14.5px; line-height: 1.35; color: var(--bone-3); text-decoration: none; }
.toc a:hover, .toc a.on { color: var(--bone); }
.toc a.on { box-shadow: -19px 0 0 -17px var(--steel-mid); }
.prose { min-width: 0; }
.prose > * { max-width: var(--text); }
.prose > .full { max-width: none; }
.prose > .tablewrap, .prose > .matrixwrap { margin-block: 20px; }
.prose h2 { margin: clamp(46px, 6vw, 72px) 0 0; padding-top: 4px; }
.prose h2 + .rule { margin: 14px 0 20px; max-width: 72px; }
.prose h3 { margin: 34px 0 10px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--steel-mid); }
.prose strong { font-weight: 650; color: var(--bone); }
.prose p, .prose li { color: rgba(244,241,234,.86); }
.prose figure { margin: 26px 0; }
.prose figcaption { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--bone-3); }
/* a footnote mark rides above the line without making that line taller (a raised inline box would) */
.prose sup, .article-head sup { position: relative; top: -.5em; vertical-align: baseline; line-height: 0; }
sup a[href^="#src-"] { font: 600 11px var(--mono); text-decoration: none; color: var(--steel-mid); padding: 0 1px; }
sup a[href^="#src-"]:hover { color: var(--bone); }
.rangecard sup a[href^="#src-"] { font-size: 10px; color: rgba(20,22,26,.62); } .rangecard sup a[href^="#src-"]:hover { color: var(--ink); }
.answer { border-left: 2px solid var(--steel-mid); padding: 4px 0 4px 18px; margin: 0 0 22px; }
.answer p { font-size: 19px; line-height: 1.5; color: var(--bone); margin: 0; }
.answer .log { margin-bottom: 6px; display: block; }
.note { padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.03); font-size: 15px; line-height: 1.5; color: var(--bone-2); margin: 22px 0; }
.note .log { display: block; margin-bottom: 4px; }
.result { display: grid; gap: 14px; grid-template-columns: 96px minmax(0, 1fr); align-items: center; padding: 16px; margin: 18px 0 22px; }
.result .pic { display: grid; place-items: center; height: 96px; } .result .pic img { max-height: 96px; width: auto; }
.result .stamp { font-size: clamp(30px, 4.6vw, 42px); white-space: normal; text-wrap: balance; }   /* two lines rather than past the card's edge on a phone («Прошла насквозь.», 29.11) */
/* a narrow phone (320–400 px): a smaller picture and stamp, so one long word («Остановилась.») still fits beside it */
@media (max-width: 400px) { .result { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; } .result .pic { height: 72px; } .result .pic img { max-height: 72px; } .result .stamp { font-size: min(30px, 8.4vw); } }
.result .fact { font: 600 12.5px/1.5 var(--mono); letter-spacing: .04em; color: var(--bone-2); margin: 6px 0 0; }
.result .try { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; }
.sources { counter-reset: s; list-style: none; padding: 0 !important; display: grid; gap: 8px; font-size: 14.5px; }
.sources li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; color: var(--bone-2) !important; margin: 0; word-break: break-word; }
.sources li::before { content: counter(s); font: 600 12px/1.8 var(--mono); color: var(--steel-mid); }

/* ── the header clip (layout.mjs `reel`): footage at the top of an article, the answer still on the first screen ──
   A phone: a 16:9 window of the portrait clip, the width of the screen, above the crumbs; the window sits on the
   row (`--y`) and never takes more than 26 % of the screen's height. A wide screen: the whole portrait frame in
   the right-hand column, the width of the contents rail under it. A still first (its box reserved, nothing moves),
   the film fades in over it when it plays; no chrome of ours on the footage but the corner that says it opens. */
.reel { margin: 0; min-width: 0; }
.reel-box { position: relative; display: block; overflow: hidden; background: #000; -webkit-tap-highlight-color: transparent; }
.reel-box img, .reel-box video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-box video { object-position: 50% var(--y, 45%); opacity: 0; transition: opacity .35s ease; }
.reel-box video.on { opacity: 1; }
.reel-full { position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 999px;
  background: rgba(11,13,16,.62); border: 1px solid rgba(255,255,255,.2); color: var(--bone); transition: background .12s ease; }
.reel-box:hover .reel-full { background: rgba(11,13,16,.86); }
.reel-box:focus-visible { outline-offset: -3px; }
.reel-cap { display: flex; flex-wrap: wrap; gap: 2px 10px; margin: 0; font-size: 10.5px; letter-spacing: .1em; }
@media (max-width: 760px) {
  .wrap:has(> .reel) { display: flex; flex-direction: column; }
  .wrap:has(> .reel) > .crumbs { padding-top: 12px; }
  /* the last crumb is the H1 under it: on a phone the clip takes its line */
  .wrap:has(> .reel) > .crumbs > [aria-current], .wrap:has(> .reel) > .crumbs > [aria-hidden]:has(+ [aria-current]) { display: none; }
  .wrap:has(> .reel) > .article-head { padding-top: 10px; gap: 12px; }
  .reel { order: -1; margin-inline: calc(var(--pad) * -1); }
  .reel-box { aspect-ratio: 16 / 9; max-height: 26svh; width: 100%; }
  .reel-cap { padding: 8px var(--pad) 0; font-size: 10px; letter-spacing: .06em; }
}
@media (min-width: 761px) {
  .wrap:has(> .reel) { display: grid; grid-template-columns: minmax(0, 1fr) 220px; column-gap: 32px; }
  .wrap:has(> .reel) > .crumbs { grid-column: 1; grid-row: 1; }
  .wrap:has(> .reel) > .article-head { grid-column: 1; grid-row: 2; }
  .reel { grid-column: 2; grid-row: 1 / span 2; align-self: start; margin: 22px 0 clamp(24px, 3.4vw, 40px); }
  .reel-box { aspect-ratio: 9 / 16; border-radius: var(--r-card); border: 1px solid var(--line); }
  .reel-cap { margin-top: 10px; }
}
@media (min-width: 1060px) { .wrap:has(> .reel) { grid-template-columns: minmax(0, 1fr) 250px; column-gap: 56px; } }
/* a clip that waits for a tap (site.js: autoplay refused, less motion, less data): the still with a play mark on it;
   the button over the whole clip is what a keyboard reaches and a thumb hits */
.tap-play { cursor: pointer; }
.tap-play::after { content: ""; position: absolute; left: 50%; top: 50%; z-index: 3; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; pointer-events: none;
  border: 1.5px solid rgba(244,241,234,.85); box-shadow: 0 4px 18px rgba(0,0,0,.5);
  background: rgba(11,13,16,.66) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 3.2l7.3 4.8-7.3 4.8z' fill='%23F4F1EA'/%3E%3C/svg%3E") 54% 50% / 24px no-repeat; }
.clip-tap { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.clip-tap:focus-visible { outline-offset: -4px; }
/* full height, on a tap (site.js) */
.reel-dlg { border: 0; padding: 0; margin: 0; background: transparent; color: var(--bone); width: 100vw; max-width: none; height: 100dvh; max-height: none; overflow: hidden; }
.reel-dlg[open] { display: grid; place-items: center; align-content: center; gap: 10px; }
.reel-dlg::backdrop { background: rgba(5,6,8,.94); }
.reel-dlg video { height: min(calc(100dvh - 110px), calc((100vw - 24px) * 16 / 9), 1280px); width: auto; aspect-ratio: 9 / 16; object-fit: contain; border-radius: 12px; background: #000; }
.reel-dlg .reel-cap { justify-content: center; padding-inline: 16px; text-align: center; }
.reel-dlg .ghost { position: absolute; top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); }

/* FAQ */
.faq { display: grid; gap: 8px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(180deg, var(--card), var(--raised)); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; position: relative; font: 800 21px/1.12 var(--crew); letter-spacing: .01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-52%); font: 500 24px/1 var(--mono); color: var(--steel-mid); }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 18px 16px; color: var(--bone-2); max-width: 70ch; } .faq .a p:last-child { margin: 0; }

/* ── hub pieces ─────────────────────────────────────────────────────────────────────────────────────────────── */
.features { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 880px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature { position: relative; display: grid; grid-template-rows: auto 1fr auto; text-decoration: none; overflow: hidden; transition: border-color .15s ease, transform .15s ease; }
.feature:hover { border-color: var(--line-2); transform: translateY(-2px); }
.feature .art { position: relative; height: 210px; border-bottom: 1px solid var(--line); overflow: hidden; background: #101216; }
.feature .body { padding: 18px 20px 6px; display: grid; gap: 10px; align-content: start; }
.feature .body p { margin: 0; color: var(--bone-2); font-size: 16px; }
.feature .foot { padding: 14px 20px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.feature .go { font: 800 17px/1 var(--crew); letter-spacing: .1em; text-transform: uppercase; }
.feature:hover .go { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
@media (max-width: 420px) { .feature .foot { padding-inline: 16px; } .feature .go { font-size: 15px; letter-spacing: .07em; white-space: nowrap; } }

.answers { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.qa { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 14px; padding: 14px 16px; text-decoration: none; align-items: center; transition: border-color .15s ease; }
.qa:hover { border-color: var(--line-2); }
.qa .pic { grid-row: span 3; display: grid; place-items: center; height: 72px; } .qa .pic img { max-height: 72px; max-width: 64px; width: auto; height: auto; }
.qa h3 { font-size: 21px; line-height: 1.08; }
.qa .stamp { font-size: 22px; margin-top: 2px; }
.qa .fact { font: 500 12px/1.4 var(--mono); color: var(--bone-3); letter-spacing: .02em; }

.index-tools { display: grid; gap: 12px; margin-bottom: 16px; }
.search { position: relative; }
.search input { width: 100%; height: 54px; border-radius: 12px; border: 1px solid var(--ctl); background: rgba(255,255,255,.04); color: var(--bone); padding: 0 16px 0 46px; font: 500 17px var(--plain); }
.search input::placeholder { color: var(--bone-3); }
.search input:focus { outline: 2px solid var(--steel); outline-offset: 1px; border-color: transparent; }
.search svg { position: absolute; left: 15px; top: 17px; width: 20px; height: 20px; color: var(--bone-3); }
.filters { display: flex; gap: 14px 6px; flex-wrap: wrap; }
.qlist { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: linear-gradient(180deg, var(--card), var(--raised)); }
.qlist li { border-bottom: 1px solid var(--line); } .qlist li:last-child { border-bottom: 0; } .qlist li[hidden] { display: none; }
.qrow { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 16px; text-decoration: none; }
a.qrow:hover { background: rgba(255,255,255,.035); }
.qrow .no { font: 600 11px var(--mono); letter-spacing: .1em; color: var(--bone-3); }
.qrow .q { font: 800 20px/1.1 var(--crew); letter-spacing: .01em; }
.qrow .a { display: block; font: 500 12.5px/1.4 var(--mono); color: var(--bone-3); margin-top: 3px; letter-spacing: .01em; }
.qrow .st { font: 600 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-3); white-space: nowrap; padding: 6px 8px; border: 1px solid var(--line); border-radius: 4px; }
.qrow .st.filmed { color: var(--ink); background: var(--steel); border-color: var(--steel); }
.qrow .st.sourced { color: var(--bone); border-color: var(--steel-mid); }
.qrow.queued .q { color: var(--bone-2); }
@media (min-width: 980px) { .qlist { display: grid; grid-template-columns: 1fr 1fr; } .qlist li:nth-child(odd) { border-right: 1px solid var(--line); } .qrow { grid-template-columns: 40px minmax(0, 1fr) auto; padding: 11px 14px; gap: 10px; height: 100%; } }
.qempty { padding: 22px 16px; color: var(--bone-2); display: none; }
@media (max-width: 560px) { .qrow { grid-template-columns: minmax(0, 1fr) auto; } .qrow .no { display: none; } }

.steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); counter-reset: step; }
.step { padding: 20px; display: grid; gap: 8px; align-content: start; }
.step::before { counter-increment: step; content: "0" counter(step); font: 800 44px/1 var(--crew); color: var(--gunmetal); }
.step p { margin: 0; color: var(--bone-2); font-size: 16px; }

/* the game */
.game { display: grid; gap: clamp(26px, 4vw, 56px); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .game { grid-template-columns: minmax(0, 1fr) auto; } }
.game ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.game li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--bone-2); }
.game li::before { content: "★"; color: var(--bone); font-size: 14px; line-height: 1.9; }
.phones { display: flex; gap: 14px; justify-content: center; }
.phone { position: relative; width: min(42vw, 236px); aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; border: 1px solid var(--line-2); background: #000; box-shadow: 0 30px 60px rgba(0,0,0,.6), inset 0 0 0 5px #0e1013; flex: none; }
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; }
.phone:nth-child(2) { margin-top: 34px; }
@media (max-width: 899px) { .phone:nth-child(3) { display: none; } }
.clip { position: relative; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); background: #000; max-width: 300px; }
.clip video, .clip img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
.clipfig { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); align-items: center; margin-block: 22px 26px; }
@media (min-width: 640px) { .clipfig { grid-template-columns: 230px minmax(0, 1fr); } }
@media (max-width: 639px) { .clipfig { justify-items: center; } .clipfig > :not(.clip) { justify-self: stretch; } .prose > .clip, figure > .clip { margin-inline: auto; } }

/* ── footer ─────────────────────────────────────────────────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding-block: 34px 44px; background: #090A0D; }
.foot .cols { display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .foot .cols { grid-template-columns: 1.3fr 1fr 1fr; } }
.foot ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 7px; }
.foot a { color: var(--bone-2); text-decoration: none; font-size: 15px; } .foot a:hover, .foot a.brand { color: var(--bone); }
/* the notice every article ends on (legal.mjs `simulationNotice`) */
.sim-foot { padding-top: 8px; padding-bottom: 40px; }
.sim-notice { margin: 0; padding-top: 16px; border-top: 1px solid var(--line); max-width: 86ch; font-size: 13px; line-height: 1.55; color: var(--bone-3); }
.sim-notice a { color: var(--bone-2); }
.foot .fine { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.55; color: var(--bone-3); max-width: 90ch; }

/* ── speed page pieces ──────────────────────────────────────────────────────────────────────────────────────── */
.bars { display: grid; gap: 7px; }
.barrow { display: grid; grid-template-columns: minmax(92px, 150px) minmax(0, 1fr) minmax(74px, auto); gap: 12px; align-items: center; }
.barrow .nm { font: 700 17px/1.1 var(--crew); letter-spacing: .03em; }
.barrow .nm small { display: block; font: 500 10.5px/1.3 var(--mono); color: var(--bone-3); letter-spacing: .04em; }
.barrow .track { position: relative; height: 22px; border-radius: 3px; background: rgba(255,255,255,.05); }
.barrow .fill { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: linear-gradient(90deg, var(--steel-mid), var(--steel)); }
.barrow.ref .fill { background: repeating-linear-gradient(135deg, rgba(212,214,218,.42) 0 4px, rgba(212,214,218,.16) 4px 8px); }
.barrow .val { text-align: right; font: 600 14px/1.2 var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.barrow .val small { display: block; color: var(--bone-3); font-size: 11px; }
.bars .sonic { position: absolute; top: -6px; bottom: -6px; width: 0; border-left: 1.5px dashed var(--blaze); z-index: 2; pointer-events: none; }
.seg { display: inline-flex; border: 1px solid var(--ctl); border-radius: 999px; padding: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: none; font: 600 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bone-3); padding: 8px 12px; border-radius: 999px; }
.seg button[aria-pressed="true"] { background: var(--steel); color: var(--ink); }
.panel { padding: 18px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.chart { width: 100%; height: auto; overflow: visible; }
.chart text { font: 500 11px var(--mono); fill: rgba(244,241,234,.6); }
.chart .grid line { stroke: rgba(255,255,255,.08); }
.chart .series path { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.race { position: relative; display: grid; gap: 6px; }
.racelane { position: relative; display: grid; grid-template-columns: minmax(84px, 130px) minmax(0, 1fr) 68px; gap: 10px; align-items: center; }
.racelane .nm { font: 700 16px/1.1 var(--crew); letter-spacing: .03em; }
.racelane .track { position: relative; height: 26px; border-bottom: 1px dashed rgba(255,255,255,.14); }
.racelane .dot { position: absolute; left: 0; top: 50%; width: 16px; height: 7px; margin-top: -3.5px; border-radius: 2px 6px 6px 2px; background: linear-gradient(#e9e9e6, #8b8d91); box-shadow: -18px 0 14px -4px rgba(255,106,26,.75); will-change: transform; }
.racelane.ref .dot { background: var(--gunmetal); box-shadow: none; border-radius: 50%; width: 9px; height: 9px; margin-top: -4.5px; }
.racelane .t { text-align: right; font: 600 13px var(--mono); font-variant-numeric: tabular-nums; color: var(--bone-2); }
.racelane.done .t { color: var(--bone); }
.race .finish { position: absolute; top: 0; bottom: 0; right: 78px; border-right: 2px solid var(--bone); opacity: .5; }

/* ── the docked bar (≤ 860 px, made by site.js): the crest, the name, the one plate ─────────────────────────── */
.dock { display: none; }
@media (max-width: 860px) {
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; gap: 12px;
    padding: 10px max(var(--pad), env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(var(--pad), env(safe-area-inset-left));
    background: rgba(11,13,16,.92); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); border-top: 1px solid var(--line-2);
    transform: translateY(110%); visibility: hidden; transition: transform .22s ease, visibility 0s linear .22s; }
  .dock.on { transform: none; visibility: visible; transition: transform .22s ease, visibility 0s; }
  .dock .mark { width: 30px; height: 30px; flex: none; color: var(--bone); }
  .dock-name { margin: 0; flex: 1 1 auto; min-width: 0; font: 600 11px/1.35 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bone-2); }
  .dock-name .sep { display: none; }
  .dock-name b { display: block; font: 800 17px/1.05 var(--crew); letter-spacing: .05em; color: var(--bone); }
  .dock .plate { min-height: 46px; padding: 0 16px; font-size: 18px; flex: none; }
  body.has-dock { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}

[data-u="metric"] .us, [data-u="us"] .metric { display: none !important; }

@media print { .top, .foot, .toc, .bench, .plate, .ghost, .dock, .shades, .reel { display: none !important; } body { background: #fff; color: #000; } }

/* far.css — what the "how far" pages (/how-far-can-a-bullet-travel/ and its four sisters) need beyond site.css: the
   flight desk and the shot picker that far.js arms, the range bars, table widths, the line for the range and the
   closing block. Steel and bone only; the one blaze mark is the round itself, the dot on the desk's chart. */

.far [hidden] { display: none !important; }

/* the short answer card sits in the article column (its footnote marks are ink on paper: site.css) */
.far-card { margin: 4px 0 8px; }
.article-head .lead sup a { font: 600 11px var(--mono); text-decoration: none; color: var(--steel-mid); padding: 0 1px; }
.article-head .lead sup a:hover { color: var(--bone); }

/* panels and tables */
.far .panel { margin: 22px 0; }
.far .panel figcaption { margin: 14px 0 0; font-size: 14px; line-height: 1.45; color: var(--bone-3); }
.far .tablewrap { margin: 18px 0 22px; }
.far table.logt thead th .us, .far table.logt thead th .metric { white-space: nowrap; }
.far table.logt thead th .sub { display: block; margin-top: 3px; font: 500 10px/1.2 var(--mono); letter-spacing: .06em; color: var(--bone-3); text-transform: none; }
.far table.logt td .sub, .far table.logt th .far-sub { display: block; margin-top: 2px; font: 500 11.5px/1.3 var(--mono); color: var(--bone-3); letter-spacing: .02em; }
table.logt.far-range td:nth-child(2) { min-width: 150px; }
table.logt.far-range tbody th { white-space: normal; min-width: 120px; }
table.logt.far-range tbody th a { font: inherit; }
table.logt.far-drop { font-size: 14px; }
/* nine columns of figures: narrower padding and a narrower name column keep them inside the article on a wide screen */
table.logt.far-drop th, table.logt.far-drop td { padding-inline: 10px; }
table.logt.far-drop tbody th small { white-space: normal; min-width: 150px; max-width: 220px; }
table.logt.fd-table tr.at td, table.logt.fd-table tr.at th { background: rgba(212,214,218,.09); }

/* the range bars: a name, a bar, yards with miles under them */
.far-bars .barrow { grid-template-columns: minmax(96px, 172px) minmax(0, 1fr) minmax(92px, auto); }
.far-bars .barrow .val small, .far-shot .barrow .val small { font-weight: 500; }

/* ── the flight desk ── */
.fd-pick { display: grid; gap: 14px; margin-bottom: 16px; }
.fd-pick > div > .log, .fd-two > div > .log { display: block; margin-bottom: 7px; }
.fd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fd-chips .chip { min-height: 36px; padding: 0 13px; font: 700 16px/1 var(--crew); letter-spacing: .04em; }
.fd-chips .chip small { font: 500 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; opacity: .72; }
.fd-two { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.fd-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.fd-tile { background: var(--raised); padding: 11px 12px 12px; min-width: 0; }
.fd-tile .log { display: block; }
.fd-tile b { display: block; margin-top: 5px; font: 800 clamp(21px, 2.5vw, 27px)/1.05 var(--crew); letter-spacing: .01em; color: var(--bone); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fd-tile small { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.3; color: var(--bone-3); }
.fd-slide { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 14px; }
.fd-slide input { width: 100%; height: 44px; margin: 0; accent-color: var(--steel); background: none; }
.fd-chartbox { margin-top: 12px; touch-action: pan-y; }
.fd.armed .fd-chartbox { cursor: crosshair; }
.fd-chart { display: block; }
.fd-chart.live { width: 100%; height: auto; }
.fd-chart text { font: 500 11px var(--mono); fill: rgba(244,241,234,.6); }
.fd-chart text.unit { fill: rgba(244,241,234,.45); }
.fd-chart .gl { stroke: rgba(255,255,255,.08); }
.fd-chart .los { stroke: var(--steel-mid); stroke-width: 1.5; stroke-dasharray: 6 4; }
.fd-chart .path { fill: none; stroke: var(--bone); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.fd-chart .stop { fill: var(--raised); stroke: var(--bone); stroke-width: 1.5; }
.fd-chart .zero { fill: none; stroke: var(--steel); stroke-width: 1.5; }
.fd-chart .cur { stroke: rgba(244,241,234,.4); stroke-width: 1; }
.fd-chart .at { fill: var(--blaze); stroke: var(--raised); stroke-width: 2; }
.fd-key { display: inline-block; vertical-align: -1px; margin: 0 6px 0 0; }
.fd-key.los { width: 22px; height: 0; border-top: 1.5px dashed var(--steel-mid); vertical-align: 4px; }
.fd-key.ring { width: 11px; height: 11px; border: 1.5px solid var(--steel); border-radius: 50%; margin-left: 8px; }

/* ── the shot picker ── */
.far-shot .barrow { grid-template-columns: minmax(104px, 160px) minmax(0, 1fr) minmax(78px, auto); }
.far-shot.armed .barrow[data-yd] { cursor: pointer; }
.far-shot.armed .barrow[data-yd] .fill { opacity: .42; }
.far-shot.armed .barrow.on .fill { opacity: 1; background: linear-gradient(90deg, var(--steel), var(--bone)); }
.far-shot.armed .barrow.on .nm { color: var(--bone); }
.far-shot .fd-tiles { margin-bottom: 18px; }
.far-shot .fd-chips .chip { font-size: 15px; min-height: 34px; padding: 0 11px; }

/* the line for the range */
.far-say { margin: 30px 0 0; padding: 16px 18px 17px; border-left: 2px solid var(--steel); background: rgba(255,255,255,.035); border-radius: 0 10px 10px 0; font: 700 clamp(21px, 2.6vw, 26px)/1.22 var(--crew); letter-spacing: .01em; color: var(--bone); }
.far-say .log { display: block; margin-bottom: 8px; }
.far-say sup a { font: 600 11px var(--mono); text-decoration: none; color: var(--steel-mid); padding: 0 1px; }

/* more from the log, and the closing block */
.far-more { margin-top: 44px; }
.far-more ul { list-style: none; margin: 12px 0 0; padding: 0 !important; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.far-more li { margin: 0; }
.far-more a { display: block; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(180deg, var(--card), var(--raised)); text-decoration: none; }
.far-more a:hover { border-color: var(--steel-mid); }
.far-more a b { display: block; font: 800 19px/1.15 var(--crew); letter-spacing: .01em; color: var(--bone); }
.far-more a span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--bone-3); }
.far-closing { padding: 20px; margin-top: 34px; }
.far-closing .lead { margin: 10px 0 18px; }
.far-gameacts { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

@media (max-width: 640px) {
  .far .panel { padding: 14px; }
  .fd-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fd-tile:first-child { grid-column: 1 / -1; }
  .fd-slide { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  /* a phone: each bar is a name line over a full-width track */
  .far-bars .barrow, .far-shot .barrow { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "nm val" "track track"; gap: 4px 10px; align-items: end; padding-block: 3px; }
  .far-bars .barrow .nm, .far-shot .barrow .nm { grid-area: nm; font-size: 16px; }
  .far-bars .barrow .nm small, .far-shot .barrow .nm small { display: inline; margin-left: 7px; font-size: 11px; }
  .far-bars .barrow .track, .far-shot .barrow .track { grid-area: track; height: 14px; }
  .far-bars .barrow .val, .far-shot .barrow .val { grid-area: val; font-size: 13px; display: flex; gap: 8px; align-items: baseline; }
  .far-bars .barrow .val small { font-size: 11px; }
  .far-closing .clip { max-width: 220px; }
  table.logt.far-drop tbody th small { min-width: 0; max-width: 150px; }
}

/* game.css — `/`, the landing page (src/pages/game.mjs). Built from site.css's tokens; every class is `lp-` or
   belongs to this page alone (.acts, .soon, .badge, .take, .reveal).

   The hero is described at its rules below. */

/* ── the hero ───────────────────────────────────────────────────────────────────────────────────────────────── */
/* The first screen: the game's call screen as a film (a row on the bench, the number plates, the dummy, the «YOUR CALL»
   flag; then the slow-motion film and the stamp), the question as the headline, one button, the deal in one line.
   A phone: the film across the top, the words under it, everything inside the first screen of an iPhone SE in Safari
   (measured: see README «The game's landing page»). A wide screen: the words left, the film right. The film is a
   picture of its own, never a background: nothing is laid over it but its caption and the pause button. */
.lp-hero { background: var(--bg); border-bottom: 1px solid var(--line); }
.lp-hero-in { display: grid; gap: 14px; padding-block: 0 22px; }
.lp-film { position: relative; margin: 0 calc(-1 * var(--pad)); aspect-ratio: 960 / 668; overflow: hidden; background: #0b0d10; }
.lp-film img, .lp-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-film video { opacity: 0; transition: opacity .35s ease; }
.lp-film video.on { opacity: 1; }
.lp-film-cap { position: absolute; left: 10px; top: 10px; max-width: 44%; text-wrap: pretty; margin: 0; padding: 4px 8px; border-radius: 4px; background: rgba(11,13,16,.66); color: var(--bone); font-size: 10px; letter-spacing: .1em; }
/* The film's one button: top-right (the caption is top-left), 40 px, an icon in both states; its words are for screen
   readers. Never over the number plates or NONE (critic wave 3, M2). Waiting for a tap (autoplay refused, less motion,
   less data), it is the brightest thing on the film; a tap anywhere on the film starts it too. */
.lp-pause { position: absolute; right: 8px; top: 8px; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0;
  border-radius: 999px; border: 1px solid var(--ctl); background: rgba(11,13,16,.72); color: var(--bone); opacity: .85; }
.lp-pause[hidden] { display: none; }
.lp-pause svg { fill: currentColor; }
.lp-pause[data-state="pause"] .i-play, .lp-pause[data-state="play"] .i-pause { display: none; }
.lp-pause-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp-pause.ask { opacity: 1; border-color: var(--bone); background: rgba(11,13,16,.84); }
.lp-film.lp-wait { cursor: pointer; }
.lp-kicker { display: flex; flex-wrap: wrap; gap: 2px 12px; color: var(--bone-2); margin: 0 0 8px; }
.lp-kicker span + span { color: var(--blaze-hi); }
.lp-kicker span + span::before { content: "· "; color: var(--bone-3); }
.lp-hero h1 { margin: 0 0 16px; }
.lp-hero h1 .big { display: block; font-size: clamp(38px, 10.4vw, 84px); line-height: .94; text-transform: uppercase; letter-spacing: .005em; text-wrap: balance; }
.lp-hero h1 .sub { display: block; margin-top: 10px; font: 500 clamp(16px, 1.5vw, 20px)/1.4 var(--plain); letter-spacing: 0; text-transform: none; color: var(--bone); max-width: 40ch; }
.lp-deal { margin: 14px 0 0; max-width: 52ch; font-size: 14.5px; line-height: 1.45; color: var(--bone-2); }
.lp-deal b { color: var(--bone); font-weight: 650; }
/* what the purchase holds and, beside it, what it costs: the figure this reader's storefront printed. No former price */
.lp-holds { margin: 6px 0 0; max-width: 52ch; font-size: 14.5px; line-height: 1.45; color: var(--bone-2); }
.lp-holds strong, .lp-prices strong { color: var(--bone); }
.lp-s1 { display: inline-block; }
.lp-then { color: var(--bone-2); }
/* a reader whose App Store does not carry the game: said beside the button, before the tap */
/* .lp-proof: one result with its full conditions (critic wave 4), on the same card */
.lp-absent, .lp-proof { margin: 12px 0 0; padding: 10px 12px; max-width: 52ch; border: 1px solid var(--ctl); border-left: 3px solid var(--blaze); border-radius: 6px; background: var(--raised); color: var(--bone); font-size: 14.5px; line-height: 1.45; }
.lp-absent[hidden] { display: none; }
.lp-plat .lp-absent { margin: 0; max-width: none; }
/* Whose hero (html[data-for], set in <head> from ?for=, game.mjs): every block is in the markup and one shows. No
   attribute (no parameter, an unknown one, no scripts) is the default, «range». The swap happens before the first paint
   because the attribute is set before <body> is parsed and this sheet blocks rendering: no flash, no shift. */
.lp-hero [data-v]:not([data-v="range"]),
[data-for] .lp-hero [data-v="range"] { display: none; }
[data-for="curious"] .lp-hero [data-v="curious"], [data-for="desk"] .lp-hero [data-v="desk"], [data-for="daily"] .lp-hero [data-v="daily"] { display: block; }
[data-for="curious"] .lp-kicker[data-v="curious"], [data-for="desk"] .lp-kicker[data-v="desk"], [data-for="daily"] .lp-kicker[data-v="daily"] { display: flex; }
@media (max-width: 760px) {
  /* a phone's first screen is for the film, the question and the button: the units switch waits in the pages that print units */
  .lp .top .units { display: none; }
  /* and the film gives the deal line its height: 8:5 trims a sliver of the bench above and below the row */
  .lp-film { aspect-ratio: 8 / 5; }
  .lp-film img, .lp-film video { object-position: 50% 100%; }   /* the trim comes off the top, behind the caption: the numbered plates stay */
  .lp-hero h1 { margin-bottom: 12px; }
  .lp-hero h1 .big { font-size: clamp(32px, 9vw, 44px); }
  .lp-hero h1 .sub { margin-top: 8px; }
  /* the tag wraps left of the «YOUR CALL» flag (it starts at 49 % of the frame) */
  .lp-film-cap { font-size: 9.5px; letter-spacing: .05em; }
  .lp-deal { margin-top: 10px; }
  /* two short lines above the question: what it is, and the proof. No dot before a line of its own */
  .lp-kicker { display: block; margin-bottom: 6px; }
  .lp-kicker span { display: block; }
  .lp-kicker span + span::before { content: none; }
}
@media (min-width: 761px) {
  .lp-hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: clamp(28px, 4vw, 64px); padding-block: clamp(36px, 6vh, 72px); min-height: min(calc(100vh - 62px), 780px); }
  .lp-words { order: -1; }
  .lp-film { margin: 0; border: 1px solid var(--line-2); border-radius: var(--r-card); box-shadow: 0 24px 80px rgba(0,0,0,.5); }
  .lp-hero h1 .big { font-size: clamp(52px, 5.6vw, 88px); }
  .lp-deal, .lp-holds { font-size: 15.5px; }
  .lp-film-cap { font-size: 10.5px; left: 12px; top: 12px; }
}

/* ── the buttons: one row per device (html[data-dev], set in <head>); without scripts the iPhone row ────────────── */
.acts { display: none; }
html:not([data-dev]) .acts.v-ios, [data-dev="ios"] .acts.v-ios, [data-dev="mac"] .acts.v-mac, [data-dev="win"] .acts.v-win, [data-dev="other"] .acts.v-other { display: grid; gap: 12px; }
.acts-lead { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.acts-note { width: fit-content; margin: 0; padding-block: 6px; color: var(--bone); font-size: 15px; }
.soon { display: block; color: var(--bone-2); font: 600 14px/1.5 var(--plain); }
/* Apple's badge, as Apple draws it: never smaller than 40 px, a quarter of its height clear around it */
.badge { display: inline-block; line-height: 0; border-radius: 8px; }
.badge img { height: 40px; width: auto; }
.badge.big img { height: 54px; }
.lp-hero .plate { min-width: 240px; }
.lp-hero .badge img { height: 48px; }
/* beside the badge, on its row: «free» and the reader's price (critic wave 3, M1) */
.lp-hero .acts-lead { flex-wrap: nowrap; gap: 14px; }
.lp-hero .acts-lead > .badge { flex: none; }
.lp-cap { margin: 0; min-width: 0; font-size: 14px; line-height: 1.35; color: var(--bone-2); }
.lp-cap b { display: block; color: var(--bone); font-weight: 650; }
.lp-cap span { display: block; }
.lp-cap strong { color: var(--bone); font-weight: 650; white-space: nowrap; }
.lp-cap .lp-s1 { display: inline; }
/* the caption's figure shows once the reader's storefront is known to sell the game (store.mjs heroCap, game.js) */
.lp-cap .cap-f { display: none; }
.s1-ready .lp-cap .cap-f { display: inline; }
@media (max-width: 760px) { .lp-hero .badge img { height: 56px; } .lp-cap { font-size: 13.5px; } }
/* Japanese breaks between phrases, never inside a word (Chrome 119+; others keep the default) */
:lang(ja) .lp-hero h1 .big, :lang(ja) .lp-hero h1 .sub, :lang(ja) .lp-deal, :lang(ja) .lp-holds, :lang(ja) .lp-cap, :lang(ja) .lp h2, :lang(ja) .lp h3 { word-break: auto-phrase; text-wrap: balance; }
@media (max-width: 560px) { .lp-hero .acts-lead > .plate, .lp-close .acts-lead > .plate { width: 100%; } .acts-lead > .ghost { width: 100%; } }

/* ── the takes ──────────────────────────────────────────────────────────────────────────────────────────────── */
.takes-scroll { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.takes-scroll:focus-visible { outline-offset: -2px; }
.takes-row { list-style: none; margin: 0; padding: 0 var(--pad) 10px; display: grid; grid-auto-flow: column; grid-auto-columns: min(76vw, 300px); gap: 14px; width: max-content; }
.take { scroll-snap-align: start; min-width: 0; }
.take figure { margin: 0; display: grid; gap: 12px; }
.take-film { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-card); border: 1px solid var(--line); background: #000; }
.take-film img, .take-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--y, 80%); }
.take-film video { opacity: 0; transition: opacity .3s ease; }
.take-film video.on { opacity: 1; }
.take .log { display: flex; flex-wrap: wrap; gap: 2px 12px; margin: 0 0 6px; }
.take h3 { font-size: clamp(22px, 2.3vw, 26px); line-height: 1.06; }
.reveal { margin-top: 10px; }
.reveal summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ctl);
  font: 700 15px/1 var(--crew); letter-spacing: .08em; text-transform: uppercase; color: var(--bone); background: rgba(255,255,255,.04); }
.reveal summary::-webkit-details-marker { display: none; }
.reveal summary::after { content: "+"; font: 500 17px/1 var(--mono); color: var(--steel-mid); }
.reveal[open] summary::after { content: "–"; }
.reveal summary:hover { border-color: var(--steel-mid); }
.reveal p { margin: 12px 0 0; font-size: 16px; line-height: 1.5; color: rgba(244,241,234,.9); }
.reveal p b { color: var(--bone); font-weight: 650; }
.reveal .small { font-size: 13.5px; color: var(--bone-2); }
@media (min-width: 980px) {
  .takes-scroll { overflow: visible; }
  .takes-row { width: auto; max-width: var(--wrap); margin-inline: auto; grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; column-gap: 22px; }
}

/* The lower page alternates a piece of game evidence with the decision it supports. */
.lp-round, .lp-trust, .lp-daily, .lp-buy { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(22px, 4vw, 54px); }
.lp-round, .lp-trust, .lp-daily { align-items: center; }
.lp-round h2, .lp-trust h2, .lp-daily h2, #get-h { font-size: clamp(38px, 4.5vw, 64px); }
.lp-trust h2, .lp-daily h2 { margin-bottom: 18px; }
.lp-round p, .lp-trust p, .lp-daily p, .lp-plat p, .lp-offer p { color: var(--bone-2); }
.lp-steps { list-style: decimal-leading-zero; padding-left: 2.6em; margin: 22px 0 0; }
.lp-steps li { border-top: 1px solid var(--line-2); padding: 12px 0 8px 4px; }
.lp-steps li::marker { color: var(--blaze-hi); font: 600 14px/1 var(--mono); }
.lp-steps h3 { font-size: 24px; }
.lp-steps p { margin: 4px 0 0; font-size: 16px; }
.lp-replay { margin: 0; }
.lp-replay img { display: block; width: 100%; height: auto; border: 1px solid var(--line-2); border-radius: var(--r-card); }
.lp-replay figcaption { margin-top: 9px; }
/* «Why?»: a tall sheet from the game; never wider than a phone's screen shows it */
.lp-why { max-width: 420px; justify-self: center; width: 100%; }
/* «Why?» as HTML in the page's language (src/lib/landing.mjs whyTable; critic wave 4, C): the game's dark card */
.why-sheet { border: 1px solid var(--line-2); border-radius: var(--r-card); background: var(--card); padding: 12px 14px 4px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--bone-2); }
.why-sheet table { width: 100%; border-collapse: collapse; }
.why-sheet caption, .why-sheet th:first-child { text-align: left; padding-left: 0; }
.why-sheet caption { padding-bottom: 6px; text-transform: uppercase; }
.why-sheet th, .why-sheet td { padding: 8px 0 8px 10px; border-top: 1px solid var(--line); text-align: right; vertical-align: top; }
.why-sheet tbody th, .why-sheet td + td { color: var(--bone); }
.why-sheet span { display: block; font-size: 12.5px; font-weight: 500; color: var(--bone-2); }
.lp-lab { display: grid; gap: 9px; border-top: 1px solid var(--line-2); padding-top: 20px; }
.lp-lab p, .lp-plat p, .lp-offer p { margin: 0; }
.lp-links { display: flex; flex-wrap: wrap; column-gap: 24px; margin-bottom: 8px; }
.lp-links a { padding-block: 10px; color: var(--bone); font-weight: 600; }
.lp-record, .lp-grid, .lp-plat { padding: clamp(20px, 3vw, 34px); border: 1px solid var(--line-2); border-radius: var(--r-card); background: var(--raised); }
.lp-record p:last-child, .lp-trust .small, .lp-daily p:last-child { margin-bottom: 0; }
.lp-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0 0 20px; }
.lp-stats div:first-child { grid-column: 1 / -1; }
.lp-stats div { display: flex; flex-direction: column-reverse; }
.lp-stats dd { margin: 0; font: 800 32px/1.12 var(--crew); color: var(--bone); }
.lp-stats div:first-child dd { font-size: clamp(56px, 6vw, 78px); }
.lp-stats dt { font-size: 15px; color: var(--bone-2); }
.lp-record .small { border-top: 1px solid var(--line-2); padding-top: 13px; overflow-wrap: anywhere; }
.lp-record .small a { font: 13px var(--mono); }
.lp-grid { background: var(--bg); margin: 0; }
.lp-grid .lp-score { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--bone); margin: 14px 0; font: 800 30px/1.1 var(--crew); }
.lp-score strong { font-size: 44px; }
.lp-grid .lp-squares { margin: 0 0 18px; font: 24px/1.4 var(--plain); letter-spacing: 4px; }
.lp-grid .small { border-top: 1px solid var(--line-2); padding-top: 12px; }
.lp-daily b { color: var(--bone); }
.lp-buy { gap: 14px; }
.lp-offer { display: grid; gap: 22px; padding: 0 0 28px; }
.lp-offer h3 { margin-bottom: 8px; }
.lp-plat { display: flex; flex-direction: column; gap: 14px; }
.lp-plat h3 { font-size: 36px; }
.lp-facts { margin: 0; }
.lp-facts div { display: grid; grid-template-columns: 66px 1fr; align-items: baseline; gap: 10px; border-top: 1px solid var(--line); padding-block: 9px; }
.lp-facts dt { color: var(--bone-3); font: 600 10.5px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .09em; }
.lp-facts dd { margin: 0; font-size: 16px; }
.lp-facts dd strong { color: var(--bone); }
.lp-prices { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 4px; }
.lp-prices li { display: flex; justify-content: space-between; gap: 16px; max-width: 30em; padding-block: 3px; border-bottom: 1px dotted var(--line-2); }
.lp-prices li[hidden] { display: none; }
.lp-prices li[data-local] { order: -1; }
.lp-prices span { color: var(--bone-2); }
.lp-prices .lp-fig { flex: none; text-align: right; white-space: nowrap; }
.lp-prices .lp-then { display: block; font-size: 13.5px; }
.lp-fine { display: block; font-size: 13.5px; color: var(--bone-3); }
.lp-sale { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 999px; background: var(--blaze); color: var(--ink); font: 700 10.5px/1.7 var(--mono); text-transform: uppercase; letter-spacing: .08em; vertical-align: 2px; }
.lp-plat-go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 14px; margin-top: auto; border-top: 1px solid var(--line-2); }
.lp-close { text-align: center; background: var(--raised); border-top: 1px solid var(--line); }
.lp-close .mark { width: 48px; height: 48px; margin: 0 auto 16px; }
.lp-close h2 { font-size: clamp(52px, 8vw, 96px); text-transform: uppercase; line-height: .94; }
.lp-close p { max-width: 46ch; margin: 16px auto 24px; color: var(--bone-2); }
.lp-close .acts-lead { justify-content: center; }
.lp .foot .cols { gap: 24px; }
.lp .foot .cols > div:first-child p { max-width: 32ch; margin: 10px 0 0; }
@media (max-width: 759px) {
  .lp .foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp .foot .cols > div:first-child, .lp .foot .cols > div:last-child { grid-column: 1 / -1; }
  .lp .foot .cols > div:last-child ul { display: flex; flex-wrap: wrap; gap: 4px 18px; }
  .lp .foot li a { display: inline-block; padding-block: 4px; }
}
@media (min-width: 820px) {
  .lp-round { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 30px; }
  .lp-lab { grid-column: 1 / -1; grid-template-columns: 1fr 2fr; align-items: baseline; gap: 32px; }
  .lp-trust, .lp-daily { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .lp-buy, .lp-offer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-buy > .lp-plat:only-child { grid-column: 1 / -1; }   /* Mac and Windows unlisted: the iPhone card alone */
  .lp-offer { gap: 14px; }
  .lp-offer > div { padding-right: clamp(12px, 3vw, 40px); }
}

@media print { .lp-pause, .acts { display: none !important; } }

/* the hub's game section (home.mjs): its plate leads here */
.game-go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 0; }
a.phones { text-decoration: none; }
a.phones:hover .phone { border-color: var(--steel-mid); }

/* i18n.css — the language switcher (layout.mjs: a short link in the header, the list in the footer), the one-line
   suggestion of another language (site.js), and the condensed face for languages Barlow Condensed cannot set
   (i18n.mjs LANGS `crew`: its subset is Latin-1, so Polish, Turkish, Cyrillic and CJK use the system's faces whole,
   never a word with some letters in one face and some in another: layout.mjs puts that one rule in such a page's own
   <head>, so no other page carries it). Only pages with more than one language carry any of these elements. */
.top .lang-to { flex: none; font: 600 11px/1 var(--mono); letter-spacing: .12em; color: var(--bone-2); text-decoration: none; border: 1px solid var(--ctl); border-radius: 999px; padding: 8px 10px; }
.top .lang-to:hover { color: var(--bone); }
@media (max-width: 640px) { .top .lang-to { margin-left: auto; } .top .lang-to + .units { margin-left: 0; } }
.foot .langs { margin-top: 26px; }
.foot .langs ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot .langs [aria-current] { color: var(--bone); font-size: 15px; }
.lang-hint { display: flex; align-items: center; gap: 12px; justify-content: flex-end; margin-block: 8px 0; font-size: 14px; }
.lang-hint a { color: var(--bone); }
.lang-hint button { border: 0; background: none; color: var(--bone-3); font-size: 18px; line-height: 1; padding: 4px 8px; cursor: pointer; }
/* in a translation, a link to a page not translated yet (layout.mjs marks it hreflang="en") says so after its words
   (an English page has no such link in <main>) */
main a[hreflang="en"]::after { content: " EN"; font: 600 .72em/1 var(--mono); letter-spacing: .08em; color: var(--bone-3); }
/* Russian's condensed face (layout.mjs OWN_FACE, 29.11): Fira Sans Extra Condensed (SIL OFL), one file a weight holding
   Basic Latin, Latin-1, Cyrillic and the punctuation and arrows a heading uses (Google Fonts' own subset, `text=`),
   under a family of its own so Barlow's rules never mix into a word. Only a page whose --crew names it (Russian) asks
   for the files; build.mjs keeps these rules out of every other landing's inline styles. */
@font-face { font-family: "Crew Cyrillic"; src: url("fonts/fira-xc-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Crew Cyrillic"; src: url("fonts/fira-xc-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* speed.css — what Range log No. 002 (/how-fast-does-a-bullet-travel/) needs beyond site.css: controls that
   speed.js reveals, the race without scripts, the slowing-down chart's series and labels, and a few table widths.
   Series are bone and steel tints told apart by line style; blaze is only the dashed speed-of-sound line. */

.sp [hidden] { display: none !important; }

/* the short answer card sits in the article column */
.sp-card { margin: 4px 0 8px; }

/* panels */
.sp .panel { margin: 22px 0; }
.sp .panel figcaption, .sp-under { margin: 14px 0 0; font-size: 14px; line-height: 1.45; color: var(--bone-3); }
.sp-ctrls { display: flex; gap: 16px 8px; align-items: center; flex-wrap: wrap; }
.sp-dash { display: inline-block; width: 0; height: 13px; margin: 0 4px 0 2px; border-left: 1.5px dashed var(--blaze); vertical-align: -2px; }
.sp .tablewrap { margin: 18px 0 22px; }
.sp table.logt td .sub { margin-top: 2px; }
table.logt.sp-loads { font-size: 14px; }
table.logt.sp-loads th, table.logt.sp-loads td { padding-inline: 8px; }
table.logt.sp-loads th:first-child { padding-left: 16px; }
table.logt.sp-loads td:nth-child(2) { min-width: 170px; width: 190px; }
table.logt.sp-loads tbody th { font-size: 16px; }
.sp table.logt thead th .sub { display: block; margin-top: 3px; font: 500 10px/1.2 var(--mono); letter-spacing: .06em; color: var(--bone-3); text-transform: none; }
table.logt.sp-myths tbody th { white-space: normal; font: 600 15px/1.4 var(--plain); letter-spacing: 0; min-width: 210px; max-width: 320px; }
table.logt.sp-myths td { min-width: 260px; }

/* bars: the value column holds "3,240 ft/s" and its second line */
.sp-bars .barrow { grid-template-columns: minmax(84px, 140px) minmax(0, 1fr) minmax(86px, auto); }
.sp-bars .barrow .val small { font-weight: 500; }

/* the race: without scripts every round stands at the line with its time; speed.js arms it */
.sp-race .racelane { grid-template-columns: 160px minmax(0, 1fr) 68px; }
.sp-race .racelane .nm small { display: block; font: 500 10.5px/1.3 var(--mono); color: var(--bone-3); letter-spacing: .04em; }
.sp-race .race:not(.armed) .dot { left: auto; right: 0; }
.sp-race .racelane.ref .nm { color: var(--bone-2); }
.sp-racefoot { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.sp-racefoot .plate { min-width: 168px; }

/* the slowing-down chart */
.sp-chartbox { position: relative; }
.sp-chart text { font-size: var(--fs, 10px); } /* speed.js grows it where the chart is drawn small */
.sp-chart text.unit { fill: rgba(244,241,234,.45); }
.sp-chart line.snd { stroke: var(--blaze); stroke-width: 1.5; stroke-dasharray: 5 4; }
.sp-chart .series path { stroke-width: 2; }
.sp-chart .series .s1, .sp-chart .cursor .s1 { stroke: var(--bone); }
.sp-chart .series .s2, .sp-chart .cursor .s2 { stroke: var(--steel); stroke-dasharray: 9 4; }
.sp-chart .series .s3, .sp-chart .cursor .s3 { stroke: var(--steel-mid); }
.sp-chart .series .s4, .sp-chart .cursor .s4 { stroke: var(--bone); stroke-dasharray: 1.5 4; }
.sp-chart .series .s5, .sp-chart .cursor .s5 { stroke: var(--steel); stroke-dasharray: 5 3 1.5 3; }
.sp-chart .series .s6, .sp-chart .cursor .s6 { stroke: var(--steel-mid); stroke-dasharray: 3 3; }
.sp-chart .ends .lead { fill: none; stroke: rgba(244,241,234,.35); stroke-width: 1; }
.sp-chart .ends text { font-weight: 700; fill: var(--bone); }
.sp-chart .ends text.s2, .sp-chart .ends text.s5 { fill: var(--steel); }
.sp-chart .ends text.s3, .sp-chart .ends text.s6 { fill: var(--steel-mid); }
.sp-chart .ends text.snd { fill: var(--bone-2); font-weight: 500; }
.sp-chart { touch-action: pan-y; cursor: crosshair; }
.sp-chart:focus-visible { outline: 2px solid var(--steel); outline-offset: 4px; }
.sp-chart .cursor { opacity: 0; transition: opacity .12s ease; }
.sp-chart .cursor.on { opacity: 1; }
.sp-chart .cursor line { stroke: rgba(244,241,234,.5); stroke-width: 1; }
.sp-chart .cursor circle { fill: var(--bg); stroke-width: 2; stroke-dasharray: none; }
.sp-readout { margin: 0; flex: 1 1 260px; text-align: right; color: var(--bone-2); text-transform: none; letter-spacing: .04em; }

/* the closing block */
.sp-closing { padding: 20px; margin-top: 46px; }
.sp-closing .lead { margin: 10px 0 18px; }
.sp-gameacts { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

@media (max-width: 640px) {
  .sp .panel { padding: 14px; }
  .sp-readout { text-align: left; }
  /* a phone: each bar and each lane is a name line over a full-width track, so no label is cut or stacked three deep */
  .sp-bars .barrow { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "nm val" "track track"; gap: 4px 10px; align-items: end; padding-block: 3px; }
  .sp-bars .barrow .nm { grid-area: nm; font-size: 16px; }
  .sp-bars .barrow .nm small, .sp-race .racelane .nm small { display: inline; margin-left: 7px; font-size: 11px; }
  .sp-bars .barrow .track { grid-area: track; height: 14px; }
  .sp-bars .barrow .val { grid-area: val; font-size: 13px; display: flex; gap: 8px; align-items: baseline; }
  .sp-bars .barrow .val small { font-size: 11px; }
  .sp-race .racelane { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "nm t" "track track"; gap: 0 10px; }
  .sp-race .racelane .nm { grid-area: nm; font-size: 15px; }
  .sp-race .racelane .track { grid-area: track; height: 20px; border-right: 2px solid rgba(244,241,234,.5); }
  .sp-race .race .finish { display: none; }
  .sp-race .racelane .t { grid-area: t; font-size: 12.5px; }
  .sp-closing .clip { max-width: 220px; }
  /* the myths read as claim-over-answer cards rather than two squeezed columns */
  table.logt.sp-myths thead { display: none; }
  table.logt.sp-myths tr, table.logt.sp-myths tbody th, table.logt.sp-myths td { display: block; min-width: 0; max-width: none; }
  table.logt.sp-myths tbody th { border-bottom: 0; padding-bottom: 4px; }
  table.logt.sp-myths td { padding-top: 0; color: var(--bone-2); }
  table.logt.sp-myths tbody tr:not(:last-child) td { border-bottom: 1px solid var(--line); }
}

/* citations in the lead, outside .prose */
.article-head sup a { font: 600 11px var(--mono); text-decoration: none; color: var(--steel-mid); padding: 0 1px; }
.article-head sup a:hover { color: var(--bone); }
/* a pressed chip stays ink on steel under the pointer (site.css's hover would turn its text bone) */
.sp button.chip[aria-pressed="true"]:hover { color: var(--ink); }

/* spoke.css — the one-question pages (src/pages/q-*.mjs), and the few things the hub and the long reads gained with
   them. Built on site.css (BRAND_UI Variant B «Orange»): bone on navy, one blaze fill in view (the game plate), no
   green and red for outcomes. Loaded after site.css on every page. */

/* ── a spoke ── */
.spoke-head h1 { max-width: 18ch; }
.spoke-head .lead { max-width: 62ch; border-left: 2px solid var(--steel-mid); padding: 2px 0 2px 18px; }
.spoke > h2:first-of-type { margin-top: 8px; }
.spoke .answer { margin-top: 4px; }
.prose h3[id] { scroll-margin-top: 92px; }

/* a verdict that is a published statement, not a take: no picture, the same card */
.result.sourced { grid-template-columns: minmax(0, 1fr); }
.result.sourced .stamp { white-space: normal; }
.result.sourced .try { justify-content: flex-start; }
.result .tag { vertical-align: middle; margin-left: 8px; position: relative; top: -6px; }

/* the line for the range: the crew's voice, set apart from the evidence */
.say { margin: 30px 0 6px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: var(--r-card); font: 800 clamp(21px, 2.6vw, 26px)/1.15 var(--crew); letter-spacing: .01em; color: var(--bone) !important; }
.say .log { display: block; margin-bottom: 8px; }

/* from a verdict on a long read to the page that has the evidence */
.readon { margin: 2px 0 8px; }
/* a whole sentence, so it is set as one: in capitals it ran three or four lines and read as a shout (29.11) */
.readon .textlink { font: 600 16px/1.5 var(--plain); letter-spacing: 0; text-transform: none; color: var(--bone); border-bottom: 0; padding: 0;
  text-decoration: underline; text-decoration-color: var(--steel-mid); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.readon .textlink:hover { text-decoration-color: var(--bone); }

/* more from the log */
.morelog { margin-top: clamp(40px, 6vw, 64px); }
.morelog ul { list-style: none; margin: 12px 0 0; padding: 0 !important; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.morelog li { margin: 0; }
.morelog a { display: grid; gap: 6px; height: 100%; padding: 14px 16px; text-decoration: none; border: 1px solid var(--line); border-radius: var(--r-card); background: linear-gradient(180deg, var(--card), var(--raised)); transition: border-color .15s ease; }
.morelog a:hover { border-color: var(--line-2); }
.morelog b { font: 800 20px/1.1 var(--crew); letter-spacing: .01em; color: var(--bone); }
.morelog span { font: 500 12.5px/1.4 var(--mono); letter-spacing: .01em; color: var(--bone-3); }

/* the closing game block */
.spoke-game { margin-top: clamp(32px, 5vw, 56px); padding: clamp(20px, 3vw, 34px); display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); align-items: center; }
.spoke-game h2 { margin: 10px 0 0; padding: 0; }
.spoke-game .rule { margin: 14px 0 16px; }
.spoke-game .muted { margin-bottom: 20px; }
.spoke-game .phone { width: min(56vw, 220px); }

/* ── the hub's short answers: what stood on the bench, then the verdict ── */
.qa .pic { grid-row: span 4; }
.qa .setup { font-size: 10.5px; letter-spacing: .12em; color: var(--bone-2); margin-top: 2px; }
.qa .tag { justify-self: start; margin-top: 3px; font-size: 11px; padding: 5px 7px; }
.aboutlinks { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: baseline; margin-top: 18px; }
.aboutlinks .textlink { font-size: 15px; }

/* ── the matrix: a row name links to the object's page ── */
table.matrix tbody th .o a { color: inherit; text-decoration: underline; text-decoration-color: var(--bone-3); text-decoration-thickness: 1px; text-underline-offset: 3px; }
table.matrix tbody th .o a:hover { text-decoration-color: var(--bone); }

/* ── a table of sentences, not numbers: on a phone it fits the screen and wraps, so no column is off to the right ── */
@media (max-width: 640px) {
  table.logt.fit { min-width: 0; font-size: 14px; }
  table.logt.fit th, table.logt.fit td { padding: 10px 10px; white-space: normal; }
  table.logt.fit thead th { white-space: normal; letter-spacing: .06em; }
  table.logt.fit tbody th { font-size: 15.5px; }
  table.logt.fit thead th:first-child, table.logt.fit tbody th:first-child { position: static; }
  table.logt.fit .num { white-space: nowrap; }
}

/* thanks.css — /thanks/ (src/pages/thanks.mjs): the key after a purchase, and «send my key again». site.css's tokens;
   every class is `tk-`. The key is the one large thing on the page: set in the mono face, wide letter-spacing, so it
   can be read aloud and typed, and selectable as one piece. */
.tk { padding-block: clamp(36px, 6vw, 72px) clamp(40px, 6vw, 80px); }
.tk-in { max-width: 860px; }
.tk h1 { font-size: clamp(48px, 8vw, 92px); line-height: .9; text-transform: uppercase; margin: 10px 0 22px; }
.tk-lead { font: 700 clamp(24px, 3.2vw, 34px)/1.12 var(--crew); letter-spacing: .01em; margin: 0 0 12px; }
.tk-st .muted { max-width: 62ch; margin: 0 0 14px; }
.tk-st p a { white-space: nowrap; }
.tk-dot { display: inline-block; width: 12px; height: 12px; margin-right: 12px; border-radius: 50%; background: var(--blaze); vertical-align: .12em; animation: tk-pulse 1.2s ease-in-out infinite; }
@keyframes tk-pulse { 50% { opacity: .25; transform: scale(.7); } }
@media (prefers-reduced-motion: reduce) { .tk-dot { animation: none; } }

.tk-key { display: grid; gap: 14px; padding: clamp(18px, 3vw, 28px); margin: 18px 0 18px; border-color: var(--line-2); }
.tk-key .log { margin: 0; }
/* one line wherever it fits (29 characters ≈ 19.7em with the spacing); on a phone it breaks after a hyphen, between groups */
.tk-code { display: block; font: 700 clamp(22px, calc(2.6vw + 8px), 36px)/1.25 var(--mono); letter-spacing: .08em; color: var(--bone); overflow-wrap: break-word; user-select: all; -webkit-user-select: all; }
.tk-key .steelbtn { justify-self: start; min-width: 200px; }
.tk-mail { max-width: 64ch; color: var(--bone-2); margin: 0 0 20px; }
.tk-mail b { color: var(--bone); font-weight: 650; }
.tk-dl { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 8px; }
.tk-h2 { font-size: clamp(26px, 3.2vw, 34px); margin: clamp(30px, 4vw, 44px) 0 14px; }
.tk-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.tk-steps li { display: grid; gap: 8px; align-content: start; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--raised); }
.tk-steps p { margin: 0; color: var(--bone-2); }
.tk-steps b { color: var(--bone); font-weight: 650; }
.tk-no { font: 800 34px/1 var(--crew); color: var(--gunmetal); }

.tk-rec { display: grid; gap: 22px; max-width: 860px; }
.tk-rec h2 { margin: 10px 0 12px; }
.tk-rec .muted { margin: 0; max-width: 52ch; }
.tk-form { display: grid; gap: 8px; }
.tk-form label { font: 600 11.5px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-2); }
.tk-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tk-row input { flex: 1 1 240px; min-width: 0; min-height: 54px; padding: 0 16px; border-radius: var(--r-plate); border: 1px solid var(--ctl); background: var(--bg); color: var(--bone);
  font: 400 17px/1.2 var(--plain); }
.tk-row input:focus-visible { outline: 2px solid var(--blaze); outline-offset: 2px; border-color: var(--bone-3); }
.tk-row .plate { flex: 0 0 auto; }
.tk-row .plate[disabled] { opacity: .7; }
.tk-said { min-height: 1.5em; margin: 4px 0 0; color: var(--bone); max-width: 60ch; }
@media (max-width: 560px) { .tk-row .plate, .tk-key .steelbtn { width: 100%; } }

/* trust.css — the plain pages of text: about, methodology, corrections, contact, the game, the data, privacy
   (src/pages/*.mjs, the body from layout.mjs `doc`). Everything here is built from site.css's tokens and classes;
   these are only the few arrangements those pages need. Also the byline's links and the footer's fourth column,
   which layout.mjs adds on every page. */

/* the byline every article opens with: links read as part of the line */
.byline a { color: var(--bone-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.byline a:hover { color: var(--bone); text-decoration-color: var(--bone-3); }

/* the footer: four columns where there is room */
@media (min-width: 760px) { .foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .foot .cols { grid-template-columns: 1.4fr 1fr 1fr .8fr; } }

/* a page of text ends with air before the footer */
.layout.doc { padding-bottom: clamp(56px, 8vw, 104px); }
.layout.doc .prose > h2:first-child { margin-top: 0; }
.layout.doc .prose > .full:first-child + h2 { margin-top: clamp(40px, 5vw, 60px); }
.article-head.wide h1 { max-width: 19ch; }
.prose code { font: 500 .9em var(--mono); color: var(--bone); background: rgba(255,255,255,.06); padding: 1px 5px; border-radius: 4px; overflow-wrap: anywhere; }
.prose th code { background: none; padding: 0; }
.prose .logt small { display: block; margin-top: 3px; font: 600 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bone-3); }
.prose .logt td, .prose .logt th { vertical-align: top; }

/* two cards side by side */
.trust-two { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: stretch; }
.trust-two .panel > :last-child { margin-bottom: 0; }
.trust-two h3 { margin: 10px 0 8px; }
.trust-two p { color: var(--bone-2); }
.trust-list { list-style: none; padding: 0 !important; margin: 12px 0 0 !important; display: grid; gap: 10px; }
.trust-list li { margin: 0; padding-left: 18px; position: relative; color: var(--bone-2); }
.trust-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--steel-mid); }

/* a card of facts: label left, value right */
.trust-facts { margin: 22px 0; display: grid; gap: 0; padding-block: 6px; }
.trust-facts > div { display: grid; grid-template-columns: minmax(120px, 34%) minmax(0, 1fr); gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--line-2); align-items: baseline; }
.trust-facts > div:last-child { border-bottom: 0; }
.trust-facts dt { font: 600 11.5px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-3); }
.trust-facts dd { margin: 0; color: var(--bone); overflow-wrap: anywhere; }   /* the engine build is one long word */
.trust-two .trust-facts { margin: 0; }
.trust-dl { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
.trust-cite { font-family: var(--mono); font-size: 14px; color: var(--bone); overflow-wrap: anywhere; }

/* tables whose cells are sentences: wrapped on a wide screen, and on a phone each row becomes a block with its
   column heads as small labels (the table stays a table in the markup and in the .md twin) */
table.logt.trust-stack { min-width: 0; }
table.logt.trust-stack td, table.logt.trust-stack tbody th { white-space: normal; }
table.logt.trust-stack tbody th { min-width: 9ch; }
table.logt.trust-stack code { white-space: nowrap; }
.trust-cols .num { color: var(--bone-2); font-size: 13.5px; }
/* a column's name is one long word (objectsToStop9in10): it may break, rather than push the table past its box */
table.logt.trust-cols code { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  table.logt.trust-stack, table.logt.trust-stack tbody, table.logt.trust-stack tr, table.logt.trust-stack tbody th, table.logt.trust-stack td, table.logt.trust-stack caption { display: block; }
  table.logt.trust-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table.logt.trust-stack tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  table.logt.trust-stack tbody tr:last-child { border-bottom: 0; }
  table.logt.trust-stack tbody th, table.logt.trust-stack td { padding: 0; border: 0; text-align: left; }
  table.logt.trust-stack tbody th { font-size: 20px; margin-bottom: 4px; }
  table.logt.trust-stack td { margin-top: 9px; }
  table.logt.trust-stack td[data-l]::before { content: attr(data-l); display: block; font: 600 10.5px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-3); }
  table.logt.trust-stack td.n { font-family: var(--plain); }
}

/* the corrections log */
.trust-log { list-style: none; padding: 0 !important; margin: 22px 0 !important; display: grid; gap: 14px; max-width: var(--text); }
.trust-log > li { margin: 0; padding: 20px; scroll-margin-top: 96px; }
.trust-log .log { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.trust-log h3 { margin: 10px 0 10px; }
.trust-log li > :last-child { margin-bottom: 0; }
.trust-log ul { margin-top: 12px; }

/* contact */
.trust-mail { max-width: var(--text); }
.trust-addr { margin: 8px 0 10px; font: 800 clamp(30px, 6vw, 52px)/1.05 var(--crew); letter-spacing: .01em; overflow-wrap: anywhere; }
.trust-addr a { color: var(--bone); text-decoration: none; border-bottom: 2px solid var(--blaze); }
.trust-what { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.trust-what .panel { display: grid; gap: 8px; align-content: start; }
.trust-what h3 { margin: 0; }
.trust-what p { margin: 0; color: var(--bone-2); font-size: 16px; }
.trust-links { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; margin-top: 6px !important; font-size: 15px; }

.trust-short { max-width: var(--text); }
.layout.doc .steps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

/* units.css — both systems are in the markup as "900 ft/s (274 m/s)" for readers without styles; a page shows one. */
.metric .p { display: none; }
/* a language whose default is metric writes "274 m/s (900 ft/s)": the brackets are in the US span then */
.us .p { display: none; }
