/* Touchline. Day match in light mode, floodlit night match in dark mode. */

:root {
  color-scheme: light;
  /* Fixed brand colours: the pitch looks the same in both themes. */
  --accent: #2563EB;
  --accent-ink: #ffffff;
  --pitch: #0B1B4A;
  --pitch-alt: #0A173F;
  --pitch-deep: #08112F;
  --chalk: #f6faf5;
  --chalk-soft: #cfe0d4;
  --flag: #ffc629;
  --flag-ink: #1c1a06;

  /* Surfaces and text */
  --bg: #f7f8fa;
  --surface: #ffffff;
  --stripe: #f3f5f7;
  --ink: #0f1720;
  --ink-2: #4d5763;
  --line: #e6e8ec;
  --line-strong: #cfd4da;
  --link: #2563EB;
  --focus: #2563eb;

  /* Data */
  --model: #2563EB;
  --market: #3a4fa8;
  --gap: #ffc629;
  --bar-muted: #b4c1b6;
  --up: #0c6b43;
  --down: #b3261e;
  --won: #0c6b43;
  --lost: #b3261e;
  --tick-bg: #DCE7FF;

  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --narrow: 68%;
  --r-small: 10px;
  --r: 14px;
  --gutter: 16px;
  --z-header: 40;
  --z-toast: 90;
  --z-tooltip: 100;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --accent: #3D7BFF;
  --accent-ink: #052e22;
  --bg: #0e1014;
    --surface: #16191f;
    --stripe: #1c2027;
    --ink: #f2f4f7;
    --ink-2: #a4acb8;
    --line: #262b33;
    --line-strong: #3b424d;
    --link: #6ee7b7;
    --focus: #60a5fa;
    --model: #34a873;
    --market: #7686ea;
    --bar-muted: #4a525e;
    --up: #7fdcae;
    --down: #ff9d94;
    --won: #7fdcae;
    --lost: #ff9d94;
    --tick-bg: #123d2d;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --accent: #3D7BFF;
  --accent-ink: #052e22;
  --bg: #0e1014;
  --surface: #16191f;
  --stripe: #1c2027;
  --ink: #f2f4f7;
  --ink-2: #a4acb8;
  --line: #262b33;
  --line-strong: #3b424d;
  --link: #6ee7b7;
  --focus: #60a5fa;
  --model: #34a873;
  --market: #7686ea;
  --bar-muted: #4a525e;
  --up: #7fdcae;
  --down: #ff9d94;
  --won: #7fdcae;
  --lost: #ff9d94;
  --tick-bg: #123d2d;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  touch-action: manipulation;
}
main { flex: 1; outline: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
button, select, input { font: inherit; color: inherit; }
button, select, label, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.site-header :focus-visible, .pitch-band :focus-visible, .demo-bar :focus-visible, .site-footer :focus-visible { outline-color: var(--flag); }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200; padding: 10px 14px;
  background: var(--flag); color: var(--flag-ink); font-weight: 700; border-radius: var(--r-small);
}
.skip-link:focus { top: 8px; }
.tnum, td, th { font-variant-numeric: tabular-nums; }

/* Headings: the one family, squeezed like shirt lettering. */
.display {
  font-stretch: var(--narrow);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.005em;
  text-wrap: balance;
}
h2.section-title {
  font-stretch: 75%;
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.05;
  text-wrap: balance;
}
h3 { font-size: 17px; line-height: 1.3; font-weight: 700; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.prose { max-width: 68ch; }
.prose p + p { margin-top: 12px; }

/* Demo bar */
.demo-bar { background: var(--pitch-deep); color: var(--chalk); font-size: 14px; }
.demo-bar-inner { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; justify-content: space-between; padding-block: 6px; }
.demo-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.feed-status { display: flex; align-items: center; gap: 10px; color: var(--chalk-soft); }
.feed-status .link-button { color: var(--chalk); }
.link-button { background: none; border: 0; padding: 6px 2px; min-height: 32px; text-decoration: underline; text-underline-offset: 2px; color: var(--link); }

/* Segmented control */
.segmented { border: 0; margin: 0; padding: 0; display: inline-flex; align-items: center; row-gap: 6px; flex-wrap: wrap; }
.segmented legend { float: left; padding: 0; margin-right: 8px; font-size: 14px; color: var(--ink-2); }
.demo-bar .segmented legend, .on-pitch legend { color: var(--chalk-soft); }
.segmented label { position: relative; display: inline-flex; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  font-weight: 600; font-size: 15px; transition: background-color .15s, color .15s;
}
.segmented label:first-of-type span { border-radius: var(--r-small) 0 0 var(--r-small); }
.segmented label:last-of-type span { border-radius: 0 var(--r-small) var(--r-small) 0; }
.segmented label + label { margin-left: -1px; }
.segmented input:checked + span { background: var(--pitch); border-color: var(--pitch); color: var(--chalk); }
.segmented input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.segmented-small span { min-height: 32px; padding: 0 10px; font-size: 13.500px; }
.demo-bar .segmented span, .on-pitch span { background: transparent; color: var(--chalk); border-color: rgba(246, 250, 245, .5); }
.demo-bar .segmented input:checked + span, .on-pitch input:checked + span { background: var(--flag); border-color: var(--flag); color: var(--flag-ink); }
.demo-bar .segmented input:focus-visible + span, .on-pitch input:focus-visible + span { outline-color: var(--flag); }

/* Header */
.site-header { background: var(--pitch); color: var(--chalk); position: sticky; top: 0; z-index: var(--z-header); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 60px; flex-wrap: wrap; }
.logo {
  display: inline-flex; align-items: center; gap: 7px; color: var(--chalk); text-decoration: none;
  font-stretch: 72%; font-weight: 800; font-size: 28px; line-height: 1; min-height: 44px;
}
.logo-flag { fill: var(--flag); }
.menu-button { display: none; margin-left: auto; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; background: none; border: 1px solid rgba(246, 250, 245, .5); border-radius: var(--r-small); color: var(--chalk); font-weight: 600; }
.header-menu { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-list { display: flex; gap: 2px; }
.nav-list a {
  display: flex; align-items: center; min-height: 60px; padding: 0 12px; color: var(--chalk);
  text-decoration: none; font-weight: 600; font-size: 15.500px; position: relative;
}
.nav-list a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 4px; background: var(--flag); transform: scaleX(0); transform-origin: left; transition: transform .18s var(--ease); }
.nav-list a:hover::after { transform: scaleX(.4); }
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: 12px; }
.icon-button { display: inline-grid; place-items: center; width: 44px; height: 44px; background: none; border: 1px solid transparent; border-radius: var(--r-small); color: var(--chalk); }
.icon-button:hover { border-color: rgba(246, 250, 245, .5); }

@media all {
  .menu-button { display: inline-flex; }
  .header-menu { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; padding-bottom: 14px; gap: 10px; }
  .header-menu.open { display: flex; }
  .nav-list { flex-direction: column; }
  .nav-list a { min-height: 46px; padding-inline: 0; }
  .nav-list a::after { left: 0; right: auto; width: 4px; height: 100%; display: none; }
  .nav-list a[aria-current="page"] { color: var(--flag); }
  .nav-list a[aria-current="page"]::before { content: ''; width: 8px; height: 8px; margin-right: 8px; background: var(--flag); border-radius: 50%; }
  .header-tools { justify-content: space-between; }
}

/* Page header band. The data tool layer below makes it flat. */
.pitch-band {
  background-color: var(--pitch);
  background-image: repeating-linear-gradient(90deg, var(--pitch) 0 120px, var(--pitch-alt) 120px 240px);
  color: var(--chalk);
  border-bottom: 4px solid var(--chalk);
}
.pitch-band a:not(.button) { color: var(--chalk); }
.page-head { padding-block: 28px 26px; }
.page-head h1 { font-size: clamp(42px, 6vw, 68px); }
.page-head p { margin-top: 8px; color: var(--chalk-soft); max-width: 68ch; }
.breadcrumb { font-size: 14px; margin-bottom: 10px; color: var(--chalk-soft); }
.breadcrumb a { padding-block: 6px; }

/* Pitch diagram */
.pitch-svg { display: block; width: 100%; height: auto; overflow: visible; }
.pitch-lines { fill: none; stroke: var(--chalk); stroke-width: .35; stroke-opacity: .9; }
.pitch-spot { fill: var(--chalk); fill-opacity: .9; }
.marker-shot { fill: none; stroke: var(--chalk); stroke-width: .55; }
.marker-shot.on-target { fill: var(--flag); stroke: var(--pitch-deep); stroke-width: .3; }
.marker-fouled { fill: #9ee0ff; stroke: var(--pitch-deep); stroke-width: .25; }
.marker-foul { stroke: #ffb4a8; stroke-width: .7; stroke-linecap: round; }
.pitch-map { background-image: repeating-linear-gradient(90deg, var(--pitch) 0 9.090%, var(--pitch-alt) 9.090% 18.180%); padding: 14px; border-radius: var(--r); }
.pitch-direction { fill: var(--chalk); font-size: 2.200px; font-weight: 600; }


.map-legend { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-bottom: 12px; }
.layer-toggle { position: relative; display: inline-flex; }
.layer-toggle input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.layer-toggle span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r-small); font-size: 15px; font-weight: 600; background: var(--surface); }
.layer-toggle input:not(:checked) + span { color: var(--ink-2); text-decoration: line-through; }
.layer-toggle input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.layer-key { width: 16px; height: 16px; flex: none; }

/* Buttons */
.button-row { display: flex; flex-wrap: wrap; gap: 10px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px;
  border-radius: var(--r-small); border: 1px solid var(--line-strong); background: var(--surface);
  color: var(--ink); font-weight: 700; text-decoration: none; font-size: 16px;
  transition: background-color .15s, border-color .15s;
}
.button:hover { border-color: var(--ink); }
.button-primary { background: var(--pitch); border-color: var(--pitch); color: var(--chalk); }
.button-primary:hover { background: var(--pitch-deep); border-color: var(--pitch-deep); }
.button:active { transform: scale(.98); }

/* Sections */
.section { padding-block: 40px; }
.section + .section { padding-top: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 14px; }
.section-head p { color: var(--ink-2); max-width: 62ch; }
.section-sub { margin-top: 4px; color: var(--ink-2); max-width: 66ch; }
.disclosure { margin-top: 10px; font-size: 14px; color: var(--ink-2); max-width: 80ch; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: flex-end; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field label, .field .field-label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field select, .field input[type="search"] {
  min-height: 44px; padding: 0 10px; background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r-small); max-width: 100%; font-size: 16px;
}
.field input[type="search"] { width: 240px; }
.filters .push { margin-left: auto; }
@media (max-width: 640px) {
  .field, .field input[type="search"], .field select { width: 100%; }
  .filters .field.half { width: calc(50% - 7px); }
  .filters .push { margin-left: 0; }
}

/* Tips board: rows on a mown stripe, not a stack of boxes. */
.tip-board { border-top: 2px solid var(--ink); }
.tip {
  display: grid; align-items: center; gap: 8px 22px; padding: 14px 12px;
  grid-template-columns: 136px minmax(0, 1.25fr) minmax(220px, 1fr) 132px;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.tip:nth-child(even) { background: var(--stripe); }
.tip-when { font-size: 14px; color: var(--ink-2); line-height: 1.35; }
.tip-when strong { display: block; color: var(--ink); font-weight: 600; }
.tip h3 a { color: var(--ink); text-decoration: none; }
.tip h3 a:hover { text-decoration: underline; }
.tip-match { font-size: 14px; color: var(--ink-2); }
.tip-strength { display: inline-block; font-size: 13.500px; font-weight: 700; margin-left: 2px; white-space: nowrap; }
.tip-reasons { grid-column: 2 / -1; font-size: 14px; color: var(--ink-2); }
.tip-reasons summary { min-height: 32px; display: inline-flex; align-items: center; font-weight: 600; color: var(--link); }
.tip-reasons ul { list-style: disc; padding-left: 18px; max-width: 74ch; }
.tip.locked .tip-title { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 600; }
.tip.locked { grid-template-columns: 136px minmax(0, 1fr) auto; }
.lock-note { font-size: 14px; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 860px) {
  .tip, .tip.locked { grid-template-columns: minmax(0, 1fr) auto; }
  .tip-when { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }
  .tip-gap { grid-column: 1 / -1; grid-row: 3; }
  .tip-reasons { grid-column: 1 / -1; }
}

/* The gap bar: model and bookmaker on one line, with the difference marked. */
.gap-bar { --model-at: 50%; --implied-at: 40%; }
.gap-legend { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.gap-legend b { font-weight: 700; font-variant-numeric: tabular-nums; }
.gap-key { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.dot-model { width: 10px; height: 10px; border-radius: 50%; background: var(--model); flex: none; }
.tick-market { width: 4px; height: 14px; border-radius: 1px; background: var(--market); flex: none; }
.gap-track { position: relative; height: 16px; margin-top: 3px; }
.gap-track::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line-strong); }
.gap-fill { position: absolute; top: 4px; height: 8px; background: var(--gap); left: min(var(--model-at), var(--implied-at)); width: calc(max(var(--model-at), var(--implied-at)) - min(var(--model-at), var(--implied-at))); transition: left .3s var(--ease), width .3s var(--ease); }
.gap-model, .gap-market { position: absolute; top: 50%; transform: translate(-50%, -50%); transition: left .3s var(--ease); }
.gap-model { left: var(--model-at); width: 12px; height: 12px; border-radius: 50%; background: var(--model); box-shadow: 0 0 0 2px var(--surface); }
.gap-market { left: var(--implied-at); width: 4px; height: 16px; border-radius: 1px; background: var(--market); box-shadow: 0 0 0 2px var(--surface); }
.tip:nth-child(even) .gap-model, .tip:nth-child(even) .gap-market { box-shadow: 0 0 0 2px var(--stripe); }

/* Price: looks like a button because it is one. */
.price-button {
  display: inline-flex; flex-direction: column; align-items: flex-end; justify-content: center; width: 100%; min-height: 54px; padding: 6px 10px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-small); text-align: right; line-height: 1.2;
  transition: border-color .15s;
}
.price-button:hover { border-color: var(--ink); }
.price-button .price-main { display: inline-flex; align-items: center; gap: 4px; font-size: 21px; font-weight: 700; font-stretch: 85%; }
.price-button .price-book { font-size: 13px; color: var(--ink-2); }
.price-arrow { width: 10px; font-size: 10px; text-align: center; visibility: hidden; }
.is-up .price-arrow { visibility: visible; color: var(--up); }
.is-down .price-arrow { visibility: visible; color: var(--down); }
.is-up .price-arrow::before { content: '▲'; }
.is-down .price-arrow::before { content: '▼'; }
.price-text { display: inline-flex; align-items: center; gap: 3px; padding: 1px 3px; border-radius: 2px; transition: background-color .9s; }
.is-up.price-text, .is-down.price-text, .is-up .price-text, .is-down .price-text { background: var(--tick-bg); transition: none; }

/* Tables */
.table-scroll { overflow-x: auto; border-top: 2px solid var(--ink); background: var(--surface); -webkit-overflow-scrolling: touch; scroll-padding-left: 210px; }
.table-scroll:focus-visible { outline-offset: -3px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
caption { text-align: left; padding: 0 0 8px; color: var(--ink-2); font-size: 14px; }
th, td { padding: 10px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
th { font-size: 13.500px; font-weight: 700; color: var(--ink-2); vertical-align: bottom; background: var(--surface); }
th:first-child, td:first-child { text-align: left; }
.text-left { text-align: left; }
tbody tr:nth-child(even) td, tbody tr:nth-child(even) th { background: var(--stripe); }
tbody th { color: var(--ink); font-size: 15px; font-weight: 600; }
tbody tr:hover td, tbody tr:hover th { background: color-mix(in srgb, var(--flag) 16%, var(--surface)); }
.sticky-col { position: sticky; left: 0; z-index: 1; background: var(--surface); box-shadow: 1px 0 0 var(--line); text-align: left; }
.player-cell { white-space: normal; min-width: 150px; max-width: 200px; }
.player-cell a { font-weight: 700; color: var(--ink); text-decoration: none; }
.player-cell a:hover { text-decoration: underline; }
.player-cell small { display: block; color: var(--ink-2); font-size: 13px; font-weight: 400; }
.sort-button {
  display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; min-height: 36px; width: 100%; padding: 0;
  background: none; border: 0; font-weight: 700; color: inherit; font-size: inherit; white-space: nowrap;
}
.sort-button svg { opacity: .35; }
th[aria-sort="ascending"] .sort-button, th[aria-sort="descending"] .sort-button { color: var(--ink); }
th[aria-sort="ascending"] .sort-button svg, th[aria-sort="descending"] .sort-button svg { opacity: 1; }
th[aria-sort="ascending"] svg { transform: rotate(180deg); }
.is-sorted { font-weight: 700; }
.best-price { font-weight: 700; background: color-mix(in srgb, var(--flag) 30%, transparent) !important; }
.table-note { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.table-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; margin-top: 12px; }
.empty-state { padding: 28px 16px; text-align: left; background: var(--surface); border-top: 2px solid var(--ink); }
.empty-state p { margin-bottom: 10px; }

/* Leaderboards on home */
.leaders { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.leader-list { border-top: 2px solid var(--ink); margin-top: 6px; }
.leader-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.leader-list a { font-weight: 600; color: var(--ink); text-decoration: none; display: block; line-height: 1.25; }
.leader-list a:hover { text-decoration: underline; }
.leader-list small { display: block; color: var(--ink-2); font-size: 13px; font-weight: 400; }
.leader-value { font-size: 20px; font-weight: 700; font-stretch: 85%; font-variant-numeric: tabular-nums; }
@media (max-width: 980px) { .leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .leaders { grid-template-columns: minmax(0, 1fr); } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 10px; }
.steps li::before { content: counter(step); display: block; font-size: 44px; font-weight: 800; font-stretch: 68%; line-height: 1; margin-bottom: 6px; color: var(--ink); }
.steps p { color: var(--ink-2); margin-top: 4px; max-width: 42ch; }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* Plan band */
.plan-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; padding: 22px; background: var(--stripe); border-left: 6px solid var(--flag); }
.plan-band p { color: var(--ink-2); max-width: 66ch; }
@media (max-width: 640px) { .plan-band { grid-template-columns: minmax(0, 1fr); } }

/* Locked content */
.locked-panel { padding: 22px; background: var(--stripe); border-top: 2px solid var(--ink); display: grid; gap: 10px; justify-items: start; }
.locked-panel h3 { display: flex; align-items: center; gap: 8px; }
.locked-panel ul { list-style: disc; padding-left: 20px; color: var(--ink-2); }

/* Player page */
.player-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; }
.player-head .pos-badge {
  display: inline-grid; place-items: center; width: 72px; height: 72px; border: 3px solid var(--chalk); border-radius: 50%;
  font-size: 26px; font-weight: 800; font-stretch: 75%;
}
.stat-band { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); background: var(--surface); border-bottom: 1px solid var(--line); }
.stat { padding: 16px 14px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat dt { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.stat dd { margin: 0; }
.stat .value { display: block; font-size: 38px; font-weight: 700; font-stretch: 75%; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .percentile { font-size: 13px; color: var(--ink-2); }
.pct-bar { display: block; height: 4px; margin-top: 8px; background: var(--line); border-radius: 2px; position: relative; }
.pct-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--model); border-radius: 0 2px 2px 0; }
@media (max-width: 960px) { .stat-band { grid-template-columns: repeat(3, minmax(0, 1fr)); } .stat:nth-child(3n) { border-right: 0; } .stat:nth-child(-n+3) { border-bottom: 1px solid var(--line); } }
@media (max-width: 480px) { .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); } .stat:nth-child(even) { border-right: 0 !important; } .stat .value { font-size: 32px; } }
.two-col { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; }
@media (max-width: 960px) { .two-col { grid-template-columns: minmax(0, 1fr); } }

/* Match page */
.versus { font-size: clamp(38px, 5.600vw, 66px); }
.versus .vs { font-weight: 400; font-stretch: 75%; font-size: .6em; padding-inline: .1em; }
.match-meta { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 26px; color: var(--chalk-soft); font-size: 15px; }
.match-meta b { color: var(--chalk); font-variant-numeric: tabular-nums; }
.price-cell { padding: 4px 6px; }
.table-price { min-height: 40px; min-width: 62px; padding: 2px 6px; background: none; border: 1px solid transparent; border-radius: var(--r-small); font-weight: 500; font-size: 15px; font-variant-numeric: tabular-nums; }
.table-price:hover { border-color: var(--ink); }
.best-price .table-price { font-weight: 800; }

/* Charts */
.chart-frame { background: var(--surface); padding: 14px 14px 10px; border-top: 2px solid var(--ink); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.key-bar { width: 12px; height: 12px; border-radius: 2px; }
.chart text { font-family: var(--font); font-size: 12.500px; fill: var(--ink-2); font-variant-numeric: tabular-nums; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis { stroke: var(--line-strong); stroke-width: 1; }
.chart .line { fill: none; stroke: var(--model); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .threshold { stroke: var(--ink); stroke-width: 1.500; }
.chart .threshold-label { fill: var(--ink); font-weight: 700; }
.chart .bar-hit { fill: var(--model); }
.chart .bar-miss { fill: var(--bar-muted); }
.chart .bar-pos { fill: var(--model); }
.chart .bar-neg { fill: var(--market); }
.chart .dot-model { fill: var(--model); stroke: var(--surface); stroke-width: 2; }
.chart .dot-market { fill: var(--market); stroke: var(--surface); stroke-width: 2; }
.chart .hit { fill: transparent; }
.chart [tabindex]:focus-visible { outline: none; }
.chart [tabindex]:focus-visible .hit, .chart .hit:focus-visible { fill: color-mix(in srgb, var(--focus) 18%, transparent); }
.chart .crosshair { stroke: var(--ink-2); stroke-width: 1; }
.stat-tabs { margin-bottom: 12px; }

.tooltip {
  position: fixed; z-index: var(--z-tooltip); pointer-events: none; max-width: 240px; padding: 7px 10px;
  background: var(--ink); color: var(--bg); border-radius: var(--r-small); font-size: 14px; line-height: 1.35;
  font-variant-numeric: tabular-nums; box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.toast {
  position: fixed; z-index: var(--z-toast); left: 50%; bottom: 20px; transform: translateX(-50%); width: min(460px, calc(100vw - 32px));
  padding: 12px 16px; background: var(--ink); color: var(--bg); border-radius: var(--r); font-size: 15px;
}

/* Record tiles */
.figure-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--surface); border-bottom: 1px solid var(--line); }
.figure-row > div { padding: 14px; border-right: 1px solid var(--line); }
.figure-row > div:last-child { border-right: 0; }
.figure-row dt { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.figure-row dd { margin: 0; font-size: 34px; font-weight: 700; font-stretch: 75%; font-variant-numeric: tabular-nums; line-height: 1.15; }
@media (max-width: 760px) { .figure-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .figure-row > div { border-bottom: 1px solid var(--line); } .figure-row > div:nth-child(even) { border-right: 0; } }
.result { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }
.result-won { color: var(--won); }
.result-lost { color: var(--lost); }
.result-void { color: var(--ink-2); }

/* Notices */
.notice { padding: 12px 14px; background: var(--tick-bg); border-left: 5px solid var(--flag); max-width: 90ch; }
.not-found { padding-block: 40px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; max-width: 880px; border-top: 2px solid var(--ink); }
.plan { padding: 22px; background: var(--surface); display: flex; flex-direction: column; gap: 12px; }
.plan + .plan { border-left: 1px solid var(--line); background: var(--stripe); }
.plan-price { font-size: 46px; font-weight: 800; font-stretch: 72%; line-height: 1; }
.plan-price small { font-size: 16px; font-weight: 500; font-stretch: 100%; color: var(--ink-2); }
.plan-features { display: grid; gap: 8px; }
.plan-features li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; align-items: start; }
.plan-features svg { margin-top: 3px; color: var(--model); }
.plan .button { margin-top: auto; }
@media (max-width: 680px) { .plans { grid-template-columns: minmax(0, 1fr); } .plan + .plan { border-left: 0; border-top: 1px solid var(--line); } }

/* Support list */
.support-list { display: grid; gap: 0; border-top: 2px solid var(--ink); max-width: 780px; }
.support-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.helpline { font-size: clamp(34px, 5vw, 54px); font-weight: 800; font-stretch: 72%; line-height: 1.05; }
.helpline a { color: var(--chalk) !important; text-decoration: none; }
.check-list { list-style: disc; padding-left: 20px; display: grid; gap: 6px; max-width: 66ch; }

/* Footer */
.site-footer { background: var(--pitch-deep); color: var(--chalk-soft); font-size: 15px; margin-top: 40px; border-top: 4px solid var(--chalk); }
.site-footer a { color: var(--chalk); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.300fr); gap: 28px; padding-block: 28px; }
.footer-grid li a { display: inline-block; padding-block: 4px; }
.footer-heading { font-weight: 700; color: var(--chalk); margin-bottom: 4px; }
.footer-age { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--chalk); margin-bottom: 8px; }
.age-badge { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 2px solid var(--chalk); border-radius: 50%; font-size: 14px; font-weight: 800; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* Age dialog */
.age-dialog { border: 0; border-top: 6px solid var(--flag); border-radius: var(--r); padding: 24px; max-width: min(440px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); }
.age-dialog::backdrop { background: rgba(6, 28, 19, .82); }
.age-dialog h2 { font-size: 34px; font-stretch: 75%; font-weight: 800; line-height: 1.1; }
.age-dialog p { margin: 8px 0 18px; color: var(--ink-2); }
.adult-only { padding-block: 60px; }

@media (max-width: 860px) {
  .section { padding-block: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0ms !important; }
}
@media (forced-colors: active) {
  .gap-model, .gap-market, .gap-fill { background: CanvasText; }
}


/* ==========================================================================
   Data tool layer: flat and quiet, with tighter type, so the numbers
   do the talking. The grass now only appears on pitch maps.
   ========================================================================== */
.site-header { background: #0B1226; border-bottom: 1px solid #1F2A4D; }
.demo-bar { background: #1b3328; }
.nav-list a { font-size: 15px; }
.logo { font-size: 26px; }

.pitch-band { background: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.pitch-band a:not(.button) { color: var(--link); }
.pitch-band :focus-visible { outline-color: var(--focus); }
.pitch-band .page-head { padding-block: 22px 18px; }
.pitch-band .page-head h1, .pitch-band .versus { font-size: clamp(30px, 3.400vw, 40px); font-stretch: 85%; font-weight: 700; line-height: 1.1; }
.pitch-band .page-head p { color: var(--ink-2); margin-top: 4px; }
.pitch-band .breadcrumb { color: var(--ink-2); margin-bottom: 6px; }
.pitch-band .match-meta { color: var(--ink-2); }
.pitch-band .match-meta b { color: var(--ink); }
.pitch-band .helpline { font-size: clamp(30px, 4vw, 44px); margin-top: 4px; }
.pitch-band .helpline a { color: var(--ink) !important; }

h2.section-title { font-size: clamp(21px, 2vw, 25px); font-stretch: 90%; font-weight: 700; line-height: 1.2; }
.section { padding-block: 28px; }
.tip-board, .table-scroll, .chart-frame, .leader-list, .steps li, .plans, .support-list, .locked-panel, .empty-state { border-top-width: 1px; border-top-color: var(--line-strong); }

/* Tables: compact rows, no zebra, hover to track a row. */
table { font-size: 14px; }
th, td { padding: 7px 10px; }
th { font-size: 13px; font-weight: 600; }
tbody th { font-size: 14px; }
tbody tr:nth-child(even) td, tbody tr:nth-child(even) th { background: var(--surface); }
tbody tr:hover td, tbody tr:hover th { background: var(--stripe); }
.tip:nth-child(even) { background: var(--surface); }
.tip:nth-child(even) .gap-model, .tip:nth-child(even) .gap-market { box-shadow: 0 0 0 2px var(--surface); }

/* Player table */
.group-row th { padding-block: 6px 2px; color: var(--ink); text-align: left; border-bottom: 0; font-size: 12.500px; }
.group-start { border-left: 1px solid var(--line); }
.player-table thead th { position: sticky; background: var(--surface); z-index: 2; }
.player-table .group-row th { top: 0; }
.player-table .label-row th { top: 28px; box-shadow: 0 1px 0 var(--line-strong); }
.player-table thead .sticky-col { z-index: 3; }
.player-table .label-row .sticky-col { box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line-strong); }
.player-table .sort-button { min-height: 28px; }
.player-table td.is-sorted { font-weight: 700; background: linear-gradient(90deg, color-mix(in srgb, var(--model) 20%, transparent) var(--fill, 0%), transparent var(--fill, 0%)), var(--surface); }
.player-table tbody tr:hover td.is-sorted { background: linear-gradient(90deg, color-mix(in srgb, var(--model) 24%, transparent) var(--fill, 0%), transparent var(--fill, 0%)), var(--stripe); }
.player-table th.player-cell { padding-block: 6px; }
.player-cell small { font-size: 12.500px; }
@media (min-width: 861px) {
  .scroll-both { max-height: min(76dvh, 780px); overflow: auto; }
}
@media (max-width: 860px) {
  .player-table thead th { position: static; }
  .player-table thead .sticky-col { position: sticky; left: 0; }
}

/* Real player page */
.player-title { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 32px; align-items: end; }
.fact-row { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 0; }
.fact-row dt { font-size: 13px; color: var(--ink-2); }
.fact-row dd { margin: 0; font-size: 20px; font-weight: 700; font-stretch: 88%; font-variant-numeric: tabular-nums; line-height: 1.2; }
.fact-row div { display: flex; flex-direction: column-reverse; }
@media (max-width: 720px) { .player-title { grid-template-columns: minmax(0, 1fr); } }

.lead-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.lead-stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-small); padding: 14px 16px; }
.lead-stat dt { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.lead-stat dd { margin: 0; }
.lead-value { display: block; font-size: 40px; font-weight: 700; font-stretch: 85%; line-height: 1.1; font-variant-numeric: tabular-nums; }
.lead-value small { font-size: 14px; font-weight: 500; font-stretch: 100%; color: var(--ink-2); margin-left: 4px; }
.lead-context { display: block; margin-top: 8px; font-size: 13.500px; color: var(--ink-2); }
@media (max-width: 720px) { .lead-stats { grid-template-columns: minmax(0, 1fr); } .lead-value { font-size: 34px; } }

.rank-cell { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 150px; }
.rank-track { position: relative; flex: 1; height: 6px; min-width: 90px; background: var(--line); border-radius: 3px; }
.rank-track i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--model); border-radius: 3px; }
.rank-value { width: 34px; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.stat-group th { font-size: 12.500px; color: var(--ink); background: var(--stripe) !important; padding-block: 5px; font-weight: 700; text-align: left; }
.stat-table tbody th { font-weight: 500; }
.lead-row th, .lead-row td { font-weight: 700; }
.data-notes { margin-top: 14px; color: var(--ink-2); font-size: 13.500px; max-width: 86ch; display: grid; gap: 6px; list-style: disc; padding-left: 18px; }

/* Fixtures */
.fixture-day { font-size: 15px; font-weight: 700; margin: 22px 0 6px; }
.fixture-list { background: var(--surface); border-top: 1px solid var(--line-strong); }
.fixture-row {
  display: grid; grid-template-columns: 58px minmax(0, 1fr) 150px 170px; gap: 4px 16px; align-items: center;
  min-height: 48px; padding: 8px 12px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line);
  transition: background-color .15s;
}
.fixture-row:hover { background: var(--stripe); }
.fixture-time { font-weight: 700; font-variant-numeric: tabular-nums; }
.fixture-teams { font-weight: 600; }
.fixture-row:hover .fixture-teams { text-decoration: underline; }
.fixture-v { color: var(--ink-2); font-weight: 400; }
.fixture-comp, .fixture-status { font-size: 14px; color: var(--ink-2); }
.fixture-status { display: inline-flex; align-items: center; gap: 5px; }
.fixture-status.is-announced { color: var(--won); font-weight: 600; }
@media (max-width: 760px) {
  .fixture-row { grid-template-columns: 52px minmax(0, 1fr); }
  .fixture-comp, .fixture-status { grid-column: 2; }
}

/* Match sections */
.view-tabs { display: flex; gap: 20px; margin-top: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.view-tabs a { display: flex; align-items: center; min-height: 44px; color: var(--ink-2); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; }
.view-tabs a:hover { color: var(--ink); }
.view-tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--model); }

/* Lineups */
.lineup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.team-lineup-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; margin-bottom: 8px; }
.lineup-table th, .lineup-table td { padding-inline: 8px; }
.lineup-table .player-cell { min-width: 130px; }
@media (max-width: 1060px) { .lineup-grid { grid-template-columns: minmax(0, 1fr); } }

/* Home */
.home-intro { background: var(--surface); border-bottom: 1px solid var(--line); }
.home-intro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 32px; align-items: end; padding-block: 34px 28px; }
.home-title { font-size: clamp(34px, 4.600vw, 56px); font-stretch: 80%; font-weight: 750; line-height: 1.03; text-wrap: balance; }
.home-lede { margin-top: 12px; color: var(--ink-2); font-size: 17px; max-width: 60ch; }
.home-search label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 4px; }
.home-search-row { display: flex; gap: 8px; }
.home-search input { flex: 1; min-width: 0; min-height: 46px; padding: 0 12px; font-size: 16px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--r-small); }
.home-search .small { margin-top: 6px; }
.home-main { padding-block: 28px; }
.sample-tag { display: inline-block; margin-left: 2px; padding: 0 6px; font-size: 12.500px; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line-strong); border-radius: var(--r-small); white-space: nowrap; }
.tip-board.compact .tip, .tip-board.compact .tip.locked { grid-template-columns: minmax(0, 1fr) 132px; gap: 6px 16px; padding: 12px; }
.tip-board.compact .tip-when { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0 10px; font-size: 13.500px; }
.tip-board.compact .tip-gap { grid-column: 1 / -1; grid-row: 3; }
.tip-board.compact .tip.locked .tip-when { grid-row: 1; }
.tip-board.compact .price-button { min-height: 48px; padding-block: 4px; }
.fixture-list.compact .fixture-row { grid-template-columns: 112px minmax(0, 1fr); padding-inline: 10px; }
.fixture-list.compact .fixture-time { font-size: 13.500px; font-weight: 600; }
.fixture-list.compact .fixture-comp { grid-column: 2; font-size: 13.500px; }
.steps li::before { font-size: 26px; font-stretch: 80%; font-weight: 700; margin-bottom: 2px; }
.plan-band { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--model); padding: 16px 18px; }
@media (max-width: 860px) {
  .home-intro-grid { grid-template-columns: minmax(0, 1fr); padding-block: 24px 20px; }
  .home-main { padding-block: 22px; }
}
@media (max-width: 420px) {
  .home-search-row { flex-direction: column; }
}

/* Tips board */
.market-tabs { margin-bottom: 14px; }
.tip-head, .tip-board.full .tip {
  display: grid; align-items: center; gap: 6px 18px;
  grid-template-columns: 124px minmax(0, 1.3fr) minmax(210px, 1fr) 62px 138px;
  grid-template-areas: "when main gap value price" ". why why why why";
  padding-inline: 12px;
}
.tip-head { grid-template-areas: none; margin-top: 6px; padding-block: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.tip-head .num { text-align: right; }
.tip-head + .tip-board { border-top: 1px solid var(--line-strong); }
.tip-board.full .tip { padding-block: 10px 4px; }
.tip-board.full .tip-when { grid-area: when; }
.tip-board.full .tip > div:nth-of-type(1) { grid-area: main; }
.tip-board.full .tip-gap { grid-area: gap; }
.tip-board.full .tip-value { grid-area: value; text-align: right; font-size: 15px; }
.tip-board.full .tip-price { grid-area: price; }
.tip-board.full .tip-reasons { grid-area: why; }
.tip-value-label { display: none; color: var(--ink-2); font-size: 14px; }
.tip-board.compact .tip-value { display: none; }
.tip-reasons summary { min-height: 28px; font-size: 13.500px; }
@media (max-width: 860px) {
  .tip-head { display: none; }
  .tip-head + .tip-board { border-top: 0; }
  .tip-board.full { border-top: 1px solid var(--line-strong); }
  .tip-board.full .tip {
    grid-template-columns: minmax(0, 1fr) 130px;
    grid-template-areas: "when when" "main price" "gap gap" "value why";
    padding-block: 12px 6px;
  }
  .tip-board.full .tip-when { display: flex; flex-wrap: wrap; gap: 0 10px; font-size: 13.500px; }
  .tip-board.full .tip-value { text-align: left; }
  .tip-value-label { display: inline; }
  .tip-board.full .tip-reasons { grid-column: 1 / -1; grid-row: 4; justify-self: end; text-align: left; }
  .tip-board.full .tip-reasons[open] { grid-row: 5; justify-self: start; }
  .tip-board.full .tip-reasons[open] summary { justify-self: start; }
}

/* Odds tables */
.odds-table .odds-selection { white-space: normal; min-width: 150px; max-width: 200px; font-weight: 600; }
.best-cell { background: color-mix(in srgb, var(--flag) 16%, var(--surface)) !important; }
.table-price { display: inline-flex; flex-direction: column; align-items: flex-end; justify-content: center; line-height: 1.2; color: var(--ink); }
.best-cell .table-price { font-weight: 800; font-size: 16px; min-width: 88px; }
.table-book { font-size: 12px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.tip-tag { display: inline-block; padding: 0 5px; margin-left: 2px; font-size: 12px; font-weight: 700; color: var(--flag-ink); background: var(--flag); border-radius: var(--r-small); vertical-align: 1px; }
.lock-line { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--ink-2); font-size: 14.500px; }
.lock-line svg { flex: none; }
.tip-board.compact.tip-board { border-top: 1px solid var(--line-strong); }
.price-button .price-book { white-space: nowrap; }


/* ==========================================================================
   Modern layer: one type family, rounded cards on a soft background, a light
   translucent header and pill controls. Green is the only accent.
   ========================================================================== */
body { -webkit-font-smoothing: antialiased; }
.display, h2.section-title, .home-title, .pitch-band .page-head h1, .pitch-band .versus, .logo, .value, .lead-value, .plan-price, .helpline, .leader-value, .figure-row dd, .fact-row dd, .stat .value, .age-dialog h2 { font-stretch: normal; }

/* Type */
.pitch-band .page-head h1, .pitch-band .versus { font-size: clamp(30px, 3.200vw, 40px); font-weight: 650; letter-spacing: -.028em; line-height: 1.12; }
.versus .vs { font-stretch: normal; font-size: .62em; color: var(--ink-2); padding-inline: .2em; }
h2.section-title { font-size: clamp(20px, 1.800vw, 23px); font-weight: 620; letter-spacing: -.018em; }
h3 { font-size: 15.500px; font-weight: 600; letter-spacing: -.005em; }
.lede, .home-lede { letter-spacing: -.005em; }
th { font-weight: 550; }

/* Demo bar */
.demo-bar { background: var(--stripe); color: var(--ink-2); border-bottom: 1px solid var(--line); font-size: 13px; }
.demo-bar strong { color: var(--ink); font-weight: 600; }
.feed-status { color: var(--ink-2); }
.feed-status .link-button { color: var(--ink); }
.demo-bar .segmented legend, .on-pitch legend { color: var(--ink-2); }
.demo-bar :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--focus); }

/* Header */
.site-header { background: color-mix(in srgb, var(--surface) 86%, transparent); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); color: var(--ink); border-bottom: 1px solid var(--line); }
.logo { color: var(--ink); font-size: 19px; font-weight: 650; letter-spacing: -.025em; gap: 9px; }
.logo-mark { fill: var(--accent); }
:root[data-theme="dark"] .logo-mark { fill: #2563EB; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-mark { fill: #2563EB; } }
.header-inner { min-height: 58px; }
.nav-list { gap: 2px; }
.nav-list a { min-height: 36px; padding: 0 11px; color: var(--ink-2); font-weight: 500; font-size: 14.500px; border-radius: 9px; transition: background-color .15s, color .15s; }
.nav-list a::after, .nav-list a::before { display: none !important; }
.nav-list a:hover { background: var(--stripe); color: var(--ink); }
.nav-list a[aria-current="page"] { background: var(--stripe); color: var(--ink); font-weight: 600; }
.menu-button { color: var(--ink); border-color: var(--line-strong); }
.icon-button { color: var(--ink-2); }
.icon-button:hover { background: var(--stripe); border-color: transparent; color: var(--ink); }
@media all {
  .nav-list a { min-height: 44px; padding-inline: 12px; }
  .nav-list a[aria-current="page"] { color: var(--ink); }
}

/* Pill controls */
.segmented { gap: 6px; }
.segmented legend { margin-right: 4px; font-size: 13px; line-height: 32px; }
.segmented label + label { margin-left: 0; }
.segmented span, .segmented label:first-of-type span, .segmented label:last-of-type span { border-radius: 999px; background: var(--surface); color: var(--ink-2); border-color: var(--line); font-weight: 500; font-size: 14px; }
.segmented label:hover span { color: var(--ink); border-color: var(--line-strong); }
.segmented input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); font-weight: 550; }
.segmented-small span { font-size: 13px; }
.demo-bar .segmented span, .on-pitch span { background: var(--surface); color: var(--ink-2); border-color: var(--line); }
.demo-bar .segmented input:checked + span, .on-pitch input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.demo-bar .segmented input:focus-visible + span, .on-pitch input:focus-visible + span { outline-color: var(--focus); }

/* Buttons and fields */
.button { min-height: 44px; font-weight: 550; font-size: 15px; border-color: var(--line-strong); }
.button:hover { background: var(--stripe); border-color: var(--line-strong); }
.button-primary, .button-primary:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.button-primary:hover { filter: brightness(.93); }
.field label, .field .field-label { font-size: 13px; font-weight: 500; }
.field select, .field input[type="search"] { border-color: var(--line-strong); }
.link-button { font-weight: 500; }

/* Page header */
.pitch-band { background: none; border-bottom: 0; }
.pitch-band .page-head { padding-block: 30px 6px; }
.pitch-band .page-head p { max-width: 70ch; }
.view-tabs { margin-top: 10px; }
.view-tabs a { font-weight: 500; }
.view-tabs a[aria-current="page"] { border-bottom-color: var(--accent); font-weight: 600; }
.section { padding-block: 26px; }

/* Cards */
.tip-board, .table-scroll, .chart-frame, .fixture-list, .plans, .support-list, .locked-panel, .empty-state, .stat-band, .figure-row, .plan-band, .lead-stat, .steps li, .leaders > div {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 1px 2px rgba(15, 23, 32, .04);
}
.tip-board, .fixture-list, .plans, .stat-band, .figure-row { overflow: hidden; }
.tip-board.compact.tip-board, .tip-head + .tip-board, .tip-board.full { border: 1px solid var(--line); }
.tip:last-child, .fixture-list li:last-child .fixture-row, .support-list li:last-child { border-bottom: 0; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
.tip-head { padding-inline: 13px; }
.leaders > div { padding: 14px 16px 6px; }
.leader-list { border-top: 0; margin-top: 4px; }
.leader-list li { padding: 7px 0; }
.leader-list li:last-child { border-bottom: 0; }
.leader-value { font-size: 16px; font-weight: 600; }
.steps li { padding: 16px 18px; border-top: 1px solid var(--line); }
.steps li::before { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-bottom: 10px; font-size: 13px; font-weight: 650; color: var(--accent-ink); background: var(--accent); border-radius: 8px; line-height: 1; }
.support-list { padding-inline: 16px; }
.locked-panel, .empty-state { padding: 22px; }
.plan + .plan { background: var(--surface); }
.plan-price { font-size: 38px; font-weight: 650; letter-spacing: -.03em; }
.plan-band { border-left: 1px solid var(--line); padding: 18px 20px; }
.lead-stat { padding: 16px 18px; }
.lead-value, .stat .value, .figure-row dd { font-weight: 620; letter-spacing: -.025em; }
.lead-value { font-size: 36px; }
.fact-row dd { font-weight: 620; letter-spacing: -.015em; }
.chart-frame { padding: 16px; }
.pitch-map { border-radius: var(--r); }

/* Notices */
.notice { background: color-mix(in srgb, var(--accent) 7%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line)); border-radius: 12px; font-size: 14.500px; color: var(--ink); max-width: none; }
.sample-tag { border-radius: 999px; padding: 1px 8px; border-color: var(--line); background: var(--stripe); font-weight: 500; font-size: 12px; }

/* Tables */
.table-scroll { border-top: 1px solid var(--line); }
.player-table td.is-sorted { background: linear-gradient(90deg, color-mix(in srgb, var(--model) 16%, transparent) var(--fill, 0%), transparent var(--fill, 0%)), var(--surface); }
.stat-group th { font-weight: 600; }
.group-row th { font-weight: 600; }

/* Prices and data marks */
.gap-fill { background: color-mix(in srgb, var(--model) 38%, var(--surface)); border-radius: 4px; }
.gap-track::before { height: 2px; border-radius: 2px; background: var(--line); }
.price-button { border-color: var(--line-strong); }
.price-button:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 5%, var(--surface)); }
.price-button .price-main { font-size: 18px; font-weight: 620; letter-spacing: -.015em; }
.best-price { background: color-mix(in srgb, var(--accent) 12%, var(--surface)) !important; font-weight: 600; }
.best-cell { background: color-mix(in srgb, var(--accent) 9%, var(--surface)) !important; }
.best-cell .table-price { font-weight: 650; }
.table-price { border-radius: 8px; }
.tip-tag { background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 0 7px; font-weight: 600; }
.tip-reasons summary { font-weight: 500; }
.fixture-time { font-weight: 600; }
.fixture-teams { font-weight: 550; }
.fixture-row { border-radius: 0; }

/* Home */
.home-intro { background: none; border-bottom: 0; }
.home-intro-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 52px 16px; justify-items: start; }
.home-title { font-size: clamp(38px, 5.400vw, 68px); font-weight: 640; letter-spacing: -.042em; line-height: 1.02; max-width: 16ch; }
.home-lede { font-size: 18px; max-width: 58ch; margin-top: 16px; }
.home-search { width: 100%; max-width: 620px; }
.home-search-row { padding: 6px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: 0 4px 16px rgba(15, 23, 32, .06); }
.home-search-row:focus-within { border-color: var(--accent); }
.home-search input { background: none; border: 0; border-radius: 10px; }
.home-search input:focus-visible { outline-offset: 0; }
.home-main { padding-block: 26px; }
.sample-tag { vertical-align: 1px; }
@media (max-width: 860px) { .home-intro-grid { padding-block: 32px 8px; } }

/* Footer */
.site-footer { background: var(--surface); color: var(--ink-2); border-top: 1px solid var(--line); }
.site-footer a { color: var(--ink); }
.footer-heading, .footer-age { color: var(--ink); font-weight: 600; }
.age-badge { border-color: var(--ink); font-weight: 650; }

/* Dialog */
.age-dialog { border-top: 0; border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); }
.age-dialog::backdrop { background: rgba(10, 12, 16, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.age-dialog h2 { font-size: 26px; font-weight: 650; letter-spacing: -.025em; }

/* Tooltip and toast */
.tooltip { border-radius: 10px; }
.toast { border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, .22); }
.lead-stats { margin-bottom: 12px; }

/* Fixture cheat sheet */
.sheet-heading { margin-bottom: 8px; color: var(--ink-2); font-size: 14px; font-weight: 550; }
.sheet-leaders { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 20px; }
.sheet-leader { min-width: 0; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 1px 2px rgba(15, 23, 32, .04); }
.sheet-leader dt { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.sheet-leader dd { margin: 2px 0 0; }
.sheet-leader-value { display: block; font-size: 30px; font-weight: 620; letter-spacing: -.025em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.sheet-leader a { display: block; margin-top: 4px; color: var(--ink); font-weight: 600; font-size: 14.500px; text-decoration: none; overflow-wrap: anywhere; }
.sheet-leader a:hover { text-decoration: underline; }
.sheet-leader small { display: block; color: var(--ink-2); font-size: 13px; overflow-wrap: anywhere; }
.sheet-teams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.sheet-team { min-width: 0; padding: 16px 18px 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 1px 2px rgba(15, 23, 32, .04); }
.sheet-team h3 { font-size: 17px; font-weight: 620; letter-spacing: -.015em; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sheet-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.sheet-list { min-width: 0; padding-block: 12px; }
.sheet-list h4 { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.sheet-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; align-items: baseline; padding-block: 4px; }
.sheet-list a { min-width: 0; color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.sheet-list a:hover { text-decoration: underline; }
.sheet-value { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sheet-bar { grid-column: 1 / -1; display: block; height: 3px; margin-top: 3px; background: var(--stripe); border-radius: 2px; overflow: hidden; }
.sheet-bar i { display: block; height: 100%; background: var(--model); border-radius: 2px; }
@media (max-width: 1000px) {
  .sheet-teams { grid-template-columns: minmax(0, 1fr); }
  .sheet-leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .sheet-lists { grid-template-columns: minmax(0, 1fr); }
  .sheet-list + .sheet-list { border-top: 1px solid var(--line); }
  .sheet-leader { padding: 12px 14px; }
  .sheet-leader-value { font-size: 26px; }
}
.sheet-empty { padding-block: 14px 10px; font-size: 14.500px; }


/* ==========================================================================
   Matchday layer: deep green hero bands, club badges, a colour for each stat
   family and cards with more presence.
   ========================================================================== */
:root {
  --hero: linear-gradient(120deg, #0B1226 0%, #06403a 55%, #0b6b58 100%);
  --hero-ink: #f3fbf7;
  --hero-ink-2: #b9d8cc;
  --hero-accent: #5ff0b0;
  --stat-attack: #059669;
  --stat-foul: #ea580c;
  --stat-fouled: #2563eb;
  --stat-defend: #7c3aed;
  --stat-card: #d97706;
  --shadow-card: 0 1px 2px rgba(15, 23, 32, .05), 0 8px 24px rgba(15, 23, 32, .05);
  --bg: #f1f4f2;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --stat-attack: #34d399; --stat-foul: #fb923c; --stat-fouled: #60a5fa; --stat-defend: #a78bfa; --stat-card: #fbbf24; --bg: #0e1014; --shadow-card: none; } }
:root[data-theme="dark"] { --stat-attack: #34d399; --stat-foul: #fb923c; --stat-fouled: #60a5fa; --stat-defend: #a78bfa; --stat-card: #fbbf24; --bg: #0e1014; --shadow-card: none; }

/* Badges */
.crest { display: inline-grid; place-items: center; flex: none; object-fit: contain; vertical-align: middle; }
.crest-xs { width: 18px; height: 18px; } .crest-sm { width: 24px; height: 24px; } .crest-md { width: 30px; height: 30px; }
.crest-lg { width: 44px; height: 44px; } .crest-xl { width: 72px; height: 72px; }
.crest-mono { border-radius: 50%; font-weight: 700; letter-spacing: -.02em; color: #fff; background: hsl(var(--hue) 45% 38%); }
.crest-mono.crest-xs { font-size: 8px; } .crest-mono.crest-sm { font-size: 10px; } .crest-mono.crest-md { font-size: 12px; }
.crest-mono.crest-lg { font-size: 16px; } .crest-mono.crest-xl { font-size: 24px; }
.team-heading { display: flex; align-items: center; gap: 10px; }
.with-crest { display: flex; align-items: center; gap: 9px; }
.with-crest > span { min-width: 0; }

/* Hero bands: every page opens with one */
.hero-band, .pitch-band { background: var(--hero); color: var(--hero-ink); border-bottom: 0; }
.pitch-band .page-head { padding-block: 34px 56px; }
.pitch-band .page-head h1, .pitch-band .page-head p, .pitch-band .match-meta, .pitch-band .match-meta b { color: var(--hero-ink); }
.pitch-band .page-head p { color: var(--hero-ink-2); }
.pitch-band a:not(.button) { color: var(--hero-accent); }
.pitch-band :focus-visible, .hero-band :focus-visible { outline-color: var(--hero-accent); }
.pitch-band .breadcrumb { color: var(--hero-ink-2); }
.pitch-band .helpline a { color: #fff !important; }
.pitch-band .fact-row dt { color: var(--hero-ink-2); }
.pitch-band .fact-row dd { color: #fff; }
.pitch-band + .section, .pitch-band + .wrap, .pitch-band + section { margin-top: -30px; position: relative; }
.pitch-band + .section > .notice:first-child, .pitch-band + .section > form:first-child, .pitch-band + .section > fieldset:first-child { box-shadow: var(--shadow-card); }
.pitch-band + .section { padding-top: 0; }
.pitch-band + .section > .notice:first-child { background: var(--surface); }
.pitch-band + .section > .filters:first-child, .pitch-band + .section > .market-tabs:first-child { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.pitch-band + .section > .market-tabs:first-child { display: flex; margin-bottom: 12px; }
.pitch-band + .section > .prose:first-child, .prose { background: var(--surface); }
.section.wrap.prose { max-width: 820px; margin-inline: auto; margin-block: 14px; padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-card); }
.pitch-band + .section.wrap.prose { margin-top: -30px; }

/* Home hero */
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; align-items: center; padding-block: 52px 56px; }
.hero-title { font-size: clamp(38px, 5vw, 64px); font-weight: 680; letter-spacing: -.04em; line-height: 1.02; text-wrap: balance; color: #fff; }
.hero-lede { margin-top: 16px; font-size: 18px; color: var(--hero-ink-2); max-width: 54ch; }
.hero-band .home-search { margin-top: 26px; }
.hero-band .home-search label { color: var(--hero-ink-2); }
.hero-band .home-search-row { border-color: transparent; box-shadow: 0 10px 34px rgba(0, 0, 0, .28); background: #fff; }
.hero-band .home-search input { color: #0f1720; }
.hero-band .button-primary, .hero-band .button-primary:hover { background: var(--hero-accent); border-color: var(--hero-accent); color: #0B1226; }
.feature-card { display: flex; flex-direction: column; gap: 16px; padding: 20px 22px; color: var(--hero-ink); text-decoration: none; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; transition: background-color .15s, transform .15s; }
.feature-card:hover { background: rgba(255, 255, 255, .13); }
.feature-label { font-size: 13.500px; font-weight: 600; color: var(--hero-accent); }
.feature-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; text-align: center; }
.feature-team { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 620; font-size: 16px; min-width: 0; overflow-wrap: anywhere; }
.feature-team .crest { background: rgba(255, 255, 255, .92); border-radius: 12px; padding: 5px; width: 56px; height: 56px; }
.feature-team .crest-mono { background: hsl(var(--hue) 45% 38%); border-radius: 50%; padding: 0; }
.feature-when { font-size: 13px; color: var(--hero-ink-2); max-width: 90px; }
.feature-stats { display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.feature-stats li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; padding-block: 7px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.feature-stat { color: var(--hero-ink-2); font-size: 13px; }
.feature-name { font-weight: 550; overflow-wrap: anywhere; }
.feature-stats b { font-weight: 650; font-variant-numeric: tabular-nums; }
.feature-foot { font-size: 13px; color: var(--hero-ink-2); }
.feature-card:hover .feature-foot { color: #fff; }
@media (max-width: 920px) { .hero-layout { grid-template-columns: minmax(0, 1fr); padding-block: 34px 38px; gap: 26px; } }

/* Match cards */
.match-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.match-card { display: flex; flex-direction: column; gap: 9px; padding: 14px 16px; color: var(--ink); text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-card); transition: border-color .15s, transform .15s; }
.match-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.match-card-top { display: flex; justify-content: space-between; gap: 10px; font-size: 12.500px; color: var(--ink-2); }
.match-card-comp { font-weight: 600; }
.match-card-time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.match-card-team { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; letter-spacing: -.01em; min-width: 0; }
.match-card-team > span:last-child { overflow-wrap: anywhere; }
.match-card-foot { display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; padding-top: 9px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 550; color: var(--link); }
.day-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.day-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; font-size: 14px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.day-chip:hover { border-color: var(--accent); }
.day-chip b { font-weight: 650; }
.day-chip span { min-width: 20px; padding: 0 5px; font-size: 12px; font-weight: 600; text-align: center; color: var(--accent-ink); background: var(--accent); border-radius: 999px; }
.fixture-day { font-size: 19px; font-weight: 620; letter-spacing: -.015em; margin: 28px 0 10px; scroll-margin-top: 76px; }

/* Match hero */
.match-hero { padding-block: 22px 28px; }
.match-hero .breadcrumb { font-size: 14px; color: var(--hero-ink-2); margin-bottom: 14px; }
.match-hero .breadcrumb a { color: var(--hero-accent); }
.match-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; align-items: center; }
.match-hero-team { display: flex; align-items: center; gap: 16px; min-width: 0; }
.match-hero-team:last-child { flex-direction: row-reverse; text-align: right; }
.match-hero-team .crest:not(.crest-mono) { padding: 7px; background: rgba(255, 255, 255, .92); border-radius: 16px; }
.match-hero-name { margin: 0; font-size: clamp(22px, 3.200vw, 40px); font-weight: 660; letter-spacing: -.03em; line-height: 1.08; color: #fff; overflow-wrap: anywhere; }
.match-hero-mid { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.match-hero-v { font-size: 15px; color: var(--hero-ink-2); }
.match-hero-when { font-size: 14.500px; font-weight: 600; color: var(--hero-accent); white-space: nowrap; }
.match-hero-form { margin-top: 14px; text-align: center; font-size: 14px; color: var(--hero-ink-2); }
.match-hero-form b { color: #fff; }
.view-tabs { margin-top: 0; gap: 6px; padding-block: 10px; background: none; border-bottom: 0; }
.view-tabs a { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.view-tabs a[aria-current="page"] { color: var(--bg); background: var(--ink); border-color: var(--ink); }
@media (max-width: 640px) {
  .match-hero-grid { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; }
  .match-hero-team, .match-hero-team:last-child { flex-direction: column; text-align: center; gap: 8px; }
  .match-hero-name { font-size: 19px; }
  .crest-xl { width: 58px; height: 58px; }
  .match-hero-when { white-space: normal; max-width: 86px; font-size: 13px; }
}

/* Coloured stat marks */
.sheet-leader, .lead-stat, .leader-card, .spotlight { position: relative; overflow: hidden; }
.sheet-leader::before, .lead-stat::before, .leader-card::before, .spotlight::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--stat); }
.sheet-leader { box-shadow: var(--shadow-card); padding-top: 18px; }
.sheet-leader-who { display: flex; align-items: center; gap: 9px; margin-top: 8px; }
.sheet-leader-who a { margin-top: 0; }
.sheet-bar i, .rank-track i { background: var(--stat); }
.sheet-team { box-shadow: var(--shadow-card); }
.sheet-team .team-heading { padding-bottom: 12px; }
.lead-stat { box-shadow: var(--shadow-card); padding-top: 20px; }

/* Home leaders */
.leaders > .leader-card { padding: 18px 16px 8px; box-shadow: var(--shadow-card); }
.leader-card h3 { font-size: 13.500px; font-weight: 600; color: var(--ink-2); }
.leader-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-top: 8px; padding-bottom: 10px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.leader-top-name { font-weight: 640; font-size: 15.500px; line-height: 1.2; overflow-wrap: anywhere; }
.leader-top-name small { display: block; font-size: 12.500px; font-weight: 400; color: var(--ink-2); }
.leader-top-value { font-size: 26px; font-weight: 660; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.leader-top:hover .leader-top-name { text-decoration: underline; }
.leader-list li { grid-template-columns: auto minmax(0, 1fr) auto; }
.leader-list a { font-size: 14px; font-weight: 500; }

/* Home tips */
.tip-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.tip-card { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-card); }
.tip-card h3 a { color: var(--ink); text-decoration: none; }
.tip-card h3 a:hover { text-decoration: underline; }
.tip-card .tip-when { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.tip-card .tip-gap { margin-top: 6px; }
.tip-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 10px; }
.tip-card-foot .tip-price { width: 138px; }
.value-pill { display: inline-flex; gap: 5px; align-items: baseline; padding: 4px 10px; font-size: 13px; color: var(--ink); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); border-radius: 999px; }
.value-pill b { font-size: 15px; font-weight: 650; }
.tip-cards-more { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 18px; color: var(--hero-ink); text-decoration: none; font-size: 14.500px; background: var(--hero); border-radius: var(--r); }
.tip-cards-more b { font-size: 34px; font-weight: 660; letter-spacing: -.03em; }
.tip-cards-more:hover { color: #fff; text-decoration: underline; }
.tip-board.full .tip-value b { padding: 3px 9px; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); border-radius: 999px; font-weight: 650; }

/* Player table spotlights */
.spotlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.spotlight { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px; color: var(--ink); text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-card); transition: border-color .15s; }
.spotlight:hover { border-color: var(--stat); }
.spotlight-text { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.spotlight-text small { font-size: 12.500px; color: var(--ink-2); }
.spotlight-text b { font-size: 15.500px; font-weight: 640; overflow-wrap: anywhere; }
.spotlight-value { font-size: 28px; font-weight: 660; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .spotlights { grid-template-columns: minmax(0, 1fr); } }
.player-cell.with-crest { min-width: 200px; max-width: 250px; }

/* Player page */
.player-title-main { display: flex; align-items: center; gap: 18px; min-width: 0; }
.player-title-main .crest:not(.crest-mono) { padding: 7px; background: rgba(255, 255, 255, .92); border-radius: 16px; }

/* Track record and pricing */
.figure-row > div:first-child { background: var(--hero); }
.figure-row > div:first-child dt, .figure-row > div:first-child dd { color: var(--hero-ink); }
.figure-row, .chart-frame, .table-scroll, .tip-board, .plans { box-shadow: var(--shadow-card); }
.plans { max-width: none; }
.plan + .plan { background: var(--hero); color: var(--hero-ink); border-left: 0; }
.plan + .plan .section-title, .plan + .plan .plan-price { color: #fff; }
.plan + .plan .plan-price small { color: var(--hero-ink-2); }
.plan + .plan .plan-features svg { color: var(--hero-accent); }
.plan + .plan .button-primary, .plan + .plan .button-primary:hover { background: var(--hero-accent); border-color: var(--hero-accent); color: #0B1226; }
.plan + .plan .button { filter: none; }
.plan-band { background: var(--hero); color: var(--hero-ink); border: 0; padding: 22px 24px; }
.plan-band h2.section-title { color: #fff; }
.plan-band p { color: var(--hero-ink-2); }
.plan-band .button { background: var(--hero-accent); border-color: var(--hero-accent); color: #0B1226; }
.steps li { box-shadow: var(--shadow-card); }
.steps li::before { background: var(--hero); color: var(--hero-accent); }
.locked-panel { background: var(--surface); }
.lead-stats { margin-top: 2px; }

/* Cheat sheet: one section per stat, a column per team */
.stat-chips { margin: 0 0 14px; }
.stat-chips .day-chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--stat); }
.stat-sections { display: grid; gap: 14px; }
.stat-section { position: relative; overflow: hidden; padding: 20px 20px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-card); scroll-margin-top: 76px; }
.stat-section::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: var(--stat); }
.stat-section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.stat-section-head h3 { font-size: 20px; font-weight: 640; letter-spacing: -.02em; }
.stat-section-leader { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.stat-section-leader b { color: var(--ink); font-weight: 620; }
.stat-section-value { font-size: 22px; font-weight: 660; letter-spacing: -.025em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.stat-column { min-width: 0; padding-block: 12px 8px; }
.stat-column h4 { margin: 0 0 8px; font-size: 14px; font-weight: 620; }
.stat-rows { counter-reset: rank; }
.stat-rows li { counter-increment: rank; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; column-gap: 8px; align-items: baseline; padding-block: 5px; }
.stat-rows li::before { content: counter(rank); font-size: 12.500px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.stat-rows a { min-width: 0; color: var(--ink); font-size: 14.500px; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.stat-rows a:hover { text-decoration: underline; }
.stat-rows .sheet-bar { grid-column: 2 / -1; }
@media (max-width: 720px) {
  .stat-columns { grid-template-columns: minmax(0, 1fr); }
  .stat-column + .stat-column { border-top: 1px solid var(--line); }
  .stat-section { padding-inline: 16px; }
}

/* Team links, inside clickable cards */
.team-link { display: inline-flex; align-items: center; gap: inherit; color: inherit; text-decoration: none; }
a.team-link:hover { text-decoration: underline; }
.match-card { position: relative; }
.match-card-link { color: var(--link); text-decoration: none; }
.match-card-link::after { content: ''; position: absolute; inset: 0; border-radius: var(--r); }
.match-card-link:focus-visible { outline: none; }
.match-card-link:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 2px; }
.match-card .team-link { position: relative; z-index: 1; gap: 10px; }
.feature-card { position: relative; }
.feature-link { color: var(--hero-accent); }
.feature-link::after { content: ''; position: absolute; inset: 0; border-radius: 18px; }
.feature-team .team-link { position: relative; z-index: 1; flex-direction: column; gap: 8px; }
.match-hero-team .team-link { color: #fff; }
.team-heading .team-link { gap: 8px; }
.then-at { display: block; font-size: 12px; font-weight: 400; color: var(--ink-2); }

/* Team page */
.team-hero { padding-block: 30px 34px; }
.team-hero-grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; }
.team-hero .crest:not(.crest-mono) { width: 88px; height: 88px; padding: 8px; background: rgba(255, 255, 255, .92); border-radius: 18px; }
.team-hero-name { font-size: clamp(30px, 4vw, 50px); font-weight: 670; letter-spacing: -.035em; line-height: 1.05; color: #fff; overflow-wrap: anywhere; }
.team-hero-meta { margin-top: 6px; color: var(--hero-ink-2); font-size: 15px; }
.form-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 12px; }
.form-label { margin-left: 6px; font-size: 12.500px; color: var(--hero-ink-2); }
.team-hero-facts { display: grid; gap: 12px; margin: 0; }
.team-hero-facts dt { font-size: 13px; color: var(--hero-ink-2); }
.team-hero-facts dd { margin: 0; font-size: 19px; font-weight: 620; letter-spacing: -.015em; color: #fff; }
.result-chip { display: inline-grid; place-items: center; width: 26px; height: 26px; font-size: 13px; font-weight: 700; color: #fff; border-radius: 7px; }
.result-W { background: #2563EB; }
.result-D { background: #5b6472; }
.result-L { background: #b3261e; }
.team-hero .result-chip { box-shadow: 0 0 0 1px rgba(255, 255, 255, .28); }
.team-games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: -18px; position: relative; }
.game-card { min-width: 0; padding: 18px 20px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-card); }
.game-card h2 { margin-bottom: 8px; }
.game-row { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding-block: 9px; border-top: 1px solid var(--line); }
.game-date { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.game-date small, .game-opponent small { display: block; font-size: 12.500px; font-weight: 400; color: var(--ink-2); }
.game-opponent { min-width: 0; font-size: 14.500px; font-weight: 560; }
.game-opponent .team-link { gap: 7px; align-items: center; }
.game-right { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.game-score { font-size: 15px; font-weight: 640; font-variant-numeric: tabular-nums; }
.game-time { font-size: 14px; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.game-sheet { font-size: 13px; font-weight: 550; white-space: nowrap; }
.team-stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.team-stat h3 { font-size: 17px; font-weight: 640; letter-spacing: -.015em; margin-bottom: 6px; }
@media (max-width: 780px) {
  .team-hero-grid { grid-template-columns: auto minmax(0, 1fr); gap: 14px; }
  .team-hero .crest:not(.crest-mono) { width: 64px; height: 64px; }
  .team-hero-facts { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-games { grid-template-columns: minmax(0, 1fr); }
  .team-stat-grid { grid-template-columns: minmax(0, 1fr); }
  .game-row { grid-template-columns: 54px minmax(0, 1fr) auto; }
}

/* Condensed stat lists: one line per player, bar behind the row, two sections a row */
.stat-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stat-section { padding: 12px 14px 8px; }
.stat-section::before { height: 3px; }
.stat-section-title, .team-stat h3 { margin-bottom: 6px; font-size: 15px; font-weight: 640; letter-spacing: -.01em; }
.stat-columns { gap: 0 16px; }
.stat-column { padding-block: 0; }
.stat-column h4 { margin-bottom: 3px; font-size: 12.500px; font-weight: 600; color: var(--ink-2); }
.stat-column h4 .crest { width: 18px; height: 18px; }
.stat-rows li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; column-gap: 6px; align-items: center; min-height: 25px; padding: 0 5px 0 3px; margin-bottom: 1px; border-radius: 4px; background: linear-gradient(90deg, color-mix(in srgb, var(--stat) 17%, transparent) var(--w, 0%), transparent var(--w, 0%)); }
.stat-rows li::before { font-size: 11.500px; }
.stat-rows a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13.500px; line-height: 25px; }
.stat-rows .then-at { display: inline; font-size: 11.500px; }
.stat-rows .sheet-value { font-size: 13.500px; }
.team-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.team-stat { padding: 12px 14px 8px; }
.match-hero { padding-block: 14px 16px; }
.match-hero .breadcrumb { margin-bottom: 6px; }
.match-hero-team .crest:not(.crest-mono) { width: 56px; height: 56px; padding: 5px; border-radius: 12px; }
.match-hero-name { font-size: clamp(20px, 2.400vw, 30px); }
.view-tabs { padding-block: 8px; }
.view-tabs + .section { padding-top: 4px; }
.view-tabs + .section .notice { padding: 7px 12px; font-size: 13px; }
.view-tabs + .section .section-head { margin-block: 10px 8px !important; align-items: center; }
.view-tabs + .section .section-sub { font-size: 14px; }
.team-hero { padding-block: 18px 30px; }
.team-hero .crest:not(.crest-mono) { width: 68px; height: 68px; }
.team-hero-name { font-size: clamp(26px, 3vw, 38px); }
.game-card { padding: 12px 14px 6px; }
.game-card h2 { margin-bottom: 4px; font-size: 17px; }
.game-row { padding-block: 5px; }
.game-opponent small, .game-date small { display: inline; margin-left: 5px; }
@media (max-width: 980px) {
  .stat-sections { grid-template-columns: minmax(0, 1fr); }
  .team-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .stat-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 8px; }
  .stat-column + .stat-column { border-top: 0; }
  .stat-section { padding-inline: 10px; }
  .stat-rows li { grid-template-columns: minmax(0, 1fr) auto; column-gap: 4px; padding-inline: 3px; }
  .stat-rows li::before { display: none; }
  .stat-rows a { font-size: 12.500px; }
  .stat-rows .sheet-value { font-size: 12.500px; }
  .stat-column h4 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .team-stat-grid { grid-template-columns: minmax(0, 1fr); }
  .team-stat .stat-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 8px; }
  .game-opponent small, .game-date small { display: block; margin-left: 0; }
}
.game-row { grid-template-columns: 100px minmax(0, 1fr) auto; }
.game-date { white-space: nowrap; }
@media (max-width: 720px) {
  .game-row { grid-template-columns: 54px minmax(0, 1fr) auto; }
  .team-stat .stat-rows { grid-auto-flow: column; grid-template-rows: repeat(4, auto); }
}

/* Last 5 games */
.stat-head { display: grid; grid-template-columns: 14px minmax(0, 1fr) 96px 40px; column-gap: 6px; padding: 0 5px 2px 3px; font-size: 11px; font-weight: 500; color: var(--ink-2); }
.stat-head > span:first-child { grid-column: 1 / 3; }
.last5-label { white-space: nowrap; text-align: center; font-size: 10.500px; }
.stat-head-value { text-align: right; white-space: nowrap; }
.stat-rows li { grid-template-columns: 14px minmax(0, 1fr) 96px 40px; }
.stat-rows .sheet-value { text-align: right; }
.last5 { display: inline-flex; gap: 2px; justify-content: center; vertical-align: middle; }
.last5-empty { min-width: 96px; }
.l5 { display: inline-grid; place-items: center; width: 17px; height: 19px; font-size: 11.500px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
.l5-hit { color: var(--ink); background: color-mix(in srgb, var(--stat, var(--accent)) 26%, var(--surface)); border-color: color-mix(in srgb, var(--stat, var(--accent)) 55%, var(--line)); }
.l5-dnp { color: var(--ink-2); background: var(--stripe); border-style: dashed; font-weight: 400; }
.stat-table td .last5 { justify-content: flex-end; }
@media (max-width: 720px) {
  .stat-columns { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .stat-rows li, .stat-head { grid-template-columns: minmax(0, 1fr) 96px 40px; column-gap: 6px; }
  .stat-head > span:first-child { grid-column: 1; }
  .stat-rows li::before { display: none; }
  .team-stat .stat-rows { display: block; }
}

/* Top picks of the day */
.picks-section { margin-top: -26px; position: relative; }
.picks-card { padding: 20px 22px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 34px rgba(15, 23, 32, .12); }
.picks-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 6px 24px; margin-bottom: 6px; }
.picks-head h2 { font-size: clamp(24px, 2.800vw, 32px); font-weight: 680; letter-spacing: -.03em; line-height: 1.1; }
.picks-head p { margin-top: 4px; color: var(--ink-2); font-size: 14.500px; max-width: 76ch; }
.picks-all { font-size: 14.500px; font-weight: 550; white-space: nowrap; }
.pick { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto 168px; gap: 8px 16px; align-items: center; padding-block: 10px; border-top: 1px solid var(--line); }
.pick-rank { display: grid; place-items: center; width: 32px; height: 32px; font-size: 15px; font-weight: 700; color: var(--hero-accent); background: var(--hero); border-radius: 9px; }
.pick-main { min-width: 0; }
.pick-main h3 { font-size: 16px; font-weight: 620; line-height: 1.25; }
.pick-main h3 a { color: var(--ink); text-decoration: none; }
.pick-main h3 a:hover { text-decoration: underline; }
.pick-meta { margin-top: 1px; font-size: 13.500px; color: var(--ink-2); }
.pick-numbers { display: flex; gap: 18px; margin: 0; }
.pick-numbers div { display: flex; flex-direction: column-reverse; align-items: flex-end; }
.pick-numbers dt { font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.pick-numbers dd { margin: 0; font-size: 16px; font-weight: 640; font-variant-numeric: tabular-nums; }
.pick-value { color: var(--link); }
.pick-button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 54px; padding: 6px 10px; color: #fff; text-decoration: none; background: var(--hero); border: 0; border-radius: 12px; transition: filter .15s, transform .15s; }
.pick-button:hover { filter: brightness(1.25); transform: translateY(-1px); }
.pick-odds { font-size: 21px; font-weight: 680; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--hero-accent); padding: 0 6px; border-radius: 5px; }
.pick-cta { font-size: 12.500px; font-weight: 550; white-space: nowrap; }
.odds-moved { animation: odds-moved 1.6s ease-out; }
@keyframes odds-moved { 0% { background: rgba(95, 240, 176, .4); } 100% { background: transparent; } }
.picks-small { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.500px; line-height: 1.45; color: var(--ink-2); }
.picks-small strong { color: var(--ink); font-weight: 650; }
.hero-layout { padding-bottom: 66px; }
@media (max-width: 860px) {
  .pick { grid-template-columns: 32px minmax(0, 1fr) 124px; gap: 8px 10px; }
  .pick-rank { width: 28px; height: 28px; font-size: 14px; }
  .pick-numbers { grid-column: 2 / -1; grid-row: 2; justify-content: flex-start; gap: 16px; }
  .pick-numbers div { align-items: flex-start; }
  .pick-button { grid-column: 3; grid-row: 1; min-height: 50px; padding-inline: 4px; }
  .pick-cta { font-size: 11px; white-space: normal; text-align: center; line-height: 1.15; }
  .picks-card { padding: 14px 14px 12px; }
}

/* Labelled advert slot */
.partner-ad-wrap { margin-block: 6px 4px; }
.partner-ad { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px 14px; align-items: center; padding: 12px 16px; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r); }
.partner-tag { padding: 1px 8px; font-size: 12px; font-weight: 700; color: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 999px; }
.partner-text { min-width: 0; font-size: 15px; }
.partner-text b { font-weight: 640; }
.partner-text small { display: block; font-size: 12.500px; color: var(--ink-2); }
@media (max-width: 640px) { .partner-ad { grid-template-columns: auto minmax(0, 1fr); } .partner-cta { grid-column: 1 / -1; } }

/* Pro lock */
.last5-locked .l5 { background: var(--stripe); border-color: var(--line); }
.last5-label a { font-weight: 600; }
.stat-table th a { font-weight: 600; }

/* No odds on the stats model */
.feed-status, .on-pitch { display: none; }

/* Fixtures: 7-day picker and competition groups */
.date-tiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin: 14px 0 10px; padding: 0; border: 0; }
.date-tile { position: relative; display: block; }
.date-tile input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.date-tile > span { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 8px 4px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-card); transition: border-color .15s, background-color .15s; }
.date-tile small { font-size: 12px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.date-tile b { font-size: 24px; font-weight: 660; letter-spacing: -.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.date-tile:hover > span { border-color: var(--accent); }
.date-tile input:checked + span { background: var(--hero); border-color: transparent; }
.date-tile input:checked + span b { color: #fff; }
.date-tile input:checked + span small { color: var(--hero-ink-2); }
.date-tile input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.date-tile.is-empty > span { opacity: .45; box-shadow: none; background: transparent; }
.date-tile.is-empty input { cursor: not-allowed; }
.date-tile.is-empty:hover > span { border-color: var(--line); }
.comp-group { margin-top: 22px; }
.comp-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 20px; font-weight: 640; letter-spacing: -.02em; }
.comp-heading > span { min-width: 24px; padding: 0 7px; font-size: 12.500px; font-weight: 600; letter-spacing: 0; text-align: center; color: var(--ink-2); background: var(--line); border-radius: 999px; }
.comp-emblem { width: 28px; height: 28px; object-fit: contain; padding: 2px; background: #fff; border-radius: 7px; }
.match-card-comp:empty { display: none; }
.match-card-time { margin-left: auto; font-weight: 600; color: var(--ink); }
@media (max-width: 760px) {
  .date-tiles { display: flex; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .date-tile { flex: 0 0 74px; }
}

/* Player career */
.career { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 12px; margin-top: 12px; align-items: start; }
.career-heading { margin: 10px 0 2px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.career-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; padding-block: 6px; border-top: 1px solid var(--line); font-size: 14.500px; }
.career-team { font-weight: 560; }
.career-seasons { text-align: right; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; max-width: 230px; }
.move-row { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding-block: 6px; border-top: 1px solid var(--line); font-size: 14px; }
.move-date { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.move-clubs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 5px; min-width: 0; font-weight: 500; }
.move-to { color: var(--ink-2); font-weight: 400; font-size: 13px; }
.move-fee { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.move-fee.is-fee { font-size: 14.500px; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .career { grid-template-columns: minmax(0, 1fr); } .move-row { grid-template-columns: 62px minmax(0, 1fr) auto; } }

/* Team results on the cheat sheet */
.results-section { margin-top: 14px; }
.results-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.results-card { min-width: 0; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-card); }
.results-card .team-heading { margin-bottom: 8px; font-size: 16px; font-weight: 630; }
.results-card .team-heading .team-link { gap: 8px; }
.results-list li { display: grid; grid-template-columns: 26px 38px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding-block: 4px; border-top: 1px solid var(--line); font-size: 14px; }
.results-score { font-weight: 640; font-variant-numeric: tabular-nums; text-align: center; }
.results-opponent { min-width: 0; font-weight: 500; overflow-wrap: anywhere; }
.results-opponent .team-link { gap: 6px; }
.results-meta { font-size: 12.500px; color: var(--ink-2); white-space: nowrap; }
.results-list .result-chip { width: 24px; height: 24px; font-size: 12px; }
@media (max-width: 720px) { .results-grid { grid-template-columns: minmax(0, 1fr); } }

/* Competition ranks */
.rank-badge { display: inline-block; padding: 0 4px; margin-right: 1px; font-size: 11px; font-weight: 700; line-height: 15px; color: var(--ink); background: color-mix(in srgb, var(--stat, var(--accent)) 28%, var(--surface)); border: 1px solid color-mix(in srgb, var(--stat, var(--accent)) 60%, var(--line)); border-radius: 4px; font-variant-numeric: tabular-nums; }
.lead-rank { display: block; margin-top: 6px; font-size: 14px; font-weight: 620; }
.lead-rank + .lead-context { margin-top: 2px; }
.rank-number { font-weight: 650; font-variant-numeric: tabular-nums; }
.lead-rank { font-size: 15px; font-weight: 640; }

/* Value bets (Pro) */
.nav-pro { display: inline-block; margin-left: 3px; padding: 0 5px; font-size: 10.500px; font-weight: 700; line-height: 15px; color: var(--accent-ink); background: var(--accent); border-radius: 999px; vertical-align: 1px; }
.value-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.value-fixture { min-width: 0; padding: 12px 14px 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-card); }
.value-fixture-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2px 12px; padding-bottom: 8px; }
.value-teams { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 5px; font-size: 15px; }
.value-teams b { font-weight: 630; }
.value-bet { padding-block: 8px 2px; border-top: 1px solid var(--line); }
.value-bet-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 8px 10px; align-items: center; }
.value-rank { display: grid; place-items: center; width: 24px; height: 24px; font-size: 12.500px; font-weight: 700; color: var(--hero-accent); background: var(--hero); border-radius: 7px; }
.value-bet-main { min-width: 0; }
.value-bet-main h3 { font-size: 14.500px; font-weight: 610; line-height: 1.25; }
.pick-meta { font-size: 12.500px; color: var(--ink-2); }
.pick-numbers { display: flex; gap: 12px; margin: 0; }
.pick-numbers div { display: flex; flex-direction: column-reverse; align-items: flex-end; }
.pick-numbers dt { font-size: 11.500px; color: var(--ink-2); white-space: nowrap; }
.pick-numbers dd { margin: 0; font-size: 14.500px; font-weight: 640; font-variant-numeric: tabular-nums; }
.pick-value { color: var(--link); }
.value-why summary { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding-left: 34px; font-size: 13px; font-weight: 550; color: var(--link); cursor: pointer; list-style: none; }
.value-why summary::-webkit-details-marker { display: none; }
.value-chevron { transition: transform .15s; }
.value-why[open] .value-chevron { transform: rotate(180deg); }
.value-why-body { margin: 2px 0 8px 34px; padding: 8px 10px; font-size: 13.500px; line-height: 1.45; color: var(--ink-2); background: var(--stripe); border-radius: 8px; }
.value-why-body p + p { margin-top: 5px; }
@media (max-width: 960px) { .value-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .value-bet-row { grid-template-columns: 24px minmax(0, 1fr); }
  .value-bet-row .pick-numbers { grid-column: 2; justify-content: flex-start; }
  .value-bet-row .pick-numbers div { align-items: flex-start; }
  .value-why summary { padding-left: 34px; }
  .value-why-body { margin-left: 0; }
}
.value-example { margin-top: 12px; max-width: 760px; }
.view-tabs .nav-pro { margin-left: 4px; }

/* Header search */
.search-button { order: 3; color: var(--ink); flex: none; }
.header-menu { order: 2; }
.menu-button { order: 4; }
.hero-actions { margin-top: 26px; }
.hero-band .hero-secondary { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.hero-band .hero-secondary:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.filter-line { margin-top: 12px; font-size: 14.500px; font-weight: 550; }
@media all { .search-button { margin-left: auto; } .menu-button { margin-left: 0; } .header-inner { gap: 8px 10px; } .header-menu { order: 5; } }

.search-dialog { width: min(680px, calc(100vw - 24px)); max-height: min(78dvh, 720px); margin: 8vh auto auto; padding: 0; color: var(--ink); background: var(--surface); border: 0; border-radius: 16px; box-shadow: 0 24px 70px rgba(0, 0, 0, .35); overflow: hidden; }
.search-dialog[open] { display: flex; flex-direction: column; }
.search-dialog::backdrop { background: rgba(10, 12, 16, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.search-box { display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: var(--ink-2); border-bottom: 1px solid var(--line); flex: none; }
.search-box input { flex: 1; min-width: 0; min-height: 44px; padding: 0; font-size: 17px; color: var(--ink); background: none; border: 0; outline: none; }
.search-box input::placeholder { color: var(--ink-2); }
.search-box .link-button { color: var(--ink-2); min-height: 44px; }
.search-results { overflow-y: auto; padding: 4px 8px 12px; }
.search-group h3 { margin: 10px 8px 3px; font-size: 12.500px; font-weight: 650; color: var(--ink-2); }
.search-group h3 small { font-weight: 400; }
.search-result { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 5px 8px; color: var(--ink); text-decoration: none; border-radius: 9px; }
.search-result:hover, .search-result:focus-visible { background: var(--stripe); outline: none; box-shadow: inset 0 0 0 2px var(--focus); }
.search-result:hover { box-shadow: none; }
.search-text { min-width: 0; flex: 1; }
.search-text b { display: block; font-size: 15px; font-weight: 580; overflow-wrap: anywhere; }
.search-text small { display: block; font-size: 12.500px; color: var(--ink-2); }
.search-empty { padding: 20px 10px; color: var(--ink-2); font-size: 14.500px; }
@media (max-width: 640px) { .search-dialog { margin-top: 12px; max-height: calc(100dvh - 24px); } .search-box input { font-size: 16px; } }
