/* Unified public header + bottom navigation. Loaded after page CSS so it can
   override per-page pills, emoji tabs and the homepage rule that hid Leagues. */

body.gg-public-shell {
  --gg-public-nav-h: calc(68px + env(safe-area-inset-bottom, 0px));
}

/* ── Bottom nav: pinned flush to the physical bottom on every public page.
   Opaque paint extends into the iOS home-indicator safe area so no page
   content can show underneath (the Matches bug with viewport-fit=cover). ── */
@media (max-width: 900px) {
  html body.gg-public-shell .bottom-nav,
  html body.gg-public-shell.gg-landing-page .bottom-nav,
  html body.gg-public-shell.livesport-theme.gg-layout-shell .bottom-nav,
  html body.gg-public-shell.gg-pwa-standalone .bottom-nav,
  html.gg-pwa-standalone body.gg-public-shell .bottom-nav,
  html.gg-pwa-standalone body.gg-public-shell.livesport-theme.gg-layout-shell .bottom-nav,
  html body.gg-public-shell.gg-landing-page.gg-pwa-standalone .bottom-nav {
    position: fixed !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    grid-template-rows: 1fr !important;
    grid-auto-flow: column !important;
    grid-auto-columns: 0 !important;
    grid-auto-rows: 0 !important;
    align-items: stretch;
    justify-items: stretch;
    overflow: visible !important;
    box-sizing: border-box !important;
    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    inset: auto 0 0 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    height: var(--gg-public-nav-h) !important;
    min-height: var(--gg-public-nav-h) !important;
    max-height: var(--gg-public-nav-h) !important;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    border-top: 1px solid rgba(113, 148, 165, 0.18) !important;
    background: #080f1a !important;
    background-color: #080f1a !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 -14px 34px rgba(0, 0, 0, 0.26) !important;
    transform: none !important;
    -webkit-transform: none !important;
    filter: none !important;
    z-index: 400 !important;
  }

  /* Solid extension into any sub-pixel / overscroll gap below the bar. */
  html body.gg-public-shell .bottom-nav::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 80px;
    background: #080f1a;
    pointer-events: none;
  }

  html body.gg-public-shell,
  html body.gg-public-shell.gg-landing-page,
  html body.gg-public-shell.gg-footer-compact-page,
  html body.gg-public-shell.gg-layout-shell.gg-landing-page {
    padding-bottom: var(--gg-public-nav-h) !important;
    scroll-padding-bottom: var(--gg-public-nav-h);
  }

  html body.gg-public-shell.gg-layout-shell.gg-footer-compact-page main.site-shell.football-shell,
  html body.gg-public-shell.gg-layout-shell.gg-footer-compact-page .nt-hub-shell,
  html body.gg-public-shell.gg-layout-shell.gg-footer-compact-page .matches-page-wrap,
  html body.gg-public-shell.gg-layout-shell.gg-footer-compact-page .predictions-page-wrap,
  html body.gg-public-shell.gg-layout-shell.gg-footer-compact-page .performance-page-shell,
  html body.gg-public-shell.gg-layout-shell.gg-footer-compact-page .gg-smart-ticket-page-wrap {
    padding-bottom: var(--gg-public-nav-h) !important;
  }

  body.gg-public-shell .bottom-nav .bottom-menu-trigger,
  body.gg-public-shell .bottom-nav a:nth-child(n+6) {
    display: none !important;
  }

  body.gg-public-shell .bottom-nav a,
  body.gg-public-shell.gg-landing-page .bottom-nav a,
  body.gg-public-shell.livesport-theme .bottom-nav a {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100%;
    padding: 4px 2px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: rgba(201, 215, 232, 0.78) !important;
    font-size: 10px !important;
    font-weight: 650 !important;
    letter-spacing: 0.01em;
    line-height: 1.05 !important;
    text-decoration: none !important;
    transform: none !important;
  }

  /* Homepage previously hid Leagues so the 5-item set can include it. */
  body.gg-public-shell.gg-landing-page .bottom-nav a[href*="leagues"] {
    display: flex !important;
  }

  body.gg-public-shell .bottom-nav a > span:last-child {
    display: block !important;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap !important;
    word-break: normal !important;
  }

  body.gg-public-shell .bottom-nav a .icon,
  body.gg-public-shell .bottom-nav [data-landing-icon] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    color: inherit !important;
  }

  /* Option F: two-tone filled icons. Do not force stroke/fill. */
  html body.gg-public-shell .bottom-nav a .icon svg,
  html body.gg-public-shell .bottom-nav [data-landing-icon] svg {
    width: 24px !important;
    height: 24px !important;
    display: block;
    overflow: visible !important;
    fill: unset;
    stroke: unset;
    stroke-width: unset;
    filter: saturate(0.4) brightness(0.8);
  }

  html body.gg-public-shell .bottom-nav a.active .icon svg,
  html body.gg-public-shell .bottom-nav a[aria-current="page"] .icon svg {
    filter: none;
  }

  /* Calm active state: teal ink and a top hairline, no raised pill. */
  body.gg-public-shell .bottom-nav a.active,
  body.gg-public-shell.livesport-theme .bottom-nav a.active,
  body.gg-public-shell.livesport-theme .bottom-nav a.active:hover,
  body.gg-public-shell .bottom-nav a[aria-current="page"] {
    background: transparent !important;
    color: #7bf3dc !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: inset 0 2px 0 #35e0c2 !important;
    transform: none !important;
  }

  body.gg-public-shell .bottom-nav a:hover,
  body.gg-public-shell .bottom-nav a:focus-visible {
    color: #e8f7f3 !important;
  }
}

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

/* ── Header: shared sizes and positions ── */
body.gg-public-shell.gg-layout-shell.livesport-theme .site-topbar {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  height: 60px !important;
  min-height: 60px !important;
  max-height: 60px !important;
  gap: 0.4rem !important;
}

/* Mobile/tablet header clips overflowing items; desktop must not clip, or the
   absolutely positioned More dropdown is cut off at 60px (empty More bug). */
@media (max-width: 900px) {
  body.gg-public-shell.gg-layout-shell.livesport-theme .site-topbar {
    overflow: hidden !important;
  }
}

body.gg-public-shell .topbar-mobile-brand {
  display: inline-flex !important;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  flex: 0 0 auto !important;
  width: auto !important;
  text-decoration: none;
}

body.gg-public-shell .topbar-actions,
body.gg-public-shell .topbar-account-mobile {
  flex: 0 0 auto !important;
}

@media (max-width: 720px) {
  body.gg-public-shell .topbar-actions {
    margin-left: 0 !important;
  }
}


body.gg-public-shell .topbar-mobile-brand img {
  width: 38px !important;
  height: 38px !important;
  flex: 0 0 38px;
}

body.gg-public-shell .topbar-back-btn {
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  border-radius: 12px !important;
}

body.gg-public-shell:not(.gg-has-topbar-back) .topbar-back-btn {
  display: none !important;
}

@media (max-width: 720px) {
  body.gg-public-shell .mobile-search-trigger,
  body.gg-public-shell .topbar-menu-trigger,
  body.gg-public-shell .gg-topbar-favorites,
  body.gg-public-shell .account-mobile-topbar-btn,
  body.gg-public-shell .topbar-account-mobile,
  body.gg-public-shell .topbar-account-mobile > button,
  body.gg-public-shell .topbar-account-mobile .gg-topbar-boot-avatar,
  body.gg-public-shell .topbar-account-mobile .account-avatar-circle {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    flex: 0 0 44px !important;
    box-sizing: border-box;
  }

  body.gg-public-shell .mobile-search-trigger {
    margin-left: auto !important;
  }

  body.gg-public-shell .gg-topbar-favorites {
    appearance: none;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.045);
    color: #e8f0f6;
    text-decoration: none;
    padding: 0;
    margin: 0;
  }

  body.gg-public-shell .gg-topbar-favorites:hover,
  body.gg-public-shell .gg-topbar-favorites:focus-visible {
    border-color: rgba(53, 224, 194, 0.35);
    color: #7bf3dc;
  }

  body.gg-public-shell .gg-topbar-favorites.is-active {
    border-color: rgba(53, 224, 194, 0.45);
    background: rgba(53, 224, 194, 0.12);
    color: #7bf3dc;
  }

  body.gg-public-shell .gg-topbar-favorites svg,
  body.gg-public-shell .gg-topbar-favorites [data-landing-icon] svg {
    width: 20px !important;
    height: 20px !important;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
  }

  body.gg-public-shell .topbar-account-mobile .gg-topbar-boot-avatar,
  body.gg-public-shell .topbar-account-mobile .account-avatar-circle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
  }

  body.gg-public-shell .topbar-account-mobile .gg-topbar-boot-avatar svg,
  body.gg-public-shell .topbar-account-mobile .account-avatar-circle svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
  }

  /* Wordmark yields space to search, favorites, menu and account at phone widths. */
  body.gg-public-shell .topbar-mobile-brand span,
  body.gg-public-shell.gg-has-topbar-back .topbar-mobile-brand span {
    display: none !important;
  }
}

@media (max-width: 380px) {
  body.gg-public-shell .topbar-mobile-brand span {
    max-width: 7.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* ── Desktop topbar consistency ── */
@media (min-width: 721px) {
  body.gg-public-shell .gg-topbar-favorites {
    display: none !important;
  }

  body.gg-public-shell .site-topbar .topbar-nav > a.active {
    color: #7bf3dc;
  }

  body.gg-public-shell .site-topbar .gg-nav-fav-star {
    color: inherit;
  }
}

/* ── Desktop header: identical on every public page (reference: Matches) ── */
@media (min-width: 901px) {
  body.gg-public-shell.gg-layout-shell.livesport-theme .site-topbar {
    overflow: visible !important;
  }

  /* Team page narrowed the search to 240px above 1280px; match the reference. */
  body.gg-public-shell.gg-layout-shell.livesport-theme[data-page="team"] .topbar-search-shell:not(.is-mobile-open) {
    flex: 0 0 280px !important;
    max-width: 280px !important;
  }

  /* Homepage swaps the desktop glyphs for SVG icons; show the shared glyphs. */
  body.gg-public-shell .site-topbar .topbar-nav .gg-nav-fav-star[data-landing-icon],
  body.gg-public-shell .site-topbar .topbar-nav .gg-topbar-more-hamburger[data-landing-icon],
  body.gg-public-shell .site-topbar .topbar-search-form .topbar-search-icon[data-landing-icon] {
    width: auto !important;
    height: auto !important;
    flex: 0 0 auto !important;
  }
  body.gg-public-shell .site-topbar .topbar-nav .gg-nav-fav-star[data-landing-icon] > svg,
  body.gg-public-shell .site-topbar .topbar-nav .gg-topbar-more-hamburger[data-landing-icon] > svg,
  body.gg-public-shell .site-topbar .topbar-search-form .topbar-search-icon[data-landing-icon] > svg {
    display: none !important;
  }
  body.gg-public-shell .site-topbar .topbar-nav .gg-nav-fav-star[data-landing-icon]::before { content: "\2605"; }
  body.gg-public-shell .site-topbar .topbar-nav .gg-topbar-more-hamburger[data-landing-icon]::before { content: "\2630"; }
  body.gg-public-shell .site-topbar .topbar-search-form .topbar-search-icon[data-landing-icon]::before { content: "\2315"; }

  body.gg-public-shell .site-topbar .topbar-account-slot.account-desktop-only .account-trigger {
    font-weight: 800;
  }

  /* More dropdown, variant C: featured card + list + slim footer (desktop only). */
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c {
    width:640px !important;
    max-width:calc(100vw - 32px) !important;
    padding:16px 16px 0 !important;
    overflow:hidden !important;
    grid-template-columns:none !important;
    gap:0 !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c * {
    box-sizing:border-box !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c a::after,body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c a::before {
    content:none !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c .gg-mc-layout {
    display:grid !important;
    grid-template-columns:232px minmax(0,1fr) !important;
    gap:16px !important;
    align-items:stretch !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c a.gg-mc-feature {
    position:relative !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:flex-start !important;
    gap:0 !important;
    min-height:0 !important;
    height:auto !important;
    padding:18px !important;
    border-radius:16px !important;
    border:1px solid rgba(156,140,255,.35) !important;
    background:radial-gradient(120% 80% at 0% 0%,rgba(124,108,255,.42),transparent 60%),radial-gradient(120% 90% at 100% 100%,rgba(53,224,194,.28),transparent 60%),linear-gradient(160deg,#1d1f45,#10202a) !important;
    box-shadow:inset 0 1px rgba(255,255,255,.08),0 18px 36px -20px rgba(124,108,255,.7) !important;
    color:#eef2ff !important;
    text-align:left !important;
    text-decoration:none !important;
    white-space:normal !important;
    overflow:hidden !important;
    transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c a.gg-mc-feature:hover,body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c a.gg-mc-feature:focus-visible,body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c a.gg-mc-feature.is-current {
    border-color:rgba(123,243,220,.55) !important;
    box-shadow:inset 0 1px rgba(255,255,255,.1),0 20px 40px -18px rgba(53,224,194,.55) !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c .gg-mc-badge {
    display:inline-block !important;
    margin:0 0 14px !important;
    padding:3px 9px !important;
    border-radius:999px !important;
    background:rgba(255,255,255,.1) !important;
    border:1px solid rgba(255,255,255,.16) !important;
    color:#e5e1ff !important;
    font-size:10.5px !important;
    font-weight:800 !important;
    line-height:1.3 !important;
    letter-spacing:.08em !important;
    text-transform:uppercase !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c .gg-mc-tile {
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex:0 0 auto !important;
    width:38px !important;
    height:38px !important;
    border-radius:11px !important;
    background:linear-gradient(160deg,rgba(var(--t),.24),rgba(var(--t),.06)) !important;
    border:1px solid rgba(var(--t),.3) !important;
    box-shadow:inset 0 1px rgba(255,255,255,.06) !important;
    padding:0 !important;
    margin:0 !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c .gg-mc-tile svg {
    display:block !important;
    width:24px !important;
    height:24px !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c .gg-mc-tile.is-big {
    width:52px !important;
    height:52px !important;
    border-radius:15px !important;
    background:rgba(255,255,255,.1) !important;
    border:1px solid rgba(255,255,255,.18) !important;
    margin:0 0 12px !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c .gg-mc-tile.is-big svg {
    width:32px !important;
    height:32px !important;
    filter:drop-shadow(0 3px 5px rgba(0,0,0,.35)) !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c .gg-mc-ftitle {
    display:block !important;
    color:#fff !important;
    font-size:16.5px !important;
    font-weight:800 !important;
    line-height:1.2 !important;
    letter-spacing:-.01em !important;
    white-space:normal !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c .gg-mc-fdesc {
    display:block !important;
    margin-top:6px !important;
    color:#c9cdf0 !important;
    font-size:12.2px !important;
    font-weight:500 !important;
    line-height:1.45 !important;
    white-space:normal !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c .gg-mc-points {
    display:grid !important;
    gap:7px !important;
    margin:14px 0 0 !important;
    padding:12px 0 0 !important;
    list-style:none !important;
    border-top:1px solid rgba(255,255,255,.1) !important;
    width:100% !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c .gg-mc-points li {
    position:relative !important;
    display:block !important;
    margin:0 !important;
    padding:0 0 0 22px !important;
    color:#e3e6fb !important;
    font-size:12px !important;
    font-weight:650 !important;
    line-height:1.35 !important;
    white-space:normal !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c .gg-mc-points li::before {
    content:"" !important;
    position:absolute !important;
    left:0 !important;
    top:1px !important;
    width:15px !important;
    height:15px !important;
    border-radius:50% !important;
    background:rgba(53,224,194,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3 7 10.6l4.6-5' fill='none' stroke='%237bf3dc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px 15px no-repeat !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c .gg-mc-cta {
    display:block !important;
    margin-top:auto !important;
    padding-top:14px !important;
    color:#7bf3dc !important;
    font-size:12.5px !important;
    font-weight:800 !important;
    line-height:1.2 !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c .gg-mc-cta b {
    display:inline-block !important;
    margin-left:4px !important;
    transition:transform .16s ease !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c a.gg-mc-feature:hover .gg-mc-cta b {
    transform:translateX(3px) !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c .gg-mc-lists {
    display:grid !important;
    gap:10px !important;
    align-content:start !important;
    min-width:0 !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c .gg-mc-group {
    display:grid !important;
    gap:2px !important;
    min-width:0 !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c .gg-mc-group+.gg-mc-group {
    padding-top:10px !important;
    border-top:1px solid rgba(151,176,190,.1) !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c .gg-mc-head {
    display:block !important;
    padding:0 8px 6px !important;
    color:#98a9b3 !important;
    font-size:11.2px !important;
    font-weight:800 !important;
    line-height:1.25 !important;
    letter-spacing:.08em !important;
    text-transform:uppercase !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c a.gg-mc-item {
    display:grid !important;
    grid-template-columns:38px minmax(0,1fr) 12px !important;
    align-items:center !important;
    gap:12px !important;
    min-height:50px !important;
    height:auto !important;
    padding:6px 8px !important;
    border-radius:12px !important;
    border:1px solid transparent !important;
    background:transparent !important;
    color:#d9e6ed !important;
    text-decoration:none !important;
    box-shadow:none !important;
    transition:background-color .16s ease,border-color .16s ease !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c a.gg-mc-item:hover,body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c a.gg-mc-item:focus-visible {
    background:rgba(255,255,255,.045) !important;
    border-color:rgba(151,176,190,.1) !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c a.gg-mc-item.is-current {
    background:rgba(53,224,194,.07) !important;
    border-color:rgba(53,224,194,.24) !important;
    box-shadow:inset 2px 0 0 #35e0c2 !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c .gg-mc-txt {
    display:flex !important;
    align-items:baseline !important;
    gap:10px !important;
    min-width:0 !important;
    overflow:hidden !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c .gg-mc-txt strong {
    flex:0 0 auto !important;
    color:#eff7fb !important;
    font-size:13.3px !important;
    font-weight:760 !important;
    line-height:1.25 !important;
    white-space:nowrap !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c .gg-mc-txt small {
    flex:1 1 auto !important;
    min-width:0 !important;
    margin:0 !important;
    color:#8fa3ae !important;
    font-size:11.6px !important;
    font-weight:500 !important;
    line-height:1.3 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c .gg-mc-arrow {
    display:block !important;
    color:#5eead4 !important;
    font-size:18px !important;
    line-height:1 !important;
    opacity:0 !important;
    transform:translateX(-3px) !important;
    transition:opacity .16s ease,transform .16s ease !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c a.gg-mc-item:hover .gg-mc-arrow,body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c a.gg-mc-item:focus-visible .gg-mc-arrow,body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c a.gg-mc-item.is-current .gg-mc-arrow {
    opacity:1 !important;
    transform:none !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c .gg-mc-foot {
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:6px !important;
    margin:14px -16px 0 !important;
    padding:10px 18px !important;
    border-top:1px solid rgba(151,176,190,.12) !important;
    background:rgba(6,12,17,.45) !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c a.gg-mc-foot-link {
    display:inline-flex !important;
    align-items:center !important;
    gap:6px !important;
    min-height:0 !important;
    height:auto !important;
    padding:4px 2px !important;
    border:0 !important;
    border-radius:6px !important;
    background:transparent !important;
    box-shadow:none !important;
    color:#b9c8d1 !important;
    font-size:11.8px !important;
    font-weight:700 !important;
    line-height:1.2 !important;
    white-space:nowrap !important;
    text-decoration:none !important;
    transition:color .16s ease !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c a.gg-mc-foot-link:hover,body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c a.gg-mc-foot-link:focus-visible,body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c a.gg-mc-foot-link.is-current {
    color:#7bf3dc !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c .gg-mc-tile.is-mini {
    width:18px !important;
    height:18px !important;
    border:0 !important;
    border-radius:0 !important;
    background:none !important;
    box-shadow:none !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c .gg-mc-tile.is-mini svg {
    width:16px !important;
    height:16px !important;
  }
  body.gg-public-shell.livesport-theme .site-topbar .unified-topbar-nav .gg-topbar-more-panel.gg-more-c .gg-mc-dot {
    display:block !important;
    flex:0 0 3px !important;
    width:3px !important;
    height:3px !important;
    border-radius:50% !important;
    background:rgba(151,176,190,.35) !important;
  }
  details.gg-topbar-more[open] > .gg-topbar-more-panel.gg-more-c { display: block !important; }
  details.gg-topbar-more:not([open]) > .gg-topbar-more-panel.gg-more-c { display: none !important; }
}

/* design-fix-4: account (sign-in) modal in GoalGrid navy/teal — replaces old green→blue / sky-blue accents */
.account-modal-kicker { color: #7bf3dc !important; }
.account-submit { background: linear-gradient(90deg, #35e0c2, #7bf3dc) !important; color: #05231e !important; box-shadow: 0 10px 24px rgba(53, 224, 194, .14) !important; }
.account-forgot-link, .account-forgot-back, .account-switch-row button,
.account-modal-panel .account-privacy-note a, .account-privacy-note a { color: #7bf3dc !important; }
.account-modal-panel .account-privacy-note a:hover, .account-privacy-note a:hover { color: #b9f5ea !important; }
.account-form input:focus { border-color: rgba(53, 224, 194, .55) !important; box-shadow: 0 0 0 3px rgba(53, 224, 194, .12) !important; }
.account-resend-btn { color: #b9f5ea !important; background: rgba(53, 224, 194, .12) !important; }
#account-modal .account-forgot-link, #account-modal .account-forgot-back, #account-modal .account-switch-row button, #account-modal .account-privacy-note a { color: #7bf3dc !important; }
/* end design-fix-4 */

/* design-fix-6: one mobile header on every page — outline search/menu icons and the calm guest avatar from the home page */
.site-topbar .mobile-search-trigger > [data-gg-unified-icon],
.site-topbar .topbar-menu-trigger > [data-gg-unified-icon] { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; }
.site-topbar .mobile-search-trigger > [data-gg-unified-icon] svg,
.site-topbar .topbar-menu-trigger > [data-gg-unified-icon] svg { width: 18px !important; height: 18px !important; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; }
@media (max-width: 720px) {
  body.gg-public-shell .topbar-account-mobile .account-mobile-topbar-btn { border: 0 !important; background: transparent !important; padding: 0 !important; border-radius: 999px !important; box-shadow: none !important; }
  body.gg-public-shell .topbar-account-mobile .account-avatar-circle--guest { margin: 0 !important; border: 1px solid rgba(53, 224, 194, .28) !important; background: linear-gradient(135deg, rgba(53, 224, 194, .22), rgba(59, 130, 246, .18)) !important; color: #e8f0f6 !important; box-shadow: none !important; }
}
/* end design-fix-6 */
