:root {
  --paper: #f3f5f9;      /* cool off-white */
  --surface: #ffffff;
  --ink: #0f1a2b;        /* deep navy ink */
  --muted: #5b6678;
  --rule: #d6dce6;
  --header: #13233f;     /* navy masthead */
  --turf: #1d3a6b;       /* primary navy: charts, winners */
  --turf-soft: #e3eaf6;
  --pylon: #b07d05;      /* gold: strong picks and the model line */
  --pylon-soft: #fdf1d3;
  --win: #1f8a4c;
  --loss: #c8372d;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --radius-sm: 4px;
  --radius-lg: 10px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b1220; --surface: #121b2e; --ink: #e6ebf3; --muted: #98a3b8;
    --rule: #24304a; --header: #0e1830; --turf: #8fb3ff; --turf-soft: #1a2742; --pylon: #f2b53a;
    --pylon-soft: #3a2c10; --win: #5fd08f; --loss: #ff8f7e;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.5 var(--body);
}
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--pylon); outline-offset: 2px; border-radius: 2px; }

/* ---------- masthead */
.masthead { background: var(--header); color: #fff; }
.masthead-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; flex-wrap: wrap; }
.brand { font: 700 24px/1 var(--display); letter-spacing: .01em; text-decoration: none; }
.tabs { display: flex; gap: 4px; overflow-x: auto; }
.tabs a {
  font: 600 17px/1 var(--display); text-decoration: none; padding: 10px 12px;
  border-radius: var(--radius-sm); white-space: nowrap; opacity: .85;
}
.tabs a:hover { opacity: 1; background: rgba(255,255,255,.12); }
.tabs a[aria-current="page"] { opacity: 1; box-shadow: inset 0 -3px 0 #fff; border-radius: 0; }

/* ---------- headings */
.board-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin: 32px 0 16px; }
.week-title { font: 700 clamp(40px, 7vw, 64px)/.95 var(--display); margin: 32px 0 4px; letter-spacing: -.005em; }
.board-head .week-title { margin-top: 0; }
.sub { color: var(--muted); margin: 0; }
.season-line { margin: 0; font: 600 18px/1.3 var(--display); text-align: right; }
.season-line span { color: var(--muted); font-weight: 500; }

/* ---------- controls */
.controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 16px 0 20px; }
.chip-btn {
  font: 500 15px/1 var(--body); color: var(--ink); background: var(--surface);
  border: 1px solid var(--rule); border-radius: 999px; padding: 8px 14px; cursor: pointer;
}
.chip-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sort, .search { margin-left: auto; color: var(--muted); font-size: 15px; display: flex; gap: 8px; align-items: center; }
.search { margin-left: 0; }
select, input[type="search"] {
  font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--radius-sm); padding: 6px 8px;
}

/* ---------- game rows */
.games { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.game {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg);
  display: grid; grid-template-columns: 120px minmax(200px, 1fr) minmax(260px, 1.2fr);
  gap: 4px 24px; padding: 16px 20px;
}
.game.strong { border-left: 6px solid var(--pylon); padding-left: 15px; }
.kick { color: var(--muted); font-size: 14px; line-height: 1.35; }
.kick time { display: block; color: var(--ink); font: 600 18px/1.2 var(--display); }
.team { display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 12px; }
.team + .team { margin-top: 6px; }
.team .name { font: 600 22px/1.15 var(--display); }
.team .rec { color: var(--muted); font-size: 14px; margin-left: 6px; font-family: var(--body); font-weight: 400; }
.team .score { font: 700 30px/1 var(--display); font-variant-numeric: tabular-nums; min-width: 2.2ch; text-align: right; }
.team.winner .score { color: var(--turf); }
.team.loser .score { color: var(--muted); font-weight: 500; }

.lines { display: grid; gap: 10px; align-content: start; }
.numbers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; margin: 0; font-size: 15px; }
.numbers div { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px dotted var(--rule); padding: 2px 0; }
.numbers dt { color: var(--muted); }
.numbers dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }

/* the field: market line vs model line on a yard-line strip */
.field { position: relative; }
.field svg { display: block; width: 100%; height: auto; max-height: 64px; overflow: visible; }
.field .ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 2px; }

.pick-row { grid-column: 2 / 4; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 8px; }
.pick { font: 700 20px/1.1 var(--display); }
.pick small { font: 500 14px var(--body); color: var(--muted); margin-left: 6px; }
.strong .pick { color: var(--pylon); }
.tag {
  display: inline-flex; gap: 6px; align-items: center; font-size: 14px; line-height: 1.2;
  padding: 4px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--rule);
}
.tag.warn { background: var(--pylon-soft); border-color: transparent; }
.tag svg { width: 15px; height: 15px; flex: none; }
.empty { color: var(--muted); padding: 24px 0; }

/* ---------- tables */
.table-scroll { overflow-x: auto; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--rule); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
th { font: 600 15px/1.2 var(--display); color: var(--muted); background: var(--paper); position: sticky; top: 0; }
th button { all: unset; cursor: pointer; }
th button:focus-visible { outline: 3px solid var(--pylon); }
th [aria-sort="descending"]::after { content: " ▼"; font-size: 10px; }
th [aria-sort="ascending"]::after { content: " ▲"; font-size: 10px; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
td.team-cell { font: 600 17px/1.2 var(--display); }
.bar { display: inline-block; height: 8px; border-radius: 4px; background: var(--turf); vertical-align: middle; margin-left: 8px; opacity: .75; }
.res-w { color: var(--win); font-weight: 600; }
.res-l { color: var(--loss); font-weight: 600; }
.res-p { color: var(--muted); }

.tally { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 16px 0 20px; }
.tally div { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 14px 16px; }
.tally b { display: block; font: 700 34px/1 var(--display); font-variant-numeric: tabular-nums; }
.tally span { color: var(--muted); font-size: 14px; }

.note { color: var(--muted); font-size: 14px; max-width: 70ch; }
.prose { max-width: 72ch; }
.prose p { margin: 0 0 14px; }
.prose h2 { font: 700 28px/1.1 var(--display); margin: 32px 0 8px; }
.prose .table-scroll { margin: 12px 0; }
.footer { color: var(--muted); font-size: 14px; padding-top: 24px; padding-bottom: 40px; }

/* ---------- small screens */
@media (max-width: 760px) {
  .game { grid-template-columns: 1fr; padding: 14px 16px; }
  .game.strong { padding-left: 12px; }
  .kick { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
  .kick time { display: inline; }
  .pick-row { grid-column: 1; }
  .numbers { grid-template-columns: 1fr; }
  .sort { margin-left: 0; }
  .season-line { text-align: left; }
}
@media (prefers-reduced-motion: no-preference) {
  .field .model-dot { transition: transform .3s ease; }
}

/* ---------- history */
.history-controls { align-items: end; }
.field-label { display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.check { display: flex; gap: 6px; align-items: center; font-size: 15px; padding-bottom: 6px; }
.section-title { font: 700 28px/1.1 var(--display); margin: 32px 0 4px; }
.tally .units { display: block; margin-top: 4px; font-size: 14px; color: var(--ink); font-weight: 600; }
.tally .units.neg { color: var(--loss); }
.tally .units.pos { color: var(--win); }
.edge-scroll { max-width: 720px; }
tr.hit60 td { background: var(--turf-soft); }
table.history td { vertical-align: top; }
.mark { font-weight: 700; margin-left: 6px; }
.mark.w { color: var(--win); }
.mark.l { color: var(--loss); }
.mark.p { color: var(--muted); }
.mark.w::before { content: "✓ "; }
.mark.l::before { content: "✗ "; }
td .small { display: block; color: var(--muted); font-size: 13px; }
.bf { color: var(--muted); font-size: 12px; margin-left: 4px; }

.tag.rlm { background: var(--pylon-soft); border-color: var(--pylon); font-weight: 600; }
.tag.sharp { background: var(--turf-soft); border-color: transparent; }

/* ---------- final scores */
.finals { margin-top: 32px; }
.finals-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.final { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 12px 16px; }
.final-score { display: grid; gap: 2px; font: 600 19px/1.2 var(--display); margin-bottom: 8px; }
.final-score span { color: var(--muted); }
.final-score span.won { color: var(--ink); }
.final-picks { grid-template-columns: 1fr; font-size: 14px; }

/* ---------- line history charts */
.line-history { border-top: 1px dotted var(--rule); padding-top: 6px; }
.line-history summary { cursor: pointer; font-size: 14px; color: var(--muted); font-weight: 600; }
.line-history summary:hover { color: var(--ink); }
.mini-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 8px; }
.mini-chart { margin: 0; }
.mini-chart figcaption { font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.mini-chart svg { display: block; width: 100%; height: auto; overflow: visible; }

/* ---------- week by week */
#h-weeks tr.clickable { cursor: pointer; }
#h-weeks tr.clickable:hover td, #h-weeks tr.clickable:focus td { background: var(--paper); }
#h-weeks tr.selected td { background: var(--turf-soft); font-weight: 600; }
.small-inline { color: var(--muted); font-size: 13px; }
.games-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.games-head .sort { margin: 0 0 6px; }
tr.week-row th { background: var(--turf-soft); color: var(--ink); text-align: left; position: static; }
tr.week-row th span { font: 400 14px var(--body); color: var(--muted); margin-left: 12px; }

/* ================= redesigned game cards ================= */
.games { gap: 16px; }
.game {
  display: grid; grid-template-columns: minmax(250px, 1fr) minmax(330px, 1.25fr); gap: 12px 32px;
  padding: 18px 22px; border-radius: 14px; border: 1px solid var(--rule); background: var(--surface);
  box-shadow: none;
}
.game.strong { border-left: 1px solid var(--rule); box-shadow: inset 4px 0 0 var(--pylon); padding-left: 22px; }
.game .meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; font-size: 14px; color: var(--muted); }
.game .meta time { color: var(--ink); font: 600 17px/1.2 var(--display); }
.game .meta .net { font-weight: 600; color: var(--ink); background: var(--paper); border-radius: 4px; padding: 1px 6px; }
.matchup { display: grid; gap: 10px; align-content: center; }
.team-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.team-id { display: flex; flex-direction: column; min-width: 0; }
.team-id .name { font: 600 21px/1.1 var(--display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-id .rec { font-size: 13px; color: var(--muted); }
.team-row .score { font: 700 32px/1 var(--display); font-variant-numeric: tabular-nums; min-width: 2ch; text-align: right; }
.team-row.winner .score { color: var(--turf); }
.team-row.loser .score { color: var(--muted); font-weight: 500; }
.logo { display: inline-block; flex: none; object-fit: contain; vertical-align: middle; }
.logo.badge { border-radius: 50%; display: inline-grid; place-items: center; font-family: var(--display); font-weight: 700; letter-spacing: .02em; }

.mk { width: 100%; border-collapse: collapse; font-size: 15px; }
.mk th, .mk td { border: 0; padding: 7px 8px; white-space: normal; vertical-align: top; background: none; position: static; }
.mk thead th { font: 500 13px var(--body); color: var(--muted); text-align: right; padding-top: 0; }
.mk tbody th { font: 600 15px var(--display); color: var(--muted); text-align: left; width: 82px; }
.mk tbody tr + tr th, .mk tbody tr + tr td { border-top: 1px solid var(--rule); }
.mk td { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.mk td span { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); }
.mk td.pick { font: 700 17px/1.15 var(--display); }
.mk td.pick.strong { color: var(--pylon); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.game .badges { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.movement { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding-top: 10px; }
.mini-title { margin: 0 0 4px; font: 600 15px var(--display); }
.mini-title span { font: 400 13px var(--body); color: var(--muted); margin-left: 8px; }
.more { grid-column: 1 / -1; }
.more summary { cursor: pointer; font-size: 14px; color: var(--muted); font-weight: 600; width: fit-content; }
.more summary:hover { color: var(--ink); }
.more-body { display: grid; gap: 12px; padding-top: 10px; }
.more-body .tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* logos elsewhere */
.with-logo { display: inline-flex; align-items: center; gap: 8px; }
.with-logo.at { margin-left: 6px; color: var(--muted); }
td .with-logo + .with-logo { margin-top: 0; }
.final-score span { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; }
.final-score b { font-weight: 600; }
.final-score em { font-style: normal; font-variant-numeric: tabular-nums; }

@media (max-width: 760px) {
  .game { grid-template-columns: 1fr; padding: 16px; }
  .game.strong { padding-left: 16px; }
  .team-id .name { font-size: 20px; }
  .mk tbody th { width: 70px; }
}

/* ---------- weather chips (icon + temp, like a phone weather app) */
.meta .wx { margin-left: auto; }
.wx { display: inline-flex; align-items: center; gap: .3rem; padding: .12rem .55rem .12rem .3rem; border-radius: 999px;
  background: var(--wx-bg); color: var(--ink); font-size: .8rem; white-space: nowrap; line-height: 1.2; }
.wx.bad { background: var(--wx-bad-bg); box-shadow: inset 0 0 0 1px var(--wx-bad-rule); }
.wx.pending, .wx.dome { color: var(--muted); }
.wx.pending { padding-left: .55rem; font-style: italic; }
.wx-ico { width: 1.45rem; height: 1.45rem; flex: none; overflow: visible; }
.wx-t { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.wx-s { color: var(--muted); }
.wx.bad .wx-s { color: var(--ink); }
.i-sun circle { fill: #f6b40e; } .i-sun line { stroke: #f6b40e; stroke-width: 1.7; stroke-linecap: round; }
.i-moon { fill: #c9cfe0; stroke: #8f98b3; stroke-width: .8; }
.i-cloud { fill: #ffffff; stroke: #9aa5ad; stroke-width: 1.1; stroke-linejoin: round; }
.i-cloud.back { fill: #dfe4e8; } .i-cloud.dark { fill: #8d98a2; stroke: #5f6b75; }
.i-rain line { stroke: #2f7fd6; stroke-width: 1.8; stroke-linecap: round; }
.i-snow circle { fill: #7fb7ec; }
.i-bolt { fill: #f6b40e; stroke: #b9850a; stroke-width: .5; stroke-linejoin: round; }
.i-fog line { stroke: #9aa5ad; stroke-width: 1.8; stroke-linecap: round; }
.i-wind path { fill: none; stroke: #4f9fb8; stroke-width: 1.8; stroke-linecap: round; }
.i-dome path { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; }
.i-dome path:first-child { fill: var(--wx-bg); } .i-dome line { stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; }
:root { --wx-bg: #eef1f6; --wx-bad-bg: #fff3dc; --wx-bad-rule: #eac36f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --wx-bg: #1c2740; --wx-bad-bg: #3a2c10; --wx-bad-rule: #8a6a24; }
  :root:not([data-theme="light"]) .i-cloud { fill: #d9dee2; } :root:not([data-theme="light"]) .i-cloud.back { fill: #9aa5ad; } }
:root[data-theme="dark"] { --wx-bg: #1c2740; --wx-bad-bg: #3a2c10; --wx-bad-rule: #8a6a24; }
@media (max-width: 560px) { .meta .wx-s { display: none; } }
@media (max-width: 420px) { .tabs a { padding-left: 8px; padding-right: 8px; font-size: 15px; } }

/* ---------- QB injury news (unverified until you confirm) */
.qb-news { flex: 1 1 100%; border: 1px solid var(--rule); border-left: 4px solid var(--pylon); border-radius: var(--radius-sm);
  background: var(--pylon-soft); padding: 10px 12px; font-size: 14px; display: grid; gap: 4px; }
.qb-news.available { border-left-color: var(--win); background: var(--turf-soft); }
.qb-news-head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.qb-news-label { font: 600 12px/1 var(--body); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.qb-news-link { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.qb-news-src { color: var(--muted); font-size: 13px; }
.qb-news-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 4px; }
.qb-news-actions span { color: var(--muted); font-size: 13px; margin-right: 2px; }
.qb-btn { display: inline-block; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--rule); background: var(--surface);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 13px; }
.qb-btn:hover { border-color: var(--ink); }
.qb-btn.out { border-color: var(--loss); color: var(--loss); }
.qb-btn.available { border-color: var(--win); color: var(--win); }
.qb-news.auto { border-left-color: var(--loss); background: var(--surface); box-shadow: inset 0 0 0 1px var(--rule); }
.qb-news.auto .qb-news-label { color: var(--loss); }
.qb-news-ev { margin: 2px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.mk td.pick.caution { color: var(--muted); }
.tag.caution { background: var(--surface); border: 1px dashed var(--muted); color: var(--ink); }

/* ---------- link from each card to its matchup page */
a.matchup { color: inherit; text-decoration: none; display: grid; gap: 6px; border-radius: var(--radius-sm); }
a.matchup:hover .name { text-decoration: underline; text-underline-offset: 3px; }
.open-matchup { font-size: 13px; font-weight: 600; color: var(--turf); margin-top: 2px; }
a.matchup:hover .open-matchup { text-decoration: underline; }

/* ---------- matchup page */
.back-link { display: inline-block; margin: 20px 0 8px; color: var(--muted); text-decoration: none; font-weight: 600; }
.back-link:hover { color: var(--ink); }
.hero { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; background: var(--surface);
  border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 24px 16px; text-align: center; }
.hero-team { display: grid; justify-items: center; gap: 4px; }
.hero-team .logo { width: 72px; height: 72px; }
.hero-name { font: 700 clamp(20px, 3.4vw, 30px)/1.1 var(--display); }
.hero-name .ap { font: 600 15px var(--body); color: var(--muted); margin-right: 6px; vertical-align: middle; }
.hero-rec { color: var(--muted); font-size: 14px; }
.hero-proj { font: 700 clamp(40px, 7vw, 64px)/1 var(--display); color: var(--ink); margin-top: 6px; font-variant-numeric: tabular-nums; }
.hero-mid { display: grid; justify-items: center; gap: 6px; max-width: 260px; }
.hero-mid .at { font: 600 14px var(--body); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.hero-meta { font-weight: 600; }
.hero-venue { color: var(--muted); font-size: 14px; }
.hero-mid .wx { margin: 0; }
.hero-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-top: auto; }
.game-panels { display: grid; gap: 12px; margin: 16px 0; background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--radius-lg); padding: 16px; }
.panel { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 16px; margin: 16px 0; }
.panel h2 { font: 700 22px/1.2 var(--display); margin: 0 0 12px; }
.panel h2 span { display: block; font: 400 13px/1.4 var(--body); color: var(--muted); margin-top: 2px; }
.panel h3 { font: 600 16px var(--body); margin: 0 0 8px; display: flex; align-items: center; gap: 6px; }
table.compare { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
table.compare th, table.compare td { padding: 7px 8px; border-bottom: 1px solid var(--rule); }
table.compare tbody th { font-weight: 400; color: var(--muted); text-align: center; font-size: 14px; }
table.compare thead th { font-weight: 700; border-bottom: 2px solid var(--ink); }
table.compare .l { text-align: left; width: 30%; white-space: nowrap; }
table.compare .r { text-align: right; width: 30%; white-space: nowrap; }
table.compare thead .l, table.compare thead .r { vertical-align: middle; }
table.compare td.edge { font-weight: 700; background: var(--turf-soft); }
.rk { display: inline-block; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--paper); border-radius: 999px; padding: 1px 7px; }
.rk.top { color: var(--win); background: color-mix(in srgb, var(--win) 14%, transparent); }
.rk.low { color: var(--loss); background: color-mix(in srgb, var(--loss) 12%, transparent); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
ol.form { list-style: none; margin: 0; padding: 0; }
ol.form li { display: grid; grid-template-columns: 26px 1fr auto auto; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.res { font-weight: 700; text-align: center; border-radius: 4px; padding: 1px 0; }
.res.W { color: var(--win); } .res.L { color: var(--loss); }
ol.form .opp { display: flex; align-items: center; gap: 6px; min-width: 0; }
ol.form .sc { font-variant-numeric: tabular-nums; font-weight: 600; }
.ats { font-size: 13px; color: var(--muted); white-space: nowrap; }
.ats.W { color: var(--win); font-weight: 600; } .ats.L { color: var(--loss); }
.ats small, table.h2h small { color: var(--muted); font-weight: 400; }
table.h2h { width: 100%; border-collapse: collapse; font-size: 14px; }
table.h2h th, table.h2h td { padding: 7px 8px; border-bottom: 1px solid var(--rule); text-align: left; }
table.h2h .num { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr 1fr; padding: 16px 10px; }
  .hero-mid { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .hero-team .logo { width: 52px; height: 52px; }
  .two-col { grid-template-columns: 1fr; }
  table.compare tbody th { font-size: 12px; }
  table.compare .l, table.compare .r { width: auto; }
}
.cell-logo { display: inline-flex; align-items: center; gap: 6px; }
.op-label { color: var(--pylon) !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: .05em; font-size: 14px; }
.tag.ours { background: var(--pylon-soft); border-color: var(--pylon); font-weight: 700; color: var(--ink); }

/* ---------- record tiles on the board */
.board-records { margin: 18px 0 8px; }
.rec-row h2 { font: 700 20px/1.2 var(--display); margin: 14px 0 0; }
.rec-row h2 span { font: 400 14px var(--body); color: var(--muted); margin-left: 6px; }
.rec-row .tally { margin: 10px 0 6px; }
.tally div.ours { border-color: var(--pylon); box-shadow: inset 4px 0 0 var(--pylon); }
.tally div.ours > span:first-of-type { color: var(--ink); font-weight: 600; }
.tally .close-note { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.rec-note { color: var(--muted); font-size: 13px; margin: 4px 0 0; }
th.ours-col, td.ours-col { background: color-mix(in srgb, var(--pylon-soft) 55%, transparent); }
.mk td.pick .ml-lean { display: inline; font-size: inherit; color: var(--muted); font-weight: 600; }
