/* SportMyLife — Broadcast Pro Design System (Hybrid Athletic Daylight Light + Stadium Broadcast Dark · v2026113021)
 * Loaded after styles.css, esportsHub.css, and editorialGallery.css.
 * Zero feature removals: upgrades tokens, top Broadcast Scoreboard Ticker, Stadium Hero, and Native Mobile App Bar. */

:root {
  --font-display: 'Barlow Condensed', 'Oswald', sans-serif;
  --sml-live-red: #e61e32;
  --sml-gold-pro: #f0c35a;
  --sml-emerald-pro: #10b981;
  --branch-accent: #f0c35a;
}

/* ================= 1. HYBRID THEME TOKENS (DARK = STADIUM PRO, LIGHT = ATHLETIC DAYLIGHT) ================= */
html[data-theme='dark'],
html:not([data-theme]) {
  --bg: #080c12;
  --bg-elev: #0d131d;
  --surface: #111824;
  --surface-2: #172030;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(240, 195, 90, 0.42);
  --ink: #f8fafc;
  --ink-muted: #94a3b8;
  --ink-dim: #64748b;
  --gold: #f0c35a;
  --gold-soft: rgba(240, 195, 90, 0.15);
  --turf: #10b981;
  --turf-soft: rgba(16, 185, 129, 0.18);
  --era-accent: #f0c35a;
  --era-soft: rgba(240, 195, 90, 0.16);
  --shadow: 0 20px 48px rgba(0, 0, 0, 0.52);
}

html[data-theme='dark'] body {
  background-color: #080c12;
  background-image:
    radial-gradient(ellipse 76% 44% at 50% -8%, rgba(16, 185, 129, 0.11) 0%, transparent 62%),
    radial-gradient(ellipse 64% 38% at 88% 4%, rgba(240, 195, 90, 0.08) 0%, transparent 56%);
  color: var(--ink);
}

html[data-theme='light'] {
  --bg: #f2f4f8;
  --bg-elev: #f8fafc;
  --surface: #ffffff;
  --surface-2: #eef2f6;
  --border: rgba(15, 23, 42, 0.1);
  --border-strong: rgba(5, 150, 105, 0.36);
  --ink: #0a0e17;
  --ink-muted: #475569;
  --ink-dim: #64748b;
  --gold: #b45309;
  --gold-soft: rgba(180, 83, 9, 0.1);
  --turf: #059669;
  --turf-soft: rgba(5, 150, 105, 0.11);
  --era-accent: #059669;
  --era-soft: rgba(5, 150, 105, 0.12);
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

html[data-theme='light'] body {
  background-color: #f2f4f8;
  background-image:
    radial-gradient(ellipse 80% 42% at 50% -10%, rgba(255, 255, 255, 0.92) 0%, #f2f4f8 58%, #e9edf4 100%);
  color: #0a0e17;
}

html[data-theme='light'] .hero-backdrop {
  background:
    radial-gradient(ellipse 70% 45% at 18% 0%, rgba(5, 150, 105, 0.07), transparent 62%),
    radial-gradient(ellipse 60% 42% at 86% 6%, rgba(37, 99, 235, 0.05), transparent 60%);
}

/* Per-Branch Sport Identity Accents */
html[data-sport-branch='football'] { --branch-accent: #10b981; }
html[data-sport-branch='motorsport'] { --branch-accent: #e10600; }
html[data-sport-branch='ufc'],
html[data-sport-branch='boxing'],
html[data-sport-branch='kickboxing'] { --branch-accent: #e61e32; }
html[data-sport-branch='basketball'] { --branch-accent: #f59e0b; }
html[data-sport-branch='tennis'],
html[data-sport-branch='padel'] { --branch-accent: #2563eb; }
html[data-sport-branch='hockey'],
html[data-sport-branch='winter'],
html[data-sport-branch='aquatics'] { --branch-accent: #0284c7; }
html[data-sport-branch='esports'] { --branch-accent: #06b6d4; }

/* Tabular numbers across scores & KPIs */
.ws-kpi-card strong,
.sml-ed-filter-pill,
.header-badge,
.sml-bticker,
.sml-bticker-item,
.nav-cat-cnt {
  font-variant-numeric: tabular-nums;
}

/* ================= 2. BROADCAST TOP SCOREBOARD TICKER ================= */
.sml-bticker {
  position: relative;
  z-index: 65;
  width: 100%;
  background: #06090f;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1;
}

.sml-bticker-inner {
  width: min(1380px, 100% - 24px);
  margin: 0 auto;
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sml-bticker-live-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 5px;
  border: 0;
  background: var(--sml-live-red);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.sml-bticker-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  animation: smlPulseDot 1.6s infinite ease-in-out;
}

@keyframes smlPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.72); }
}

.sml-bticker-track {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0;
}

.sml-bticker-track::-webkit-scrollbar {
  display: none;
}

.sml-bticker-item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #f1f5f9;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.sml-bticker-item:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(240, 195, 90, 0.45);
}

.sml-bticker-tag {
  color: var(--sml-gold-pro);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sml-bticker-item.is-live-match .sml-bticker-tag {
  color: #ff5b6b;
}

.sml-bticker-score {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.03em;
}

/* ================= 3. ATHLETIC BROADCAST HEADER ================= */
html body .site-header {
  background: rgba(8, 12, 18, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme='light'] body .site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

html body .brand-sport-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.06em;
}

html[data-theme='light'] body .header-badge,
html[data-theme='light'] body .theme-toggle-btn,
html[data-theme='light'] body .lang-switcher-btn,
html[data-theme='light'] body .nav-cat-btn,
html[data-theme='light'] body .nav-branch-btn,
html[data-theme='light'] body .header-back-world-btn,
html[data-theme='light'] body #header-login-btn,
html[data-theme='light'] body .mobile-menu-btn {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.13);
  color: #0a0e17;
  border-radius: 10px;
}

html[data-theme='light'] body .header-badge.tickets-pill,
html[data-theme='light'] body .header-badge.sports-dir-pill {
  background: #f8fafc;
}

html[data-theme='dark'] body .header-badge,
html[data-theme='dark'] body .theme-toggle-btn,
html[data-theme='dark'] body .lang-switcher-btn,
html[data-theme='dark'] body .nav-cat-btn {
  background: rgba(17, 24, 36, 0.92);
  border-color: rgba(255, 255, 255, 0.11);
  border-radius: 10px;
}

html body .nav-cat-btn:hover,
html body .main-nav a.is-active {
  border-color: var(--branch-accent);
}

html body .main-nav a {
  border-radius: 9px;
}

/* ================= 4. CINEMATIC STADIUM HERO BANNER (#world-hero-banner) ================= */
html body #world-hero-banner.ws-hero-banner {
  position: relative;
  border-radius: 18px;
  padding: 26px 28px;
  margin-bottom: 18px;
  background:
    radial-gradient(ellipse 75% 70% at 88% 12%, rgba(16, 185, 129, 0.16), transparent 60%),
    radial-gradient(ellipse 65% 65% at 10% 100%, rgba(240, 195, 90, 0.12), transparent 58%),
    linear-gradient(132deg, #090e17 0%, #0f1724 58%, #0a131b 100%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-top: 3px solid var(--sml-gold-pro);
  box-shadow: 0 22px 54px rgba(4, 8, 16, 0.34);
  color: #f8fafc;
}

html body #world-hero-banner .ws-eyebrow {
  border-radius: 7px;
  background: rgba(240, 195, 90, 0.14);
  border: 1px solid rgba(240, 195, 90, 0.36);
  color: #f0c35a;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
}

html body #world-hero-banner .ws-hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 42px;
  line-height: 1.04;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: #ffffff;
}

html body #world-hero-banner .ws-hero-sub {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.5;
}

html body #world-sport-hero #world-hero-banner .ws-hero-actions.ws-cat-dock,
html body #world-hero-banner .ws-hero-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

html body #world-sport-hero #world-hero-banner .ws-cat-head-line strong,
html body #world-hero-banner .ws-cat-head-line strong {
  font-size: 13px;
  line-height: 1.24;
  overflow-wrap: normal;
  word-break: normal;
}

html body #world-sport-hero #world-hero-banner .ws-hero-media,
html body #world-hero-banner .ws-hero-media {
  aspect-ratio: 16 / 9;
  max-height: 380px;
  min-height: 0;
  width: 100%;
  align-self: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
}

html body #world-sport-hero #world-hero-banner .ws-hero-media img,
html body #world-hero-banner .ws-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

html body #world-sport-hero #world-hero-banner .ws-kpi-grid,
html body #world-hero-banner .ws-kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

html body #world-hero-banner .ws-mission-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

html body #world-champions-ledger .ws-ledger-grid,
html body .ws-ledger-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

html body #ws-daily-edition .ws-news-grid,
html body .ws-news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

html body #world-hero-banner .ws-kpi-card {
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
}

html body #world-hero-banner .ws-kpi-card strong {
  font-family: var(--font-display);
  font-size: 24px;
  color: #f0c35a;
}

html body #world-hero-banner .ws-kpi-card span {
  color: #94a3b8;
}

html body #world-hero-banner .ws-cat-tile {
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--cat-accent, #f0c35a);
  color: #f8fafc;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

html body #world-hero-banner .ws-cat-tile:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

html body #world-sport-hero #world-hero-banner .ws-cat-dock .ws-cat-tile.is-all-tile,
html[data-theme='light'] body #world-sport-hero #world-hero-banner .ws-cat-dock .ws-cat-tile.is-all-tile {
  background: linear-gradient(135deg, rgba(240, 195, 90, 0.22) 0%, rgba(16, 185, 129, 0.16) 52%, rgba(15, 23, 36, 0.92) 100%);
  border-color: rgba(240, 195, 90, 0.55);
  border-top: 3px solid #f0c35a;
  color: #ffffff;
}

html body #world-sport-hero #world-hero-banner .ws-cat-dock .ws-cat-tile.is-all-tile strong {
  color: #f0c35a;
}

html body #world-sport-hero #world-hero-banner .ws-cat-dock .ws-cat-tile.is-all-tile small {
  color: #cbd5e1;
}

html body #world-hero-banner .ws-cat-tile small {
  color: #94a3b8;
}

html body #world-hero-banner .ws-cat-cnt {
  background: rgba(255, 255, 255, 0.12);
  color: #f0c35a;
  border-radius: 6px;
}

html body #world-hero-banner .ws-mission-band {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  padding-top: 16px;
}

html body #world-hero-banner .ws-mission-head h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 24px;
  color: #ffffff;
}

html body #world-hero-banner .ws-mission-head p {
  color: #94a3b8;
}

html body #world-hero-banner .ws-mission-card {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--sml-emerald-pro);
  color: #f1f5f9;
}

html body #world-hero-banner .ws-mission-card h3 {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 20px;
}

html body #world-hero-banner .ws-mission-card p {
  color: #94a3b8;
}

html body #world-hero-banner .ws-mission-num {
  color: #f0c35a;
}

/* ================= 5. HOMEPAGE BROADCAST CARDS (ZERO BEIGE) ================= */
html[data-theme='light'] body #ws-daily-edition,
html[data-theme='light'] body #ws-live-recap-strip,
html[data-theme='light'] body .ws-fact-card,
html[data-theme='light'] body #world-champions-ledger,
html[data-theme='light'] body .ws-showcase-shell,
html[data-theme='light'] body .ws-chronicle-shell {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  color: #0a0e17;
}

html[data-theme='dark'] body #ws-daily-edition,
html[data-theme='dark'] body #ws-live-recap-strip,
html[data-theme='dark'] body .ws-fact-card,
html[data-theme='dark'] body #world-champions-ledger,
html[data-theme='dark'] body .ws-showcase-shell,
html[data-theme='dark'] body .ws-chronicle-shell {
  background: #111824;
  border-color: rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
  color: #f8fafc;
}

html[data-theme='light'] body #ws-daily-edition {
  border-top: 3px solid #059669;
}

html[data-theme='dark'] body #ws-daily-edition {
  border-top: 3px solid #10b981;
}

html[data-theme='light'] body #ws-live-recap-strip {
  border-top: 3px solid var(--sml-live-red);
}

html[data-theme='dark'] body #ws-live-recap-strip {
  border-top: 3px solid var(--sml-live-red);
}

html[data-theme='light'] body .ws-ledger-card,
html[data-theme='light'] body .ws-sport-card,
html[data-theme='light'] body .ws-news-card,
html[data-theme='light'] body .ws-news-empty {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.1);
  border-radius: 12px;
}

html[data-theme='dark'] body .ws-ledger-card,
html[data-theme='dark'] body .ws-sport-card,
html[data-theme='dark'] body .ws-news-card,
html[data-theme='dark'] body .ws-news-empty {
  background: #172030;
  border-color: rgba(255, 255, 255, 0.09);
  border-radius: 12px;
}

html body .ws-masthead-date,
html body .ws-hub-title,
html body .ws-chronicle-head h2 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

html body .ws-day-tab,
html body .ws-filter-btn,
html body .ws-masthead-btn {
  border-radius: 9px;
  font-weight: 700;
}

html[data-theme='light'] body .ws-day-tab.is-active,
html[data-theme='light'] body .ws-filter-btn.is-active {
  background: #0a0e17;
  color: #ffffff;
  border-color: #0a0e17;
}

/* ================= 6. COLLECTIBLE COVERS MAGAZINE & ESPORTS SYNC ================= */
html[data-theme='light'] body .world-editorial-magazine {
  --ed-gold: #059669;
  --ed-gold-strong: #047857;
  --ed-gold-soft: rgba(5, 150, 105, 0.1);
  --ed-bg: #ffffff;
  --ed-card: #ffffff;
  --ed-card-2: #f1f5f9;
  --ed-border: rgba(15, 23, 42, 0.1);
  --ed-ink: #0a0e17;
  --ed-muted: #475569;
  --ed-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

html[data-theme='dark'] body .world-editorial-magazine {
  --ed-gold: #f0c35a;
  --ed-gold-strong: #f0c35a;
  --ed-gold-soft: rgba(240, 195, 90, 0.14);
  --ed-bg: #0f1623;
  --ed-card: #111824;
  --ed-card-2: #172030;
  --ed-border: rgba(255, 255, 255, 0.11);
  --ed-ink: #f8fafc;
  --ed-muted: #94a3b8;
  --ed-shadow: 0 20px 48px rgba(0, 0, 0, 0.48);
}

html body .sml-ed-shell {
  border-radius: 18px;
}

html body .sml-ed-heading h2 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

html body .sml-ed-filter-pill,
html body .sml-ed-view-btn,
html body .sml-ed-random-btn {
  border-radius: 9px;
}

html body .sml-ed-card {
  border-radius: 13px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

html body .sml-ed-card:hover {
  transform: translateY(-3px);
}

html[data-theme='light'] body .esports-hub {
  --eh-panel: #ffffff;
  --eh-panel-2: #f1f5f9;
  --eh-panel-3: #e2e8f0;
  --eh-border: rgba(15, 23, 42, 0.12);
}

/* Harmonize Deck Stepper Bar on inner wings */
html[data-theme='light'] body .deck-stepper-bar {
  background: rgba(255, 255, 255, 0.94);
  border-top-color: rgba(15, 23, 42, 0.1);
}

html[data-theme='dark'] body .deck-stepper-bar {
  background: rgba(8, 12, 18, 0.94);
  border-top-color: rgba(255, 255, 255, 0.1);
}

/* ================= 7. RESPONSIVE STEPPED POLISH & NATIVE MOBILE BOTTOM APP TAB BAR ================= */
.sml-mob-appbar {
  display: none;
}

@media (max-width: 1280px) {
  html body .site-header .main-nav.ws-cat-nav {
    justify-content: flex-start !important;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    mask-image: none;
    -webkit-mask-image: none;
  }

  html body .site-header .main-nav.ws-cat-nav::-webkit-scrollbar {
    display: none;
  }

  html body .site-header .main-nav.ws-cat-nav .nav-cat-btn,
  html body .site-header .main-nav.ws-cat-nav .nav-all16-btn,
  html body .site-header .main-nav.ws-cat-nav .nav-all24-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (max-width: 1180px) {
  html body #world-hero-banner .ws-hero-title {
    font-size: 34px;
  }

  html body #world-hero-banner .ws-hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  html body #world-sport-hero #world-hero-banner .ws-hero-actions.ws-cat-dock,
  html body #world-hero-banner .ws-hero-actions {
    max-width: 100% !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1080px) {
  html body #world-hero-banner .ws-mission-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body #world-champions-ledger .ws-ledger-grid,
  html body .ws-ledger-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html body #ws-daily-edition .ws-news-grid,
  html body .ws-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .sml-bticker-inner {
    width: calc(100% - 16px);
    gap: 8px;
  }

  html body #world-hero-banner.ws-hero-banner {
    padding: 16px 14px;
    border-radius: 14px;
  }

  html body #world-hero-banner .ws-cat-tile {
    padding: 8px 8px;
    gap: 7px;
  }

  html body #world-hero-banner .ws-cat-ico-wrap {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
  }

  /* Show native mobile app bar ONLY on portal branches (never clashes with #deck-stepper-bar on inner 6-hall wings) */
  html[data-sport-branch='world'] .sml-mob-appbar,
  html[data-sport-branch='live'] .sml-mob-appbar,
  html[data-sport-branch='sports'] .sml-mob-appbar,
  html[data-sport-branch='tickets'] .sml-mob-appbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 75;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    gap: 2px;
    padding: 6px 6px calc(8px + env(safe-area-inset-bottom));
    background: rgba(8, 12, 18, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: 0 -8px 26px rgba(0, 0, 0, 0.35);
  }

  html[data-theme='light'][data-sport-branch='world'] .sml-mob-appbar,
  html[data-theme='light'][data-sport-branch='live'] .sml-mob-appbar,
  html[data-theme='light'][data-sport-branch='sports'] .sml-mob-appbar,
  html[data-theme='light'][data-sport-branch='tickets'] .sml-mob-appbar {
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
  }

  html[data-sport-branch='world'] body,
  html[data-sport-branch='live'] body,
  html[data-sport-branch='sports'] body,
  html[data-sport-branch='tickets'] body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }

  /* Keep cookie banner cleanly above mobile app bar */
  html[data-sport-branch='world'] .sml-consent,
  html[data-sport-branch='live'] .sml-consent,
  html[data-sport-branch='sports'] .sml-consent,
  html[data-sport-branch='tickets'] .sml-consent {
    bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .sml-mob-tab {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 46px;
    padding: 4px 2px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #94a3b8;
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  html[data-theme='light'] .sml-mob-tab {
    color: #64748b;
  }

  .sml-mob-tab.is-active {
    color: #f0c35a;
    background: rgba(240, 195, 90, 0.1);
  }

  html[data-theme='light'] .sml-mob-tab.is-active {
    color: #059669;
    background: rgba(5, 150, 105, 0.1);
  }

  .sml-mob-tab svg {
    width: 19px;
    height: 19px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .sml-mob-tab span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 679px) {
  html body #world-sport-hero #world-hero-banner .ws-hero-actions.ws-cat-dock,
  html body #world-hero-banner .ws-hero-actions {
    max-width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  html body #world-hero-banner .ws-hero-title {
    font-size: 28px;
  }

  html body #world-hero-banner .ws-hero-sub {
    font-size: 14px;
  }

  html body #world-sport-hero #world-hero-banner .ws-cat-head-line strong,
  html body #world-hero-banner .ws-cat-head-line strong {
    font-size: 12px;
    overflow-wrap: normal;
    word-break: normal;
  }

  html body #world-sport-hero #world-hero-banner .ws-kpi-grid,
  html body #world-hero-banner .ws-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body #ws-daily-edition .ws-news-grid,
  html body .ws-news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  html body #world-hero-banner .ws-mission-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  html body #world-champions-ledger .ws-ledger-grid,
  html body .ws-ledger-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 440px) {
  html body #world-hero-banner .ws-cat-tile {
    padding: 8px 7px;
    gap: 6px;
  }

  html body #world-hero-banner .ws-cat-head-line strong {
    font-size: 11px;
    overflow: visible;
  }
}

@media (max-width: 359px) {
  html body #world-sport-hero #world-hero-banner .ws-hero-actions.ws-cat-dock,
  html body #world-hero-banner .ws-hero-actions {
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
  }
}
