/* =================================================================
   WC26 · warm-paper editorial design system (mirrors paradym.space)
   Sections: 1 tokens · 2 reset/base · 3 nav · 4 layout · 5 utilities
   6 states/skeletons · 7 cards+tags · 8 tables · 9 odds/meters
   10 matches · 11 match detail · 12 groups · 13 leaders · 14 markets
   15 footer · 16 responsive · 17 print
   ================================================================= */

/* ---- 1. tokens --------------------------------------------------- */
:root {
  --paper: #ffffff;
  --paper-warm: #fbf7f8;
  --ink: #16090e;
  --ink-muted: #6e5a61;
  --rose: #f4c6d3;
  --rose-soft: #fceef2;
  --rose-deep: #c92a64;
  --hairline: #ebdde2;
  --hairline-strong: #e0cdd4;

  --win: #2f8f6b;
  --loss: #c96a5b;
  --draw: #a8927a;

  --r-card: 8px;
  --r-chip: 2px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --t: .15s var(--ease);

  --font-text: 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --wrap: 1120px;
  --pad: 22px;
}

/* ---- 2. reset / base --------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-text);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper-warm);
  background-image:
    radial-gradient(120% 80% at 50% -12%, var(--rose-soft) 0%, rgba(252, 238, 242, 0) 55%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input { font: inherit; }

::selection { background: var(--rose); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--rose-deep);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---- 3. top nav -------------------------------------------------- */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 248, .86);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 58px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  white-space: nowrap;
  letter-spacing: -.02em;
}
.brand-mark {
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
}
.brand-txt {
  font-weight: 700;
  font-size: 19px;
  color: var(--rose-deep);
}
.brand-sub {
  margin-left: 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  color: var(--ink-muted);
  text-transform: uppercase;
}
.nav-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-tabs::-webkit-scrollbar { display: none; }
.nav-tabs a {
  position: relative;
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-muted);
  white-space: nowrap;
  border-radius: var(--r-chip);
  transition: color var(--t), background var(--t);
}
.nav-tabs a:hover { color: var(--ink); background: var(--rose-soft); }
.nav-tabs a[aria-current="page"] { color: var(--rose-deep); }
.nav-tabs a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: -1px;
  height: 2px;
  background: var(--rose-deep);
  border-radius: 2px;
}

.status-chip {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid var(--hairline);
  border-radius: 100px;
  background: var(--paper);
  white-space: nowrap;
}
.status-chip .sc-txt {
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.status-chip.is-live { border-color: var(--rose); }
.status-chip.is-live .sc-txt { color: var(--rose-deep); }
.status-chip.is-err .sc-txt { color: var(--loss); }

.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rose-deep);
  box-shadow: 0 0 0 0 rgba(201, 42, 100, .5);
  animation: pulse 1.7s var(--ease) infinite;
  flex: none;
}
.idle-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--hairline-strong);
  flex: none;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 42, 100, .45); }
  70% { box-shadow: 0 0 0 6px rgba(201, 42, 100, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 42, 100, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
}

/* ---- 4. layout --------------------------------------------------- */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
  width: 100%;
}
#view { display: block; min-height: 60vh; }
.view { padding: 34px 0 60px; }

.sec-head { margin: 0 0 20px; }
.sec-head.sub-head { margin-top: 46px; }
.sec-head.row-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.sec-title {
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.05;
  color: var(--ink);
}
.sec-title.small {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 600;
  letter-spacing: -.01em;
}
.sec-sub {
  margin-top: 8px;
  max-width: 62ch;
  color: var(--ink-muted);
  font-size: 14px;
}
.sec-count {
  font-size: 12px;
  color: var(--ink-muted);
  padding: 1px 7px;
  border: 1px solid var(--hairline);
  border-radius: 100px;
}

.stage-line {
  margin-bottom: 18px;
  min-height: 14px;
}

.panel {
  margin-top: 22px;
}
.panel:empty { margin: 0; }
.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
}
.panel-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
}

/* grids */
.grid { display: grid; gap: 14px; }
.grid-cards { grid-template-columns: repeat(2, 1fr); }
.grid-groups { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-cats { grid-template-columns: repeat(4, 1fr); gap: 14px; }
.grid-pred { grid-template-columns: repeat(2, 1fr); gap: 14px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ---- 5. utilities ------------------------------------------------ */
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.micro {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.muted { color: var(--ink-muted); }
.zero { color: var(--hairline-strong); }
.nowrap { white-space: nowrap; }
.dot-sep { color: var(--hairline-strong); margin: 0 7px; }
.sub-inline {
  padding: 14px 2px;
  font-size: 13.5px;
}
.link-btn {
  margin-top: 8px;
  background: none;
  border: none;
  padding: 4px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--rose-deep);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t);
}
.link-btn:hover { border-color: var(--rose-deep); }

/* ---- 6. states + skeletons --------------------------------------- */
.state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 52px 20px;
  border: 1px dashed var(--hairline-strong);
  border-radius: var(--r-card);
  background: var(--paper);
}
.state.inline { padding: 26px 18px; align-items: flex-start; text-align: left; }
.state-mark {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--rose-deep);
  line-height: 1;
}
.state-error .state-mark { color: var(--loss); }
.state-title { font-weight: 600; font-size: 15px; }
.state-note { color: var(--ink-muted); font-size: 13px; max-width: 44ch; }
.btn-retry {
  margin-top: 6px;
  padding: 7px 16px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-chip);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  transition: border-color var(--t), background var(--t);
}
.btn-retry:hover { border-color: var(--rose-deep); background: var(--rose-soft); }

.sk {
  display: inline-block;
  height: 11px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--hairline) 25%, var(--rose-soft) 50%, var(--hairline) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s var(--ease) infinite;
}
.sk-line { height: 12px; }
.sk-pill { width: 44px; height: 18px; border-radius: 100px; background: var(--hairline); }
.sk-num { width: 30px; height: 12px; border-radius: 3px; background: var(--hairline); }
.sk-card { display: flex; flex-direction: column; gap: 12px; }
.sk-card .sk-row { display: flex; align-items: center; justify-content: space-between; }
.sk-list { display: flex; flex-direction: column; gap: 12px; padding: 6px 0; }
.sk-listrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sk { animation: none; }
}

/* ---- 7. cards + tags --------------------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: var(--r-chip);
  border: 1px solid var(--hairline);
  color: var(--ink-muted);
  white-space: nowrap;
}
.tag-live {
  color: var(--rose-deep);
  border-color: var(--rose);
  background: var(--rose-soft);
}
.tag-final {
  color: var(--ink);
  border-color: var(--hairline-strong);
}

/* ---- 8. tables --------------------------------------------------- */
.tbl { width: 100%; border-collapse: collapse; }
.tbl th {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 7px 8px;
  border-bottom: 1px solid var(--hairline-strong);
}
.tbl td {
  padding: 8px;
  border-bottom: 1px solid var(--hairline);
  font-size: 13.5px;
}
.tbl tr:last-child td, .tbl tbody tr:last-child td { border-bottom: none; }
.tbl .l { text-align: left; }
.tbl .r { text-align: right; }
.tbl.compact th, .tbl.compact td { padding: 6px 7px; font-size: 12.5px; }
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---- 9. odds cells + meters -------------------------------------- */
.odds {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  justify-content: flex-end;
}
.odds-val { font-size: 13px; }
.odds.is-empty .odds-val { color: var(--hairline-strong); }
.mv { font-size: 9px; line-height: 1; }
.mv-up { color: var(--rose-deep); }
.mv-down { color: var(--ink-muted); }

.meter {
  display: block;
  width: 100%;
  height: 5px;
  border-radius: 100px;
  background: var(--hairline);
  overflow: hidden;
}
.meter-fill {
  display: block;
  height: 100%;
  background: var(--rose);
  border-radius: 100px;
  transition: width .4s var(--ease);
}
.meter-em .meter-fill { background: var(--rose-deep); }

.dbar {
  display: flex;
  width: 100%;
  height: 5px;
  border-radius: 100px;
  overflow: hidden;
  background: var(--hairline);
}
.dbar-h { background: var(--rose-deep); }
.dbar-a { background: var(--rose); }

/* ---- 10. matches view -------------------------------------------- */
.m-sec { margin-bottom: 34px; }

.match-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.match-card:hover {
  transform: translateY(-2px);
  border-color: var(--rose);
}
.match-card.is-live { border-color: var(--rose); }
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.card-top .micro { color: var(--ink-muted); }
.teams { display: flex; flex-direction: column; gap: 7px; }
.team-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.team-name {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.team-row.won .team-name { color: var(--ink); }
.team-abbr {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: .04em;
}
.score {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}
.score.is-won { color: var(--rose-deep); }
.score .pens { font-size: 11px; color: var(--ink-muted); margin-left: 3px; }
.card-foot {
  padding-top: 11px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.odds-line { font-size: 11.5px; color: var(--ink-muted); line-height: 1.5; }

/* ---- 11. match detail -------------------------------------------- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color var(--t);
}
.back-link:hover { color: var(--rose-deep); }

.match-header {
  margin: 18px 0 26px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hairline);
}
.mh-status { color: var(--ink-muted); display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.mh-score {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.mh-team { display: flex; flex-direction: column; gap: 10px; }
.mh-team:last-child { align-items: flex-end; text-align: right; }
.mh-name {
  font-size: clamp(1.4rem, 3.4vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.02;
}
.mh-mid { text-align: center; }
.mh-sc {
  font-size: clamp(2.4rem, 8vw, 4rem);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--ink);
}
.mh-sc .dash { color: var(--hairline-strong); margin: 0 6px; font-weight: 400; }
.mh-vs {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.pens-line { font-size: 11px; color: var(--ink-muted); margin-top: 6px; letter-spacing: .04em; }
.mh-venue { margin-top: 18px; }
.mh-form { display: flex; gap: 4px; }
.mh-team:last-child .mh-form { justify-content: flex-end; }

.form-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: var(--r-chip);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  border: 1px solid var(--hairline);
}
.form-win { color: var(--win); border-color: rgba(47, 143, 107, .35); background: rgba(47, 143, 107, .08); }
.form-loss { color: var(--loss); border-color: rgba(201, 106, 91, .35); background: rgba(201, 106, 91, .08); }
.form-draw { color: var(--draw); border-color: var(--hairline-strong); }
.form-none { color: var(--hairline-strong); }

.match-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}
.match-main { min-width: 0; }
.match-side { position: sticky; top: 74px; }

/* timeline */
.timeline { list-style: none; display: flex; flex-direction: column; }
.tl-row {
  display: grid;
  grid-template-columns: 44px 20px 1fr;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--hairline);
}
.tl-row:last-child { border-bottom: none; }
.tl-min { font-size: 12px; color: var(--ink-muted); }
.tl-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  font-size: 13px;
  line-height: 1;
}
.tl-ic.ic-goal { color: var(--rose-deep); }
.tl-ic.ic-owngoal { color: var(--loss); }
.tl-ic.ic-sub { color: var(--ink-muted); font-size: 12px; }
.tl-ic.ic-var { color: var(--ink-muted); font-size: 10px; }
.tl-ic.ic-dot { color: var(--hairline-strong); }
.tl-ic.ic-yc, .tl-ic.ic-rc {
  width: 9px; height: 13px;
  border-radius: 1px;
  align-self: center;
}
.tl-ic.ic-yc { background: #e6b64c; }
.tl-ic.ic-rc { background: var(--loss); }
.tl-txt { font-size: 13.5px; line-height: 1.45; }
.tl-txt b { font-weight: 600; }
.tl-away .tl-txt { color: var(--ink); }

/* team stats */
.tstats { display: flex; flex-direction: column; gap: 15px; }
.tstat {
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  align-items: center;
  gap: 12px;
}
.tstat-h, .tstat-a { font-size: 13px; }
.tstat-h { text-align: left; }
.tstat-a { text-align: right; }
.tstat-mid { display: flex; flex-direction: column; gap: 6px; }
.tstat-label {
  text-align: center;
  color: var(--ink-muted);
  font-size: 9.5px;
}

/* lineups */
.lineups { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.lu-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--hairline);
}
.lu-team { font-weight: 600; font-size: 14px; }
.lu-form { font-size: 11px; color: var(--rose-deep); letter-spacing: .06em; }
.lu-list { list-style: none; display: flex; flex-direction: column; }
.lu-subhead { margin: 12px 0 6px; }
.lu-p {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
}
.lu-p.is-sub { opacity: .72; }
.lu-num { font-size: 11px; color: var(--ink-muted); text-align: right; }
.lu-name { font-size: 13.5px; }
.lu-pos { grid-column: 2; justify-self: start; }
.lu-min { font-size: 10px; }
.lu-min.in { color: var(--win); }
.lu-min.out { color: var(--loss); }

/* player stats */
.pstats { display: flex; flex-direction: column; gap: 20px; }
.ps-name { font-weight: 500; }

/* betting */
.odds-card { display: flex; flex-direction: column; gap: 4px; }
.oc-meta { margin-bottom: 6px; }
.oc-group { padding: 10px 0; border-bottom: 1px solid var(--hairline); }
.oc-group:last-child { border-bottom: none; }
.oc-gtitle { margin-bottom: 7px; }
.oc-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: 10px;
  padding: 3px 0;
}
.oc-label { color: var(--ink); font-size: 10px; }
.oc-line { font-size: 12px; color: var(--ink-muted); text-align: right; min-width: 34px; }

.props { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--hairline); }
.props-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.props-search {
  flex: 1;
  max-width: 160px;
  padding: 6px 10px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-chip);
  background: var(--paper);
  font-size: 12.5px;
  color: var(--ink);
  transition: border-color var(--t);
}
.props-search::placeholder { color: var(--ink-muted); }
.props-search:focus { outline: none; border-color: var(--rose-deep); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-chip);
  background: var(--paper);
  font-size: 11.5px;
  color: var(--ink-muted);
  transition: border-color var(--t), color var(--t), background var(--t);
}
.chip:hover { border-color: var(--rose); color: var(--ink); }
.chip.is-active {
  border-color: var(--rose-deep);
  color: var(--rose-deep);
  background: var(--rose-soft);
}
.chip-n { font-size: 10px; color: var(--ink-muted); }
.chip.is-active .chip-n { color: var(--rose-deep); }

.prop-group { margin-bottom: 16px; }
.prop-gtitle {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 6px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink);
}
.prop-rows { display: flex; flex-direction: column; }
.prop-row {
  display: grid;
  grid-template-columns: 1fr 34px auto auto;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dashed var(--hairline);
}
.prop-row:last-child { border-bottom: none; }
.prop-name { font-size: 13px; }
.prop-line { font-size: 12px; color: var(--ink-muted); text-align: right; }
.prop-ou { display: inline-flex; align-items: baseline; gap: 5px; }
.prop-ou-k { color: var(--ink-muted); font-size: 9px; }

/* ---- 12. groups -------------------------------------------------- */
.group-card { padding: 16px 16px 8px; }
.group-title { margin-bottom: 10px; }
.gt-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.standings th { padding: 6px 6px; }
.standings td { padding: 7px 6px; font-size: 12.5px; }
.standings .rank { color: var(--ink-muted); width: 22px; }
.standings .team { width: 40%; }
.team-cell { display: inline-flex; align-items: center; gap: 8px; }
.logo { width: 18px; height: 18px; border-radius: 3px; object-fit: contain; flex: none; }
.logo-ph { background: var(--hairline); }
.tname { font-weight: 500; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.standings .gd { color: var(--ink-muted); }
.standings .pts { font-weight: 600; color: var(--ink); }
.standings tr.is-adv { background: linear-gradient(90deg, var(--rose-soft), rgba(252, 238, 242, .35)); }
.standings tr.is-adv .rank { color: var(--rose-deep); }

/* ---- 13. leaders ------------------------------------------------- */
.hero-boards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.board { padding: 18px 18px 12px; }
.board-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--hairline);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.board-rows { display: flex; flex-direction: column; }
.board-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  padding: 9px 0;
  border-bottom: 1px dashed var(--hairline);
}
.board-row:last-child { border-bottom: none; }
.br-rank { font-size: 12px; color: var(--ink-muted); padding-top: 1px; }
.br-main { display: flex; flex-direction: column; gap: 5px; }
.br-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.br-name { font-weight: 600; font-size: 14px; }
.br-val { font-size: 15px; font-weight: 600; color: var(--rose-deep); }
.br-meta { font-size: 10px; }

.cat-card { padding: 14px; }
.cat-title {
  padding-bottom: 9px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--hairline);
  color: var(--rose-deep);
  font-size: 10px;
}
.cat-rows { display: flex; flex-direction: column; }
.cat-row {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 8px;
  align-items: baseline;
  padding: 4px 0;
}
.cr-rank { font-size: 11px; color: var(--ink-muted); }
.cr-name { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-val { font-size: 12.5px; font-weight: 600; }

/* ---- 14. markets ------------------------------------------------- */
.mk-fix { font-weight: 500; border-bottom: 1px solid transparent; transition: border-color var(--t); }
.mk-fix:hover { border-color: var(--rose-deep); }
.lines td, .lines th { white-space: nowrap; }
.lines .l { white-space: normal; }
.spread-line { font-size: 11px; color: var(--ink-muted); }

.pred-src { margin-bottom: 12px; }
.pred-card { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.pred-q { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
.pred-rows { display: flex; flex-direction: column; gap: 9px; }
.pred-row { display: flex; flex-direction: column; gap: 5px; }
.pr-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pr-name { font-size: 13px; }
.pr-pct { font-size: 12.5px; font-weight: 600; color: var(--rose-deep); }
.pred-foot { padding-top: 4px; border-top: 1px solid var(--hairline); }
.src-link { color: var(--rose-deep); border-bottom: 1px solid transparent; transition: border-color var(--t); }
.src-link:hover { border-color: var(--rose-deep); }

.fut-table { min-width: 0; }
.ft-title {
  padding-bottom: 9px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--hairline-strong);
  color: var(--ink);
}
.implied { color: var(--ink-muted); font-size: 11.5px; }
.mk-note {
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 2px solid var(--rose-deep);
  background: var(--rose-soft);
  border-radius: 0 var(--r-card) var(--r-card) 0;
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.55;
}
.mk-note-k {
  color: var(--rose-deep);
  margin-right: 6px;
}

/* ---- 15. footer -------------------------------------------------- */
.site-foot {
  border-top: 1px solid var(--hairline);
  margin-top: 20px;
  padding: 26px 0 46px;
}
.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: baseline;
  color: var(--ink-muted);
  font-size: 12px;
}
.site-foot b { color: var(--ink); font-weight: 600; }

/* ---- 16. responsive ---------------------------------------------- */
@media (max-width: 960px) {
  .match-grid { grid-template-columns: 1fr; }
  .match-side { position: static; }
  .grid-cats { grid-template-columns: repeat(3, 1fr); }
  .grid-groups { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  :root { --pad: 16px; }
  .grid-cards { grid-template-columns: 1fr; }
  .grid-groups { grid-template-columns: 1fr; }
  .grid-cats { grid-template-columns: repeat(2, 1fr); }
  .grid-pred { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 20px; }
  .hero-boards { grid-template-columns: 1fr; }
  .lineups { grid-template-columns: 1fr; gap: 18px; }
  .nav-inner { gap: 12px; }
  .brand-sub { display: none; }
  .mh-name { font-size: clamp(1.2rem, 6vw, 1.7rem); }
}
@media (max-width: 440px) {
  .grid-cats { grid-template-columns: 1fr; }
  .status-chip { padding: 4px 8px; }
}

/* ---- 17. print --------------------------------------------------- */
@media print {
  .topnav, .status-chip, .btn-retry, .link-btn, .props-search { display: none; }
  body { background: #fff; }
  .card, .panel { break-inside: avoid; }
  .match-card:hover { transform: none; }
}
