/* ═══════════════════════════════════════════════════════════════════════════
   GoalGrid AI — 2 hlavní barvy (jediné místo pro změnu hex kódů)
   v4.2.8.27.235

   1. --gg-brand-primary   Mint teal  #35E0C2  → akcent, CTA, odkazy, LIVE, AI
   2. --gg-brand-secondary Deep navy  #061019  → pozadí, dark base, theme-color

   Vše ostatní (--gg-accent, --ls-red, showcase mint…) se odvozuje automaticky.
   ═══════════════════════════════════════════════════════════════════════════ */

body.livesport-theme {
  --gg-brand-primary: #35e0c2;
  --gg-brand-secondary: #061019;

  --gg-brand-primary-hover: #2bc9ad;
  --gg-brand-primary-soft: rgba(53, 224, 194, 0.12);
  --gg-brand-primary-border: rgba(53, 224, 194, 0.28);
  --gg-brand-primary-glow: rgba(53, 224, 194, 0.35);
  --gg-brand-primary-light: #49e5c7;
  --gg-brand-primary-on: #061019;

  --gg-brand-secondary-elevated: #10151f;
  --gg-brand-secondary-surface: #0e1a28;

  /* Zpětná kompatibilita — starší proměnné v celém CSS */
  --gg-dark: var(--gg-brand-secondary);
  --gg-dark-elevated: var(--gg-brand-secondary-elevated);
  --gg-accent: var(--gg-brand-primary);
  --gg-accent-hover: var(--gg-brand-primary-hover);
  --gg-accent-soft: var(--gg-brand-primary-soft);
  --gg-accent-border: var(--gg-brand-primary-border);
  --gg-accent-glow: var(--gg-brand-primary-glow);
  --gg-text: #f3f4f6;
  --gg-muted: #94a3b8;

  --ls-red: var(--gg-brand-primary);
  --ls-red-hover: var(--gg-brand-primary-hover);
  --ls-red-soft: var(--gg-brand-primary-soft);
  --ls-bg: var(--gg-brand-secondary);
  --ls-bg-elevated: var(--gg-brand-secondary-elevated);
  --ls-live: var(--gg-brand-primary);
  --ls-live-soft: var(--gg-brand-primary-soft);
  --ls-ai: var(--gg-brand-primary);
  --ls-ai-soft: var(--gg-brand-primary-soft);
  --ls-top-pick: var(--gg-brand-primary);

  /* Lock dark tokens — styles.css body.light-mode must not bleed through */
  --text-primary: #f3f4f6;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --bg-base: var(--gg-brand-secondary);
  --bg-surface: var(--gg-brand-secondary-elevated);
  --bg-card: #101c2a;
  --bg-hover: #142436;
  --border: rgba(255, 255, 255, 0.1);
  color-scheme: dark;
}

body.livesport-theme.light-mode,
html.light-mode body.livesport-theme {
  --gg-brand-secondary: #061019;
  --gg-brand-secondary-elevated: #10151f;
  --gg-brand-secondary-surface: #0e1a28;
  --gg-brand-primary-on: #061019;
  --gg-text: #f3f4f6;
  --gg-muted: #94a3b8;
  --text-primary: #f3f4f6;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --bg-base: #061019;
  --bg-surface: #10151f;
  --bg-card: #101c2a;
  --bg-hover: #142436;
  --border: rgba(255, 255, 255, 0.1);
  color-scheme: dark;
}

/* Keep the layout viewport width stable while async page content adds a
   vertical scrollbar. This prevents the fixed header from nudging sideways. */
html {
  scrollbar-gutter: stable;
}

body.livesport-theme .gg-topbar-boot-avatar {
  display: inline-flex;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border: 1px solid rgba(53, 224, 194, .28);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(53, 224, 194, .22), rgba(59, 130, 246, .18));
}

body.livesport-theme .site-topbar[data-topbar-prerendered="true"] .topbar-account-slot {
  gap: .4rem;
}

/* Keep the shared header visible above the first-visit home loader too. */
body.gg-layout-shell.gg-app-loading #gg-app-splash {
  top: var(--topbar-h, 60px) !important;
}

body.livesport-theme .site-topbar {
  border-bottom-color: var(--gg-brand-primary) !important;
}

body.livesport-theme .eyebrow.red,
body.livesport-theme .dash-tag.live-tag {
  color: var(--gg-brand-primary) !important;
}

body.livesport-theme a.secondary-link,
body.livesport-theme .home-phase1-trust-link,
body.livesport-theme .primary-link:not(.topbar-cta-btn) {
  color: var(--gg-brand-primary) !important;
}

body.livesport-theme a.secondary-link:hover,
body.livesport-theme .home-phase1-trust-link:hover {
  color: var(--gg-brand-primary-light) !important;
}

body.livesport-theme .status-pill.live,
body.livesport-theme .home-hero-chip.is-live {
  background: var(--gg-brand-primary-soft) !important;
  color: var(--gg-text) !important;
  border-color: var(--gg-brand-primary-border) !important;
}

body.livesport-theme .home-hero-chip-dot,
body.livesport-theme .home-quick-dot.live {
  background: var(--gg-brand-primary) !important;
  box-shadow: 0 0 8px var(--gg-brand-primary-glow);
}

body.livesport-theme .result-win,
body.livesport-theme .top-ai-tip-result.result-win {
  color: var(--gg-text) !important;
  background: var(--gg-brand-primary-soft) !important;
  border-color: var(--gg-brand-primary-border) !important;
}

body.livesport-theme .verdict-pill.verdict-bet,
body.livesport-theme .simple-ai-badge.official,
body.livesport-theme .prediction-layer-chip.official {
  background: var(--gg-brand-primary-soft) !important;
  color: var(--gg-text) !important;
  border-color: var(--gg-brand-primary-border) !important;
}

body.livesport-theme .verdict-pill.verdict-safe,
body.livesport-theme .simple-ai-badge.safe,
body.livesport-theme .prediction-layer-chip.safe {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--gg-muted) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

body.livesport-theme .topbar-cta-btn,
body.livesport-theme .prediction-quick-pill.active,
body.livesport-theme .bottom-nav a.active {
  background: var(--gg-brand-primary) !important;
  border-color: var(--gg-brand-primary) !important;
  color: var(--gg-brand-primary-on) !important;
}

body.livesport-theme .topbar-cta-btn:hover {
  background: var(--gg-brand-primary-hover) !important;
  border-color: var(--gg-brand-primary-hover) !important;
}

body.livesport-theme .topbar-ghost-btn {
  border-color: var(--gg-brand-primary-border) !important;
  color: var(--gg-text) !important;
}

body.livesport-theme .topbar-ghost-btn:hover {
  border-color: var(--gg-brand-primary) !important;
  color: var(--gg-brand-primary) !important;
}

@media (min-width: 901px) {
  body.livesport-theme .bottom-nav {
    display: none !important;
  }

  body.livesport-theme .site-shell {
    padding-bottom: 2rem !important;
  }
}

body.livesport-theme .home-hero-accent,
body.livesport-theme .predictions-hero-accent,
body.livesport-theme[data-page="home"] .home-teaser-stat strong,
body.livesport-theme .predictions-teaser-stat strong {
  color: var(--gg-brand-primary) !important;
}

body.livesport-theme[data-page="home"] .home-hero-footbot-cta,
body.livesport-theme.predictions-footbot-phase2 .predictions-hero-cta {
  border-color: var(--gg-brand-primary) !important;
  color: var(--gg-text) !important;
  box-shadow: 0 8px 32px var(--gg-brand-primary-glow) !important;
}

body.livesport-theme[data-page="home"] .home-hero-visual-overlay,
body.livesport-theme.predictions-footbot-phase2 .predictions-hero-visual-overlay {
  background:
    linear-gradient(180deg, rgba(6, 16, 25, 0.55) 0%, rgba(6, 16, 25, 0.9) 55%, rgba(6, 16, 25, 0.97) 100%),
    radial-gradient(ellipse 90% 70% at 50% 40%, var(--gg-brand-primary-soft), transparent 60%) !important;
}

body.livesport-theme[data-page="home"] .home-phase1-trust-card strong,
body.livesport-theme[data-page="home"] .home-value-num,
body.livesport-theme[data-page="home"] .home-hub-label,
body.livesport-theme[data-page="home"] .home-today-summary strong {
  color: var(--gg-brand-primary) !important;
}

body.livesport-theme[data-page="home"] .home-hub-card:hover,
body.livesport-theme[data-page="home"] .home-hub-card.is-primary {
  border-color: var(--gg-brand-primary-border) !important;
  background: linear-gradient(180deg, var(--gg-brand-primary-soft), rgba(6, 16, 25, 0.04)) !important;
}

body.livesport-theme[data-page="home"] .home-phase1-cta-panel {
  border-color: var(--gg-brand-primary-border) !important;
  background: linear-gradient(180deg, var(--gg-brand-primary-soft), rgba(6, 16, 25, 0.02)) !important;
}

body.livesport-theme[data-page="home"] .home-phase1-last-win {
  background: var(--gg-brand-primary-soft) !important;
  border-color: var(--gg-brand-primary-border) !important;
}

/* ── Unified topbar (všechny stránky) v4.2.8.27.240 ── */
body.livesport-theme {
  --topbar-h: 60px;
}

@media (min-width: 721px) {
  body.livesport-theme .site-topbar {
    height: var(--topbar-h) !important;
    min-height: var(--topbar-h) !important;
    gap: 0.75rem !important;
    padding-left: max(1rem, calc((100vw - 1180px) / 2)) !important;
    padding-right: max(1rem, calc((100vw - 1180px) / 2)) !important;
    background: rgba(6, 16, 25, 0.82) !important;
    backdrop-filter: blur(14px) saturate(1.12);
    border-bottom: 1px solid var(--gg-brand-primary-border) !important;
    box-shadow: none !important;
  }

  body.livesport-theme .site-shell.football-shell {
    margin-top: var(--topbar-h) !important;
  }

  body.livesport-theme .topbar-mobile-brand b {
    color: var(--gg-brand-primary) !important;
  }

  body.livesport-theme .topbar-search-shell {
    flex: 0 1 280px !important;
    min-width: 0 !important;
    max-width: 300px !important;
  }

  body.livesport-theme .topbar-search-form input {
    min-width: 0 !important;
    width: 100%;
    font-size: 0.8rem;
    min-height: 40px;
    border-radius: 12px;
  }

  body.livesport-theme .mobile-search-trigger {
    display: none !important;
  }

  body.livesport-theme .topbar-nav.unified-topbar-nav {
    flex: 1 1 auto;
    justify-content: center;
    gap: 0.15rem;
    min-width: 0;
  }

  body.livesport-theme .unified-topbar-nav a {
    min-height: 40px;
    padding: 0.42rem 0.72rem;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid transparent !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.7);
  }

  body.livesport-theme .unified-topbar-nav a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.04) !important;
  }

  body.livesport-theme .unified-topbar-nav a.active {
    color: #fff !important;
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: inset 0 -2px 0 var(--gg-brand-primary);
  }

  body.livesport-theme .unified-topbar-nav a:first-child.active,
  body.livesport-theme .unified-topbar-nav a:first-child:hover {
    border-color: transparent !important;
    background: transparent !important;
  }

  body.livesport-theme .unified-topbar-nav a .nav-badge {
    font-size: 0.62rem;
    padding: 0.12rem 0.38rem;
    background: var(--gg-brand-primary-soft) !important;
    color: var(--gg-brand-primary) !important;
    border: 1px solid var(--gg-brand-primary-border);
    font-weight: 800;
  }

  body.livesport-theme .topbar-actions {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
  }

  body.livesport-theme .topbar-account-slot {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }

  body.livesport-theme .language-switcher-button {
    width: auto !important;
    min-width: 0 !important;
    min-height: 40px;
    padding: 0.42rem 0.65rem;
    border-radius: 12px;
    font-size: 0.78rem;
  }

  body.livesport-theme .account-trigger,
  body.livesport-theme .account-logout-btn {
    min-height: 40px;
    padding: 0.42rem 0.85rem;
    border-radius: 12px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  body.livesport-theme .theme-toggle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
  }
}

@media (min-width: 721px) and (max-width: 1040px) {
  body.livesport-theme .topbar-search-shell {
    flex-basis: 200px !important;
    max-width: 220px !important;
  }

  body.livesport-theme .unified-topbar-nav a {
    padding-inline: 0.5rem;
    font-size: 0.74rem;
  }
}

/* Homepage — full-bleed hero pod topbarem */
@media (min-width: 721px) {
  body.livesport-theme.home-hero-landing .site-shell.football-shell {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
  }
}

/* ═══ Footer — 4 sloupce v4.2.8.27.248 ═══ */
.site-trust-footer.site-footer-premium,
.site-trust-footer.site-footer-footbot {
  --gg-footer-accent: var(--gg-brand-primary, #35e0c2);
  --gg-footer-bg: var(--gg-brand-secondary, #061019);
  --gg-footer-bg-bottom: #040a10;
  margin-left: 0 !important;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--gg-footer-bg);
  color: #e8eef5;
  display: block;
}

.site-footer-premium .site-footer-main,
.site-footer-footbot .site-footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2rem) 2.5rem;
}

.site-footer-premium .site-footer-grid,
.site-footer-footbot .site-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: start;
}

.site-footer-premium .site-footer-logo,
.site-footer-footbot .site-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 1.1;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.site-footer-premium .site-footer-logo-icon,
.site-footer-footbot .site-footer-logo-icon {
  display: block;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  object-fit: contain;
}

.site-footer-premium .site-footer-logo-mark,
.site-footer-footbot .site-footer-logo-mark {
  color: #ffffff;
}

.site-footer-premium .site-footer-logo b,
.site-footer-footbot .site-footer-logo b {
  color: var(--gg-footer-accent);
  font-weight: 800;
}

.site-footer-premium .site-footer-tagline,
.site-footer-footbot .site-footer-tagline {
  margin: 0 0 1.1rem;
  max-width: 22em;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(232, 238, 245, 0.78);
}

.site-footer-premium .site-footer-age,
.site-footer-footbot .site-footer-age {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(232, 238, 245, 0.72);
}

.site-footer-premium .site-footer-age strong,
.site-footer-footbot .site-footer-age strong {
  color: var(--gg-footer-accent);
  font-weight: 800;
}

.site-footer-premium .site-footer-col-title,
.site-footer-footbot .site-footer-col-title {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #ffffff;
}

.site-footer-premium .site-footer-col-accent,
.site-footer-footbot .site-footer-col-accent {
  display: block;
  width: 36px;
  height: 2px;
  margin-bottom: 0.85rem;
  border-radius: 2px;
  background: var(--gg-footer-accent);
  opacity: 0.9;
}

.site-footer-premium .site-footer-links,
.site-footer-footbot .site-footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer-premium .site-footer-links li,
.site-footer-footbot .site-footer-links li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer-premium .site-footer-links li:last-child,
.site-footer-footbot .site-footer-links li:last-child {
  border-bottom: none;
}

.site-footer-premium .site-footer-links a,
.site-footer-footbot .site-footer-links a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0;
  color: rgba(232, 238, 245, 0.82);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: color 0.16s ease, transform 0.16s ease;
}

.site-footer-premium .site-footer-links a:hover,
.site-footer-footbot .site-footer-links a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.site-footer-premium .site-footer-links a.is-featured,
.site-footer-footbot .site-footer-links a.is-featured {
  color: #35e0c2;
  font-weight: 700;
}

.site-footer-premium .site-footer-links a.is-featured .site-footer-chevron,
.site-footer-footbot .site-footer-links a.is-featured .site-footer-chevron {
  color: #35e0c2;
  opacity: 1;
}

.site-footer-premium .site-footer-strategy-cta,
.site-footer-footbot .site-footer-strategy-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.65rem 0 0.85rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(53, 224, 194, 0.35);
  background: rgba(53, 224, 194, 0.1);
  color: #35e0c2;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.site-footer-premium .site-footer-strategy-cta:hover,
.site-footer-footbot .site-footer-strategy-cta:hover {
  background: rgba(53, 224, 194, 0.16);
  border-color: rgba(53, 224, 194, 0.5);
  text-decoration: none;
}

.site-footer-premium .site-footer-links a.is-active,
.site-footer-footbot .site-footer-links a.is-active {
  color: var(--gg-footer-accent);
  font-weight: 700;
}

.site-footer-premium .site-footer-chevron,
.site-footer-footbot .site-footer-chevron {
  flex-shrink: 0;
  width: 0.65rem;
  color: var(--gg-footer-accent);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.85;
}

.site-footer-premium .site-footer-contact-note,
.site-footer-footbot .site-footer-contact-note {
  margin: 0.75rem 0 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: rgba(232, 238, 245, 0.62);
}

.site-footer-premium .site-footer-contact-note a,
.site-footer-footbot .site-footer-contact-note a {
  color: var(--gg-footer-accent);
  font-weight: 600;
  text-decoration: none;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.site-footer-premium .site-footer-contact-note a:hover,
.site-footer-footbot .site-footer-contact-note a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.site-footer-premium .site-footer-social,
.site-footer-footbot .site-footer-social {
  margin: 0.85rem 0 0;
}

.site-footer-premium .site-footer-social-link,
.site-footer-footbot .site-footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(53, 224, 194, 0.35);
  background: rgba(53, 224, 194, 0.08);
  color: var(--gg-footer-accent);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.site-footer-premium .site-footer-social-link:hover,
.site-footer-footbot .site-footer-social-link:hover {
  color: #ffffff;
  border-color: rgba(53, 224, 194, 0.65);
  background: rgba(53, 224, 194, 0.16);
}

.site-footer-premium .site-footer-social-link .gg-social-link-icon,
.site-footer-footbot .site-footer-social-link .gg-social-link-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.mobile-menu-social {
  margin: 0.35rem 0 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-social .mobile-menu-social-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mobile-menu-social .gg-social-link-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.site-footer-premium .site-footer-bottom,
.site-footer-footbot .site-footer-bottom {
  padding: 1rem clamp(1.25rem, 4vw, 2rem) 1.35rem;
  background: var(--gg-footer-bg-bottom);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.site-footer-premium .site-footer-bottom p,
.site-footer-footbot .site-footer-bottom p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(232, 238, 245, 0.72);
}

.site-footer-premium .site-footer-bottom strong,
.site-footer-footbot .site-footer-bottom strong {
  color: #ffffff;
  font-weight: 800;
}

.site-footer-premium .site-footer-bottom-note,
.site-footer-footbot .site-footer-bottom-note {
  margin-top: 0.35rem !important;
  font-size: 0.78rem !important;
  color: rgba(232, 238, 245, 0.5) !important;
}

@media (max-width: 980px) {
  .site-footer-premium .site-footer-grid,
  .site-footer-footbot .site-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer-premium .site-footer-brand,
  .site-footer-footbot .site-footer-brand,
  .site-footer-premium .site-footer-grid > .site-footer-col:nth-child(4),
  .site-footer-footbot .site-footer-grid > .site-footer-col:nth-child(4) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-trust-footer.site-footer-premium,
  .site-trust-footer.site-footer-footbot {
    padding-bottom: 5.25rem;
  }

  .site-footer-premium .site-footer-grid,
  .site-footer-footbot .site-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 0.65rem;
  }

  .site-footer-premium .site-footer-brand,
  .site-footer-footbot .site-footer-brand,
  .site-footer-premium .site-footer-grid > .site-footer-col:nth-child(4),
  .site-footer-footbot .site-footer-grid > .site-footer-col:nth-child(4) {
    grid-column: 1 / -1;
  }

  .site-footer-premium .site-footer-main,
  .site-footer-footbot .site-footer-main {
    padding: 1.35rem 1rem 1.25rem;
  }

  .site-footer-premium .site-footer-col-title,
  .site-footer-footbot .site-footer-col-title {
    font-size: 0.78rem;
    margin-bottom: 0.35rem;
  }

  .site-footer-premium .site-footer-col-accent,
  .site-footer-footbot .site-footer-col-accent {
    width: 28px;
    margin-bottom: 0.45rem;
  }

  .site-footer-premium .site-footer-links a,
  .site-footer-footbot .site-footer-links a {
    gap: 0.35rem;
    padding: 0.32rem 0;
    font-size: 0.78rem;
  }

  .site-footer-premium .site-footer-chevron,
  .site-footer-footbot .site-footer-chevron {
    font-size: 0.72rem;
  }

  .site-footer-premium .site-footer-tagline,
  .site-footer-footbot .site-footer-tagline {
    font-size: 0.82rem;
    margin-bottom: 0.75rem;
  }

  .site-footer-premium .site-footer-strategy-cta,
  .site-footer-footbot .site-footer-strategy-cta {
    margin: 0.45rem 0 0.65rem;
    padding: 0.38rem 0.62rem;
    font-size: 0.74rem;
  }

  .site-footer-premium .site-footer-contact-note,
  .site-footer-footbot .site-footer-contact-note {
    font-size: 0.74rem;
    line-height: 1.45;
  }
}

@media (max-width: 480px) {
  .site-trust-footer.site-footer-premium,
  .site-trust-footer.site-footer-footbot {
    padding-bottom: 6.5rem;
  }
}

/* v4.2.8.33 — premium grouped More menu */
@media (min-width: 721px) {
  body.livesport-theme .site-topbar .topbar-nav.unified-topbar-nav {
    display: flex !important;
    overflow: visible !important;
  }

  body.livesport-theme .gg-topbar-more {
    position: relative;
    flex: 0 0 auto;
    color: rgba(255, 255, 255, .72);
  }

  body.livesport-theme .gg-topbar-more > summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .42rem;
    min-height: 40px;
    padding: .42rem .68rem;
    border: 1px solid rgba(139, 183, 207, .12);
    border-radius: 12px;
    color: inherit;
    background: rgba(255, 255, 255, .025);
    font-size: .8rem;
    font-weight: 750;
    line-height: 1;
    list-style: none;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
  }

  body.livesport-theme .gg-topbar-more > summary::-webkit-details-marker { display: none; }

  body.livesport-theme .gg-topbar-more > summary:hover,
  body.livesport-theme .gg-topbar-more[open] > summary {
    color: #fff;
    border-color: rgba(255, 255, 255, .09);
    background: rgba(255, 255, 255, .05);
  }

  body.livesport-theme .gg-topbar-more.is-active > summary {
    color: #fff;
    box-shadow: inset 0 -2px 0 var(--gg-brand-primary);
  }

  body.livesport-theme .gg-topbar-more-hamburger {
    color: #9ab0bd;
    font-size: .93rem;
    line-height: 1;
  }

  body.livesport-theme .gg-topbar-more-chevron {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .16s ease;
  }

  body.livesport-theme .gg-topbar-more[open] .gg-topbar-more-chevron {
    transform: translateY(2px) rotate(225deg);
  }

  body.livesport-theme .gg-topbar-more-panel {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    z-index: 450;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 0;
    width: min(570px, calc(100vw - 32px));
    padding: 16px;
    border: 1px solid rgba(151, 176, 190, .16);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(25, 35, 44, .995), rgba(16, 25, 33, .995));
    box-shadow: 0 24px 64px rgba(0, 0, 0, .52), inset 0 1px rgba(255, 255, 255, .04);
    backdrop-filter: blur(20px) saturate(1.04);
  }

  body.livesport-theme .gg-topbar-more-panel::before {
    content: none;
  }

  body.livesport-theme .gg-topbar-more-panel::after {
    content: none;
  }

  body.livesport-theme .gg-topbar-more:not([open]) .gg-topbar-more-panel { display: none; }

  body.livesport-theme .gg-topbar-more-group {
    display: grid;
    align-content: start;
    gap: 6px;
    min-width: 0;
    padding: 0 16px 0 0;
  }

  body.livesport-theme .gg-topbar-more-group.is-explore {
    border: 0;
  }

  body.livesport-theme .gg-topbar-more-group.is-guides {
    padding: 0 0 0 20px;
    border-left: 1px solid rgba(151, 176, 190, .12);
  }

  body.livesport-theme .gg-topbar-more-group-head {
    display: block;
    min-width: 0;
    padding: 0 7px 3px;
  }

  body.livesport-theme .gg-topbar-more-group-head > span {
    display: none;
  }

  body.livesport-theme .gg-topbar-more-group.is-guides .gg-topbar-more-group-head > span {
    display: none;
  }

  body.livesport-theme .gg-topbar-more-group-head strong,
  body.livesport-theme .gg-topbar-more-group-head small {
    display: block;
  }

  body.livesport-theme .gg-topbar-more-group-head strong {
    color: #98a9b3;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.25;
    text-transform: uppercase;
  }

  body.livesport-theme .gg-topbar-more-group-head small {
    display: none;
  }

  body.livesport-theme .gg-topbar-more-list {
    display: grid;
    gap: 3px;
  }

  body.livesport-theme .unified-topbar-nav .gg-topbar-more-link {
    position: relative;
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 62px !important;
    padding: 7px !important;
    border: 1px solid transparent !important;
    border-radius: 13px !important;
    color: #d9e6ed !important;
    background: transparent !important;
    box-shadow: none !important;
    text-decoration: none;
    transition: transform .16s ease, border-color .16s ease, background-color .16s ease;
  }

  body.livesport-theme .unified-topbar-nav .gg-topbar-more-link::after {
    content: none;
  }

  body.livesport-theme .unified-topbar-nav .gg-topbar-more-link:hover,
  body.livesport-theme .unified-topbar-nav .gg-topbar-more-link.active {
    border-color: rgba(151, 176, 190, .1) !important;
    background: rgba(255, 255, 255, .045) !important;
    transform: none;
  }

  body.livesport-theme .unified-topbar-nav .gg-topbar-more-link.active {
    border-color: rgba(53, 224, 194, .2) !important;
    background: rgba(53, 224, 194, .06) !important;
    box-shadow: inset 2px 0 0 var(--gg-brand-primary) !important;
  }

  body.livesport-theme .unified-topbar-nav .gg-topbar-more-link:hover::after,
  body.livesport-theme .unified-topbar-nav .gg-topbar-more-link.active::after {
    opacity: 1;
    transform: translate(0, -50%);
  }

  body.livesport-theme .gg-topbar-more-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(139, 183, 207, .16);
    border-radius: 10px;
    color: var(--gg-brand-primary);
    background: rgba(53, 224, 194, .065);
    box-shadow: inset 0 1px rgba(255, 255, 255, .035);
    font-size: .7rem;
    font-weight: 850;
  }

  body.livesport-theme .gg-topbar-more-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  body.livesport-theme .gg-topbar-more-icon.has-image {
    overflow: hidden;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  body.livesport-theme .gg-topbar-more-icon.has-image img {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 10px;
  }

  body.livesport-theme .gg-topbar-more-icon.is-stats {
    color: #67e8f9;
    background: rgba(103, 232, 249, .07);
  }

  body.livesport-theme .gg-topbar-more-icon.is-league {
    color: #f6c85f;
    background: rgba(246, 200, 95, .075);
  }

  body.livesport-theme .gg-topbar-more-icon.is-yellow-cards {
    color: #ffd45d;
    background: rgba(255, 212, 93, .075);
  }

  body.livesport-theme .gg-topbar-more-icon.is-yellow-cards svg {
    fill: currentColor;
    stroke: none;
  }

  body.livesport-theme .gg-topbar-more-icon.is-how,
  body.livesport-theme .gg-topbar-more-icon.is-strategy {
    color: #5eead4;
  }

  body.livesport-theme .gg-topbar-more-icon.is-glossary {
    color: #93c5fd;
    background: rgba(147, 197, 253, .07);
  }

  body.livesport-theme .gg-topbar-more-link > span:last-child,
  body.livesport-theme .gg-topbar-more-link strong,
  body.livesport-theme .gg-topbar-more-link small {
    display: block;
    min-width: 0;
  }

  body.livesport-theme .gg-topbar-more-link strong {
    overflow: hidden;
    color: #eff7fb;
    font-size: .83rem;
    font-weight: 780;
    line-height: 1.25;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  body.livesport-theme .gg-topbar-more-link small {
    overflow: hidden;
    margin-top: 3px;
    color: #9aa8b0;
    font-size: .7rem;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

@media (min-width: 721px) and (max-width: 1050px) {
  body.livesport-theme .site-topbar { gap: .5rem !important; }
  body.livesport-theme .topbar-mobile-brand span { display: none; }
  body.livesport-theme .topbar-search-shell {
    flex-basis: 210px !important;
    min-width: 150px !important;
  }
  body.livesport-theme .unified-topbar-nav > a,
  body.livesport-theme .gg-topbar-more > summary { padding-inline: .52rem !important; }
  body.livesport-theme .gg-topbar-more-panel { width: min(570px, calc(100vw - 24px)); }
}

/* The desktop header follows the Matches-page frame on every public page.
   Page-specific content widths must not move the brand, navigation or account. */
@media (min-width: 721px) {
  html body.gg-layout-shell.livesport-theme.gg-public-page .site-topbar {
    --gg-topbar-layout-max: 1360px;
    padding-left: max(1rem, calc((100vw - var(--gg-topbar-layout-max)) / 2)) !important;
    padding-right: max(1rem, calc((100vw - var(--gg-topbar-layout-max)) / 2)) !important;
  }
}

@media (min-width: 1051px) {
  html body.gg-layout-shell.livesport-theme.gg-public-page .topbar-search-shell {
    flex: 0 0 280px !important;
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
  }
}

@media (min-width: 721px) {
  html body.gg-layout-shell.livesport-theme.gg-public-page .topbar-mobile-brand {
    flex: 0 0 156px !important;
    width: 156px !important;
    min-width: 156px !important;
  }

  html body.gg-layout-shell.livesport-theme.gg-public-page .topbar-actions {
    flex: 0 0 144px !important;
    width: 144px !important;
    min-width: 144px !important;
    justify-content: flex-end !important;
    margin-left: 0 !important;
  }

  /* Desktop navigation always stays in the Matches position. Back navigation
     remains available in the browser and in the mobile/PWA header. */
  html body.gg-layout-shell.livesport-theme.gg-public-page .topbar-back-btn {
    display: none !important;
  }
}
