/* Touchline redesign. Loaded after styles.css. Dark by default, with a light theme people can choose. */
:root {
  --ai: linear-gradient(100deg, #3D7BFF, #22d3ee 48%, #a78bfa);
  --pro: linear-gradient(100deg, #F5B83D, #FF8A3D 52%, #FF8A3D);
  --pro-ink: #1d1330;
  --serif: 'Instrument Serif', Georgia, serif;
  --hero-ink: #f1f5ff;
  --hero-soft: #aab6cc;
  --hero-bg: #070b16;
  --glow: rgba(61, 123, 255, .13);
  --card-edge: var(--line);
}
:root[data-theme="dark"] {
  --bg: #080c17;
  --surface: #101626;
  --stripe: #161d30;
  --ink: #eef2ff;
  --ink-2: #a3afc6;
  --line: #222b40;
  --line-strong: #36415c;
  --link: #8FB8FF;
  --accent: #3D7BFF;
  --glow: rgba(108, 140, 255, .13);
}

body { background: var(--bg); }
.section-title { letter-spacing: -.02em; }

/* ---------- Header ---------- */
.demo-bar { background: transparent; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.demo-bar-inner { flex-wrap: nowrap; padding-block: 4px; }
.demo-note { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-controls { flex: none; }
.feed-status { display: none !important; }
.site-header { background: color-mix(in srgb, var(--bg) 78%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line); color: var(--ink); }
.header-inner { gap: 10px; }
.plan-slot { order: 2; margin-left: auto; display: flex; }
.search-button { order: 3; }
.header-menu { order: 1; }
.menu-button { order: 4; }
.plan-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 13px; border-radius: 999px; font: inherit; font-size: 13.5px; font-weight: 600; white-space: nowrap; text-decoration: none; cursor: pointer; border: 0; }
.plan-chip em { font-family: var(--serif); font-size: 17px; font-style: italic; font-weight: 400; line-height: 1; }
.plan-chip-try { background: var(--pro); color: var(--pro-ink); box-shadow: 0 0 22px rgba(245, 184, 61, .35); }
.plan-chip-try:hover { filter: brightness(1.06); }
.plan-chip-pro { color: var(--ink); background: var(--surface); border: 1px solid transparent; background-image: linear-gradient(var(--surface), var(--surface)), var(--pro); background-origin: border-box; background-clip: padding-box, border-box; }
.plan-chip .spark { width: 13px; height: 13px; }

/* The Pro mark, everywhere it appears. */
.nav-pro { display: inline-flex; align-items: center; gap: 3px; padding: 1px 8px 1px 6px; border-radius: 999px; background: var(--pro); color: var(--pro-ink); font-family: var(--serif); font-size: 14.5px; font-style: italic; font-weight: 400; line-height: 1.2; letter-spacing: 0; vertical-align: middle; }
.nav-pro::before { content: ''; width: 9px; height: 9px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1c1 6 4 10 11 11-7 1-10 5-11 11-1-6-4-10-11-11 7-1 10-5 11-11Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1c1 6 4 10 11 11-7 1-10 5-11 11-1-6-4-10-11-11 7-1 10-5 11-11Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.pro-word { margin: 0 0 6px; font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.pro-word em, .pro-word-inline { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.28em; background: var(--pro); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
:root[data-theme="light"] .pro-word em, :root[data-theme="light"] .price-card .pro-word-inline { background: linear-gradient(100deg, #a16207, #a21caf 52%, #5b21b6); -webkit-background-clip: text; background-clip: text; }

.pro-button { display: inline-flex; align-items: center; gap: 8px; background: var(--pro); color: var(--pro-ink); border: 0; font-weight: 650; box-shadow: 0 6px 28px rgba(205, 170, 255, .32); position: relative; overflow: hidden; }
.pro-button:hover { background: var(--pro); color: var(--pro-ink); filter: brightness(1.05); }
.intel-button { display: inline-flex; align-items: center; gap: 8px; background: var(--ai); color: #FFFFFF; border: 0; font-weight: 650; box-shadow: 0 6px 28px rgba(61, 123, 255, .30); }
.intel-button:hover { background: var(--ai); color: #FFFFFF; filter: brightness(1.06); }

/* ---------- Aurora bands ---------- */
.aurora-hero, .comp-hero, .hero-band, .match-hero { position: relative; overflow: hidden; background: var(--hero-bg); color: var(--hero-ink); isolation: isolate; }
.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aurora::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 80% 90% at 60% 30%, #000, transparent); mask-image: radial-gradient(ellipse 80% 90% at 60% 30%, #000, transparent); }
/* Still, not drifting: a moving 90px blur cost frames on every page and is decoration only. */
.aurora i { position: absolute; width: 56vw; max-width: 760px; aspect-ratio: 1; border-radius: 50%; filter: blur(90px); opacity: .42; }
.aurora i:nth-child(1) { background: #3D7BFF; top: -46%; left: -8%; }
.aurora i:nth-child(2) { background: #6C5CFF; top: -30%; right: 4%; animation-delay: -7s; opacity: .34; }
.aurora i:nth-child(3) { background: #22D3EE; bottom: -62%; left: 38%; animation-delay: -13s; opacity: .3; }
@keyframes drift { to { transform: translate3d(9%, 11%, 0) scale(1.14); } }

.aurora-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 44px; align-items: center; padding-block: 64px 58px; }
.aurora-copy h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.02; letter-spacing: -.04em; font-weight: 680; color: var(--hero-ink); margin: 0; }
.aurora-copy h1 span { background: var(--ai); -webkit-background-clip: text; background-clip: text; color: transparent; }
.aurora-copy p { color: var(--hero-soft); font-size: 17px; line-height: 1.5; max-width: 54ch; margin: 18px 0 24px; }
.hero-counts { display: flex; flex-wrap: wrap; gap: 12px 34px; margin: 30px 0 0; }
.hero-counts div { display: flex; flex-direction: column-reverse; }
.hero-counts dt { color: var(--hero-soft); font-size: 13px; }
.hero-counts dd { margin: 0; font-size: 28px; font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--hero-ink); }

.scan-line { display: none; }
@keyframes scan { from { transform: translateY(-90px); } to { transform: translateY(340px); } }
@keyframes blink { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(-8px); } }
/* A still status dot. It only pulses while Ask Tactiqo is thinking, where the motion means something. */
.pulse { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; }
.chat-thinking .pulse { animation: pulse 1.2s ease-in-out infinite alternate; }
@keyframes pulse { to { opacity: .35; } }

/* Page and list arrival. Movement only, never opacity: content must be readable at once,
   even if the tab is in the background or the main thread is busy and the animation hasn't started. */
.route-enter > * { animation: arrive .2s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes arrive { from { transform: translateY(6px); } }
.route-enter .rank-bar, .route-enter .stat-rows li::before { animation: grow .3s cubic-bezier(.2, .7, .2, 1) both; transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } }
@supports (animation-timeline: view()) {
  .route-enter .match-card, .route-enter .glow-card { animation: arrive linear both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
}

/* Cards that light up around the pointer */
.glow-card, .match-card { position: relative; background-color: var(--surface); }
.glow-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .2s; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), var(--glow), transparent 70%); }
.glow-card:hover::after { opacity: 1; }

/* ---------- Competition rail ---------- */
.comp-rail { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-top: -24px; position: relative; z-index: 2; }
.comp-card { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: 0 10px 28px rgba(0, 0, 0, .18); min-width: 0; }
.comp-card:hover { border-color: var(--line-strong); }
.comp-card img { width: 30px; height: 30px; object-fit: contain; flex: none; padding: 3px; background: #fff; border-radius: 8px; }
.comp-card span { min-width: 0; }
.comp-card b { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.comp-card small { display: block; color: var(--ink-2); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Match cards ---------- */
.match-card { border: 1px solid var(--line); border-radius: 16px; transition: border-color .18s, transform .18s var(--ease); }
.match-card:hover { border-color: rgba(108, 140, 255, .5); transform: translateY(-2px); }
.intel-cta { display: flex !important; align-items: center; justify-content: center; gap: 7px; margin-top: 10px; min-height: 40px; border-radius: 11px; font-size: 14px; font-weight: 650; text-decoration: none !important; color: #FFFFFF !important; background: var(--ai); background-size: 160% 100%; transition: background-position .4s var(--ease); position: relative; overflow: hidden; }
.intel-cta:hover { background-position: 100% 0; }
.intel-cta::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-100%); }
.match-card:hover .intel-cta::before { animation: sheen .9s var(--ease); }
@keyframes sheen { to { transform: translateX(100%); } }
.intel-cta .spark { flex: none; }
.game-sheet { display: inline-flex; align-items: center; gap: 4px; }
.game-sheet .spark { width: 12px; height: 12px; }
.view-tabs a .spark { width: 13px; height: 13px; vertical-align: -1px; margin-right: 4px; color: var(--accent); }
.comp-heading a:first-child { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; }
.comp-heading a:first-child:hover { color: var(--link); }
.comp-heading .comp-table-link { margin-left: auto; font-size: 13.5px; font-weight: 500; color: var(--link); }

/* ---------- Heroes on inner pages ---------- */
.comp-hero-inner, .radar-hero-inner { padding-block: 34px 30px; }
.comp-hero-inner { display: flex; align-items: center; gap: 18px; }
.comp-hero h1 { margin: 0; color: var(--hero-ink); font-size: clamp(30px, 4vw, 46px); letter-spacing: -.035em; font-weight: 670; line-height: 1.06; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.comp-hero h1 .nav-pro { font-size: 20px; padding: 3px 12px 3px 9px; }
.comp-hero p { color: var(--hero-soft); margin: 6px 0 0; }
.comp-hero .breadcrumb { margin: 0 0 3px; }
.comp-hero .breadcrumb a { color: var(--hero-soft); }
.comp-hero .pro-word-inline { display: inline; }
.comp-hero-badge { flex: none; display: grid; place-items: center; width: 72px; height: 72px; padding: 9px; border-radius: 18px; background: #fff; box-shadow: 0 10px 40px rgba(108, 140, 255, .22); }
.comp-hero-badge img { max-width: 100%; max-height: 100%; }
.pitch-band { position: relative; overflow: hidden; }
.hero-band a, .match-hero a { color: inherit; }
.hero-band .breadcrumb, .match-hero .breadcrumb, .team-hero-meta, .match-hero-when { color: var(--hero-soft); }
.hero-band .team-hero-name, .match-hero-name, .match-hero-v { color: var(--hero-ink); }
.hero-band::before, .match-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 12% 0%, rgba(61, 123, 255, .40), transparent 70%), radial-gradient(50% 120% at 90% 0%, rgba(99, 102, 241, .32), transparent 70%); }
.team-hero-meta a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pills ---------- */
.stat-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.stat-pills a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 540; text-decoration: none; transition: border-color .15s, background .15s; }
.stat-pills a:hover { border-color: var(--accent); }
.stat-pills a[aria-current] { background: var(--ai); color: #FFFFFF; border-color: transparent; font-weight: 650; }
.stat-pills.small { margin: 0; }
.stat-pills.small a { min-height: 34px; font-size: 13.5px; }

.data-flag { margin: 0 0 14px; padding: 9px 13px; border-radius: 10px; font-size: 13.5px; color: var(--ink-2); background: var(--stripe); border-left: 3px solid #fbbf24; }
.data-flag b { color: var(--ink); font-weight: 600; }

/* ---------- Ranked lists ---------- */
.rank-card { padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.rank-card .section-sub { margin-bottom: 10px; }
.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-row { position: relative; display: flex; align-items: center; gap: 11px; padding: 10px 2px 13px; border-bottom: 1px solid var(--line); }
.rank-row:last-child { border-bottom: 0; }
.rank-no { flex: none; width: 24px; text-align: right; color: var(--ink-2); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.rank-row.is-top .rank-no { color: var(--accent); font-weight: 700; }
.rank-name { flex: 1 1 auto; min-width: 0; }
.rank-name a { display: block; font-weight: 580; color: var(--ink); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-name a:hover { color: var(--link); text-decoration: underline; }
.rank-name small { display: block; color: var(--ink-2); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-value { flex: none; min-width: 44px; text-align: right; font-size: 18px; font-weight: 660; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rank-bar { position: absolute; left: 37px; right: 2px; bottom: 5px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--stat, #3D7BFF) var(--w), transparent var(--w)); opacity: .85; }
.rank-list.compact .rank-row { padding-block: 7px 11px; }
.rank-list.compact .rank-value { font-size: 15px; }
.scout-form { flex: none; }
.scout-next { flex: none; width: 138px; display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink); text-decoration: none; }
a.scout-next:hover span { color: var(--link); }
.scout-next span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.scout-next small { display: block; color: var(--ink-2); font-size: 12px; }
.scout-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.scout-filters select, .radar-filter select { min-height: 38px; padding: 0 32px 0 12px; border-radius: 10px; border: 1px solid var(--line-strong); background-color: var(--surface); color: var(--ink); font: inherit; font-size: 14px; }
.scout-filters fieldset { margin: 0; }
.scout-body .stat-pills a[aria-current] { box-shadow: 0 0 20px rgba(61, 123, 255, .30); }

.leader-panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.leader-panel { padding: 16px; border-radius: 16px; border: 1px solid var(--line); }
.leader-panel h3 { margin: 0 0 6px; font-size: 15px; font-weight: 620; }

/* ---------- Pro gate ---------- */
.pro-gate { position: relative; margin-top: 4px; min-height: 280px; }
.pro-gate-rows { list-style: none; margin: 0; padding: 0; filter: blur(5px); opacity: .55; }
.gate-row { display: flex; align-items: center; gap: 12px; padding: 14px 2px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.gate-row i { height: 11px; border-radius: 6px; background: var(--line-strong); }
.gate-row b { margin-left: auto; width: 36px; height: 14px; border-radius: 6px; background: var(--line-strong); }
.pro-gate-card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(420px, 92%); text-align: center; padding: 20px 20px 16px; border-radius: 18px; background: color-mix(in srgb, var(--surface) 90%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid transparent; background-image: linear-gradient(var(--surface), var(--surface)), var(--pro); background-origin: border-box; background-clip: padding-box, border-box; box-shadow: 0 16px 60px rgba(160, 130, 255, .22); }
.pro-gate-card h3 { margin: 10px 0 4px; font-size: 19px; letter-spacing: -.02em; }
.pro-gate-card p { margin: 0 0 13px; color: var(--ink-2); font-size: 14.5px; }
.pro-gate-card small { display: block; margin-top: 9px; color: var(--ink-2); font-size: 12.5px; }

/* ---------- Streaks ---------- */
.radar-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.streak-art { flex: none; display: flex; gap: 6px; }
.streak-art i { width: 26px; height: 26px; border-radius: 7px; background: rgba(160, 190, 255, .14); animation: light-up 3.5s ease-in-out infinite; }
.streak-art i:nth-child(2) { animation-delay: .25s; }
.streak-art i:nth-child(3) { animation-delay: .5s; }
.streak-art i:nth-child(4) { animation-delay: .75s; }
.streak-art i:nth-child(5) { animation-delay: 1s; }
@keyframes light-up { 25%, 70% { background: #3D7BFF; box-shadow: 0 0 16px rgba(61, 123, 255, .6); } }
.run-tag { margin-left: 8px; padding: 1px 7px; border-radius: 999px; background: rgba(61, 123, 255, .16); color: var(--link); font-size: 11.5px; font-weight: 620; white-space: nowrap; }
.radar-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.radar-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.radar-row { display: flex; align-items: center; gap: 12px; padding: 9px 14px; border-radius: 14px; border: 1px solid var(--line); }
.hit-ring { position: relative; flex: none; width: 46px; height: 46px; display: grid; place-items: center; }
.hit-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring-back { fill: none; stroke: var(--line); stroke-width: 4; }
.ring-front { fill: none; stroke: var(--stat, #3D7BFF); stroke-width: 4; stroke-linecap: round; }
.hit-ring b { font-size: 14px; font-weight: 700; }
.hit-ring small { font-size: 10px; font-weight: 500; color: var(--ink-2); }
.radar-name { flex: 1 1 auto; min-width: 0; }
.radar-name a { display: block; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radar-name a:hover { color: var(--link); }
.radar-name small { color: var(--ink-2); font-size: 12.5px; }
.radar-next { flex: none; width: 170px; display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 13.5px; font-weight: 540; text-decoration: none; }
.radar-next:hover span { color: var(--link); }
.radar-next span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.radar-next small { display: block; color: var(--ink-2); font-size: 12px; font-weight: 400; }
.radar-chips .l5-hit { background: var(--stat, #3D7BFF); color: #FFFFFF; }
.radar-teaser { padding: 20px; border-radius: 20px; border: 1px solid transparent; background-image: linear-gradient(var(--bg), var(--bg)), var(--pro); background-origin: border-box; background-clip: padding-box, border-box; }

/* ---------- Head to head ---------- */
.h2h-card { margin-top: 8px; padding: 6px 16px; }
.h2h-card .muted { margin: 8px 0; }
.h2h-list { list-style: none; margin: 0; padding: 0; }
.h2h-list li { display: grid; grid-template-columns: 110px minmax(0, 1fr) 54px minmax(0, 1fr); align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.h2h-list li:last-child { border-bottom: 0; }
.h2h-date { color: var(--ink-2); font-size: 13px; }
.h2h-team { min-width: 0; font-size: 14.5px; color: var(--ink-2); }
.h2h-team:nth-of-type(2) { display: flex; justify-content: flex-end; text-align: right; }
.h2h-team .team-link { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; min-width: 0; }
.h2h-team .team-link:hover { color: var(--link); }
.h2h-team:nth-of-type(2) .team-link { flex-direction: row-reverse; }
.h2h-team.is-winner { color: var(--ink); font-weight: 640; }
.h2h-score { text-align: center; padding: 3px 0; border-radius: 8px; background: var(--stripe); font-variant-numeric: tabular-nums; }

/* ---------- Model and matchups ---------- */
.pill-off { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px dashed var(--line-strong); color: var(--ink-2); font-size: 13.5px; opacity: .7; cursor: not-allowed; }
.matchup-groups { margin-bottom: 12px; }
.matchup-rows { list-style: none; margin: 8px 0 0; padding: 0; }
.matchup-rows li { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; }
.matchup-rows b { font-variant-numeric: tabular-nums; font-size: 15px; }
.matchup-rows small { grid-column: 1 / -1; color: var(--ink-2); font-size: 12.5px; }
.referee-line { margin: 4px 0; }
.lineups-confirmed { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--stripe); border: 1px solid var(--accent); }
.model-record { margin: 8px 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--stripe); border: 1px solid var(--line); font-size: 14.5px; }
.outlook-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.outlook-card { padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); border-left: 3px solid var(--stat, var(--accent)); }
.outlook-head { display: flex; align-items: center; gap: 12px; }
.outlook-title { flex: 1; min-width: 0; }
.outlook-title h3 { margin: 0; font-size: 16px; }
.outlook-title h3 a { color: var(--ink); text-decoration: none; }
.outlook-title h3 a:hover { color: var(--link); }
.outlook-title p { margin: 0; color: var(--ink-2); font-size: 14px; }
.outlook-chance { text-align: right; flex: none; }
.outlook-chance b { display: block; font-size: 26px; font-weight: 680; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.outlook-chance small { color: var(--ink-2); font-size: 12px; }
.outlook-card summary { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; cursor: pointer; font-size: 14px; font-weight: 560; color: var(--link); }
.outlook-card summary .spark { width: 12px; height: 12px; }
.outlook-card details ul { margin: 8px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; }
.outlook-card details li { margin: 3px 0; }

/* ---------- League table ---------- */
.table-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 18px; align-items: start; }
.league-scroll { border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.league-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 14px; }
.league-table th, .league-table td { padding: 8px 7px; text-align: center; border-bottom: 1px solid var(--line); background: transparent; white-space: nowrap; }
.league-table thead th { font-size: 12.5px; color: var(--ink-2); font-weight: 560; }
.league-table tbody tr:last-child > * { border-bottom: 0; }
.league-table tbody tr:hover { background: var(--stripe); }
.league-table .lt-team { text-align: left; font-weight: 570; padding-left: 4px; }
.league-table .lt-team .team-link { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; }
.league-table .lt-team .team-link:hover { color: var(--link); }
.lt-pos { color: var(--ink-2); width: 30px; }
.league-table .lt-pts { font-weight: 720; font-size: 15px; }
.lt-form .form-chips { display: inline-flex; gap: 3px; }
.lt-form .result-chip { width: 20px; height: 20px; font-size: 11px; }
.table-rail { display: grid; gap: 7px; }
.table-rail h2 { margin: 0 0 3px; font-size: 16px; letter-spacing: -.015em; }
.table-rail h2 small { color: var(--ink-2); font-weight: 400; font-size: 12.5px; }
.rail-link { display: grid; grid-template-columns: 1fr auto; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); border-left: 3px solid var(--stat, var(--accent)); color: var(--ink); text-decoration: none; }
.rail-link:hover { border-color: var(--line-strong); border-left-color: var(--stat, var(--accent)); }
.rail-link small { grid-column: 1 / -1; color: var(--ink-2); font-size: 12px; }
.rail-link span { font-weight: 580; font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail-link b { font-size: 15px; font-variant-numeric: tabular-nums; }
.rail-all { font-size: 14px; padding: 5px 2px; }
.table-note .pulse { margin-right: 4px; vertical-align: 1px; }

.stat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 11px; }
.stat-tile { display: block; padding: 14px; border-radius: 16px; border: 1px solid var(--line); border-top: 3px solid var(--stat, var(--accent)); color: var(--ink); text-decoration: none; transition: transform .18s var(--ease), border-color .18s; }
.stat-tile:hover { transform: translateY(-2px); border-color: var(--line-strong); border-top-color: var(--stat, var(--accent)); }
.stat-tile h3 { margin: 0 0 9px; font-size: 14px; font-weight: 590; color: var(--ink-2); }
.stat-tile-top { display: flex; align-items: center; gap: 9px; font-weight: 610; font-size: 15px; min-width: 0; }
.stat-tile-top > span:not(.crest) { min-width: 0; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.stat-tile-top small { display: block; color: var(--ink-2); font-weight: 400; font-size: 12.5px; }
.stat-tile-top b { margin-left: auto; font-size: 22px; font-weight: 670; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat-tile ol { list-style: none; margin: 9px 0 0; padding: 7px 0 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.stat-tile li { display: flex; justify-content: space-between; gap: 8px; padding: 2px 0; }
.stat-tile li span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.stat-tile li b { font-weight: 560; font-variant-numeric: tabular-nums; }

.comp-index { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)); gap: 12px; }
.comp-index-card { display: block; padding: 18px; border-radius: 18px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.comp-index-card:hover { border-color: var(--line-strong); }
.comp-index-card img { width: 46px; height: 46px; object-fit: contain; padding: 5px; background: #fff; border-radius: 11px; }
.comp-blank { display: block; width: 46px; height: 46px; border-radius: 11px; background: var(--ai); }
.comp-index-card h2, .comp-index-card h3 { margin: 10px 0 8px; font-size: 19px; letter-spacing: -.02em; }
.comp-index-card ol { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.comp-index-card li { display: flex; align-items: center; gap: 8px; padding: 3px 0; }
.comp-index-card li b { margin-left: auto; font-variant-numeric: tabular-nums; }

/* ---------- Pro band and pricing ---------- */
.pro-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: 30px; border-radius: 24px; position: relative; overflow: hidden; color: #f4f1ff; background: radial-gradient(70% 140% at 0% 0%, rgba(245, 181, 232, .24), transparent 70%), radial-gradient(70% 140% at 100% 100%, rgba(184, 164, 255, .34), transparent 70%), #120d24; border: 1px solid rgba(214, 190, 255, .28); }
.pro-band h2 { margin: 0 0 12px; font-size: clamp(25px, 3vw, 36px); letter-spacing: -.03em; line-height: 1.1; max-width: 22ch; color: #fff; }
.pro-band .pro-word { color: #fff; }
.pro-band ul { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 5px 22px; margin: 0; padding: 0; list-style: none; color: #d9d2f2; font-size: 14.5px; }
.pro-band li::before { content: '✦'; margin-right: 7px; color: #FF8A3D; }
.pro-band-cta { display: grid; justify-items: start; gap: 9px; }
.pro-band-cta small { color: #cfc6ea; font-size: 12.5px; max-width: 30ch; }
.pro-price { margin: 0; font-size: 34px; font-weight: 680; letter-spacing: -.03em; color: #fff; }
.pro-price small { font-size: 14px; font-weight: 400; margin-left: 5px; letter-spacing: 0; color: #cfc6ea; }

.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.price-card h2 { margin: 0 0 6px; font-size: 19px; }
.price-card .price { margin: 2px 0 2px; font-size: 38px; font-weight: 680; letter-spacing: -.035em; }
.price-card .price small { font-size: 14px; font-weight: 400; color: var(--ink-2); margin-left: 5px; letter-spacing: 0; }
.price-card .plan-features { flex: 1; margin: 14px 0 18px; }
.price-card.is-pro { border-color: transparent; background-image: linear-gradient(var(--surface), var(--surface)), var(--pro); background-origin: border-box; background-clip: padding-box, border-box; box-shadow: 0 20px 70px rgba(160, 130, 255, .2); }
.trial-status { margin: 0 0 14px; padding: 13px 16px; border-radius: 14px; background: var(--stripe); border: 1px solid var(--line); }
.trial-status p { margin: 0; }
.trial-status .button-row { margin-top: 10px; align-items: center; }
.trial-timeline { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.trial-timeline li { padding: 13px 15px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); border-top: 2px solid #c9a6f5; }
.trial-timeline b { display: block; margin-bottom: 3px; }
.trial-timeline span { color: var(--ink-2); font-size: 14px; }

.trial-dialog { width: min(470px, calc(100vw - 32px)); padding: 24px; border-radius: 22px; border: 1px solid transparent; color: var(--ink); background-image: linear-gradient(var(--surface), var(--surface)), var(--pro); background-origin: border-box; background-clip: padding-box, border-box; box-shadow: 0 30px 90px rgba(0, 0, 0, .5); }
.trial-dialog::backdrop { background: rgba(4, 7, 15, .66); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.trial-dialog h2 { margin: 10px 0 12px; font-size: 24px; letter-spacing: -.025em; line-height: 1.15; }
.trial-steps { list-style: none; margin: 0 0 12px; padding: 0; }
.trial-steps li { padding: 8px 0; border-top: 1px solid var(--line); }
.trial-steps b { display: block; font-size: 14.5px; }
.trial-steps span { color: var(--ink-2); font-size: 14px; }
.trial-demo { margin: 0 0 14px; padding: 8px 11px; border-radius: 9px; font-size: 13px; color: var(--ink-2); background: var(--stripe); }

/* ---------- Small screens ---------- */
@media (max-width: 1040px) {
  .comp-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .table-layout { grid-template-columns: minmax(0, 1fr); }
  .table-rail { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
  .table-rail h2, .rail-all { grid-column: 1 / -1; }
  .scout-form { display: none; }
}
@media (max-width: 860px) {
  .aurora-grid { grid-template-columns: minmax(0, 1fr); padding-block: 38px 50px; gap: 26px; }
  .leader-panels, .price-grid, .trial-timeline { grid-template-columns: minmax(0, 1fr); }
  .scout-next { display: none; }
  .menu-button span { display: none; }
  .demo-note { display: none; }
  .demo-bar-inner { justify-content: flex-end; }
  .radar-row { flex-wrap: wrap; }
  .radar-name { flex-basis: calc(100% - 110px); }
  .radar-chips { order: 5; }
  .radar-next { order: 6; margin-left: auto; width: auto; max-width: 56%; }
  .h2h-list li { grid-template-columns: minmax(0, 1fr) 50px minmax(0, 1fr); gap: 6px; }
  .h2h-date { grid-column: 1 / -1; font-size: 12.5px; }
}
@media (max-width: 620px) {
  .comp-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -20px; }
  .pro-band { padding: 22px; }
  .pro-band ul { grid-template-columns: minmax(0, 1fr); }
  .streak-art { display: none; }
  .plan-chip { padding: 0 10px; font-size: 12.5px; }
  .logo .logo-word { font-size: 15px; }
  .logo .logo-svg { width: 27px; height: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  .aurora i, .scan-line, .pulse, .streak-art i, .route-enter > *, .route-enter .rank-bar, .route-enter .stat-rows li::before, .route-enter .match-card, .route-enter .glow-card { animation: none !important; }
  .match-card:hover, .stat-tile:hover { transform: none; }
}

/* Header on narrower screens: the opened menu sits below the logo row, and the Pro chip shrinks to fit. */
@media all {
  .header-menu { order: 5; }
  .search-button { margin-left: 0; }
}
@media (max-width: 420px) {
  .plan-chip { font-size: 0; gap: 4px; min-height: 34px; padding: 0 10px; }
  .plan-chip em { font-size: 17px; }
  .header-inner { gap: 8px 6px; }
}

/* ---------- Tactiqo logo and globe ---------- */
.logo { color: var(--ink); align-items: center; }
.logo-svg { flex: none; }
.aurora-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); padding-block: 48px 52px; }
.globe-stage { margin: 0; min-width: 0; }
#hero-globe { display: block; width: 100%; height: 360px; pointer-events: none; }
.scan-line { display: none; }
#hero-globe { -webkit-mask-image: radial-gradient(ellipse 68% 66% at 50% 50%, #000 66%, transparent 100%); mask-image: radial-gradient(ellipse 68% 66% at 50% 50%, #000 66%, transparent 100%); }
@media (max-width: 860px) {
  .aurora-grid { grid-template-columns: minmax(0, 1fr); padding-block: 34px 44px; }
  #hero-globe { height: 260px; }
}

/* ---------- Ask Tactiqo chat ---------- */
.chat-launch { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--pro); color: var(--pro-ink); font: inherit; font-size: 15px; font-weight: 650; cursor: pointer; box-shadow: 0 10px 34px rgba(150, 120, 255, .42); }
.chat-launch:hover { filter: brightness(1.05); }
.chat-launch[hidden], .chat-panel[hidden], .chat-form[hidden], .chat-foot[hidden] { display: none; }
.chat-panel { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; width: min(400px, calc(100vw - 32px)); height: min(600px, calc(100dvh - 90px)); border-radius: 20px; border: 1px solid transparent; background-image: linear-gradient(var(--surface), var(--surface)), var(--pro); background-origin: border-box; background-clip: padding-box, border-box; box-shadow: 0 24px 80px rgba(0, 0, 0, .5); color: var(--ink); }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--line); }
.chat-head h2 { display: flex; align-items: center; gap: 7px; margin: 0 auto 0 0; font-size: 16px; letter-spacing: -.01em; }
.chat-close { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: none; color: var(--ink-2); cursor: pointer; }
.chat-close:hover { background: var(--stripe); color: var(--ink); }
.chat-log { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 9px; padding: 14px; font-size: 14.5px; line-height: 1.45; }
.chat-msg p { margin: 0; }
.chat-msg p + p, .chat-msg p + ul, .chat-msg ul + p { margin-top: 6px; }
.chat-msg ul { margin: 0; padding-left: 18px; }
.chat-msg a { color: var(--link); }
.chat-bot { align-self: flex-start; max-width: 94%; padding: 9px 12px; border-radius: 14px 14px 14px 4px; background: var(--stripe); }
.chat-me { align-self: flex-end; max-width: 86%; padding: 9px 12px; border-radius: 14px 14px 4px 14px; background: var(--ink); color: var(--bg); }
.chat-thinking { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.chat-chips { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.chat-chips button { padding: 7px 11px; border-radius: 12px; border: 1px solid var(--line-strong); background: none; color: var(--ink); font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; }
.chat-chips button:hover { border-color: var(--accent); }
.chat-gate { margin: auto 0; padding: 8px; text-align: center; }
.chat-gate h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.02em; }
.chat-gate p { margin: 0 0 14px; color: var(--ink-2); }
.chat-form { display: flex; gap: 8px; padding: 10px 12px 6px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; min-height: 44px; padding: 0 13px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; }
.chat-send { flex: none; display: grid; place-items: center; width: 44px; border: 0; border-radius: 12px; background: var(--pro); color: var(--pro-ink); cursor: pointer; }
.chat-foot { margin: 0; padding: 2px 14px 10px; color: var(--ink-2); font-size: 11.5px; line-height: 1.35; }
@media (max-width: 620px) {
  .chat-launch { right: 14px; bottom: 14px; }
  .chat-panel { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; }
}

/* ---------- One match at a time on the globe ---------- */
.globe-card { margin-top: 4px; display: grid; justify-items: center; gap: 8px; }
.globe-match { display: grid; justify-items: center; gap: 2px; width: min(420px, 100%); padding: 10px 16px; border-radius: 14px; background: rgba(16, 24, 44, .78); border: 1px solid rgba(160, 190, 255, .24); color: var(--hero-ink) !important; text-decoration: none; }
.globe-match:hover { border-color: #F5B83D; }
.globe-teams { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 16px; }
.globe-teams b { font-weight: 640; }
.globe-match small { color: var(--hero-soft); font-size: 13px; }
.globe-controls { display: flex; align-items: center; gap: 8px; color: var(--hero-soft); font-size: 13px; font-variant-numeric: tabular-nums; }
.globe-controls[hidden], .globe-pause[hidden] { display: none; }
.globe-controls button { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0; border: 1px solid rgba(160, 190, 255, .28); border-radius: 10px; background: none; color: var(--hero-ink); font: inherit; font-size: 13px; cursor: pointer; }
.globe-controls button:hover { border-color: var(--hero-ink); }
#globe-prev svg { transform: rotate(90deg); }
#globe-next svg { transform: rotate(-90deg); }
.globe-controls .globe-pause { min-width: 58px; margin-left: 6px; }

.comp-card b { white-space: normal; overflow: visible; line-height: 1.2; }

/* ---------- Quick links on the Leagues page ---------- */
.comp-index-title { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.comp-index-title:hover h2 { color: var(--link); }
.comp-index-title h2, .comp-index-title h3 { margin: 0; }
.comp-index-title img, .comp-index-title .comp-blank { flex: none; }

/* ---------- Fixtures and results ---------- */
.round-bar { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 12px; }
.round-pick select { min-height: 44px; min-width: 220px; padding: 0 34px 0 14px; border-radius: 12px; border: 1px solid var(--line-strong); background-color: var(--surface); color: var(--ink); font: inherit; font-weight: 620; text-align: center; }
.round-step { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); text-decoration: none; }
.round-step:hover { border-color: var(--accent); }
.round-step.is-off { visibility: hidden; }
.round-bar .round-step:first-child svg { transform: rotate(90deg); }
.round-bar .round-step:last-child svg { transform: rotate(-90deg); }
.sched-card { padding-block: 8px 12px; }
.sched-day { margin: 14px 0 2px; color: var(--ink-2); font-size: 13.5px; font-weight: 600; }
.sched-list { list-style: none; margin: 0; padding: 0; }
.sched-row { display: grid; grid-template-columns: 62px minmax(0, 1fr) 64px minmax(0, 1fr) 96px; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.sched-list:last-child .sched-row:last-child { border-bottom: 0; }
.sched-time { color: var(--ink-2); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.sched-team { min-width: 0; color: var(--ink-2); }
.sched-row:not(.is-result) .sched-team, .sched-team.is-winner { color: var(--ink); }
.sched-team.is-winner { font-weight: 640; }
.sched-team .team-link { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; color: inherit; text-decoration: none; }
.sched-team .team-link:hover { color: var(--link); }
.sched-team span:not(.crest) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sched-home { display: flex; justify-content: flex-end; text-align: right; }
.sched-home .team-link { flex-direction: row-reverse; }
.sched-score { display: grid; justify-items: center; padding: 3px 0; border-radius: 8px; background: var(--stripe); font-variant-numeric: tabular-nums; }
.sched-row:not(.is-result) .sched-score { background: none; color: var(--ink-2); font-weight: 500; }
.sched-score small { color: var(--ink-2); font-size: 10.5px; font-weight: 500; }
.sched-map { display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; color: var(--link); font-size: 13px; font-weight: 580; text-decoration: none; }
.sched-map .spark { width: 12px; height: 12px; }
.sched-map:hover { text-decoration: underline; }
.sched-tabs { padding-inline: 0; margin-bottom: 10px; }
.sched-leagues { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 14px; font-size: 13.5px; }
.sched-leagues span { color: var(--ink-2); }
.sched-days { margin-bottom: 14px; }
.team-schedule-link { margin-top: 14px; }
.sched-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.sched-columns .sched-row { grid-template-columns: 48px minmax(0, 1fr) 54px minmax(0, 1fr); }
.sched-columns .sched-map:empty { display: none; }
.sched-columns a.sched-map { grid-column: 1 / -1; }
.sched-round { display: flex; justify-content: space-between; gap: 10px; margin: 12px 0 0; color: var(--ink-2); font-size: 12.5px; }
@media (max-width: 860px) {
  .sched-columns { grid-template-columns: minmax(0, 1fr); }
  .sched-row { grid-template-columns: 44px minmax(0, 1fr) 50px minmax(0, 1fr); gap: 6px; font-size: 13.5px; }
  .sched-map:empty { display: none; }
  a.sched-map { grid-column: 1 / -1; }
  .round-pick select { min-width: 170px; }
}

/* Full club names on phones, rather than cutting them off. */
@media (max-width: 860px) {
  .sched-row { grid-template-columns: 38px minmax(0, 1fr) 44px minmax(0, 1fr); font-size: 13px; }
  .sched-time { font-size: 11.5px; }
  .sched-team span:not(.crest) { white-space: normal; overflow-wrap: anywhere; overflow: visible; line-height: 1.2; }
}

/* ---------- Flags and squad list ---------- */
.flag { display: inline-block; width: 18px; height: 13.5px; margin-right: 6px; border-radius: 2px; object-fit: cover; vertical-align: -1px; box-shadow: 0 0 0 1px rgba(128, 140, 165, .35); }
.stat-rows a .flag { margin-right: 4px; width: 15px; height: 11px; }
.squad-manager { display: grid; gap: 1px; margin: 0 0 14px; padding: 12px 14px; width: fit-content; min-width: 240px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.squad-manager small, .squad-manager span { color: var(--ink-2); font-size: 13px; }
.squad-manager b { font-size: 17px; font-weight: 640; }
.squad-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.squad-table th, .squad-table td { padding: 8px 9px; text-align: center; border-bottom: 1px solid var(--line); background: transparent; }
.squad-table thead th { color: var(--ink-2); font-size: 12.5px; font-weight: 560; }
.squad-table .squad-name { text-align: left; font-weight: 580; white-space: nowrap; }
.squad-name a { color: var(--ink); text-decoration: none; }
.squad-name a:hover { color: var(--link); text-decoration: underline; }
.squad-name small { display: block; margin-left: 24px; color: var(--ink-2); font-size: 12px; font-weight: 400; }
.squad-number { width: 42px; color: var(--ink-2); }
.squad-group th { padding-top: 16px; text-align: left !important; color: var(--accent); font-size: 13.5px; font-weight: 650; }
.search-text .flag { width: 15px; height: 11px; margin-right: 5px; }
.rank-name .flag { margin-right: 5px; }
@media (max-width: 620px) {
  .squad-wide { display: none; }
  .squad-table th, .squad-table td { padding: 8px 5px; }
  .squad-table .squad-name { white-space: normal; }
}

/* ---------- Top 10 star ---------- */
.rank-badge { display: inline-flex; align-items: center; gap: 2px; padding: 0 5px; }
.rank-star { flex: none; color: #d99a00; }
:root[data-theme="dark"] .rank-star { color: #F5B83D; }
.lead-rank .rank-star, .rank-number .rank-star { width: 13px; height: 13px; margin-right: 3px; vertical-align: -1px; }

/* The club page only lists upcoming games, so they take the full width. */
.team-games { grid-template-columns: minmax(0, 1fr); margin-top: 10px; }

/* ---------- Lineups on a pitch ---------- */
.lineup-title { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.lineup-status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 11px; border-radius: 999px; border: 1px solid #d99a00; color: #b98300; font-size: 13px; font-weight: 650; }
:root[data-theme="dark"] .lineup-status { color: #F5B83D; border-color: #F5B83D; }
.lineup-status.is-confirmed, :root[data-theme="dark"] .lineup-status.is-confirmed { border-color: transparent; background: var(--accent); color: #fff; }
.lineup-grid-pitch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
.lineup-card { min-width: 0; padding: 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.lineup-card .team-heading { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.lineup-card .team-heading .team-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.lineup-formation { margin-left: auto; font-size: 15px; font-weight: 680; font-variant-numeric: tabular-nums; }
.lineup-pitch { display: flex; flex-direction: column-reverse; justify-content: space-between; gap: 10px; min-height: 340px; padding: 14px 6px; border-radius: 12px; background: linear-gradient(0deg, rgba(255, 255, 255, .05) 1px, transparent 1px) center / 100% 50% no-repeat, #0f5738; color: #fff; }
.lineup-row { display: flex; justify-content: space-around; align-items: flex-start; gap: 2px; }
.lineup-player { flex: 1 1 0; min-width: 0; display: grid; justify-items: center; gap: 3px; color: #fff; text-decoration: none; }
a.lineup-player:hover .lineup-name { text-decoration: underline; }
.lineup-dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #0a3f29; font-size: 12px; font-weight: 720; font-variant-numeric: tabular-nums; }
.lineup-name { max-width: 100%; font-size: 12px; font-weight: 580; line-height: 1.15; text-align: center; overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .lineup-grid-pitch { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Forecast: matchups and tactics ---------- */
.forecast-heading { margin: 20px 0 8px; font-size: 17px; letter-spacing: -.015em; }
.outlook-title h4 { margin: 0; font-size: 16px; }
.outlook-title h4 a { color: var(--ink); text-decoration: none; }
.outlook-title h4 a:hover { color: var(--link); }
.battle-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.battle-card { padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.battle-card p { margin: 0; color: var(--ink-2); }
.battle-names { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; margin-bottom: 6px !important; }
.battle-names > span { min-width: 0; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.battle-names > span:last-child { text-align: right; }
.battle-names a { color: inherit; text-decoration: none; }
.battle-names a:hover { color: var(--link); }
.battle-names small { display: block; color: var(--ink-2); font-size: 12.5px; font-weight: 400; }
.battle-names > b { color: var(--ink-2); font-weight: 500; }
.tactic-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; margin: 6px 0; font-size: 14px; }
.tactic-line small { color: var(--ink-2); font-size: 13px; }
.tactic-style { list-style: none; margin: 8px 0 4px; padding: 0; border-top: 1px solid var(--line); }
.tactic-style li { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
.tactic-style b { font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  .battle-list { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Stand-outs ---------- */
.standout-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.standout-row { padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); border-left: 3px solid var(--stat, var(--accent)); }
.standout-main { display: grid; grid-template-columns: 22px 66px 24px minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.standout-rank { color: var(--ink-2); font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }
.standout-chance { display: grid; }
.standout-chance b { font-size: 23px; font-weight: 680; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.standout-chance small { color: var(--ink-2); font-size: 11px; }
.standout-name { min-width: 0; display: grid; gap: 1px; font-size: 13.5px; color: var(--ink-2); }
.standout-what { color: var(--ink); font-size: 15.5px; font-weight: 640; }
.standout-name a { color: var(--ink-2); text-decoration: none; }
.standout-name a:hover { color: var(--link); text-decoration: underline; }
.standout-fixture { min-width: 0; display: grid; gap: 1px; color: var(--ink); font-size: 14px; font-weight: 540; text-decoration: none; }
.standout-fixture:hover span { color: var(--link); }
.standout-fixture small { color: var(--ink-2); font-size: 12.5px; font-weight: 400; }
.standout-basis { font-size: 12px; padding: 2px 9px; white-space: nowrap; }
.standout-row summary { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; cursor: pointer; font-size: 13.5px; font-weight: 560; color: var(--link); }
.standout-row summary .spark { width: 12px; height: 12px; }
.standout-row details ul { margin: 6px 0 2px; padding-left: 18px; color: var(--ink-2); font-size: 14px; }
.standout-list + .pro-gate { margin-top: 10px; }
@media (max-width: 860px) {
  .standout-main { grid-template-columns: 58px 24px minmax(0, 1fr); gap: 4px 10px; }
  .standout-rank { display: none; }
  .standout-fixture { grid-column: 1 / -1; }
  .standout-basis { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- Forecast: match prediction ---------- */
.predict-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 10px; }
.predict-card h4 { margin: 0 0 10px; font-size: 15px; }
.predict-cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.predict-answer { margin: 0; font-size: 25px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--ink); }
.predict-cell { min-width: 0; display: grid; align-content: end; gap: 3px; }
.predict-cell small { display: flex; align-items: center; gap: 5px; color: var(--ink-2); font-size: 13px; overflow-wrap: break-word; }
.predict-cell small > * { flex: none; }
.predict-cell b { font-size: 25px; font-weight: 560; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.predict-cell.is-top b { color: var(--ink); font-weight: 700; }
.predict-bar { display: flex; gap: 2px; height: 8px; margin: 10px 0 8px; }
.predict-bar i { display: block; min-width: 2px; border-radius: 2px; }
.predict-bar .tone-a { background: var(--accent); }
.predict-bar .tone-mid { background: var(--line); }
.predict-bar .tone-b { background: var(--stat-fouled, var(--ink-2)); }
.predict-card .value-why summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 14px; }
.predict-card .value-why summary .spark { width: 12px; height: 12px; }
.predict-card .value-why ul { margin: 6px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; }
.standout-match { border-left-color: var(--accent); }
@media (max-width: 720px) {
  .predict-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Risk key ---------- */
:root[data-theme="dark"] .risk-stars { color: #f2c14e; }
.risk-stars { display: block; color: #9a6500; font-size: 12px; letter-spacing: .5px; line-height: 1.3; white-space: nowrap; }
.risk-stars i { color: var(--line-strong); font-style: normal; }
.risk-key { margin: 10px 0; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; }
.risk-key summary { cursor: pointer; font-weight: 600; color: var(--ink); min-height: 24px; }
.risk-key ul { list-style: none; margin: 10px 0 8px; padding: 0; display: grid; gap: 6px; }
.risk-key li { display: grid; grid-template-columns: 76px 100px minmax(0, 1fr); align-items: center; gap: 8px; color: var(--ink-2); }
.risk-key li b { color: var(--ink); font-weight: 600; }
.risk-key p { margin: 0; }
.outlook-chance .risk-stars { margin: 2px 0; }
td .risk-stars { display: inline-block; margin-right: 6px; }

/* ---------- Against the odds ---------- */
.value-table th[scope="row"] { font-weight: 500; text-align: left; }
.value-table td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.value-table td small { display: block; color: var(--ink-2); font-size: 12px; }
.value-table .is-value th[scope="row"], .value-table .is-value td:last-child { font-weight: 700; color: var(--ink); }
.value-tag { display: inline-block; margin-left: 4px; padding: 0 7px; border-radius: 999px; border: 1px solid var(--accent); color: var(--link); font-size: 12px; font-weight: 600; white-space: nowrap; }
.value-table th[scope="row"] { min-width: 118px; white-space: normal; }
@media (max-width: 720px) {
  .value-table th, .value-table td { padding-left: 8px; padding-right: 8px; font-size: 13.5px; }
  .value-table th[scope="col"] { white-space: normal; }
}

/* ---------- Value page filters ---------- */
.value-filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 14px; padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.value-filter-head { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.value-days { display: flex; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.value-days::-webkit-scrollbar { display: none; }
.value-days a { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid transparent; color: var(--ink-2); font-size: 14.5px; font-weight: 550; text-decoration: none; }
.value-days a small { color: var(--ink-2); font-size: 12.5px; font-weight: 400; font-variant-numeric: tabular-nums; }
.value-days a:hover { color: var(--ink); border-color: var(--line-strong); }
.value-days a[aria-current] { color: var(--ink); background: var(--stripe); border-color: var(--accent); }
.value-league { flex: none; margin: 0; }
.value-risk { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.value-risk a { display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 52px; padding: 6px 4px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); text-align: center; text-decoration: none; }
.value-risk a b { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.value-risk a small { color: var(--ink-2); font-size: 12.5px; }
.value-risk a:hover { border-color: var(--line-strong); }
.value-risk a[aria-current] { background: var(--stripe); border-color: var(--accent); }
.value-day { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 18px 0 2px; font-size: 17px; letter-spacing: -.015em; }
.value-day small { color: var(--ink-2); font-size: 13px; font-weight: 400; }
@media (max-width: 720px) {
  .value-filter-head { flex-direction: column; align-items: stretch; }
  .value-days { flex-wrap: wrap; overflow: visible; }
  .value-league select { width: 100%; }
  .value-risk { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Results page ---------- */
:root { --up: #0a7f55; --down: #c43d3d; --line-b: #2f6fd0; --line-c: #6b7385; }
:root[data-theme="dark"] { --up: #22C55E; --down: #f87171; --line-b: #7aa7ff; --line-c: #a3afc6; }
.is-up { color: var(--up); font-weight: 650; }
.is-down { color: var(--down); font-weight: 650; }
.results-filters .value-days { flex-wrap: wrap; overflow: visible; }
.results-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 14px 0 10px; }
.results-tile { display: grid; gap: 3px; align-content: start; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.results-tile small { color: var(--ink-2); font-size: 13px; }
.results-tile b { font-size: 25px; font-weight: 680; letter-spacing: -.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.results-tile span:not(.is-up):not(.is-down) { color: var(--ink-2); font-size: 13px; }
.results-luck { margin: 0 0 6px; color: var(--ink-2); font-size: 14.5px; }
.results-luck b { color: var(--ink); }
.results-chart { display: block; width: 100%; height: auto; }
.chart-grid { stroke: var(--line); stroke-width: 1; }
.chart-zero { stroke: var(--line-strong); stroke-width: 1.5; }
.chart-text { fill: var(--ink-2); font-size: 12px; font-variant-numeric: tabular-nums; }
.chart-value { fill: var(--ink); }
.chart-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart-line.line-a { stroke: var(--up); }
.chart-line.line-b { stroke: var(--line-b); }
.chart-line.line-c { stroke: var(--line-c); stroke-dasharray: 5 4; }
.chart-hit { fill: transparent; }
.chart-hit:hover { fill: var(--line); fill-opacity: .35; }
.bar-up { fill: var(--up); }
.bar-down { fill: var(--down); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 8px; font-size: 13.5px; color: var(--ink-2); }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend b { color: var(--ink); font-variant-numeric: tabular-nums; }
.chart-legend i { display: inline-block; width: 16px; height: 0; border-top: 2px solid; }
.chart-legend i.line-a { border-color: var(--up); }
.chart-legend i.line-b { border-color: var(--line-b); }
.chart-legend i.line-c { border-color: var(--line-c); border-top-style: dashed; }
.results-table td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.results-table td small, .results-table th small { display: block; color: var(--ink-2); font-size: 12px; font-weight: 400; }
.results-table th[scope="row"] { font-weight: 500; text-align: left; }
.results-table th .risk-stars { display: inline-block; margin-right: 4px; }
.results-table caption { text-align: left; margin-bottom: 6px; }
.results-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
@media (max-width: 900px) {
  .results-compare { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .results-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .results-tile b { font-size: 21px; }
  .chart-text { font-size: 15px; }
}

/* ---------- Logo: the globe with a Greek lambda cut from it, and the same lambda in the name ---------- */
.logo { gap: 9px; }
.logo-word { display: inline-flex; align-items: baseline; font-family: 'Archivo', var(--font); font-stretch: 125%; font-size: 17px; font-weight: 700; letter-spacing: .05em; line-height: 1; color: var(--ink); }
.logo-lambda { flex: none; width: auto; height: .686em; margin: 0 .05em 0 .02em; fill: currentColor; }
/* The wider name leaves no room for the plan button on the smallest phones. Tactiqo+ is still in the menu and on the home page. */
@media (max-width: 359px) {
  .plan-chip { display: none; }
}

/* ---------- Fixture page: last 5 and lineups ---------- */
.match-hero-text { min-width: 0; display: grid; gap: 5px; }
.hero-form { list-style: none; margin: 0; padding: 0; display: flex; gap: 3px; }
.hero-form .result-chip { width: 19px; height: 19px; font-size: 10.5px; border-radius: 5px; cursor: default; }
.match-hero-team:last-child .hero-form { justify-content: flex-end; }
.lineup-fold { margin-top: 10px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.lineup-fold summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; min-height: 48px; padding: 8px 0; cursor: pointer; list-style: none; }
.lineup-fold summary::-webkit-details-marker { display: none; }
.lineup-fold summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .15s ease; }
.lineup-fold[open] summary::after { transform: rotate(-135deg); }
.lineup-fold-title { font-size: 15px; font-weight: 640; }
.lineup-fold-shape { color: var(--ink-2); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.lineup-fold > .section-sub { margin: 0 0 10px; }
.lineup-fold > .lineup-grid-pitch { padding-bottom: 14px; }
@media (prefers-reduced-motion: reduce) { .lineup-fold summary::after { transition: none; } }

/* ---------- Fixture page: H2H ---------- */
.h2h-record { margin-top: 10px; }
.h2h-record-cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; }
.h2h-record-cells > div { display: grid; justify-items: center; align-content: start; gap: 3px; }
.h2h-record-cells > div + div { border-left: 1px solid var(--line); }
.h2h-record-cells b { font-size: 28px; font-weight: 680; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.h2h-record-cells small { color: var(--ink-2); font-size: 13px; padding: 0 4px; }
.h2h-tiles { margin-top: 10px; }
.h2h-dots { display: flex; gap: 4px; margin-top: 3px; }
.h2h-dots i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--line-strong); }
.h2h-dots i.is-yes { background: var(--accent); border-color: var(--accent); }
.h2h-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.h2h-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.h2h-when { color: var(--ink-2); font-size: 13px; }
.h2h-match { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; min-width: 0; }
.h2h-side { display: inline-flex; align-items: center; gap: 7px; min-width: 0; font-size: 14.5px; color: var(--ink-2); }
.h2h-side:first-child { justify-content: flex-start; text-align: right; flex-direction: row-reverse; }
.h2h-side.is-winner { color: var(--ink); font-weight: 650; }
.h2h-rows .h2h-score { font-size: 15.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.btts-tag { padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink-2); font-size: 12.5px; white-space: nowrap; text-align: center; }
.btts-tag.is-yes { border-color: var(--accent); color: var(--link); font-weight: 600; }
.h2h-stat-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.h2h-stat-head span { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.h2h-stat { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: baseline; gap: 2px 8px; padding: 8px 0; border-top: 1px solid var(--line); text-align: center; font-size: 14px; }
.h2h-stat b { font-variant-numeric: tabular-nums; }
.h2h-stat b:first-child { text-align: left; }
.h2h-stat b:nth-child(3) { text-align: right; }
.h2h-stat > span { color: var(--ink-2); font-size: 13.5px; }
.h2h-bar { grid-column: 1 / -1; display: flex; gap: 2px; height: 6px; margin-top: 3px; }
.h2h-bar i { display: block; min-width: 2px; border-radius: 2px; background: var(--accent); }
.h2h-bar i + i { background: var(--line-b); }
@media (max-width: 720px) {
  .match-hero-text { justify-items: center; }
  .match-hero-team:last-child .hero-form { justify-content: center; }
  .h2h-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; }
  .h2h-match { grid-column: 1 / -1; grid-row: 2; }
}
.nav-list a { white-space: nowrap; }


/* ---------- Fixture page: smaller lineups ---------- */
.lineup-fold > .section-sub { font-size: 13.5px; margin-bottom: 8px; }
.lineup-grid-pitch { gap: 8px; margin-top: 6px; }
.lineup-fold .lineup-card { padding: 8px; border-radius: 12px; }
.lineup-fold .lineup-card .team-heading { margin-bottom: 6px; font-size: 14px; }
.lineup-fold .lineup-formation { font-size: 13px; }
.lineup-fold .lineup-pitch { min-height: 236px; gap: 5px; padding: 8px 4px; }
.lineup-fold .lineup-dot { width: 21px; height: 21px; font-size: 10.5px; }
.lineup-fold .lineup-player { gap: 1px; }
.lineup-fold .lineup-name { font-size: 11px; line-height: 1.1; }

/* ---------- Fixture page: referee ---------- */
.referee-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-top: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.referee-name { display: grid; margin: 0; font-size: 15px; font-weight: 640; }
.referee-name small { color: var(--ink-2); font-size: 13px; font-weight: 400; }
.referee-stats { display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)); gap: 8px 20px; }
.referee-stat { display: grid; gap: 1px; }
.referee-stat b { font-size: 24px; font-weight: 680; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.referee-stat span { font-size: 13px; color: var(--ink); }
.referee-stat small { color: var(--ink-2); font-size: 12.5px; font-variant-numeric: tabular-nums; }

/* ---------- Fixture page: matchups ---------- */
.matchup-pairs { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.matchup-label { margin: 0 0 8px; color: var(--link); font-size: 13px; font-weight: 640; }
.matchup-sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.matchup-sides > div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.matchup-name { display: grid; margin: 0 0 6px; font-size: 14.5px; font-weight: 640; }
.matchup-name a { color: var(--ink); text-decoration: none; }
.matchup-name a:hover { color: var(--link); text-decoration: underline; }
.matchup-name small { color: var(--ink-2); font-size: 12.5px; font-weight: 400; }
.matchup-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.matchup-stats li { display: grid; grid-template-columns: minmax(0, 1fr) auto 42px; align-items: baseline; gap: 6px; font-size: 13.5px; }
.matchup-stats span { color: var(--ink-2); }
.matchup-stats b { font-variant-numeric: tabular-nums; }
.matchup-stats small { color: var(--ink-2); font-size: 12px; text-align: right; font-variant-numeric: tabular-nums; }
.matchup-chances { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 10px 0 0; padding-top: 8px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 13px; }
.matchup-chances b { color: var(--ink); }
.weak-spots { list-style: none; margin: 6px 0 0; padding: 0; }
.weak-spots li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 14px; }
.weak-gap { flex: none; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
  .matchup-pairs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .lineup-fold .lineup-pitch { min-height: 210px; }
  .referee-stats { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; }
  .referee-stat b { font-size: 21px; }
  .referee-stat span { font-size: 12.5px; }
}
.matchup-chances span { white-space: nowrap; }
@media (max-width: 480px) {
  .matchup-sides { grid-template-columns: minmax(0, 1fr); }
  .matchup-sides > div + div { padding-left: 0; padding-top: 10px; border-left: 0; border-top: 1px solid var(--line); }
  .matchup-chances { display: grid; }
}

/* ---------- Stand-outs: the day's best ---------- */
.standout-days { flex-wrap: wrap; overflow: visible; margin-bottom: 4px; }
.pick-list { list-style: none; margin: 8px 0 14px; padding: 0; display: grid; gap: 10px; }
.day-pick { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); }
.pick-head { display: grid; grid-template-columns: 22px 66px minmax(0, 1fr) minmax(0, 260px); align-items: center; gap: 4px 12px; }
.day-pick-rank { color: var(--ink-2); font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }
.pick-chance { display: grid; }
.pick-chance b { font-size: 24px; font-weight: 680; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.pick-what { min-width: 0; }
.pick-what h3 { margin: 0; font-size: 16px; font-weight: 640; letter-spacing: -.01em; }
.pick-what p { margin: 1px 0 0; color: var(--ink-2); font-size: 13.5px; }
.pick-what a { color: var(--ink-2); text-decoration: none; }
.pick-what a:hover { color: var(--link); text-decoration: underline; }
.pick-fixture { min-width: 0; display: grid; gap: 1px; color: var(--ink); font-size: 14px; font-weight: 550; text-align: right; text-decoration: none; }
.pick-fixture:hover span { color: var(--link); }
.pick-fixture small { color: var(--ink-2); font-size: 12.5px; font-weight: 400; }
.pick-lineup { display: inline-flex; align-items: center; gap: 5px; margin: 8px 0 0; color: var(--ink-2); font-size: 13px; }
.pick-lineup.is-confirmed { color: var(--up); font-weight: 600; }
.pick-lineup svg { width: 13px; height: 13px; }
.standout-main .pick-lineup { margin: 0; justify-self: end; text-align: right; }
.pick-reason { margin: 6px 0 0; font-size: 14.5px; line-height: 1.45; max-width: 75ch; }
.day-pick-odds { margin: 6px 0 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.45; max-width: 75ch; }
.day-pick-odds b { color: var(--ink); font-weight: 600; }
.day-pick .value-why summary { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; cursor: pointer; font-size: 14px; }
.day-pick .value-why summary .spark { width: 12px; height: 12px; }
.day-pick .value-why ul { margin: 6px 0 2px; padding-left: 18px; color: var(--ink-2); font-size: 14px; }
.pick-list + .pro-gate { margin-bottom: 14px; }
@media (max-width: 720px) {
  .pick-head { grid-template-columns: 62px minmax(0, 1fr); }
  .day-pick-rank { display: none; }
  .pick-fixture { grid-column: 1 / -1; text-align: left; margin-top: 4px; }
}
@media (max-width: 720px) {
  .standout-main .pick-lineup { grid-column: 1 / -1; justify-self: start; text-align: left; }
}

/* ---------- Home: the page people use each day ---------- */
.home-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 22px; }
.home-top h1 { margin: 0; font-size: clamp(26px, 3vw, 36px); font-weight: 680; letter-spacing: -.03em; line-height: 1.1; }
.home-search { display: inline-flex; align-items: center; gap: 9px; flex: 0 1 380px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2); font: inherit; font-size: 14.5px; text-align: left; cursor: pointer; }
.home-search:hover { border-color: var(--accent); color: var(--ink); }
.home-search svg { width: 16px; height: 16px; flex: none; }
.home-days { flex-wrap: wrap; overflow: visible; margin-top: 12px; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "fixtures picks" "fixtures side"; grid-template-rows: auto 1fr; gap: 14px 24px; align-items: start; margin-top: 14px; }
.home-picks { grid-area: picks; }
.home-fixtures { grid-area: fixtures; }
.home-side { grid-area: side; }
.home-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.home-head h2 { margin: 0; font-size: 18px; font-weight: 660; letter-spacing: -.02em; }
.home-head a { font-size: 13.5px; white-space: nowrap; }
.home-comp { margin-bottom: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.home-comp h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; padding: 9px 14px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 640; }
.home-comp h3 a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.home-comp h3 a:hover { color: var(--link); }
.home-comp h3 img { width: 20px; height: 20px; object-fit: contain; padding: 1px; border-radius: 4px; background: #fff; }
.home-comp h3 small { color: var(--ink-2); font-size: 12.5px; font-weight: 400; }
.home-comp ol { list-style: none; margin: 0; padding: 0; }
.home-comp li + li { border-top: 1px solid var(--line); }
.home-fx { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto 10px; align-items: center; gap: 12px; min-height: 60px; padding: 8px 14px; color: var(--ink); text-decoration: none; }
.home-fx:hover { background: var(--stripe); }
.home-fx-time { color: var(--ink-2); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.home-fx-teams { display: grid; gap: 4px; min-width: 0; }
.home-fx-teams > span { display: flex; align-items: center; gap: 8px; min-width: 0; }
.home-fx-teams b { min-width: 0; overflow: hidden; font-size: 14.5px; font-weight: 560; text-overflow: ellipsis; white-space: nowrap; }
.home-fx-call { display: grid; gap: 4px; color: var(--ink-2); font-size: 13px; text-align: right; }
.home-fx-call b { color: var(--ink); font-variant-numeric: tabular-nums; }
.home-fx-go { width: 7px; height: 7px; border-top: 2px solid var(--ink-2); border-right: 2px solid var(--ink-2); transform: rotate(45deg); }
.home-pick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.home-pick { display: grid; grid-template-columns: 62px minmax(0, 1fr); align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; }
.home-pick:hover { border-color: var(--accent); }
.home-pick-chance { display: grid; }
.home-pick-chance b { font-size: 21px; font-weight: 680; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.home-pick-chance .risk-stars { font-size: 10.5px; letter-spacing: 0; }
.home-pick-what { display: grid; gap: 1px; min-width: 0; }
.home-pick-what b { font-size: 14.5px; font-weight: 620; }
.home-pick-what small { color: var(--ink-2); font-size: 12.5px; }
.home-note { margin: 8px 0 0; color: var(--ink-2); font-size: 12.5px; }
.home-tools { list-style: none; margin: 0; padding: 0; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.home-tools li + li { border-top: 1px solid var(--line); }
.home-tool { display: grid; gap: 1px; padding: 10px 14px; color: var(--ink); text-decoration: none; }
.home-tool:hover { background: var(--stripe); }
.home-tool b { font-size: 14.5px; font-weight: 620; }
.home-tool small { color: var(--ink-2); font-size: 13px; }
.home-plus { display: grid; gap: 6px; margin-top: 10px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.home-plus p { margin: 0; }
.home-leagues { margin-top: 16px; }
@media (max-width: 900px) {
  .home-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "picks" "fixtures" "side"; grid-template-rows: none; }
  .home-search { flex: 1 1 100%; }
}

/* ---------- Home: what Tactiqo is, with real numbers ---------- */
.lp-hero { color: var(--hero-ink); background: radial-gradient(900px 480px at 82% 12%, rgba(61, 123, 255, .17), transparent 70%), radial-gradient(760px 460px at 8% 100%, rgba(122, 167, 255, .13), transparent 70%), var(--hero-bg); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 48px; padding-top: clamp(38px, 6vw, 76px); padding-bottom: 32px; }
.lp-hero h1 { margin: 0; max-width: 13ch; color: var(--hero-ink); font-family: 'Archivo', var(--font); font-stretch: 125%; font-size: clamp(36px, 5vw, 66px); font-weight: 700; letter-spacing: -.025em; line-height: 1.03; }
.lp-lead { margin: 20px 0 0; max-width: 46ch; color: var(--hero-soft); font-size: clamp(16.5px, 1.5vw, 19px); line-height: 1.5; }
.lp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 26px; }
.lp-actions .button { min-height: 50px; padding-inline: 22px; font-size: 16px; }
.lp-secondary { color: var(--hero-ink); font-size: 15.5px; font-weight: 600; text-underline-offset: 4px; }
.lp-secondary:hover { color: #7df3d3; }
.lp-terms { margin: 12px 0 0; color: var(--hero-soft); font-size: 13.5px; }
.lp-card { display: grid; gap: 14px; padding: 18px; border-radius: 20px; border: 1px solid rgba(160, 190, 255, .2); background: #111929; color: #eef2ff; text-decoration: none; box-shadow: 0 24px 60px rgba(0, 0, 0, .4); transition: border-color .15s ease; }
.lp-counts { display: flex; flex-wrap: wrap; gap: 12px 44px; margin-top: 0; padding-top: 16px; padding-bottom: 22px; border-top: 1px solid rgba(160, 190, 255, .14); }
.lp-counts > div { display: flex; align-items: baseline; gap: 7px; }
.lp-counts dd { margin: 0; color: var(--hero-ink); font-size: 18px; font-weight: 680; font-variant-numeric: tabular-nums; }
.lp-counts dt { color: var(--hero-soft); font-size: 13.5px; }
.lp-section { margin-top: clamp(36px, 5vw, 60px); }
.lp-section h2 { margin: 0 0 16px; font-size: clamp(23px, 2.6vw, 32px); font-weight: 680; letter-spacing: -.025em; line-height: 1.15; }
.lp-section .home-head { margin-bottom: 12px; }
.lp-section .home-head h2 { margin: 0; font-size: clamp(23px, 2.6vw, 32px); }
.lp-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
.lp-feature { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px 6px 0; }
.lp-feature + .lp-feature { padding-left: 24px; border-left: 1px solid var(--line); }
.lp-figure { margin: 0; font-family: 'Archivo', var(--font); font-stretch: 125%; font-size: clamp(38px, 4.4vw, 54px); font-weight: 700; letter-spacing: -.02em; line-height: 1; color: var(--up); font-variant-numeric: tabular-nums; }
.lp-feature h3 { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; font-size: 18px; font-weight: 650; }
.lp-feature p:not(.lp-figure) { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; max-width: 38ch; }
.lp-feature a { margin-top: 6px; font-size: 14.5px; font-weight: 600; }
.lp-games { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; border-top: 1px solid var(--line-strong); }
.lp-games li { border-bottom: 1px solid var(--line); }
.lp-games .home-fx { grid-template-columns: 62px minmax(0, 1fr) auto 10px; padding-inline: 4px; }
.lp-when { display: grid; }
.lp-when b { font-size: 14.5px; font-weight: 640; font-variant-numeric: tabular-nums; }
.lp-when small { color: var(--ink-2); font-size: 12px; white-space: nowrap; }
.lp-comp { color: var(--ink-2); font-size: 12.5px; text-align: right; }
.lp-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lp-plan { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.lp-plan.is-plus { border-color: var(--accent); }
.lp-plan h3 { margin: 0; font-size: 19px; font-weight: 650; }
.lp-price { margin: 0; font-size: 30px; font-weight: 680; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.lp-price small { color: var(--ink-2); font-size: 14px; font-weight: 400; letter-spacing: 0; }
.lp-plan ul { flex: 1; list-style: none; margin: 4px 0 8px; padding: 0; display: grid; align-content: start; gap: 7px; font-size: 14.5px; }
.lp-plan li { display: flex; align-items: flex-start; gap: 8px; }
.lp-plan li svg { flex: none; width: 15px; height: 15px; margin-top: 3px; color: var(--up); }
.lp-plan .button { width: 100%; justify-content: center; text-align: center; }
.lp-leagues { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.lp-leagues a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--ink); font-size: 14.5px; font-weight: 560; text-decoration: none; }
.lp-leagues a:hover { color: var(--link); }
.lp-leagues img { width: 26px; height: 26px; object-fit: contain; padding: 2px; border-radius: 6px; background: #fff; }
.lp-small { margin-top: 18px; margin-bottom: 26px; color: var(--ink-2); font-size: 13px; }
@media (max-width: 900px) {
  .lp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lp-features { grid-template-columns: minmax(0, 1fr); }
  .lp-feature { padding: 18px 0; }
  .lp-feature + .lp-feature { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .lp-games { grid-template-columns: minmax(0, 1fr); }
  .lp-plans { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .lp-actions .button { width: 100%; justify-content: center; }
  .lp-comp { display: none; }
  .lp-games .home-fx { grid-template-columns: 62px minmax(0, 1fr) 10px; }
  .lp-counts { gap: 8px 22px; }
}
@media (prefers-reduced-motion: reduce) { .lp-card { transition: none; } }
.lp-figure small { display: block; margin-top: 6px; color: var(--ink-2); font-family: var(--font); font-stretch: normal; font-size: 13.5px; font-weight: 400; letter-spacing: 0; }

/* ---------- Back button ---------- */
.back-bar { position: sticky; top: var(--header-height, 0); z-index: 30; background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.back-bar[hidden] { display: none; }
.back-button { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; margin-left: -8px; padding: 0 12px 0 6px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.back-button:hover { color: var(--link); background: var(--stripe); }
.back-button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* The day picker scrolls inside its own row on phones, rather than making the whole page wider. */
.date-tiles { min-width: 0; max-width: 100%; }
/* The fixture tabs all fit on one row on phones. */
@media (max-width: 480px) {
  .wrap.view-tabs { gap: 5px; }
  .wrap.view-tabs a { padding-inline: 10px; font-size: 13.5px; white-space: nowrap; }
  .wrap.view-tabs a .spark { display: none; }
  .wrap.view-tabs .nav-pro { padding-inline: 5px; font-size: 11px; }
}

/* ---------- Tactiqo+ ---------- */
.nav-pro { font-family: var(--font); font-size: 11.5px; font-style: normal; font-weight: 680; letter-spacing: 0; line-height: 1.5; }
.plan-chip em { font-family: inherit; font-size: 13.5px; font-style: normal; font-weight: 680; }
.pro-word em { margin-left: 1px; font-family: inherit; font-size: 1.15em; font-style: normal; font-weight: 760; }
.pro-word-inline { font-family: inherit; font-size: inherit; font-style: normal; font-weight: inherit; }

/* ---------- Home: the day's top 5 ---------- */
.lp-card { padding: 16px; gap: 10px; }
.lp-card-title { margin: 0; color: #eef2ff; font-size: 18px; font-weight: 660; letter-spacing: -.02em; }
.lp-top-list { list-style: none; margin: 0; padding: 0; }
.lp-top-list li + li { border-top: 1px solid rgba(160, 190, 255, .14); }
.lp-top-row { display: grid; grid-template-columns: 16px 58px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 58px; padding: 7px 4px; border-radius: 8px; color: #eef2ff; text-decoration: none; }
.lp-top-row:hover { background: rgba(160, 190, 255, .08); }
.lp-top-rank { color: #a3afc6; font-size: 13px; text-align: center; font-variant-numeric: tabular-nums; }
.lp-top-chance { display: grid; }
.lp-top-chance b { font-size: 21px; font-weight: 680; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.lp-top-chance .risk-stars { color: #f2c14e; font-size: 10px; letter-spacing: 0; }
.lp-top-chance .risk-stars i { color: #36415c; }
.lp-top-what { display: grid; gap: 1px; min-width: 0; }
.lp-top-what b { font-size: 14.5px; font-weight: 620; line-height: 1.25; }
.lp-top-what small { color: #a3afc6; font-size: 12.5px; }
.lp-top-row.is-locked .lp-top-chance b { color: #a3afc6; }
.lp-top-row.is-locked .lp-top-what b { display: inline-flex; align-items: center; gap: 6px; color: #F5B83D; }
.lp-top-row.is-locked svg { flex: none; width: 13px; height: 13px; }
.lp-card-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin: 0; padding-top: 10px; border-top: 1px solid rgba(160, 190, 255, .14); }
.lp-card-foot a { color: #8FB8FF; font-size: 14px; font-weight: 600; }
.lp-card-foot small { color: #a3afc6; font-size: 12.5px; }

.day-pick.is-locked .pick-what h3 { display: flex; align-items: center; gap: 7px; }
.day-pick.is-locked .pick-what svg { flex: none; width: 15px; height: 15px; }
.pick-unlock { justify-self: end; min-height: 40px; padding-inline: 14px; font-size: 14px; white-space: nowrap; text-decoration: none; }
@media (max-width: 720px) {
  .pick-unlock { grid-column: 1 / -1; justify-self: stretch; justify-content: center; margin-top: 6px; }
}

/* The capitalised plan name is wider, so the sparkle gives way to keep the header on one row on phones. */
@media (max-width: 420px) {
  .plan-chip .spark { display: none; }
  .plan-chip { padding: 0 11px; }
  .plan-chip em { font-size: 12.5px; }
}

/* ---------- Tidying: quieter repeats, smaller controls ---------- */
.match-card .intel-cta { margin-top: 8px; min-height: 32px; border-radius: 0; background: none !important; box-shadow: none; border-top: 1px solid var(--line); color: var(--link); font-size: 13.5px; font-weight: 600; justify-content: flex-start; padding-top: 8px; animation: none; }
.match-card .intel-cta::before { display: none; }
.match-card .intel-cta .spark { display: none; }
.match-card:hover .intel-cta { text-decoration: underline; }
.date-tile > span { padding: 4px 4px; }
.date-tile b { font-size: 18px; }
.date-tile small { font-size: 11.5px; }
.read-notes { margin-top: 8px; color: var(--ink-2); font-size: 13.5px; }
.read-notes summary { cursor: pointer; min-height: 28px; font-weight: 600; color: var(--ink); }
.read-notes .table-note { margin-top: 6px; }
.streak-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.streak-filters select { width: 100%; }
@media (max-width: 720px) {
  .streak-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.match-card a.intel-cta, .match-card a.intel-cta span { color: var(--link) !important; }
.lp-hero + .lp-section { margin-top: 18px; }
.lp-hero + .lp-section .lp-leagues { padding-top: 0; border-top: 0; }

/* ---------- Menu: icon on the far left, options in a list that drops down ---------- */
.header-inner { position: relative; flex-wrap: nowrap; }
.menu-button { order: -1; display: inline-flex; flex: none; margin-left: 0; }
.logo { order: 0; }
.plan-slot { order: 2; margin-left: auto; }
.search-button { order: 3; margin-left: 0; }
.header-menu, .header-menu.open { position: absolute; top: calc(100% + 6px); left: 16px; z-index: 60; width: min(320px, calc(100% - 32px)); max-height: calc(100dvh - 130px); margin: 0; padding: 8px; overflow-y: auto; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); box-shadow: 0 18px 48px rgba(0, 0, 0, .4); gap: 6px; }
.header-menu { display: none; }
.header-menu.open { display: flex; flex-direction: column; align-items: stretch; }
.header-menu .nav-list { flex-direction: column; gap: 2px; }
.header-menu .nav-list a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 46px; padding: 0 12px; border-radius: 9px; color: var(--ink); font-size: 15.5px; font-weight: 560; }
.header-menu .nav-list a:hover { background: var(--stripe); }
.header-menu .nav-list a[aria-current="page"] { background: var(--stripe); color: var(--link); }
.header-menu .nav-list a[aria-current="page"]::before, .header-menu .nav-list a::after { display: none; }
.header-menu .header-tools { justify-content: flex-start; padding: 6px 4px 2px; border-top: 1px solid var(--line); }

/* Quick links under each main page, and an icon-only menu button. */
.menu-button { justify-content: center; width: 44px; padding: 0; }
.header-menu .nav-list > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.header-menu .nav-list > li > a { grid-column: 1; }
.header-menu .nav-list > li:not(.has-sub) > a { grid-column: 1 / -1; }
.nav-toggle { grid-column: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 9px; background: none; color: var(--ink-2); cursor: pointer; }
.nav-toggle:hover { background: var(--stripe); color: var(--ink); }
.nav-toggle span { width: 8px; height: 8px; margin-top: -3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s ease; }
.nav-toggle[aria-expanded="true"] span { margin-top: 3px; transform: rotate(-135deg); }
.nav-sub { grid-column: 1 / -1; list-style: none; margin: 0 0 6px; padding: 0 0 0 12px; }
.nav-sub[hidden] { display: none; }
.nav-sub a { display: flex; align-items: center; min-height: 40px; padding: 0 12px; border-left: 2px solid var(--line); color: var(--ink-2); font-size: 14.5px; text-decoration: none; }
.nav-sub a:hover { color: var(--ink); border-left-color: var(--accent); background: var(--stripe); }
.nav-sub a[aria-current] { color: var(--link); border-left-color: var(--accent); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .nav-toggle span { transition: none; } }

/* ---------- Menu: grouped, with icons and link chips ---------- */
.menu-scrim { position: fixed; inset: 0; z-index: 35; background: rgba(4, 8, 18, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.menu-scrim[hidden] { display: none; }
body.menu-open .chat-launch { display: none; }
.header-menu, .header-menu.open { top: calc(100% + 8px); width: min(380px, calc(100% - 32px)); max-height: calc(100dvh - 120px); padding: 10px; gap: 4px; border-radius: 18px; border-color: var(--line-strong); box-shadow: 0 24px 70px rgba(0, 0, 0, .5); overscroll-behavior: contain; }
.header-menu.open { animation: menu-in .16s var(--ease, ease-out); transform-origin: top left; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px) scale(.985); } to { opacity: 1; transform: none; } }
.header-menu nav { display: grid; gap: 8px; }
.nav-group { display: grid; gap: 2px; }
.nav-group + .nav-group { padding-top: 8px; border-top: 1px solid var(--line); }
.nav-group-title { margin: 2px 10px 2px; color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.header-menu .nav-list { display: grid; gap: 2px; }
.nav-plans { padding-top: 8px; border-top: 1px solid var(--line); }
.header-menu .nav-list > li { position: relative; display: block; }
.header-menu .nav-list > li > a { display: flex; align-items: center; justify-content: flex-start; gap: 12px; min-height: 56px; padding: 7px 10px; border-radius: 12px; color: var(--ink); text-decoration: none; font-size: inherit; font-weight: inherit; white-space: normal; }
.header-menu .nav-list > li.has-sub > a { padding-right: 50px; }
.header-menu .nav-list > li > a:hover { background: var(--stripe); }
.header-menu .nav-list > li > a[aria-current="page"] { background: var(--stripe); color: var(--ink); }
.nav-icon { flex: none; box-sizing: content-box; padding: 8px; border-radius: 10px; background: var(--stripe); color: var(--ink-2); }
.header-menu .nav-list > li > a:hover .nav-icon { color: var(--link); }
.header-menu .nav-list > li > a[aria-current="page"] .nav-icon { background: var(--accent); color: #FFFFFF; }
.nav-text { display: grid; gap: 1px; min-width: 0; }
.nav-text b { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 620; line-height: 1.25; }
.nav-text small { color: var(--ink-2); font-size: 13px; font-weight: 400; line-height: 1.3; }
.nav-toggle { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; }
.nav-sub { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 8px; padding: 0 8px 0 62px; }
.nav-sub[hidden] { display: none; }
.nav-sub a { display: inline-flex; min-height: 34px; padding: 0 12px; border: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.nav-sub a:hover { background: var(--stripe); border-left-color: var(--accent); border-color: var(--accent); }
.nav-sub a[aria-current] { background: var(--accent); border-color: var(--accent); color: #FFFFFF; font-weight: 600; }
.header-menu .header-tools { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px 2px; }
.nav-theme-label { color: var(--ink-2); font-size: 13.5px; }
.header-menu .header-tools .segmented { display: none; }
@media (max-width: 480px) {
  .header-menu, .header-menu.open { left: 8px; width: calc(100% - 16px); }
  .nav-sub { padding-left: 12px; }
  body.menu-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .header-menu.open { animation: none; } }
:root[data-theme="light"] .menu-scrim { background: rgba(20, 28, 44, .35); }
:root[data-theme="light"] .header-menu, :root[data-theme="light"] .header-menu.open { box-shadow: 0 24px 60px rgba(20, 28, 44, .22); }

/* ---------- Chance meter: natural odds, ten pips and a plain word ---------- */
.meter { --tone: #3D7BFF; display: inline-grid; gap: 3px; min-width: 66px; color: var(--ink); }
:root[data-theme="light"] .meter { --tone: #0a7f55; }
.meter.tone-2 { --tone: #22D3EE; }
.meter.tone-3 { --tone: #7aa7ff; }
.meter.tone-4 { --tone: #f2c14e; }
.meter.tone-5 { --tone: #f28ab2; }
:root[data-theme="light"] .meter.tone-2 { --tone: #0f8a80; }
:root[data-theme="light"] .meter.tone-3 { --tone: #2f6fd0; }
:root[data-theme="light"] .meter.tone-4 { --tone: #a86f00; }
:root[data-theme="light"] .meter.tone-5 { --tone: #c2406f; }
.meter-figure { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.meter-figure small { font-size: 12.5px; font-weight: 560; letter-spacing: 0; color: var(--ink-2); }
.meter-pips { display: grid; grid-template-columns: repeat(10, 1fr); gap: 2px; width: 66px; }
.meter-pips i { display: block; height: 5px; border-radius: 1.500px; background: var(--line-strong); }
.meter-pips i.on { background: var(--tone); }
.meter-word { color: var(--tone); font-size: 12px; font-weight: 640; line-height: 1.2; }
.meter-mini { display: inline-grid; min-width: 0; vertical-align: middle; }
.lp-top-chance .meter { color: #eef2ff; --tone: #3D7BFF; }
.lp-top-chance .meter.tone-2 { --tone: #22D3EE; }
.lp-top-chance .meter.tone-3 { --tone: #7aa7ff; }
.lp-top-chance .meter-figure small { color: #a3afc6; }
.lp-top-chance .meter-pips i { background: #36415c; }
.lp-top-chance .meter-pips i.on { background: var(--tone); }
.lp-top-row { grid-template-columns: 16px 72px minmax(0, 1fr); min-height: 66px; }
.pick-head { grid-template-columns: 22px 72px minmax(0, 1fr) minmax(0, 260px); }
.standout-main { grid-template-columns: 22px 72px 62px minmax(0, 1.2fr) minmax(0, 1fr) auto; }
.value-gap { display: grid; justify-items: center; padding: 5px 6px; border-radius: 10px; background: var(--stripe); }
.value-gap b { font-size: 15px; font-weight: 700; color: var(--up); font-variant-numeric: tabular-nums; }
.value-gap small { color: var(--ink-2); font-size: 11.5px; }
.predict-card .meter { margin-top: 2px; }
.predict-answer { margin-bottom: 4px; }
.risk-key li { grid-template-columns: 78px 100px minmax(0, 1fr); }
.value-risk a .meter-mini { justify-self: center; }
.results-table th .meter-mini { margin-right: 6px; }
@media (max-width: 720px) {
  .pick-head { grid-template-columns: 72px minmax(0, 1fr); }
  .standout-main { grid-template-columns: 72px 58px minmax(0, 1fr); }
}

/* ---------- Corners ---------- */
.match-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.match-facts .referee-card { margin-top: 0; flex-direction: column; align-items: stretch; }
.match-facts .referee-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.corner-lines { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 10px; }
.corner-lines li { display: grid; gap: 6px; }
.corner-label { font-size: 14px; font-weight: 620; }
.corner-odds { color: var(--ink); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.corner-odds small { display: block; color: var(--ink-2); font-size: 12px; font-weight: 400; }
@media (max-width: 900px) { .match-facts { grid-template-columns: minmax(0, 1fr); } }


/* ---------- Accounts ---------- */
.account-button { order: 3; color: var(--ink); text-decoration: none; }
.account-button.is-signed-in { color: var(--link); }
.search-button { order: 4; }
.nav-account { display: grid; gap: 1px; margin-bottom: 8px; padding: 10px 12px; border-radius: 12px; background: var(--stripe); color: var(--ink); text-decoration: none; }
.nav-account:hover { outline: 1px solid var(--accent); }
.nav-account b { font-size: 15px; font-weight: 640; }
.nav-account small { color: var(--ink-2); font-size: 13px; }
.account-wrap { max-width: 560px; padding-top: 28px; padding-bottom: 36px; }
.account-signed-in { max-width: 760px; }
.account-wrap h1 { margin: 0; font-size: clamp(27px, 3.4vw, 36px); font-weight: 680; letter-spacing: -.025em; }
.account-wrap h2 { margin: 26px 0 10px; font-size: 19px; font-weight: 660; }
.account-lead { margin: 8px 0 16px; color: var(--ink-2); }
.account-tabs { margin-bottom: 12px; flex-wrap: wrap; overflow: visible; }
.account-form { display: grid; gap: 14px; margin-bottom: 16px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.account-form label { display: grid; gap: 5px; font-size: 14px; font-weight: 600; }
.account-form input { min-height: 46px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; font-weight: 400; }
.account-form input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.account-form small { color: var(--ink-2); font-size: 13px; font-weight: 400; }
.account-form .button { justify-content: center; min-height: 48px; }
.account-error { margin: 0; color: var(--down); font-size: 14px; font-weight: 600; }
.account-error[hidden] { display: none; }
.account-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.my-clubs { list-style: none; margin: 0; padding: 0; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.my-club { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; align-items: center; gap: 12px; padding: 10px 14px; }
.my-club + .my-club { border-top: 1px solid var(--line); }
.my-club-name { color: var(--ink); font-weight: 640; text-decoration: none; }
.my-club-next { display: grid; color: var(--ink); font-size: 14px; text-decoration: none; }
.my-club-next:hover span { color: var(--link); }
.my-club-next small { color: var(--ink-2); font-size: 12.5px; }
.my-club-remove, .link-danger { min-height: 40px; padding: 0 6px; border: 0; background: none; color: var(--ink-2); font: inherit; font-size: 13.5px; text-decoration: underline; cursor: pointer; }
.link-danger { margin-top: 12px; padding: 0; color: var(--down); }
.pref-card { display: grid; gap: 16px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.pref-row { margin: 0; padding: 0; border: 0; min-width: 0; }
.pref-row legend { margin-bottom: 7px; padding: 0; font-size: 14.5px; font-weight: 620; }
.pref-row p { margin: 0 0 7px; }
.pref-options { display: flex; flex-wrap: wrap; gap: 7px; }
.pref-options label { position: relative; cursor: pointer; }
.pref-options input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.pref-options span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 13px; border-radius: 10px; border: 1px solid var(--line-strong); font-size: 14px; font-weight: 520; }
.pref-options input:checked + span { background: var(--stripe); border-color: var(--accent); color: var(--link); font-weight: 640; }
.pref-options input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.team-tabs { align-items: center; }
.follow-button { display: inline-flex; flex: none; align-items: center; gap: 6px; min-height: 40px; margin-left: auto; padding: 0 16px; border-radius: 999px; border: 1px solid var(--accent); background: none; color: var(--link); font: inherit; font-size: 14px; font-weight: 640; cursor: pointer; }
.follow-button:hover { background: var(--stripe); }
.follow-button.is-following { background: var(--accent); color: #FFFFFF; }
.follow-button svg { width: 15px; height: 15px; }
body.is-compact .day-pick { padding: 8px 12px; }
body.is-compact .home-fx { min-height: 46px; padding-block: 4px; }
body.is-compact .match-card { padding: 8px 10px; }
body.is-compact .standout-row { padding: 6px 12px; }
body.is-compact .pick-reason { margin-top: 3px; font-size: 13.5px; }
@media (max-width: 480px) {
  .account-button { display: none; }
  .my-club { grid-template-columns: minmax(0, 1fr) auto; }
  .my-club-next { grid-column: 1 / -1; grid-row: 2; }
}
.predict-cell .meter-figure small { display: inline; font-size: 12.5px; }
.predict-cell .meter-figure { color: var(--ink); }

/* ---------- Picks: the target mark ---------- */
.target-icon { flex: none; color: var(--up); }
.lp-card-title { display: flex; align-items: center; gap: 8px; }
.lp-card-title .target-icon { width: 20px; height: 20px; color: #3D7BFF; }
.lp-top-what b { display: flex; align-items: flex-start; gap: 6px; }
.lp-top-what .target-icon { width: 14px; height: 14px; margin-top: 3px; color: #3D7BFF; }
.with-target { display: flex; align-items: center; gap: 12px; }
.with-target .target-icon { width: 34px; height: 34px; color: #3D7BFF; }
.pick-what h3 { display: flex; align-items: flex-start; gap: 7px; }
.pick-what h3 .target-icon { width: 15px; height: 15px; margin-top: 3px; }
.view-tabs a .target-icon { width: 15px; height: 15px; margin-right: 5px; }
@media (min-width: 1100px) { .match-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.match-facts .referee-stat span { overflow-wrap: anywhere; }
@media (max-width: 1099px) and (min-width: 901px) { .match-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Live site ---------- */
body.is-live .demo-bar { display: none; }
.check-row { display: flex !important; align-items: flex-start; gap: 9px; font-weight: 500 !important; }
.check-row input { flex: none; width: 20px; min-height: 20px !important; height: 20px; margin-top: 1px; accent-color: var(--accent); }
.account-form .small { margin: 0; }
.delete-form { max-width: 380px; }
.delete-form .button { justify-content: center; }
.legal-page { max-width: 720px; }
.legal-section { margin-top: 22px; }
.legal-section h2 { margin: 0 0 8px; font-size: 19px; }
.legal-section p { margin: 0 0 10px; max-width: 68ch; line-height: 1.6; }

/* ---------- Readability: nothing too small, room to read, clear focus ---------- */
body { line-height: 1.5; }
.date-tile small, .lp-when small, .corner-odds small, .h2h-when, .home-pick-what small, .lp-top-what small, .standout-fixture small, .pick-fixture small, .form-games small { font-size: 12.5px; }
.nav-pro { font-size: 12px; }
.hero-form .result-chip { width: 21px; height: 21px; font-size: 11.5px; }
.meter-word { font-size: 12.5px; }
.chart-text { font-size: 13px; }
.results-table td small, .results-table th small { font-size: 12.5px; }
.table-note, .small { font-size: 13.5px; line-height: 1.5; }
.section-sub { max-width: 68ch; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Small links stay comfortable to tap. */
.sched-leagues a, .comp-table-link, .lp-card-foot a, .lp-feature a, .lp-secondary, .home-head a { display: inline-flex; align-items: center; min-height: 28px; }
td .team-link, th .team-link { display: inline-flex; align-items: center; min-height: 24px; }

/* Phones and touch screens: every standalone control is at least 44px tall (WCAG 2.5.5).
   Buttons, tabs and chips simply grow. Links inside rows and lists keep their layout and get a
   taller hit area from padding cancelled by negative margin. */
@media (max-width: 760px), (pointer: coarse) {
  .plan-chip, .back-button, .view-tabs a, .view-tabs button, .value-days a, .stat-pills a, .sched-leagues a,
  .comp-heading a, .comp-table-link, .lp-card-foot a, .lp-feature > a, .lp-secondary, .home-head a, .intel-cta,
  .rail-all, .radar-next, .follow-button, .value-why > summary, .risk-key > summary, .read-notes > summary,
  .pref-options label, .scout-filters select, .radar-filter select, .site-footer li a {
    min-height: 44px; box-sizing: border-box;
  }
  .rail-all, .site-footer li a, .risk-key > summary, .read-notes > summary { display: flex; align-items: center; }
  .site-footer li a { display: inline-flex; }
  .sched-leagues a, .comp-table-link { min-width: 44px; justify-content: center; }
  .team-link, .rank-name a, .radar-name a, .stat-rows > li > a, .game-sheet, .lineup-player, .stat-head a, th a[href="#/pricing"] {
    padding-block: 10px; margin-block: -10px;
  }
  .team-link:has(.crest-xl) { padding-block: 0; margin-block: 0; }
}
@media (max-width: 760px), (pointer: coarse) {
  .match-card .intel-cta, .stat-pills.small a, .pro-button, .check-row, .layer-toggle { min-height: 44px; }
  .check-row { display: flex; align-items: center; }
  .site-footer li a { min-width: 44px; justify-content: flex-start; }
  .site-footer { padding-bottom: 88px; }
  .pick-fixture, .standout-fixture { padding-block: 2px; margin-block: -2px; min-height: 44px; align-content: center; }
  .team-heading .team-link, .match-hero-name .team-link, .game-sheet { padding-block: 13px; margin-block: -13px; }
  .stat-head a, th a[href="#/pricing"] { padding-block: 15px; margin-block: -15px; }
}
/* Club names in the match header: break long names with a hyphen, never mid-word ("Bournemout / h"). */
@media (max-width: 480px) {
  .match-hero-name { font-size: 18px; overflow-wrap: break-word; hyphens: auto; }
}

/* Bookmaker advert: the offer's significant terms sit directly under the headline, as the Gambling Commission expects. */
.partner-terms { margin: 4px 0 2px; font-size: 13px; line-height: 1.45; color: var(--ink); }
.partner-text small a, .partner-terms a { color: var(--link); }

/* Value labels: about price against the odds, not likelihood. */
.value-tag.value-good { border-color: var(--accent); color: var(--link); }
.value-tag.value-excellent { border-color: transparent; background: var(--pro); color: var(--pro-ink); }
/* Best price, and the labelled advert link to that bookmaker on match bets. */
.day-pick-price { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 8px 0 0; font-size: 14px; }
.day-pick-price .value-tag { margin-left: 0; }
.day-pick-price > span:not(.value-tag) { color: var(--ink-2); }
.odds-link { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 4px; border: 1px solid var(--line-strong); border-radius: 999px; background: none; color: var(--ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.odds-link:hover { border-color: var(--accent); color: var(--link); }
.odds-link .partner-tag { padding: 0 6px; font-size: 11px; }
.odds-plain { font-weight: 600; white-space: nowrap; }
@media (max-width: 760px), (pointer: coarse) { .odds-link { min-height: 44px; padding-block: 6px; } }
/* The same price line under highlighted picks elsewhere. */
.pick-price-line, .predict-price, .lp-top-price { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 8px 0 0; font-size: 13.5px; }
.pick-price-line .value-tag, .predict-price .value-tag, .lp-top-price .value-tag, .corner-odds .value-tag { margin-left: 0; }
/* "as of 13:16" beside a price when the odds are delayed on matchday (oddsView in js/views-pro.js). */
.price-asof { color: #F5B83D; font-size: 12px; font-weight: 600; }
.corner-odds { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 6px; }
.lp-top-price { margin: 0 0 8px 84px; }
.lp-top-price .odds-link { color: #eef2ff; border-color: rgba(160, 190, 255, .3); }
.lp-top-price .odds-plain { color: #eef2ff; }
.lp-top-price .partner-tag { color: #c7d2fe; border-color: rgba(160, 190, 255, .4); }
@media (max-width: 480px) { .lp-top-price { margin-left: 30px; } }
/* Track Record: won or lost, with the real score or count underneath. */
.results-table .result-word { font-weight: 650; }
.results-table .result-word.is-up { color: var(--up, #22C55E); }
.results-table .result-word.is-down { color: var(--down, #f87171); }

/* ---------- International ---------- */
.intl-comps { margin-bottom: 14px; flex-wrap: wrap; }
.comp-hero-logo { width: 64px; height: 64px; object-fit: contain; padding: 8px; border-radius: 16px; background: #fff; }
.intl-hero { padding-block: 22px 26px; }
.intl-comp { margin: 0 0 14px; font-size: 14px; color: var(--hero-ink, #eef2ff); }
.intl-comp a { color: inherit; }
.intl-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 12px; }
.intl-side { display: grid; justify-items: center; gap: 8px; text-align: center; min-width: 0; }
.intl-side .crest-xl { border-radius: 8px; }
.intl-side .match-hero-name { margin: 0; }
.intl-middle { display: grid; justify-items: center; gap: 4px; padding-top: 18px; color: var(--hero-ink, #eef2ff); text-align: center; }
.intl-score { font-size: 40px; font-weight: 750; letter-spacing: -.02em; }
.intl-v { font-size: 22px; opacity: .8; }
.intl-middle small { font-size: 13px; opacity: .85; }
.intl-compare td, .intl-compare th { text-align: center; }
.intl-compare tbody th { color: var(--ink-2); font-weight: 500; }
.intl-notable { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.intl-notable li { display: grid; gap: 1px; font-size: 14px; }
.intl-notable li span { color: var(--ink-2); font-size: 13px; }
.intl-teaser { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; padding: 14px 16px; border-radius: 14px; }
.intl-teaser div { display: grid; gap: 2px; }
.intl-teaser span { color: var(--ink-2); font-size: 14px; }
@media (max-width: 480px) { .intl-score { font-size: 32px; } .intl-teams { gap: 6px; } }

/* ---------- November 2026 design pass (VectorLab audit) ---------- */

/* Homepage card during a break: the first club games back, in the same row shape as Coming up. */
.lp-return-list { list-style: none; margin: 0; padding: 0; }
.lp-return-list li { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 52px; padding: 6px 4px; color: #eef2ff; }
.lp-return-list li + li { border-top: 1px solid rgba(160, 190, 255, .14); }
.lp-return .lp-when small, .lp-return .lp-comp { color: #a3afc6; }
.lp-return .lp-card-foot span { color: #c9d3e6; font-size: 14px; }
@media (max-width: 760px) { .lp-return-list li { grid-template-columns: 58px minmax(0, 1fr); } .lp-return-list li:nth-child(n+5) { display: none; } .lp-return .lp-comp { display: none; } }

/* Filter chips keep a visible edge at rest, so they read as buttons and not as plain text. */
.value-days a { border-color: var(--line); }

/* Rows that scroll sideways (tabs, chips, wide tables) fade at the edge that has more,
   so it's clear there is more to see. app.js sets data-overflow from the scroll position. */
[data-overflow="end"] { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); }
[data-overflow="start"] { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 36px), transparent); }
[data-overflow="both"] { -webkit-mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 36px), transparent); }

/* Ask Tactiqo on phones: a round icon button that moves out of the way while you scroll down,
   so it never sits over the last column of a table. Scrolling back up brings it back. */
@media (max-width: 760px) {
  .chat-launch { width: 52px; height: 52px; min-height: 52px; padding: 0; justify-content: center; transition: transform .2s cubic-bezier(.4, 0, 1, 1), opacity .2s; }
  .chat-launch > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .chat-launch .spark { width: 20px; height: 20px; }
  body.is-scrolling-down .chat-launch { transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; transition-timing-function: cubic-bezier(.4, 0, 1, 1); }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .chat-launch { transition: opacity .1s; } body.is-scrolling-down .chat-launch { transform: none; } }

/* First paint, before the scripts arrive: a quiet outline of the page instead of a blank screen.
   It waits 150ms, so fast loads never flash it, and it never shimmers. */
.boot-shell { padding-block: 56px 40px; animation: boot-in .15s linear .15s both; }
.boot-shell i { display: block; height: 18px; margin-bottom: 14px; border-radius: 8px; background: var(--line); }
.boot-shell i:nth-child(1) { width: min(560px, 80%); height: 44px; }
.boot-shell i:nth-child(2) { width: min(420px, 60%); height: 44px; margin-bottom: 26px; }
.boot-shell i:nth-child(3) { width: min(520px, 90%); }
.boot-shell i:nth-child(4) { width: 200px; height: 46px; margin-top: 24px; border-radius: 12px; }
@keyframes boot-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .boot-shell { animation: none; } }

/* ---------- First-visit intro (js/intro.js) ---------- */
.intro { display: none; }
html.show-intro .intro { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; overflow: hidden; padding: 24px 16px; background: radial-gradient(ellipse 90% 70% at 50% 100%, #0E1B4D 0%, #070b16 62%); color: #eef2ff; }
html.show-intro body { overflow: hidden; }
.intro-art { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .3s ease-out; }
.intro-art.is-ready { opacity: 1; }
/* A soft dark pool behind the words, so text stays readable over the dots. */
.intro::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 46% 40% at 50% 46%, rgba(7, 11, 22, .82), transparent 72%); z-index: 1; }
.intro-content { position: relative; z-index: 2; display: grid; justify-items: center; gap: 0; max-width: 640px; text-align: center; animation: intro-rise .3s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes intro-rise { from { opacity: 0; transform: translateY(12px); } }
.intro-logo { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; }
.intro-logo .logo-word { font-size: 22px; color: #eef2ff; }
.intro-title { margin: 0; font-size: clamp(36px, 7vw, 68px); line-height: 1.04; letter-spacing: -.04em; font-weight: 680; color: #fff; text-wrap: balance; }
.intro-lead { margin: 16px 0 30px; max-width: 46ch; color: #b8c4da; font-size: 17px; line-height: 1.5; }
.intro-lead a, .intro-age a { color: #8FB8FF; }

/* The enter button: a raised teal key with a darker edge underneath. It tilts towards the pointer,
   a light passes across it a few times, and it presses down when used. */
.intro-enter { --rx: 0deg; --ry: 0deg; --gx: 50%; position: relative; border: 0; padding: 0 0 7px; border-radius: 20px; background: #2A44C9; cursor: pointer; font: inherit; perspective: 700px; transform: perspective(700px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .15s ease-out; box-shadow: 0 22px 44px rgba(16, 185, 129, .28), 0 0 0 1px rgba(108, 140, 255, .25); animation: intro-rise .3s cubic-bezier(.2, .7, .2, 1) .08s both; }
.intro-enter-face { position: relative; display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; align-items: center; column-gap: 16px; min-height: 68px; padding: 12px 22px 12px 28px; border-radius: 20px; overflow: hidden; color: #FFFFFF; text-align: left; background: radial-gradient(circle at var(--gx) 0%, #B9CEFF, #7FA3FF 38%, #4A72FF 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -2px 0 rgba(4, 24, 26, .12); transition: transform .1s ease-out; }
.intro-enter-face span { font-size: 13.5px; font-weight: 600; opacity: .78; }
.intro-enter-face b { grid-row: 2; font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.intro-enter-face svg { grid-row: 1 / 3; grid-column: 2; transition: transform .15s ease-out; }
.intro-enter-face::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); animation: intro-sheen 2.4s cubic-bezier(.4, 0, .2, 1) .7s 3; }
@keyframes intro-sheen { 60%, 100% { transform: translateX(120%); } }
.intro-enter:hover .intro-enter-face svg { transform: translateX(4px); }
.intro-enter:active { padding-bottom: 3px; margin-top: 4px; }
.intro-enter:active .intro-enter-face { transform: translateY(0); }
.intro-enter:focus-visible { outline: 3px solid #F5B83D; outline-offset: 4px; }
.intro-under { min-height: 44px; margin-top: 14px; padding: 0 16px; border: 0; border-radius: 10px; background: none; color: #b8c4da; font: inherit; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.intro-under:hover { color: #fff; }
.intro-under:focus-visible { outline: 2px solid #F5B83D; outline-offset: 2px; }
.intro-age { display: flex; align-items: flex-start; gap: 10px; max-width: 52ch; margin: 22px 0 0; color: #95a3bd; font-size: 13.5px; line-height: 1.5; text-align: left; }
.intro-age .age-badge { flex: none; }

/* Leaving: the globe moves towards you and the words lift away, then the site is there. */
.intro.is-leaving { animation: intro-out .4s cubic-bezier(.4, 0, 1, 1) forwards; }
.intro.is-leaving .intro-art { transform: scale(1.35); transition: transform .4s cubic-bezier(.4, 0, 1, 1); }
.intro.is-leaving .intro-content { transform: translateY(-16px) scale(1.04); opacity: 0; transition: transform .3s cubic-bezier(.4, 0, 1, 1), opacity .25s; }
@keyframes intro-out { 70% { opacity: 1; } to { opacity: 0; } }

@media (max-width: 760px) {
  .intro-lead { font-size: 15.5px; margin-bottom: 24px; }
  .intro-enter-face { min-height: 64px; padding-inline: 22px 18px; }
  .intro-enter-face b { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-content, .intro-enter, .intro-enter-face::after { animation: none; }
  .intro-enter, .intro-enter-face, .intro-enter-face svg, .intro-art { transition: none; }
  .intro-enter { transform: none; }
}
.intro .age-badge { border-color: #eef2ff; color: #eef2ff; }
@media (min-width: 900px) {
  html.show-intro .intro { place-items: center start; padding-left: max(48px, 7vw); }
  .intro-content { justify-items: start; text-align: left; max-width: 560px; }
  .intro::before { background: radial-gradient(ellipse 40% 55% at 26% 50%, rgba(7, 11, 22, .78), transparent 75%); }
}
@media (max-width: 899px) {
  html.show-intro .intro { place-items: start center; padding-top: max(40px, 8vh); }
  .intro::before { background: linear-gradient(180deg, rgba(7, 11, 22, .7) 0%, rgba(7, 11, 22, .55) 60%, transparent 85%); }
}

/* ---------- League tables: short/full switch and zones ---------- */
:root {
  --z-cl: #1d4ed8; --z-clq: #60a5fa; --z-el: #c2410c; --z-ecl: #15803d;
  --z-next: #1d4ed8; --z-qualify: #1d4ed8; --z-third: #60a5fa; --z-playoff: #ca8a04;
  --z-promo: #15803d; --z-promopo: #4ade80; --z-relpo: #f87171; --z-rel: #b91c1c; --z-other: #94a3b8;
}
:root[data-theme="dark"] {
  --z-cl: #60a5fa; --z-clq: #bfdbfe; --z-el: #fb923c; --z-ecl: #4ade80;
  --z-next: #60a5fa; --z-qualify: #60a5fa; --z-third: #bfdbfe; --z-playoff: #facc15;
  --z-promo: #4ade80; --z-promopo: #bbf7d0; --z-relpo: #fca5a5; --z-rel: #f87171; --z-other: #94a3b8;
}
.lt-z-cl { --zone: var(--z-cl); } .lt-z-clq { --zone: var(--z-clq); } .lt-z-el { --zone: var(--z-el); }
.lt-z-ecl { --zone: var(--z-ecl); } .lt-z-next { --zone: var(--z-next); } .lt-z-qualify { --zone: var(--z-qualify); }
.lt-z-third { --zone: var(--z-third); } .lt-z-playoff { --zone: var(--z-playoff); } .lt-z-promo { --zone: var(--z-promo); }
.lt-z-promopo { --zone: var(--z-promopo); } .lt-z-relpo { --zone: var(--z-relpo); } .lt-z-rel { --zone: var(--z-rel); }
.lt-z-other { --zone: var(--z-other); }

.lt-block { min-width: 0; }
/* Keeps the hidden screen-reader text inside the scroll box so it can't widen the page. */
.lt-block .league-scroll { position: relative; }
.lt-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin: 0 0 12px; }
.lt-tools { flex-wrap: nowrap; align-items: flex-start; }
.lt-tools .lt-legend { flex: 1 1 auto; min-width: 0; padding-top: 4px; }
.lt-expand { position: relative; flex: none; margin-left: auto; border: 1px solid var(--line-strong); color: var(--ink); }
.lt-expand svg { transition: transform .2s ease; }
.lt-expand[aria-expanded="true"] svg { transform: rotate(180deg); }
.lt-expand:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.lt-expand::after { content: attr(data-tip); position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; padding: 5px 9px; border-radius: 8px; background: var(--ink); color: var(--bg); font-size: 12.5px; font-weight: 550; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .12s; }
.lt-expand:hover::after, .lt-expand:focus-visible::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .lt-expand svg, .lt-expand::after { transition: none; } }
.lt-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--ink-2); }
.lt-legend li { display: inline-flex; align-items: center; gap: 7px; }
.lt-swatch { width: 12px; height: 12px; border-radius: 3px; background: var(--zone); flex: none; }
.lt-note { margin: -4px 0 12px; }
.lt-block .sched-day { margin-top: 22px; }

.lt-block[data-lt-view="short"] .lt-x { display: none; }
.lt-block[data-lt-view="full"] .league-table { width: max-content; min-width: 100%; }
.lt-block .lt-form .form-chips { flex-wrap: nowrap; margin: 0; }
.league-table tr.lt-zone .lt-pos { box-shadow: inset 4px 0 0 var(--zone); color: var(--ink); font-weight: 650; }
.league-table tr.lt-break > * { border-top: 2px solid var(--line-strong); }
.league-table abbr { text-decoration: none; cursor: help; }
.league-table .lt-team .team-link span { overflow: hidden; text-overflow: ellipsis; }
.lt-block[data-lt-view="full"] .league-table .lt-team { position: sticky; left: 0; z-index: 1; background: var(--surface); }
.lt-block[data-lt-view="full"] .league-table tbody tr:hover .lt-team { background: var(--stripe); }
@media (max-width: 620px) {
  .league-table { font-size: 13.5px; }
  .league-table th, .league-table td { padding: 8px 4px; }
  .league-table .lt-pos { width: 26px; padding-left: 8px; }
  .league-table .lt-team .team-link { gap: 6px; }
  .lt-block[data-lt-view="short"] .league-table .lt-team .team-link span { display: inline-block; max-width: 34vw; vertical-align: middle; }
}
.intl-stage { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; }
.intl-stage label { color: var(--ink-2); font-size: 14px; }
.intl-stage select { min-height: 44px; max-width: 100%; }

/* ---------- Knockout brackets ---------- */
.kn { --kn-col: 168px; --kn-gap: 30px; --kn-item: 80px; --kn-wire: var(--line-strong); margin: 0 0 28px; }
.kn-hint { margin: 0 0 10px; max-width: 70ch; }
.kn-scroll { position: relative; border-top: 0; border-radius: 16px; border: 1px solid var(--line); background:
  radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 60%), var(--surface); }
.kn-tree { display: flex; align-items: stretch; width: max-content; min-width: 100%; padding: 16px 18px 20px; box-sizing: border-box; }
.kn-mirror { justify-content: center; }
.kn-col { display: flex; flex-direction: column; width: var(--kn-col); flex: none; margin-right: var(--kn-gap); }
.kn-col:last-child { margin-right: 0; }
.kn-head { margin: 0 0 10px; font-size: 12px; font-weight: 620; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); text-align: center; }
.kn-body, .kn-pair > ol { list-style: none; margin: 0; padding: 0; }
.kn-body { flex: 1; display: flex; flex-direction: column; justify-content: space-around; }
.kn-pair { flex: 1; display: flex; flex-direction: column; position: relative; }
.kn-pair > ol { flex: 1; display: flex; flex-direction: column; justify-content: space-around; }
/* Wires: a bracket out of each pair, a stub into the next match. */
.kn-pair::after { content: ''; position: absolute; left: 100%; top: 25%; bottom: 25%; width: calc(var(--kn-gap) / 2); border: 2px solid var(--kn-wire); border-left: 0; border-radius: 0 10px 10px 0; }
.kn-item { position: relative; box-sizing: border-box; height: var(--kn-item); margin: 6px 0; padding: 7px 9px 5px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--bg); display: flex; flex-direction: column; justify-content: center; gap: 2px; transition: opacity .15s, border-color .15s, box-shadow .15s; }
.kn-item.in-pair::before { content: ''; position: absolute; right: 100%; top: 50%; width: calc(var(--kn-gap) / 2 + 1px); border-top: 2px solid var(--kn-wire); }
.out-solo > .kn-item::after { content: ''; position: absolute; left: 100%; top: 50%; width: calc(var(--kn-gap) + 1px); border-top: 2px solid var(--kn-wire); }
.kn-col.is-right .kn-pair::after { left: auto; right: 100%; border: 2px solid var(--kn-wire); border-right: 0; border-radius: 10px 0 0 10px; }
.kn-col.is-right .kn-item.in-pair::before { right: auto; left: 100%; }
.kn-col.is-right .out-solo > .kn-item::after { left: auto; right: 100%; }
.kn-col.is-final .kn-body { position: relative; }
.kn-col.is-final .kn-item { border-color: var(--accent); }
.kn-row { display: flex; align-items: center; gap: 7px; min-width: 0; height: 26px; }
.kn-crest { width: 18px; height: 18px; object-fit: contain; flex: none; }
.kn-blank { display: inline-block; border-radius: 50%; border: 1.5px dashed var(--line-strong); box-sizing: border-box; }
.kn-team { flex: 1; min-width: 0; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 560; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; border-radius: 4px; }
.kn-team:hover { color: var(--link); }
.kn-team:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.kn-tag { flex: none; font-size: 11px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.kn-goals { flex: none; min-width: 16px; text-align: right; font-variant-numeric: tabular-nums; font-size: 14px; }
.kn-goals small { font-weight: 500; color: var(--ink-2); font-size: 11px; }
.kn-row.is-loss .kn-team, .kn-row.is-loss .kn-goals { color: var(--ink-2); font-weight: 450; }
.kn-row.is-win .kn-team { font-weight: 680; }
.kn-row.is-tbd .kn-name { color: var(--ink-2); font-size: 13px; font-style: italic; }
.kn-meta { margin: 0; font-size: 11px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kn-item.is-entry { border-style: dashed; }
/* The winner. */
.kn-champ { display: flex; align-items: center; gap: 10px; box-sizing: border-box; padding: 12px; border-radius: 14px; border: 1px solid var(--accent); color: var(--accent);
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); }
.kn-champ > span { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 7px; min-width: 0; color: var(--ink); }
.kn-champ small { grid-column: 1 / -1; color: var(--ink-2); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.kn-champ b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kn-champ.is-open { border-style: dashed; color: var(--ink-2); background: none; }
.kn-champ.is-open b { grid-column: 1 / -1; color: var(--ink-2); font-weight: 560; }
.kn-col-champ .kn-body { justify-content: center; }
/* Mirrored: the winner sits on top of the final; the other columns leave the same room so the wires line up. */
.kn-mirror { --kn-champ-h: 74px; }
.kn-mirror .kn-col:not(.is-final) { padding-top: var(--kn-champ-h); }
.kn-col.is-final .kn-champ { height: calc(var(--kn-champ-h) - 12px); margin-bottom: 12px; }
/* A team's route. */
.kn.has-route .kn-item:not(.is-route), .kn.has-route .kn-champ:not(.is-route) { opacity: .38; }
.kn-item.is-route { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 6px 20px color-mix(in srgb, var(--accent) 22%, transparent); }
.kn-row.is-team .kn-team { color: var(--accent); }
.kn-champ.is-route { box-shadow: 0 0 0 2px var(--accent); }
.kn-paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 0 20px; }
.kn-paths .kn { --kn-col: 168px; }
/* Mirrored on wide screens when it fits; one direction otherwise. */
.kn .kn-mirror { display: none; }
@media (min-width: 1200px) {
  .kn.can-mirror .kn-mirror { display: flex; }
  .kn.can-mirror .kn-linear { display: none; }
  .kn.can-mirror { --kn-col: 148px; --kn-gap: 22px; }
  .kn-mirror { padding-left: 12px; padding-right: 12px; }
  .kn.can-mirror .kn-team { font-size: 12.5px; }
}
@media (max-width: 620px) {
  .kn { --kn-col: 156px; --kn-gap: 26px; }
}
@media (prefers-reduced-motion: reduce) { .kn-item { transition: none; } }

/* ---------- Referee page ---------- */
.ref-page .referee-card { margin-bottom: 26px; display: block; }
.ref-page .referee-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ref-scroll { position: relative; border-top: 0; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.ref-games { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.ref-games th, .ref-games td { padding: 10px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; background: transparent; }
.ref-games thead th { font-size: 12.5px; font-weight: 560; color: var(--ink-2); white-space: nowrap; }
.ref-games tbody tr:last-child > * { border-bottom: 0; }
.ref-games tbody tr:hover { background: var(--stripe); }
.ref-games abbr { text-decoration: none; }
.ref-date { white-space: nowrap; color: var(--ink-2); width: 1%; }
.ref-match { font-weight: 500; }
.ref-games .ref-match, .ref-games tfoot th { white-space: normal; }
.ref-teams { display: flex; align-items: center; gap: 7px; min-width: 0; }
.ref-teams > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ref-teams b { flex: none; padding: 1px 7px; border-radius: 6px; background: var(--stripe); font-size: 13px; }
.ref-match small { display: block; margin-top: 2px; color: var(--ink-2); font-size: 12px; font-weight: 400; }
.ref-num { text-align: center !important; width: 1%; white-space: nowrap; font-weight: 600; }
.ref-games td.has-red { color: var(--down); }
.ref-games tfoot th, .ref-games tfoot td { border-top: 2px solid var(--line-strong); border-bottom: 0; font-weight: 650; }
@media (max-width: 620px) {
  .ref-games { font-size: 13px; }
  .ref-games th, .ref-games td { padding: 9px 6px; }
  .ref-date { padding-left: 10px !important; }
  .ref-teams { flex-wrap: wrap; gap: 2px 5px; }
  .ref-teams .crest { display: none; }
  .ref-teams > span { white-space: normal; overflow-wrap: anywhere; }
  .ref-teams b { font-size: 12px; padding: 0 5px; }
  .ref-games thead .ref-num { font-size: 11.5px; }
  .ref-page .referee-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Bet Checker ---------- */
.bc-page .data-flag { margin-bottom: 18px; }
.bc-form { display: grid; gap: 14px; }
.bc-step { padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.bc-step-title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 17px; letter-spacing: -.01em; }
.bc-step-title span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--stripe); border: 1px solid var(--line-strong); font-size: 13px; }
.bc-slip { width: 100%; box-sizing: border-box; min-height: 104px; padding: 12px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); font: inherit; font-size: 15px; resize: vertical; }
.bc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 10px; }
.bc-error { margin: 8px 0 0; color: var(--down); font-size: 14px; }
.bc-error:empty { display: none; }
.bc-empty { margin: 0 0 12px; }
.bc-legs { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.bc-leg { display: grid; grid-template-columns: minmax(0, 1fr) 150px 44px; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--bg); }
.bc-leg.is-other { border-style: dashed; }
.bc-leg-text { min-width: 0; display: grid; gap: 2px; }
.bc-leg-text b { font-weight: 620; overflow-wrap: anywhere; }
.bc-leg-text small { color: var(--ink-2); font-size: 12.5px; }
.bc-odds, .bc-total, .bc-add label { display: grid; gap: 4px; font-size: 12.5px; color: var(--ink-2); }
.bc-odds small { font-size: 11.5px; }
.bc-page input[type="text"], .bc-page select { min-height: 44px; box-sizing: border-box; width: 100%; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; }
.bc-page input:focus-visible, .bc-page select:focus-visible, .bc-slip:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.bc-add { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) auto; align-items: end; gap: 10px; }
.bc-other { margin-top: 12px; }
.bc-other summary { cursor: pointer; color: var(--link); font-size: 14px; min-height: 32px; display: inline-flex; align-items: center; }
.bc-other .bc-add { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; margin-top: 8px; }
.bc-total { width: 200px; }
.bc-check { align-self: end; }
.bc-remove { color: var(--ink-2); }
/* Result */
.bc-result { margin-top: 22px; padding: 22px; border-radius: 18px; border: 1px solid var(--line-strong); background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 60%), var(--surface); scroll-margin-top: 90px; }
.bc-score-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.bc-score { position: relative; width: 120px; height: 120px; flex: none; --tone: var(--accent); }
.bc-score.tone-mid { --tone: #60a5fa; } .bc-score.tone-low { --tone: #f59e0b; } .bc-score.tone-poor { --tone: #f87171; }
.bc-score svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.bc-score circle { fill: none; stroke-width: 10; }
.bc-ring-bg { stroke: var(--line); }
.bc-ring { stroke: var(--tone); stroke-linecap: round; }
.bc-score b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 40px; font-weight: 720; letter-spacing: -.03em; }
.bc-score b small { position: absolute; bottom: 30px; font-size: 13px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.bc-score b { padding-bottom: 8px; }
.bc-score-text { flex: 1 1 280px; min-width: 0; }
.bc-score-text h2 { margin: 0 0 4px; font-size: 21px; letter-spacing: -.015em; }
.bc-conf { margin: 0 0 12px; color: var(--ink-2); font-size: 14px; }
.bc-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.bc-facts div { padding: 10px 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); min-width: 0; }
.bc-facts dt { font-size: 12px; color: var(--ink-2); }
.bc-facts dd { margin: 3px 0 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.bc-facts dd small { display: block; font-weight: 400; font-size: 11.5px; color: var(--ink-2); }
.bc-explain { margin: 18px 0 6px; padding: 14px 16px; border-radius: 12px; border-left: 3px solid var(--accent); background: var(--bg); }
.bc-headline { margin: 0 0 8px; font-weight: 640; }
.bc-explain ul { margin: 0; padding-left: 18px; display: grid; gap: 5px; }
.bc-skeleton { display: grid; gap: 8px; }
.bc-skeleton i { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--stripe), var(--line), var(--stripe)); background-size: 200% 100%; animation: bc-shimmer 1.2s linear infinite; }
.bc-skeleton i:nth-child(2) { width: 85%; } .bc-skeleton i:nth-child(3) { width: 60%; }
@keyframes bc-shimmer { to { background-position: -200% 0; } }
.bc-sub { margin: 18px 0 8px; font-size: 15px; }
.bc-scroll { position: relative; border-top: 0; border-radius: 12px; border: 1px solid var(--line); }
.bc-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.bc-table th, .bc-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; background: transparent; }
.bc-table thead th { font-size: 12.5px; font-weight: 560; color: var(--ink-2); white-space: nowrap; }
.bc-table tbody th { font-weight: 600; white-space: normal; }
.bc-table th small, .bc-table td small { display: block; font-size: 11.5px; font-weight: 400; color: var(--ink-2); }
.bc-table tbody tr:last-child > * { border-bottom: 0; }
.bc-table tr.is-weak > * { background: color-mix(in srgb, #f59e0b 10%, transparent); }
.bc-weak-tag { display: inline-block; margin-top: 4px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 650; color: #b45309; background: color-mix(in srgb, #f59e0b 18%, transparent); }
:root[data-theme="dark"] .bc-weak-tag { color: #fcd34d; }
.bc-caveats { margin: 12px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.bc-safer { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-2); }
@media (max-width: 720px) {
  .bc-add, .bc-other .bc-add { grid-template-columns: minmax(0, 1fr); }
  .bc-leg { grid-template-columns: minmax(0, 1fr) 44px; }
  .bc-leg .bc-odds { grid-column: 1; grid-row: 2; }
  .bc-leg .bc-remove { grid-column: 2; grid-row: 1; }
  .bc-facts { grid-template-columns: minmax(0, 1fr); }
  .bc-table .bc-implied { display: none; }
  .bc-table th, .bc-table td { padding: 9px 8px; }
  .bc-total { width: 100%; }
  .bc-check { width: 100%; }
  .bc-step { padding: 14px; }
  .bc-result { padding: 16px; }
  .bc-score { width: 96px; height: 96px; }
  .bc-score b { font-size: 32px; }
  .bc-score b small { bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) { .bc-skeleton i { animation: none; } }

/* ---------- Season calendar ---------- */
:root { --cal-1: #7c3aed; --cal-2: #ea580c; --cal-3: #2563eb; --cal-4: #dc2626; --cal-5: #0d9488; --cal-6: #1e40af; --cal-7: #d97706; --cal-8: #db2777; }
:root[data-theme="dark"] { --cal-1: #a78bfa; --cal-2: #fb923c; --cal-3: #60a5fa; --cal-4: #f87171; --cal-5: #2dd4bf; --cal-6: #93c5fd; --cal-7: #fbbf24; --cal-8: #f472b6; }
.tone-1 { --cal: var(--cal-1); } .tone-2 { --cal: var(--cal-2); } .tone-3 { --cal: var(--cal-3); } .tone-4 { --cal: var(--cal-4); }
.tone-5 { --cal: var(--cal-5); } .tone-6 { --cal: var(--cal-6); } .tone-7 { --cal: var(--cal-7); } .tone-8 { --cal: var(--cal-8); }
.cal-dot, .cal-dots i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--cal, var(--ink-2)); flex: none; }
.cal-filter { margin: 14px 0 16px; }
.cal-filter a { display: inline-flex; align-items: center; gap: 7px; }
.cal-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.cal-box { padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); position: sticky; top: 84px; }
.cal-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.cal-month { flex: 1; text-align: center; }
.cal-picked { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.cal-toggle { flex-basis: 100%; justify-content: center; gap: 8px; min-height: 40px; font-size: 14px; }
.cal-toggle svg { transition: transform .2s ease; }
.cal-toggle[aria-expanded="false"] svg { transform: rotate(180deg); }
.cal-toggle:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.cal-layout.is-closed { grid-template-columns: minmax(0, 1fr); }
.cal-layout.is-closed .cal-box { position: static; }
.cal-layout.is-closed .cal-head { margin-bottom: 0; }
@media (min-width: 1000px) { .cal-layout.is-closed .cal-head { flex-wrap: nowrap; } .cal-layout.is-closed .cal-toggle { flex-basis: auto; } .cal-layout.is-closed .cal-month { text-align: left; } }
@media (prefers-reduced-motion: reduce) { .cal-toggle svg { transition: none; } }
.cal-month { margin: 0; font-size: 19px; letter-spacing: -.015em; }
.cal-step { color: var(--ink); border: 1px solid var(--line-strong); }
.cal-step.is-off { opacity: .3; }
.cal-step:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.cal-grid { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; }
.cal-grid th { padding: 4px 0; font-size: 12px; font-weight: 560; color: var(--ink-2); text-align: center; }
.cal-grid abbr { text-decoration: none; }
.cal-grid td { padding: 0; }
.cal-day { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; box-sizing: border-box; height: 66px; padding: 6px 7px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
a.cal-day:hover { border-color: var(--line-strong); background: var(--stripe); }
a.cal-day:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.cal-day.is-empty { background: transparent; border-color: transparent; color: var(--ink-2); }
.cal-day.is-past:not(.is-picked) { opacity: .62; }
.cal-day.is-today .cal-num { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 4px; border-radius: 999px; background: var(--accent); color: var(--accent-ink, #FFFFFF); font-weight: 700; box-sizing: border-box; }
.cal-day.is-picked { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--bg)); }
.cal-num { font-size: 13px; font-weight: 600; line-height: 22px; }
.cal-dots { display: flex; flex-wrap: wrap; gap: 3px; }
.cal-dots i { width: 7px; height: 7px; }
.cal-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; font-size: 14px; }
.cal-panel { min-width: 0; scroll-margin-top: 80px; }
.cal-panel:focus { outline: none; }
.cal-panel .section-title { margin-top: 0; }
.cal-group .comp-heading { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cal-round { flex-basis: 100%; color: var(--ink-2); font-size: 12.5px; font-weight: 400; }
@media (max-width: 999px) {
  .cal-layout { grid-template-columns: minmax(0, 1fr); }
  .cal-box { position: static; }
}
@media (max-width: 620px) {
  .cal-box { padding: 10px 6px; border-radius: 14px; }
  .cal-grid { border-spacing: 2px; }
  .cal-day { height: 52px; padding: 4px 5px; border-radius: 8px; }
  .cal-num { font-size: 12px; line-height: 20px; }
  .cal-day.is-today .cal-num { min-width: 20px; height: 20px; }

  .cal-dots i { width: 5px; height: 5px; }
  .cal-dots { gap: 2px; }
  .cal-foot { padding: 0 6px; }
  .cal-filter { flex-wrap: nowrap; overflow-x: auto; }
}

/* ---------- Split screen ---------- */
/* Inside a pane: no header, footer, back bar or chat; the split page has them. */
html.is-pane .site-header, html.is-pane .back-bar, html.is-pane .site-footer, html.is-pane .skip-link,
html.is-pane .chat-launch, html.is-pane .chat-panel, html.is-pane .split-button { display: none !important; }
html.is-pane { --header-height: 0px; }

.split-page { padding: 14px 16px 18px; }
.split-head { padding: 0; margin: 0 auto 10px; display: flex; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; max-width: none; }
.split-title { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.split-head p { margin: 0; }
.split-tools { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-bottom: 10px; }
.split-add { gap: 8px; min-height: 40px; font-size: 14px; }
.split-add[disabled] { opacity: .55; cursor: default; }
.split-tabs { display: none; }
.split-grid { --split-h: max(520px, calc(100dvh - 210px)); display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: var(--split-h); }
.split-grid[data-panes="1"] { grid-template-columns: minmax(0, 1fr); }
.split-grid[data-panes="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split-grid[data-panes="4"] { grid-auto-rows: calc(var(--split-h) / 2 + 160px); }
.split-pane { display: flex; flex-direction: column; min-width: 0; min-height: 0; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--bg); overflow: hidden; }
.split-pane:focus-within { border-color: var(--accent); }
.split-bar { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-bottom: 1px solid var(--line); background: var(--surface); }
.split-num { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--stripe); border: 1px solid var(--line-strong); font-size: 12px; font-weight: 700; }
.split-select { flex: 1; min-width: 0; min-height: 36px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); font: inherit; font-size: 14px; }
.split-icon { width: 36px; height: 36px; flex: none; color: var(--ink-2); }
.split-icon:hover { color: var(--ink); }
.split-icon[disabled] { opacity: .35; cursor: default; }
.split-select:focus-visible, .split-icon:focus-visible, .split-tab:focus-visible, .split-add:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.split-frame { flex: 1; width: 100%; min-height: 0; border: 0; background: var(--bg); }
@media (max-width: 1199px) {
  .split-grid[data-panes="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-grid[data-panes="3"] .split-pane:last-child { grid-column: 1 / -1; }
}
/* Narrow screens: one pane at a time, tabs to switch. */
@media (max-width: 899px) {
  .split-page { padding: 10px 12px 14px; }
  .split-tools { flex-wrap: wrap; justify-content: stretch; }
  .split-tabs { display: flex; gap: 6px; flex: 1 1 100%; overflow-x: auto; }
  .split-tab { flex: none; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2); font: inherit; font-size: 13.5px; font-weight: 560; white-space: nowrap; }
  .split-tab[aria-selected="true"] { color: var(--ink); border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
  .split-add { width: 100%; justify-content: center; }
  .split-grid, .split-grid[data-panes] { grid-template-columns: minmax(0, 1fr); grid-auto-rows: max(480px, calc(100dvh - 250px)); }
  .split-grid[data-panes="3"] .split-pane:last-child { grid-column: auto; }
  .split-pane:not(.is-active) { display: none; }
  .split-head p { display: none; }
}
@media (max-width: 620px) { .split-button { display: none; } }

/* ---------- Menu, regrouped and lighter: plain line icons, no tiles or chip borders, two columns when there's room ---------- */
.header-menu, .header-menu.open { width: min(600px, calc(100% - 32px)); padding: 14px 14px 10px; gap: 0; border-radius: 20px; }
.nav-account { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; column-gap: 12px; row-gap: 0; margin: 0 0 10px; padding: 6px 8px 12px; border-radius: 0; background: none; border-bottom: 1px solid var(--line); }
.nav-account::before { grid-row: 1 / span 2; }
.nav-account::before { content: ''; flex: none; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, var(--ink-2) 0 5.5px, transparent 6px), radial-gradient(circle at 50% 108%, var(--ink-2) 0 12px, transparent 12.5px), var(--stripe); }
.nav-account:hover { outline: 0; }
.nav-account:hover b { color: var(--link); }
.nav-account:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 10px; }
.nav-account b { display: block; font-size: 14.5px; }
.nav-account small { display: block; }
.header-menu nav.nav-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; }
.nav-col { display: grid; align-content: start; gap: 14px; min-width: 0; }
.nav-group, .nav-group + .nav-group { gap: 0; padding-top: 0; border-top: 0; }
.nav-group-title { margin: 0 0 4px 10px; font-size: 11px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }
.header-menu .nav-list { gap: 0; }
.header-menu .nav-list > li > a { gap: 11px; min-height: 40px; padding: 4px 10px; border-radius: 10px; }
.header-menu .nav-list > li.has-sub > a { padding-right: 40px; }
.nav-icon, .header-menu .nav-list > li > a[aria-current="page"] .nav-icon { width: 18px; height: 18px; padding: 0; border-radius: 0; background: none; color: var(--ink-2); }
.nav-text b { font-size: 14.5px; font-weight: 560; }
.header-menu .nav-list > li > a:hover { background: var(--stripe); }
.header-menu .nav-list > li > a:hover .nav-icon { color: var(--ink); }
.header-menu .nav-list > li > a[aria-current="page"] { background: color-mix(in srgb, var(--accent) 11%, transparent); box-shadow: inset 3px 0 0 var(--accent); }
.header-menu .nav-list > li > a[aria-current="page"] .nav-icon { color: var(--accent); }
.header-menu .nav-list > li > a:focus-visible, .nav-sub a:focus-visible, .nav-toggle:focus-visible, .nav-plans-link:focus-visible { outline: 3px solid var(--focus); outline-offset: -1px; }
.nav-toggle { top: 2px; right: 2px; width: 36px; height: 36px; border-radius: 9px; }
.nav-toggle span { width: 7px; height: 7px; }
/* Quick links: plain text under the page name, no boxes. */
.nav-sub { gap: 0 2px; margin: 0 0 6px; padding: 0 6px 0 33px; }
.header-menu .nav-list .nav-sub a, .header-menu .nav-list .nav-sub a:hover { display: inline-flex; min-height: 32px; padding: 0 8px; border: 0; border-radius: 8px; background: none; color: var(--ink-2); font-size: 13.5px; font-weight: 500; }
.header-menu .nav-list .nav-sub a:hover { color: var(--ink); background: var(--stripe); }
.header-menu .nav-list .nav-sub a[aria-current] { background: none; color: var(--link); font-weight: 650; }
/* Footer row: plans on the left, light or dark on the right. */
.nav-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 10px 2px 0; border-top: 1px solid var(--line); }
.nav-plans-link { display: flex; align-items: center; gap: 11px; min-height: 40px; padding: 4px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.nav-plans-link:hover { background: var(--stripe); }
.nav-plans-link .nav-text small { font-size: 12.5px; }
.nav-plans-link[aria-current="page"] .nav-icon { color: var(--accent); }
.nav-foot .header-tools, .header-menu .nav-foot .header-tools { display: flex; align-items: center; gap: 4px; padding: 0; border: 0; }
.nav-foot .nav-theme-label { font-size: 13px; }
@media (max-width: 700px) {
  .header-menu nav.nav-columns { grid-template-columns: minmax(0, 1fr); }
  .nav-col + .nav-col { margin-top: 14px; }
}
@media (max-width: 480px) {
  .header-menu, .header-menu.open { padding: 12px 10px 8px; }
  .nav-sub { padding-left: 33px; }
}

/* ---------- Tactiqo+ badge: a plain "+" in a small round chip; screen readers hear "Tactiqo+" ---------- */
.nav-pro { position: relative; display: inline-grid; place-items: center; flex: none; width: 18px; height: 18px; margin-left: 2px; padding: 0; gap: 0; border-radius: 50%; background: var(--pro); color: var(--pro-ink); font-family: var(--font); font-size: 14px; font-style: normal; font-weight: 800; line-height: 1; letter-spacing: 0; vertical-align: middle; }
.nav-pro::before { content: none; display: none; }
.nav-pro > span[aria-hidden] { transform: translateY(-.5px); }
.comp-hero h1 .nav-pro { width: 28px; height: 28px; padding: 0; font-size: 20px; }
.wrap.view-tabs .nav-pro { width: 16px; height: 16px; padding: 0; font-size: 12.5px; }

/* Tactiqo+ badge, refined: a rounded tile in a richer version of the Tactiqo+ colours, with a crisp drawn plus and a soft glow. */
.nav-pro { width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(135deg, #fbbf24 0%, #f472b6 52%, #8b5cf6 100%); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .35), 0 2px 10px -2px rgba(244, 114, 182, .55); }
.nav-pro > span[aria-hidden] { font-size: 0; }
.nav-pro::before, .nav-pro::after { content: ''; display: block; position: absolute; -webkit-mask: none; mask: none; left: 50%; top: 50%; width: 9px; height: 2.4px; border-radius: 2px; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 1px 1px rgba(76, 29, 149, .25); }
.nav-pro::after { width: 2.4px; height: 9px; }
.comp-hero h1 .nav-pro { width: 28px; height: 28px; border-radius: 9px; }
.comp-hero h1 .nav-pro::before { width: 14px; height: 3.4px; }
.comp-hero h1 .nav-pro::after { width: 3.4px; height: 14px; }
.wrap.view-tabs .nav-pro { width: 16px; height: 16px; border-radius: 5px; }
.wrap.view-tabs .nav-pro::before { width: 8px; height: 2.2px; }
.wrap.view-tabs .nav-pro::after { width: 2.2px; height: 8px; }
:root[data-theme="light"] .nav-pro { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), inset 0 1px 0 rgba(255, 255, 255, .4), 0 2px 8px -2px rgba(219, 39, 119, .45); }
@media (forced-colors: active) { .nav-pro { background: CanvasText; } .nav-pro::before, .nav-pro::after { background: Canvas; } }

/* ==========================================================================
   Brand: Electric Blue (9 Nov 2026). Ink navy backgrounds, electric blue to indigo as the main colour,
   cyan highlights, and gold for Tactiqo+. Wins stay green and losses red.
   ========================================================================== */
:root, :root[data-theme="light"] {
  --bg: #F6F8FC; --surface: #FFFFFF; --stripe: #EEF2F9;
  --ink: #0B1226; --ink-2: #4A5672; --line: #E3E8F2; --line-strong: #CBD3E3;
  --link: #2563EB; --accent: #2563EB; --accent-ink: #FFFFFF; --focus: #4F46E5;
  --pitch: #0B1B4A; --pitch-alt: #0A173F; --pitch-deep: #08112F; --flag: #F5B83D; --flag-ink: #2A1503;
  --model: #2563EB; --market: #8B5CF6; --gap: #F5B83D; --tick-bg: #DCE7FF;
  --up: #15803D; --down: #E11D48; --won: #15803D; --lost: #E11D48;
  --brand-1: #3D7BFF; --brand-2: #6C5CFF; --brand-cyan: #22D3EE;
  --ai: linear-gradient(100deg, #3D7BFF, #6C5CFF);
  --pro: linear-gradient(100deg, #F5B83D, #FF8A3D);
  --pro-ink: #2A1503;
  --glow: rgba(61, 123, 255, .14);
  --hero-bg: #060A18; --hero-ink: #F4F7FF; --hero-soft: #AAB6D6; --hero-ink-2: #B4C0E0; --hero-accent: #8FB8FF;
  --hero: radial-gradient(120% 160% at 0% 0%, rgba(61, 123, 255, .55), transparent 55%),
          radial-gradient(90% 140% at 100% 0%, rgba(108, 92, 255, .45), transparent 60%),
          linear-gradient(120deg, #070B1A 0%, #0B1440 60%, #101A55 100%);
}
:root[data-theme="dark"] {
  --bg: #070B1A; --surface: #0F1630; --stripe: #151E3D;
  --ink: #EEF2FF; --ink-2: #9AA6C7; --line: #1F2A4D; --line-strong: #33416B;
  --link: #8FB8FF; --accent: #3D7BFF; --accent-ink: #FFFFFF; --focus: #8FB8FF;
  --up: #22C55E; --down: #F43F5E; --won: #22C55E; --lost: #F43F5E;
  --glow: rgba(61, 123, 255, .16);
  --line-b: #8FB8FF;
}
/* Page headers: ink navy lit with electric blue and indigo, plus a faint grid. */
.hero-band, .pitch-band { background: var(--hero); }
.pitch-band::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.pitch-band > * { position: relative; z-index: 1; }
:root[data-theme="light"] .pitch-band .page-head h1, :root[data-theme="light"] .pitch-band .page-head p { color: var(--hero-ink); }
:root[data-theme="light"] .pitch-band .page-head p { color: var(--hero-soft); }
:root[data-theme="light"] .pitch-band a:not(.button) { color: var(--hero-accent); }
.lp-hero { background: radial-gradient(900px 480px at 82% 12%, rgba(61, 123, 255, .26), transparent 70%), radial-gradient(760px 460px at 8% 100%, rgba(108, 92, 255, .2), transparent 70%), var(--hero-bg); }
.hero-band::before, .match-hero::before { background: radial-gradient(60% 120% at 12% 0%, rgba(61, 123, 255, .42), transparent 70%), radial-gradient(50% 120% at 90% 0%, rgba(108, 92, 255, .36), transparent 70%); }
/* Main buttons: the blue gradient with white text. */
.button-primary, .button-primary:hover { background: var(--ai); border-color: transparent; color: #fff; }
.button-primary:hover { filter: brightness(1.08); }
.intel-button, .intel-button:hover { color: #fff; box-shadow: 0 8px 28px -6px rgba(61, 123, 255, .55); }
.stat-pills a[aria-current] { color: #fff; }
/* The 18+ entry button keeps dark text on its light-blue face. */
.intro-enter-face { color: #0B1226; }
html.show-intro .intro { background: radial-gradient(ellipse 90% 70% at 50% 100%, #0E1B4D 0%, #060A18 62%); }
/* Tactiqo+ is gold: the badge, the header button and its offers. */
.nav-pro { background: linear-gradient(135deg, #FFD36E 0%, #F5B83D 45%, #FF8A3D 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), inset 0 1px 0 rgba(255, 255, 255, .45), 0 2px 10px -2px rgba(255, 138, 61, .55); }
.nav-pro::before, .nav-pro::after { background: #2A1503; box-shadow: none; }
:root[data-theme="light"] .nav-pro { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), 0 2px 8px -2px rgba(217, 119, 6, .5); }
.plan-chip-try { box-shadow: 0 0 22px rgba(245, 184, 61, .3); }
/* Logo mark and selection colour. */
::selection { background: rgba(61, 123, 255, .35); }

/* ---------- 18+ entry button: a simple pill, with a light circling its edge and a gentle pulse on the arrow ---------- */
@property --intro-spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.intro-enter, .intro-enter:hover { padding: 2px; border-radius: 999px; transform: none; perspective: none; transition: transform .15s ease-out, box-shadow .2s ease-out;
  background: conic-gradient(from var(--intro-spin), #3D7BFF, #6C5CFF 30%, rgba(108, 92, 255, .15) 50%, #22D3EE 75%, #3D7BFF);
  box-shadow: 0 14px 40px -12px rgba(61, 123, 255, .6); animation: intro-spin 4s linear infinite; }
.intro-enter:hover { box-shadow: 0 18px 48px -10px rgba(61, 123, 255, .8); }
.intro-enter:active { padding: 2px; margin-top: 0; transform: scale(.98); }
@keyframes intro-spin { to { --intro-spin: 360deg; } }
.intro-enter-face { grid-template-columns: auto 44px; column-gap: 22px; min-height: 60px; padding: 8px 8px 8px 26px; border-radius: 999px; background: #0B1330; color: #fff; box-shadow: none; overflow: visible; }
.intro-enter-face span { font-size: 12.5px; font-weight: 600; color: #9AA6C7; opacity: 1; }
.intro-enter-face b { font-size: 19px; font-weight: 700; color: #fff; }
.intro-enter-face svg { width: 44px; height: 44px; padding: 11px; box-sizing: border-box; border-radius: 50%; background: linear-gradient(135deg, #3D7BFF, #6C5CFF); color: #fff; animation: intro-ping 2.4s ease-out infinite; }
.intro-enter:hover .intro-enter-face svg { transform: translateX(3px); }
.intro-enter-face::after { content: none; display: none; }
@keyframes intro-ping { 0% { box-shadow: 0 0 0 0 rgba(108, 140, 255, .55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(108, 140, 255, 0); } }
@media (max-width: 620px) {
  .intro-enter-face { min-height: 58px; padding-left: 22px; column-gap: 18px; }
  .intro-enter-face b { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-enter, .intro-enter-face svg { animation: none; }
}

/* ---------- Logo: a stats tile with a ball, and a plain text wordmark (easy to change if the name does) ---------- */
.logo { gap: 10px; text-decoration: none; }
.logo-svg { flex: none; border-radius: 9px; box-shadow: 0 4px 14px -4px rgba(61, 123, 255, .6); }
.logo-word { display: inline-block; font-family: 'Archivo', var(--font); font-stretch: 112%; font-size: 18px; font-weight: 700; font-style: normal; letter-spacing: .015em; line-height: 1; color: var(--ink); }
.logo:hover .logo-word { color: var(--ink); }
.intro-logo .logo-svg { border-radius: 13px; box-shadow: 0 8px 24px -6px rgba(61, 123, 255, .7); }
.intro-logo .logo-word { font-size: 24px; color: #F4F7FF; }
@media (max-width: 620px) { .logo .logo-word { font-size: 16px; } }

/* ---------- Plans: Free, Tactiqo+ and Tactiqo Pro ---------- */
.price-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.price-card { position: relative; }
.plan-tag { margin: 2px 0 6px; color: var(--ink-2); font-size: 14px; font-weight: 560; }
.price-card.is-top-tier { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, #3D7BFF, #6C5CFF 55%, #F5B83D) border-box; border: 2px solid transparent; box-shadow: 0 18px 50px -22px rgba(61, 123, 255, .55); }
.plan-badge { position: absolute; top: -12px; right: 18px; margin: 0; padding: 3px 11px; border-radius: 999px; background: linear-gradient(100deg, #F5B83D, #FF8A3D); color: #2A1503; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
@media (max-width: 1040px) { .price-grid-3 { grid-template-columns: minmax(0, 1fr); } }
/* The Pro badge: same size as the "+" tile, in the electric blue, reading "Pro". */
.nav-pro.nav-pro-tier { width: auto; min-width: 30px; height: 18px; padding: 0 6px; border-radius: 6px; background: linear-gradient(135deg, #3D7BFF, #6C5CFF); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 2px 10px -2px rgba(61, 123, 255, .6); }
.nav-pro.nav-pro-tier::before, .nav-pro.nav-pro-tier::after { content: none; display: none; }
.nav-pro.nav-pro-tier > span[aria-hidden] { font-size: inherit; transform: none; }

/* ---------- About us and FAQs ---------- */
.nav-foot { flex-wrap: wrap; }
.nav-foot .header-tools { margin-left: auto; }
.about-page { max-width: 1040px; }
.about-page .data-flag { margin-bottom: 20px; }
.about-intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; margin-bottom: 40px; }
.about-eyebrow { margin: 0 0 8px; color: var(--link); font-size: 12.5px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.about-lead { margin: 0 0 14px; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; letter-spacing: -.025em; }
.about-intro p { color: var(--ink-2); font-size: 16px; line-height: 1.65; max-width: 60ch; }
.about-counts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.about-counts div { padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.about-counts dd { margin: 0; font-size: 28px; font-weight: 720; letter-spacing: -.03em; font-variant-numeric: tabular-nums; background: var(--ai); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-counts dt { margin-top: 2px; color: var(--ink-2); font-size: 13px; }
.about-values { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 14px 0 44px; padding: 0; }
.about-value { padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.about-value svg { padding: 9px; box-sizing: content-box; border-radius: 12px; color: #fff; background: var(--ai); }
.about-value h3 { margin: 14px 0 6px; font-size: 17px; letter-spacing: -.01em; }
.about-value p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.faq { display: grid; gap: 26px; margin: 16px 0 44px; scroll-margin-top: 90px; }
.faq-group-title { margin: 0 0 8px; color: var(--ink-2); font-size: 12px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-group .faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 4px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 600; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--link); }
.faq-item summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
.faq-chevron { flex: none; width: 9px; height: 9px; margin-right: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s ease; color: var(--ink-2); }
.faq-item[open] .faq-chevron { transform: rotate(-135deg) translateY(-2px); }
.faq-answer { padding: 0 4px 16px; color: var(--ink-2); font-size: 15px; line-height: 1.65; max-width: 72ch; }
.faq-answer p { margin: 0 0 8px; }
.faq-answer b { color: var(--ink); }
.about-contact { display: flex; align-items: flex-start; gap: 16px; padding: 22px; border-radius: 20px; border: 1px solid var(--line-strong); background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%), var(--surface); }
.about-contact-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; color: #fff; background: var(--ai); }
.about-contact h2 { margin: 0 0 4px; font-size: 18px; }
.about-contact p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) {
  .about-intro { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .about-values { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .faq-chevron { transition: none; } }
.about-intro p { margin: 0 0 12px; }
.about-page > .data-flag:first-child { margin-top: 4px; }

/* ---------- International picks (js/international.js) ---------- */
.ipick-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.ipick-row { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.ipick-match { display: grid; gap: 2px; min-width: 0; color: var(--ink); text-decoration: none; font-weight: 700; }
.ipick-match span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ipick-match:hover span, .ipick-match:focus-visible span { color: var(--link); text-decoration: underline; }
.ipick-match small { color: var(--ink-2); font-weight: 400; font-size: 13px; }
.ipick-cell { display: grid; gap: 1px; min-width: 0; }
.ipick-cell small { color: var(--ink-2); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.ipick-cell b { font-size: 14px; overflow-wrap: anywhere; }
.ipick-cell em { white-space: nowrap; font-style: normal; font-variant-numeric: tabular-nums; color: var(--link); font-weight: 700; font-size: 14px; }
.ipick-players { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.ipick-players li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.ipick-player { display: grid; gap: 1px; min-width: 0; }
.ipick-player small { color: var(--ink-2); font-size: 13px; }
.ipick-players em { white-space: nowrap; font-style: normal; font-variant-numeric: tabular-nums; font-weight: 700; }
@media (max-width: 640px) {
  .ipick-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .ipick-match { grid-column: 1 / -1; }
}
.ipick-players + .table-note, .results-compare + .table-note { margin-bottom: 18px; }
/* International Matchday Stats: names aren't links (no player pages for internationals). */
.stat-rows .sheet-name { min-width: 0; color: var(--ink); font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13.5px; line-height: 25px; }
@media (max-width: 720px) { .stat-rows .sheet-name { font-size: 12.5px; } }
.intl-tabs { margin-bottom: 4px; }

/* ---------- Form strips: result, score under it, latest ringed (TLLeagueTable.formStrip) ---------- */
.form-wrap { display: inline-flex; align-items: flex-start; gap: 6px; }
.form-strip { list-style: none; margin: 0; padding: 0; display: inline-flex; align-items: flex-start; gap: 4px; }
.form-game { display: grid; justify-items: center; gap: 2px; cursor: default; }
.form-game small { font-size: 10.5px; line-height: 1.1; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.form-game.is-latest .result-chip { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--ink); }
.form-game.is-latest small { color: var(--ink); font-weight: 750; }
.form-game { position: relative; }
.form-strip:has(.form-latest) { padding-bottom: 13px; }
.form-latest { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 1px; font-style: normal; font-size: 9.5px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.match-hero-team:last-child .form-game.is-latest .form-latest, .intl-side .form-game.is-latest .form-latest { left: auto; right: 0; transform: none; }
.lt-form-hint { display: block; font-size: 10.5px; font-weight: 500; color: var(--ink-2); text-transform: none; letter-spacing: 0; }
.lt-form .form-strip { gap: 3px; }
.lt-form .form-game small { font-size: 10px; }
/* Hero bands are dark in both themes. */
.match-hero .form-game small, .match-hero .form-latest, .team-hero .form-game small, .team-hero .form-latest { color: var(--hero-ink-2); }
.match-hero .form-game.is-latest small, .team-hero .form-game.is-latest small { color: var(--hero-ink); }
.match-hero .form-game.is-latest .result-chip, .team-hero .form-game.is-latest .result-chip { box-shadow: 0 0 0 2px var(--hero-bg), 0 0 0 3.5px var(--hero-ink); }
.match-hero-team:last-child .form-wrap { flex-direction: row; justify-content: flex-end; }
.intl-side .form-wrap { margin-top: 8px; flex-wrap: nowrap; }
@media (max-width: 480px) {
  .match-hero .form-strip { gap: 2px; }
  .match-hero .form-game .result-chip { width: 18px; height: 18px; font-size: 10px; border-radius: 5px; }
  .match-hero .form-game small { font-size: 9.5px; letter-spacing: -.02em; }
  .match-hero .form-latest { font-size: 8.5px; }
}
.intl-fixtures .sched-list { margin-top: 6px; }
/* Calendar button in place of the old "Next 7 days" tile (Fixtures). */
.date-tile-cal { text-decoration: none; color: var(--ink); }
.date-tile-cal > span { height: 100%; justify-content: center; gap: 3px; background: linear-gradient(135deg, color-mix(in srgb, var(--brand-1) 16%, var(--surface)), var(--surface)); border-color: color-mix(in srgb, var(--brand-1) 45%, var(--line)); }
.date-tile-cal svg { color: var(--link); }
.date-tile-cal small { color: var(--ink); font-weight: 650; }
.date-tile-cal:hover > span { border-color: var(--accent); }
.date-tile-cal:focus-visible { outline: none; }
.date-tile-cal:focus-visible > span { outline: 3px solid var(--focus); outline-offset: 2px; }
.date-tile-cal.is-open > span { background: var(--hero); border-color: transparent; }
.date-tile-cal.is-open svg, .date-tile-cal.is-open small { color: #fff; }
.cal-embed { margin-top: 4px; }
.cal-intro { margin: 0 0 10px; }

/* ---------- Competition tick boxes (season calendar) ---------- */
.cal-comps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 16px; padding: 0; border: 0; min-width: 0; }
.cal-comps legend { float: left; margin-right: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.cal-comp { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 12px 0 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-size: 13.5px; font-weight: 560; cursor: pointer; user-select: none; }
.cal-comp input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.cal-comp:has(input:checked) { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
.cal-comp:has(input:not(:checked)) { color: var(--ink-2); }
.cal-comp:has(input:not(:checked)) .cal-dot { opacity: .35; }
.cal-comp:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.cal-all { min-height: 36px; padding: 0 8px; border: 0; background: none; color: var(--link); font: inherit; font-size: 13.5px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.cal-all:disabled { color: var(--ink-2); text-decoration: none; cursor: default; opacity: .6; }
@media (max-width: 640px) {
  .cal-comps { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: thin; }
  .cal-comps legend { float: none; flex: none; }
  .cal-comp, .cal-all { flex: none; }
}

/* ---------- Full-screen season calendar (#/calendar) ---------- */
.cal-full { box-sizing: border-box; width: 100%; max-width: 1800px; margin: 0 auto; padding: 14px clamp(16px, 2.5vw, 32px) 28px; min-height: calc(100dvh - 72px); display: flex; flex-direction: column; }
.cal-full-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.cal-full-head h1 { margin: 0; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.025em; }
.cal-full-head p { margin: 0; }
.cal-full .cal-intro { display: none; }
.cal-full .cal-embed { flex: 1; display: flex; flex-direction: column; margin: 0; }
.cal-full .cal-layout { flex: 1; grid-template-columns: minmax(0, 1.5fr) minmax(400px, 1fr); }
.cal-full .cal-box { position: static; display: flex; flex-direction: column; }
.cal-full .cal-body { flex: 1; display: flex; flex-direction: column; }
.cal-full .cal-grid { flex: 1; }
.cal-full .cal-day { height: max(84px, calc((100dvh - 400px) / 6)); padding: 7px 8px; justify-content: flex-start; gap: 5px; }
.cal-full .cal-num { font-size: 14px; }
.cal-chips { display: flex; flex-direction: column; gap: 3px; width: 100%; min-width: 0; }
.cal-chip { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 1px 6px; border-radius: 5px; font-style: normal; font-size: 11.5px; font-weight: 650; color: var(--ink); background: color-mix(in srgb, var(--cal, var(--ink-2)) 20%, transparent); box-shadow: inset 3px 0 0 var(--cal, var(--ink-2)); }
.cal-chip.cal-more { background: transparent; box-shadow: none; color: var(--ink-2); padding-left: 2px; }
.cal-dots-page { display: none; }
.cal-full .cal-panel { max-height: calc(100dvh - 140px); overflow: auto; position: sticky; top: 84px; padding-right: 4px; }
.cal-full .cal-layout.is-closed { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1100px) {
  .cal-full .cal-layout { grid-template-columns: minmax(0, 1fr); }
  .cal-full .cal-panel { max-height: none; overflow: visible; position: static; }
}
@media (max-width: 640px) {
  .cal-full { padding-top: 10px; }
  .cal-full .cal-day { height: 58px; }
  .cal-chips { display: none; }
  .cal-dots-page { display: flex; }
}
.cal-full .cal-day { overflow: hidden; }

/* ---------- Season calendar page, v2: one clean full-width grid, dots only, days open in a sheet ---------- */
.cal-full .cal-layout { display: block; }
.cal-full .cal-box { padding: 0; border: 0; background: none; box-shadow: none; }
.cal-full .cal-head { flex-wrap: nowrap; gap: 8px; margin: 4px 0 12px; }
.cal-full .cal-head .cal-month { order: -1; flex: 1; text-align: left; font-size: clamp(22px, 2.2vw, 30px); font-weight: 720; letter-spacing: -.03em; }
.cal-full .cal-step { width: 40px; height: 40px; border-radius: 12px; border-color: var(--line); background: var(--surface); }
.cal-full .cal-step:not(.is-off):hover { border-color: var(--accent); color: var(--link); }
.cal-full .cal-grid { border-spacing: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); }
.cal-full .cal-grid thead th { padding: 10px 12px; text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--ink) 3%, transparent); }
.cal-full .cal-grid td { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cal-full .cal-grid tr > td:last-child { border-right: 0; }
.cal-full .cal-grid tbody tr:last-child td { border-bottom: 0; }
.cal-full .cal-grid td:nth-child(6), .cal-full .cal-grid td:nth-child(7) { background: color-mix(in srgb, var(--ink) 2.5%, transparent); }
.cal-full .cal-pad { background: repeating-linear-gradient(135deg, transparent 0 8px, color-mix(in srgb, var(--ink) 3%, transparent) 8px 9px); }
.cal-full .cal-day { width: 100%; height: max(88px, calc((100dvh - 360px) / 6)); padding: 10px 12px; border: 0; border-radius: 0; background: transparent; justify-content: space-between; align-items: flex-start; gap: 0; box-shadow: none; transition: background-color .15s ease; }
.cal-full a.cal-day:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.cal-full a.cal-day:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.cal-full .cal-day.is-empty { color: var(--ink-2); }
.cal-full .cal-day.is-past:not(.is-picked) { opacity: .5; }
.cal-full .cal-day.is-picked { background: color-mix(in srgb, var(--accent) 14%, transparent); box-shadow: inset 0 0 0 2px var(--accent); }
.cal-full .cal-num { font-size: 15px; font-weight: 650; line-height: 26px; font-variant-numeric: tabular-nums; }
.cal-full .cal-day.is-today .cal-num { min-width: 26px; height: 26px; font-size: 14px; }
.cal-full .cal-dots { gap: 5px; }
.cal-full .cal-dots i { width: 10px; height: 10px; box-shadow: 0 0 0 2px var(--surface); }
.cal-full .cal-foot { margin-top: 10px; }
.cal-full .cal-comps { margin: 10px 0 6px; }
.cal-full .table-note { margin-top: 8px; }
/* The chosen day, over the calendar. */
.cal-sheet { width: min(640px, calc(100vw - 32px)); max-height: min(80dvh, 760px); padding: 0; border: 1px solid var(--line); border-radius: 22px; background: var(--bg); color: var(--ink); box-shadow: 0 30px 80px rgba(3, 7, 20, .45); }
.cal-sheet::backdrop { background: rgba(5, 9, 22, .55); backdrop-filter: blur(4px); }
.cal-sheet .cal-panel { position: static; max-height: none; overflow: visible; padding: 22px 22px 18px; }
.cal-sheet .cal-panel .section-title { padding-right: 48px; }
.cal-sheet-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.cal-sheet-close:hover { border-color: var(--accent); }
.cal-sheet[open] { animation: cal-sheet-in .18s ease-out; }
@keyframes cal-sheet-in { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cal-sheet[open] { animation: none; } .cal-full .cal-day { transition: none; } }
@media (max-width: 640px) {
  .cal-full .cal-grid { border-radius: 14px; }
  .cal-full .cal-grid thead th { padding: 8px 0; text-align: center; font-size: 10.5px; letter-spacing: .04em; }
  .cal-full .cal-day { height: 60px; padding: 6px 5px; align-items: center; }
  .cal-full .cal-num { font-size: 13px; line-height: 22px; }
  .cal-full .cal-day.is-today .cal-num { min-width: 22px; height: 22px; font-size: 12px; }
  .cal-full .cal-dots { justify-content: center; gap: 3px; }
  .cal-full .cal-dots i { width: 6px; height: 6px; box-shadow: none; }
  .cal-sheet { width: 100vw; max-width: none; max-height: 85dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  .cal-sheet .cal-panel { padding: 18px 16px 16px; }
}

/* Calendar tick boxes, in sections: domestic leagues, European club football, international football. */
.cal-comps { display: grid; align-items: stretch; grid-template-columns: minmax(0, 3.3fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: 10px 14px; margin: 12px 0 14px; overflow: visible; }
.cal-comps-head { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cal-comps-title { margin: 0; font-size: 13px; font-weight: 650; color: var(--ink-2); }
.cal-comp-group { min-width: 0; margin: 0; padding: 10px 12px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.cal-comp-group legend { float: left; width: 100%; margin: 0 0 8px; padding: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.cal-comp-list { clear: both; display: flex; flex-wrap: wrap; gap: 6px; }
.cal-comps .cal-comp { min-height: 34px; }
@media (max-width: 1100px) { .cal-comps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .cal-comp-group:first-of-type { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .cal-comps { grid-template-columns: minmax(0, 1fr); margin-inline: 0; padding: 0; overflow: visible; }
  .cal-comp-group:first-of-type { grid-column: auto; }
  .cal-comps { gap: 8px; }
  .cal-comp-group { padding: 8px 10px 10px; }
  .cal-comp-group legend { margin-bottom: 6px; font-size: 10.5px; }
  .cal-comp-list { flex-wrap: wrap; gap: 5px; }
  .cal-comps .cal-comp { min-height: 32px; padding: 0 10px 0 8px; font-size: 12.5px; gap: 6px; }
}

/* ---------- Competition sections: Domestic leagues, European club football, International football ---------- */
.comp-section-title { display: flex; align-items: center; gap: 10px; margin: 26px 0 12px; font-size: 12.5px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }
.comp-section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.comp-section:first-of-type > .comp-section-title { margin-top: 14px; }
.comp-section-domestic .comp-section-title::before, .comp-section-european .comp-section-title::before, .comp-section-international .comp-section-title::before { content: none; }
.section.comp-section { padding-block: 6px 10px; }
.section.comp-section + .section.comp-section { padding-top: 0; }
.comp-section .comp-heading { font-size: 19px; }
.sched-leagues .sched-league-group { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-right: 14px; }
.sched-leagues .sched-league-group small { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.pref-sub { margin: 10px 0 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.comp-section { scroll-margin-top: 80px; }

/* ---------- Home: football analytics and AI predictions ---------- */
.lp-hero-ai { position: relative; overflow: hidden; }
.lp-hero-grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(143, 184, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 184, 255, .07) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 30%, transparent 75%); }
.lp-hero-ai .lp-hero-grid, .lp-hero-ai .lp-counts { position: relative; }
.lp-hero-ai h1 { max-width: 17ch; font-size: clamp(34px, 4.4vw, 60px); }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 12px; border: 1px solid rgba(143, 184, 255, .3); border-radius: 999px; background: rgba(61, 123, 255, .12); color: var(--hero-accent); font-size: 12.5px; font-weight: 650; letter-spacing: .04em; }
.lp-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, .18); animation: lp-pulse 2.4s ease-in-out infinite; }
@keyframes lp-pulse { 50% { box-shadow: 0 0 0 7px rgba(34, 211, 238, 0); } }
.lp-grad { background: linear-gradient(90deg, #8FB8FF, var(--brand-cyan) 45%, #A99BFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: none; }
.lp-step { position: relative; padding: 20px 20px 18px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(160deg, color-mix(in srgb, var(--brand-1) 8%, var(--surface)), var(--surface) 60%); }
.lp-step small { display: block; margin-top: 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.lp-step h3 { margin: 4px 0 6px; font-size: 18px; letter-spacing: -.015em; }
.lp-step p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.lp-step-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); box-shadow: 0 8px 22px rgba(61, 123, 255, .28); }
.lp-step:not(:last-child)::after { content: ""; position: absolute; top: 40px; right: -14px; width: 14px; height: 2px; background: linear-gradient(90deg, var(--brand-1), transparent); }
@media (max-width: 820px) { .lp-steps { grid-template-columns: minmax(0, 1fr); } .lp-step:not(:last-child)::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .lp-eyebrow-dot { animation: none; } }
.lp-figure { background: linear-gradient(90deg, var(--brand-1), var(--brand-cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-figure small { -webkit-text-fill-color: var(--ink-2); color: var(--ink-2); }

/* ---------- Most likely this matchday (#/likely) ---------- */
.likely-secs { margin-top: 8px; }
.likely-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; counter-reset: none; }
.likely-row { display: grid; grid-template-columns: 28px 120px minmax(0, 1.4fr) minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.likely-row:first-child { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface) 55%); }
.likely-rank { font-weight: 750; font-variant-numeric: tabular-nums; color: var(--ink-2); text-align: center; }
.likely-who { display: grid; gap: 2px; min-width: 0; }
.likely-who b { font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.likely-who b a { color: var(--ink); text-decoration: none; }
.likely-who b a:hover { color: var(--link); text-decoration: underline; }
.likely-who small, .likely-match small { color: var(--ink-2); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.likely-match { display: grid; gap: 2px; min-width: 0; color: var(--ink); text-decoration: none; font-weight: 600; }
.likely-match:hover span { color: var(--link); text-decoration: underline; }
.likely-match small { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; }
.likely-basis { font-size: 12px; font-weight: 650; padding: 3px 9px; border-radius: 999px; color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.likely-basis.is-confirmed { color: var(--won); border-color: color-mix(in srgb, var(--won) 45%, var(--line)); }
@media (max-width: 760px) {
  .likely-row { grid-template-columns: 22px minmax(0, 1fr) auto; grid-template-areas: "rank who chance" "rank match match" "rank basis basis"; gap: 4px 10px; padding: 12px; }
  .likely-rank { grid-area: rank; align-self: start; padding-top: 4px; }
  .likely-chance { grid-area: chance; }
  .likely-who { grid-area: who; }
  .likely-match { grid-area: match; }
  .likely-basis { grid-area: basis; justify-self: start; margin-top: 4px; }
}
@media (max-width: 760px) { .likely-who small { white-space: normal; } }

/* ---------- Match Simulator (js/simulator.js) ---------- */
.sim-hero .lp-eyebrow { margin-bottom: 10px; }
.sim-meta { margin: 0 0 12px; color: var(--ink-2); font-size: 14px; }
.sim-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.sim-go { gap: 8px; }
.sim-board { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 18px; padding: 28px 22px; border-radius: 24px; overflow: hidden; color: #fff;
  background: radial-gradient(600px 260px at 50% 0%, rgba(61, 123, 255, .35), transparent 70%), linear-gradient(135deg, #070B1A, #111C44 60%, #1B1650); box-shadow: 0 24px 60px rgba(3, 7, 20, .35); }
.sim-board::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(143, 184, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 184, 255, .07) 1px, transparent 1px); background-size: 36px 36px; pointer-events: none; }
.sim-board > * { position: relative; }
.sim-side { display: grid; justify-items: center; gap: 8px; text-align: center; min-width: 0; }
.sim-side p { margin: 0; font-size: clamp(17px, 2vw, 24px); font-weight: 750; letter-spacing: -.02em; }
.sim-side small { color: #B4C0E0; font-size: 13px; line-height: 1.4; }
.sim-side .crest { background: rgba(255, 255, 255, .92); border-radius: 18px; padding: 6px; }
.sim-score { display: grid; justify-items: center; gap: 4px; }
.sim-score b { display: flex; align-items: center; gap: 10px; font-family: 'Archivo', var(--font); font-stretch: 125%; font-size: clamp(52px, 8vw, 92px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.sim-score b i { font-style: normal; color: #6C7BA8; }
.sim-score small { color: #F5B83D; font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.sim-clock { padding: 3px 10px; border-radius: 999px; background: rgba(34, 211, 238, .16); color: #22D3EE; font-size: 13px; font-weight: 750; font-variant-numeric: tabular-nums; }
.sim-board.is-goal .sim-score b { animation: sim-goal .6s ease-out; }
@keyframes sim-goal { 0% { transform: scale(1); text-shadow: none; } 35% { transform: scale(1.12); text-shadow: 0 0 36px rgba(34, 211, 238, .8); } 100% { transform: scale(1); } }
.sim-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.sim-panel { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.sim-h { margin: 0 0 12px; font-size: 13px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.sim-events { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sim-ev { display: grid; grid-template-columns: 42px 24px minmax(0, 1fr); align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: color-mix(in srgb, var(--ink) 4%, transparent); transition: opacity .25s ease, transform .25s ease; }
.sim-ev.is-away { background: color-mix(in srgb, var(--brand-2) 9%, transparent); }
.sim-ev.is-home { background: color-mix(in srgb, var(--brand-1) 9%, transparent); }
.sim-ev.is-waiting { opacity: 0; transform: translateY(6px); }
.sim-ev b { display: block; font-size: 14.5px; }
.sim-ev small { color: var(--ink-2); font-size: 12.5px; }
.sim-min { font-weight: 750; font-variant-numeric: tabular-nums; color: var(--link); }
.sim-card { display: inline-block; width: 13px; height: 18px; border-radius: 3px; background: #F5C518; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.sim-card-sm { width: 10px; height: 14px; vertical-align: -2px; }
.sim-star { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 14px; }
.sim-stats { display: grid; gap: 14px; }
.sim-stat { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: center; gap: 4px 8px; text-align: center; }
.sim-stat b { font-size: 20px; font-variant-numeric: tabular-nums; }
.sim-stat span { font-size: 13px; color: var(--ink-2); }
.sim-stat-bar { grid-column: 1 / -1; display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: var(--line); }
.sim-stat-bar i:first-child { background: var(--brand-1); }
.sim-stat-bar i:last-child { background: var(--brand-2); }
.sim-players { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sim-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sim-table th, .sim-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.sim-table th[scope="row"], .sim-table thead th:first-child { text-align: left; }
.sim-table th[scope="row"] small { margin-left: 6px; color: var(--ink-2); font-size: 11px; font-weight: 600; }
.sim-table tr.is-scorer th, .sim-table tr.is-scorer td:nth-child(2) { color: var(--link); font-weight: 750; }
.sim-summary { margin-top: 18px; }
.sim-wdl { display: flex; gap: 4px; border-radius: 14px; overflow: hidden; }
.sim-wdl span { display: grid; gap: 2px; min-width: 64px; padding: 12px; color: #fff; }
.sim-wdl b { font-size: 22px; font-variant-numeric: tabular-nums; }
.sim-wdl small { font-size: 12px; opacity: .9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sim-wdl-home { background: var(--brand-1); }
.sim-wdl-draw { background: #5b6472; }
.sim-wdl-away { background: var(--brand-2); }
.sim-sum-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 16px; }
.sim-sum-grid h3 { margin: 0 0 8px; font-size: 15px; }
.sim-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sim-list li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sim-list span { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sim-picks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.sim-pick { display: grid; gap: 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); text-decoration: none; }
.sim-pick:hover { border-color: var(--accent); }
.sim-pick-teams { display: grid; gap: 6px; }
.sim-pick-teams span { display: flex; align-items: center; gap: 8px; }
.sim-pick small { color: var(--ink-2); font-size: 12.5px; }
.sim-pick-go { display: inline-flex; align-items: center; gap: 6px; color: var(--link); font-weight: 700; font-size: 14px; }
@media (max-width: 820px) { .sim-grid, .sim-players, .sim-sum-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .sim-board { gap: 8px; padding: 20px 10px; border-radius: 18px; }
  .sim-side .crest { width: 52px; height: 52px; }
  .sim-side p { font-size: 15px; }
  .sim-actions .button { flex: 1 1 calc(50% - 8px); justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .sim-ev { transition: none; } .sim-board.is-goal .sim-score b { animation: none; } }

/* ---------- Notable calls (#/notable) ---------- */
.nc-record { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
.nc-record div { display: flex; flex-direction: column-reverse; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.nc-record dd { margin: 0; font-size: 26px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.nc-record dt { color: var(--ink-2); font-size: 13px; }
.nc-grid { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.nc-card { display: grid; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(160deg, color-mix(in srgb, var(--won) 7%, var(--surface)), var(--surface) 55%); }
.nc-card.is-top { border-color: color-mix(in srgb, var(--won) 50%, var(--line)); box-shadow: 0 10px 30px color-mix(in srgb, var(--won) 14%, transparent); }
.nc-card.is-miss { background: linear-gradient(160deg, color-mix(in srgb, var(--lost) 6%, var(--surface)), var(--surface) 55%); }
.nc-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.nc-kind { font-size: 11.5px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.nc-tag { font-size: 11.5px; font-weight: 650; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.nc-tag.is-live { color: var(--link); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.nc-what { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 17px; font-weight: 750; letter-spacing: -.01em; }
.nc-match { display: grid; margin: 0; font-size: 14px; font-weight: 600; }
.nc-match small { color: var(--ink-2); font-weight: 400; font-size: 12.5px; }
.nc-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.nc-chance { display: grid; gap: 2px; }
.nc-chance small, .nc-result small { color: var(--ink-2); font-size: 12px; }
.nc-result { display: grid; justify-items: end; text-align: right; }
.nc-result b { font-size: 14px; }
.nc-result.is-win b { color: var(--won); }
.nc-result.is-lose b { color: var(--lost); }
.hero-link { color: inherit; font-weight: 650; }
@media (max-width: 720px) { .nc-record { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nc-line { margin: 14px 0 12px; font-size: 15px; color: var(--ink-2); }
.nc-line b { color: var(--ink); }
.nc-odds { display: grid; gap: 2px; }
.nc-odds b { font-family: 'Archivo', var(--font); font-stretch: 125%; font-size: 26px; line-height: 1; font-weight: 800; background: linear-gradient(90deg, var(--brand-1), var(--brand-cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.nc-odds small { color: var(--ink-2); font-size: 12px; }
.nc-foot { flex-wrap: wrap; }
.nc-value { display: grid; gap: 4px; justify-items: start; }
.nc-value small { color: var(--ink-2); font-size: 12px; }
.value-tag.value-none { color: var(--ink-2); background: transparent; border: 1px solid var(--line); }
.sim-most { margin: 0 0 14px; padding: 12px 16px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); font-size: 15px; }

/* ---------- Simulator pitch ---------- */
.sim-match { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, #070B1A, #0B1530); box-shadow: 0 24px 60px rgba(3, 7, 20, .3); }
.sim-scorebar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; padding: 16px 18px; color: #fff; }
.sim-team { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sim-team.is-away { justify-content: flex-end; text-align: right; }
.sim-team span { display: grid; gap: 2px; min-width: 0; }
.sim-team b { font-size: clamp(16px, 1.8vw, 22px); letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sim-team small { color: #B4C0E0; font-size: 12.5px; line-height: 1.35; }
.sim-team .crest { background: rgba(255, 255, 255, .92); border-radius: 12px; padding: 4px; flex: none; }
.sim-match .sim-score b { font-size: clamp(40px, 6vw, 64px); }
.sim-pitch-wrap { padding: 0 14px; }
.sim-pitch { display: block; width: 100%; height: auto; border-radius: 16px; overflow: visible; }
.sim-pitch .ps1 { fill: #1E7A3E; } .sim-pitch .ps2 { fill: #1A6E37; }
.sim-pitch .pl { fill: none; stroke: rgba(255, 255, 255, .78); stroke-width: 3; }
.sim-pitch .pd { fill: rgba(255, 255, 255, .85); }
.sim-pitch .pg { fill: rgba(255, 255, 255, .25); stroke: rgba(255, 255, 255, .9); stroke-width: 2; }
.sim-pl .sim-dot { stroke: #fff; stroke-width: 3; transition: transform .2s ease; }
.sim-pl.is-home .sim-dot { fill: #3D7BFF; } .sim-pl.is-away .sim-dot { fill: #E5484D; }
.sim-pl .sim-pos { fill: #fff; font: 800 13px Archivo, Inter, system-ui, sans-serif; text-anchor: middle; }
.sim-pl .sim-name { fill: #fff; font: 700 15px Inter, system-ui, sans-serif; text-anchor: middle; paint-order: stroke; stroke: rgba(0, 0, 0, .55); stroke-width: 4px; }
.sim-pl.is-act .sim-dot { animation: sim-act .55s ease-out; }
.sim-pl.is-foul .sim-dot { animation: sim-foul .45s ease-out; }
.sim-pl.is-card .sim-dot { animation: sim-card .6s ease-out; }
@keyframes sim-act { 40% { transform: scale(1.45); filter: drop-shadow(0 0 10px #22D3EE); } }
@keyframes sim-foul { 40% { transform: scale(1.2); fill: #F5B83D; } }
@keyframes sim-card { 40% { transform: scale(1.35); fill: #F5C518; } }
.sim-bd circle { fill: #fff; stroke: #0B1530; stroke-width: 2; }
.sim-bd path { fill: #0B1530; }
.sim-bd-card rect { fill: #F5C518; stroke: #0B1530; stroke-width: 1.5; }
.sim-ball { transition: transform .3s ease; }
.sim-ball-c { fill: #fff; stroke: #0B1530; stroke-width: 2; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
.sim-ball-p { fill: #0B1530; }
.sim-flash { transition: opacity .2s ease; pointer-events: none; }
.sim-flash-bg { fill: rgba(7, 11, 26, .88); stroke: #22D3EE; stroke-width: 3; }
.sim-flash-t { fill: #fff; font: 800 46px Archivo, Inter, system-ui, sans-serif; text-anchor: middle; letter-spacing: .06em; }
.sim-flash-s { fill: #22D3EE; font: 700 22px Inter, system-ui, sans-serif; text-anchor: middle; }
.sim-flash.is-on .sim-flash-bg { animation: sim-pop .5s ease-out; }
@keyframes sim-pop { 0% { transform: scale(.7); } 60% { transform: scale(1.05); } 100% { transform: scale(1); } }
.sim-pitch-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px 16px; color: #B4C0E0; }
.sim-caption { margin: 0; font-size: 14px; min-height: 1.4em; }
.sim-skip { flex: none; }
.sim-match .button { color: #fff; border-color: rgba(180, 192, 224, .35); background: rgba(255, 255, 255, .06); }
@media (max-width: 620px) {
  .sim-scorebar { gap: 6px; padding: 12px; }
  .sim-team .crest { width: 30px; height: 30px; }
  .sim-team small { display: none; }
  .sim-pitch-wrap { padding: 0 6px; }
  .sim-pl .sim-name { font-size: 22px; }
  .sim-pl .sim-pos { font-size: 16px; }
  .sim-pitch-foot { flex-direction: column; align-items: stretch; padding: 10px 12px 14px; }
}
@media (prefers-reduced-motion: reduce) { .sim-pl .sim-dot, .sim-ball, .sim-flash { animation: none !important; transition: none !important; } }
@media (max-width: 640px) {
  .sim-team, .sim-team.is-away { flex-direction: column; justify-content: center; text-align: center; gap: 4px; }
  .sim-team.is-away span { order: 2; }
  .sim-team b { font-size: 14px; white-space: normal; }
  .sim-pitch-wrap.is-upright .sim-pl .sim-name { font-size: 17px; }
  .sim-pitch-wrap.is-upright .sim-pl .sim-pos { font-size: 13px; }
}
/* Pitch v2: positions are set every frame, so no transitions on the moving parts. */
.sim-ball, .sim-pl { transition: none; }
.sim-pitch-foot [hidden] { display: none !important; }
.sim-shapes { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .03em; color: #B4C0E0; }
.sim-shapes .is-home::before, .sim-shapes .is-away::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; vertical-align: 0; }
.sim-shapes .is-home::before { background: #3D7BFF; } .sim-shapes .is-away::before { background: #E5484D; }
.sim-pl .sim-pos { font-size: 12px; letter-spacing: -.02em; }
.sim-pitch-wrap.is-upright .sim-pl .sim-pos { font-size: 11px; }

/* "New lineups are in" note, shown when the matchday files change while a page is open. */
.update-note{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);z-index:60;display:flex;align-items:center;gap:12px;max-width:calc(100vw - 32px);padding:10px 10px 10px 16px;border-radius:14px;background:var(--surface,#fff);color:var(--ink,#070B1A);border:1px solid var(--line,rgba(7,11,26,.12));box-shadow:0 10px 30px rgba(7,11,26,.18)}
.update-note[hidden]{display:none}
.update-note p{margin:0;font-weight:600;font-size:.95rem}
.update-note-close{background:none;border:0;font-size:1.3rem;line-height:1;padding:4px 8px;color:inherit;opacity:.6;cursor:pointer}
.update-note-close:hover{opacity:1}
@media (max-width:520px){.update-note{left:16px;right:16px;transform:none;bottom:16px}}

/* ==========================================================================
   Home page (12 Nov 2026): what Tactiqo is for, a "matchday questions" panel answered from today's
   data, why it exists, and every feature as a tile. The panel is the one bold element; the rest is quiet.
   ========================================================================== */
.hx-hero { color: var(--hero-ink); background: var(--hero); border-bottom: 1px solid rgba(143, 184, 255, .14); }
.hx-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(36px, 5vw, 64px); }
.hx-hero h1 { margin: 0; max-width: 15ch; color: var(--hero-ink); font-family: 'Archivo', var(--font); font-stretch: 125%; font-weight: 700; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
.hx-lead { max-width: 56ch; margin: 20px 0 0; color: var(--hero-ink-2); font-size: clamp(16px, 1.35vw, 18px); line-height: 1.6; }
.hx-uses { display: grid; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.hx-uses li { display: flex; align-items: center; gap: 10px; color: var(--hero-ink); font-weight: 600; font-size: 15.5px; }
.hx-uses svg { flex: none; width: 18px; height: 18px; padding: 3px; border-radius: 50%; color: #07112E; background: var(--brand-cyan); }
.hx-hero .lp-actions { margin-top: 28px; }

/* The questions panel */
.hx-ask { position: relative; padding: 18px; border-radius: 22px; background: linear-gradient(180deg, rgba(16, 26, 70, .92), rgba(8, 14, 40, .94)); border: 1px solid rgba(143, 184, 255, .22); box-shadow: 0 30px 80px -30px rgba(61, 123, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .06); }
.hx-ask-title { margin: 2px 4px 14px; color: var(--hero-ink); font-family: 'Archivo', var(--font); font-stretch: 125%; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.hx-ask-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 14px; min-height: 300px; }
.hx-qs { display: grid; align-content: start; gap: 6px; }
.hx-q { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 12px; border: 1px solid transparent; border-radius: 14px; background: transparent; color: var(--hero-soft); font: inherit; font-size: 14.5px; font-weight: 600; line-height: 1.3; text-align: left; cursor: pointer; }
.hx-q svg { flex: none; width: 18px; height: 18px; color: var(--hero-accent); }
.hx-q:hover { color: var(--hero-ink); background: rgba(143, 184, 255, .07); }
.hx-q[aria-selected="true"] { color: var(--hero-ink); background: linear-gradient(100deg, rgba(61, 123, 255, .32), rgba(108, 92, 255, .22)); border-color: rgba(143, 184, 255, .35); }
.hx-q[aria-selected="true"] svg { color: var(--brand-cyan); }
.hx-q:focus-visible { outline: 2px solid var(--brand-cyan); outline-offset: 2px; }
.hx-a { display: flex; flex-direction: column; padding: 16px; border-radius: 16px; background: rgba(4, 8, 24, .55); border: 1px solid rgba(143, 184, 255, .12); animation: hx-in .22s ease-out; }
.hx-a[hidden] { display: none; }
@keyframes hx-in { from { opacity: 0; transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .hx-a { animation: none; } }
.hx-answer-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hx-answer-row { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(143, 184, 255, .06); color: var(--hero-ink); text-decoration: none; }
.hx-answer-row:hover { background: rgba(143, 184, 255, .13); }
.hx-answer-row b { display: block; font-size: 15px; line-height: 1.25; }
.hx-answer-row small { display: block; margin-top: 2px; color: var(--hero-soft); font-size: 12.5px; }
.hx-answer-row .meter { color: var(--hero-ink); }
.hx-answer-big { margin: 0; color: var(--hero-ink); font-family: 'Archivo', var(--font); font-stretch: 125%; font-size: clamp(19px, 1.9vw, 23px); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
.hx-answer-text { margin: 10px 0 0; color: var(--hero-ink-2); font-size: 14.5px; line-height: 1.55; }
.hx-answer-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: auto 0 0; padding-top: 14px; }
.hx-answer-foot small { color: var(--hero-soft); font-size: 12.5px; }
.hx-go { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; color: #07112E; background: linear-gradient(100deg, #8FB8FF, var(--brand-cyan)); font-weight: 700; font-size: 14px; text-decoration: none; }
.hx-go:hover { filter: brightness(1.08); }
.hx-go svg { width: 15px; height: 15px; }
.hx-sim svg { display: block; width: 100%; height: auto; max-height: 150px; }

/* Drawings used in the panel and the tiles */
.hx-art-pitch { fill: #0E5A3A; stroke: rgba(255, 255, 255, .35); stroke-width: 1.5; }
.hx-art-line { fill: none; stroke: rgba(255, 255, 255, .35); stroke-width: 1.5; }
.hx-art-home { fill: #3D7BFF; stroke: #fff; stroke-width: 1.5; }
.hx-art-away { fill: #E5484D; stroke: #fff; stroke-width: 1.5; }
.hx-art-ball { fill: #fff; }
.hx-art-bar { fill: color-mix(in srgb, var(--brand-1) 35%, transparent); }
.hx-art-bar.is-top { fill: var(--brand-1); }
.hx-art-pip { fill: color-mix(in srgb, var(--ink) 10%, transparent); }
.hx-art-pip.is-on { fill: var(--brand-2); }
.hx-art-day { fill: color-mix(in srgb, var(--ink) 6%, transparent); stroke: var(--line); }
.hx-art-dot { fill: var(--brand-1); }
.hx-dot-2 { fill: var(--brand-2); } .hx-dot-3 { fill: var(--brand-cyan); } .hx-dot-4 { fill: #F5B83D; } .hx-dot-5 { fill: #E5484D; }

/* Why we built it */
.hx-why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); padding-top: clamp(40px, 6vw, 72px); padding-bottom: 8px; }
.hx-why-head h2 { margin: 0; font-family: 'Archivo', var(--font); font-stretch: 125%; font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: -.025em; line-height: 1.05; }
.hx-why-head p { max-width: 50ch; margin: 16px 0 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.65; }
.hx-why-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.hx-why-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.hx-why-was { color: var(--ink-2); font-size: 15px; line-height: 1.5; text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--ink-2) 45%, transparent); text-decoration-thickness: 1px; }
.hx-why-now { color: var(--ink); font-size: 15.5px; font-weight: 600; line-height: 1.5; }

/* Feature tiles: sizes follow how much each feature matters, not one card repeated. */
.hx-features { padding-top: clamp(40px, 6vw, 72px); }
.hx-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: 14px; margin-top: 18px; }
.hx-tile { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 170px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--ink); text-decoration: none; overflow: hidden; }
.hx-tile:hover { border-color: color-mix(in srgb, var(--brand-1) 55%, var(--line)); }
.hx-tile:hover .hx-tile-text b { color: var(--link); }
.hx-tile:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.hx-tile-wide { grid-column: span 2; }
.hx-tile-tall { grid-column: span 2; grid-row: span 2; background: linear-gradient(170deg, color-mix(in srgb, var(--brand-1) 14%, var(--surface)), var(--surface) 70%); }
.hx-tile-art { display: block; }
.hx-tile-art svg { display: block; width: 100%; height: auto; max-height: 96px; }
.hx-tile-tall .hx-tile-art svg { max-height: 220px; }
.hx-tile-text { display: grid; gap: 6px; margin-top: auto; }
.hx-tile-text b { display: flex; align-items: center; gap: 8px; font-family: 'Archivo', var(--font); font-stretch: 125%; font-size: 17px; letter-spacing: -.01em; }
.hx-tile-text span { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.hx-tile-tall .hx-tile-text b { font-size: 22px; }
.hx-tile-value, .hx-tile-record, .hx-tile-intl, .hx-tile-fixtures { min-height: 140px; }
.hx-tile-value { border-color: color-mix(in srgb, #F5B83D 45%, var(--line)); }
.hx-free { padding: 2px 8px; border-radius: 999px; color: var(--ink-2); background: var(--stripe); font-family: var(--font); font-stretch: 100%; font-size: 12px; font-weight: 600; letter-spacing: 0; }

@media (max-width: 980px) {
  .hx-hero-grid { grid-template-columns: 1fr; }
  .hx-hero h1 { max-width: 18ch; }
  .hx-why { grid-template-columns: 1fr; }
  .hx-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-tile-tall { grid-row: auto; }
}
@media (max-width: 640px) {
  .hx-ask { padding: 14px; border-radius: 18px; }
  .hx-ask-grid { grid-template-columns: 1fr; min-height: 0; }
  .hx-qs { display: flex; gap: 8px; overflow-x: auto; margin: 0 -14px; padding: 0 14px 4px; scrollbar-width: none; }
  .hx-qs::-webkit-scrollbar { display: none; }
  .hx-q { flex: none; width: auto; max-width: 74vw; padding: 10px 12px; border-color: rgba(143, 184, 255, .2); }
  .hx-a { min-height: 260px; }
  .hx-why-list li { grid-template-columns: 1fr; gap: 6px; }
  .hx-tiles { grid-template-columns: 1fr; }
  .hx-tile-wide, .hx-tile-tall { grid-column: auto; }
}
.hx-tile-text b { flex-wrap: wrap; row-gap: 4px; }
.hx-art-globe { fill: color-mix(in srgb, var(--brand-1) 14%, transparent); stroke: var(--brand-1); stroke-width: 2; }
.hx-art-line-soft { fill: none; stroke: color-mix(in srgb, var(--brand-1) 55%, transparent); stroke-width: 1.5; }
.hx-art-flag { stroke: var(--line); }
.hx-flag-0 { fill: #3D7BFF; } .hx-flag-1 { fill: #E5484D; } .hx-flag-2 { fill: #F5B83D; } .hx-flag-3 { fill: #22C55E; }
.hx-art-model { fill: var(--model); }
.hx-art-odds { fill: var(--market); }
.hx-art-gap { stroke: #F5B83D; stroke-width: 3; stroke-dasharray: 4 4; }
.hx-art-win { fill: color-mix(in srgb, var(--won) 75%, transparent); }
.hx-art-loss { fill: color-mix(in srgb, var(--lost) 70%, transparent); }
@media (max-width: 640px) {
  .hx-qs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; overflow: visible; margin: 0; padding: 0; }
  .hx-q { width: 100%; max-width: none; align-items: flex-start; padding: 10px; font-size: 13.5px; }
  .hx-q svg { margin-top: 1px; }
}

/* Home page order (12 Nov 2026): feature tiles first, then the questions band, About us and the FAQ. */
.hx-top { padding-top: clamp(28px, 4.5vw, 56px); padding-bottom: clamp(36px, 5vw, 60px); background: radial-gradient(1000px 420px at 85% -10%, var(--glow), transparent 70%); }
.hx-top-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; }
.hx-top h1 { margin: 0; max-width: 18ch; color: var(--ink); font-family: 'Archivo', var(--font); font-stretch: 125%; font-weight: 700; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.03; letter-spacing: -.03em; text-wrap: balance; }
.hx-top .hx-lead { color: var(--ink-2); margin-top: 14px; }
.hx-top .lp-actions { margin-top: 0; }
.hx-top .lp-secondary { color: var(--ink); }
.hx-top .lp-secondary:hover { color: var(--link); }
.hx-top .lp-terms { color: var(--ink-2); margin-top: 12px; }
.hx-top .hx-tiles { margin-top: 26px; }
.hx-compare { margin: 14px 0 0; font-size: 14.5px; }
.hx-try-title { margin: 0; max-width: 14ch; color: var(--hero-ink); font-family: 'Archivo', var(--font); font-stretch: 125%; font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -.025em; }
.hx-hero .hx-lead { margin-top: 14px; }

.hx-about { padding-top: clamp(44px, 6vw, 80px); }
.hx-about-title { margin: 0; font-family: 'Archivo', var(--font); font-stretch: 125%; font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; letter-spacing: -.03em; line-height: 1.02; }
.hx-about h3 { margin: 0; font-family: 'Archivo', var(--font); font-stretch: 125%; font-size: clamp(19px, 1.8vw, 23px); font-weight: 700; letter-spacing: -.015em; line-height: 1.15; }
.hx-about-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: 26px; }
.hx-about-intro p { max-width: 58ch; margin: 12px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.hx-about-uses { display: grid; gap: 12px; margin: 14px 0 0; padding: 0; list-style: none; }
.hx-about-uses li { padding-left: 16px; border-left: 3px solid color-mix(in srgb, var(--brand-1) 55%, transparent); color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.hx-about-uses b { color: var(--ink); }
.hx-about .hx-why { padding-top: clamp(32px, 4vw, 52px); }
.hx-about .hx-why-head h3 + p { max-width: 50ch; margin: 12px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.hx-how { margin-top: clamp(32px, 4vw, 52px); }
.hx-how .lp-step h4 { margin: 4px 0 6px; font-size: 18px; letter-spacing: -.015em; }
.hx-about-more { margin: 22px 0 0; font-size: 15px; }
.hx-faq { padding-top: clamp(44px, 6vw, 80px); }
.hx-faq h2 { margin: 0; font-family: 'Archivo', var(--font); font-stretch: 125%; font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: -.025em; line-height: 1.05; }
.hx-faq .faq { max-width: 860px; }
@media (max-width: 980px) { .hx-about-intro { grid-template-columns: 1fr; } }

/* Season calendar competition filter (12 Nov 2026): one slim bar of toggles, colour dots matching the
   calendar, thin dividers between groups. The checkboxes stay in the page for keyboards and screen readers. */
.cal-filter { display: flex; align-items: center; gap: 6px 14px; margin: 14px 0 16px; padding: 6px 8px 6px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.cal-filter-title { display: inline-flex; flex: none; align-items: center; gap: 7px; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.cal-filter-groups { display: flex; flex: 1; flex-wrap: wrap; align-items: center; gap: 4px 0; min-width: 0; }
.cal-filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 0 8px; }
.cal-filter-group + .cal-filter-group { border-left: 1px solid var(--line); }
.cal-toggle-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 10px; border-radius: 9px; color: var(--ink); font-size: 13.5px; font-weight: 560; cursor: pointer; user-select: none; white-space: nowrap; }
.cal-toggle-chip:hover { background: var(--stripe); }
.cal-toggle-chip .cal-dot { width: 9px; height: 9px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--cal, var(--ink-2)) 22%, transparent); }
.cal-toggle-chip:has(input:not(:checked)) { color: var(--ink-2); }
.cal-toggle-chip:has(input:not(:checked)) span { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--ink-2) 55%, transparent); }
.cal-toggle-chip:has(input:not(:checked)) .cal-dot { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-2); opacity: .7; }
.cal-toggle-chip:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 1px; }
.cal-filter-end { display: inline-flex; flex: none; align-items: center; gap: 10px; margin-left: auto; padding-left: 6px; }
.cal-filter-count { color: var(--ink-2); font-size: 12.5px; white-space: nowrap; }
.cal-filter-reset { min-height: 32px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 9px; background: transparent; color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.cal-filter-reset:hover { border-color: var(--accent); color: var(--link); }
.cal-filter-reset:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (max-width: 760px) {
  .cal-filter { flex-wrap: wrap; padding: 10px 10px 8px; }
  .cal-filter-title { width: 100%; padding-left: 4px; }
  .cal-filter-end { width: 100%; justify-content: space-between; margin-left: 0; padding: 4px 4px 0; border-top: 1px solid var(--line); }
  .cal-filter-groups { flex-wrap: nowrap; overflow-x: auto; margin: 0 -10px; padding: 0 2px 2px; scrollbar-width: none; }
  .cal-filter-groups::-webkit-scrollbar { display: none; }
  .cal-filter-group { flex-wrap: nowrap; flex: none; }
}
.cal-toggle-chip { gap: 7px; padding: 0 8px; font-size: 13px; }
.cal-filter-group { padding: 0 6px; }
.cal-filter { gap: 6px 10px; }
@media (max-width: 760px) { .cal-filter-groups { flex: 1 1 100%; width: calc(100% + 20px); } }
.cal-filter-groups, .cal-toggle-chip { position: relative; }

/* Past days on the calendars (12 Nov 2026): hatched and greyed, with "Played" where there were matches. */
.cal-day.is-past:not(.is-picked), .cal-full .cal-day.is-past:not(.is-picked) { opacity: 1; background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--ink) 4%, transparent) 0 6px, transparent 6px 12px), color-mix(in srgb, var(--ink) 3%, transparent); }
.cal-day.is-past .cal-num { color: color-mix(in srgb, var(--ink-2) 75%, transparent); font-weight: 500; }
.cal-day.is-past .cal-dots i { filter: saturate(.25); opacity: .55; }
.cal-played { display: inline-flex; align-items: center; gap: 3px; margin-top: 2px; color: var(--ink-2); font-size: 10.5px; font-weight: 600; line-height: 1; }
.cal-played svg { flex: none; }
.cal-day.is-picked .cal-played { color: inherit; }
.cal-key { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cal-key-past { flex: none; width: 16px; height: 12px; border-radius: 3px; border: 1px solid var(--line); background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--ink) 14%, transparent) 0 3px, transparent 3px 6px); }
@media (max-width: 640px) { .cal-played span { display: none; } }
.cal-grid td.cal-pad, .cal-full .cal-grid td.cal-pad { background: color-mix(in srgb, var(--ink) 2%, transparent); background-image: none; }
.about-uses-why { margin: 8px 0 40px; }
.about-uses-why .section-title { margin-top: 0; }
.about-uses-why .hx-why-list { margin-top: 14px; }
.about-uses-why .hx-why-list li { grid-template-columns: 1fr; gap: 4px; }

/* Player Hotlist rows (12 Nov 2026): the call leads, then the player, then how it compares with their usual. */
.hot-row .likely-who { display: grid; gap: 2px; }
.hot-call { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.hot-player { color: var(--ink); font-size: 14px; }
.hot-player a { font-weight: 600; }
.hot-player small { margin-left: 6px; color: var(--ink-2); font-size: 12.5px; }
.hot-lift { justify-self: start; margin-top: 3px; padding: 2px 8px; border-radius: 999px; color: var(--up); background: color-mix(in srgb, var(--up) 12%, transparent); font-size: 12px; font-weight: 600; }

/* Power Rankings (12 Nov 2026) */
.power-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.power-controls .stat-pills { margin: 0; }
.power-league { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 13.5px; font-weight: 600; }
.power-league select { min-height: 38px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; font-weight: 500; }
.power-list { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.power-row { display: grid; grid-template-columns: 32px 46px 62px minmax(0, 1.2fr) minmax(0, 1.4fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.power-rank { color: var(--ink-2); font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.power-move { color: var(--ink-2); font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.power-move.is-up { color: var(--up); } .power-move.is-down { color: var(--down); }
.power-move.is-new { padding: 2px 6px; border-radius: 6px; color: var(--link); background: color-mix(in srgb, var(--accent) 12%, transparent); font-size: 11px; }
.power-score { display: grid; justify-items: center; padding: 6px 0; border-radius: 10px; background: linear-gradient(135deg, color-mix(in srgb, var(--brand-1) 22%, var(--surface)), color-mix(in srgb, var(--brand-2) 18%, var(--surface))); }
.power-score b { font-family: 'Archivo', var(--font); font-stretch: 125%; font-size: 20px; line-height: 1; }
.power-score small { color: var(--ink-2); font-size: 10.5px; }
.power-who { display: grid; gap: 3px; min-width: 0; }
.power-who a { color: var(--ink); text-decoration: none; }
.power-who a:hover b { color: var(--link); }
.power-who b { font-size: 15.5px; }
.power-who small { display: flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 12.5px; }
.power-why { display: flex; flex-wrap: wrap; gap: 6px; }
.power-why span { padding: 3px 9px; border-radius: 999px; background: var(--stripe); color: var(--ink-2); font-size: 12.5px; }
.power-why b { color: var(--ink); }
.power-meta { display: grid; justify-items: end; gap: 4px; }
.power-meta small { color: var(--ink-2); font-size: 12px; white-space: nowrap; }
.power-form { display: flex; gap: 3px; }
.power-form i { display: grid; place-items: center; min-width: 30px; height: 22px; border-radius: 6px; font-style: normal; font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.power-form .is-high { color: #fff; background: var(--won); } .power-form .is-mid { color: var(--ink); background: color-mix(in srgb, var(--won) 28%, var(--surface)); }
.power-form .is-low { color: var(--ink); background: var(--stripe); } .power-form .is-none { color: var(--ink-2); background: transparent; border: 1px dashed var(--line-strong); }
.hx-power-row { grid-template-columns: 52px minmax(0, 1fr); }
.hx-power-score { display: grid; justify-items: center; padding: 4px 0; border-radius: 10px; background: linear-gradient(135deg, rgba(61, 123, 255, .35), rgba(108, 92, 255, .3)); }
.hx-power-score b { font-family: 'Archivo', var(--font); font-stretch: 125%; font-size: 18px; line-height: 1; }
.hx-power-score small { color: var(--hero-soft); font-size: 10px; }
@media (max-width: 900px) {
  .power-row { grid-template-columns: 26px 40px 56px minmax(0, 1fr); }
  .power-why, .power-meta { grid-column: 3 / -1; justify-items: start; }
}
@media (max-width: 520px) {
  .power-row { grid-template-columns: 22px 54px minmax(0, 1fr); gap: 10px; }
  .power-move { grid-column: 1; grid-row: 2; text-align: right; }
  .power-why, .power-meta { grid-column: 2 / -1; }
}

/* ==========================================================================
   Menu (12 Nov 2026): club and international football as two clear cards, then Predictions and Players.
   No expanders: each competition is a one-tap shortcut with its calendar colour.
   ========================================================================== */
@media (min-width: 821px) {
  .header-menu, .header-menu.open { width: min(760px, calc(100% - 32px)); padding: 12px; }
}
.header-menu nav.mnav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mnav-zone { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 16px; }
.mnav-club { background: linear-gradient(170deg, color-mix(in srgb, var(--brand-1) 12%, var(--surface)), var(--surface) 65%); border-color: color-mix(in srgb, var(--brand-1) 30%, var(--line)); }
.mnav-intl { background: linear-gradient(170deg, color-mix(in srgb, var(--brand-cyan) 11%, var(--surface)), var(--surface) 65%); border-color: color-mix(in srgb, var(--brand-cyan) 30%, var(--line)); }
.mnav-plain { border-color: transparent; padding-top: 6px; }
.mnav-title { display: flex; align-items: center; gap: 9px; margin: 0 4px 8px; color: var(--ink); font-family: 'Archivo', var(--font); font-stretch: 125%; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.mnav-title .mnav-icon { width: 20px; height: 20px; color: var(--link); }
.mnav-intl .mnav-title .mnav-icon { color: var(--brand-cyan); }
.mnav-links { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.mnav-links a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; border-radius: 10px; color: var(--ink); font-size: 14.5px; font-weight: 560; text-decoration: none; }
.mnav-links a .mnav-icon { flex: none; color: var(--ink-2); }
.mnav-links a > span:not(.nav-pro) { flex: 1; min-width: 0; }
.mnav-links a:hover { background: var(--stripe); }
.mnav-links a:hover .mnav-icon { color: var(--link); }
.mnav-links a[aria-current="page"] { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--ink); }
.mnav-links a[aria-current="page"] .mnav-icon { color: var(--link); }
.mnav-sub { margin: 12px 10px 6px; color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.mnav-sub a { color: inherit; text-decoration: none; }
.mnav-sub a:hover, .mnav-sub a[aria-current="page"] { color: var(--link); }
.mnav-sub a::after { content: " ›"; }
.mnav-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0 4px; list-style: none; }
.mnav-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 560; text-decoration: none; white-space: nowrap; }
.mnav-chip:hover { border-color: color-mix(in srgb, var(--cal, var(--accent)) 60%, var(--line)); }
.mnav-chip[aria-current="page"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.mnav-chip .cal-dot { width: 8px; height: 8px; }
.mnav a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.header-menu .nav-foot { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 4px; }
@media (max-width: 820px) {
  .header-menu nav.mnav { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .mnav-plain { padding: 8px 4px 4px; }
}
.mnav-links a { min-height: 36px; }
.mnav-zone { padding: 10px 12px; }
.mnav-sub { margin-top: 10px; }

/* Hit Rates (12 Nov 2026) */
.hits-mode { margin-bottom: 8px; }
.radar-chips.is-wide .l5 { min-width: 34px; padding: 0 3px; white-space: nowrap; font-size: 11px; }

/* Player page (12 Nov 2026): stats first, with career and transfers on their own tab. */
.player-tabs { margin-top: 14px; }
.lead-stats-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.player-power { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; }
.player-power .power-score { min-width: 58px; }
.player-power b { display: block; font-size: 15px; }
.player-power small { color: var(--ink-2); font-size: 12.5px; }
.player-power:hover { border-color: color-mix(in srgb, var(--brand-1) 55%, var(--line)); }
.player-career-link { display: grid; gap: 4px; padding: 16px 18px; color: var(--ink); text-decoration: none; }
.player-career-link b { font-size: 16px; }
.player-career-link b::after { content: " ›"; color: var(--link); }
.player-career-link span { color: var(--ink-2); font-size: 14px; }
.player-career-link:hover b { color: var(--link); }
@media (max-width: 720px) { .lead-stats-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lead-stats-6 .lead-value { font-size: 28px; } }

/* Bet Builder (12 Nov 2026) */
.bb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.bb-card { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.bb-card header h2 { margin: 0; font-family: 'Archivo', var(--font); font-stretch: 125%; font-size: 19px; letter-spacing: -.01em; }
.bb-card header small { color: var(--ink-2); font-size: 13px; }
.bb-balanced { border-color: color-mix(in srgb, var(--brand-1) 45%, var(--line)); background: linear-gradient(170deg, color-mix(in srgb, var(--brand-1) 9%, var(--surface)), var(--surface) 60%); }
.bb-legs, .bb-singles { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bb-legs li, .bb-singles li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--stripe); }
.bb-leg { display: grid; gap: 2px; font-weight: 600; font-size: 14.5px; }
.bb-leg small { color: var(--ink-2); font-size: 12px; font-weight: 500; }
.bb-joint { display: grid; gap: 2px; margin-top: auto; padding: 12px; border-radius: 14px; background: linear-gradient(135deg, color-mix(in srgb, var(--brand-1) 20%, var(--surface)), color-mix(in srgb, var(--brand-2) 16%, var(--surface))); }
.bb-joint span { color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.bb-joint b { font-family: 'Archivo', var(--font); font-stretch: 125%; font-size: 24px; line-height: 1.1; }
.bb-joint small { color: var(--ink-2); font-size: 12px; }
.bb-note { margin: 0; color: var(--ink-2); font-size: 13px; line-height: 1.5; }
.bb-singles { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
.lineup-jump { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.lineup-jump span:last-child::after { content: " ›"; color: var(--link); }
.lineup-tab-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lineup-tab-head .section-title { margin: 0; }
.intl-lineup .lineup-status { margin: 0 0 6px; }
.intl-xi { display: grid; gap: 4px; margin: 0 0 8px; padding: 0; list-style: none; }
.intl-xi li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; background: var(--stripe); font-size: 14px; }
@media (max-width: 900px) { .bb-grid { grid-template-columns: minmax(0, 1fr); } .bb-singles { grid-template-columns: minmax(0, 1fr); } }

/* Home tile previews (12 Nov 2026): a few real rows from each section */
.hx-tile-preview { display: block; min-width: 0; }
.hx-prev { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.hx-prev li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; background: var(--stripe); font-size: 13.5px; }
.hx-prev-when { color: var(--ink-2); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hx-prev-main { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; min-width: 0; color: var(--ink); font-weight: 600; }
.hx-prev-main i { color: var(--ink-2); font-style: normal; font-weight: 500; }
.hx-prev-main b { font-weight: 650; }
.hx-prev-main small { flex-basis: 100%; color: var(--ink-2); font-size: 12px; font-weight: 500; }
.hx-prev-chance { padding: 3px 7px; border-radius: 8px; color: #fff; background: var(--brand-2); font-size: 12px; font-weight: 700; white-space: nowrap; }
.hx-prev-power { display: grid; place-items: center; min-width: 34px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, color-mix(in srgb, var(--brand-1) 30%, var(--surface)), color-mix(in srgb, var(--brand-2) 25%, var(--surface))); font-family: 'Archivo', var(--font); font-stretch: 125%; font-weight: 700; }
.hx-prev-note { margin: 0 0 6px; color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.hx-prev-big { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.hx-prev-big b { font-family: 'Archivo', var(--font); font-stretch: 125%; font-size: 34px; line-height: 1; }
.hx-prev-big span { color: var(--ink-2); font-size: 13px; }

/* Home: tiles lead the page (13 Nov 2026) */
.hx-top { padding-top: 18px; }
.hx-top .hx-tiles { margin-top: 0; }

/* Menu (13 Nov 2026): three plain lists, no cards or shortcuts. */
.header-menu nav.mnav-simple { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 12px; }
.mnav-simple .mnav-zone { padding: 6px 4px; border: 0; background: none; }
.mnav-simple .mnav-title { font-size: 14px; color: var(--ink-2); font-family: var(--font); font-stretch: 100%; font-weight: 650; margin: 0 6px 6px; }
.mnav-simple .mnav-title .mnav-icon { display: none; }
@media (min-width: 821px) { .header-menu:has(.mnav-simple), .header-menu.open:has(.mnav-simple) { width: min(720px, calc(100% - 32px)); } }
@media (max-width: 820px) { .header-menu nav.mnav-simple { grid-template-columns: minmax(0, 1fr); } }

/* Plans (13 Nov 2026) */
.plan-lead { margin: 4px 0 2px; color: var(--ink); font-size: 15px; line-height: 1.5; }
.plan-compare-title { margin-top: 34px; }
.plan-compare table { width: 100%; }
.plan-compare th[scope="col"] { text-align: center; }
.plan-compare th[scope="col"]:first-child, .plan-compare th[scope="row"] { text-align: left; font-weight: 560; }
.plan-compare td { text-align: center; font-size: 13.5px; }
.plan-compare .plan-yes svg { color: var(--up); }
.plan-compare .plan-no { color: var(--ink-2); }
.plan-compare .plan-some { color: var(--ink); font-weight: 600; }
.plan-compare thead th:nth-child(3), .plan-compare td:nth-child(3) { background: color-mix(in srgb, #F5B83D 7%, transparent); }
.plan-compare thead th:nth-child(4), .plan-compare td:nth-child(4) { background: color-mix(in srgb, var(--brand-2) 8%, transparent); }

/* ==========================================================================
   Signal restyle (13 Nov 2026), inspired by the user's PitchSignal reference: a deeper, flatter dark base,
   one electric-blue signal accent instead of gradients everywhere, monospace data labels, a two-tone
   wordmark, and a glowing data grid behind the home tiles. Gold stays for Tactiqo+.
   ========================================================================== */
:root { --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; --signal: #3D7BFF; --signal-2: #22D3EE; }
:root[data-theme="dark"] {
  --bg: #080B12; --surface: #0F141D; --stripe: #151C28; --ink: #EEF2F8; --ink-2: #8E9AB0; --line: #1B2332; --line-strong: #2B3548;
  --link: #7FB0FF; --accent: #3D7BFF; --focus: #7FB0FF; --glow: rgba(61, 123, 255, .12);
  --hero-bg: #080B12;
  --hero: radial-gradient(55% 90% at 78% 0%, rgba(61, 123, 255, .20), transparent 62%), radial-gradient(40% 70% at 0% 100%, rgba(34, 211, 238, .08), transparent 60%), #080B12;
}
body { background: var(--bg); }

/* Wordmark: STAT in ink, LAS in the signal colour */
.logo-word em { font-style: normal; color: var(--signal); }
:root[data-theme="dark"] .logo-word em { color: #5B92FF; }
.logo-svg { box-shadow: 0 0 0 1px rgba(61, 123, 255, .25), 0 6px 18px -6px rgba(61, 123, 255, .55); }

/* Buttons: one flat signal colour for the main action, quiet outlines for the rest */
.intel-button, .button.intel-button { background: var(--signal); background-image: none; color: #fff; border-color: transparent; box-shadow: 0 10px 26px -12px rgba(61, 123, 255, .9); }
.intel-button:hover { background: #5B8EFF; }
:root[data-theme="dark"] .button:not(.intel-button):not(.pro-button) { background: #10161F; border-color: var(--line-strong); color: var(--ink); }

/* Monospace for data: chance words, runs, lineup status, kick-off times and tags */
.meter-word, .run-tag, .lineup-status, .power-move, .hx-free, .sched-time, .match-card-time, .lp-when b,
.value-tag, .nc-tag, .partner-tag, .plan-badge, .hx-pill, .l5, .hit-ring b, .power-score small, .bb-joint span, .bb-joint small, .lineup-formation, .hx-prev-when {
  font-family: var(--mono); letter-spacing: 0; }
.meter-word, .run-tag, .lineup-status, .plan-badge { font-size: .92em; }

/* Home: a glowing data grid behind the tiles, with a few squares lighting up */
.hx-top { position: relative; isolation: isolate; overflow: hidden; }
.hx-top::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 70% at 60% 20%, #000 35%, transparent 80%); mask-image: radial-gradient(70% 70% at 60% 20%, #000 35%, transparent 80%); }
.hx-top::after { content: ""; position: absolute; z-index: -1; pointer-events: none; top: -160px; right: -80px; width: 640px; height: 520px;
  background: radial-gradient(closest-side, rgba(61, 123, 255, .28), rgba(108, 92, 255, .10) 55%, transparent); filter: blur(8px); animation: hx-breathe 9s ease-in-out infinite; }
@keyframes hx-breathe { 50% { opacity: .65; transform: translate(-30px, 20px) scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .hx-top::after { animation: none; } }
.hx-pill { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 16px; padding: 6px 12px; border: 1px solid color-mix(in srgb, var(--signal) 35%, var(--line)); border-radius: 999px; background: color-mix(in srgb, var(--surface) 80%, transparent); color: var(--ink-2); font-size: 12px; }
.hx-pill-dot { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); animation: lp-pulse 2.4s ease-in-out infinite; }
.hx-pill-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }
@media (prefers-reduced-motion: reduce) { .hx-pill-dot { animation: none; } }
.hx-tile { background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(2px); }
.hx-tile:hover { border-color: color-mix(in srgb, var(--signal) 60%, var(--line)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--signal) 25%, transparent), 0 18px 40px -24px rgba(61, 123, 255, .7); }

/* The competitions strip: crests drifting past, paused on hover, still for reduced motion */
.hx-crests { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hx-crests-track { display: flex; gap: 34px; width: max-content; padding: 14px 0; animation: hx-drift 60s linear infinite; }
.hx-crests:hover .hx-crests-track { animation-play-state: paused; }
.hx-crests a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 13.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.hx-crests a:hover { color: var(--ink); }
.hx-crests img { width: 26px; height: 26px; object-fit: contain; border-radius: 6px; background: #fff; padding: 2px; }
@keyframes hx-drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hx-crests-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* Plans: the popular card stands out */
.price-card.is-popular { border-color: color-mix(in srgb, #F5B83D 55%, var(--line)); box-shadow: 0 0 0 1px rgba(245, 184, 61, .25), 0 24px 60px -30px rgba(245, 184, 61, .45); }
.hx-art-leg { fill: color-mix(in srgb, var(--ink) 9%, transparent); }
.hx-art-leg-dot { fill: var(--signal-2); }
.hx-art-joint { fill: color-mix(in srgb, var(--signal) 65%, transparent); }
.hx-pill-extra { display: inline-flex; align-items: center; gap: 10px; }
@media (max-width: 640px) { .hx-pill { flex-wrap: nowrap; font-size: 11.5px; } .hx-pill-extra { display: none; } }

/* Bet Builder prices (13 Nov 2026) */
.bb-legs li, .bb-singles li { grid-template-columns: minmax(0, 1fr) auto auto; }
.bb-price { display: grid; justify-items: end; gap: 1px; min-width: 52px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.bb-price small { color: var(--ink-2); font-family: var(--font); font-size: 11px; font-weight: 500; }
.bb-price.is-none { color: var(--ink-2); font-size: 11.5px; font-weight: 500; }
.bb-odds { display: grid; gap: 10px; }
.bb-odds .bb-note b { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.bb-book { justify-self: start; display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 520px) { .bb-legs li, .bb-singles li { grid-template-columns: minmax(0, 1fr) auto; } .bb-legs li .meter, .bb-singles li .meter { grid-column: 1 / -1; } }
.bb-grid.has-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bb-ready { border-color: color-mix(in srgb, var(--signal, #3D7BFF) 55%, var(--line)); }
@media (max-width: 900px) { .bb-grid.has-4 { grid-template-columns: minmax(0, 1fr); } }

/* Admin dashboard (13 Nov 2026) */
.ad-wrap { display: grid; gap: 16px; }
.ad-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .ad-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ad-tile { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.ad-tile > span { color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.ad-tile b { font-family: var(--mono, monospace); font-size: 24px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.ad-tile small { color: var(--ink-2); font-size: 12px; }
.ad-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ad-card { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.ad-card h2 { margin: 0 0 12px; font-size: 16px; }
.ad-bars { display: flex; align-items: flex-end; gap: 3px; height: 120px; }
.ad-bars span { flex: 1; min-height: 2px; height: var(--h); border-radius: 3px 3px 0 0; background: var(--signal, #3D7BFF); opacity: .85; }
.ad-axis { display: flex; justify-content: space-between; margin: 6px 0 0; color: var(--ink-2); font-size: 12px; }
.ad-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ad-table th, .ad-table td { padding: 7px 6px; border-bottom: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; }
.ad-table th[scope="row"], .ad-table thead th:first-child { text-align: left; font-weight: 600; }
.ad-table thead th { color: var(--ink-2); font-size: 12px; font-weight: 600; }
.ad-total th, .ad-total td { font-weight: 700; border-bottom: 0; }
.ad-up { color: #2FBF71; }
.ad-down { color: #F0616D; }
.ad-note { margin: 10px 0 0; color: var(--ink-2); font-size: 12.5px; }
.ad-setup { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.ad-setup li { display: grid; grid-template-columns: 72px 1fr; column-gap: 8px; }
.ad-setup li b { font-size: 12px; }
.ad-setup li small { grid-column: 2; color: var(--ink-2); font-family: var(--mono, monospace); font-size: 11.5px; }
.ad-setup .is-ok b { color: #2FBF71; }
.ad-setup .is-missing b { color: #F5B83D; }
@media (max-width: 800px) { .ad-grid { grid-template-columns: minmax(0, 1fr); } .ad-table { font-size: 13px; } }

/* Home intro above the tiles (13 Nov 2026): a headline and one sentence, kept short. */
.hx-intro { max-width: 68ch; margin: 0 0 20px; }
.hx-intro h1 { margin: 0 0 8px; font-family: 'Archivo', var(--font); font-stretch: 125%; font-size: clamp(24px, 3.4vw, 36px); line-height: 1.1; letter-spacing: -.015em; }
.hx-intro p { margin: 0; color: var(--ink-2); font-size: clamp(14.5px, 1.4vw, 16px); line-height: 1.55; }
.hx-top .hx-intro + h2 + .hx-tiles { margin-top: 0; }

/* Match Simulator v3 (13 Nov 2026): a smaller pitch, livelier play and sharing */
.sim-pitch-wrap { max-width: 760px; margin: 0 auto; }
.sim-pitch-wrap.is-upright { max-width: none; }
.sim-pitch-wrap.is-upright .sim-pitch { width: auto; max-width: 100%; max-height: 58vh; margin: 0 auto; }
.sim-hold { fill: none; stroke-width: 3; stroke-dasharray: 6 6; transition: opacity .2s; }
.sim-hold.is-home { stroke: rgba(125, 170, 255, .9); } .sim-hold.is-away { stroke: rgba(255, 140, 145, .9); }
.sim-trail { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.sim-pitch .pg.is-net { animation: sim-net .9s ease-out; }
@keyframes sim-net { 0%, 30% { fill: rgba(255, 255, 255, .9); } 100% { fill: rgba(255, 255, 255, .25); } }
.sim-burst { fill: none; stroke-width: 6; opacity: 0; transform-box: fill-box; transform-origin: center; }
.sim-burst.is-home { stroke: #7DAAFF; } .sim-burst.is-away { stroke: #FF8C91; }
.sim-burst.is-on { animation: sim-burst 1s ease-out; }
@keyframes sim-burst { 0% { opacity: 1; transform: scale(.4); } 100% { opacity: 0; transform: scale(6); } }
.sim-pitch .ps1, .sim-pitch .ps2 { transition: opacity .3s; }
.sim-pitch.is-goal .ps1, .sim-pitch.is-goal .ps2 { opacity: .72; }
.sim-match.is-goal .sim-score b { animation: sim-goal .6s ease-out; }
@media (prefers-reduced-motion: reduce) { .sim-burst.is-on, .sim-pitch .pg.is-net { animation: none; } .sim-trail { display: none; } }

/* Simulator controls (13 Nov 2026): speed and replay as compact icon buttons */
.sim-controls { display: flex; align-items: center; gap: 8px; flex: none; }
.sim-icon-btn { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid rgba(180, 192, 224, .35); border-radius: 12px; background: rgba(255, 255, 255, .06); color: #fff; font: 800 15px var(--mono, monospace); cursor: pointer; }
.sim-icon-btn:hover { background: rgba(255, 255, 255, .12); }
.sim-icon-btn:focus-visible { outline: 2px solid #22D3EE; outline-offset: 2px; }
.sim-icon-btn[hidden] { display: none; }
.sim-speed { min-width: 52px; color: #22D3EE; }
.sim-pl.is-fouled .sim-dot { animation: sim-foul .45s ease-out; }
@media (max-width: 620px) { .sim-controls { justify-content: flex-end; } .sim-controls .sim-skip { flex: 1; } }

/* Simulator highlight overlays (13 Nov 2026): goals, penalties, cards, saves, kick-off, half and full time */
.sim-pitch-wrap { position: relative; }
.sim-ov { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 6px; pointer-events: none; text-align: center; color: #fff; z-index: 2; }
.sim-ov[hidden] { display: none; }
.sim-ov small { color: #DDE5FF; font-size: clamp(12px, 1.6vw, 15px); font-weight: 600; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.sim-ov-big { font-family: 'Archivo', var(--font); font-stretch: 125%; font-weight: 900; font-size: clamp(44px, 9vw, 96px); line-height: .95; letter-spacing: .02em; text-shadow: 0 6px 30px rgba(0, 0, 0, .55); }
.sim-ov-mid { font-family: 'Archivo', var(--font); font-stretch: 125%; font-weight: 850; font-size: clamp(26px, 4.6vw, 44px); line-height: 1; text-shadow: 0 4px 20px rgba(0, 0, 0, .55); }
.sim-ov-who { font-size: clamp(16px, 2.4vw, 24px); font-weight: 800; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
/* Goal: a team-colour flash across the pitch, the word punching in, and a burst of confetti. */
.sim-ov-goal { background: radial-gradient(closest-side, color-mix(in srgb, var(--ov) 70%, transparent), transparent); --ov: #3D7BFF; }
.sim-ov-goal.is-away { --ov: #E5484D; }
.sim-ov-goal.is-on { animation: ov-wash .9s ease-out both; }
.sim-ov-goal.is-on .sim-ov-big { animation: ov-punch .7s cubic-bezier(.2, 1.6, .4, 1) both; }
.sim-ov-goal.is-on .sim-ov-who, .sim-ov-goal.is-on small { animation: ov-rise .5s .25s ease-out both; }
.sim-ov-burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.sim-ov-burst i { position: absolute; width: 10px; height: 16px; margin: -8px -5px; border-radius: 2px; background: #F5B83D; transform: rotate(var(--a)) translateY(0); opacity: 0; }
.sim-ov-burst i:nth-child(3n) { background: #fff; } .sim-ov-burst i:nth-child(3n+1) { background: var(--ov); }
.sim-ov-goal.is-on .sim-ov-burst i { animation: ov-confetti calc(var(--d) * 1s) .1s ease-out both; }
/* Penalty: a banner sliding in; a miss or save gets the other team's colour. */
.sim-ov-pen .sim-ov-big { font-size: clamp(36px, 7vw, 72px); }
.sim-ov-pen.is-on, .sim-ov-miss.is-on { animation: ov-band .5s ease-out both; }
.sim-ov-pen, .sim-ov-miss { background: linear-gradient(90deg, transparent, rgba(7, 11, 26, .78) 18%, rgba(7, 11, 26, .78) 82%, transparent) center / 100% 42% no-repeat; }
.sim-ov-pen.is-on .sim-ov-big { animation: ov-slide .55s cubic-bezier(.2, 1.2, .4, 1) both; }
.sim-ov-miss .sim-ov-big { color: #22D3EE; }
.sim-ov-miss.is-on .sim-ov-big { animation: ov-shake .5s ease-out both; }
/* Yellow card: the card flips in beside the player's name. */
.sim-ov-card { grid-auto-flow: column; gap: 16px; }
.sim-ov-card > span { display: grid; gap: 2px; justify-items: start; text-align: left; padding: 12px 18px; border-radius: 14px; background: rgba(7, 11, 26, .82); }
.sim-ov-card b { font-size: clamp(18px, 2.6vw, 26px); font-weight: 800; }
.sim-ov-cardface { display: block; width: clamp(46px, 6vw, 66px); aspect-ratio: 3 / 4.2; border-radius: 8px; background: linear-gradient(160deg, #FFE066, #F5C518 60%, #D9A90E); box-shadow: 0 10px 30px rgba(0, 0, 0, .5), inset 0 0 0 2px rgba(255, 255, 255, .35); }
.sim-ov-card.is-on .sim-ov-cardface { animation: ov-flip .6s cubic-bezier(.2, 1.3, .4, 1) both; }
.sim-ov-card.is-on > span { animation: ov-rise .4s .2s ease-out both; }
.sim-ov-save .sim-ov-mid, .sim-ov-banner .sim-ov-mid { padding: 10px 22px; border-radius: 14px; background: rgba(7, 11, 26, .8); }
.sim-ov-save.is-on, .sim-ov-banner.is-on { animation: ov-rise .4s ease-out both; }
.sim-ov-save .sim-ov-mid { color: #22D3EE; }
@keyframes ov-wash { 0% { opacity: 0; } 15% { opacity: 1; } 100% { opacity: 1; } }
@keyframes ov-punch { 0% { transform: scale(.2); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes ov-rise { 0% { transform: translateY(12px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes ov-confetti { 0% { opacity: 1; transform: rotate(var(--a)) translateY(0); } 100% { opacity: 0; transform: rotate(calc(var(--a) + 160deg)) translateY(-190px); } }
@keyframes ov-band { 0% { background-size: 0 42%; } 100% { background-size: 100% 42%; } }
@keyframes ov-slide { 0% { transform: translateX(-60px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes ov-shake { 0%, 100% { transform: none; } 20% { transform: translateX(-10px); } 40% { transform: translateX(9px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(3px); } }
@keyframes ov-flip { 0% { transform: perspective(400px) rotateY(90deg) translateY(-30px); opacity: 0; } 100% { transform: perspective(400px) rotateY(0) rotate(-8deg); opacity: 1; } }
.sim-ev-pen .sim-ico { color: #F0616D; font-weight: 800; }

/* Bet Builder: total odds, value and Build your own (13 Nov 2026) */
.bb-sum { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: auto; }
.bb-sum .bb-joint { margin-top: 0; }
.bb-total { position: relative; display: grid; gap: 2px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--stripe); }
.bb-total span { color: var(--ink-2); font-size: 12.5px; font-weight: 600; font-family: var(--mono, monospace); }
.bb-total b { font-family: var(--mono, monospace); font-size: 24px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.bb-total small { color: var(--ink-2); font-size: 12px; }
.bb-total.is-value { border-color: #2FBF71; background: color-mix(in srgb, #2FBF71 12%, var(--surface)); }
.bb-value-tag, .bb-chip em, .bb-price em, .bb-value-key em { font-style: normal; font-weight: 700; color: #2FBF71; }
.bb-value-tag { position: absolute; top: 10px; right: 10px; padding: 1px 8px; border-radius: 999px; border: 1px solid #2FBF71; font-size: 11.5px; }
.bb-price.is-value { color: #2FBF71; }
.bb-edit { justify-self: start; padding: 6px 0; border: 0; background: none; color: var(--link); font: 600 13.5px var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.bb-own { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); gap: 16px; align-items: start; margin-top: 12px; }
.bb-own-card { position: sticky; top: 84px; }
.bb-own-empty { margin: 0; color: var(--ink-2); font-size: 14px; }
.bb-markets { display: grid; gap: 16px; }
.bb-market h3 { margin: 0 0 8px; font-size: 14px; color: var(--ink-2); }
.bb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bb-chip { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 10px; row-gap: 1px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.bb-chip span { font-weight: 600; font-size: 14px; }
.bb-chip small { grid-column: 1; color: var(--ink-2); font-size: 12px; }
.bb-chip b { grid-column: 2; grid-row: 1 / span 2; font-family: var(--mono, monospace); font-size: 14px; }
.bb-chip em { grid-column: 1 / -1; font-size: 11.5px; }
.bb-chip.is-value { border-color: color-mix(in srgb, #2FBF71 60%, var(--line)); }
.bb-chip:hover { border-color: var(--accent); }
.bb-chip[aria-pressed="true"] { border-color: var(--signal, #3D7BFF); background: color-mix(in srgb, var(--signal, #3D7BFF) 16%, var(--surface)); box-shadow: 0 0 0 1px var(--signal, #3D7BFF) inset; }
.bb-chip:focus-visible, .bb-remove:focus-visible, .bb-edit:focus-visible { outline: 2px solid var(--signal, #3D7BFF); outline-offset: 2px; }
.bb-own-card .bb-legs li { grid-template-columns: minmax(0, 1fr) auto auto; }
.bb-remove { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 8px; background: none; color: var(--ink-2); font-size: 18px; line-height: 1; cursor: pointer; }
.bb-remove:hover { color: var(--ink); border-color: var(--ink-2); }
@media (max-width: 900px) { .bb-own { grid-template-columns: minmax(0, 1fr); } .bb-own-card { position: static; } }
@media (max-width: 420px) { .bb-sum { grid-template-columns: minmax(0, 1fr); } }

/* Bet Builder: value ratings and form notes in place of chance meters (13 Nov 2026) */
.bb-legs li, .bb-singles li { grid-template-columns: minmax(0, 1fr) auto; }
.bb-own-card .bb-legs li { grid-template-columns: minmax(0, 1fr) auto auto; }
.bb-form { display: block; margin-top: 2px; color: var(--ink-2); font-size: 12px; font-weight: 500; }
.bb-price { gap: 2px; }
.bb-price em.bb-rate, .bb-chip em.bb-rate { font-style: normal; font-family: var(--font); font-size: 11px; font-weight: 700; white-space: nowrap; }
.bb-rate { padding: 1px 7px; border-radius: 999px; border: 1px solid currentColor; }
.bb-rate.is-strong { color: #1FA35C; background: color-mix(in srgb, #2FBF71 16%, transparent); }
.bb-rate.is-good { color: #2FBF71; }
.bb-rate.is-fair { color: var(--ink-2); border-color: var(--line); }
.bb-rate.is-short { color: #E0848B; border-color: color-mix(in srgb, #E0848B 45%, transparent); }
.bb-price.is-strong, .bb-price.is-good { color: #2FBF71; }
.bb-chip.is-strong, .bb-chip.is-good { border-color: color-mix(in srgb, #2FBF71 55%, var(--line)); }
.bb-chip em.bb-rate { justify-self: start; margin-top: 3px; }
.bb-total { margin-top: auto; }
@media (max-width: 520px) { .bb-legs li .meter { display: none; } }

/* Bet Builder: three types side by side, and Build your own as one picker per market (13 Nov 2026) */
.bb-topbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bb-topbar .data-flag { flex: 1 1 420px; margin: 0; }
.bb-own-jump { flex: none; }
.bb-grid.bb-types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bb-types .bb-card header h2::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 3px; vertical-align: 2px; }
.bb-types .bb-value header h2::before { background: #2FBF71; }
.bb-types .bb-balanced header h2::before { background: var(--signal, #3D7BFF); }
.bb-types .bb-long header h2::before { background: #F5B83D; }
.bb-own-wrap { margin-top: 36px; padding: 20px; border: 1px solid color-mix(in srgb, var(--signal, #3D7BFF) 35%, var(--line)); border-radius: 20px; background: color-mix(in srgb, var(--signal, #3D7BFF) 5%, var(--surface)); scroll-margin-top: 80px; }
.bb-own-head .section-title { margin: 0 0 4px; }
.bb-own-head .section-sub { margin: 0 0 14px; }
.bb-own { margin-top: 0; }
.bb-pickers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; }
.bb-pick { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.bb-pick select { width: 100%; min-height: 46px; padding: 0 36px 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238E9BC0' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--ink); font: 500 14px var(--font); appearance: none; cursor: pointer; }
.bb-pick select:hover { border-color: var(--accent); }
.bb-pick select:focus-visible { outline: 2px solid var(--signal, #3D7BFF); outline-offset: 2px; }
@media (max-width: 900px) { .bb-grid.bb-types { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) { .bb-pickers { grid-template-columns: minmax(0, 1fr); } .bb-own-wrap { padding: 14px; } .bb-own-jump { width: 100%; justify-content: center; } }

/* Value Finder: ranked by value, not chance (13 Nov 2026) */
.value-grade { display: grid; gap: 2px; justify-items: start; padding: 6px 10px; border-radius: 10px; border: 1px solid color-mix(in srgb, #2FBF71 50%, var(--line)); background: color-mix(in srgb, #2FBF71 9%, var(--surface)); }
.value-grade b { color: #2FBF71; font-size: 14px; white-space: nowrap; }
.value-grade small { color: var(--ink-2); font-size: 11.5px; font-family: var(--mono, monospace); white-space: nowrap; }
.value-grade.is-excellent { border-color: #2FBF71; background: color-mix(in srgb, #2FBF71 18%, var(--surface)); }
.is-value-row .standout-main { grid-template-columns: 22px 150px minmax(0, 1.2fr) minmax(0, 1fr) auto; }
@media (max-width: 720px) { .is-value-row .standout-main { grid-template-columns: 22px minmax(0, 1fr); } .is-value-row .value-grade { justify-self: start; } .is-value-row .standout-name, .is-value-row .standout-fixture { grid-column: 1 / -1; } }
.bb-stats-link { display: inline-flex; align-items: center; gap: 8px; }
.bb-stats-link svg { width: 18px; height: 18px; }
.bb-noprice { margin: 0; color: var(--ink-2); font-size: 14px; }
.bb-topbar { margin-bottom: 4px; }

/* Home: value acca of the day (13 Nov 2026) */
.hx-acca { margin-top: 8px; margin-bottom: 40px; }
.hx-acca-head h2 { margin: 0 0 4px; font-family: 'Archivo', var(--font); font-stretch: 125%; font-size: clamp(20px, 2.6vw, 28px); letter-spacing: -.01em; }
.hx-acca-head p { margin: 0 0 14px; color: var(--ink-2); }
.hx-acca-card { display: grid; gap: 12px; padding: 18px; border: 1px solid color-mix(in srgb, #2FBF71 40%, var(--line)); border-radius: 20px; background: linear-gradient(160deg, color-mix(in srgb, #2FBF71 7%, var(--surface)), var(--surface)); }
.hx-acca-day { margin: 0; color: var(--ink-2); font: 600 12.5px var(--mono, monospace); }
.hx-acca-legs { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hx-acca-legs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--stripe); }
.hx-acca-leg { display: grid; gap: 2px; min-width: 0; }
.hx-acca-leg b { font-size: 15px; }
.hx-acca-leg a { color: var(--ink); font-size: 13.5px; }
.hx-acca-leg small, .hx-acca-price small { color: var(--ink-2); font-size: 12px; }
.hx-acca-price { display: grid; justify-items: end; gap: 2px; }
.hx-acca-price b { font: 700 16px var(--mono, monospace); }
.hx-acca-price .value-tag { margin: 0; font-style: normal; }
.hx-acca-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.hx-acca-total { display: grid; gap: 2px; }
.hx-acca-total span { color: var(--ink-2); font: 600 12.5px var(--mono, monospace); }
.hx-acca-total b { font: 800 28px var(--mono, monospace); line-height: 1.1; }
.hx-acca-total small { color: #2FBF71; font-size: 12.5px; font-weight: 600; }
.hx-acca-card .table-note { margin: 0; }
.hx-acca-card.is-locked p { margin: 0; }
.hx-acca-blur { filter: blur(5px); user-select: none; color: var(--ink-2); }
.hx-acca-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.hx-acca-card h3 { margin: 0; font-size: 17px; }
.hx-builder-card { border-color: color-mix(in srgb, var(--signal, #3D7BFF) 40%, var(--line)); background: linear-gradient(160deg, color-mix(in srgb, var(--signal, #3D7BFF) 7%, var(--surface)), var(--surface)); }
.hx-acca-day a { color: var(--ink); }
.hx-acca-card .hx-acca-foot { margin-top: auto; }
@media (max-width: 860px) { .hx-acca-grid { grid-template-columns: minmax(0, 1fr); } }
.hx-acca-card em.bb-rate { font-style: normal; }
.hx-mg-game { display: grid; gap: 6px; }
.hx-mg-game + .hx-mg-game { padding-top: 10px; border-top: 1px dashed var(--line); }
.hx-mg-links { display: flex; flex-wrap: wrap; gap: 8px; }
.hx-mg-links .button { font-size: 13.5px; }
.value-tag.value-best { border-color: var(--line); color: var(--ink-2); }

/* AI picks of the day (13 Nov 2026): one card style for the acca and the builder */
.ai-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--signal, #3D7BFF) 55%, var(--line)); background: color-mix(in srgb, var(--signal, #3D7BFF) 12%, transparent); color: var(--signal-2, #22D3EE); font: 700 11.5px var(--mono, monospace); white-space: nowrap; }
.ai-chip .spark, .ai-chip svg { width: 13px; height: 13px; }
.hx-acca-grid { align-items: stretch; }
.hx-pick { display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.hx-pick.is-builder { border-color: color-mix(in srgb, var(--signal, #3D7BFF) 30%, var(--line)); }
.hx-pick-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.hx-pick-head h3 { margin: 2px 0 0; font-family: 'Archivo', var(--font); font-stretch: 115%; font-size: 19px; }
.hx-pick-kind { color: var(--ink-2); font: 600 12px var(--mono, monospace); }
.hx-pick-meta { margin: -4px 0 0; color: var(--ink-2); font-size: 13px; }
.hx-pick-game { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 4px 0 -4px; font-weight: 700; font-size: 14px; }
.hx-pick-game a { color: var(--ink); }
.hx-pick-game small { color: var(--ink-2); font: 500 12px var(--mono, monospace); }
.hx-pick-legs { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.hx-pick-legs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.hx-pick-what { display: grid; gap: 2px; min-width: 0; }
.hx-pick-what b { font-size: 14.5px; font-weight: 650; }
.hx-pick-what small { color: var(--ink-2); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx-pick-what small a { color: inherit; }
.hx-pick-odds { display: grid; grid-template-columns: auto auto; justify-items: end; align-items: center; column-gap: 8px; row-gap: 1px; }
.hx-pick-odds b { grid-column: 2; font: 700 15px var(--mono, monospace); }
.hx-pick-odds .bb-rate { grid-column: 1; grid-row: 1; font-style: normal; font-size: 11px; font-weight: 700; }
.hx-pick-odds small { grid-column: 1 / -1; color: var(--ink-2); font-size: 11.5px; }
.hx-pick-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 4px; }
.hx-pick-total { display: grid; gap: 1px; }
.hx-pick-total span { color: var(--ink-2); font: 600 12px var(--mono, monospace); }
.hx-pick-total b { font: 800 28px var(--mono, monospace); line-height: 1.1; }
.hx-pick-total small { color: var(--ink-2); font-size: 12.5px; }
.hx-pick.is-locked .hx-pick-legs li { color: var(--ink-2); }
.hx-acca-note { margin: 12px 0 0; color: var(--ink-2); font-size: 12.5px; }
.hx-acca { margin-bottom: 28px; }
.bb-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.bb-card-head > div { display: grid; gap: 2px; }
.bb-ai-title { margin: 20px 0 4px; }

/* Odds comparison (13 Nov 2026) */
.oc-markets { margin: 16px 0 12px; }
.oc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.oc-table th, .oc-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.oc-table thead th { color: var(--ink-2); font-size: 12.5px; font-weight: 700; }
.oc-table th[scope="row"], .oc-table thead th:first-child { text-align: left; white-space: normal; min-width: 180px; }
.oc-table th[scope="row"] small { display: block; color: var(--ink-2); font-size: 12px; font-weight: 500; }
.oc-chance { color: var(--ink-2); font-size: 13px; }
.oc-price b { font: 600 15px var(--mono, monospace); }
.oc-price small { display: block; font-size: 10.5px; font-weight: 700; color: var(--ink-2); }
.oc-price.is-best { background: color-mix(in srgb, var(--signal, #3D7BFF) 12%, transparent); }
.oc-price.is-best b { font-weight: 800; }
.oc-price.is-good b, .oc-price.is-strong b { color: #2FBF71; }
.oc-none { color: var(--ink-2); }

/* Compare bookmakers for a chosen builder or acca (13 Nov 2026) */
.bb-compare { display: grid; gap: 8px; }
.bb-compare h3 { margin: 4px 0 0; font-size: 15px; }
.bb-compare-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.bb-compare-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "book total" "note note"; align-items: center; gap: 2px 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; }
.bb-compare-book { grid-area: book; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.bb-compare-book em { font-style: normal; padding: 1px 8px; border-radius: 999px; background: color-mix(in srgb, var(--signal, #3D7BFF) 18%, transparent); color: var(--signal-2, #22D3EE); font-size: 11px; font-weight: 700; }
.bb-compare-list b { grid-area: total; font: 800 17px var(--mono, monospace); }
.bb-compare-list small { grid-area: note; color: var(--ink-2); font-size: 12px; }
.bb-compare-list li.is-best { border-color: var(--signal, #3D7BFF); background: color-mix(in srgb, var(--signal, #3D7BFF) 8%, transparent); }
.bb-compare-list li.is-missing { opacity: .7; }
.bb-compare-note { margin: 0; color: var(--ink-2); font-size: 12px; }

/* Acca builder (13 Nov 2026) */
.acca-own { margin-top: 8px; }
.acca-games .value-day:first-child { margin-top: 0; }
.acca-list { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.acca-game { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.acca-game-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin: 0; }
.acca-game-head a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }
.acca-game-head small { color: var(--ink-2); font: 500 12px var(--mono, monospace); }
.acca-sels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.acca-sel { display: grid; gap: 2px; justify-items: center; padding: 8px 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--stripe); color: var(--ink); font: inherit; cursor: pointer; text-align: center; }
.acca-sel span { font-size: 13px; font-weight: 600; }
.acca-sel b { font: 700 15px var(--mono, monospace); }
.acca-sel:hover { border-color: var(--accent); }
.acca-sel[aria-pressed="true"] { border-color: var(--signal, #3D7BFF); background: color-mix(in srgb, var(--signal, #3D7BFF) 16%, var(--surface)); box-shadow: 0 0 0 1px var(--signal, #3D7BFF) inset; }
.acca-sel:focus-visible { outline: 2px solid var(--signal, #3D7BFF); outline-offset: 2px; }
.acca-more select { min-height: 40px; }
.bb-compare-list b i { margin-left: 8px; color: var(--ink-2); font-style: normal; font-size: 12.5px; font-weight: 600; }
.hx-slip-row:empty { display: none; }
.hx-slip-row { display: grid; gap: 4px; }
.hx-slip { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; }
.hx-slip-note { color: var(--ink-2); font-size: 12px; text-align: center; }
.day-pick-compare { margin-left: 8px; font-size: 13px; }
.band-chip { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 999px; font: 700 11px var(--mono, monospace); border: 1px solid var(--line); color: var(--ink-2); }
.band-chip.is-short { border-color: color-mix(in srgb, #2FBF71 50%, var(--line)); color: #2FBF71; }
.band-chip.is-mid { border-color: color-mix(in srgb, var(--signal, #3D7BFF) 55%, var(--line)); color: var(--signal-2, #22D3EE); }
.band-chip.is-long { border-color: color-mix(in srgb, #F5B83D 55%, var(--line)); color: #F5B83D; }

/* Daily Picks cards (15 Nov 2026): rating, pick, chance and value, best price */
.pick-list:has(.dp-card) { gap: 12px; }
.dp-card { display: grid; grid-template-columns: 76px minmax(0, 1fr) minmax(120px, auto); gap: 14px 16px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); list-style: none; }
.dp-side { display: grid; justify-items: center; gap: 6px; }
.dp-rank { color: var(--ink-2); font: 700 12px var(--mono, monospace); }
.dp-rating { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; border: 1px solid var(--line); background: var(--stripe); }
.dp-rating b { font: 800 22px/1 var(--mono, monospace); }
.dp-rating small { color: var(--ink-2); font-size: 10.5px; font-weight: 600; }
.dp-rating.is-good { border-color: color-mix(in srgb, var(--signal, #3D7BFF) 55%, var(--line)); background: color-mix(in srgb, var(--signal, #3D7BFF) 10%, var(--surface)); }
.dp-rating.is-top { border-color: #2FBF71; background: color-mix(in srgb, #2FBF71 14%, var(--surface)); }
.dp-rating.is-top b { color: #2FBF71; }
.dp-body { display: grid; gap: 4px; min-width: 0; }
.dp-pick { margin: 0; font-size: 17px; font-weight: 750; letter-spacing: -.01em; }
.dp-pick svg { width: 16px; height: 16px; vertical-align: -2px; margin-right: 6px; }
.dp-sub { margin: 0; color: var(--ink-2); font-size: 13px; }
.dp-fixture { margin: 2px 0 0; font-size: 13.5px; color: var(--ink-2); }
.dp-fixture a { color: var(--ink); font-weight: 600; }
.dp-confirmed { color: #2FBF71; font-weight: 600; }
.dp-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.dp-fact { display: inline-flex; align-items: baseline; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--stripe); font-size: 12.5px; }
.dp-fact small { color: var(--ink-2); font-size: 11.5px; }
.dp-fact b { font: 700 13px var(--mono, monospace); }
.dp-fact.is-value { background: color-mix(in srgb, #2FBF71 14%, var(--surface)); }
.dp-fact.is-value b { color: #2FBF71; }
.dp-reason { margin: 6px 0 0; color: var(--ink-2); font-size: 13px; }
.dp-odds { display: grid; justify-items: end; gap: 6px; text-align: right; }
.dp-price b { display: block; font: 800 20px var(--mono, monospace); }
.dp-price small { color: var(--ink-2); font-size: 12px; }
.dp-compare, .dp-locked-odds { font-size: 13px; }
.dp-card.is-locked .dp-pick { color: var(--ink-2); }
@media (max-width: 640px) {
  .dp-card { grid-template-columns: 64px minmax(0, 1fr); }
  .dp-odds { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; justify-items: start; text-align: left; padding-top: 8px; border-top: 1px solid var(--line); }
  .dp-rating { width: 56px; height: 56px; }
}

/* Forecast status line on match predictions (15 Nov 2026) */
.forecast-status { display: grid; gap: 6px; margin: 0 0 12px; }
.fs-line { margin: 0; color: var(--ink-2); font-size: 13px; }
.fs-confirmed { color: #2FBF71; }
.fs-change { margin: 0; padding: 8px 12px; border-radius: 10px; background: color-mix(in srgb, var(--signal, #3D7BFF) 10%, var(--surface)); font-size: 13.5px; }
.fs-stale { margin: 0; padding: 8px 12px; border-radius: 10px; border: 1px solid color-mix(in srgb, #F5B83D 60%, var(--line)); background: color-mix(in srgb, #F5B83D 10%, var(--surface)); font-size: 13.5px; }
.ad-health { margin: 0 0 10px; font-size: 14px; } .ad-health.is-ok b { color: #2FBF71; } .ad-health.is-warn b { color: #F5B83D; } .ad-health.is-fail b { color: #F0616D; }
