/* unihead-v1 (owner, 18 Nov 2026): one phone header for every sport, the same order everywhere.
   Row 1: logo, ScoreProb, search, theme, language, notifications, account, menu (always on screen).
   Row 2: the sport switch with coloured symbols (folds away while scrolling down; the shown sport's symbol then sits
   next to the name). Sport day pages add row 3 (days and the calendar, always on screen), row 4 (Live, Upcoming,
   Finished, Filters, Jump to) and row 5 (Competition | Time, Compact | Detailed), which fold away with row 2.
   Desktop (761 px and wider) is unchanged: everything below is for phones only, except the hiding of the new parts. */

.sh-mini, .sh-lang, .sh-subrows, .sh-spacer { display: none; }
.sport-switch .sp-sico { display: none; }
.sp-sico { flex: none; display: block; }

@media (max-width: 760px) {
  body {
    --sh-r1: 54px; --sh-r2: 50px; --sh-r3: 48px; --sh-r4: 48px; --sh-r5: 50px; --sh-pad: 4px;
    --sh-full: calc(var(--sh-r1) + var(--sh-r2));
    --sh-min: var(--sh-r1);
    --sh-h: var(--sh-full);
    --sh-bg: #ffffff; --sh-line: #e3e8ef; --sh-card: #ffffff; --sh-soft: #f2f5fa; --sh-ink: #18212f; --sh-muted: #667085;
    --sh-accent: #2857d9; --sh-accent-ink: #ffffff; --sh-accent-soft: #e6edfc; --sh-live: #d92d20; --sh-shadow: 0 10px 30px rgba(15, 23, 42, .12);
  }
  body.sh-sub {
    --sh-full: calc(var(--sh-r1) + var(--sh-r2) + var(--sh-r3) + var(--sh-r4) + var(--sh-r5) + var(--sh-pad));
    --sh-min: calc(var(--sh-r1) + var(--sh-r3) + var(--sh-pad));
  }
  html[data-theme="dark"] body {
    --sh-bg: #0b1220; --sh-line: #26354b; --sh-card: #111a29; --sh-soft: #0e1626; --sh-ink: #ecf2ff; --sh-muted: #aab7ca;
    --sh-accent: #7397ff; --sh-accent-ink: #0b1220; --sh-accent-soft: #1b2a4d; --sh-live: #ff6b5f; --sh-shadow: 0 14px 40px rgba(0, 0, 0, .55);
  }

  /* ---- the bar: fixed, with a spacer of the same height in the page */
  html .site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 60;
    transform: none !important; transition: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background: var(--sh-bg); border-bottom: 1px solid var(--sh-line); box-shadow: none;
  }
  html[data-theme="dark"] .site-header, html[data-theme="light"] .site-header { background: var(--sh-bg); }   /* solid: nothing shows through */
  .sh-spacer { display: block; height: var(--sh-full); }
  html .site-header .header-inner {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0;
    width: 100%; max-width: none; min-height: 0; height: auto; margin: 0; padding: 0 8px 0 12px;
  }

  /* row 1 */
  html .site-header .brand { order: 1; display: inline-flex; align-items: center; gap: 8px; height: var(--sh-r1); margin-right: auto; text-decoration: none; }
  html .site-header .brand .brand-mark { width: 30px; height: 30px; }
  html .site-header .brand-word { display: inline !important; font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: var(--sh-ink); }
  .sh-mini { order: 2; align-items: center; height: var(--sh-r1); padding: 0 2px 0 4px; }
  html.sh-down .sh-mini { display: inline-flex; margin-right: auto; }
  html.sh-down .site-header .brand { margin-right: 0; }
  html .site-header .main-nav, html .site-header .language-select-wrap { display: none !important; }
  html .site-header .sp-find-btn { order: 3; }
  html .site-header .theme-toggle { order: 4; }
  html .site-header .sh-lang { order: 5; }
  html .site-header .hub-bell { order: 6; }
  html .site-header .hub-link { order: 7; }
  html .site-header .mobile-menu { order: 8; margin-left: 0; }
  html .site-header .sp-find-btn,
  html .site-header .theme-toggle,
  html .site-header .hub-bell,
  html .site-header .hub-link,
  html .site-header .mobile-menu > summary,
  .sh-lang summary {
    display: inline-grid; place-items: center; width: 33px; height: 36px; min-width: 0; padding: 0; margin: 0;
    border: 0; border-radius: 999px; background: transparent; color: var(--sh-ink); box-shadow: none; cursor: pointer;
  }
  html .site-header .hub-bell[hidden] { display: inline-grid; }
  html .site-header .hub-bell { position: relative; }
  html .site-header .hub-bell-count { position: absolute; top: 1px; right: 0; }
  html .site-header .hub-link .hub-link-label { display: none; }
  html .site-header .hub-link .hub-link-initial { margin: 0; }
  html .site-header .theme-toggle-icon { font-size: 18px; line-height: 1; }
  html .site-header .mobile-menu-icon { background: var(--sh-ink); }
  html .site-header svg { flex: none; }
  .sh-lang { display: block; position: relative; }
  .sh-lang summary { list-style: none; font-size: 12px; font-weight: 800; letter-spacing: .02em; border: 1.5px solid var(--sh-line); width: 31px; height: 28px; margin: 0 1px; border-radius: 8px; }
  .sh-lang summary::-webkit-details-marker { display: none; }
  .sh-lang-list { position: absolute; top: calc(100% + 8px); right: -40px; z-index: 70; display: grid; min-width: 180px; padding: 6px; border: 1px solid var(--sh-line); border-radius: 14px; background: var(--sh-card); box-shadow: var(--sh-shadow); }
  .sh-lang-list a { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 10px; border-radius: 10px; color: var(--sh-ink); font-weight: 600; text-decoration: none; }
  .sh-lang-list a b { display: inline-grid; place-items: center; width: 30px; height: 22px; border-radius: 6px; background: var(--sh-soft); font-size: 11.5px; }
  .sh-lang-list a[aria-current="true"] { background: var(--sh-accent-soft); }
  @media (max-width: 389px) {
    html .site-header .header-inner { padding: 0 4px 0 9px; }
    html .site-header .brand { gap: 6px; }
    html .site-header .brand-word { font-size: 16.5px; }
    html .site-header .brand .brand-mark { width: 26px; height: 26px; }
    html .site-header .sp-find-btn, html .site-header .theme-toggle, html .site-header .hub-bell, html .site-header .hub-link, html .site-header .mobile-menu > summary { width: 30px; }
    .sh-lang summary { width: 29px; }
  }

  /* row 2: the sport switch */
  html .site-header .sport-switch {
    order: 20; flex: 0 0 100%; display: flex; align-items: center; gap: 8px; height: var(--sh-r2); margin: 0; padding: 0 0 4px;
    border: 0; border-radius: 0; background: none; overflow-x: auto; scrollbar-width: none;
  }
  html .site-header .sport-switch::-webkit-scrollbar { display: none; }
  html .site-header .sport-switch a {
    flex: none; display: inline-grid; place-items: center; width: 42px; height: 40px; padding: 0 !important; gap: 8px;
    border: 1px solid var(--sh-line); border-radius: 999px; background: var(--sh-card); color: var(--sh-ink); text-decoration: none;
  }
  html .site-header .sport-switch a > svg:not(.sp-sico) { display: none; }
  html .site-header .sport-switch .sp-sico { display: block; width: 24px; height: 24px; }
  html .site-header .sport-switch a.is-on {
    display: inline-flex; width: auto; padding: 0 16px 0 9px !important; background: var(--sh-accent-soft); border-color: var(--sh-accent); color: var(--sh-ink);
  }
  html .site-header .sport-switch a span { display: none !important; }
  html .site-header .sport-switch a.is-on span {
    display: inline !important; position: static !important; width: auto !important; height: auto !important; margin: 0 !important;
    overflow: visible !important; clip: auto !important; white-space: nowrap; font-size: 15.5px; font-weight: 700;
  }
  html.sh-down .site-header .sport-switch { display: none; }

  /* rows 3 to 5 */
  .sh-subrows { display: block; }
  .sh-rows { padding-bottom: var(--sh-pad); }
  .sh-r { display: flex; align-items: center; gap: 8px; padding: 0 10px 0 12px; }
  .sh-r3 { height: var(--sh-r3); }
  .sh-r4 { height: var(--sh-r4); }
  .sh-r5 { height: var(--sh-r5); }
  html.sh-down .sh-r4, html.sh-down .sh-r5 { display: none; }
  .sh-scroll { flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; gap: 7px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .sh-scroll::-webkit-scrollbar { display: none; }
  .sh-scroll { padding-right: 18px; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 26px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 26px), transparent); }
  .sh-scroll.is-end { -webkit-mask-image: none; mask-image: none; }
  .sh-r4 .sh-chip { padding: 0 11px; }
  .sh-chip {
    flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--sh-line); border-radius: 999px;
    background: var(--sh-card); color: var(--sh-ink) !important; font: inherit; font-size: 14px; font-weight: 650; white-space: nowrap; text-decoration: none; cursor: pointer;
  }
  .sh-days .sh-chip.is-on { background: var(--sh-accent); border-color: var(--sh-accent); color: var(--sh-accent-ink) !important; }
  .sh-status .sh-chip[aria-pressed="true"] { background: var(--sh-accent-soft); border-color: var(--sh-accent); }
  .sh-chip .sh-n { font-weight: 700; color: var(--sh-muted); font-variant-numeric: tabular-nums; }
  .sh-chip .sh-n.is-live { color: var(--sh-live); }
  .sh-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sh-live); }
  .sh-ibtn {
    flex: none; position: relative; display: inline-grid; place-items: center; width: 40px; height: 38px; padding: 0;
    border: 1px solid var(--sh-line); border-radius: 999px; background: var(--sh-card); color: var(--sh-ink); cursor: pointer;
  }
  .sh-badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--sh-accent); color: var(--sh-accent-ink); font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
  .sh-seg { flex: 1 1 0; display: flex; gap: 2px; padding: 3px; border: 1px solid var(--sh-line); border-radius: 14px; background: var(--sh-soft); }
  .sh-seg button {
    flex: 1 1 0; height: 36px; padding: 0 6px; border: 1px solid transparent; border-radius: 11px; background: transparent;
    color: var(--sh-muted); font: inherit; font-size: 14.5px; font-weight: 650; white-space: nowrap; cursor: pointer;
  }
  .sh-seg button[aria-pressed="true"] { background: var(--sh-card); border-color: var(--sh-line); color: var(--sh-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
  html[data-theme="dark"] .sh-seg button[aria-pressed="true"] { background: #16233a; border-color: #34445b; }
  @media (max-width: 389px) {
    .sh-r { gap: 6px; padding: 0 8px 0 10px; }
    .sh-seg, .sh-seg button { flex: 1 1 auto; }
    .sh-seg button { padding: 0 5px; font-size: 13.5px; }
    .sh-r4 .sh-chip { padding: 0 9px; font-size: 13.5px; }
    .sh-ibtn { width: 36px; }
  }

  /* the page's own day controls and titles move into the header; the titles stay for search engines */
  body.sh-sub .sp-home-v1-hero, body.sh-sub .bb-hero, body.sh-sub .tn-hero {
    position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important;
    overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important;
  }
  body.sh-sub .sp-top, body.sh-sub .sp-home-v1 .sp-hub-sticky-controls, body.sh-sub .sp-home-v1 .sd-bar, body.sh-sub .bb-mtop, body.sh-sub .tn-mtop { display: none !important; }
  body.sh-sub main section, body.sh-sub main [data-group], body.sh-sub .bb-legend-m { scroll-margin-top: calc(var(--sh-min) + 10px); }
  /* the first list starts right under the header (no empty band) */
  html body.sh-sub .bb-shell, html body.sh-sub .tn-shell { padding-top: 0; margin-top: -1px; }
  html body.sh-sub .sp-home-v1 .sd-root { padding-top: 0; margin-top: -1px; }

  /* other pages' sticky bars sit under the header as it is now */
  html .fx, html.sp-nav-hidden .fx { --sticky: var(--sh-h); }
  html .ld { --hdr: var(--sh-h); }
  html .mt { --hdr: var(--sh-h); }
  html .mp2-jump { top: var(--sh-h); }
  html .bb-tabs { top: var(--sh-h); }

  /* ---- the menu: a panel from the right with every sport, the account, the languages and the other pages */
  html.sh-menu-open { overflow: hidden; }
  html .site-header .mobile-menu[open]::before { content: ""; position: fixed; inset: 0; z-index: 79; background: rgba(4, 9, 18, .55); }
  html .site-header .mobile-menu-panel.sh-menu {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto; z-index: 80; display: block; width: min(88vw, 360px); margin: 0;
    padding: 6px 12px max(24px, env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain;
    border: 0; border-left: 1px solid var(--sh-line); border-radius: 0; background: var(--sh-bg); box-shadow: var(--sh-shadow);
  }
  .sh-menu-top { display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 2px 0 6px; }
  .sh-menu-top b { font-size: 18px; color: var(--sh-ink); }
  .sh-menu-x { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 999px; background: var(--sh-soft); color: var(--sh-ink); cursor: pointer; }
  .sh-menu-eyebrow { display: block; margin: 16px 8px 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sh-muted); }
  .sh-msport { border: 1px solid var(--sh-line); border-radius: 14px; background: var(--sh-card); margin-bottom: 8px; overflow: hidden; }
  html .site-header .sh-menu .sh-msport > summary { display: flex; place-items: normal; align-items: center; gap: 12px; width: auto; height: auto; min-height: 52px; padding: 0 14px; margin: 0; border: 0; border-radius: 0; background: none; list-style: none; cursor: pointer; font-size: 16px; font-weight: 750; color: var(--sh-ink); }
  .sh-msport summary::-webkit-details-marker { display: none; }
  .sh-msport summary .sp-sico { display: block; width: 26px; height: 26px; }
  .sh-chev { margin-left: auto; width: 9px; height: 9px; border-right: 2px solid var(--sh-muted); border-bottom: 2px solid var(--sh-muted); transform: rotate(45deg); transition: transform .15s; }
  .sh-msport[open] .sh-chev { transform: rotate(-135deg); }
  .sh-msport .sh-mlinks { padding: 0 6px 8px; }
  html .site-header .sh-menu .sh-mlinks a { display: flex; align-items: center; min-height: 44px; padding: 0 12px 0 52px; border-radius: 10px; color: var(--sh-ink); font-size: 15px; font-weight: 600; text-decoration: none; background: none; }
  html .site-header .sh-menu > .sh-mlinks a { padding-left: 14px; }
  html .site-header .sh-menu .sh-mlinks a.is-current { background: var(--sh-accent-soft); color: var(--sh-ink); }
  html .site-header .sh-menu .mobile-menu-langs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0 4px; border: 0; }
  html .site-header .sh-menu .mobile-menu-langs a { text-transform: none; letter-spacing: 0; min-width: 0; min-height: 38px; padding: 0 12px; border: 1px solid var(--sh-line); border-radius: 999px; color: var(--sh-ink); font-weight: 600; background: var(--sh-card); }
  html .site-header .sh-menu .mobile-menu-langs a[aria-current="true"] { background: var(--sh-accent); border-color: var(--sh-accent); color: var(--sh-accent-ink); }

  /* ---- sheets (calendar, competitions) */
  html.sh-lock { overflow: hidden; }
  .sh-sheet { position: fixed; inset: 0; z-index: 90; }
  .sh-sheet[hidden] { display: none; }
  .sh-sheet .sh-scrim { position: absolute; inset: 0; background: rgba(4, 9, 18, .55); opacity: 0; transition: opacity .18s; }
  .sh-sheet .sh-panel {
    position: absolute; left: 0; right: 0; bottom: 0; max-height: 86vh; display: flex; flex-direction: column;
    border-radius: 20px 20px 0 0; background: var(--sh-bg); color: var(--sh-ink); box-shadow: var(--sh-shadow);
    transform: translateY(100%); transition: transform .2s ease;
  }
  .sh-sheet.is-open .sh-scrim { opacity: 1; }
  .sh-sheet.is-open .sh-panel { transform: none; }
  .sh-grip { display: block; width: 40px; height: 4px; margin: 8px auto 0; border-radius: 4px; background: var(--sh-line); }
  .sh-phead { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 14px 6px 18px; }
  .sh-phead h2 { margin: 0; font-size: 18px; color: var(--sh-ink); }
  .sh-pbody { overflow-y: auto; padding: 4px 14px max(18px, env(safe-area-inset-bottom, 0px)); }
  .sh-cal-m { margin: 6px 0 14px; }
  .sh-cal-m h3 { margin: 6px 4px 8px; font-size: 15px; text-transform: capitalize; color: var(--sh-ink); }
  .sh-cal-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
  .sh-cal-g .wd { text-align: center; font-size: 11.5px; font-weight: 700; color: var(--sh-muted); text-transform: capitalize; padding-bottom: 2px; }
  .sh-cal-g a, .sh-cal-g span.d { display: grid; place-items: center; height: 42px; border-radius: 12px; font-weight: 650; font-variant-numeric: tabular-nums; text-decoration: none; }
  .sh-cal-g a { color: var(--sh-ink); background: var(--sh-card); border: 1px solid var(--sh-line); }
  .sh-cal-g span.d { color: var(--sh-muted); opacity: .4; }
  .sh-cal-g a.is-today { border-color: var(--sh-accent); }
  .sh-cal-g a.is-sel { background: var(--sh-accent); border-color: var(--sh-accent); color: var(--sh-accent-ink); }
  .sh-flist { display: flex; flex-direction: column; gap: 6px; }
  .sh-fsec { margin: 10px 4px 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sh-muted); }
  .sh-fbtn { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; border: 1px solid var(--sh-line); border-radius: 12px; background: var(--sh-card); color: var(--sh-ink); font: inherit; font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; }
  .sh-fbtn .n { margin-left: auto; color: var(--sh-muted); font-weight: 700; font-variant-numeric: tabular-nums; }
  .sh-fbtn::before { content: ""; flex: none; width: 18px; height: 18px; border: 2px solid var(--sh-line); border-radius: 5px; }
  .sh-fbtn[aria-pressed="true"] { border-color: var(--sh-accent); background: var(--sh-accent-soft); }
  .sh-fbtn[aria-pressed="true"]::before { border-color: var(--sh-accent); background: var(--sh-accent); box-shadow: inset 0 0 0 3px var(--sh-card); }
  .sh-fclear { margin-top: 12px; width: 100%; min-height: 46px; border: 0; border-radius: 12px; background: var(--sh-accent); color: var(--sh-accent-ink); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }

  /* ---- Compact rows for basketball, hockey and tennis (football has its own) */
  .sh-compact .bb-row.bb-r3 { grid-template-areas: "top pk" "teams pk"; row-gap: 4px; padding-top: 7px; padding-bottom: 8px; }
  .sh-compact .bb-r3 > .bb-barcell, .sh-compact .bb-r3 > .bb-flow { display: none !important; }
  .sh-compact .bb-r3 > .bb-pk { padding-top: 2px; padding-bottom: 3px; }
  .sh-compact .bb-r3 .bb-pk-h { display: none; }
  .sh-compact .bb-r3 .bb-team span.nm { font-size: 14px; }
  .sh-compact .tn-row { row-gap: 3px; padding-top: 7px; padding-bottom: 8px; }
  .sh-compact .tn-row .tn-ch { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
  .sh-compact .tn-row .tn-bar { display: none; }
  .sh-compact .tn-row .tn-ch .p { gap: 10px; font-size: 12.5px; }
}

/* hdrfit-v1 (owner, 18 Nov 2026): on laptop and tablet screens the desktop header's last button ("Log in") was cut off at
   the right. The bar may now use up to 1340 px; from 1000 to 1179 px its gaps and menu words are a little smaller; below
   1000 px the language is the short code with its list (as on phones) and the chosen sport shows its symbol only. */
@media (min-width: 761px) {
  html .site-header .header-inner { width: min(1340px, calc(100% - 40px)); max-width: none; }
}
@media (min-width: 1000px) and (max-width: 1179px) {
  html .site-header .header-inner { gap: 8px; }
  html .site-header .main-nav { gap: 7px; }
  html .site-header .main-nav a { font-size: 12.5px; }
}
@media (min-width: 761px) and (max-width: 999px) {
  body { --sh-line: #e3e8ef; --sh-card: #ffffff; --sh-soft: #f2f5fa; --sh-ink: #18212f; --sh-accent-soft: #e6edfc; --sh-shadow: 0 10px 30px rgba(15, 23, 42, .12); }
  html[data-theme="dark"] body { --sh-line: #26354b; --sh-card: #111a29; --sh-soft: #0e1626; --sh-ink: #ecf2ff; --sh-accent-soft: #1b2a4d; --sh-shadow: 0 14px 40px rgba(0, 0, 0, .55); }
  html .site-header .language-select-wrap { display: none !important; }
  html .site-header .sport-switch a.is-on span { display: none !important; }
  .sh-lang { display: block; position: relative; }
  .sh-lang summary { display: inline-grid; place-items: center; width: 36px; height: 30px; padding: 0; list-style: none; border: 1.5px solid var(--sh-line); border-radius: 8px; color: var(--sh-ink); font-size: 12px; font-weight: 800; letter-spacing: .02em; cursor: pointer; }
  .sh-lang summary::-webkit-details-marker { display: none; }
  .sh-lang-list { position: absolute; top: calc(100% + 8px); right: -40px; z-index: 70; display: grid; min-width: 180px; padding: 6px; border: 1px solid var(--sh-line); border-radius: 14px; background: var(--sh-card); box-shadow: var(--sh-shadow); }
  .sh-lang-list a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; border-radius: 10px; color: var(--sh-ink); font-weight: 600; text-decoration: none; }
  .sh-lang-list a b { display: inline-grid; place-items: center; width: 30px; height: 22px; border-radius: 6px; background: var(--sh-soft); font-size: 11.5px; }
  .sh-lang-list a[aria-current="true"] { background: var(--sh-accent-soft); }
}

/* switch-v1 (owner, 18 Nov 2026): the sport switch, second round (design canvas "Compact 5" on phones, "Compact 4" on
   desktop). Phones (and the app): open tabs, the symbol only, the name only for the shown sport, a blue line under it.
   Desktop: every sport's symbol in a round bubble with its name beside it, the shown one ringed in blue; the header's
   page links move to a slim bar under the header (it scrolls with the page, so the header keeps its height and every
   sticky bar its place). Everywhere: the number of games live now in a small red badge on the symbol's top-right
   corner; no game live, no badge. */
body { --sw-ink: #18212f; --sw-muted: #5b6576; --sw-line: #e3e8ef; --sw-bubble: #f3f6fb; --sw-ring: #dfe5ee; --sw-accent: #2857d9; --sw-glow: rgba(40, 87, 217, .14); --sw-live: #e5281b; --sw-edge: #ffffff; --sw-shade: rgba(15, 23, 42, .3); --sw-bar: #f6f8fb; }
html[data-theme="dark"] body { --sw-ink: #ecf2ff; --sw-muted: #aab7ca; --sw-line: #1c2a40; --sw-bubble: #141f33; --sw-ring: #26354b; --sw-accent: #7397ff; --sw-glow: rgba(115, 151, 255, .18); --sw-live: #ef3b2d; --sw-edge: #0b1220; --sw-shade: rgba(0, 0, 0, .55); --sw-bar: #0e1626; }

.sport-switch .sw-ico { position: relative; flex: none; display: grid; place-items: center; font-style: normal; }
.sport-switch .sw-live {
  position: absolute; top: -7px; right: -10px; z-index: 1; min-width: 18px; height: 18px; box-sizing: border-box; padding: 0 4px;
  border: 2px solid var(--sw-edge); border-radius: 999px; background: var(--sw-live); color: #fff; box-shadow: 0 3px 8px var(--sw-shade);
  font-size: 10.5px; font-weight: 800; font-style: normal; line-height: 14px; letter-spacing: 0; text-align: center; font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.sport-switch .sw-live[hidden] { display: none; }
.sport-switch .sw-live i { font-style: normal; }
.sport-switch .sw-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sh-pagebar { display: none; }

@media (max-width: 760px) {
  html .site-header .sport-switch {
    flex: 0 0 calc(100% + 20px); gap: 2px; margin: 0 -8px 0 -12px; padding: 0 8px 0 4px; align-items: stretch;
    box-shadow: inset 0 -1px 0 var(--sh-line);
  }
  html .site-header .sport-switch a {
    position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    width: auto; height: 100%; padding: 0 10px !important; border: 0; border-radius: 0; background: none; color: var(--sh-ink);
    box-shadow: inset 0 -3px 0 transparent; -webkit-tap-highlight-color: transparent;
  }
  html .site-header .sport-switch a.is-on { gap: 12px; padding: 0 13px 0 10px !important; border: 0; background: none; box-shadow: inset 0 -3px 0 var(--sh-accent); }
  html .site-header .sport-switch .sw-ico, html .site-header .sport-switch .sp-sico { width: 26px; height: 26px; }
  html body .site-header .sport-switch a span.sw-name {
    display: inline !important; position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important;
    padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap; border: 0;
  }
  html body .site-header .sport-switch a.is-on span.sw-name {
    position: static !important; width: auto !important; height: auto !important; margin: 0 !important; overflow: visible !important;
    clip: auto !important; color: var(--sh-ink); font-size: 15.5px; font-weight: 700;
  }
  @media (max-width: 389px) {
    html .site-header .sport-switch { flex-basis: calc(100% + 13px); margin: 0 -4px 0 -9px; padding: 0 4px 0 1px; }
  }
}

@media (min-width: 761px) {
  html .site-header .main-nav { display: none !important; }
  html .site-header .sp-find-btn { margin-left: auto; }
  html .site-header .sport-switch, html[data-theme="dark"] .site-header .sport-switch {
    display: flex; align-items: center; gap: 18px; margin: 0 0 0 10px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  }
  html .site-header .sport-switch a, html[data-theme="dark"] .site-header .sport-switch a {
    display: inline-flex; align-items: center; gap: 11px; padding: 0 !important; border: 0; border-radius: 0; background: none;
    color: var(--sw-muted); font-size: 14px; font-weight: 700; line-height: 1.1; text-decoration: none; white-space: nowrap;
  }
  html .site-header .sport-switch a:hover, html[data-theme="dark"] .site-header .sport-switch a:hover { color: var(--sw-ink); }
  html .site-header .sport-switch a.is-on, html[data-theme="dark"] .site-header .sport-switch a.is-on { background: none; color: var(--sw-ink); }
  html .site-header .sport-switch .sw-ico {
    width: 36px; height: 36px; box-sizing: border-box; border: 2px solid var(--sw-ring); border-radius: 999px; background: var(--sw-bubble);
    transition: border-color .15s ease, box-shadow .15s ease;
  }
  html .site-header .sport-switch a.is-on .sw-ico { border-color: var(--sw-accent); box-shadow: 0 0 0 3px var(--sw-glow); }
  html .site-header .sport-switch .sp-sico { display: block; width: 24px; height: 24px; }
  html .site-header .sport-switch .sw-live { top: -6px; right: -8px; }
  html body .site-header .sport-switch a span.sw-name {
    display: inline !important; position: static !important; width: auto !important; height: auto !important; margin: 0 !important;
    overflow: visible !important; clip: auto !important;
  }

  .sh-pagebar { display: block; border-bottom: 1px solid var(--sw-line); background: var(--sw-bar); }
  .sh-pagebar-in {
    display: flex; align-items: center; gap: 26px; width: min(1340px, calc(100% - 40px)); height: 44px; margin: 0 auto; padding: 0 2px;
    box-sizing: border-box; overflow-x: auto; scrollbar-width: none;
  }
  .sh-pagebar-in::-webkit-scrollbar { display: none; }
  .sh-pagebar a {
    flex: none; display: inline-flex; align-items: center; height: 100%; color: var(--sw-muted); font-size: 14px; font-weight: 600;
    text-decoration: none; white-space: nowrap; box-shadow: inset 0 -2px 0 transparent;
  }
  .sh-pagebar a:hover { color: var(--sw-ink); }
  .sh-pagebar a.is-current { color: var(--sw-ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--sw-accent); }
  .sh-pagebar a.nav-cta { height: 30px; margin-left: auto; padding: 0 14px; border-radius: 999px; background: var(--sw-accent); color: #fff; font-weight: 800; box-shadow: none; }
  html[data-theme="dark"] .sh-pagebar a.nav-cta { color: #0b1220; }
  .sh-pagebar a.nav-cta:hover { filter: brightness(1.07); }
}
@media (min-width: 1000px) and (max-width: 1199px) {
  html .site-header .sport-switch, html[data-theme="dark"] .site-header .sport-switch { gap: 14px; margin-left: 6px; }
  html .site-header .sport-switch a, html[data-theme="dark"] .site-header .sport-switch a { gap: 8px; font-size: 13.5px; }
  html .site-header .sport-switch .sw-ico { width: 34px; height: 34px; }
  html .site-header .sport-switch .sp-sico { width: 22px; height: 22px; }
}
@media (min-width: 761px) and (max-width: 999px) {
  html .site-header .brand-word { display: none !important; }
  html .site-header .sport-switch, html[data-theme="dark"] .site-header .sport-switch { gap: 11px; margin-left: 4px; }
  html .site-header .sport-switch a, html[data-theme="dark"] .site-header .sport-switch a { gap: 7px; font-size: 13px; }
  html .site-header .sport-switch .sw-ico { width: 32px; height: 32px; }
  html .site-header .sport-switch .sp-sico { width: 21px; height: 21px; }
  .sh-pagebar-in { gap: 22px; }
  .sh-pagebar a { font-size: 13.5px; }
}

/* hbvb-v1 (21 Nov 2026): six sports in the desktop switch. Below 1440 px only the shown sport keeps its name next to
   its bubble (the others keep the bubble and the name as a tooltip); the gaps shrink a little more below 1200 px. */
@media (min-width: 761px) and (max-width: 1439px) {
  html body .site-header .sport-switch.sw-n6 a:not(.is-on) span.sw-name, html body .site-header .sport-switch.sw-n5 a:not(.is-on) span.sw-name {
    position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important;
  }
}
@media (min-width: 761px) and (max-width: 1199px) {
  html .site-header .sport-switch.sw-n6, html[data-theme="dark"] .site-header .sport-switch.sw-n6 { gap: 9px; }
}

/* hbvbfix-v1 (21 Nov 2026): the sport switch with six sports, back to the owner's choices of 18 Nov.
   Phones: slightly narrower tabs so all six fit on a 360 px screen in English; when a long name still does not fit,
   the row scrolls to show the shown sport whole and fades at the edge where more sports are (sp-head.js).
   Desktop: every sport's name beside its bubble from 1280 px (32 px bubbles, as the bar is never wider than 1340 px); below 1280 px, or
   whenever a language's words would not fit, the other sports keep the bubble only (sp-head.js adds sw-tight). */
@media (max-width: 760px) {
  html .site-header .sport-switch.sw-n5, html .site-header .sport-switch.sw-n6 { gap: 0; }
  html .site-header .sport-switch.sw-n5 a, html .site-header .sport-switch.sw-n6 a { padding: 0 8px !important; }
  html .site-header .sport-switch.sw-n5 a.is-on, html .site-header .sport-switch.sw-n6 a.is-on { gap: 10px; padding: 0 11px 0 8px !important; }
  html .site-header .sport-switch.sw-more-r { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 30px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 30px), transparent); }
  html .site-header .sport-switch.sw-more-l { -webkit-mask-image: linear-gradient(to right, transparent, #000 30px); mask-image: linear-gradient(to right, transparent, #000 30px); }
  html .site-header .sport-switch.sw-more-l.sw-more-r { -webkit-mask-image: linear-gradient(to right, transparent, #000 30px, #000 calc(100% - 30px), transparent); mask-image: linear-gradient(to right, transparent, #000 30px, #000 calc(100% - 30px), transparent); }
}
@media (min-width: 1280px) {
  html body .site-header .sport-switch.sw-n6 a:not(.is-on) span.sw-name, html body .site-header .sport-switch.sw-n5 a:not(.is-on) span.sw-name {
    position: static !important; width: auto !important; height: auto !important; margin: 0 !important; overflow: visible !important; clip: auto !important;
  }
  html .site-header .sport-switch.sw-n6, html[data-theme="dark"] .site-header .sport-switch.sw-n6 { gap: 13px; margin-left: 2px; }
  html .site-header .sport-switch.sw-n6 a, html[data-theme="dark"] .site-header .sport-switch.sw-n6 a { gap: 8px; font-size: 13.5px; }
  html .site-header .sport-switch.sw-n6 .sw-ico { width: 32px; height: 32px; }
  html .site-header .sport-switch.sw-n6 .sp-sico { width: 22px; height: 22px; }
}
@media (min-width: 761px) {
  html body .site-header .sport-switch.sw-tight a:not(.is-on) span.sw-name {
    position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important;
  }
}

/* favhead-v1 (owner, 26 Nov 2026): Favourites in the desktop header, left of the bell, looking like the bell; signed in, the
   phone dock's "live/all" pill (live number red) sits centred above the star. Phones have it in the dock. */
.hub-fav { position: relative; flex: 0 0 auto; display: inline-grid; place-items: center; width: 34px; height: 34px; box-sizing: border-box; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #1c2a3f; text-decoration: none; }
.hub-fav:hover, .hub-fav[aria-current="page"] { border-color: var(--accent); color: var(--accent-dark); }
html[data-theme="dark"] .hub-fav { border-color: #35445b; background: #131d2d; color: #e8eef8; }
html[data-theme="dark"] .hub-fav:hover, html[data-theme="dark"] .hub-fav[aria-current="page"] { border-color: #7397ff; color: #bcd0ff; }
.hub-fav[aria-current="page"] svg { fill: currentColor; }
.hub-fav-count { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); box-sizing: border-box; min-width: 18px; height: 18px; padding: 0 6px; border-radius: 9px; background: #0d1a3d; color: #dfe6ff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; white-space: nowrap; }
html[data-theme="dark"] .hub-fav-count { box-shadow: 0 0 0 1px #3d5070; }
.hub-fav-count i { color: #ff6a5f; font-style: normal; }
.hub-fav-count[hidden] { display: none; }
@media (max-width: 760px) { html .site-header .hub-fav { display: none !important; } }
