/*
  NFL Lab, print edition.
  Visual direction comes from Stephen's Design Collection
  (design-collection-sigma.vercel.app): warm paper, ink, Georgia display,
  monospace labels, thin rules. Project route: "Dashboard or activity
  overview" (019 Calm systems, 023 Database overview, 028 Usage across time)
  plus "Reading continuity" (024) for recaps and previews.
  Rules and the meaning of every colour are written down in DESIGN.md.
  System fonts only: nothing to license, nothing to download.
*/

:root {
  --paper: #f2efe7;
  --ink: #181917;
  --muted: #55584f;          /* 6.3:1 on paper */
  --hair: rgba(24, 25, 23, 0.16);
  --hair-strong: rgba(24, 25, 23, 0.42);
  --track: rgba(24, 25, 23, 0.08);

  /* Colour is reserved for state. Identity (model vs line, team) is ink vs outline. */
  --hit: #1e6247;            /* meets the pick rule / covered / above break-even, 6.3:1 */
  --hit-tint: #e3e9dc;
  --miss: #a8361c;           /* lost / below break-even, 5.7:1 */
  --miss-tint: #f1ddd3;
  --caution: #7a5200;        /* backtest, spent holdout, QB caveats, 6.0:1 */
  --caution-tint: #e8dfc2;
  --line-mark: #7d7e74;      /* the betting line (outline marks), 3.6:1 */
  --down: #7d7e74;           /* below-average power bars, 3.6:1 */

  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --measure: 40rem;
  color-scheme: light;
}

@media screen and (prefers-color-scheme: dark) {
  :root {
    --paper: #181917;
    --ink: #f2efe7;
    --muted: #a9aa9f;
    --hair: rgba(242, 239, 231, 0.16);
    --hair-strong: rgba(242, 239, 231, 0.42);
    --track: rgba(242, 239, 231, 0.09);
    --hit: #7fd3a6;
    --hit-tint: #1f3328;
    --miss: #f2966f;
    --miss-tint: #3a2620;
    --caution: #e2b45c;
    --caution-tint: #2e281a;
    --line-mark: #8f9086;
    --down: #80817a;
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112.5%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ink); color: var(--paper); }
a {
  color: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(127, 128, 120, 0.2);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: text-decoration-color 150ms ease, color 150ms ease;
}
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
main:focus { outline: none; } /* skip-link target, not a control */
p { margin: 0.6rem 0; max-width: var(--measure); text-wrap: pretty; }
strong { font-weight: 700; }
code { font-family: var(--mono); font-size: max(0.84rem, 13.5px); overflow-wrap: anywhere; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); text-wrap: balance; }
h1 {
  font-size: clamp(2.75rem, 7.4vw, 6.25rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 0 0 1.4rem;
  max-width: 15ch;
}
h2 {
  font-size: clamp(1.6rem, 3.1vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 3.75rem 0 0.8rem;
  scroll-margin-top: 1.5rem;
}
h3 { letter-spacing: -0.02em; }

.wrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 max(5vw, env(safe-area-inset-right)) 5rem max(5vw, env(safe-area-inset-left));
}

/* Section heads that open a band of the page carry a full-width ink rule. */
main > h2, .model-sec > h2 {
  border-top: 1px solid var(--ink);
  padding-top: 0.9rem;
  max-width: none;
}

/* ---------- Masthead ---------- */
.top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem 2rem;
  padding: 1.6rem 0 0.75rem;
  margin: 0 0 clamp(2.5rem, 6vw, 4.75rem);
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: max(0.84rem, 13.5px);
  line-height: 1.4;
}
.mark {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-height: var(--tap, 44px);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  padding: 0.3rem 0;
}
.mark span { color: var(--muted); font-weight: 400; padding: 0 0.1em; }
nav { display: flex; flex-wrap: wrap; gap: 0.15rem 1.35rem; }
nav a {
  color: var(--muted);
  padding: 0.3rem 0;
  text-decoration-color: var(--hair-strong);
}
nav a:hover { color: var(--ink); text-decoration-color: currentColor; }
nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  width: auto;
  height: auto;
  padding: 0.6rem 0.9rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.85rem;
  text-decoration: none;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Shared type roles ---------- */
.kicker {
  font-family: var(--mono);
  font-size: max(0.84rem, 13.5px);
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 1rem;
}
.lede {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.4;
  max-width: 34rem;
  margin: 0 0 2rem;
}
.meta { color: var(--muted); font-size: 0.85rem; }
.gloss { color: var(--muted); font-size: 0.95rem; }
.caption { color: var(--muted); font-size: 0.95rem; margin: 0 0 1.25rem; }
.more, .trail { font-family: var(--mono); font-size: max(0.84rem, 13.5px); }
.trail { margin: 1.25rem 0 0.5rem; color: var(--muted); }
.trail a, .more a { color: var(--ink); }

/* ---------- Home: lock line, status rows, pick shelf ---------- */
.lock {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--hair);
  padding: 0.75rem 0;
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  font-style: italic;
}
.health {
  font-family: var(--mono);
  font-size: max(0.84rem, 13.5px);
  line-height: 1.55;
  border-left: 2px solid var(--ink);
  padding: 0.15rem 0 0.15rem 0.85rem;
  margin: 1.75rem 0 0.75rem;
  max-width: var(--measure);
}
.health strong { font-variant-numeric: tabular-nums; }
#count { font-family: var(--mono); font-size: max(0.84rem, 13.5px); letter-spacing: 0.02em; }

#spreads, #totals, #nopicks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr));
  gap: 2.75rem 2.25rem;
  margin-top: 1.5rem;
}
#spreads > p, #totals > p, #nopicks > p { grid-column: 1 / -1; }
.card {
  min-width: 0;
  border-top: 1px solid var(--ink);
  padding-top: 0.75rem;
}
.card header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.25rem 1rem;
}
.card header strong { font-size: 1rem; }
.card header .meta {
  font-family: var(--mono);
  font-size: max(0.84rem, 13.5px);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.card > p:not(.side):not(.meta):not(.note) { font-size: 0.95rem; }
.side {
  font-size: clamp(2.6rem, 4.6vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 1.2rem 0 1.1rem;
}
.nums {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0.6rem 0 0.75rem;
  border-top: 1px solid var(--hair);
}
.nums div {
  padding: 0.55rem 0.6rem 0.6rem;
  border-bottom: 1px solid var(--hair);
  border-left: 1px solid var(--hair);
  min-width: 0;
}
.nums div:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
.nums span {
  display: block;
  font-family: var(--mono);
  font-size: max(0.84rem, 13.5px);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.nums b {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
}

/* Model vs line gap bars: model is solid ink, the line is an outline. */
.gap { margin: 0.75rem 0 0.6rem; }
.gap-row {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr) 3rem;
  gap: 0.6rem;
  align-items: center;
  margin: 0.3rem 0;
  font-family: var(--mono);
  font-size: max(0.84rem, 13.5px);
  color: var(--muted);
}
.gap-row b { color: var(--ink); text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; font-size: max(0.84rem, 13.5px); }
.gap-track { position: relative; height: 0.6rem; background: var(--track); }
.gap-track::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.2rem;
  bottom: -0.2rem;
  width: 1px;
  background: var(--ink);
}
.gap-track i { position: absolute; top: 0; height: 100%; background: var(--ink); }
.gap-track i.neg { right: 50%; }
.gap-track i.pos { left: 50%; }
.gap-track i.line { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-mark); }

.note {
  font-size: 0.85rem;
  color: var(--caution);
  border-left: 2px solid currentColor;
  padding-left: 0.7rem;
  margin: 0.45rem 0 0;
}

/* ---------- Home Thursday hero ---------- */
body[data-page="home"] h1 {
  font-size: var(--fs-home-title);
  max-width: 14ch;
  margin: 0 0 0.65rem;
  line-height: 0.98;
}
body[data-page="home"] .top {
  margin-bottom: clamp(1.1rem, 3vw, 2rem);
}
body[data-page="home"] .kicker { margin-bottom: 0.45rem; }
.home-hero .lock {
  margin-bottom: 0.5rem;
  padding: 0.55rem 0;
  font-size: 1rem;
}
.home-count {
  font-family: var(--mono);
  font-size: max(0.84rem, 13.5px);
  letter-spacing: 0.02em;
  margin: 0.35rem 0 0;
}
.home-lede {
  max-width: 36rem;
  margin: 2rem 0 0.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.record-strip {
  display: grid;
  gap: 0.2rem 1.25rem;
  margin: 0;
  padding: 0.55rem 0 0.65rem;
  border-bottom: 1px solid var(--hair);
  max-width: 52rem;
}
@media (min-width: 40rem) {
  .record-strip {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: baseline;
  }
}
.record-line {
  margin: 0;
  max-width: none;
  font-size: 0.98rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.record-line.caution {
  color: var(--caution);
  font-size: 0.9rem;
}
.void-note {
  background: var(--caution-tint);
  color: var(--ink);
  padding: 0.85rem 1rem;
  margin: 0.85rem 0 0;
  max-width: 52rem;
  font-size: 1.02rem;
  line-height: 1.45;
}
.count-pill {
  font-family: var(--mono);
  font-size: max(0.84rem, 13.5px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 0.45rem;
  vertical-align: middle;
}

/* Model vs line: two columns, ink vs outline (identity, not state colour). */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0.15rem 0 0.55rem;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.compare-col {
  padding: 0.55rem 0.75rem 0.6rem 0;
  min-width: 0;
}
.compare-col + .compare-col {
  padding-left: 0.75rem;
  border-left: 1px solid var(--hair);
}
.compare-col span {
  display: block;
  font-family: var(--mono);
  font-size: max(0.84rem, 13.5px);
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.compare-col b {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.compare-col em {
  display: block;
  margin-top: 0.2rem;
  font-style: normal;
  font-size: max(0.84rem, 13.5px);
  color: var(--muted);
  overflow-wrap: anywhere;
}
.edge-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.5rem;
  margin: 0.1rem 0 0.55rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}
.edge-line span {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: max(0.84rem, 13.5px);
  color: var(--muted);
}
.edge-line b {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--hit);
}
.edge-line em {
  font-style: normal;
  color: var(--muted);
  font-size: max(0.84rem, 13.5px);
}
body[data-page="home"] .side {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin: 0.75rem 0 0.7rem;
}
.quiet-card { opacity: 0.92; }
.quiet-card .nums-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quiet-card .nums-compact div:nth-child(3n + 1) { border-left: 1px solid var(--hair); padding-left: 0.6rem; }
.quiet-card .nums-compact div:first-child { border-left: 0; padding-left: 0; }

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin: 0 0 1.25rem;
  font-family: var(--mono);
  font-size: max(0.84rem, 13.5px);
}
.foot-nav a {
  color: var(--muted);
  text-decoration-color: var(--hair-strong);
  padding: 0.25rem 0;
}
.foot-nav a:hover { color: var(--ink); text-decoration-color: currentColor; }

body[data-page="home"] #spreads,
body[data-page="home"] #totals {
  gap: 1.75rem 1.5rem;
  margin-top: 0.85rem;
}
body[data-page="home"] main > h2#spread-heading {
  margin-top: 1.5rem;
  padding-top: 0.7rem;
}
body[data-page="home"] #nopick-heading {
  margin-top: 2.75rem;
  color: var(--muted);
  border-top-color: var(--hair-strong);
}

/* ---------- Recaps, previews, glossary: the reading surface ---------- */
main { counter-reset: dossier; }
.epa-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: var(--measure);
  margin: 1.5rem 0 2.75rem;
  padding-left: 1rem;
  border-left: 1px solid var(--ink);
}
.game {
  counter-increment: dossier;
  border-top: 1px solid var(--ink);
  padding: 1.1rem 0 2.6rem;
  margin: 0;
}
/* Summary sections (what mattered, picks) sit in the recap column but are not numbered entries. */
.game.summary { counter-increment: none; }
.game h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  line-height: 1.05;
  margin: 0 0 0.85rem;
}
.game h2 a { text-decoration-color: var(--hair-strong); }
.game h2 a:hover { text-decoration-color: currentColor; }
.game p { font-size: 1.05rem; line-height: 1.62; }
.game ul { max-width: var(--measure); padding-left: 1.15rem; }
.game li { margin: 0.4rem 0; }
.game .kicker { margin-bottom: 0.6rem; font-size: max(0.84rem, 13.5px); line-height: 1.45; }

@media (min-width: 56rem) {
  .game {
    display: grid;
    grid-template-columns: 11rem minmax(0, var(--measure));
    column-gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
  }
  .game > * { grid-column: 2; }
  .game > .kicker { grid-column: 1; grid-row: 1 / span 30; margin: 0.45rem 0 0; }
  .game:not(:has(> .kicker))::before {
    content: counter(dossier, decimal-leading-zero);
    content: counter(dossier, decimal-leading-zero) / "";
    grid-column: 1;
    grid-row: 1 / span 30;
    font-family: var(--mono);
    font-size: max(0.84rem, 13.5px);
    letter-spacing: 0.08em;
    color: var(--muted);
    padding-top: 0.45rem;
  }
}

p.pick, .game p.pick {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0.2rem 0 0.75rem;
}
p.pick::before {
  content: "";
  display: inline-block;
  width: 0.32em;
  height: 0.32em;
  margin: 0 0.35em 0.12em 0;
  background: var(--hit);
  vertical-align: middle;
}
p.quiet-pick, .game p.quiet-pick {
  font-size: 1.45rem;
  font-style: italic;
  color: var(--muted);
  margin: 0.2rem 0 0.75rem;
}
.market { color: var(--muted); }
.game .market {
  font-family: var(--mono);
  font-size: max(0.84rem, 13.5px);
  line-height: 1.6;
  color: var(--ink);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding: 0.55rem 0;
  margin: 0.75rem 0 1rem;
}
.lesson {
  max-width: var(--measure);
  margin: 1.25rem 0 0.25rem;
  padding: 0.8rem 0 0;
  border-top: 1px solid var(--hair);
}
.lesson span {
  display: block;
  font-family: var(--mono);
  font-size: max(0.84rem, 13.5px);
  line-height: 1.45;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.game .lesson { font-size: 1.02rem; }
.model-line {
  max-width: var(--measure);
  margin-top: 1.25rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--ink);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.4;
}
.game .model-line { font-size: 1.1rem; }
.prose .model-line { font-size: 1.4rem; }

.score {
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.93;
  letter-spacing: -0.05em;
  margin: 0 0 1.25rem;
  max-width: 12ch;
}
.prose { max-width: var(--measure); font-size: 1.1rem; line-height: 1.65; }
.prose p { margin: 1rem 0; }

/* Spent holdout and other caveats: a caution slab, not an alarm. */
.spent {
  background: var(--caution-tint);
  padding: 1.2rem 1.4rem;
  margin: 1.5rem 0;
  max-width: 46rem;
}
.spent p { margin: 0.35rem 0; }
.spent .big {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0.1rem 0 0.9rem;
  font-variant-numeric: tabular-nums;
}

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; margin: 1rem 0 0; }
.table-scroll:focus-visible { outline-offset: 2px; }
table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: max(0.84rem, 13.5px);
  font-variant-numeric: tabular-nums;
}
th, td { text-align: left; padding: 0.55rem 0.9rem 0.55rem 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
th {
  font-weight: 400;
  font-size: max(0.84rem, 13.5px);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 1px solid var(--ink);
}
td code { font-size: 1em; overflow-wrap: anywhere; white-space: normal; }

/* ---------- Teams ---------- */
.team {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 0.75rem 2rem;
  align-items: center;
  padding: 0.9rem 0;
  border-top: 1px solid var(--hair);
}
#teams { margin-top: 2rem; border-bottom: 1px solid var(--hair); }
.bars { display: grid; gap: 0.3rem; max-width: 34rem; }
.bar-row {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr) 4.6rem;
  gap: 0.6rem;
  align-items: center;
  font-family: var(--mono);
  font-size: max(0.84rem, 13.5px);
  color: var(--muted);
}
.bar-row b { color: var(--ink); font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.bar { height: 0.5rem; background: var(--track); position: relative; }
.bar::after { content: ""; position: absolute; left: 50%; top: -0.15rem; bottom: -0.15rem; width: 1px; background: var(--hair-strong); }
.bar i { position: absolute; top: 0; height: 100%; background: var(--ink); }
.bar i.pos { left: 50%; }
.bar i.neg { right: 50%; }
.bar i.def { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.spark { display: block; width: 7rem; height: 1.8rem; margin-top: 0.35rem; }
.spark polyline { fill: none; stroke: var(--ink); stroke-width: 1.4; }

.stale {
  background: var(--miss-tint);
  color: var(--miss);
  border-left: 3px solid currentColor;
  padding: 0.65rem 0.9rem;
}

footer {
  margin-top: 4.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ink);
  color: var(--muted);
  font-size: 0.85rem;
}
footer p { max-width: 52rem; }

/* ---------- Model page ---------- */
.model-sec { margin: 4.25rem 0 0; }
.model-sec > h2 { margin: 0 0 0.5rem; }
.chart-card {
  border: 1px solid var(--hair-strong);
  padding: 1.25rem;
  overflow-x: auto;
  min-width: 0;
}
.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.chart-grid > .chart-card { margin: 0; }
.legend-row {
  display: block;
  line-height: 2;
  font-family: var(--mono);
  font-size: max(0.84rem, 13.5px);
  color: var(--muted);
  margin: 0.8rem 0 0;
}
.swatch {
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  margin: 0 0.4rem 0 1.4rem;
  vertical-align: -0.1rem;
  border-radius: 50%;
}
.swatch:first-child { margin-left: 0; }
.swatch.market { background: var(--paper); box-shadow: inset 0 0 0 2px var(--line-mark); }
.swatch.model { background: var(--ink); }
.swatch.pick { background: var(--hit); border-radius: 0; }

/* Team power: HTML rows so labels stay readable at any width. */
.power { list-style: none; margin: 0; padding: 0; }
.pw-row {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) 3.25rem;
  gap: 0.75rem;
  align-items: center;
  min-height: 1.45rem;
}
.pw-team { font-family: var(--mono); font-size: max(0.84rem, 13.5px); text-align: right; }
.pw-val { font-family: var(--mono); font-size: max(0.84rem, 13.5px); color: var(--muted); font-variant-numeric: tabular-nums; }
.pw-track { position: relative; height: 0.7rem; }
.pw-track .tick { position: absolute; top: -0.4rem; bottom: -0.4rem; width: 1px; background: var(--hair); }
.pw-track .tick.zero { background: var(--ink); }
.pw-bar { position: absolute; top: 0; height: 100%; }
.pw-bar.up { background: var(--ink); }
.pw-bar.down { background: var(--down); }
.pw-axis {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) 3.25rem;
  gap: 0.75rem;
  margin-top: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--hair);
  font-family: var(--mono);
  font-size: max(0.84rem, 13.5px);
  color: var(--muted);
}
.pw-axis-scale { position: relative; height: 2.8rem; }
.pw-axis-scale span { position: absolute; top: 0; transform: translateX(-50%); font-variant-numeric: tabular-nums; }
.pw-axis-scale .dir { top: 1.45rem; text-transform: uppercase; letter-spacing: 0.08em; transform: none; }
.pw-axis-scale .dir.worse { right: 50%; margin-right: 0.5rem; }
.pw-axis-scale .dir.better { left: 50%; margin-left: 0.5rem; }

/* Win-rate and average-miss bars */
.rate-bar, .mae-bar { width: 100%; height: auto; display: block; max-width: 24rem; margin: 0 auto; }
.rate-bar text, .mae-bar text { font-family: var(--mono); }
.rate-bar .bar-fill, .mae-bar .bar-fill { fill: var(--hit); }
.rate-bar .bar-miss, .mae-bar .bar-miss { fill: var(--miss); }
.rate-bar .break, .mae-bar .break { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; }
.rate-bar .axis, .mae-bar .axis { fill: var(--muted); font-size: max(0.84rem, 13.5px); }
/* The record sits under the bar name. Nudge it clear of the 13.5px label. */
.rate-bar .label + .axis { transform: translateY(4px); }
.rate-bar .val, .mae-bar .val { fill: var(--paper); font-size: 14px; font-variant-numeric: tabular-nums; }
.rate-bar .val.out, .mae-bar .val.out { fill: var(--ink); }
.rate-bar .label, .mae-bar .label { fill: var(--ink); font-size: 14px; font-family: var(--serif); }
.rate-bar .base, .mae-bar .base { stroke: var(--ink); stroke-width: 1; }

/* Week games: line (outline) vs model (ink) on one margin scale */
.games-panel { padding: 0 1.25rem; }
.game-row {
  display: grid;
  grid-template-columns: minmax(8rem, 11rem) minmax(0, 1fr) minmax(8rem, 12rem);
  gap: 0.4rem 1.25rem;
  align-items: center;
  padding: 0.75rem 0.5rem;
  margin: 0 -0.5rem;
  border-bottom: 1px solid var(--hair);
}
.game-row:last-child { border-bottom: 0; }
.game-row.is-pick { background: var(--hit-tint); box-shadow: inset 3px 0 0 var(--hit); padding-left: 0.85rem; }
.game-row .match { font-size: 1rem; line-height: 1.25; letter-spacing: -0.01em; }
.game-row .match small {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--mono);
  font-size: max(0.84rem, 13.5px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.game-row.is-pick .match small { color: var(--hit); }
.game-row .edge-tag {
  font-family: var(--mono);
  font-size: max(0.84rem, 13.5px);
  line-height: 1.45;
  color: var(--muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.game-row.is-pick .edge-tag { color: var(--hit); font-weight: 700; }
.gs { min-width: 0; }
.gs-rail { position: relative; height: 1rem; }
.gs-rail::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--hair-strong); }
.gs-zero { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--ink); }
.gs-dot {
  position: absolute;
  top: 50%;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.gs-dot.market { background: var(--paper); box-shadow: inset 0 0 0 2px var(--line-mark); }
.game-row.is-pick .gs-dot.market { background: var(--hit-tint); }
.gs-dot.model { background: var(--ink); }
.gs-ends {
  display: flex;
  justify-content: space-between;
  margin-top: 0.2rem;
  font-family: var(--mono);
  font-size: max(0.84rem, 13.5px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.live-slot {
  margin-top: 1.25rem;
  border-top: 1px solid var(--ink);
  padding: 0.9rem 0 0;
}
.live-label {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0.2rem 0 0.4rem;
  text-wrap: balance;
}
.live-slot .kicker { margin: 0; }

/* ---------- 2026 so far (backtest report card) ---------- */
.backtest-note {
  background: var(--caution-tint);
  padding: 1rem 1.25rem;
  max-width: 44rem;
  margin: 0 0 1rem;
}
.backtest-note strong {
  display: block;
  font-family: var(--mono);
  font-size: max(0.84rem, 13.5px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--caution);
}
.backtest-note p { margin: 0.35rem 0 0; font-size: 0.98rem; }
.rc-hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2.25rem;
  margin: 0.5rem 0 0;
}
.rc-big { border-top: 1px solid var(--ink); padding-top: 0.75rem; min-width: 0; }
.rc-big span {
  font-family: var(--mono);
  font-size: max(0.84rem, 13.5px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.rc-big b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  margin: 0.6rem 0 0.6rem;
  white-space: nowrap;
}
.rc-big.up b { color: var(--hit); }
.rc-big.down b { color: var(--miss); }
.rc-big p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.rc-context { display: flex; flex-direction: column; justify-content: space-between; gap: 0.75rem; }
.rc-context .meta { margin: 0; line-height: 1.5; }
.rc-week {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.75rem 1.5rem;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--hair);
}
.rc-week:last-child { border-bottom: 0; }
.rc-week-head {
  font-family: var(--mono);
  font-size: max(0.84rem, 13.5px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0;
  border-bottom-color: var(--ink);
}
.rc-wk { font-size: 1.05rem; letter-spacing: -0.02em; }
.rc-cell { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-width: 0; }
.rc-cell b { font-family: var(--mono); font-weight: 500; font-size: 0.85rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rc-dots { display: flex; flex-wrap: wrap; gap: 5px; }
/* Outcome is coded by shape as well as colour: circle covered, square lost, ring pushed. */
.rc-dot { width: 12px; height: 12px; display: inline-block; position: relative; }
.rc-dot.win { background: var(--hit); border-radius: 50%; }
.rc-dot.loss { background: var(--miss); border-radius: 0; }
.rc-dot.push { background: transparent; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--muted); }
.rc-lesson {
  border-top: 1px solid var(--ink);
  padding: 1rem 0 1.75rem;
  margin: 0;
}
.rc-lesson h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.08; margin: 0.35rem 0 0.15rem; }
.rc-lesson .meta { margin: 0 0 1rem; font-family: var(--mono); font-size: max(0.84rem, 13.5px); text-transform: uppercase; letter-spacing: 0.06em; }
.rc-tag {
  margin: 0;
  font-family: var(--mono);
  font-size: max(0.84rem, 13.5px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.rc-tag.hit { color: var(--hit); }
.rc-tag.miss { color: var(--miss); }
.rc-lesson dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 2.25rem; margin: 0; max-width: 60rem; }
.rc-lesson dt {
  font-family: var(--mono);
  font-size: max(0.84rem, 13.5px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.rc-lesson dd { margin: 0.25rem 0 0; font-size: 1rem; line-height: 1.55; }
.rc-lesson .lesson { max-width: 46rem; margin-top: 1.1rem; }

/* ---------- Hover (pointer devices only) ---------- */
@media (hover: hover) {
  .game-row { transition: background-color 150ms ease; }
  .game-row:hover { background: var(--track); }
  .game-row.is-pick:hover { background: color-mix(in srgb, var(--hit-tint) 92%, var(--ink)); }
}

/* ---------- Small screens ---------- */
@media (max-width: 44rem) {
  .mark {
    display: inline-flex;
    align-items: center;
    min-height: var(--tap, 44px);
    font-size: max(0.84rem, 13.5px);
  }
  h1 { letter-spacing: -0.035em; }
  .chart-grid { grid-template-columns: minmax(0, 1fr); }
  .chart-card { padding: 1rem 0.85rem; }
  .games-panel { padding: 0 0.85rem; }
  .games-panel .game-row { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; padding: 0.85rem 0.5rem; }
  .games-panel .game-row .edge-tag { text-align: left; }
  /* Home rows share .game-row with the model chart. One column, or the pick sentence sits in the 11rem track. */
  body[data-page="home"] .game-row { grid-template-columns: minmax(0, 1fr); }
  .team { grid-template-columns: minmax(0, 1fr); }
  .rc-lesson dl { grid-template-columns: minmax(0, 1fr); }
  .rc-hero { grid-template-columns: minmax(0, 1fr); }
  .rc-week { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
  .rc-week-head { display: none; }
  .rc-cell::before {
    font-family: var(--mono);
    font-size: max(0.84rem, 13.5px);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    min-width: 4.75rem;
  }
  .rc-cell:nth-of-type(1)::before { content: "Spreads"; }
  .rc-cell:nth-of-type(2)::before { content: "Totals"; }
  .rc-cell { justify-content: flex-start; }
  .rc-cell b { margin-left: auto; }
  .rc-big b { font-size: clamp(2.4rem, 12vw, 3.4rem); }
  .pw-row, .pw-axis { grid-template-columns: 2.5rem minmax(0, 1fr) 3.1rem; gap: 0.5rem; }
  .compare-col { padding-right: 0.55rem; }
  .compare-col + .compare-col { padding-left: 0.55rem; }
  .compare-col b { font-size: 1.25rem; }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  nav, .skip { display: none; }
  body { background: #fff; color: #000; }
  .game, .card, .rc-lesson, .chart-card { break-inside: avoid; }
  a { overflow-wrap: anywhere; }
}

/* ---------- 2026-10 redesign: home + nav build spec ----------
   Type rules live in DESIGN.md ("Type"). One sans family on every page. */
:root {
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: var(--sans);
  --mono: var(--sans);
  --fs-h1: 28px; --fs-call: 17px; --fs-body: 16px; --fs-small: max(0.84rem, 13.5px); --lh: 1.5;
  --fs-home-title: clamp(2rem, 5.5vw, 3.6rem);
  --accent: var(--hit);      /* our model / our pick */
  --vegas: var(--muted);     /* Vegas, neutral */
  --tap: 44px; --row-pad: 12px 16px; --radius: 8px;
}
html { font-size: 100%; }
body { font-family: var(--sans); font-size: var(--fs-body); line-height: var(--lh); }
h1, h2, h3, .kicker, .meta, label, button { font-family: var(--sans); text-transform: none; }
h1 { font-size: var(--fs-h1); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; margin: 0.25rem 0 0.25rem; max-width: none; min-height: 1.2em; }
h2 { font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
h3 { font-size: var(--fs-call); font-weight: 600; letter-spacing: 0; }
.kicker, .meta, .caption, .small, .updated, footer, footer p, small, figcaption, code { font-size: var(--fs-small); letter-spacing: 0; }
.num, time, .pick, td, th, b, .score, table { font-variant-numeric: tabular-nums; }
.kicker, .updated, .caption { color: var(--muted); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Shared 5-link nav, 44px targets */
nav.nav { display: flex; justify-content: flex-end; gap: 0; }
nav.nav a, .foot-nav a {
  display: inline-flex; align-items: center; min-height: var(--tap); min-width: var(--tap);
  padding: 0 12px; font-family: var(--sans); font-size: 15px; letter-spacing: 0; text-transform: none; white-space: nowrap;
}
nav.nav a[aria-current="page"] { font-weight: 600; text-decoration-thickness: 2px; }
@media (max-width: 600px) {
  header.top { flex-wrap: wrap; }
  /* Same five links and 44px targets. Wrap onto a second line instead of scrolling sideways. */
  nav.nav {
    display: flex;
    flex-wrap: wrap;
    overflow-x: visible;
    width: 100%;
    justify-content: flex-start;
    margin: 0;
    gap: 8px 16px;
  }
  nav.nav a { flex-shrink: 0; min-width: max(44px, max-content); padding: 0 10px; }
  .row-top { flex-wrap: wrap; row-gap: 2px; }
  .when { white-space: normal; flex-wrap: wrap; max-width: 100%; }
  .pick-row .row-top { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .pick-row .when { white-space: normal; flex-wrap: wrap; }
}
.foot-nav { display: flex; flex-wrap: wrap; margin: 0 0 0.25rem -12px; }
.foot-nav a { font-size: var(--fs-small); }
.foot-line { color: var(--muted); }

/* Home */
body[data-page="home"] main { max-width: 720px; }
body[data-page="home"] .game-row { grid-template-columns: minmax(0, 1fr); }
.updated { margin: 0 0 0.75rem; }
.notice { font-size: var(--fs-small); color: var(--caution); margin: 0.25rem 0; }
details.notice > summary { cursor: pointer; min-height: var(--tap); display: flex; align-items: center; gap: 0.5rem; }
details.notice .why { text-decoration: underline; }
details.notice a { display: inline-flex; align-items: center; min-height: var(--tap); }
.final-line { font-size: var(--fs-call); font-weight: 600; }
#main h2 { margin: 1.5rem 0 0.25rem; border: 0; padding: 0; }
.games { border-top: 1px solid var(--hair-strong); list-style: none; margin: 0; padding: 0; }
/* Official pick links open index.html#b-<game>. Hold a light accent tint, then fade it out. */
@keyframes target-row-fade {
  0%, 80% { background-color: color-mix(in srgb, var(--accent) 18%, var(--paper)); }
  100% { background-color: transparent; }
}
.games li:target {
  background-color: color-mix(in srgb, var(--accent) 18%, var(--paper));
  box-shadow: inset 3px 0 0 var(--accent);
  animation: target-row-fade 2.5s ease forwards;
}
@media (prefers-reduced-motion: reduce) {
  .games li:target {
    animation: none;
    background-color: color-mix(in srgb, var(--accent) 18%, var(--paper));
    box-shadow: inset 3px 0 0 var(--accent);
  }
}
.missed-pick { font-size: var(--fs-small); margin: 0.35rem 0 0.5rem; }
.missed-pick a { display: inline-flex; align-items: center; min-height: var(--tap); }
.game-row, .agree-group { border-bottom: 1px solid var(--hair); }
.game-row.placeholder { min-height: 72px; }
.row-toggle {
  all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer;
  min-height: 56px; padding: var(--row-pad); font-family: var(--sans); color: var(--ink);
}
.row-toggle:hover { background: var(--track); }
.row-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.disclosure-cue { display: flex; align-items: center; gap: 0.35rem; margin-top: 0.35rem; font-size: var(--fs-small); line-height: 1.4; color: var(--muted); }
.disclosure-cue svg { flex: none; }
.hide-details { display: none; }
.row-toggle[aria-expanded="true"] .show-details { display: none; }
.row-toggle[aria-expanded="true"] .hide-details { display: inline; }
.row-toggle[aria-expanded="true"] .disclosure-cue svg { transform: rotate(180deg); }
.row-top { display: flex; justify-content: space-between; gap: 1rem; align-items: center; font-size: var(--fs-small); color: var(--muted); }
.teams { display: inline-flex; gap: 0.35rem; align-items: center; }
.chip { font-weight: 700; color: var(--ink); border: 1px solid var(--hair-strong); border-radius: 4px; padding: 0 6px; font-size: var(--fs-small); }
.when { display: inline-flex; gap: 0.5rem; align-items: center; white-space: nowrap; }
.tag { color: var(--caution); }
.call { display: block; font-size: var(--fs-call); font-weight: 500; line-height: 1.35; margin-top: 4px; }
.quiet .call { font-weight: 500; font-size: var(--fs-body); }
.row-panel { padding: 0 16px 12px; }
.picks-help { margin: 0.35rem 0 0.75rem; font-size: var(--fs-small); line-height: var(--lh); color: var(--muted); }
.pick { color: var(--accent); font-weight: 600; margin: 0 0 0.5rem; font-size: var(--fs-body); font-family: var(--sans); letter-spacing: 0; line-height: var(--lh); }
.row-detail { margin: 0; display: grid; gap: 0.35rem; }
.row-detail div { display: grid; grid-template-columns: 11rem 1fr; gap: 0.75rem; }
.row-detail dt { font-size: var(--fs-small); color: var(--muted); }
.row-detail dd { margin: 0; }
@media (max-width: 600px) { .row-detail div { grid-template-columns: 1fr; gap: 0; } }
.small { font-size: var(--fs-small); color: var(--caution); }
.more > summary { min-height: var(--tap); display: flex; align-items: center; cursor: pointer; font-size: var(--fs-small); }
.agree-group ul { margin: 0; padding-left: 1rem; font-size: var(--fs-small); }
.agree-group li { margin: 0.35rem 0; }
.result-pill { font-weight: 700; font-size: var(--fs-small); }
.result-pill.right { color: var(--hit); }
.result-pill.wrong { color: var(--miss); }
.result-pill.tie { color: var(--muted); }
.score { color: var(--ink); font-weight: 600; }
.retry { min-height: var(--tap); padding: 0 16px; font: inherit; font-weight: 600; background: var(--ink); color: var(--paper); border: 0; border-radius: var(--radius); cursor: pointer; }
.next-link a { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 600; }

/* One compact row above Our picks. No motion of its own. */
.up-next[hidden] { display: none; }
.up-next-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0.75rem;
  row-gap: 0.15rem;
  box-sizing: border-box;
  min-height: var(--tap);
  margin: 0.75rem 0 0;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--hair);
  font-family: var(--sans);
  font-size: var(--fs-small);
  line-height: 1.4;
}
.up-next-kicker { color: var(--muted); font-weight: 600; }
.up-next-game, .up-next-vegas { min-width: 0; white-space: normal; }
.up-next-game { color: var(--ink); font-weight: 600; }
.up-next-vegas { color: var(--vegas); }

/* ---------- Track record ---------- */
.tr-tiles { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); margin: 1.5rem 0 0.75rem; max-width: 46rem; }
.tr-tile { padding: 0.9rem 1rem 1rem 0; border-bottom: 1px solid var(--hair); }
.tr-tile .label { font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0; }
.tr-tile .num { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.05; letter-spacing: -0.035em; margin: 0.2rem 0 0; font-variant-numeric: tabular-nums; }
.tr-tile .tile-gloss { font-size: 0.9rem; line-height: 1.4; color: var(--muted); margin: 0.35rem 0 0; }
.tr-strip { list-style: none; padding: 0; margin: 1rem 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; max-width: 46rem; }
.tr-strip li { border-top: 1px solid var(--hair); padding-top: 0.5rem; font-family: var(--mono); font-size: 0.75rem; line-height: 1.4; font-variant-numeric: tabular-nums; }
.tr-strip .wk { color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; display: block; }
.tr-strip .sym { font-family: var(--serif); font-size: 1.6rem; display: block; margin: 0.15rem 0; }
.tr-strip .ok .sym { color: var(--hit); }
.tr-strip .no .sym { color: var(--miss); }
.tr-strip .tag { color: var(--muted); display: block; margin-top: 0.2rem; }
.tr-week { margin: 1.5rem 0 0; max-width: 46rem; }
.tr-week h3 { font-family: var(--mono); font-weight: 400; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); border-top: 1px solid var(--ink); padding-top: 0.6rem; margin: 0 0 0.25rem; }
.tr-game { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--hair); }
.tr-game p { margin: 0; line-height: 1.45; }
.tr-game .date { display: block; font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.pill { flex: none; font-family: var(--mono); font-size: 0.75rem; padding: 0.15rem 0.5rem; white-space: nowrap; }
.pill.ok { background: var(--hit-tint); color: var(--hit); }
.pill.no { background: var(--miss-tint); color: var(--miss); }
.pill.even { border: 1px solid var(--hair); color: var(--muted); }
.tr-bettors { margin: 2.5rem 0 0; border-top: 1px solid var(--ink); padding-top: 0.25rem; }
.tr-bettors > summary { cursor: pointer; font-family: var(--mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; min-height: 44px; display: flex; align-items: center; }

/* Final score on a finished row: its own small style, not the big .score display. */
.final-score { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.pick-row.final .row-top, .quiet .row-top { flex-wrap: wrap; row-gap: 0.25rem; }
.pick-row.final .when, .quiet .when { flex-wrap: wrap; white-space: normal; min-width: 0; }
.result-pill { white-space: nowrap; }

/* Official-pick links stay a 44px target on the phone and on the desktop. */
.official-pick a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: var(--tap, 44px);
  min-width: var(--tap, 44px);
}
/* Same label color as the other card labels. Muted ink is 6.3:1 on paper. */
.game .label {
  font-size: max(0.84rem, 13.5px);
  line-height: 1.45;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

/* Lean label on pick rows (display only; see leanLabel in site.js) */
.lean { font-family: var(--sans); font-size: max(0.84rem, 13.5px); color: var(--muted); margin-right: 0.5rem; }
.lean.strong { color: var(--ink); font-weight: 600; }
.take { display: block; font-size: var(--fs-call); font-weight: 600; color: var(--ink); line-height: 1.35; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.totals-paused { color: var(--muted); font-size: var(--fs-small); margin: 0.75rem 0 0; }
