/* The Sealed Selector — thesealedselector.com (ported from the workspace prototype, web/prototype/).
   Colours come from /data/tokens.css (generated from the workspace's data/brand/tokens.json).
   Type: Instrument Serif for names and headlines, Archivo for words, DM Mono for numbers only.
   Accent budget: New Ball appears only on a SELECTED stamp. Foil appears only on signed cards.
   No rounded corners and no drop shadows on the brand's own objects: they are team sheets,
   honours boards and scorebooks, not dashboard cards. */

@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/InstrumentSerif-Regular.woff2?v=9b044f28dd") format("woff2"); font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/assets/fonts/Archivo-Regular.woff2?v=0105cf4ecd") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/assets/fonts/Archivo-Bold.woff2?v=cbdf022fe0") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Archivo SemiCondensed"; src: url("/assets/fonts/Archivo_SemiCondensed-SemiBold.woff2?v=9b1f60b530") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Archivo Condensed"; src: url("/assets/fonts/Archivo_Condensed-ExtraBold.woff2?v=16de4ba46c") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("/assets/fonts/DMMono-Light.woff2?v=4a3455821e") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("/assets/fonts/DMMono-Regular.woff2?v=cbf26ecfed") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("/assets/fonts/DMMono-Medium.woff2?v=6ff865054c") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Archivo", system-ui, sans-serif;
  --semi: "Archivo SemiCondensed", "Archivo", system-ui, sans-serif;
  --stamp: "Archivo Condensed", "Archivo", sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --page: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ink: var(--cream);
  --ink-2: var(--sage);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .045 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--outfield); scroll-padding-top: 120px; }
body {
  margin: 0;
  background: var(--outfield) var(--grain);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cream); color: var(--pavilion); padding: 8px 12px; z-index: 30; }
.skip:focus { left: 8px; }
.num { font-family: var(--mono); font-weight: 400; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.glyph { width: 1em; height: 1.3em; display: inline-block; vertical-align: -0.2em; flex: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.small { font-size: 13px; }
.quiet { color: var(--sage); }

/* ---------------------------------------------------------------- masthead + season bar */
.masthead { position: sticky; top: 0; z-index: 20; background: rgba(10, 20, 16, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--boundary); }
.masthead-in { max-width: var(--page); margin: 0 auto; padding: 18px var(--gutter) 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; }
.wordmark { display: flex; align-items: flex-end; gap: 12px; text-decoration: none; color: var(--cream); }
.wordmark-mark { width: 30px; height: 40px; color: var(--cream); }
.wordmark-type { display: flex; flex-direction: column; }
.wordmark-the { font: 400 10px/1 var(--mono); letter-spacing: .32em; color: var(--sage); margin-bottom: 4px; }
.wordmark-name { font: 400 22px/.9 var(--serif); letter-spacing: .02em; }
.nav { display: flex; gap: 2px 20px; flex-wrap: wrap; align-items: center; }
.nav a { text-decoration: none; color: var(--sage); font: 600 15px/1 var(--semi); padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--cream); }
.nav a[aria-current="page"] { color: var(--cream); border-bottom-color: var(--cream); }
.nav a.nav-join { color: var(--outfield); background: var(--cream); padding: 8px 12px; border: 0; }
.nav a.nav-join:hover { background: #fff; }
.nav a.nav-join[aria-current="page"] { outline: 1px solid var(--cream); outline-offset: 2px; }

.seasonbar { border-top: 1px solid var(--boundary); background: var(--pavilion); }
.seasonbar-in { max-width: var(--page); margin: 0 auto; padding: 8px var(--gutter); display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; font-size: 14px; }
.sb-label { font: 600 14px/1 var(--semi); color: var(--sage); white-space: nowrap; }
.sb-label .num { color: var(--cream); font-size: 18px; display: inline-block; min-width: 2ch; }
.sb-step { background: none; border: 1px solid var(--boundary); color: var(--cream); width: 28px; height: 28px; cursor: pointer; font-size: 18px; line-height: 1; }
.sb-step:disabled { opacity: .35; cursor: default; }
.sb-range { flex: 1 1 200px; min-width: 140px; appearance: none; -webkit-appearance: none; height: 28px; background: transparent; cursor: pointer; }
.sb-range::-webkit-slider-runnable-track { height: 6px; background: linear-gradient(90deg, var(--sage) 0 var(--posted), var(--boundary) var(--posted)); }
.sb-range::-moz-range-track { height: 6px; background: linear-gradient(90deg, var(--sage) 0 var(--posted), var(--boundary) var(--posted)); }
.sb-range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 22px; margin-top: -8px; background: var(--cream); border: 0; clip-path: polygon(0 12%, 25% 0, 50% 12%, 75% 0, 100% 12%, 100% 88%, 75% 100%, 50% 88%, 25% 100%, 0 88%); }
.sb-range::-moz-range-thumb { width: 14px; height: 22px; background: var(--cream); border: 0; border-radius: 0; }
.sb-note { color: var(--sage); flex: 1 1 260px; }
.sb-flag { color: var(--cream); font-weight: 700; }
.sb-jumps { display: flex; gap: 6px; flex-wrap: wrap; }
.sb-jumps .short { display: none; }

main { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter) 80px; outline: none; }
main > section, main > article { padding-top: 64px; }
main > .page-top { padding-top: 40px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; color: var(--cream); }
h1 { font-size: clamp(44px, 7.2vw, 88px); line-height: .98; letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 3.8vw, 42px); line-height: 1.05; }
h3 { font-size: 24px; line-height: 1.15; }
h3 a, h2 a { text-decoration: none; }
h3 a:hover { text-decoration: underline; }
.page-h { font-size: clamp(40px, 6vw, 72px); }
.page-sub { margin-top: 10px; max-width: 64ch; }
.sub-h { font-size: 26px; margin: 28px 0 14px; }
.section-sub { margin: 8px 0 18px; }
p { margin: 0; }
.lede { max-width: 54ch; color: var(--cream); font-size: 19px; line-height: 1.55; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 22px; }
.section-head p { color: var(--sage); max-width: 62ch; }
.more { font: 600 15px/1 var(--semi); color: var(--cream); text-underline-offset: 4px; }
.more-line { margin-top: 16px; }
.empty { color: var(--sage); padding: 20px 0; }
.note { font-size: 13px; color: var(--sage); margin-top: 12px; max-width: 80ch; }

/* ---------------------------------------------------------------- hero: the replay */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 56px; align-items: end; padding-top: 48px; }
.hero h1 { display: flex; align-items: baseline; gap: .18em; flex-wrap: wrap; }
.hero-after { font-size: .62em; color: var(--sage); }
.hero-n { font-family: var(--mono); font-weight: 300; font-size: 1.5em; line-height: .8; letter-spacing: -.04em; color: var(--cream); }
.hero .lede { margin-top: 22px; }
.scorebug { border: 1px solid var(--boundary); background: var(--pavilion); padding: 18px 22px 16px; min-width: 260px; }
.scorebug-top { font: 500 44px/1 var(--mono); color: var(--cream); display: block; }
.scorebug-sub { font: 300 15px/1.3 var(--mono); color: var(--sage); display: block; margin-top: 8px; letter-spacing: .06em; }
.scorebug-rows { margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--boundary); display: grid; grid-template-columns: auto auto; gap: 4px 20px; font: 400 14px/1.4 var(--mono); color: var(--sage); }
.scorebug-rows dt a { text-decoration: none; }
.scorebug-rows dt a:hover { color: var(--cream); text-decoration: underline; }
.scorebug-rows dd { margin: 0; text-align: right; color: var(--cream); }
main > .replay { padding-top: 36px; }

/* the one orchestrated moment: on arrival the scorebook fills pack by pack */
@media (prefers-reduced-motion: no-preference) {
  .is-arriving .replay .mark { animation: drop .45s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 32ms); }
  @keyframes drop { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
}

/* ---------------------------------------------------------------- four XIs */
.xi-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--boundary); }
.xi-tile { display: grid; gap: 8px; padding: 18px 18px 16px; text-decoration: none; color: var(--cream); border-right: 1px solid var(--boundary); background: transparent; }
.xi-tile:last-child { border-right: 0; }
.xi-tile:hover { background: var(--pavilion); }
.xi-tile.is-spot { background: var(--raised); }
.xi-name { font: 400 24px/1.1 var(--serif); }
.xi-count { font-size: 40px; line-height: 1; }
.xi-count span { color: var(--sage); font-size: 22px; }
.pips { display: flex; gap: 3px; }
.pips i { flex: 1; height: 8px; border: 1px solid var(--boundary); }
.pips i.on { background: var(--cream); border-color: var(--cream); }
.pips i.foil { background: var(--foil); border-color: var(--foil); }
.xi-meta, .xi-last { color: var(--sage); font-size: 14px; line-height: 1.4; }
.xi-last { color: var(--cream); }

/* ---------------------------------------------------------------- the board */
.tabs { display: inline-flex; border: 1px solid var(--boundary); flex-wrap: wrap; }
.tabs a { text-decoration: none; padding: 9px 14px; font: 600 15px/1 var(--semi); color: var(--sage); display: flex; gap: 8px; align-items: baseline; }
.tabs a + a { border-left: 1px solid var(--boundary); }
.tabs a .num { font-size: 13px; }
.tabs a:hover { color: var(--cream); }
.tabs a[aria-selected="true"] { background: var(--raised); color: var(--cream); }
.board { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.board-group { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin: 14px 0 0; color: var(--sage); font: 600 14px/1 var(--semi); }
.board-group::after { content: ""; flex: 1; border-top: 1px solid var(--boundary); }
.board-group:first-child { margin-top: 0; }
.slot { position: relative; background: var(--pavilion); border: 1px solid var(--boundary); min-width: 0; display: flex; flex-direction: column; text-align: left; padding: 0; text-decoration: none; color: var(--cream); }
.slot-head { display: flex; justify-content: space-between; padding: 8px 10px 7px; font: 400 12px/1 var(--mono); color: var(--sage); border-bottom: 1px solid var(--boundary); }
.slot-pic { aspect-ratio: 181 / 160; background: var(--outfield); overflow: hidden; display: grid; place-items: center; }
.slot-pic img { width: 100%; height: 100%; object-fit: cover; }
.slot-pic > .glyph { width: 30%; height: auto; aspect-ratio: 200/260; color: var(--dim); }
.slot-body { padding: 9px 10px 10px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.slot-name { font: 400 19px/1.1 var(--serif); color: var(--cream); overflow-wrap: anywhere; }
.slot-meta { display: flex; justify-content: space-between; gap: 8px; font: 400 12px/1.2 var(--mono); color: var(--sage); }
.slot.filled { background: var(--raised); }
.slot.filled:hover { border-color: var(--sage); }
.slot.signed { border-color: var(--foil); }
.slot.signed .slot-meta .serial { color: var(--foil); }
.slot.vacant { border-style: dashed; }
.slot.vacant .slot-pic { background: transparent; }
.slot.vacant .slot-name { color: var(--dim); font: 400 13px/1.2 var(--mono); letter-spacing: .12em; }
.slot.state { background: var(--pavilion); padding: 12px; justify-content: space-between; gap: 12px; }
.state-big { font: 500 36px/1 var(--mono); }
.state-line { font: 400 13px/1.45 var(--mono); color: var(--sage); }
.state-line b { color: var(--cream); font-weight: 400; }

.rarity { display: flex; gap: 2px; align-items: flex-end; height: 10px; }
.rarity i { width: 4px; background: var(--boundary); height: 5px; }
.rarity i.on { background: var(--sage); }
.rarity i.at { background: var(--cream); height: 10px; }
.rarity.foil i.at { background: var(--foil); }

.hunting { margin-top: 16px; display: flex; gap: 8px 24px; flex-wrap: wrap; color: var(--sage); font-size: 15px; }
.hunting strong { color: var(--cream); font-weight: 400; }

/* ---------------------------------------------------------------- stamps (brand §6) */
.stamp {
  display: inline-block; font: 800 22px/1 var(--stamp); letter-spacing: .04em; text-transform: uppercase;
  padding: 7px 12px 6px; border: 3px solid currentColor; transform: rotate(-4deg); white-space: nowrap; flex: none;
}
.stamp.selected { color: var(--newball); }
.stamp.signed { color: var(--foil); }
.stamp.rejected { color: var(--sage); }
.stamp.second { color: var(--cream); }
.stamp.dropped { color: var(--sage); border-style: dashed; }

/* ---------------------------------------------------------------- latest + honours + hunt */
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.honours {
  background: var(--pavilion); border: 1px solid var(--boundary);
  box-shadow: inset 0 0 0 5px var(--pavilion), inset 0 0 0 6px var(--boundary);
  padding: 30px 30px 24px;
}
.honours h2 { text-align: center; font-size: 34px; }
.honours .sub { text-align: center; color: var(--sage); font-size: 14px; margin: 6px 0 20px; }
.honours ol { list-style: none; margin: 0; padding: 0; }
.honours li { border-top: 1px solid var(--boundary); }
.honours li a { display: grid; grid-template-columns: 4.4em minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline; padding: 11px 0; text-decoration: none; }
.honours li a:hover .h-name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.h-pack { font: 400 13px/1 var(--mono); color: var(--sage); }
.h-name { font: 400 22px/1.15 var(--serif); }
.h-card { grid-column: 2; color: var(--sage); font-size: 14px; }
.h-serial { font-size: 15px; grid-row: 1; grid-column: 3; text-align: right; }
.h-shirt { grid-column: 3; font: 400 12px/1 var(--mono); color: var(--sage); text-align: right; }
.honours li.is-signed .h-name, .honours li.is-signed .h-serial { color: var(--foil); }
.honours li.is-gone .h-name { color: var(--sage); text-decoration: line-through; text-decoration-thickness: 1px; }

.latest { border: 1px solid var(--boundary); padding: 24px; display: grid; gap: 16px; }
.latest-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.latest-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.mini { display: block; aspect-ratio: 5/7; background: var(--outfield); border: 1px solid var(--boundary); overflow: hidden; }
.mini img { width: 100%; height: 100%; object-fit: cover; }
.mini:hover { border-color: var(--sage); }
.watch { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--sage); font-size: 15px; }
.watch a { color: var(--cream); }

.hunt { margin-top: 24px; border: 1px solid var(--boundary); padding: 22px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.hunt .glyph { width: 46px; height: 60px; color: var(--foil); }
.hunt dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 18px; margin: 12px 0 0; font-size: 15px; }
.hunt dt { color: var(--sage); }
.hunt dd { margin: 0; }

/* ---------------------------------------------------------------- scorebook */
.scorebook { border: 1px solid var(--boundary); padding: 22px 22px 16px; background: var(--pavilion); margin: 0; }
.scorebook-scroll { overflow-x: auto; }
.scorebook-grid { display: grid; grid-template-columns: 5em repeat(var(--packs), minmax(18px, 1fr)); gap: 6px 6px; align-items: center; min-width: calc(5em + var(--packs) * 24px); }
.scorebook-grid .rowlab { font: 400 12px/1 var(--mono); color: var(--sage); }
.collab { font: 400 12px/1 var(--mono); color: var(--sage); text-align: center; padding: 7px 0 4px; border: 0; border-top: 1px solid var(--boundary); background: none; text-decoration: none; cursor: pointer; }
.collab.is-posted { text-decoration: underline; text-underline-offset: 3px; }
.collab:hover { color: var(--cream); }
.collab.is-at { background: var(--cream); color: var(--outfield); border-top-color: var(--cream); }
.mark { display: grid; place-items: center; padding: 4px 0; text-decoration: none; }
.mark .glyph { width: clamp(14px, 2.2vw, 24px); height: auto; aspect-ratio: 200/260; transition: transform .12s; }
.mark:hover .glyph, .mark:focus-visible .glyph { transform: translateY(-2px); }
.m-rejected { color: var(--dim); }
.mark.m-rejected .glyph { transform: scale(.72); }
.mark.m-rejected:hover .glyph { transform: scale(.72) translateY(-2px); }
.m-selected { color: var(--cream); }
.m-second { color: var(--cream); }
.m-dropped { color: var(--sage); }
.m-signed { color: var(--foil); }
.m-later { color: var(--boundary); }
.mark.m-later .glyph { transform: scale(.6); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--boundary); font-size: 14px; color: var(--sage); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend .glyph { width: 14px; height: 18px; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--boundary); }
.fact { padding: 16px 20px 4px 0; }
.fact + .fact { padding-left: 20px; border-left: 1px solid var(--boundary); }
.fact .num { font-size: 30px; line-height: 1; display: block; }
.fact p { color: var(--sage); font-size: 14px; margin-top: 8px; }

/* stat row, used on team, player and numbers pages */
.statrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-top: 1px solid var(--boundary); border-bottom: 1px solid var(--boundary); }
.statrow > div { padding: 18px 18px 16px 0; border-right: 1px solid var(--boundary); }
.statrow > div:last-child { border-right: 0; }
.statrow > div + div { padding-left: 18px; }
.statrow .num { font-size: 34px; line-height: 1; display: block; }
.statrow .num small { font-size: 18px; color: var(--sage); }
.statrow p { color: var(--sage); font-size: 14px; margin-top: 8px; line-height: 1.4; }

/* bars */
.bars { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 9em 1fr 3em; gap: 12px; align-items: center; font-size: 15px; }
.bar-track { height: 12px; display: block; }
.bar-fill { display: block; height: 12px; background: var(--sage); min-width: 2px; }
.bar-track.seg { display: flex; gap: 2px; }
.bar-track.seg i { flex: 1; height: 12px; border: 1px solid var(--boundary); }
.bar-track.seg i.on { background: var(--cream); border-color: var(--cream); }
.bar .num { text-align: right; font-size: 14px; }
.meter-row { margin-top: 14px; }
.meter { height: 8px; background: var(--boundary); margin-top: 6px; }
.meter > i { display: block; height: 8px; background: var(--cream); }

/* histogram */
.histo { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; height: 240px; align-items: end; border-bottom: 1px solid var(--boundary); padding-top: 24px; }
.h-col { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; position: relative; cursor: default; }
.h-val { font-size: 13px; text-align: center; color: var(--cream); margin-bottom: 4px; }
.h-bar { display: block; background: var(--sage); min-height: 0; }
.h-bar.signed-band { background: var(--foil); }
.h-col:hover .h-bar { background: var(--cream); }
.h-lab { position: absolute; bottom: -24px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--sage); }
.histo + .note { margin-top: 34px; }

/* ladder */
.ladder { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--boundary); }
.ladder li { display: grid; grid-template-columns: 2.4em minmax(0, 1fr) minmax(0, 12em) 4em 8em; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--boundary); align-items: center; font-size: 15px; }
.ladder .rung { font-size: 13px; color: var(--sage); }
.ladder .odds { color: var(--sage); font-size: 13px; }
.ladder .pulled { display: flex; gap: 3px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.ladder .pulled .glyph { width: 14px; height: 18px; }
.ladder li.none { color: var(--sage); }

.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }

.timeline { list-style: none; margin: 16px 0 0; padding: 0; border-left: 1px solid var(--boundary); }
.timeline li { display: grid; grid-template-columns: 5.4em 1fr; gap: 10px; padding: 0 0 16px 16px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; background: var(--cream); }
.timeline li.is-signed::before { background: var(--foil); }
.t-pack { font-size: 13px; color: var(--sage); padding-top: 2px; }
.t-body a { color: var(--cream); }
.t-body .quiet { font-size: 14px; }

.repeats { list-style: none; margin: 0; padding: 0; }
.repeats li { display: grid; grid-template-columns: 2.6em minmax(0, 1fr) auto; gap: 10px; padding: 8px 0; border-top: 1px solid var(--boundary); align-items: baseline; }
.repeats li .quiet { font-size: 13px; text-align: right; }

/* tables */
.table-wrap { overflow-x: auto; border-top: 1px solid var(--boundary); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--boundary); vertical-align: baseline; }
.table thead th { font: 600 13px/1.2 var(--semi); color: var(--sage); }
.table tbody th { font: 400 19px/1.2 var(--serif); }
.table tbody th a, .table td a { text-decoration: none; }
.table tbody th a:hover, .table td a:hover { text-decoration: underline; }
.table td.num { font-size: 14px; }
.table .small { display: block; }
.th { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.th[aria-pressed="true"] { color: var(--cream); text-decoration: underline; }
.tag { font: 400 11px/1 var(--mono); border: 1px solid var(--sage); color: var(--sage); padding: 2px 4px; vertical-align: 3px; }
.won { white-space: nowrap; }
.won .glyph { color: var(--cream); width: 11px; height: 14px; }
.packs-table td.watch { display: table-cell; font-size: 14px; }
.packs-table td.watch a { margin-right: 10px; }

/* ---------------------------------------------------------------- every card */
.filters { display: grid; gap: 12px; padding: 14px 0; border-top: 1px solid var(--boundary); border-bottom: 1px solid var(--boundary); margin-bottom: 20px; position: sticky; top: var(--sticky, 118px); background: var(--outfield); z-index: 3; }
.chips, .selects { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.chip { border: 1px solid var(--boundary); background: none; padding: 7px 12px; font: 600 14px/1 var(--semi); color: var(--sage); cursor: pointer; display: inline-flex; gap: 8px; align-items: baseline; text-decoration: none; }
.chip .num { font-size: 12px; }
.chip:hover { color: var(--cream); }
.chip[aria-pressed="true"] { background: var(--raised); color: var(--cream); border-color: var(--sage); }
.field { background: var(--pavilion); border: 1px solid var(--boundary); color: var(--cream); padding: 8px 10px; font: 400 15px/1.2 var(--sans); min-width: 0; }
.field::placeholder { color: var(--sage); }
.selects .grow { flex: 1 1 200px; }
.count-line { color: var(--sage); font-size: 14px; margin-bottom: 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 26px 16px; }
.tile { text-decoration: none; display: flex; flex-direction: column; gap: 9px; color: var(--cream); min-width: 0; }
.tile-frame { aspect-ratio: 1; background: var(--pavilion); border: 1px solid var(--boundary); display: grid; place-items: center; position: relative; overflow: hidden; }
.tile-frame img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; }
.tile:hover .tile-frame { border-color: var(--sage); }
.tile.is-signed .tile-frame { border-color: var(--foil); }
.tile-state { position: absolute; top: 8px; right: 8px; width: 14px; height: 18px; }
.tile-name { font: 400 20px/1.1 var(--serif); }
.tile-meta { color: var(--sage); font-size: 13px; line-height: 1.35; display: flex; justify-content: space-between; gap: 8px; }
.tile-meta .num { font-size: 12px; }
.nophoto { display: grid; place-items: center; gap: 6px; color: var(--dim); font: 400 12px/1 var(--mono); }
.nophoto .glyph { width: 28px; height: 36px; }

/* ---------------------------------------------------------------- one card */
.crumbs { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font: 600 14px/1 var(--semi); color: var(--sage); margin-bottom: 22px; }
.crumbs a { color: var(--sage); text-decoration: none; }
.crumbs a:hover { color: var(--cream); text-decoration: underline; }
.crumb-steps { display: flex; gap: 18px; }
.cp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: start; }
.cp-pic { position: sticky; top: 140px; display: grid; gap: 12px; justify-items: center; }
.cp-frame { background: var(--pavilion); border: 1px solid var(--boundary); padding: clamp(16px, 3vw, 36px); width: 100%; display: grid; place-items: center; min-height: 320px; }
.cp-frame.is-signed { border-color: var(--foil); }
.cp-frame img { max-height: 64vh; width: auto; }
.cp-flip { display: flex; gap: 6px; }
.cp-info { display: flex; flex-direction: column; gap: 22px; }
.cp-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.cp-top .page-h { font-size: clamp(40px, 5vw, 64px); }
.cp-info .who { color: var(--sage); margin-top: 8px; }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: 9px 22px; margin: 0; font-size: 15px; border-top: 1px solid var(--boundary); padding-top: 16px; }
.dl dt { color: var(--sage); }
.dl dd { margin: 0; }
.dl dd.big { font-size: 22px; line-height: 1.1; }
.foil-word { font: 600 14px/1 var(--semi); color: var(--foil); margin-left: 6px; }
.cp-rarity { border: 1px solid var(--boundary); padding: 16px; }
.cp-rarity-head { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; color: var(--sage); font-size: 15px; }
.cp-score { font-size: 46px; line-height: 1; color: var(--cream); }
.sbars { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; height: 64px; align-items: end; margin-top: 14px; }
.sbar { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.sbar i { display: block; background: var(--boundary); }
.sbar b { font: 400 11px/1 var(--mono); color: var(--sage); text-align: center; padding-top: 4px; }
.sbar.is-at i { background: var(--cream); }
.sbar.is-at.foil i { background: var(--foil); }
.sbar.is-at b { color: var(--cream); }
.story { border-left: 2px solid var(--boundary); padding-left: 14px; }
.story .big { font: 400 24px/1.2 var(--serif); }
.story p { color: var(--sage); font-size: 15px; margin-top: 6px; }
.story .src { font-size: 13px; }
.story a { color: var(--sage); }
.cp-watch { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; color: var(--sage); }
.cp-watch a { color: var(--cream); margin-left: 6px; }

/* ---------------------------------------------------------------- a pack */
.pack-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; }
.pack-card { text-decoration: none; display: flex; flex-direction: column; gap: 8px; color: var(--cream); }
.pack-card .tile-frame { aspect-ratio: 5/7; }
.pack-card.is-hero .tile-frame { border-color: var(--cream); }
.pack-card.is-signed .tile-frame { border-color: var(--foil); }
.pc-n { font-size: 12px; color: var(--sage); }

.watch-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.watch-item { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start; border-top: 1px solid var(--boundary); padding-top: 14px; }
.watch-pic { aspect-ratio: 5/7; background: var(--pavilion); border: 1px solid var(--boundary); display: grid; place-items: center; overflow: hidden; }
.watch-pic img { width: 100%; height: 100%; object-fit: cover; }
.watch-item .watch { margin-top: 8px; }

/* ---------------------------------------------------------------- pick your XI */
.pick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: start; }
.pool-group h3 { font-size: 20px; margin: 22px 0 8px; }
.pool { display: flex; flex-wrap: wrap; gap: 8px; }
.pool button { border: 1px solid var(--boundary); background: var(--pavilion); padding: 7px 11px 7px 8px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; font-size: 15px; }
.pool button .glyph { width: 12px; height: 16px; color: var(--sage); }
.pool button[aria-pressed="true"] { background: var(--raised); border-color: var(--cream); }
.pool button[aria-pressed="true"] .glyph { color: var(--cream); }
.pool button:disabled { opacity: .45; cursor: not-allowed; }
.mine { position: sticky; top: 140px; border: 1px solid var(--boundary); background: var(--pavilion); padding: 22px; }
.mine ol { list-style: none; margin: 16px 0; padding: 0; }
.mine li { display: grid; grid-template-columns: 2.2em 1fr auto; gap: 10px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--boundary); }
.mine li .num { color: var(--sage); font-size: 13px; }
.mine li .who { font: 400 20px/1.1 var(--serif); }
.mine li .who.open { color: var(--dim); font: 400 13px/1.2 var(--mono); letter-spacing: .1em; }
.mine li .also { font-size: 13px; color: var(--sage); }
.mine .agree { color: var(--sage); font-size: 15px; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.btn { border: 1px solid var(--cream); background: var(--cream); color: var(--outfield); padding: 11px 16px; font: 600 15px/1 var(--semi); cursor: pointer; text-decoration: none; display: inline-block; }
.btn:hover { background: #fff; }
.btn.ghost { background: none; color: var(--cream); border-color: var(--boundary); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------------------------------------------------------------- ledger + the Selection Sheet */
.ledger { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--boundary); border-bottom: 1px solid var(--boundary); }
.ledger div { padding: 18px 18px 18px 0; }
.ledger div + div { padding-left: 18px; border-left: 1px solid var(--boundary); }
.ledger .num { font-size: 26px; display: block; }
.ledger p { color: var(--sage); font-size: 14px; margin-top: 6px; }

/* The sign-up is laid out as a scorecard you fill in: the one place the cream ground appears. */
.sheet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; align-items: center; margin-top: 72px; padding: 44px clamp(20px, 4vw, 48px) !important; background: var(--cream); color: var(--outfield); }
.sheet h2, .sheet .lede { color: var(--outfield); }
.sheet .lede { margin-top: 14px; }
.sheet .note { color: #3c5248; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-size: 16px; }
.ticks .glyph { width: 14px; height: 18px; margin-top: 3px; }
.sheet .ticks .glyph { color: var(--raised); }
.signup-form { display: grid; gap: 10px; }
.signup-row { display: flex; gap: 8px; flex-wrap: wrap; }
.signup-row .field { flex: 1 1 220px; padding: 12px; font-size: 16px; }
.sheet .field { background: #fff; color: var(--outfield); border-color: var(--outfield); }
.sheet .field::placeholder { color: #55695f; }
.sheet .btn { background: var(--outfield); color: var(--cream); border-color: var(--outfield); }
.sheet .btn:hover { background: var(--raised); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--raised); flex: none; }
.form-msg { font-size: 14px; min-height: 1.2em; font-weight: 700; }
.done { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; }
.done .glyph { width: 18px; height: 24px; }
.sheet :focus-visible { outline-color: var(--outfield); }

.join { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.join-main .lede { margin: 18px 0 26px; }
.join-main .signup-form { background: var(--cream); color: var(--outfield); padding: 24px; }
.join-main .signup-form .field { background: #fff; color: var(--outfield); border-color: var(--outfield); }
.join-main .signup-form .btn { background: var(--outfield); color: var(--cream); border-color: var(--outfield); }
.join-main .signup-form :focus-visible { outline-color: var(--outfield); }
.offer { border: 1px solid var(--boundary); padding: 22px; }
.offer + .offer { margin-top: 18px; }
.offer h2 { font-size: 28px; }
.quiet-offer p { color: var(--sage); margin-top: 12px; font-size: 15px; }
.quiet-offer strong { color: var(--cream); font-weight: 700; }

.prose { max-width: 72ch; }
.prose h2 { font-size: 28px; margin: 30px 0 8px; }
.prose p { color: var(--cream); margin-top: 10px; }
.prose .lede { margin-top: 16px; }
.draft { border: 1px dashed var(--sage); color: var(--sage) !important; padding: 10px 12px; margin-top: 18px !important; font-size: 14px; }
.rules { margin: 28px 0 0; padding: 0 0 0 1.6em; }
.rules li { padding: 10px 0 14px; border-top: 1px solid var(--boundary); }
.rules li::marker { font-family: var(--mono); color: var(--sage); }
.rules h3, .rules h2 { font-size: 23px; margin: 0; }
.rules p { color: var(--sage); }

.colophon { border-top: 1px solid var(--boundary); }
.colophon-in { max-width: var(--page); margin: 0 auto; padding: 24px var(--gutter) 48px; }
.colophon-links { display: flex; gap: 8px 22px; flex-wrap: wrap; margin-bottom: 14px; font: 600 14px/1 var(--semi); }
.colophon-links a { color: var(--cream); }
.colophon-line { color: var(--sage); font-size: 13px; max-width: 90ch; }
.colophon-line + .colophon-line { margin-top: 6px; }

.tip { position: fixed; z-index: 40; pointer-events: none; background: var(--cream); color: var(--pavilion); padding: 8px 10px; font-size: 13px; line-height: 1.35; max-width: 240px; }
.tip b { font-family: var(--serif); font-weight: 400; font-size: 16px; display: block; }
.toast { position: fixed; z-index: 40; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--cream); color: var(--outfield); padding: 10px 16px; font: 600 15px/1 var(--semi); max-width: calc(100vw - 32px); overflow-wrap: anywhere; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1020px) {
  .board { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .split, .two, .pick, .cp, .join, .sheet { grid-template-columns: minmax(0, 1fr); }
  .cp-pic, .mine { position: static; }
  .xi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xi-tile:nth-child(2) { border-right: 0; }
  .xi-tile:nth-child(n+3) { border-top: 1px solid var(--boundary); }
  .ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger div:nth-child(3) { padding-left: 0; border-left: 0; }
  .ledger div:nth-child(n+3) { border-top: 1px solid var(--boundary); }
  .watch-list { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  html { scroll-padding-top: 170px; }
  .masthead { position: static; }
  .seasonbar { position: sticky; top: 0; }
  .filters { top: var(--sticky-m, 92px); }
  .nav { gap: 2px 14px; }
  .nav a { font-size: 14px; }
  .hero { grid-template-columns: 1fr; padding-top: 28px; }
  .scorebug { min-width: 0; }
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--boundary); }
  .board { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .slot-name { font-size: 16px; }
  .slot-head, .slot-meta { font-size: 11px; }
  .slot-body { padding: 7px 8px 8px; }
  .scorebook { padding: 14px 10px 12px; }
  .scorebook-grid { grid-template-columns: 2.4em repeat(var(--packs), minmax(16px, 1fr)); gap: 4px 3px; min-width: calc(2.4em + var(--packs) * 19px); }
  .scorebook-grid .rowlab { font-size: 10px; }
  .ladder li { grid-template-columns: 2em minmax(0, 1fr) 6em; }
  .ladder .odds, .ladder li > .num:not(.rung) { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .bar { grid-template-columns: 7.5em 1fr 2.6em; }
  .xi-strip { grid-template-columns: 1fr 1fr; }
  .xi-tile { padding: 14px 12px; }
  .xi-count { font-size: 32px; }
  .honours { padding: 24px 16px 18px; }
  .honours li a { grid-template-columns: 3.6em minmax(0, 1fr) auto; gap: 4px 10px; }
  .h-name { font-size: 19px; }
  .latest-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .statrow { grid-template-columns: 1fr 1fr; }
  .statrow > div { border-right: 0; padding-left: 0 !important; border-bottom: 1px solid var(--boundary); }
  .statrow > div:nth-child(odd) { border-right: 1px solid var(--boundary); padding-right: 12px; }
  .statrow > div:nth-child(even) { padding-left: 12px !important; }
  .statrow .num { font-size: 28px; }
  .histo { height: 180px; gap: 3px; }
  .seasonbar-in { gap: 6px 8px; padding-top: 6px; padding-bottom: 6px; flex-wrap: nowrap; }
  .sb-range { flex: 1 1 0; min-width: 60px; }
  .sb-note { display: none; }
  .sb-jumps { flex-wrap: nowrap; }
  .sb-jumps .chip { padding: 6px 7px; font-size: 12px; }
  .sb-jumps .long { display: none; }
  .sb-jumps .short { display: inline; }
  .sb-label { font-size: 13px; }
  .cp-top { flex-direction: column; }
  .table { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* The Selection Sheet before sign-up opens: shown, switched off, collecting nothing */
.signup-form.is-soon .soon-field { color: #55695f; display: flex; align-items: center; cursor: default; }
.signup-form.is-soon .btn.is-off { opacity: .55; cursor: default; pointer-events: none; }
.signup-form.is-soon .note a { color: inherit; }
.join-main .signup-form.is-soon .soon-field { background: #fff; border-color: var(--outfield); }
.sheet .signup-form.is-soon .soon-field { background: #fff; border-color: var(--outfield); }

/* The static pages (about, privacy, terms) */
.prose ul { margin: 10px 0 0 1.2em; }
.prose li { margin-top: 6px; }
.prose a { color: var(--cream); }
.prose .dated { color: var(--sage); font-size: 14px; margin-top: 8px; }
.colophon-app { margin-top: 12px; }

/* ======================================================================
   Launch pass, 19 Oct 2026: design, accessibility and Rarometer review.
   ====================================================================== */

/* The hero: "After pack N" with that pack dealt as a hand of real cards.
   The one bold moment on the site; everything else stays quiet. */
.hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 24px 48px; }
.hero-text { display: grid; gap: 0; align-content: center; }
.hero-line { margin-top: 14px; color: var(--sage); font-size: 16px; max-width: 46ch; }
.hero .lede { margin-top: 14px; }
.hero .scorebug { margin-top: 26px; justify-self: start; }
.hand { position: relative; display: block; height: clamp(260px, 32vw, 420px); text-decoration: none; }
.hand-card { position: absolute; left: 50%; bottom: 6%; width: clamp(112px, 13.5vw, 178px); aspect-ratio: 5 / 7; background: var(--outfield);
  border: 1px solid var(--boundary); overflow: hidden; transform-origin: 50% 150%;
  transform: translateX(calc(-50% + var(--k) * 4px)) rotate(calc(var(--k) * 9deg)); transition: transform .25s ease; }
.hand-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hand-card.is-landscape img { position: absolute; top: 50%; left: 50%; width: 140%; height: 71.43%; max-width: none;
  transform: translate(-50%, -50%) rotate(-90deg); }
.hand-card .nophoto { height: 100%; }
.hand-card.is-hero { z-index: 2; border-color: var(--cream); transform: translateX(calc(-50% + var(--k) * 4px)) rotate(calc(var(--k) * 9deg)) translateY(-18px); }
.hand-card.is-signed { border-color: var(--foil); }
.hand:hover .hand-card { transform: translateX(calc(-50% + var(--k) * 14px)) rotate(calc(var(--k) * 11deg)); }
.hand:hover .hand-card.is-hero { transform: translateX(calc(-50% + var(--k) * 14px)) rotate(calc(var(--k) * 11deg)) translateY(-24px); }
.hand-stamp { position: absolute; z-index: 3; right: 4%; top: 2%; background: var(--outfield); padding: 6px; transform: rotate(-4deg); }
.hand-stamp .stamp { font-size: clamp(18px, 2.2vw, 26px); }
@media (prefers-reduced-motion: no-preference) {
  .is-arriving .hand-card { animation: deal .55s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--d) * 80ms); }
  .is-arriving .hand-stamp { animation: stampin .3s cubic-bezier(.3, 1.6, .5, 1) .55s both; }
  @keyframes deal { from { transform: translateX(-50%) rotate(0) translateY(40px); opacity: 0; } }
  @keyframes stampin { from { transform: rotate(-4deg) scale(1.6); opacity: 0; } }
}

/* Vacant shirts: the shirt number, and what would fill it */
.slot.vacant { background: transparent; }
.slot.vacant .slot-pic { background: transparent; }
.slot-ghost { font: 300 clamp(40px, 4.6vw, 68px)/1 var(--mono); color: var(--boundary); }
.slot.vacant .slot-name { color: var(--sage); font: 400 17px/1.1 var(--serif); letter-spacing: 0; }
.slot-req { font-size: 12.5px; line-height: 1.3; color: var(--sage); }

/* The Rarometer's hit line: ordinary 1-5 | hits 6-10 */
.rarity i:nth-child(6) { margin-left: 3px; }
.sbars { grid-template-columns: repeat(5, minmax(0, 1fr)) 2px repeat(5, minmax(0, 1fr)); }
.sbars::after { content: ""; grid-column: 6; grid-row: 1; align-self: stretch; background: var(--boundary); }
.sbars .sbar:nth-child(6) { grid-column: 7; }
.histo { grid-template-columns: repeat(5, minmax(0, 1fr)) 2px repeat(5, minmax(0, 1fr)); }
.histo::after { content: ""; grid-column: 6; grid-row: 1; align-self: stretch; background: var(--boundary); }
.histo .h-col:nth-child(6) { grid-column: 7; }
.cp-rarity-note { margin-top: 12px; color: var(--sage); font-size: 14px; line-height: 1.5; }
.cp-rarity-note a { color: var(--cream); }
.cp-rarity-head { gap: 18px; }

/* Accessibility: text contrast on pavilion and raised (dim fails as text there) */
.mine li .who.open, .nophoto { color: var(--sage); }
.field { border-color: #557A69; }
.xi-last { color: var(--sage); }
.prose p, .prose li { max-width: 68ch; }
.scorebook-grid .rowlab { position: sticky; left: 0; z-index: 1; background: var(--pavilion); padding-right: 6px; }

@media (max-width: 1020px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hand { order: -1; }
}
@media (max-width: 720px) {
  /* one line of chrome: wordmark, then a scrolling nav row */
  .masthead-in { padding: 10px 16px 0; gap: 4px; }
  .wordmark-mark { width: 22px; height: 30px; }
  .wordmark-name { font-size: 18px; }
  .wordmark-the { font-size: 9px; margin-bottom: 2px; }
  .nav { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 0 18px;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; padding: 10px 0; }
  .hero { padding-top: 12px; gap: 8px; }
  .hero h1 { font-size: 44px; }
  .hand { height: 240px; margin-top: 4px; }
  .hand-card { width: 108px; }
  .hero .lede { font-size: 16.5px; line-height: 1.5; }
  .hero .scorebug { justify-self: stretch; }
  .scorebug { padding: 12px 14px; }
  .scorebug-top { font-size: 32px; }
  .rl-long { display: none; }
  .scorebook-grid { grid-template-columns: 1.4em repeat(var(--packs), minmax(16px, 1fr)); min-width: calc(1.4em + var(--packs) * 19px); }
  .slot-req { font-size: 11px; }
  /* the card page: name and verdict before the photo */
  .cp { display: flex; flex-direction: column; gap: 18px; }
  .cp-info { display: contents; }
  .cp-top { order: -1; }
  .cp-frame { padding: 14px; }
  .cp-frame img { max-height: 58vh; }
  .lede { font-size: 17px; }
}

/* the season bar keeps its room while the data loads (no layout shift) */
.seasonbar { min-height: 45px; }
.pre-list { margin: 14px 0 0 1.2em; color: var(--sage); }
.pre-list li { margin-top: 4px; }
.pre h2 { margin-top: 28px; font-size: 26px; }
.pre-fig { margin: 20px 0; max-width: 320px; }
.pre-fig img { width: 100%; height: auto; }
.pre-fig figcaption { color: var(--sage); font-size: 13px; margin-top: 6px; }
.rarometer-table td, .rarometer-table th { padding: 8px 12px 8px 0; text-align: left; border-bottom: 1px solid var(--boundary); }
.rarometer-table { border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.rarometer-table .num { font-family: var(--mono); }
