/* ==========================================================================
   Match — theme layer v4 "Mint sportsbook" (docs/design/DESIGN_V4.md)
   Loaded LAST (after page CSS). v4 is flat: deep navy surfaces, 1px borders,
   one mint accent, red only for live + errors. No gradients, no glows, no purple/orange.
   Colours only through tokens from match.css.
   ========================================================================== */

/* ---------- page: solid, no wash ------------------------------------------ */
html { background-color: var(--bg); }
body { background: var(--bg); }
body.page-staff, body.page-admin { background-image: none; }

/* ---------- header ---------------------------------------------------------- */
.site-header { background: var(--bg); background-image: none; border-bottom: 1px solid var(--border); }
.site-header::before { content: none; }
.brand-word { color: var(--text); background: none; -webkit-text-fill-color: currentColor; }
.avatar { background: var(--surface-3); color: var(--text); }
.avatar.is-guest { background: var(--surface-3); }

/* ---------- theme toggle (sun / moon) -------------------------------------- */
.theme-toggle { overflow: hidden; }
.theme-toggle .icon { position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; transition: opacity var(--dur-3) var(--ease), transform var(--dur-3) var(--ease); }
.theme-toggle .tt-sun { color: var(--warning); opacity: 0; transform: rotate(-40deg) scale(.7); }
.theme-toggle .tt-moon { color: var(--text-2); }
html[data-theme="dark"] .theme-toggle .tt-sun { opacity: 1; transform: none; }
html[data-theme="dark"] .theme-toggle .tt-moon { opacity: 0; transform: rotate(40deg) scale(.7); }
@media (prefers-color-scheme: dark) {
  html[data-theme="system"] .theme-toggle .tt-sun { opacity: 1; transform: none; }
  html[data-theme="system"] .theme-toggle .tt-moon { opacity: 0; transform: rotate(40deg) scale(.7); }
}
html[data-motion="reduced"] .theme-toggle .icon { transition: opacity var(--dur-3) var(--ease); transform: none !important; }

/* ---------- chips / tabs / segmented ---------------------------------------- */
.chip.is-active, .chip[aria-pressed="true"], .chip[aria-current="page"] {
  background: var(--accent); border-color: var(--accent); color: var(--on-accent);
}
.tab.is-active::after, .tab[aria-selected="true"]::after, .tab[aria-current="page"]::after, .slip-tab.is-active::after,
.fx-ind-host > .fx-ind { background: var(--accent); height: 3px; }
.seg-btn[aria-current="page"], .segmented button[aria-pressed="true"] { color: var(--accent-text); box-shadow: inset 0 0 0 1px var(--border-strong); }
.acc-seg input:checked + span, .dx-seg-btn.is-active, .dx-seg > .tab.is-active, .mc-seg > .is-active, .bt-status-tab.is-active { color: var(--accent-text); }
.seg, .segmented { background: var(--surface-2); }
.stepper li.is-current::before { background: var(--accent-soft); color: var(--accent-text); box-shadow: inset 0 0 0 2px var(--accent); }
.stepper li.is-done::before { background: var(--accent); color: var(--on-accent); }
.progress > span { background: var(--accent); }

/* ---------- cards ------------------------------------------------------------ */
.card, .fixtures { background: var(--surface); border-color: var(--border); box-shadow: none; }
.card-head h2 > .icon:first-child, .card-head h3 > .icon:first-child, .fx-head h2 > .icon:first-child, .sec-ico {
  display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 5px; margin-right: 8px; vertical-align: middle;
  border-radius: 8px; background: var(--surface-3); color: var(--accent-text); box-sizing: border-box;
}
.sec-ico .icon { width: 16px; height: 16px; }
.sec-ico.is-warm, .card-head h2 > .icon.is-warm, .sec-ico.is-yellow { background: var(--surface-3); color: var(--warning); }
.sec-ico.is-green { background: var(--accent-soft); color: var(--accent-text); }
.card-head h2, .card-head h3, .fx-head h2 { display: inline-flex; align-items: center; }

/* ---------- buttons ---------------------------------------------------------- */
.btn-primary, .page-acc .btn-primary, .rc-primary {
  background: var(--accent); background-image: none; border-color: var(--accent); color: var(--on-accent); box-shadow: none;
  transition: background-color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
.btn-primary:hover, .page-acc .btn-primary:hover, .rc-primary:hover {
  background: var(--accent-hover); background-image: none; border-color: var(--accent-hover); color: var(--on-accent);
}
.btn-primary[disabled], .btn-primary:disabled { opacity: .5; }
.btn-danger, .page-acc .btn-danger { background: var(--danger-fill); border-color: var(--danger-fill); color: #fff; }
.btn-danger:hover, .page-acc .btn-danger:hover { background: color-mix(in srgb, var(--danger-fill) 86%, #000); border-color: transparent; color: #fff; }
.acc-filter.is-active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.acc-filter.is-active .acc-count { background: rgba(6, 36, 23, .18); color: var(--on-accent); }
.btn-accent { background: var(--accent); background-image: none; border-color: var(--accent); color: var(--on-accent); }
.btn-ghost:hover { background: var(--hover); }
.btn:not(.btn-primary):not(.btn-accent):not(.btn-danger):not(.btn-ghost):hover { border-color: var(--border-strong); background-color: var(--hover); }
.link-btn, a { text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }

/* ---------- live = red dot; badges ------------------------------------------ */
.live-pill { background: var(--live); background-image: none; color: #fff; }
.badge-live { background: var(--live-soft); color: var(--live); }
.band-live .fx-band-head { background: var(--surface-2); }
.money, .summary .summary-total dd, .pkg-option .pkg-price {
  color: var(--accent-text); background: none; -webkit-text-fill-color: currentColor;
}
.badge-accent { background: var(--accent); background-image: none; color: var(--on-accent); }
.badge-warm, .chip-warm, .badge-win { background: var(--accent-soft); color: var(--accent-text); }
.badge-yellow, .badge-popular, .badge-boost { background: var(--warning-soft); color: var(--warning-text); box-shadow: none; }
.badge-success { background: var(--success-soft); color: var(--success); }

/* favourites stars */
.fav-btn[aria-pressed="true"], .mc-actions .fav-btn[aria-pressed="true"], .sb-top .fav-btn[aria-pressed="true"] { color: var(--warning); }

/* ---------- heroes / banners: dark navy art, no glow ------------------------ */
.hero { background: var(--hero-bg); box-shadow: none; border: 1px solid var(--border); color: #fff; }
.hero.card { box-shadow: none; }
.acc-balance .btn-primary, .page-acc .acc-balance .btn-primary, .hero .btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.mc-hero, .dx-hero:not(.has-photo) { overflow: hidden; background: var(--surface); background-image: none; }
.mc-hero::before, .dx-hero:not(.has-photo)::before { content: none; }

/* wallet balance card + auth panel + support head: navy surfaces */
.acc-balance, html[data-theme="dark"] .acc-balance { background: var(--surface); border: 1px solid var(--border); color: var(--text); }
@media (prefers-color-scheme: dark) { html[data-theme="system"] .acc-balance { background: var(--surface); } }
.auth-brand, .sw-head, .acc-art:not(.has-photo) { background: var(--hero-bg); }

/* ---------- empty states ---------------------------------------------------- */
.empty-state { padding: 36px 20px; gap: 10px; }
.empty-state .icon-circle, .slip-empty .icon-circle, .notif-empty .notif-ico {
  width: 56px; height: 56px; border-radius: 14px; background: var(--surface-3); color: var(--accent-text); box-shadow: none;
}
.empty-state .icon-circle .icon { width: 24px; height: 24px; }
.empty-state h3 { font-size: 16px; line-height: 24px; }
.empty-state p { color: var(--text-2); }

/* ---------- notices / demo strip -------------------------------------------- */
.notice { border-radius: var(--r-control); }
.demo-strip { background: var(--surface); color: var(--muted); border-bottom: 1px solid var(--border); }

/* ---------- forms: dark inputs + mint focus ring ------------------------------ */
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="search"], input[type="tel"], input[type="url"], input[type="date"], select, textarea, .input {
  background-color: var(--surface-2); border-color: var(--border-strong); color: var(--text);
}
input:focus-visible, select:focus-visible, textarea:focus-visible, .input:focus-visible { border-color: var(--accent); box-shadow: var(--ring); outline: none; }

/* ---------- mobile targets ---------------------------------------------------- */
@media (max-width: 767px) {
  .main { padding: 14px 14px 28px; }
  .side-link, .menu-link, .sp-item { min-height: 46px; }
  .segmented button { min-height: 40px; }
  .tab { min-height: 46px; }
  .card-head { min-height: 56px; }
}

/* ---------- design-system sampler: each half renders its own theme ---------- */
.ds-theme[data-theme] { background: var(--bg); color: var(--text); }

/* ==========================================================================
   v4 SHELL + SPORTSBOOK COMPONENTS (lead UI: header, sidebar, feeds, odds, slip)
   Built to the client reference (1672×941). Desktop ≥1100px three columns.
   ========================================================================== */
:root { --header-h: 56px; }
@media (min-width: 768px) { :root { --header-h: 64px; } }
@media (min-width: 1280px) { :root { --side-w: 236px; --slip-w: 360px; } }
@media (min-width: 1440px) { :root { --side-w: 264px; --slip-w: 420px; } }

/* ---------- header (64px, flat on --bg) ---------- */
.header-inner { gap: 6px; }
@media (min-width: 1100px) { .header-inner { padding: 0 24px 0 28px; } }
.brand { gap: 10px; font-size: 22px; font-weight: 700; margin-right: 6px; }
/* logo size: see "VS logo: full-size wordmark" further down */
.brand-word { font-size: 21px; letter-spacing: -.01em; }
.hdr-divider { height: 28px; background: var(--border-strong); margin: 0 20px 0 10px; }
.header-nav { gap: 0; }
.nav-pill { padding: 0 14px; font-size: 16px; font-weight: 500; color: var(--text-2); gap: 6px; }
.nav-pill::after { left: 14px; right: 14px; bottom: 6px; height: 3px; border-radius: 3px; }
.nav-pill:hover::after { background: transparent; }
.nav-pill:hover { color: var(--text); }
.nav-pill[aria-current="page"], .nav-pill.is-active { color: var(--accent-text); font-weight: 600; }
.nav-pill[aria-current="page"]::after, .nav-pill.is-active::after { background: var(--accent); height: 3px; }
.nav-pill .live-dot { width: 6px; height: 6px; margin-left: 2px; }
.header-actions { gap: 6px; }
.hdr-search-field {
  width: clamp(220px, 24vw, 372px); height: 44px; padding: 0 12px 0 16px; gap: 12px; margin-right: 4px; border-radius: 12px;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--muted); font-size: 15px;
}
.hdr-search-field .icon { width: 20px; height: 20px; color: var(--text-2); }
.hdr-search-field .kbd { display: none; }
.hdr-search-field:hover { border-color: var(--muted); }
@media (min-width: 1100px) { .hdr-search-field { display: inline-flex; } .hdr-search { display: none; } }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; color: var(--text-2); }
.icon-btn .icon { width: 20px; height: 20px; }
.hdr-divider-r { margin: 0 6px; }
.balance-pill {
  height: 44px; padding: 0 16px; gap: 6px; margin-left: 2px; border-radius: 10px; background: var(--surface); background-image: none;
  border: 1px solid var(--border-strong); color: var(--text); font-size: 17px; font-weight: 700;
}
.balance-pill:hover { background: var(--surface-2); background-image: none; border-color: var(--accent); color: var(--text); }
.balance-pill .icon { display: none; }
.balance-pill small { font-size: 17px; font-weight: 700; opacity: 1; }
.user-chip { gap: 6px; padding: 0 4px; }
.user-chip .user-name { display: none !important; }
.user-chip .user-chev { display: inline; width: 18px; height: 18px; color: var(--text-2); }
.avatar { width: 40px; height: 40px; background: var(--surface-3); color: var(--text); }
.avatar .icon { width: 22px; height: 22px; }
.menu-panel { background: var(--surface); border-color: var(--border-strong); }
.menu-meta { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--muted); }
.menu-meta.is-live { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--live); color: #fff; text-align: center; line-height: 20px; }
.user-menu .menu-panel { max-height: calc(100vh - var(--header-h) - 16px); overflow-y: auto; }
.segmented button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.hdr-signin { min-height: 40px; }
@media (max-width: 767px) {
  .brand-word { display: none; }
  .balance-pill { height: 38px; padding: 0 10px; font-size: 15px; }
  .balance-pill small { font-size: 15px; }
  .avatar { width: 34px; height: 34px; }
  .hdr-divider-r, .theme-toggle { display: none; }
  .user-chip .user-chev { display: none; }
}
@media (max-width: 1099px) { .hdr-divider-r { display: none; } }
@media (min-width: 768px) and (max-width: 1099px) { .nav-pill { padding: 0 9px; font-size: 14px; } .nav-pill::after { left: 9px; right: 9px; } .hdr-divider { margin: 0 8px; } }
@media (min-width: 768px) { .nav-pill .nav-txt { position: static; width: auto; height: auto; overflow: visible; clip: auto; } }

/* ---------- shell ---------- */
.shell { background: var(--bg); }
@media (min-width: 1100px) {
  .main { padding: 20px 20px 32px; }
  .side-slip { background: var(--bg); border-left: 0; padding: 20px 16px 24px 4px; box-shadow: none; }
}
@media (min-width: 1280px) {
  .side-nav { background: var(--bg); background-image: none; border-right: 1px solid var(--border); }
  .main { padding: 20px 22px 32px; }
}
@media (min-width: 1440px) { .side-slip { padding: 20px 14px 24px 2px; } }

/* ---------- left sidebar ---------- */
.side-panel { padding: 16px 12px 24px; }
.side-group + .side-group { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border-strong); }
.side-group .eyebrow { padding: 6px 12px 10px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--text-2); text-transform: uppercase; }
.side-link { min-height: 44px; padding: 0 12px; gap: 14px; border-radius: 10px; font-size: 16px; font-weight: 500; color: var(--text); }
.side-link + .side-link { margin-top: 2px; }
.side-ico, .side-ico .icon { width: 22px; height: 22px; color: var(--text-2); }
.side-name { flex-direction: row; align-items: center; gap: 8px; line-height: 20px; }
.side-link .side-meta { font-size: 15px; font-weight: 600; color: var(--text); background: none; padding: 0; min-width: 0; height: auto; }
.side-link .side-meta.is-live { background: none; color: var(--text); }
.side-link:hover:not([aria-current="page"]) { background: var(--hover); color: var(--text); }
.side-link[aria-current="page"] { background: var(--accent); color: var(--on-accent); font-weight: 600; box-shadow: none; }
.side-link[aria-current="page"]::before { content: none; }
.side-link[aria-current="page"] .side-ico, .side-link[aria-current="page"] .side-ico .icon, .side-link[aria-current="page"] .side-meta { color: var(--on-accent); }
.side-link[href$="/favourites/"][aria-current="page"] .icon { fill: currentColor; }
/* In-play: red dot + count; when active it is the mint-TINTED pill of the reference */
.side-inplay .side-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); flex: none; }
.side-inplay .side-ico .icon { color: var(--text); }
.side-inplay[aria-current="page"] { background: var(--accent-soft); color: var(--text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent); }
.side-inplay[aria-current="page"] .side-ico .icon, .side-inplay[aria-current="page"] .side-meta { color: var(--text); }
.side-quick .side-link:nth-child(2) .side-ico { color: var(--text-2); }

/* ---------- page heads ---------- */
.feed-head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin: 18px 0 12px; }
.feed-head h1 { display: inline-flex; align-items: center; gap: 10px; font-size: 28px; line-height: 36px; font-weight: 700; }
.feed-h-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); color: var(--accent-text); }
.feed-h-ico .icon { width: 20px; height: 20px; }
.feed-stats { display: flex; flex-wrap: wrap; gap: 6px; }
.stat-chip { height: 28px; padding: 0 10px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); font-size: 13px; }
.stat-chip.is-live { background: var(--live-soft); color: var(--text); border-color: transparent; }
.stat-chip.is-live b { color: var(--live); }
@media (max-width: 767px) { .feed-head { margin: 14px 0 10px; } .feed-head h1 { font-size: 22px; line-height: 30px; } }

/* ---------- chips (sport filters) ---------- */
.chip { min-height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font-size: 15px; font-weight: 500; gap: 8px; }
.chip:hover { border-color: var(--muted); color: var(--text); }
.chip .icon { width: 20px; height: 20px; color: var(--text-2); }
.chip .chip-count { font-size: inherit; font-weight: 500; color: var(--text-2); }
.chip.is-active, .chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
.chip[aria-current="page"] .icon, .chip.is-active .icon, .chip[aria-current="page"] .chip-count, .chip.is-active .chip-count { color: var(--on-accent); opacity: 1; }
.sport-chips-wrap, .sport-chips-wrap .chips { margin: 0; padding: 0; }
.sport-chips-wrap { position: relative; margin: 0 0 16px; background: transparent; border: 0; }
.sport-chips-wrap .chips { gap: 10px; }
.sport-chips-wrap .chip { min-height: 42px; }
.sport-chips-wrap .chips > .chip:last-child { margin-right: 0; }
.sport-chips-wrap::before { background: linear-gradient(90deg, var(--bg), transparent); }
.sport-chips-wrap::after { background: linear-gradient(270deg, var(--bg), transparent); }
@media (min-width: 768px) { .sport-chips-wrap { margin: 0 0 16px; } .sport-chips-wrap .chips { padding: 0; } }
@media (min-width: 1100px) { .sport-chips-wrap { margin: 0 0 16px; } .sport-chips-wrap .chips { padding: 0; } }
@media (min-width: 1280px) { .sport-chips-wrap { display: block; } }
@media (max-width: 767px) { .sport-chips-wrap .chip { min-height: 40px; padding: 0 12px; font-size: 14px; } }

/* ---------- featured hero (stadium photo / dark art) ---------- */
.fm {
  background: var(--hero-bg); background-image: none; box-shadow: none; border: 1px solid var(--border-strong); color: #fff;
  border-radius: 12px; padding: 12px 20px 14px; gap: 8px; margin-bottom: 0; min-height: 168px;
}
.fm.is-art .fm-bg { background:
  radial-gradient(130px 80px at 9% 6%, rgba(255, 255, 255, .28), transparent 70%),
  radial-gradient(130px 80px at 91% 6%, rgba(255, 255, 255, .28), transparent 70%),
  radial-gradient(70% 70% at 50% 130%, rgba(92, 225, 173, .10), transparent 70%),
  linear-gradient(180deg, #1d2a36 0%, #121a23 55%, #0d1319 100%); }
.fm-lights { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; background:
  radial-gradient(14px 8px at 7% 13%, rgba(255, 255, 255, .95), transparent 75%), radial-gradient(14px 8px at 10% 9%, rgba(255, 255, 255, .9), transparent 75%),
  radial-gradient(14px 8px at 90% 9%, rgba(255, 255, 255, .9), transparent 75%), radial-gradient(14px 8px at 93% 13%, rgba(255, 255, 255, .95), transparent 75%); }
.fm.is-art .fm-lights { opacity: .85; }
.fm.has-photo .fm-bg::after { background: linear-gradient(180deg, rgba(10, 14, 20, .55) 0%, rgba(10, 14, 20, .74) 100%); }
.fm-mark { color: rgba(255, 255, 255, .04); width: 180px; height: 180px; right: 50%; margin-right: -90px; bottom: -60px; }
.fm-top { justify-content: center; gap: 8px; min-height: 24px; }
.fm-top .live-pill { display: none; }
.fm-top .next-pill { background: rgba(255, 255, 255, .1); }
.fm-comp { flex: 0 1 auto; justify-content: center; font-size: 17px; font-weight: 500; color: #fff; gap: 8px; }
.fm-comp .comp-badge { display: none; }
.fm[data-status="live"] .fm-comp::before, .fm[data-status="interval"] .fm-comp::before, .fm[data-status="delayed"] .fm-comp::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--live); flex: none; margin-right: 4px; }
.fm[data-status="interval"] .fm-comp::before { background: var(--warning); }
.fm-dot-sep { color: rgba(255, 255, 255, .7); }
.fm-min { color: #fff; white-space: nowrap; }
.fm-link { position: absolute; right: 0; top: -4px; font-size: 13px; color: rgba(255, 255, 255, .85); }
.fm-tag { position: absolute; left: 0; top: 0; }
.fm-mid { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px; max-width: 660px; width: 100%; margin: 0 auto; }
.fm-team { gap: 18px; }
.fm-name { font-size: 26px; line-height: 32px; font-weight: 700; color: #fff; -webkit-line-clamp: 1; line-clamp: 1; }
.fm .crest, .fm .crest.has-logo { width: 72px; height: 72px; padding: 0; background: transparent; box-shadow: none; border-radius: 0; color: #fff; }
.fm .crest:not(.has-logo) { border-radius: 50%; background: rgba(255, 255, 255, .12); }
.fm .crest > img { filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .45)); }
.fm-score { gap: 0 10px; }
.fm-box b { font-size: 40px; line-height: 48px; font-weight: 700; padding: 0 2px; color: #fff; }
.fm-div { font-size: 34px; color: #fff; }
.fm-sub { color: rgba(255, 255, 255, .78); }
.fm-phase { color: rgba(255, 255, 255, .8); }
.fm-time { font-size: 34px; line-height: 42px; color: #fff; }
.fm-day { color: rgba(255, 255, 255, .8); }
.fm-market { position: relative; display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; }
.fm-mk-name { font-size: 16px; font-weight: 600; color: #fff; }
.fm-odds { display: flex; gap: 22px; max-width: none; width: auto; margin: 0; }
.odds.odds-pill {
  flex: 0 0 122px; flex-direction: row; justify-content: space-between; gap: 10px; min-height: 42px; padding: 0 16px 0 18px; border-radius: 8px;
  background: rgba(20, 27, 35, .92); border: 1px solid rgba(255, 255, 255, .14); color: #fff;
}
.odds-pill .odds-label { font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .85); }
.odds-pill .odds-val { font-size: 18px; font-weight: 700; color: #fff; }
.odds.odds-pill:hover:not(:disabled) { background: rgba(35, 44, 56, .96); border-color: rgba(255, 255, 255, .26); }
.odds.odds-pill .odds-check { display: none !important; }
:root .odds.odds-pill.is-selected, :root .odds.odds-pill.is-selected:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: none; }
:root .odds.odds-pill.is-selected .odds-label, :root .odds.odds-pill.is-selected .odds-val { color: var(--on-accent); opacity: 1; }
.odds.odds-pill:disabled, .odds.odds-pill.is-unpriced { background: rgba(20, 27, 35, .7); }
@container (max-width: 560px) {
  .fm-name { font-size: 15px; line-height: 20px; -webkit-line-clamp: 2; line-clamp: 2; }
  .fm .crest, .fm .crest.has-logo { width: 48px; height: 48px; }
  .fm-box b { font-size: 32px; line-height: 40px; }
  .fm-market { gap: 8px; }
  .fm-mk-name { flex-basis: 100%; text-align: center; font-size: 13px; }
  .fm-odds { gap: 8px; width: 100%; }
  .odds.odds-pill { flex: 1 1 0; min-width: 0; flex-direction: row; padding: 0 10px; min-height: 44px; }
  .odds-pill .odds-val { font-size: 16px; }
  .fm-comp { font-size: 14px; }
  .fm-link { position: static; }
  .fm-top { justify-content: space-between; }
}
.fm-empty { justify-content: center; text-align: center; min-height: 168px; }
.fm-empty .fm-empty-copy { margin: 0 auto; align-items: center; }
.fm-empty-copy a { color: var(--accent); }
@media (max-width: 600px) { .fm { padding: 12px 12px 14px; } }

/* ---------- fixtures: toolbar, competition cards, rows ---------- */
.fixtures.fx-v4 { background: transparent; border: 0; border-radius: 0; overflow: visible; box-shadow: none; }
.fx-v4 .fx-head { padding: 0; border: 0; min-height: 0; margin: 4px 0 12px; gap: 10px 12px; }
.fx-v4 .fx-head h2 { font-size: 20px; line-height: 28px; font-weight: 700; }
.fx-v4.is-live-page .fx-head { margin-top: 0; }
.fx-v4 .fx-band + .fx-band { border-top: 0; margin-top: 18px; }
.fx-v4 .fx-band-head { display: flex; min-height: 0; padding: 0; margin: 0 0 10px; background: transparent; border: 0; }
.fx-v4 .fx-band-head h3 { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--text); }
.fx-v4 .band-live .fx-band-head { background: transparent; }
.fx-v4 .band-live .fx-band-head h3 { color: var(--text); }
.fx-v4 .fx-band-head .count { color: var(--text-2); }
.pulse-dot { background: var(--live); }
.seg { background: var(--surface); border: 1px solid var(--border-strong); padding: 3px; border-radius: 10px; }
.seg-btn { min-height: 34px; font-size: 14px; color: var(--text-2); border-radius: 7px; }
.seg-btn[aria-current="page"] { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.seg-btn[aria-current="page"] .seg-dot { background: var(--on-accent); }
.pill-btn, .league-select select { background: var(--surface); border-color: var(--border-strong); color: var(--text); min-height: 40px; border-radius: 10px; }

.comp-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.comp-card + .comp-card { margin-top: 12px; }
.fx-v4, .comp-card, .sport-block { --fx-cols: 80px minmax(0, 1fr) 44px minmax(300px, 354px) 40px; }
.comp-card .comp-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 354px) 40px; gap: 14px; align-items: center;
  min-height: 42px; padding: 0 12px 0 14px; background: var(--surface-3); border-bottom: 1px solid var(--border);
  font-size: 17px; font-weight: 600; color: var(--text);
}
.comp-id { display: flex; align-items: center; gap: 10px; min-width: 0; }
.comp-card .comp-head .comp-name { gap: 6px; color: var(--text); font-weight: 600; }
.comp-card .comp-head .comp-name:hover { color: var(--accent-text); }
.comp-card .comp-head .comp-n { margin-left: 0; font-size: 16px; font-weight: 500; color: var(--text-2); }
.comp-card .comp-badge { width: 26px; height: 26px; background: transparent !important; padding: 0 !important; border-radius: 3px !important; }
.comp-sport { color: var(--text-2); font-weight: 500; }
.comp-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: center; font-size: 15px; font-weight: 500; color: var(--text); }
.comp-cols.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.comp-card .comp-head .pin-form { margin: 0; justify-self: end; }
.comp-card .comp-head .pin-btn { width: 32px; height: 32px; }
.comp-card.is-results .comp-cols { visibility: hidden; }

.comp-card .mrow, .sport-block .mrow, .fx-v4 .mrow {
  grid-template-columns: var(--fx-cols); gap: 14px; min-height: 60px; padding: 6px 12px 6px 14px; background: var(--surface); border-bottom: 1px solid var(--border);
}
.comp-card .fx-rows > .mrow:last-child { border-bottom: 0; }
.comp-card .mrow:hover { background: var(--surface-2); }
.mrow-time { position: relative; justify-content: center; align-self: stretch; padding-right: 12px; }
.mrow-time::after { content: ""; position: absolute; right: 0; top: 8px; bottom: 8px; width: 1px; background: var(--border-strong); }
.mrow-time .sbadge { display: none; }
.mrow-min { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.mrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); flex: none; }
.mrow[data-status="interval"] .mrow-dot { background: var(--warning); }
.mrow[data-status="final"] .mrow-dot, .mrow[data-status="cancelled"] .mrow-dot, .mrow[data-status="abandoned"] .mrow-dot, .mrow[data-status="postponed"] .mrow-dot,
.mrow[data-status="scheduled"] .mrow-min { display: none; }
.mrow-time .phase { font-size: 14px; line-height: 18px; font-weight: 500; color: var(--text); }
.mrow[data-status="final"] .mrow-time .phase, .mrow[data-status="postponed"] .mrow-time .phase { color: var(--text-2); }
.mrow[data-status="final"] .mrow-time .sbadge, .mrow[data-status="postponed"] .mrow-time .sbadge, .mrow[data-status="cancelled"] .mrow-time .sbadge, .mrow[data-status="abandoned"] .mrow-time .sbadge { display: inline-flex; align-self: flex-start; }
.mrow-time .when { font-size: 15px; font-weight: 600; color: var(--text); }
.mrow-time .when-day { font-size: 12px; color: var(--muted); }
.mrow-teams { gap: 4px; }
.team-line { gap: 12px; height: 24px; }
.mrow .crest, .mrow .crest.has-logo { width: 24px; height: 24px; background: transparent; box-shadow: none; padding: 0; border-radius: 0; }
.mrow .crest:not(.has-logo) { border-radius: 50%; background: color-mix(in srgb, var(--c, var(--accent)) 18%, var(--surface-3)); box-shadow: inset 0 0 0 1px var(--border-strong); color: var(--text); }
.tname { font-size: 16px; font-weight: 600; color: var(--text); }
.mrow-score { align-items: center; gap: 4px; }
.sc-side { height: 24px; }
.tscore { font-size: 18px; line-height: 24px; font-weight: 600; color: var(--text); }
.mrow-odds { gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mrow-odds:has(> .odds-gap) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mrow-odds > .odds-gap { display: none; }
.mrow-side { flex-direction: column; align-items: center; justify-content: center; gap: 0; }
.mrow-side .fav-btn { width: 32px; height: 28px; }
.mrow-side .mk { font-size: 11px; }
.mrow-side .mk .icon { display: none; }
.mrow-side .mk-n { font-size: 11px; color: var(--muted); }

/* odds buttons: dark slate, white bold numbers, selected = mint + ✓ */
.odds { min-height: 42px; border-radius: var(--r-odds); background: var(--odds-bg); border: 1px solid var(--odds-border); color: var(--odds-text); }
.odds:hover:not(:disabled) { background: var(--odds-hover); border-color: var(--border-strong); }
.odds-val { font-size: 18px; line-height: 22px; font-weight: 700; color: var(--odds-text); }
.mrow-odds .odds { min-height: 42px; padding: 0 8px; flex-direction: row; gap: 6px; }
:root .odds.is-selected, :root .odds.is-selected:hover:not(:disabled), :root .mc .odds.is-selected:not(.mc-ms-row), :root .mc .odds.is-selected:not(.mc-ms-row):hover:not(:disabled) {
  background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: none;
}
:root .odds.is-selected .odds-val, :root .odds-tile.is-selected .odds-val, :root .mc .odds.is-selected .odds-val { color: var(--on-accent); }
:root .odds.is-selected .odds-label, :root .odds.is-selected .odds-prob, :root .odds.is-selected .odds-name { color: var(--on-accent); opacity: .85; }
/* ✓ inline after the price on row buttons ("1.42 ✓"), a corner tick elsewhere */
.odds.is-selected:not(.mc-ms-row) .odds-check { background: none; box-shadow: none; }
.odds.is-selected:not(.mc-ms-row) .odds-check::after { inset: 0; background: var(--on-accent); }
.mrow-odds .odds.is-selected .odds-check { display: inline-block; position: relative; top: 0; right: 0; width: 16px; height: 16px; order: 3; flex: none; }
.odds.is-selected:not(.mc-ms-row):not(.odds-compact) .odds-check { top: 6px; right: 6px; width: 14px; height: 14px; }
.odds:disabled { background: var(--surface-2); border-color: var(--border); color: var(--muted); }
.odds:disabled .odds-val { color: var(--muted); }
.odds.is-unpriced, .odds.is-unpriced:disabled { background: var(--surface-2); border-color: var(--border); }
.odds.is-unpriced .odds-val { color: var(--muted); font-weight: 600; }
.odds.is-up { --move: var(--accent); --move-soft: var(--accent-soft); }
.odds.is-down { --move: var(--live); --move-soft: var(--live-soft); }
.odds-tile { min-height: 60px; }
.odds-tile .odds-label { color: var(--text-2); font-size: 13px; }

/* phones / narrow main: teams + score on top, odds underneath */
@container main (max-width: 700px) {
  .comp-card .comp-head { grid-template-columns: minmax(0, 1fr) auto; padding: 0 6px 0 12px; font-size: 15px; }
  .comp-card .comp-head .comp-cols { display: none; }
  .comp-card .mrow, .sport-block .mrow, .fx-v4 .mrow { grid-template-columns: 62px minmax(0, 1fr) auto; grid-template-areas: "time teams score" "odds odds odds"; padding: 10px 12px; gap: 8px 10px; }
  .mrow-time { padding-right: 8px; }
  .mrow-odds, .mrow-odds:has(> .odds-gap) { gap: 8px; }
  .mrow-odds .odds { justify-content: space-between; padding: 0 10px; min-height: 44px; }
  .mrow-odds .odds-val { font-size: 15px; }
  .tname { font-size: 15px; }
  .tscore { font-size: 16px; }
  .mrow-time .phase { font-size: 13px; }
}

/* grouped lists (search, favourites) */
.sport-head { background: transparent; border: 0; padding: 4px 2px; min-height: 40px; }
.sport-block + .sport-block { border-top: 0; margin-top: 16px; }
.sport-head + .comp-card { margin-top: 6px; }

/* next fixtures + disclosure */
.next-card { margin-top: 18px; }

/* ---------- home shelves (Popular / Starting soon) in v4 ---------- */
.pop-shelf, .soon-strip { margin: 0 0 20px; }
.shelf-head h2 { font-size: 20px; line-height: 28px; font-weight: 700; }
.shelf-head h2 .icon { color: var(--accent); }
.shelf-sub { color: var(--text-2); font-size: 13px; }
.shelf-arrow { background: var(--surface); border-color: var(--border-strong); }
.pop-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.pop-card::before { content: none; }
.pop-live { color: var(--text); }
.pop-why { color: var(--accent-text); }
.pop-pick { border-top: 1px solid var(--border); }
.soon-chip { background: var(--surface); border-color: var(--border); border-radius: 12px; }
.soon-chip:hover { border-color: var(--accent); }
.soon-time { background: var(--surface-3); color: var(--text); }
.soon-priced { color: var(--accent-text); }

/* ---------- right column: demo notice + bet slip card ---------- */
.slip-demo-note { display: none; }
@media (min-width: 1100px) {
  .slip-demo-note {
    display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 14px; min-height: 38px; padding: 0 14px; border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: var(--accent-soft); color: var(--accent-text); font-size: 14px; font-weight: 500;
  }
  .slip-demo-note .icon { width: 18px; height: 18px; }
  .side-slip > .slip { border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); overflow: hidden; }
  .side-slip > .card { border: 1px solid var(--border) !important; border-radius: 12px !important; margin-top: 16px !important; background: var(--surface); }
}
.slip { background: var(--surface); border-bottom: 0; }
.slip-head { gap: 12px; min-height: 64px; padding: 14px 20px 6px; }
.slip-ico { display: grid; place-items: center; color: var(--text); flex: none; }
.slip-ico .icon { width: 26px; height: 26px; transform: rotate(-12deg); }
.slip-head h2 { font-size: 22px; line-height: 30px; font-weight: 700; display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.slip-count, .slip-count.is-on { display: inline; min-width: 0; height: auto; padding: 0; background: none; color: inherit; font-size: inherit; font-weight: 700; border-radius: 0; }
.slip-count::before { content: "("; } .slip-count::after { content: ")"; }
.slip-bal { margin-left: auto; font-size: 14px; color: var(--text-2); white-space: nowrap; }
.slip-bal b { color: var(--text); font-weight: 700; margin-left: 4px; }
.slip-help { margin-left: auto; color: var(--accent-text); }
.slip-tabs { gap: 8px; padding: 0 20px; border-bottom: 1px solid var(--border-strong); }
.slip-tab { min-height: 44px; padding: 0 10px; font-size: 15px; color: var(--text-2); }
.slip-tab.is-active { color: var(--accent-text); }
.slip-tab.is-active::after { background: var(--accent); height: 3px; left: 4px; right: 4px; }
.slip-tab-n, .slip-tab.is-active .slip-tab-n { min-width: 0; height: auto; padding: 0; background: none; color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; }
.slip-tab-n:not(:empty)::before { content: "("; } .slip-tab-n:not(:empty)::after { content: ")"; }
.slip-tab-sub { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.slip-body { padding: 18px 20px 4px; }
.slip-foot { padding: 0 20px 18px; gap: 12px; background: var(--surface); }
@media (min-width: 1100px) { .side-slip > .slip .slip-foot { border-top: 0; padding-top: 4px; position: static; } }

/* selection card: crest, name, match, market • scope, odds box, × */
.slip-items { gap: 14px; margin: 0 0 18px; }
.bs-item {
  grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 2px 14px; padding: 0 0 18px; border: 0; border-bottom: 1px solid var(--border-strong);
  border-radius: 0; background: transparent; box-shadow: none;
}
.bs-item.is-blocked { box-shadow: none; opacity: .75; }
.bs-item-ico, .bs-item-ico.has-crest { grid-row: 1 / 3; width: 40px; height: 44px; border-radius: 0; background: transparent; color: var(--text-2); }
.bs-item-ico:not(.has-crest) { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-3); }
.bs-item-ico img { width: 40px; height: 44px; object-fit: contain; }
.bs-item-main { grid-row: 1 / 3; gap: 2px; padding-top: 2px; }
.bs-item-sel { font-size: 22px; line-height: 28px; font-weight: 700; }
.bs-item-match { font-size: 16px; line-height: 22px; color: var(--text-2); white-space: normal; }
.bs-item-mk { font-size: 15px; line-height: 22px; color: var(--text-2); }
.bs-dot { margin: 0 4px; font-size: 10px; vertical-align: 2px; }
.bs-item-side { grid-column: 3; grid-row: 2; align-self: center; padding: 0; }
.bs-item-odds { height: 40px; min-width: 78px; justify-content: center; padding: 0 12px; border-radius: 8px; background: var(--odds-bg); border: 1px solid var(--odds-border); color: var(--odds-text); font-size: 20px; font-weight: 700; }
.bs-item-win { display: none; }
.slip-items:has(.bs-item + .bs-item) .bs-item-win { display: block; }
.bs-item .slip-x { grid-column: 3; grid-row: 1; justify-self: end; margin: 0 -6px 0 0; width: 32px; height: 32px; color: var(--text); }
.bs-item .slip-x .icon { width: 20px; height: 20px; }
.bs-item .slip-item-note { grid-column: 1 / -1; }

/* stake */
.slip-stake-area { gap: 12px; }
.bs-stake-head label { font-size: 19px; font-weight: 700; }
.bs-stake-echo { font-size: 17px; color: var(--text-2); }
.bs-stake-echo b { color: var(--text-2); font-weight: 500; }
.bs-balance { margin: -6px 0 0; font-size: 12px; color: var(--muted); }
.bs-stake { grid-template-columns: 58px minmax(0, 1fr) 58px; gap: 12px; }
.bs-step { height: 50px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text); }
.bs-step .icon { width: 22px; height: 22px; }
.bs-stake-field input { height: 50px; padding: 0 44px 0 14px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--surface-2); font-size: 22px; font-weight: 700; }
.bs-stake-field .unit { right: 16px; font-size: 18px; font-weight: 600; color: var(--text-2); }
.bs-chips, .quick-stakes.bs-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 2px 0 0; }
.bs-chips .chip { min-height: 46px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text); font-size: 17px; font-weight: 500; justify-content: center; padding: 0 4px; }
.bs-chips .chip:hover { background: var(--odds-hover); color: var(--text); border-color: var(--muted); }
/* "Potential return" big mint */
.bs-win, .bs-win.is-zero {
  padding: 20px 0 6px; margin-top: 8px; border-radius: 0; border: 0; border-top: 1px solid var(--border-strong); background: none; box-shadow: none; color: var(--text);
}
.bs-win-k { font-size: 19px; font-weight: 700; }
.bs-win-v { color: var(--accent-text); font-size: 28px; line-height: 34px; font-weight: 700; }
.bs-win-v small { font-size: 28px; font-weight: 700; }
.bs-win.is-zero .bs-win-v { color: var(--muted); }
.bs-profit { margin: -8px 0 0; text-align: right; }
.bs-quick { background: var(--surface-2); border-radius: 8px; }
.bs-quick input:checked + .bs-switch { background: var(--accent); }
/* Place bet: full-width mint, dark text */
.bs-place, :root .bs-place.btn:not(:disabled) { min-height: 62px; border-radius: 10px; font-size: 24px; font-weight: 600; background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.bs-place:not(:disabled):hover { background: var(--accent-hover); filter: none; }
.bs-place:disabled { background: var(--surface-3); border-color: var(--border-strong); color: var(--muted); opacity: 1; }
.bs-confirm { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
:root .bs-confirm .btn[data-action="confirm"], :root .bs-confirm .btn[data-action="accept"] { background: var(--accent); color: var(--on-accent); }
.slip-info { display: flex; align-items: center; gap: 10px; margin: 2px 0 0; font-size: 15px; color: var(--text-2); }
.slip-info .icon { width: 20px; height: 20px; }
.bs-track { background: var(--accent-soft); color: var(--accent-text); }

/* open bets (My bets tab): ticket cards + mint OPEN chip + outlined cash out */
.slip-open { padding: 12px 14px 8px; }
.slip-open-list { gap: 12px; }
.slip-ticket { padding: 14px 16px 16px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); gap: 6px; }
.st-match { font-size: 14px; color: var(--text-2); }
.st-pick strong { font-size: 19px; line-height: 26px; font-weight: 700; }
.st-pick .st-odds { font-size: inherit; font-weight: 700; }
.st-market { font-size: 13px; color: var(--text-2); }
.st-figs dt { font-size: 15px; color: var(--text-2); }
.st-figs dd { font-size: 16px; font-weight: 700; }
.st-figs { gap: 30px; margin-top: 4px; }
.badge-open { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; flex: none; }
.st-ring { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; }
.slip-ticket .mc-cashout-btn, .toast-actions .mc-cashout-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 44px; border-radius: 10px;
  border: 1.5px solid var(--accent); background: transparent; color: var(--accent-text); font-size: 17px; font-weight: 600;
}
.slip-ticket .mc-cashout-btn:hover, .toast-actions .mc-cashout-btn:hover { background: var(--accent-soft); color: var(--accent-text); }
.slip-ticket .mc-cashout-btn .icon { width: 20px; height: 20px; }
.st-link { color: var(--text-2); }

/* mobile: bottom-sheet slip + mint mini-bar */
@media (max-width: 1099px) {
  .slip { border-color: var(--border-strong); background: var(--surface); }
  .slip-head { padding: 4px 12px 4px 16px; min-height: 52px; }
  .slip-head h2 { font-size: 19px; }
  .slip-bal { font-size: 13px; }
  .slip-body { padding: 14px 16px 4px; }
  .slip-foot { padding: 10px 16px calc(14px + var(--safe-b)); border-top: 1px solid var(--border); }
  .bs-item-sel { font-size: 19px; line-height: 24px; }
  .bs-item-match, .bs-item-mk { font-size: 14px; }
  .bs-place, :root .bs-place.btn:not(:disabled) { min-height: 54px; font-size: 19px; }
  .bs-win-v, .bs-win-v small { font-size: 24px; }
  .slip-pill.bs-bar { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .6); }
  .bs-bar-n { background: rgba(6, 36, 23, .16); color: var(--on-accent); }
  .bs-bar-open { background: var(--on-accent); color: var(--accent); }
  .bs-bar-win { color: var(--on-accent); opacity: .85; }
}

/* ---------- bottom nav (mobile) ---------- */
.bottom-nav { background: var(--bg); background-image: none; border-top: 1px solid var(--border-strong); }
.bottom-nav a { color: var(--text-2); font-size: 12px; }
.bottom-nav a[aria-current="page"] { color: var(--accent-text); }
.bottom-nav a[aria-current="page"]::before { background: var(--accent); height: 3px; left: 30%; right: 30%; border-radius: 0 0 3px 3px; }
.bottom-nav .dot-count { background: var(--live); box-shadow: 0 0 0 2px var(--bg); }

/* ---------- support launcher: small mint-outlined round button ---------- */
.support-fab, .support-fab:hover, .support-fab:focus-visible {
  height: 44px; min-width: 44px; padding: 0; border-radius: 50%; background: var(--surface); background-image: none; color: var(--accent-text);
  border: 1.5px solid var(--accent); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .6);
}
.support-fab:hover { background: var(--accent-soft); }
.support-fab .sf-orb { width: 41px; height: 41px; }
.support-fab .sf-orb .icon { width: 20px; height: 20px; }
.support-fab .sf-label { display: none; }
@media (min-width: 768px) { .support-fab { display: inline-flex !important; right: 20px; bottom: 20px; } }

/* ---------- news column + footer ---------- */
.view-all { color: var(--accent-text); }
.site-footer a:hover { color: var(--accent-text); }

/* ---------- bell popover (v4 reference 10) ---------- */
.bell-dot { top: 8px; right: 8px; width: 9px; height: 9px; background: var(--accent); box-shadow: 0 0 0 2px var(--bg); }
.notif-menu .menu-panel.notif-panel {
  width: min(600px, calc(100vw - 24px)); padding: 18px 20px 12px; border-radius: 16px; border: 1px solid var(--border-strong); background: var(--surface);
  top: calc(100% + 14px); right: -12px; overflow: visible;
}
.notif-panel::before { content: ""; position: absolute; top: -8px; right: 24px; width: 14px; height: 14px; background: var(--surface); border-left: 1px solid var(--border-strong); border-top: 1px solid var(--border-strong); transform: rotate(45deg); }
.np-head { display: flex; align-items: baseline; gap: 12px; margin: 0 0 12px; }
.np-title { font-size: 24px; line-height: 32px; font-weight: 700; }
.np-unread { font-size: 16px; color: var(--text-2); }
.np-unread:has([data-unread][hidden]) { display: none; }
.np-close { margin-left: auto; align-self: center; color: var(--text); }
.notif-feature {
  grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 18px 20px; border-radius: 12px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, var(--surface-2)) 0%, var(--surface-2) 100%);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border-strong));
}
.notif-feature.is-unread { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 16%, var(--surface-2)) 0%, var(--surface-2) 100%); border-color: color-mix(in srgb, var(--accent) 45%, var(--border-strong)); }
.notif-ico, .notif-ico.is-payments, .notif-ico.is-account, .notif-ico.is-results, .notif-ico.is-bets { width: 56px; height: 56px; border-radius: 10px; background: var(--surface-3); color: var(--text); border: 1px solid var(--border-strong); }
.notif-ico .icon { width: 24px; height: 24px; }
.notif-ico.sm { width: 48px; height: 48px; }
.notif-ico.sm .icon { width: 22px; height: 22px; }
.notif-feature .notif-copy strong { font-size: 20px; line-height: 26px; font-weight: 700; }
.notif-feature time { font-size: 14px; color: var(--text-2); }
.np-amount { display: block; margin-top: 4px; font-size: 32px; line-height: 38px; font-weight: 700; color: var(--accent-text); }
.np-amount.is-out { color: var(--text); }
.notif-feature .notif-copy p { margin: 2px 0 6px; font-size: 15px; color: var(--text-2); }
.notif-actions { gap: 22px; }
.notif-actions .btn-primary { min-height: 40px; padding: 0 22px; font-size: 16px; }
.notif-actions .notif-dismiss { color: var(--text-2); font-size: 16px; }
.notif-list { margin-top: 8px; }
.notif-row { grid-template-columns: 48px minmax(0, 1fr) auto 10px; gap: 14px; padding: 10px 6px; border-radius: 0; border-bottom: 1px solid var(--border-strong); min-height: 70px; }
.notif-row:hover { background: var(--hover); }
.notif-row .notif-copy strong { font-size: 16px; font-weight: 600; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.notif-row .notif-copy strong::after { content: none !important; }
.np-row-amt { font-size: 16px; font-weight: 700; color: var(--text); }
.notif-row .notif-body { font-size: 13px; color: var(--text-2); }
.notif-row time { align-self: center; font-size: 14px; color: var(--text-2); margin: 0; }
.np-dot { width: 10px; height: 10px; border-radius: 50%; background: transparent; }
.notif-row.is-unread .np-dot { background: var(--accent); }
.notif-all { border-top: 0; color: var(--accent-text); font-size: 17px; min-height: 48px; margin-top: 4px; }
@media (max-width: 767px) {
  .notif-menu .menu-panel.notif-panel { position: fixed; left: 0; right: 0; top: var(--header-h); width: auto; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; border-radius: 0 0 16px 16px; border-width: 0 0 1px; padding: 14px 14px 10px; }
  .notif-panel::before { display: none; }
  .np-title { font-size: 20px; }
  .np-amount { font-size: 26px; line-height: 32px; }
  .notif-feature { grid-template-columns: 44px minmax(0, 1fr); padding: 14px; gap: 12px; }
  .notif-feature .notif-ico { width: 44px; height: 44px; }
  .notif-row { grid-template-columns: 40px minmax(0, 1fr) auto 10px; gap: 10px; }
  .notif-ico.sm { width: 40px; height: 40px; }
}
.slip-info { flex-wrap: wrap; }
.slip-info .slip-help { margin-left: auto; min-height: 0; padding: 0; font-size: 13px; color: var(--muted); text-decoration: underline; }

/* ---------- bet slip, reference 11 (selections + tabs) — overrides the block above ---------- */
.slip-head { position: relative; min-height: 0; padding: 12px 16px 0; gap: 0; }
.slip-head .slip-tabs { flex: 1 1 auto; padding: 0; border-bottom: 1px solid var(--border-strong); }
.slip-tabs { gap: 4px; }
.slip-tab { min-height: 48px; padding: 0 12px; gap: 8px; font-size: 16px; font-weight: 600; color: var(--text-2); }
.slip-tab.is-active { color: var(--text); }
.slip-tab.is-active::after { left: 0; right: 0; height: 3px; background: var(--accent); }
.slip-tab-ico { width: 20px; height: 20px; color: inherit; }
.slip-tab-n, .slip-tab .slip-tab-n { display: inline-grid; place-items: center; min-width: 26px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--surface-3); color: var(--text-2); font-size: 14px; font-weight: 600; line-height: 24px; }
.slip-tab.is-active .slip-tab-n { background: var(--accent); color: var(--on-accent); }
.slip-tab-n::before, .slip-tab-n::after, .slip-tab-n:not(:empty)::before, .slip-tab-n:not(:empty)::after { content: none !important; }
.slip-tab-n:empty { display: none; }
.slip-head .slip-close { position: absolute; right: 8px; top: 12px; }
@media (min-width: 1100px) { .slip-head .slip-close { display: none; } }
.slip-body { padding: 14px 16px 4px; }
.slip-foot { padding: 0 16px 16px; }
/* Singles [n] row (count via CSS counter: it sits after the cards in the DOM, shown first) */
.bs-pick:not([hidden]) { display: flex; flex-direction: column; }
.bs-singles { order: -1; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 10px; }
.bs-singles-k { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: var(--accent-text); }
.slip-items { counter-reset: bsel; gap: 10px; margin: 0 0 14px; }
.bs-item { counter-increment: bsel; }
.bs-n-pill::before { content: counter(bsel); }
.bs-n-pill { display: inline-grid; place-items: center; min-width: 26px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 14px; }
.bs-singles .bs-balance { margin: 0; font-size: 12px; color: var(--muted); }
/* selection cards: mint left border, sport icon / crest, bold selection, mint odds chip, × */
.bs-item, .slip-items .bs-item:last-child {
  grid-template-columns: 30px minmax(0, 1fr) auto 28px; grid-template-rows: auto; align-items: start; gap: 0 10px;
  padding: 12px 8px 12px 12px; border: 1px solid var(--border-strong); border-left: 3px solid var(--accent); border-radius: 10px; background: var(--surface-2);
}
.bs-item.is-blocked { border-left-color: var(--muted); }
.bs-item-ico, .bs-item-ico.has-crest, .bs-item-ico:not(.has-crest) { grid-row: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-3); color: var(--accent-text); margin-top: 2px; }
.bs-item-ico.has-crest { background: transparent; border-radius: 0; }
.bs-item-ico img { width: 30px; height: 30px; }
.bs-item-ico .icon { width: 18px; height: 18px; }
.bs-item-main { grid-row: auto; gap: 1px; padding-top: 0; }
.bs-item-sel { font-size: 17px; line-height: 24px; }
.bs-item-match { font-size: 13px; line-height: 18px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bs-item-mk { font-size: 13px; line-height: 18px; color: var(--text-2); }
.bs-dot { margin: 0 2px; }
.bs-item-side { grid-column: 3; grid-row: 1; align-self: start; padding-top: 1px; }
.bs-item-odds { height: 26px; min-width: 0; padding: 0 9px; border-radius: 6px; border: 0; background: var(--accent); color: var(--on-accent); font-size: 15px; }
.bs-item .slip-x { grid-column: 4; grid-row: 1; margin: -2px -4px 0 0; width: 28px; height: 28px; }
.bs-item .slip-x .icon { width: 18px; height: 18px; }
.bs-item-win { font-size: 11px; }
/* stake rows */
.slip-stake-area { gap: 10px; }
.bs-stake-head { align-items: baseline; }
.bs-stake-head label, .bs-total > span:first-child { font-size: 15px; font-weight: 600; color: var(--text); }
.bs-stake-echo, .bs-stake-echo b { font-size: 15px; font-weight: 600; color: var(--text); }
.bs-total { display: none; margin-top: -6px; }
.slip:has(.bs-item + .bs-item) .bs-total { display: flex; }
.bs-stake { grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 12px; }
.bs-step, .bs-stake-field input { height: 44px; }
.bs-stake-field input { font-size: 20px; text-align: center; padding: 0 40px; }
.bs-stake-field .unit { right: auto; left: calc(50% + 2ch); font-size: 15px; font-weight: 500; color: var(--text-2); }
.bs-stake-field:has(input:placeholder-shown) .unit { display: none; }
.bs-chips, .quick-stakes.bs-chips { gap: 12px; }
.bs-chips .chip { min-height: 36px; font-size: 15px; }
/* Potential return: full-width mint pill, dark text, big number */
.bs-win, .bs-win.is-zero {
  margin-top: 6px; padding: 8px 18px; min-height: 48px; border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent);
}
.bs-win.is-zero { background: var(--surface-3); color: var(--text-2); }
.bs-win-k { font-size: 16px; font-weight: 600; }
.bs-win-v, .bs-win.is-zero .bs-win-v { color: inherit; font-size: 28px; line-height: 32px; }
.bs-win-v small { font-size: 17px; font-weight: 600; }
.bs-profit { margin: -2px 0 0; text-align: center; font-size: 15px; color: var(--text); }
.bs-profit b { color: var(--text); font-weight: 700; }
.bs-quick { background: transparent; border: 1px solid var(--border-strong); border-radius: 10px; padding: 10px 12px; }
.bs-quick-text { font-size: 14px; line-height: 20px; color: var(--text); }
.bs-quick-text strong { font-weight: 500; }
.bs-place, :root .bs-place.btn:not(:disabled), .bs-place:disabled { min-height: 50px; font-size: 18px; border-radius: 10px; }
.slip-info { font-size: 14px; }
@media (max-width: 1099px) { .slip-head { padding: 2px 52px 0 12px; } .bs-win-v { font-size: 24px; } }

/* ---------- fixes after the first 1672 comparison ---------- */
.slip-tab .slip-tab-n, .slip-tab.is-active .slip-tab-n { display: inline-grid; place-items: center; min-width: 26px; height: 24px; padding: 0 8px; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 24px; }
@media (min-width: 1100px) { body:has(.slip-demo-note) .demo-strip { display: none; } }
@media (min-width: 1100px) { .support-fab { display: none !important; } }
.hdr-support { display: inline-grid; }
@media (max-width: 767px) { .hdr-support { display: none; } }

@media (min-width: 768px) {
  .notif-menu { position: relative; }
  .notif-menu .menu-panel.notif-panel { right: -150px; }
  .notif-panel::before { right: 162px; }
}
@media (min-width: 1100px) {
  .notif-menu .menu-panel.notif-panel { right: -268px; }
  .notif-panel::before { right: 280px; }
}

/* VS logo: full-size wordmark (overrides the old square .brand-mark sizing) */
.brand .vs-logo, .brand .brand-mark.vs-logo { width: auto; height: 44px; aspect-ratio: 1680 / 690; max-width: none; }
.brand { padding: 2px 4px; margin-right: 10px; }
@media (max-width: 767px) { .brand .vs-logo, .brand .brand-mark.vs-logo { height: 34px; } }

/* ---------- favourites (reference 6) ---------- */
.fav-page-head h1 { font-size: 34px; line-height: 42px; }
.fav-page-head .lede { font-size: 17px; color: var(--text-2); }
.fav-section { padding: 0; margin-bottom: 20px; border: 1px solid var(--border-strong); border-radius: 12px; overflow: hidden; }
.fav-sec-head { display: flex; align-items: center; gap: 12px; min-height: 56px; margin: 0; padding: 0 24px; font-size: 20px; font-weight: 700; border-bottom: 1px solid var(--border-strong); background: var(--surface-2); }
.fav-sec-head .icon { width: 22px; height: 22px; color: var(--text); }
.fav-sec-head .num { font-weight: 500; color: var(--text-2); }
.fav-sec-body { padding: 16px; display: grid; gap: 14px; }
.fav-card { position: relative; isolation: isolate; overflow: hidden; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface); }
.fav-bg { position: absolute; z-index: -1; top: 0; right: 0; width: 56%; height: 100%; overflow: hidden; pointer-events: none; }
.fav-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(180deg, #000 0%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); }
.fav-card.has-photo .fav-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, var(--surface) 92%); }
.fav-head { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 12px 0 20px; border-bottom: 1px solid var(--border); }
.fav-comp { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: 17px; color: var(--text); }
.fav-comp .icon { width: 22px; height: 22px; color: var(--text); }
.fav-comp b { font-weight: 600; }
.fav-comp a { color: var(--text); text-decoration: none; }
.fav-comp a:hover { color: var(--accent-text); }
.fav-sep { color: var(--text-2); }
.fav-demo { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--warning-soft); color: var(--warning-text); border: 1px solid color-mix(in srgb, var(--warning) 45%, transparent); font-size: 14px; font-weight: 500; white-space: nowrap; }
.fav-tools { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; }
.fav-tools .fav-btn .icon, .fav-tools .pin-btn .icon { width: 22px; height: 22px; }
.fav-tools .pin-btn[aria-pressed="true"] { color: var(--accent); }
.fav-body { display: grid; grid-template-columns: minmax(150px, 1.2fr) minmax(120px, 1fr) auto auto; align-items: center; gap: 18px; padding: 16px 16px 16px 24px; }
.fav-teams { display: grid; gap: 10px; color: var(--text); text-decoration: none; padding-right: 18px; border-right: 1px solid var(--border-strong); min-width: 0; }
.fav-team { display: flex; align-items: center; gap: 14px; min-width: 0; font-size: 20px; font-weight: 600; }
.fav-team .crest { width: 40px; height: 40px; }
.fav-score { display: grid; gap: 4px; min-width: 0; }
.fav-score b { font-size: 22px; line-height: 28px; font-weight: 700; color: var(--text); }
.fav-vs { color: var(--text-2); }
.fav-phase { font-size: 14px; color: var(--text-2); }
.fav-odds { display: flex; gap: 10px; }
.fav-odds .odds-tile { min-width: 96px; min-height: 64px; padding: 6px 12px; background: var(--odds-bg); }
.fav-odds .odds-tile .odds-label { font-size: 14px; color: var(--text-2); -webkit-line-clamp: 1; max-width: 110px; }
.fav-odds .odds-tile .odds-val { font-size: 19px; }
.fav-odds .odds-tile .odds-prob { display: none; }
.fav-more { display: inline-flex; align-items: center; gap: 4px; padding-left: 16px; border-left: 1px solid var(--border-strong); color: var(--text-2); font-size: 14px; white-space: nowrap; text-decoration: none; min-height: 44px; }
.fav-more:hover { color: var(--accent-text); }
.fav-empty { padding: 34px 20px 30px; }
.fav-empty .icon-circle { width: 64px; height: 64px; border-radius: 12px; background: var(--surface-3); border: 1px solid var(--border-strong); color: var(--text); }
.fav-empty h3 { font-size: 22px; line-height: 28px; }
.fav-empty p { font-size: 17px; }
.btn-outline { border: 1.5px solid var(--accent); background: transparent; color: var(--accent-text); font-weight: 600; min-height: 44px; padding: 0 26px; border-radius: 12px; }
.btn-outline:hover { background: var(--accent-soft); color: var(--accent-text); }
.fav-empty-league { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; }
.fav-empty-league a { color: var(--text); text-decoration: none; }
.fav-empty-league .pin-form { margin-left: auto; }
.side-link[href$="/favourites/"][aria-current="page"] .icon { fill: currentColor; }
@container main (max-width: 820px) {
  .fav-body { grid-template-columns: minmax(0, 1fr) auto; padding: 14px; gap: 12px; }
  .fav-teams { border-right: 0; padding-right: 0; }
  .fav-odds { grid-column: 1 / -1; }
  .fav-odds .odds-tile { flex: 1 1 0; min-width: 0; }
  .fav-more { grid-column: 1 / -1; justify-content: flex-end; border-left: 0; padding-left: 0; min-height: 32px; }
  .fav-head { padding: 0 6px 0 14px; flex-wrap: wrap; }
  .fav-comp { font-size: 15px; }
  .fav-team { font-size: 17px; }
  .fav-sec-head { padding: 0 16px; }
  .fav-sec-body { padding: 12px; }
}

/* ---------- site footer (v4): in the content column, scrolls with the page ---------- */
.site-footer.vs-footer { margin-top: 48px; padding: 36px 28px calc(var(--nav-h) + var(--safe-b) + 24px); border-top: 1px solid var(--border-strong); color: var(--text-2); font-size: 15px; line-height: 22px; background: var(--bg); }
@media (min-width: 768px) { .site-footer.vs-footer { padding: 40px 28px 28px; } }
.vs-footer a { color: var(--text-2); text-decoration: none; }
.vs-footer a:hover { color: var(--accent-text); }
.vf-top { display: grid; grid-template-columns: minmax(170px, 220px) minmax(0, 1fr) minmax(240px, 300px); gap: 0; align-items: start; }
.vf-brand { padding-right: 28px; }
.vf-logo { display: inline-flex; min-height: 0; margin: 0 0 12px; padding: 0; }
.vs-footer .vf-logo .vs-logo { height: 56px; width: auto; aspect-ratio: 1680 / 690; }
.vf-tagline { margin: 0; color: var(--muted); font-size: 15px; max-width: 22ch; }
.vf-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0 28px; border-left: 1px solid var(--border-strong); border-right: 1px solid var(--border-strong); }
.vf-col > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.vf-col > summary::-webkit-details-marker { display: none; }
.vf-col h2 { font-size: 16px; line-height: 22px; font-weight: 700; color: var(--text); }
.vf-chev { display: none; width: 18px; height: 18px; color: var(--text-2); transition: transform var(--dur-2) var(--ease); }
.vf-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vf-col li a { display: inline-flex; min-height: 28px; align-items: center; }
@media (min-width: 768px) { .vf-col > summary { pointer-events: none; cursor: default; } .vf-col:not([open]) > ul { display: grid; } }
.vf-region { position: relative; isolation: isolate; display: grid; gap: 10px; padding-left: 28px; }
.vf-region h2 { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--text); }
.vf-globe { width: 18px; height: 18px; color: var(--text-2); }
.vf-pitch { position: absolute; z-index: -1; right: -24px; top: -26px; width: 340px; height: auto; color: var(--accent); opacity: .22; pointer-events: none; }
.vf-field { position: relative; display: block; }
.vf-field select { width: 100%; height: 44px; padding: 0 36px 0 14px; appearance: none; -webkit-appearance: none; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text); font: inherit; font-size: 15px; cursor: pointer; }
.vf-field select:focus-visible { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
.vf-field .icon { position: absolute; right: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px; color: var(--text-2); pointer-events: none; }
.vf-help { margin: 0; font-size: 12px; color: var(--muted); }
.vf-help a { color: var(--accent-text); text-decoration: underline; }
.vf-legal { display: flex; align-items: center; gap: 16px; margin-top: 30px; padding: 20px 0; border-top: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong); }
.vf-legal p { margin: 0; font-size: 14px; color: var(--text-2); }
.vf-legal a { text-decoration: underline; color: var(--text); }
.vf-18 { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent-text); font-weight: 700; font-size: 15px; }
.vf-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; font-size: 14px; color: var(--muted); }
.vf-bottom-r { display: inline-flex; align-items: center; gap: 14px; }
.vf-pipe { color: var(--border-strong); }
.vf-top-btn { display: grid; place-items: center; width: 40px; height: 40px; margin-left: 8px; border-radius: 50%; border: 1.5px solid var(--accent); background: transparent; color: var(--accent-text); font-size: 18px; cursor: pointer; }
.vf-top-btn:hover { background: var(--accent-soft); }
@media (max-width: 1279px) {
  .vf-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 28px; }
  .vf-links { grid-column: 1 / -1; grid-row: 2; padding: 0; border: 0; }
  .vf-region { padding-left: 0; }
}
@media (max-width: 767px) {
  .site-footer.vs-footer { margin-top: 32px; padding: 28px 16px calc(var(--nav-h) + var(--safe-b) + 24px); }
  .vf-top { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
  .vf-links, .vf-region { grid-column: 1; grid-row: auto; }
  .vf-links { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--border-strong); }
  .vf-col { border-bottom: 1px solid var(--border-strong); }
  .vf-col > summary { min-height: 52px; margin: 0; cursor: pointer; }
  .vf-chev { display: block; }
  .vf-col[open] .vf-chev { transform: rotate(180deg); }
  .vf-col ul { padding: 0 0 14px; }
  .vf-col li a { min-height: 40px; }
  .vf-pitch { width: 260px; right: -40px; top: -10px; }
  .vf-legal { align-items: flex-start; }
  .vf-bottom { flex-direction: column; align-items: flex-start; }
}
.page-legal .legal-sec + .legal-sec { margin-top: 20px; }
.legal-tbc { display: flex; align-items: center; gap: 8px; color: var(--muted); font-style: italic; }
.site-footer.vs-footer { overflow: hidden; }
.vs-footer nav.vf-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; flex-wrap: nowrap; }
.vs-footer a.vf-logo, .vs-footer a.vf-logo:hover { color: #fff; }
[data-theme="light"] .vs-footer a.vf-logo { color: #0e131a; }
@media (prefers-color-scheme: light) { html[data-theme="system"] .vs-footer a.vf-logo { color: #0e131a; } }
.vf-region { overflow: hidden; padding-bottom: 4px; }
.vf-pitch { right: 0; top: 0; width: 300px; opacity: .14; }
@media (max-width: 767px) {
  .vs-footer nav.vf-links { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .vf-pitch { width: 240px; }
}
/* unpriced = "—" (v4), suspended = lock + "Suspended", closed = "Closed" */
:root .odds.is-unpriced .odds-val { font-size: 18px !important; line-height: 22px; display: inline; }
:root .mrow-odds .odds.is-unpriced .odds-val { font-size: 18px !important; }
:root .odds.is-unpriced .odds-val::before, :root .odds.is-unpriced .odds-val::after { content: none !important; display: none; }

/* ---------- command palette (reference 16 fixes) ---------- */
.cmdk { padding: 12vh 16px 16px; }
.cmdk-backdrop { background: rgba(4, 8, 12, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
[data-theme="light"] .cmdk-backdrop { background: rgba(14, 19, 26, .35); }
.cmdk-dialog { width: min(640px, 100%); max-height: min(600px, 76vh); border-radius: 16px; border: 1px solid var(--border-strong); background: var(--surface); box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .75); overflow: hidden; }
.cmdk-dialog:focus-within { border-color: color-mix(in srgb, var(--accent) 60%, var(--border-strong)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent), 0 30px 80px -24px rgba(0, 0, 0, .75); }
.cmdk-input { gap: 12px; padding: 0 14px 0 18px; border-bottom: 1px solid var(--border-strong); background: transparent; }
.cmdk-input > .icon { width: 20px; height: 20px; color: var(--text-2); }
.cmdk .cmdk-input input, .cmdk .cmdk-input input:focus, .cmdk .cmdk-input input:focus-visible {
  height: 60px; padding: 0; border: 0 !important; border-radius: 0; background: transparent !important; box-shadow: none !important; outline: none !important; font-size: 18px; color: var(--text);
}
.cmdk-esc { min-width: 0; height: auto; padding: 0; border-radius: 6px; }
.cmdk-esc:hover { background: transparent; }
.cmdk-esc .kbd { height: 24px; padding: 0 8px; font-size: 12px; background: var(--surface-2); border-color: var(--border-strong); color: var(--text-2); }
.cmdk-cancel { display: none; border: 0; background: none; color: var(--accent-text); font: inherit; font-size: 16px; font-weight: 600; min-height: 44px; padding: 0 4px; cursor: pointer; }
.cmdk.is-loading .cmdk-input::after { background: var(--accent); }
.cmdk-list { padding: 8px; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
.cmdk-list::-webkit-scrollbar { width: 6px; }
.cmdk-list::-webkit-scrollbar-track { background: transparent; }
.cmdk-list::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
.cmdk-gh { padding: 10px 12px 6px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cmdk-clear { color: var(--accent-text); }
.cmdk-opt { position: relative; min-height: 52px; gap: 14px; padding: 6px 12px; border-radius: 8px; }
.cmdk-opt.is-active { background: var(--surface-2); }
.cmdk-opt.is-active::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.cmdk-opt.is-active .cmdk-title { color: var(--text); }
.cmdk-ico { width: 36px; height: 36px; border-radius: 8px; background: var(--surface-3); color: var(--text-2); border: 1px solid var(--border); }
.cmdk-ico.has-logo { background: transparent; border: 0; box-shadow: none; border-radius: 0; padding: 2px; }
.cmdk-title { font-size: 15px; font-weight: 600; }
.cmdk-title mark { background: none; color: var(--accent-text); font-weight: 700; }
.cmdk-sub { font-size: 13px; color: var(--text-2); }
.cmdk-live { height: 22px; padding: 0 8px; border-radius: 999px; background: var(--live-soft); color: var(--live); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.cmdk-live::before { content: none; }
.cmdk-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.cmdk-time { color: var(--text-2); }
.cmdk-skel { display: grid; gap: 8px; padding: 10px 6px; }
.cmdk-skel i { display: block; height: 44px; border-radius: 8px; }
.cmdk-empty { padding: 28px 16px; gap: 6px; color: var(--text-2); font-size: 14px; align-items: center; }
.cmdk-empty strong { font-size: 16px; }
.cmdk-empty-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--surface-3); color: var(--text-2); margin-bottom: 4px; }
.cmdk-sugs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.cmdk-sugs .chip { min-height: 34px; font-size: 13px; }
.cmdk-all { color: var(--accent-text); border-top-color: var(--border-strong); }
.cmdk-foot { gap: 18px; padding: 10px 18px; border-top: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2); }
.cmdk-foot .kbd { background: var(--surface-2); border-color: var(--border-strong); }
@media (max-width: 767px) {
  .cmdk { padding: 0; }
  .cmdk-dialog, .cmdk-dialog:focus-within { width: 100%; max-height: none; height: 100%; border-radius: 0; border: 0; box-shadow: none; }
  .cmdk-esc { display: none; }
  .cmdk-cancel { display: inline-flex; align-items: center; }
  .cmdk .cmdk-input input { font-size: 16px; height: 56px; }
}
/* header search pill: icon + placeholder centred, no inner box */
.hdr-search-field { align-items: center; line-height: 1; }
.hdr-search-field span { line-height: 20px; }

/* ---------- v4 competition picker (replaces the native select when JS runs) ---------- */
.vsel { display: none; position: relative; min-width: 0; }
html.js .league-form.has-vsel .league-select { display: none; }
html.js .league-form.has-vsel .vsel { display: block; }
.vsel-btn { max-width: 300px; min-width: 200px; justify-content: flex-start; }
.vsel-btn .pill-v { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vsel-btn .pill-chev { margin-left: auto; transition: transform var(--dur-2) var(--ease); }
.vsel.is-open .vsel-btn { border-color: var(--accent); }
.vsel.is-open .pill-chev { transform: rotate(180deg); }
.vsel-btn .comp-badge { width: 18px; height: 18px; background: transparent !important; padding: 0 !important; }
.vsel-panel {
  position: absolute; z-index: 65; left: 0; top: calc(100% + 8px); width: min(420px, calc(100vw - 24px)); max-height: 60vh; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px; box-shadow: var(--shadow-pop); overflow: hidden;
}
.vsel-panel[hidden] { display: none; }
html.fx-on .vsel-panel:not([hidden]) { animation: fx-fade .14s ease-out both; }
.vsel-search { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid var(--border-strong); flex: none; }
.vsel-search .icon { width: 18px; height: 18px; color: var(--text-2); }
.vsel .vsel-search input, .vsel .vsel-search input:focus-visible { flex: 1 1 auto; min-width: 0; height: 48px; border: 0 !important; background: transparent !important; box-shadow: none !important; outline: none; color: var(--text); font: inherit; font-size: 15px; padding: 0; }
.vsel-list { list-style: none; margin: 0; padding: 6px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
.vsel-gh { display: flex; align-items: center; gap: 8px; padding: 10px 10px 4px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.vsel-gh .icon { width: 14px; height: 14px; }
.vsel-gh[hidden], .vsel-opt[hidden], .vsel-none[hidden] { display: none; }
.vsel-opt { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 10px; border-radius: 8px; color: var(--text); cursor: pointer; }
.vsel-opt.is-active, .vsel-opt:hover { background: var(--surface-2); }
.vsel-ico { display: grid; place-items: center; width: 22px; height: 22px; flex: none; color: var(--text-2); }
.vsel-ico .icon { width: 18px; height: 18px; }
.vsel-ico .comp-badge { width: 20px; height: 20px; background: transparent !important; padding: 0 !important; }
.vsel-name { display: flex; align-items: baseline; gap: 8px; min-width: 0; flex: 1 1 auto; font-size: 14px; font-weight: 500; }
.vsel-name small { color: var(--muted); font-size: 12px; white-space: nowrap; }
.vsel-demo { height: 18px; padding: 0 6px; border-radius: 4px; background: var(--warning-soft); color: var(--warning-text); font-size: 11px; font-weight: 600; line-height: 18px; flex: none; }
.vsel-n { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--text-2); flex: none; }
.vsel-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.vsel-check { width: 16px; height: 16px; color: var(--accent-text); visibility: hidden; flex: none; }
.vsel-opt.is-sel { color: var(--accent-text); }
.vsel-opt.is-sel .vsel-name { font-weight: 600; }
.vsel-opt.is-sel .vsel-check { visibility: visible; }
.vsel-none { padding: 16px; text-align: center; color: var(--muted); font-size: 14px; }
@media (max-width: 767px) {
  .vsel { width: 100%; }
  .vsel-btn { width: 100%; max-width: none; min-width: 0; }
  .vsel-panel { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 75vh; border-radius: 16px 16px 0 0; z-index: 95; padding-bottom: var(--safe-b); }
  body.vsel-open::after { content: ""; position: fixed; inset: 0; z-index: 94; background: var(--overlay); }
}
/* date menu in the same v4 style */
.pill-drop .menu-panel.pill-panel { width: 240px; border-radius: 12px; }
.pill-panel .menu-link.is-active { background: transparent; color: var(--accent-text); }
.pill-panel .menu-link:hover { background: var(--surface-2); }
@media (max-width: 767px) { .vsel-panel { z-index: 96; } body.vsel-open .bottom-nav, body.vsel-open .support-fab { visibility: hidden; } }
