/* GoalGrid — Zápasy (country sidebar accordion) v4.2.8.27.618 */

body.livesport-theme.matches-page-simple.predictions-page-simple {
  background: var(--gg-pred-bg, #061019) !important;
  --gg-layout-max: 1280px;
  --gg-mat-gutter: clamp(0.65rem, 2vw, 1.25rem);
}

@media (min-width: 1280px) {
  body.livesport-theme.matches-page-simple.predictions-page-simple {
    --gg-layout-max: min(1360px, calc(100vw - 2rem));
  }
}

body.livesport-theme.matches-page-simple .site-shell.football-shell {
  width: min(var(--gg-layout-max), 100%) !important;
  max-width: var(--gg-layout-max) !important;
  box-sizing: border-box;
}

body.livesport-theme.matches-page-simple .predictions-page-header {
  padding-left: var(--gg-mat-gutter);
  padding-right: var(--gg-mat-gutter);
}

body.livesport-theme.matches-page-simple .matches-page-wrap {
  padding-bottom: 0;
}

/* ── Hub layout: sidebar + main feed (NerdyTips-style) ── */
body.livesport-theme.matches-page-simple .gg-mat-hub {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--gg-mat-gutter);
}

body.livesport-theme.matches-page-simple .gg-mat-main {
  min-width: 0;
}

body.livesport-theme.matches-page-simple .gg-mat-sidebar {
  display: none;
}

body.livesport-theme.matches-page-simple .gg-mat-sidebar-head {
  display: none;
}

@media (min-width: 960px) {
  body.livesport-theme.matches-page-simple .gg-mat-sidebar-head {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.55rem 0.5rem 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}

body.livesport-theme.matches-page-simple .gg-mat-favorites-toolbar {
  width: 100%;
  padding: 0.35rem 0.15rem 0.15rem;
  border-bottom: 1px solid rgba(251, 191, 36, 0.16);
  margin-bottom: 0.15rem;
}
body.livesport-theme.matches-page-simple .gg-mat-favorites-toolbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
body.livesport-theme.matches-page-simple .gg-mat-fav-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 1.85rem;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.08);
  color: #fde68a;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}
body.livesport-theme.matches-page-simple .gg-mat-fav-chip.is-active {
  background: rgba(251, 191, 36, 0.22);
  border-color: rgba(251, 191, 36, 0.62);
  color: #fff;
}
body.livesport-theme.matches-page-simple .gg-mat-fav-chip--league {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #e5edf5;
}
body.livesport-theme.matches-page-simple .gg-mat-fav-hint {
  font-size: 0.68rem;
  color: rgba(226, 232, 240, 0.62);
}
body.livesport-theme.matches-page-simple .gg-mat-sb-favorites {
  margin: 0 0 0.55rem;
  padding: 0.45rem 0.35rem 0.55rem;
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 10px;
  background: rgba(251, 191, 36, 0.05);
}
body.livesport-theme.matches-page-simple .gg-mat-sb-favorites-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fbbf24;
}
body.livesport-theme.matches-page-simple .gg-mat-sb-favorites-empty {
  font-size: 0.68rem;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.72);
}

body.livesport-theme.matches-page-simple .gg-mat-sidebar-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 0.45rem 0.42rem 1.15rem;
  scroll-padding-bottom: 0.85rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

body.livesport-theme.matches-page-simple .gg-mat-sb-empty {
  padding: 1rem 0.5rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--gg-pred-muted);
}

/* NerdyTips-style flat country rows */
body.livesport-theme.matches-page-simple .gg-mat-sb-country-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 2.35rem;
  margin-bottom: 0.28rem;
  padding: 0.42rem 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: #151d2e;
  color: #eef2f6;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease;
}

body.livesport-theme.matches-page-simple .gg-mat-sb-country-toggle:hover {
  background: #1a2438;
  border-color: rgba(255, 255, 255, 0.1);
}

body.livesport-theme.matches-page-simple .gg-mat-sb-country-toggle.is-active {
  background: #1c2740;
  border-color: rgba(255, 255, 255, 0.14);
}

body.livesport-theme.matches-page-simple .gg-mat-sb-country-toggle:last-child {
  margin-bottom: 0;
}

body.livesport-theme.matches-page-simple .gg-mat-sb-country-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 0.92rem;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
  background: rgba(0, 0, 0, 0.2);
}

body.livesport-theme.matches-page-simple .gg-mat-sb-country-flag--cup {
  width: 1.35rem;
  height: 1.35rem;
  padding: 0.1rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

body.livesport-theme.matches-page-simple .gg-mat-sb-country-flag--friendlies {
  width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  border-radius: 4px;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

body.livesport-theme.matches-page-simple .gg-mat-sb-country-flag--friendlies .league-logo-badge {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
  font-size: 0.58rem;
}

body.livesport-theme.matches-page-simple .gg-mat-sb-country-flag--friendlies .league-logo-badge img {
  background: #fff !important;
  padding: 2px !important;
  object-fit: contain;
  filter: none;
}

body.livesport-theme.matches-page-simple .gg-mat-sb-country-flag-img--logo {
  object-fit: contain;
  background: transparent !important;
  padding: 0 !important;
}

body.livesport-theme.matches-page-simple .gg-mat-sb-country-cup {
  font-size: 0.72rem;
  line-height: 1;
}

body.livesport-theme.matches-page-simple .gg-mat-sb-country-flag-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

body.livesport-theme.matches-page-simple .gg-mat-sb-country-flag-img[hidden],
body.livesport-theme.matches-page-simple .gg-mat-sb-country-flag-img.is-broken {
  opacity: 0;
}

body.livesport-theme.matches-page-simple .gg-mat-sb-country-flag-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 0.72rem;
  line-height: 1;
}

body.livesport-theme.matches-page-simple .gg-mat-sb-country-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.78rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.livesport-theme.matches-page-simple .gg-mat-sb-country-count {
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: rgba(148, 163, 184, 0.72);
}

body.livesport-theme.matches-page-simple .gg-mat-sb-country-toggle.is-active .gg-mat-sb-country-count {
  color: rgba(255, 255, 255, 0.58);
}

body.livesport-theme.matches-page-simple .gg-mat-sb-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  margin-left: auto;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  cursor: pointer;
}

body.livesport-theme.matches-page-simple .gg-mat-sb-clear:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

body.livesport-theme.matches-page-simple .gg-mat-sb-country-panel {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.28rem 0 0.15rem 0.35rem;
}

body.livesport-theme.matches-page-simple .gg-mat-sb-league-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.42rem 0.55rem 0.42rem 1.55rem;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.12s ease, background 0.12s ease;
}

body.livesport-theme.matches-page-simple .gg-mat-sb-league-link:hover {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.04);
}

body.livesport-theme.matches-page-simple .gg-mat-sb-league-link.is-active {
  color: var(--gg-brand-primary, #35e0c2);
  background: rgba(53, 224, 194, 0.08);
}

body.livesport-theme.matches-page-simple .gg-mat-sb-league-link-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.livesport-theme.matches-page-simple .gg-mat-sb-league-link-count {
  flex-shrink: 0;
  font-size: 0.66rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.34);
}

body.livesport-theme.matches-page-simple .gg-mat-sb-league-link.is-active .gg-mat-sb-league-link-count {
  color: rgba(53, 224, 194, 0.72);
}

body.livesport-theme.matches-page-simple .gg-mat-sb-group-label {
  display: none;
}

body.livesport-theme.matches-page-simple .gg-mat-sb-league {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  margin-bottom: 0.42rem;
  padding: 0.62rem 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 24, 40, 0.82);
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}

body.livesport-theme.matches-page-simple .gg-mat-sb-league:hover {
  color: var(--gg-pred-text);
  border-color: rgba(53, 224, 194, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

body.livesport-theme.matches-page-simple .gg-mat-sb-league.is-active {
  color: var(--gg-pred-text);
  border-color: rgba(53, 224, 194, 0.38);
  background: rgba(53, 224, 194, 0.1);
  box-shadow: inset 0 0 0 1px rgba(53, 224, 194, 0.08);
}

body.livesport-theme.matches-page-simple .gg-mat-sb-league--all .gg-mat-sb-all-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.95rem;
}

body.livesport-theme.matches-page-simple .gg-mat-sb-logo {
  flex-shrink: 0;
}

body.livesport-theme.matches-page-simple .gg-mat-sb-logo .league-logo-badge {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
}

body.livesport-theme.matches-page-simple .gg-mat-sb-copy {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
  flex: 1 1 auto;
}

body.livesport-theme.matches-page-simple .gg-mat-sb-name {
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.livesport-theme.matches-page-simple .gg-mat-sb-country {
  font-size: 0.64rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.42);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.livesport-theme.matches-page-simple .gg-mat-sb-meta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.18rem;
  flex-shrink: 0;
}

body.livesport-theme.matches-page-simple .gg-mat-sb-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  min-height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--gg-pred-text);
  background: rgba(255, 255, 255, 0.08);
}

body.livesport-theme.matches-page-simple .gg-mat-sb-league.is-active .gg-mat-sb-count {
  background: rgba(53, 224, 194, 0.18);
  color: var(--gg-brand-primary, #35e0c2);
}

body.livesport-theme.matches-page-simple .gg-mat-sb-live,
body.livesport-theme.matches-page-simple .gg-mat-sb-ai {
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.1rem 0.32rem;
}

body.livesport-theme.matches-page-simple .gg-mat-sb-live {
  color: #ff6b8a;
  background: rgba(255, 107, 138, 0.12);
}

body.livesport-theme.matches-page-simple .gg-mat-sb-ai {
  color: #c4b5fd;
  background: rgba(167, 139, 250, 0.12);
}

/* Mobile horizontal league strip */
body.livesport-theme.matches-page-simple .gg-mat-mobile-leagues {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding: 0.15rem 0 0.35rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

body.livesport-theme.matches-page-simple .gg-mat-mobile-leagues::-webkit-scrollbar {
  display: none;
}

body.livesport-theme.matches-page-simple .gg-mat-mob-league {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

body.livesport-theme.matches-page-simple .gg-mat-mob-league span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  min-height: 1.15rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
}

body.livesport-theme.matches-page-simple .gg-mat-mob-league.is-active {
  border-color: rgba(53, 224, 194, 0.35);
  background: rgba(53, 224, 194, 0.1);
  color: var(--gg-brand-primary, #35e0c2);
}

body.livesport-theme.matches-page-simple .gg-mat-mob-league.is-live {
  border-color: rgba(255, 107, 138, 0.28);
}

@media (min-width: 960px) {
  body.livesport-theme.matches-page-simple {
    --gg-mat-date-strip-h: 3.1rem;
    --gg-mat-sidebar-gap: 0.2rem;
    --gg-mat-sidebar-sticky-top: calc(var(--topbar-h, 64px) + var(--gg-mat-date-strip-h) + var(--gg-mat-sidebar-gap));
    --gg-mat-sidebar-max-h: calc(100dvh - var(--gg-mat-sidebar-sticky-top) - 0.5rem);
    scroll-padding-top: var(--gg-mat-sidebar-sticky-top);
  }

  body.livesport-theme.matches-page-simple:not(.favorites-page-simple) .gg-mat-hub {
    grid-template-columns: 12.5rem minmax(0, 1fr);
    align-items: start;
    gap: 0.85rem;
    /* Pull hub up under the sticky date strip (less dead air above countries). */
    margin-top: 0.15rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-sidebar {
    display: flex;
    flex-direction: column;
    align-self: start;
    position: sticky;
    top: var(--gg-mat-sidebar-sticky-top);
    max-height: var(--gg-mat-sidebar-max-h);
    z-index: 20;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #0d1422;
    overflow: hidden;
  }

  body.livesport-theme.matches-page-simple .gg-mat-sidebar-body {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    padding-bottom: 1.35rem;
    scroll-padding-bottom: 1rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-mobile-leagues {
    display: none;
  }

  body.livesport-theme.matches-page-simple .gg-mat-advanced {
    display: none;
  }

  body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-pred-toolbar-actions {
    display: none;
  }
}

@media (max-width: 959px) {
  body.livesport-theme.matches-page-simple .gg-mat-sidebar {
    display: none !important;
  }
}

body.livesport-theme.matches-page-simple .matches-page-header h1 {
  margin: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.32rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gg-pred-text);
}

body.livesport-theme.matches-page-simple .matches-page-header p {
  margin: 0.12rem 0 0;
  font-size: 0.68rem;
  color: var(--gg-pred-muted);
  max-width: none;
}

/* ── Date strip (matches only — full-width band below title) ── */
body.livesport-theme.matches-page-simple .predictions-page-header-top.gg-mat-header-top {
  align-items: flex-start;
  gap: 0.35rem;
}

body.livesport-theme.matches-page-simple .gg-mat-date-strip {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 auto;
  padding: 0.48rem 0.55rem;
  border-radius: 12px;
  border: 1px solid rgba(53, 224, 194, 0.14);
  background:
    linear-gradient(135deg, rgba(53, 224, 194, 0.06), rgba(91, 156, 255, 0.03)),
    rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  gap: 0.38rem;
}

body.livesport-theme.matches-page-simple .gg-mat-date-strip--solo {
  width: 100%;
  margin-top: 0.15rem;
  margin-bottom: 0.1rem;
}

body.livesport-theme.matches-page-simple .gg-mat-date-pills {
  display: flex;
  align-items: stretch;
  gap: 0.32rem;
  min-width: 0;
  flex: 1 1 auto;
  max-width: none;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0.05rem 0;
}

body.livesport-theme.matches-page-simple .gg-mat-date-pills::-webkit-scrollbar {
  display: none;
}

body.livesport-theme.matches-page-simple .gg-mat-date-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  flex: 0 0 auto;
  min-width: 3rem;
  min-height: 2.85rem;
  padding: 0.38rem 0.5rem !important;
  border-radius: 9px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  line-height: 1.15;
  transition: border-color 0.1s ease, background 0.1s ease, box-shadow 0.1s ease;
}

body.livesport-theme.matches-page-simple .gg-mat-date-pill:hover:not(.is-active) {
  border-color: rgba(255, 255, 255, 0.18) !important;
  background: rgba(255, 255, 255, 0.07) !important;
}

body.livesport-theme.matches-page-simple .gg-mat-date-pill:active:not(.is-active) {
  border-color: rgba(53, 224, 194, 0.4) !important;
  background: rgba(53, 224, 194, 0.1) !important;
}

body.livesport-theme.matches-page-simple .gg-mat-date-pill.is-active {
  border-color: rgba(53, 224, 194, 0.5) !important;
  background: rgba(53, 224, 194, 0.14) !important;
  box-shadow: 0 0 0 1px rgba(53, 224, 194, 0.1);
}

body.livesport-theme.matches-page-simple .gg-mat-date-pill.is-active.is-loading {
  border-color: rgba(53, 224, 194, 0.62) !important;
  animation: gg-mat-date-pill-pulse 1.1s ease-in-out infinite;
}

body.livesport-theme.matches-page-simple .gg-mat-date-pill .gg-pred-period-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

body.livesport-theme.matches-page-simple .gg-mat-date-pill.is-active .gg-pred-period-label {
  color: rgba(255, 255, 255, 0.8);
}

body.livesport-theme.matches-page-simple .gg-mat-date-sub {
  font-size: 0.76rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.76);
}

body.livesport-theme.matches-page-simple .gg-mat-date-pill.is-active .gg-mat-date-sub {
  color: #fff;
}

body.livesport-theme.matches-page-simple .gg-mat-date-pill.is-today:not(.is-active) .gg-mat-date-sub {
  color: var(--gg-brand-primary, #35e0c2);
}

body.livesport-theme.matches-page-simple .gg-mat-date-arrow {
  flex: 0 0 2rem;
  width: 2rem;
  height: 2.85rem;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.05);
  color: var(--gg-pred-text);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease;
}

body.livesport-theme.matches-page-simple .gg-mat-date-arrow:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}

body.livesport-theme.matches-page-simple .gg-mat-date-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

body.livesport-theme.matches-page-simple .gg-mat-date-strip .gg-pred-period-btn--mini {
  min-height: 2.85rem;
  padding: 0.4rem 0.75rem;
  border-radius: 9px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

/* ── Filter toolbar (matches only — pill tabs, readable size) ── */
body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar {
  gap: 0.5rem;
  padding: 0.55rem 0.65rem 0.6rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(0, 0, 0, 0.22);
}

body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-pred-tabbar {
  gap: 0.32rem;
  padding: 0.08rem 0;
  border-bottom: none;
  overflow-x: auto;
  scrollbar-width: none;
}

body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-pred-tabbar::-webkit-scrollbar {
  display: none;
}

body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-pred-tabbar--markets {
  margin-top: 0;
}

body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-pred-tab {
  padding: 0.48rem 0.82rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.58);
  transition: color 0.14s ease, background 0.14s ease, border-color 0.14s ease;
}

body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-pred-tab::after {
  display: none;
}

body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-pred-tab:hover {
  color: rgba(255, 255, 255, 0.84);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-pred-tab:active:not(.is-active) {
  color: rgba(53, 224, 194, 0.9);
  border-color: rgba(53, 224, 194, 0.28);
  background: rgba(53, 224, 194, 0.08);
}

body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-pred-tab.is-active {
  color: var(--gg-brand-primary, #35e0c2);
  border-color: rgba(53, 224, 194, 0.35);
  background: rgba(53, 224, 194, 0.11);
}

body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-pred-toolbar-actions {
  padding-top: 0.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .predictions-simple-search {
  min-height: 2.1rem;
  font-size: 0.76rem;
}

body.livesport-theme.matches-page-simple .gg-mat-quick-filters {
  position: relative;
  margin: 0;
}

body.livesport-theme.matches-page-simple .gg-mat-quick-filters > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.1rem;
  padding: 0.45rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
  white-space: nowrap;
}

body.livesport-theme.matches-page-simple .gg-mat-quick-filters > summary::-webkit-details-marker {
  display: none;
}

body.livesport-theme.matches-page-simple .gg-mat-quick-filters > summary::after {
  content: "⌄";
  color: rgba(255, 255, 255, 0.45);
}

body.livesport-theme.matches-page-simple .gg-mat-quick-filters[open] > summary::after {
  transform: rotate(180deg);
}

body.livesport-theme.matches-page-simple .gg-mat-quick-filters.has-active-filters > summary {
  color: var(--gg-brand-primary, #35e0c2);
  border-color: rgba(53, 224, 194, 0.38);
  background: rgba(53, 224, 194, 0.1);
}

body.livesport-theme.matches-page-simple .gg-mat-quick-filter-count {
  min-width: 1.15rem;
  padding: 0.08rem 0.32rem;
  border-radius: 999px;
  background: var(--gg-brand-primary, #35e0c2);
  color: #04110f;
  font-size: 0.65rem;
  line-height: 1rem;
  text-align: center;
}

body.livesport-theme.matches-page-simple .gg-mat-quick-filter-panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 30;
  display: grid;
  gap: 0.55rem;
  width: min(21rem, calc(100vw - 1.5rem));
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: #101a28;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.42);
}

body.livesport-theme.matches-page-simple .gg-mat-quick-filter-panel label {
  display: grid;
  gap: 0.3rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.livesport-theme.matches-page-simple .gg-mat-quick-filter-panel select,
body.livesport-theme.matches-page-simple .gg-mat-favorites-only,
body.livesport-theme.matches-page-simple .gg-mat-clear-quick-filters {
  min-height: 2.45rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.045);
  color: #f4f8fb;
  font: inherit;
}

body.livesport-theme.matches-page-simple .gg-mat-quick-filter-panel select {
  width: 100%;
  padding: 0.45rem 0.6rem;
  color-scheme: dark;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: none;
}

body.livesport-theme.matches-page-simple .gg-mat-quick-filter-panel select option {
  background: #101a28;
  color: #f4f8fb;
}

body.livesport-theme.matches-page-simple .gg-mat-quick-filter-panel select option:checked {
  background: #245f8f;
  color: #ffffff;
}

body.livesport-theme.matches-page-simple .gg-mat-favorites-only,
body.livesport-theme.matches-page-simple .gg-mat-clear-quick-filters {
  padding: 0.48rem 0.7rem;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
}

body.livesport-theme.matches-page-simple .gg-mat-favorites-only.is-active {
  color: #ffd166;
  border-color: rgba(255, 209, 102, 0.42);
  background: rgba(255, 209, 102, 0.1);
}

body.livesport-theme.matches-page-simple .gg-mat-favorites-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.1rem;
  padding: 0.42rem 0.68rem;
  white-space: nowrap;
}

body.livesport-theme.matches-page-simple .gg-mat-clear-quick-filters {
  min-height: 2rem;
  color: rgba(255, 255, 255, 0.62);
  background: transparent;
}

body.livesport-theme.matches-page-simple .gg-mat-advanced {
  display: none;
}

/* ── AI filter fold ── */
body.livesport-theme.matches-page-simple .gg-mat-ai-filter-fold {
  margin: 0;
  border: none;
  position: relative;
}

body.livesport-theme.matches-page-simple .gg-mat-ai-filter-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0.42rem 0.62rem;
  min-height: 2.1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  white-space: nowrap;
}

body.livesport-theme.matches-page-simple .gg-mat-ai-filter-summary::-webkit-details-marker {
  display: none;
}

body.livesport-theme.matches-page-simple .gg-mat-ai-filter-summary::after {
  content: "▾";
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.42);
  transition: transform 0.15s ease;
}

body.livesport-theme.matches-page-simple .gg-mat-ai-filter-fold[open] .gg-mat-ai-filter-summary::after {
  transform: rotate(180deg);
}

body.livesport-theme.matches-page-simple .gg-mat-ai-filter-summary-label {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

body.livesport-theme.matches-page-simple .gg-mat-ai-filter-summary-value {
  font-weight: 800;
  color: rgba(255, 255, 255, 0.78);
}

body.livesport-theme.matches-page-simple .gg-mat-ai-filter-summary-value.is-filtered {
  color: var(--gg-brand-primary, #35e0c2);
}

body.livesport-theme.matches-page-simple .gg-mat-ai-filter-fold > .gg-pred-tabbar--markets {
  display: none;
  margin-top: 0.32rem;
  padding: 0;
  border: none;
  flex-wrap: wrap;
  gap: 0.28rem;
}

body.livesport-theme.matches-page-simple .gg-mat-ai-filter-fold[open] > .gg-pred-tabbar--markets {
  display: flex;
}

@media (min-width: 960px) {
  body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto minmax(12rem, 1fr) auto;
    align-items: center;
    gap: 0.45rem 0.65rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-mat-scope-tabs {
    grid-column: 1;
    grid-row: 1;
  }

  body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-mat-ai-filter-fold {
    grid-column: 3;
    grid-row: 1;
  }

  body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-pred-toolbar-actions {
    grid-column: 4;
    grid-row: 1;
    border-top: none;
    padding-top: 0;
    justify-self: end;
  }

  body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-mat-quick-filters {
    grid-column: 5;
    grid-row: 1;
  }

  body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-mat-favorites-shortcut {
    grid-column: 2;
    grid-row: 1;
  }

  body.livesport-theme.matches-page-simple .gg-mat-ai-filter-fold > .gg-pred-tabbar--markets {
    position: absolute;
    top: calc(100% + 0.28rem);
    left: 0;
    z-index: 24;
    min-width: 13.5rem;
    margin-top: 0;
    padding: 0.38rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #121a2a;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
  }
}

/* ── Mobile matches cleanup ── */
@media (max-width: 959px) {
  body.livesport-theme.matches-page-simple .matches-page-header h1 {
    font-size: 1.22rem;
  }

  body.livesport-theme.matches-page-simple .matches-page-header p {
    font-size: 0.66rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-stats-bar:not(.gg-mat-stats-bar--inline) {
    display: none !important;
  }

  body.livesport-theme.matches-page-simple .gg-mat-stats-bar--inline {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.38rem;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
  }

  body.livesport-theme.matches-page-simple .gg-mat-stat--hero {
    min-height: 1.85rem;
    padding: 0.22rem 0.55rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-stat--hero strong {
    font-size: 0.88rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-head--nerdy {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-stats {
    margin-top: 0.15rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-grid {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-card {
    min-height: 0;
  }

  body.livesport-theme.matches-page-simple .gg-mat-advanced {
    display: none !important;
  }

  body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-pred-filters-link {
    display: none;
  }

  body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    gap: 0.32rem;
    padding: 0.42rem 0.48rem 0.48rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-pred-toolbar-actions {
    grid-column: 1;
    grid-row: 1;
    border-top: none;
    padding-top: 0;
    width: 100%;
  }

  body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-mat-scope-tabs {
    grid-column: 1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.28rem;
    overflow: visible;
    padding-bottom: 0;
  }

  body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-mat-quick-filters {
    grid-column: 1;
    grid-row: 4;
    width: 100%;
  }

  body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-mat-favorites-shortcut {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
  }

  body.livesport-theme.matches-page-simple .gg-mat-quick-filters > summary {
    width: 100%;
    min-height: 2.2rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-quick-filter-panel {
    position: static;
    width: 100%;
    margin-top: 0.4rem;
    box-shadow: none;
  }

  body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-mat-scope-tabs .gg-pred-tab {
    width: 100%;
    min-width: 0;
    padding: 0.48rem 0.28rem;
    justify-content: center;
    text-align: center;
  }

  body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-mat-scope-tabs .gg-pred-tab-label,
  body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-mat-scope-tabs .gg-pred-tab-count {
    display: inline;
  }

  body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-mat-scope-tabs .gg-pred-tab-count {
    margin-left: 0.22rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-mat-scope-tabs::-webkit-scrollbar {
    display: none;
  }

  body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-mat-ai-filter-fold {
    display: none !important;
  }

  body.livesport-theme.matches-page-simple .gg-mat-mobile-leagues {
    display: none !important;
  }

  body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-mat-scope-tabs .gg-pred-tab--live.is-active {
    border-color: rgba(255, 107, 138, 0.45);
    background: rgba(255, 107, 138, 0.12);
  }

  body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-mat-scope-tabs .gg-pred-tab--ai.is-active {
    border-color: rgba(53, 224, 194, 0.45);
    background: rgba(53, 224, 194, 0.12);
  }

  body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-mat-scope-tabs .gg-pred-tab--finished.is-active {
    border-color: rgba(167, 139, 250, 0.4);
    background: rgba(167, 139, 250, 0.1);
  }

  body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .predictions-simple-search {
    width: 100%;
    flex: 1 1 100%;
    min-height: 2rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-ai-filter-fold[open] > .gg-pred-tabbar--markets {
    grid-column: 1 / -1;
  }
}

body.livesport-theme.matches-page-simple .gg-mat-league-select {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
  color: var(--gg-pred-text);
  font-size: 0.78rem;
}

body.livesport-theme.matches-page-simple .gg-mat-board {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* ── Day summary chips ── */
body.livesport-theme.matches-page-simple .gg-mat-stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(53, 224, 194, 0.06), rgba(91, 156, 255, 0.04)),
    rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.livesport-theme.matches-page-simple .gg-mat-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2rem;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
}

body.livesport-theme.matches-page-simple .gg-mat-stat em {
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
}

body.livesport-theme.matches-page-simple .gg-mat-stat strong {
  font-size: 0.82rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--gg-pred-text);
}

body.livesport-theme.matches-page-simple .gg-mat-stat--odds.has-value strong { color: #93c5fd; }
body.livesport-theme.matches-page-simple .gg-mat-stat--ai.has-value strong { color: #c4b5fd; }
body.livesport-theme.matches-page-simple .gg-mat-stat--upcoming.has-value strong { color: var(--gg-brand-primary, #35e0c2); }
body.livesport-theme.matches-page-simple .gg-mat-stat--finished.has-value strong { color: rgba(255, 255, 255, 0.62); }
body.livesport-theme.matches-page-simple .gg-mat-stat--live.has-value {
  border-color: rgba(255, 107, 138, 0.28);
  background: rgba(255, 107, 138, 0.08);
}
body.livesport-theme.matches-page-simple .gg-mat-stat--live.has-value strong { color: #ff6b8a; }

body.livesport-theme.matches-page-simple .gg-mat-feed {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

body.livesport-theme.matches-page-simple .gg-mat-feed--accordion {
  gap: 0.28rem;
}

/* ── Collapsible league blocks (Livesport-style closed directory) ── */
body.livesport-theme.matches-page-simple .gg-mat-league {
  content-visibility: auto;
  contain-intrinsic-block-size: 3.5rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(14, 24, 36, 0.94), rgba(8, 14, 22, 0.98));
  overflow: hidden;
  box-shadow: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

body.livesport-theme.matches-page-simple .gg-mat-league:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(18, 30, 44, 0.96), rgba(10, 16, 24, 0.98));
}

body.livesport-theme.matches-page-simple .gg-mat-league.is-open {
  border-color: rgba(53, 224, 194, 0.22);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(53, 224, 194, 0.06);
}

body.livesport-theme.matches-page-simple .gg-mat-league.is-live {
  border-color: rgba(255, 107, 138, 0.24);
}

body.livesport-theme.matches-page-simple .gg-mat-league.has-official {
  border-left: 3px solid rgba(53, 224, 194, 0.72);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

body.livesport-theme.matches-page-simple .gg-mat-league.has-signal {
  border-left: 3px solid rgba(232, 176, 80, 0.72);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

body.livesport-theme.matches-page-simple .gg-mat-league.has-ai:not(.has-official):not(.has-signal) {
  border-left: 3px solid rgba(91, 156, 255, 0.55);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

body.livesport-theme.matches-page-simple .gg-mat-league-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

body.livesport-theme.matches-page-simple .gg-mat-league-country {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(180, 198, 216, 0.72);
  line-height: 1.2;
}

body.livesport-theme.matches-page-simple .gg-mat-league-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  width: 100%;
  padding: 0.58rem 0.72rem;
  border: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  color: var(--gg-pred-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

body.livesport-theme.matches-page-simple .gg-mat-league-toggle:hover {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
}

body.livesport-theme.matches-page-simple .gg-mat-league-leading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1 1 auto;
}

body.livesport-theme.matches-page-simple .gg-mat-league-logo {
  flex: 0 0 auto;
}

body.livesport-theme.matches-page-simple .gg-mat-league-logo .league-logo-badge {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
  font-size: 0.72rem;
  color: rgba(220, 231, 245, 0.92);
}

body.livesport-theme.matches-page-simple .gg-mat-league-logo .league-logo-badge > img {
  background: transparent !important;
  padding: 3px !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  filter: none;
  opacity: 0 !important;
}

body.livesport-theme.matches-page-simple .gg-mat-league-logo .league-logo-badge > img.is-loaded,
body.livesport-theme.matches-page-simple .gg-mat-league-logo .league-logo-badge > img[data-loaded="1"] {
  background: #fff !important;
  opacity: 1 !important;
}

/* Keep the fallback visible while a crest is decoding. Browsers otherwise paint
   their broken-image glyph for a frame whenever the live board is refreshed. */
body.livesport-theme.matches-page-simple .gg-mat-board .team-avatar > img {
  opacity: 0 !important;
}

body.livesport-theme.matches-page-simple .gg-mat-board .team-avatar > img.is-loaded,
body.livesport-theme.matches-page-simple .gg-mat-board .team-avatar > img[data-loaded="1"] {
  opacity: 1 !important;
}

/* Landscape wordmarks (Chance Liga, Ettan) — keep readable in square badge */
body.livesport-theme.matches-page-simple .gg-mat-league-logo .league-logo-badge > img.is-landscape {
  padding: 5px 2px !important;
  object-fit: contain !important;
  background: #fff !important;
}

body.livesport-theme.matches-page-simple .gg-mat-league-title {
  display: block;
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--gg-pred-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.livesport-theme.matches-page-simple .gg-mat-league-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
}

body.livesport-theme.matches-page-simple .gg-mat-league-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.35rem;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.livesport-theme.matches-page-simple .gg-mat-league-chip--ai {
  color: #c4b5fd;
  border: 1px solid rgba(167, 139, 250, 0.24);
  background: rgba(167, 139, 250, 0.1);
}

body.livesport-theme.matches-page-simple .gg-mat-league-chip--qual {
  color: #c4b5fd;
  border-color: rgba(167, 139, 250, 0.34);
  background: rgba(109, 40, 217, 0.14);
}
body.livesport-theme.matches-page-simple .gg-mat-league.is-qualifying .gg-mat-league-title {
  max-width: 100%;
}
body.livesport-theme.matches-page-simple .gg-mat-league-round {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(196, 181, 253, 0.82);
}
body.livesport-theme.matches-layout-strip .gg-mat-row-qual {
  display: none;
}
body.livesport-theme.matches-layout-strip .gg-mat-row-timebox {
  min-width: 0;
}

body.livesport-theme.matches-page-simple .gg-mat-league-meta {
  display: grid;
  grid-template-rows: auto auto auto;
  align-items: center;
  justify-items: end;
  gap: 0.28rem;
  flex-shrink: 0;
  min-width: 3.35rem;
}

body.livesport-theme.matches-page-simple .gg-mat-league-live {
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.85rem;
  min-height: 1.35rem;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ff6b8a;
  border: 1px solid rgba(255, 107, 138, 0.28);
  background: rgba(255, 107, 138, 0.1);
}

body.livesport-theme.matches-page-simple .gg-mat-league-live.is-off {
  visibility: hidden;
}

body.livesport-theme.matches-page-simple .gg-mat-league-count {
  grid-row: 2;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.52);
  white-space: nowrap;
}

body.livesport-theme.matches-page-simple .gg-mat-league-chevron {
  grid-row: 3;
}

@media (min-width: 721px) {
  body.livesport-theme.matches-page-simple .gg-mat-league-meta {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto;
    align-items: center;
    justify-items: center;
    gap: 0.55rem;
    min-width: 0;
  }

  body.livesport-theme.matches-page-simple .gg-mat-league-live {
    grid-row: 1;
    grid-column: 1;
  }

  body.livesport-theme.matches-page-simple .gg-mat-league-count {
    grid-row: 1;
    grid-column: 2;
  }

  body.livesport-theme.matches-page-simple .gg-mat-league-chevron {
    grid-row: 1;
    grid-column: 3;
  }
}

body.livesport-theme.matches-page-simple .gg-mat-league-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.24);
  position: relative;
  flex-shrink: 0;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

body.livesport-theme.matches-page-simple .gg-mat-league-chevron::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid rgba(255, 255, 255, 0.62);
  border-bottom: 2px solid rgba(255, 255, 255, 0.62);
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 0.16s ease;
}

body.livesport-theme.matches-page-simple .gg-mat-league.is-open .gg-mat-league-chevron {
  background: rgba(53, 224, 194, 0.12);
  border-color: rgba(53, 224, 194, 0.28);
}

body.livesport-theme.matches-page-simple .gg-mat-league.is-open .gg-mat-league-chevron::before {
  transform: rotate(-135deg) translate(-1px, -1px);
}

body.livesport-theme.matches-page-simple .gg-mat-league-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.18);
}

body.livesport-theme.matches-page-simple .gg-mat-league-odds-head {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) repeat(3, 2.45rem) minmax(5.25rem, 6.75rem);
  gap: 0.4rem 0.5rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
  background: rgba(0, 0, 0, 0.22);
  position: sticky;
  top: 0;
  z-index: 2;
  backdrop-filter: blur(8px);
}

body.livesport-theme.matches-page-simple .gg-mat-league-odds-head span:nth-child(n+3):nth-child(-n+5) {
  text-align: center;
  color: rgba(147, 197, 253, 0.72);
}

body.livesport-theme.matches-page-simple .gg-mat-row-list {
  display: flex;
  flex-direction: column;
}

/* ── Match row with odds ── */
body.livesport-theme.matches-layout-strip a.gg-mat-row {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) repeat(3, 2.45rem) minmax(5.25rem, 6.75rem);
  gap: 0.4rem 0.5rem;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 3.35rem;
  padding: 0.52rem 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: transparent;
  text-decoration: none;
  color: inherit;
  transition: background 0.12s ease, box-shadow 0.12s ease;
}

body.livesport-theme.matches-layout-strip a.gg-mat-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}

body.livesport-theme.matches-layout-strip a.gg-mat-row:hover {
  background: rgba(53, 224, 194, 0.05);
}

body.livesport-theme.matches-layout-strip a.gg-mat-row.is-official {
  border-left: 3px solid rgba(53, 224, 194, 0.75);
  box-shadow: none;
}

body.livesport-theme.matches-layout-strip a.gg-mat-row.is-signal {
  border-left: 3px solid rgba(232, 176, 80, 0.75);
  box-shadow: none;
}

body.livesport-theme.matches-layout-strip a.gg-mat-row.is-live-match {
  background: rgba(52, 211, 153, 0.04);
}

body.livesport-theme.matches-layout-strip .gg-mat-row-timebox {
  display: grid;
  grid-template-rows: auto auto;
  align-items: center;
  justify-items: center;
  gap: 0.06rem;
  min-height: 0;
  padding: 0.28rem 0.18rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
}

body.livesport-theme.matches-layout-strip .gg-mat-row-timebox.is-live {
  border-color: rgba(52, 211, 153, 0.22);
  background: rgba(52, 211, 153, 0.06);
}

body.livesport-theme.matches-layout-strip .gg-mat-row-timebox.is-live.is-paused {
  border-color: rgba(247, 183, 79, 0.28);
  background:
    linear-gradient(180deg, rgba(247, 183, 79, 0.10), rgba(52, 211, 153, 0.05));
}

body.livesport-theme.matches-layout-strip .gg-mat-row-timebox.is-finished {
  border-color: rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.14);
}

body.livesport-theme.matches-layout-strip .gg-mat-row-time {
  grid-row: 1;
  align-self: end;
  width: 100%;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

body.livesport-theme.matches-layout-strip .gg-mat-row-time--live {
  color: #34d399;
}

body.livesport-theme.matches-layout-strip .gg-mat-row-time--finished {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

body.livesport-theme.matches-layout-strip .gg-mat-row-status {
  grid-row: 2;
  align-self: start;
  width: 100%;
  min-height: 0;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.38);
  font-variant-numeric: tabular-nums;
}

body.livesport-theme.matches-layout-strip .gg-mat-row-timebox.is-live:not(:has(.gg-mat-row-status))::after {
  content: 'LIVE';
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  color: rgba(52, 211, 153, 0.82);
}

body.livesport-theme.matches-layout-strip .gg-mat-row-status--live { color: #34d399; }
body.livesport-theme.matches-layout-strip .gg-mat-row-status--paused { color: #f7b74f; }
body.livesport-theme.matches-layout-strip .gg-mat-row-status--finished { color: rgba(255, 255, 255, 0.38); }
body.livesport-theme.matches-layout-strip .gg-mat-row-status--upcoming { color: var(--gg-brand-primary, #35e0c2); }
body.livesport-theme.matches-layout-strip .gg-mat-row-status--postponed { color: #f7b74f; }
body.livesport-theme.matches-layout-strip .gg-mat-row-status--cancelled,
body.livesport-theme.matches-layout-strip .gg-mat-row-status--admin { color: rgba(255, 255, 255, 0.55); }
body.livesport-theme.matches-layout-strip .gg-mat-row-status--suspended { color: #ff6b8a; }
body.livesport-theme.matches-layout-strip .gg-mat-row-time--paused {
  color: #f7b74f;
  letter-spacing: 0.06em;
  font-weight: 800;
}
body.livesport-theme.matches-layout-strip a.gg-mat-row.is-paused-match .gg-mat-row-score strong {
  color: #34d399;
}
body.livesport-theme.matches-layout-strip a.gg-mat-row.is-paused-match {
  background: rgba(52, 211, 153, 0.04);
}
body.livesport-theme.matches-layout-strip .gg-mat-row-time--postponed,
body.livesport-theme.matches-layout-strip .gg-mat-row-time--canc,
body.livesport-theme.matches-layout-strip .gg-mat-row-time--abd,
body.livesport-theme.matches-layout-strip .gg-mat-row-time--awd,
body.livesport-theme.matches-layout-strip .gg-mat-row-time--wo,
body.livesport-theme.matches-layout-strip .gg-mat-row-time--susp { font-size: 0.62rem; line-height: 1.15; color: #f7b74f; }

body.livesport-theme.matches-layout-strip .gg-mat-row-matchup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.35rem 0.55rem;
  min-width: 0;
}

body.livesport-theme.matches-layout-strip .gg-mat-row-side {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  column-gap: 0.38rem;
  min-width: 0;
}

body.livesport-theme.matches-layout-strip .gg-mat-row-side--away {
  grid-template-columns: minmax(0, 1fr) 28px;
  text-align: right;
}

body.livesport-theme.matches-layout-strip .gg-mat-row-side--away .team-avatar {
  grid-column: 2;
  grid-row: 1;
}

body.livesport-theme.matches-layout-strip .gg-mat-row-side--away em {
  grid-column: 1;
  grid-row: 1;
}

body.livesport-theme.matches-layout-strip .gg-mat-row-side .team-avatar {
  flex-shrink: 0;
  align-self: center;
  justify-self: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.18);
}

body.livesport-theme.matches-layout-strip .gg-mat-row-side .team-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 1px;
  background: transparent;
  object-fit: contain;
}

body.livesport-theme.matches-layout-strip .gg-mat-row-side .team-avatar img.is-loaded,
body.livesport-theme.matches-layout-strip .gg-mat-row-side .team-avatar img[data-loaded="1"] {
  background: #fff;
}

body.livesport-theme.matches-layout-strip .gg-mat-row-side .team-avatar.is-flag {
  border-radius: 6px;
}

body.livesport-theme.matches-layout-strip .gg-mat-row-side .team-avatar.is-flag img {
  padding: 0;
  background: transparent;
  object-fit: cover;
}

body.livesport-theme.matches-layout-strip .gg-mat-row-side em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  align-self: center;
  color: var(--gg-pred-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.livesport-theme.matches-layout-strip .gg-mat-row-score,
body.livesport-theme.matches-layout-strip .gg-mat-row-vs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  font-size: 0.98rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--gg-pred-text);
}

body.livesport-theme.matches-layout-strip a.gg-mat-row.is-live-match .gg-mat-row-score strong {
  color: #34d399;
}

body.livesport-theme.matches-layout-strip .gg-mat-row-vs {
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.28);
  text-transform: uppercase;
}

body.livesport-theme.matches-layout-strip .gg-mat-row-score--upcoming strong {
  color: rgba(255, 255, 255, 0.34);
}

body.livesport-theme.matches-layout-strip .gg-mat-row-score--upcoming .gg-mat-row-vs {
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.28);
  text-transform: uppercase;
}

body.livesport-theme.matches-layout-strip .gg-mat-row-odds {
  display: contents;
}

body.livesport-theme.matches-layout-strip .gg-mat-row-odds--finished {
  display: contents;
}

body.livesport-theme.matches-layout-strip .gg-mat-odds-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.06rem;
  min-height: 2.15rem;
  padding: 0.22rem 0.16rem;
  border-radius: 8px;
  border: 1px solid rgba(91, 156, 255, 0.18);
  background: rgba(91, 156, 255, 0.07);
  text-align: center;
  box-shadow: none;
}

body.livesport-theme.matches-layout-strip .gg-mat-odds-pill em {
  font-size: 0.52rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.42);
}

body.livesport-theme.matches-layout-strip .gg-mat-odds-pill strong {
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #bfdbfe;
}

body.livesport-theme.matches-layout-strip .gg-mat-odds-pill.is-empty {
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: none;
}

body.livesport-theme.matches-layout-strip .gg-mat-odds-pill.is-empty strong {
  color: rgba(255, 255, 255, 0.18);
}

body.livesport-theme.matches-layout-strip .gg-mat-odds-pill.is-active {
  border-color: rgba(53, 224, 194, 0.5);
  background: linear-gradient(180deg, rgba(53, 224, 194, 0.2), rgba(53, 224, 194, 0.1));
  box-shadow:
    0 0 0 1px rgba(53, 224, 194, 0.14),
    0 8px 18px rgba(53, 224, 194, 0.12);
}

body.livesport-theme.matches-layout-strip .gg-mat-odds-pill.is-active strong {
  color: var(--gg-brand-primary, #35e0c2);
}

body.livesport-theme.matches-layout-strip .gg-mat-row-ai {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  min-width: 0;
}

body.livesport-theme.matches-layout-strip .gg-mat-ai-pick {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.04rem;
  min-width: 3.15rem;
  min-height: 2.15rem;
  padding: 0.22rem 0.3rem;
  border-radius: 8px;
  border: 1px solid rgba(167, 139, 250, 0.22);
  background: rgba(167, 139, 250, 0.07);
  text-align: center;
  box-shadow: none;
}

body.livesport-theme.matches-layout-strip .gg-mat-ai-pick.is-official {
  border-color: rgba(53, 224, 194, 0.38);
  background: linear-gradient(180deg, rgba(53, 224, 194, 0.18), rgba(53, 224, 194, 0.08));
}

body.livesport-theme.matches-layout-strip .gg-mat-ai-pick.is-signal {
  border-color: rgba(232, 176, 80, 0.38);
  background: linear-gradient(180deg, rgba(232, 176, 80, 0.18), rgba(232, 176, 80, 0.08));
}

body.livesport-theme.matches-layout-strip .gg-mat-ai-pick em {
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  max-width: 5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.livesport-theme.matches-layout-strip .gg-mat-ai-pick strong {
  font-size: 0.8rem;
  font-weight: 800;
  color: #ddd6fe;
}

body.livesport-theme.matches-layout-strip .gg-mat-ai-pick.is-official strong { color: var(--gg-brand-primary, #35e0c2); }
body.livesport-theme.matches-layout-strip .gg-mat-ai-pick.is-signal strong { color: #e8b050; }

body.livesport-theme.matches-layout-strip .gg-mat-ai-conf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  padding: 0.12rem 0.35rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
}

body.livesport-theme.matches-layout-strip .gg-mat-row-ai--markets {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.28rem;
  justify-content: center;
}

body.livesport-theme.matches-page-simple .gg-mat-day .gg-pred-day-head {
  flex-wrap: wrap;
}

body.livesport-theme.matches-page-simple .gg-mat-day .gg-pred-day-title {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

body.livesport-theme.matches-page-simple .gg-mat-day-link {
  flex-shrink: 0;
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gg-pred-muted);
  text-decoration: none;
}

body.livesport-theme.matches-page-simple .gg-mat-day-link:hover {
  color: var(--gg-brand-primary, #35e0c2);
}

/* ── Match strip (jako gg-pred-strip, bez market sloupce) ── */
body.livesport-theme.matches-layout-strip a.gg-mat-strip {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr) minmax(3.25rem, 4.75rem) 2.65rem;
  gap: 0.65rem 0.85rem;
  align-items: center;
  width: 100%;
  min-height: 4.35rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--gg-pred-border-soft, rgba(255, 255, 255, 0.06));
  background: linear-gradient(90deg, rgba(16, 28, 42, 0.98), rgba(10, 18, 28, 0.92));
  text-decoration: none;
  color: inherit;
  transition: border-color 0.12s ease, box-shadow 0.12s ease, transform 0.12s ease;
}

body.livesport-theme.matches-layout-strip a.gg-mat-strip:hover {
  border-color: var(--gg-brand-primary-border, rgba(53, 224, 194, 0.22));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
  transform: translateY(-1px);
}

body.livesport-theme.matches-layout-strip a.gg-mat-strip.is-official {
  border-color: rgba(53, 224, 194, 0.28);
  border-left: 3px solid rgba(53, 224, 194, 0.75);
  box-shadow: none;
}

body.livesport-theme.matches-layout-strip a.gg-mat-strip.is-signal {
  border-color: rgba(232, 176, 80, 0.28);
  border-left: 3px solid rgba(232, 176, 80, 0.75);
  box-shadow: none;
}

body.livesport-theme.matches-layout-strip a.gg-mat-strip.has-ai:not(.is-official):not(.is-signal) {
  border-color: rgba(91, 156, 255, 0.22);
  border-left: 3px solid rgba(91, 156, 255, 0.55);
  box-shadow: none;
}

body.livesport-theme.matches-layout-strip a.gg-mat-strip.is-live-match {
  border-color: rgba(52, 211, 153, 0.18);
  background: linear-gradient(90deg, rgba(16, 36, 32, 0.55), rgba(10, 18, 28, 0.92));
}

body.livesport-theme.matches-layout-strip .gg-mat-strip-timebox {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  min-height: 3.5rem;
  padding: 0.35rem 0.25rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

body.livesport-theme.matches-layout-strip .gg-mat-strip-timebox .gg-pred-strip-time {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.15;
}

body.livesport-theme.matches-layout-strip .gg-mat-strip-timebox em {
  margin-top: 0.12rem;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 700;
  color: var(--gg-pred-muted);
  line-height: 1.2;
}

body.livesport-theme.matches-layout-strip .gg-mat-strip-tip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.35rem 0.45rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
  text-align: center;
}

body.livesport-theme.matches-layout-strip a.gg-mat-strip.is-official .gg-mat-strip-tip {
  border-color: rgba(53, 224, 194, 0.32);
  background: rgba(53, 224, 194, 0.08);
}

body.livesport-theme.matches-layout-strip a.gg-mat-strip.is-signal .gg-mat-strip-tip {
  border-color: rgba(232, 176, 80, 0.32);
  background: rgba(232, 176, 80, 0.08);
}

body.livesport-theme.matches-layout-strip .gg-mat-strip-tip strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gg-brand-primary, #35e0c2);
  line-height: 1;
}

body.livesport-theme.matches-layout-strip a.gg-mat-strip.is-signal .gg-mat-strip-tip strong {
  color: var(--gg-pred-signal, #e8b050);
}

body.livesport-theme.matches-layout-strip .gg-mat-strip-tip--empty {
  visibility: hidden;
  min-height: 0;
  padding: 0;
  border: none;
  background: transparent;
}

body.livesport-theme.matches-layout-strip .gg-mat-strip-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
}

body.livesport-theme.matches-layout-strip .gg-mat-strip-score strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  color: var(--gg-pred-text);
}

body.livesport-theme.matches-layout-strip a.gg-mat-strip.is-live-match .gg-mat-strip-score strong {
  color: #34d399;
}

body.livesport-theme.matches-layout-strip .gg-mat-strip-score--empty strong {
  color: rgba(255, 255, 255, 0.22);
}

body.livesport-theme.matches-page-simple .gg-pred-badge--neutral {
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

body.livesport-theme.matches-page-simple .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  body.livesport-theme.matches-page-simple .gg-mat-stats-bar {
    gap: 0.35rem;
    padding: 0.62rem 0.7rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-stat {
    min-height: 1.8rem;
    padding: 0.22rem 0.5rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-league-toggle {
    padding: 0.5rem 0.65rem;
    align-items: center;
    gap: 0.5rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-league-leading {
    gap: 0.55rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-league-logo .league-logo-badge {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 8px;
  }

  body.livesport-theme.matches-page-simple .gg-mat-league-title {
    font-size: 0.85rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-league-meta {
    grid-template-columns: auto auto auto;
    grid-template-rows: auto;
    justify-items: center;
    gap: 0.4rem;
    min-width: 0;
  }

  body.livesport-theme.matches-page-simple .gg-mat-league-live {
    grid-row: 1;
    grid-column: 1;
  }

  body.livesport-theme.matches-page-simple .gg-mat-league-live.is-off {
    display: none;
  }

  body.livesport-theme.matches-page-simple .gg-mat-league-count {
    grid-row: 1;
    grid-column: 2;
  }

  body.livesport-theme.matches-page-simple .gg-mat-league-chevron {
    grid-row: 1;
    grid-column: 3;
  }

  body.livesport-theme.matches-page-simple .gg-mat-league-chips {
    display: none;
  }

  body.livesport-theme.matches-page-simple .gg-mat-league-odds-head {
    display: none;
  }

  body.livesport-theme.matches-layout-strip a.gg-mat-row {
    grid-template-columns: 2.85rem minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 0.28rem 0.42rem;
    min-height: 0;
    max-width: 100%;
    padding: 0.42rem 0.62rem;
  }

  body.livesport-theme.matches-layout-strip .gg-mat-row-timebox {
    grid-row: 1 / span 2;
    grid-template-rows: 0.95rem 0.82rem;
    min-height: 0;
    padding: 0.2rem 0.16rem;
    border-radius: 8px;
    gap: 0.06rem;
  }

  body.livesport-theme.matches-layout-strip .gg-mat-row-time {
    font-size: 0.72rem;
  }

  body.livesport-theme.matches-layout-strip .gg-mat-row-status {
    min-height: 0.82rem;
    font-size: 0.48rem;
    letter-spacing: 0.03em;
  }

  body.livesport-theme.matches-layout-strip .gg-mat-row-matchup {
    align-items: center;
    gap: 0.22rem 0.34rem;
  }

  body.livesport-theme.matches-layout-strip .gg-mat-row-side {
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 0.34rem;
  }

  body.livesport-theme.matches-layout-strip .gg-mat-row-side--away {
    grid-template-columns: minmax(0, 1fr) 30px;
  }

  body.livesport-theme.matches-layout-strip .gg-mat-row-side .team-avatar.sm {
    width: 30px;
    height: 30px;
  }

  body.livesport-theme.matches-layout-strip .gg-mat-row-side em {
    font-size: 0.7rem;
    line-height: 1;
  }

  body.livesport-theme.matches-layout-strip .gg-mat-row-score,
  body.livesport-theme.matches-layout-strip .gg-mat-row-vs {
    font-size: 0.8rem;
  }

  body.livesport-theme.matches-layout-strip .gg-mat-row-odds,
  body.livesport-theme.matches-layout-strip .gg-mat-row-ai {
    gap: 0.2rem;
  }

  body.livesport-theme.matches-layout-strip .gg-mat-odds-pill,
  body.livesport-theme.matches-layout-strip .gg-mat-ai-pick {
    min-height: 1.62rem;
    min-width: 2.05rem;
    padding: 0.16rem 0.12rem;
    border-radius: 8px;
  }

  body.livesport-theme.matches-layout-strip .gg-mat-odds-pill em {
    font-size: 0.5rem;
  }

  body.livesport-theme.matches-layout-strip .gg-mat-odds-pill strong {
    font-size: 0.7rem;
  }

  body.livesport-theme.matches-layout-strip .gg-mat-ai-pick {
    min-width: 2.75rem;
    padding: 0.16rem 0.24rem;
  }

  body.livesport-theme.matches-layout-strip .gg-mat-ai-pick em {
    font-size: 0.5rem;
    max-width: 4.25rem;
  }

  body.livesport-theme.matches-layout-strip .gg-mat-ai-pick strong {
    font-size: 0.66rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-league-panel .gg-mat-row.ls-match-row {
    display: none !important;
  }

  body.livesport-theme.matches-layout-strip .gg-mat-row-matchup {
    grid-column: 2;
    grid-row: 1;
  }

  body.livesport-theme.matches-layout-strip .gg-mat-row-odds,
  body.livesport-theme.matches-layout-strip .gg-mat-row-ai {
    grid-column: 2;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  body.livesport-theme.matches-layout-strip .gg-mat-row-odds {
    grid-row: 2;
  }

  body.livesport-theme.matches-layout-strip .gg-mat-row-ai {
    grid-row: 2;
    margin-left: auto;
    width: auto;
    justify-content: flex-end;
  }

  body.livesport-theme.matches-layout-strip a.gg-mat-strip {
    grid-template-columns: 3.5rem minmax(0, 1fr) 2.35rem;
    grid-template-rows: auto auto;
    gap: 0.45rem 0.65rem;
    min-height: 0;
    padding: 0.6rem 0.7rem;
  }

  body.livesport-theme.matches-layout-strip a.gg-mat-strip .gg-pred-strip-conf,
  body.livesport-theme.matches-layout-strip a.gg-mat-strip .gg-mat-strip-timebox {
    grid-row: 1 / span 2;
    width: 3.15rem;
    min-height: 3.15rem;
  }

  body.livesport-theme.matches-layout-strip a.gg-mat-strip .gg-pred-strip-body {
    grid-column: 2;
    grid-row: 1;
  }

  body.livesport-theme.matches-layout-strip a.gg-mat-strip .gg-mat-strip-tip {
    grid-column: 2;
    grid-row: 2;
    justify-content: flex-start;
    min-height: 0;
    padding: 0.2rem 0.45rem;
  }

  body.livesport-theme.matches-layout-strip a.gg-mat-strip .gg-mat-strip-score {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip {
    width: 100%;
    justify-content: flex-start;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-pills {
    max-width: none;
    flex: 1 1 auto;
  }

  body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar {
    padding: 0.48rem 0.52rem 0.52rem;
  }

  body.livesport-theme.matches-page-simple .predictions-page-header-top {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (min-width: 900px) {
  body.livesport-theme.matches-page-simple .gg-mat-date-pills {
    max-width: none;
  }
}

/* ── Nerdy-style hero stats (inline in featured head) ── */
body.livesport-theme.matches-page-simple .gg-mat-stats-bar--nerdy.gg-mat-stats-bar--inline {
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  flex: 0 1 auto;
}

body.livesport-theme.matches-page-simple .gg-mat-stats-bar--nerdy {
  justify-content: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-color: rgba(167, 139, 250, 0.18);
  background:
    linear-gradient(135deg, rgba(88, 52, 170, 0.18), rgba(53, 224, 194, 0.06)),
    rgba(0, 0, 0, 0.24);
}

body.livesport-theme.matches-page-simple .gg-mat-stat--hero {
  min-height: 2.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 12px;
}

body.livesport-theme.matches-page-simple .gg-mat-stat--hero em {
  font-size: 0.64rem;
}

body.livesport-theme.matches-page-simple .gg-mat-stat--hero strong {
  font-size: 1.05rem;
}

body.livesport-theme.matches-page-simple .gg-mat-stat--won.has-value strong {
  color: var(--gg-brand-primary, #35e0c2);
}

/* ── Featured match cards (NerdyTips-style marquee) ── */
body.livesport-theme.matches-page-simple .gg-mat-featured {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-head--nerdy {
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem 1rem;
  padding-bottom: 0.15rem;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-stats {
  margin: 0;
  flex: 0 1 auto;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-head-copy {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
  flex: 1 1 12rem;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-head strong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gg-pred-text);
  letter-spacing: -0.01em;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-head span {
  font-size: 0.68rem;
  color: var(--gg-pred-muted);
}

body.livesport-theme.matches-page-simple .gg-mat-featured-empty {
  margin: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
  color: var(--gg-pred-muted);
  text-align: center;
}

body.livesport-theme.matches-page-simple .gg-mat-all-section {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0;
}

body.livesport-theme.matches-page-simple .gg-mat-all-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.15rem 0.05rem 0;
}

body.livesport-theme.matches-page-simple .gg-mat-all-title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

body.livesport-theme.matches-page-simple .gg-mat-all-title > span:first-child {
  color: #ffd54a;
}

body.livesport-theme.matches-page-simple .gg-mat-all-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.45rem;
  height: 1.35rem;
  margin-left: 0.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.62rem;
}

body.livesport-theme.matches-page-simple .gg-mat-all-section--favorite-teams,
body.livesport-theme.matches-page-simple .gg-mat-all-section--favorite-leagues {
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

body.livesport-theme.matches-page-simple .gg-mat-all-section--favorite-leagues {
  margin-top: 0.35rem;
}

body.livesport-theme.matches-page-simple .gg-mat-all-section--favorite-leagues .gg-mat-all-title > span:first-child {
  color: #2ee6c5;
}

/* Personal matches mode: teams and competitions represent different intents,
   so they must read as two separate areas instead of one generic feed. */
body.livesport-theme.matches-page-simple .gg-mat-personal-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(25rem, 0.8fr);
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(251, 191, 36, 0.24);
  border-radius: 16px;
  background:
    radial-gradient(circle at 4% 0%, rgba(251, 191, 36, 0.12), transparent 38%),
    radial-gradient(circle at 100% 100%, rgba(46, 230, 197, 0.08), transparent 36%),
    linear-gradient(135deg, rgba(18, 27, 42, 0.98), rgba(10, 20, 31, 0.98));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18), inset 0 1px rgba(255, 255, 255, 0.035);
}

body.livesport-theme.matches-page-simple .gg-mat-personal-overview__copy {
  align-self: center;
  min-width: 0;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-overview__eyebrow {
  display: block;
  margin-bottom: 0.32rem;
  color: #fbbf24;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-overview__copy h2 {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  letter-spacing: -0.025em;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-overview__copy p {
  max-width: 45rem;
  margin: 0.4rem 0 0;
  color: #9fb0c1;
  font-size: 0.76rem;
  line-height: 1.48;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-overview__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-metric {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.16rem 0.55rem;
  min-width: 0;
  padding: 0.68rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(3, 10, 18, 0.38);
  color: #f8fafc;
  text-decoration: none;
  transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-metric:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.045);
}

body.livesport-theme.matches-page-simple .gg-mat-personal-metric > span {
  overflow: hidden;
  color: #d8e2ec;
  font-size: 0.67rem;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-metric > strong {
  grid-row: 1 / 3;
  grid-column: 2;
  color: #fff;
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-metric > small {
  color: #8193a7;
  font-size: 0.6rem;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-metric--teams {
  border-color: rgba(251, 191, 36, 0.28);
}

body.livesport-theme.matches-page-simple .gg-mat-personal-metric--teams > span {
  color: #ffd86a;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-metric--leagues {
  border-color: rgba(46, 230, 197, 0.24);
}

body.livesport-theme.matches-page-simple .gg-mat-personal-metric--leagues > span {
  color: #59e8cf;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-manage {
  grid-column: 1 / -1;
  justify-self: end;
  color: #aebdcb;
  font-size: 0.66rem;
  font-weight: 750;
  text-decoration: none;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-manage:hover {
  color: #fff;
}

body.livesport-theme.matches-page-simple .gg-mat-all-section--favorite-teams,
body.livesport-theme.matches-page-simple .gg-mat-all-section--favorite-leagues {
  gap: 0.65rem;
  margin-top: 0;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  background: rgba(13, 23, 36, 0.62);
  scroll-margin-top: 8rem;
}

body.livesport-theme.matches-page-simple .gg-mat-all-section--favorite-teams {
  border-color: rgba(251, 191, 36, 0.24);
  box-shadow: inset 3px 0 0 rgba(251, 191, 36, 0.72);
}

body.livesport-theme.matches-page-simple .gg-mat-all-section--favorite-leagues {
  border-color: rgba(46, 230, 197, 0.2);
  box-shadow: inset 3px 0 0 rgba(46, 230, 197, 0.62);
}

body.livesport-theme.matches-page-simple .gg-mat-all-heading-copy {
  min-width: 0;
}

body.livesport-theme.matches-page-simple .gg-mat-all-heading-copy p {
  margin: 0.22rem 0 0;
  color: #8fa1b4;
  font-size: 0.66rem;
  line-height: 1.35;
}

body.livesport-theme.matches-page-simple .gg-mat-all-section--favorite-teams .gg-mat-all-title,
body.livesport-theme.matches-page-simple .gg-mat-all-section--favorite-leagues .gg-mat-all-title {
  color: #f4f7fa;
  font-size: 0.82rem;
}

body.livesport-theme.matches-page-simple .gg-mat-all-saved-count {
  flex: 0 0 auto;
  padding: 0.28rem 0.48rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #91a3b6;
  font-size: 0.6rem;
  font-weight: 800;
  white-space: nowrap;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-empty {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  min-height: 4.25rem;
  padding: 0.75rem 0.9rem;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(2, 8, 16, 0.25);
}

body.livesport-theme.matches-page-simple .gg-mat-personal-empty > span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  border-radius: 10px;
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
}

body.livesport-theme.matches-page-simple .gg-mat-all-section--favorite-leagues .gg-mat-personal-empty > span {
  background: rgba(46, 230, 197, 0.1);
  color: #2ee6c5;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-empty strong,
body.livesport-theme.matches-page-simple .gg-mat-personal-empty a {
  display: block;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-empty strong {
  color: #dce6ef;
  font-size: 0.72rem;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-empty a {
  margin-top: 0.18rem;
  color: #8fa1b4;
  font-size: 0.64rem;
  text-decoration: none;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-empty a:hover {
  color: #fff;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0.35rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

body.livesport-theme.matches-page-simple .gg-mat-personal-sidebar__head span,
body.livesport-theme.matches-page-simple .gg-mat-personal-sidebar__head strong {
  display: block;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-sidebar__head span {
  color: #fbbf24;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-sidebar__head strong {
  margin-top: 0.12rem;
  color: #f8fafc;
  font-size: 0.88rem;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-sidebar__manage {
  color: #90a2b5;
  font-size: 0.62rem;
  font-weight: 800;
  text-decoration: none;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-sidebar__group {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
}

body.livesport-theme.matches-page-simple .gg-mat-personal-sidebar__group--teams {
  border-color: rgba(251, 191, 36, 0.18);
}

body.livesport-theme.matches-page-simple .gg-mat-personal-sidebar__group--leagues {
  border-color: rgba(46, 230, 197, 0.16);
}

body.livesport-theme.matches-page-simple .gg-mat-personal-sidebar__group h3 {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.55rem 0.58rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #dce5ee;
  font-size: 0.64rem;
  text-transform: uppercase;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-sidebar__group h3 span {
  color: #fbbf24;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-sidebar__group--leagues h3 span {
  color: #2ee6c5;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-sidebar__group h3 b {
  min-width: 1.3rem;
  padding: 0.12rem 0.32rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #aab8c6;
  font-size: 0.56rem;
  text-align: center;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-sidebar__group ul {
  margin: 0;
  padding: 0.25rem 0;
  list-style: none;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-sidebar__item {
  display: flex;
  align-items: center;
  gap: 0.48rem;
  min-height: 2.35rem;
  padding: 0.35rem 0.52rem;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-sidebar__remove {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fbbf24;
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-sidebar__remove:hover,
body.livesport-theme.matches-page-simple .gg-mat-personal-sidebar__remove:focus-visible {
  background: rgba(248, 113, 113, 0.14);
  color: #fb7185;
  outline: none;
  transform: scale(1.08);
}

body.livesport-theme.matches-page-simple .gg-mat-personal-sidebar__item + .gg-mat-personal-sidebar__item {
  border-top: 1px solid rgba(255, 255, 255, 0.045);
}

body.livesport-theme.matches-page-simple .gg-mat-personal-sidebar__logo {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  flex: 0 0 auto;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-sidebar__logo .team-avatar,
body.livesport-theme.matches-page-simple .gg-mat-personal-sidebar__logo .league-logo-badge {
  width: 1.7rem;
  height: 1.7rem;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-sidebar__name {
  overflow: hidden;
  color: #e4ebf2;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-sidebar__group > p {
  margin: 0;
  padding: 0.75rem 0.6rem;
  color: #8294a8;
  font-size: 0.66rem;
  line-height: 1.4;
}

body.livesport-theme.matches-page-simple .gg-mat-personal-sidebar__fallback {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #dce5ee;
  font-size: 0.58rem;
  font-weight: 800;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 7.5rem;
  padding: 0.75rem 0.8rem 0.85rem;
  border-radius: 16px;
  border: 1px solid rgba(167, 139, 250, 0.22);
  background:
    radial-gradient(circle at top, rgba(124, 58, 237, 0.22), transparent 58%),
    linear-gradient(180deg, rgba(28, 22, 48, 0.96), rgba(12, 16, 28, 0.98));
  text-decoration: none;
  color: inherit;
  transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-card:hover {
  transform: translateY(-2px);
  border-color: rgba(167, 139, 250, 0.42);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

body.livesport-theme.matches-page-simple .gg-mat-featured-card.is-official {
  border-color: rgba(53, 224, 194, 0.35);
  box-shadow: inset 0 0 0 1px rgba(53, 224, 194, 0.08);
}

body.livesport-theme.matches-page-simple .gg-mat-featured-card.is-signal {
  border-color: rgba(232, 176, 80, 0.35);
}

body.livesport-theme.matches-page-simple .gg-mat-featured-badge.is-live {
  color: #fff;
  border-color: rgba(255, 107, 138, 0.45);
  background: rgba(220, 38, 68, 0.55);
}

body.livesport-theme.matches-page-simple .gg-mat-featured-badge.is-finished {
  color: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

body.livesport-theme.matches-page-simple .gg-mat-featured-time.is-score {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-card.is-won {
  border-color: rgba(53, 224, 194, 0.42);
}

body.livesport-theme.matches-page-simple .gg-mat-featured-card.is-loss {
  opacity: 0.88;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-card.is-finished:not(.is-won):not(.is-loss) {
  opacity: 0.94;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 1.35rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ddd6fe;
  border: 1px solid rgba(167, 139, 250, 0.28);
  background: rgba(88, 52, 170, 0.35);
}

body.livesport-theme.matches-page-simple .gg-mat-featured-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.45rem;
  flex: 1 1 auto;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  text-align: center;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-team em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.88);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.22rem;
  padding: 0 0.15rem;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-time {
  font-size: 1.05rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-tip {
  font-size: 0.58rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.52);
  text-align: center;
  max-width: 6.5rem;
  line-height: 1.25;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-trust {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: rgba(196, 181, 253, 0.9);
}

body.livesport-theme.matches-page-simple .gg-mat-featured-card.is-official .gg-mat-featured-trust {
  color: var(--gg-brand-primary, #35e0c2);
}

body.livesport-theme.matches-page-simple .gg-mat-featured-card.is-signal .gg-mat-featured-trust {
  color: #e8b050;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-foot {
  display: flex;
  justify-content: center;
  margin-top: 0.2rem;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-all-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(53, 224, 194, 0.28);
  background: rgba(53, 224, 194, 0.08);
  color: var(--gg-brand-primary, #35e0c2);
  font-size: 0.68rem;
  font-weight: 800;
  text-decoration: none;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-all-link:hover {
  background: rgba(53, 224, 194, 0.14);
  border-color: rgba(53, 224, 194, 0.42);
}

/* ── Tip maturity (preview / schedule-only days) ── */
body.livesport-theme.matches-layout-strip .gg-mat-ai-pick.is-preview {
  border-style: dashed;
  opacity: 0.92;
}

body.livesport-theme.matches-layout-strip .gg-mat-ai-preview-tag {
  display: block;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

body.livesport-theme.matches-layout-strip .gg-mat-ai-pick--schedule {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
}

body.livesport-theme.matches-layout-strip .gg-mat-ai-pick--schedule em,
body.livesport-theme.matches-layout-strip .gg-mat-ai-pick--schedule strong {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.62rem;
}

@media (max-width: 1100px) {
  body.livesport-theme.matches-page-simple .gg-mat-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body.livesport-theme.matches-page-simple .gg-mat-featured-grid {
    grid-template-columns: 1fr;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-card {
    min-height: 0;
  }
}

/* ── v883 top stack: tight title + dates, taller hero ── */
body.livesport-theme.matches-page-simple .site-shell.football-shell {
  padding-top: 0.65rem !important;
}

body.livesport-theme.matches-page-simple .predictions-page-header.gg-mat-page-head {
  gap: 0.35rem;
  padding: 0.2rem var(--gg-mat-gutter) 0.35rem;
}

body.livesport-theme.matches-page-simple .gg-mat-top-stack {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

body.livesport-theme.matches-page-simple .gg-mat-head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  flex-wrap: wrap;
  min-width: 0;
}

body.livesport-theme.matches-page-simple .gg-mat-head-row h1 {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gg-pred-text);
  line-height: 1.15;
}

body.livesport-theme.matches-page-simple .gg-mat-head-row p {
  margin: 0;
  font-size: 0.66rem;
  color: var(--gg-pred-muted);
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(28rem, 52vw);
}

body.livesport-theme.matches-page-simple #matches-page-meta.is-loading {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #bae6fd;
  letter-spacing: 0.01em;
}

body.livesport-theme.matches-page-simple #matches-page-meta.is-loading::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 2px solid rgba(53, 224, 194, 0.25);
  border-top-color: #35e0c2;
  animation: gg-skel-spin 0.7s linear infinite;
}

@media (max-width: 1180px) {
  body.livesport-theme.matches-page-simple .gg-mat-head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-head-row p {
    text-align: left;
    white-space: normal;
    max-width: none;
    line-height: 1.35;
  }
}

body.livesport-theme.matches-page-simple .gg-mat-date-strip--prominent {
  width: 100%;
  margin: 0;
  padding: 0.1rem 0 0.15rem;
  justify-content: center;
}

body.livesport-theme.matches-page-simple .gg-mat-hero-band {
  position: relative;
  width: 100%;
  height: clamp(3.75rem, 11vw, 6.25rem);
  margin: 0.15rem 0 0.25rem;
  border-radius: 14px;
  overflow: hidden;
  background-color: #0a1018;
  background-image:
    linear-gradient(180deg, rgba(6, 16, 25, 0.05) 0%, rgba(6, 16, 25, 0.45) 55%, rgba(6, 16, 25, 0.88) 100%),
    radial-gradient(ellipse 85% 60% at 50% 100%, rgba(53, 224, 194, 0.16), transparent 58%),
    url('../img/hero-brand-home-1400.jpg');
  background-size: cover;
  background-position: center 38%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy {
  padding: 0.1rem 0 0.2rem;
}

body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar {
  padding: 0.35rem 0.45rem 0.42rem;
  margin-top: 0.05rem;
}

@media (min-width: 900px) {
  body.livesport-theme.matches-page-simple .gg-mat-hero-band {
    height: clamp(5rem, 9vw, 7rem);
    border-radius: 16px;
  }

  body.livesport-theme.matches-page-simple .gg-mat-head-row p {
    font-size: 0.68rem;
  }
}

@media (max-width: 640px) {
  body.livesport-theme.matches-page-simple .gg-mat-head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.12rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-head-row p {
    text-align: left;
    white-space: normal;
  }

  body.livesport-theme.matches-page-simple .gg-mat-hero-band {
    height: clamp(3.25rem, 22vw, 4.5rem);
    border-radius: 12px;
  }
}

/* ── v879 hero banner + date strip (compact v881) ── */
body.livesport-theme.matches-page-simple .predictions-page-header {
  gap: 0.45rem;
  padding-top: 0.55rem;
  padding-bottom: 0.45rem;
}

body.livesport-theme.matches-page-simple .gg-mat-hero-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 16, 25, 0.42) 0%, transparent 24%, transparent 76%, rgba(6, 16, 25, 0.42) 100%);
  pointer-events: none;
}

body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar {
  padding: 0.42rem 0.5rem 0.48rem;
}

body.livesport-theme.matches-page-simple .gg-mat-board {
  gap: 0.55rem;
}

body.livesport-theme.matches-page-simple .gg-mat-featured {
  gap: 0.45rem;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-head--nerdy {
  gap: 0.45rem 0.65rem;
  padding-bottom: 0;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-head strong {
  font-size: 0.88rem;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-head span {
  font-size: 0.62rem;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-grid {
  gap: 0.5rem;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-card {
  gap: 0.38rem;
  min-height: 0;
  padding: 0.5rem 0.55rem 0.58rem;
  border-radius: 12px;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

body.livesport-theme.matches-page-simple .gg-mat-featured-team .team-avatar.md {
  width: 1.65rem;
  height: 1.65rem;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-team .team-avatar.md .team-avatar-fallback {
  font-size: 0.52rem;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-team .team-avatar img {
  background: transparent;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-team .team-avatar img.is-loaded,
body.livesport-theme.matches-page-simple .gg-mat-featured-team .team-avatar img[data-loaded="1"] {
  background: #fff;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-team {
  gap: 0.22rem;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-team em {
  font-size: 0.62rem;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-time {
  font-size: 0.92rem;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-time.is-score {
  font-size: 0.98rem;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-tip {
  font-size: 0.54rem;
  max-width: 5.75rem;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-badge {
  min-height: 1.15rem;
  padding: 0.08rem 0.38rem;
  font-size: 0.5rem;
}

body.livesport-theme.matches-page-simple .gg-mat-stat--hero {
  min-height: 1.9rem;
  padding: 0.22rem 0.55rem;
  border-radius: 9px;
}

body.livesport-theme.matches-page-simple .gg-mat-stat--hero em {
  font-size: 0.58rem;
}

body.livesport-theme.matches-page-simple .gg-mat-stat--hero strong {
  font-size: 0.88rem;
}

body.livesport-theme.matches-page-simple .gg-mat-stats-bar--nerdy.gg-mat-stats-bar--inline {
  gap: 0.35rem;
}

@media (min-width: 768px) {
  body.livesport-theme.matches-page-simple .gg-mat-date-strip--prominent .gg-mat-date-pill {
    min-width: 3.35rem;
    min-height: 2.65rem;
    padding: 0.32rem 0.45rem !important;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--prominent .gg-mat-date-pill .gg-pred-period-label {
    font-size: 0.58rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--prominent .gg-mat-date-pill .gg-mat-date-sub {
    font-size: 0.72rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--prominent .gg-mat-date-arrow {
    width: 2rem;
    height: 2.65rem;
    font-size: 1rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--prominent .gg-pred-period-btn--mini {
    min-height: 2.65rem;
    padding: 0.35rem 0.7rem;
    font-size: 0.68rem;
  }
}

@media (min-width: 1100px) {
  body.livesport-theme.matches-page-simple .gg-mat-featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }
}

@media (max-width: 767px) {
  body.livesport-theme.matches-page-simple .gg-mat-date-strip--prominent {
    margin-top: 0;
  }
}

/* ── v882 NerdyTips-style date row ── */
body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0.45rem 0 0.55rem;
  gap: 0.5rem;
}

body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pills {
  gap: 0.32rem;
  padding: 0.1rem 0.12rem;
}

body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy {
  min-width: 0;
  min-height: 2.55rem;
  padding: 0.42rem 1rem !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border-radius: 8px !important;
  box-shadow: none;
  transition: color 0.1s ease, background 0.1s ease, border-color 0.1s ease, box-shadow 0.1s ease;
}

body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy:hover:not(.is-active) {
  border-color: rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy:active:not(.is-active) {
  border-color: rgba(53, 224, 194, 0.42) !important;
  background: rgba(53, 224, 194, 0.12) !important;
  color: #fff;
}

body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy:active:not(.is-active) .gg-pred-period-label,
body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy:active:not(.is-active) .gg-mat-date-sub {
  color: rgba(255, 255, 255, 0.92);
}

body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy.is-today:not(.is-active) {
  border-color: rgba(53, 224, 194, 0.28) !important;
}

body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy.is-active {
  background: rgba(53, 224, 194, 0.1) !important;
  border: 1px solid rgba(53, 224, 194, 0.48) !important;
  box-shadow: 0 0 0 1px rgba(53, 224, 194, 0.08);
}

body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy.is-active:active {
  background: rgba(53, 224, 194, 0.16) !important;
  border-color: rgba(53, 224, 194, 0.62) !important;
  box-shadow: 0 0 0 1px rgba(53, 224, 194, 0.16), 0 0 12px rgba(53, 224, 194, 0.18);
}

@keyframes gg-mat-date-pill-pulse {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(53, 224, 194, 0.35), 0 0 0 0 rgba(53, 224, 194, 0);
    background: rgba(53, 224, 194, 0.14) !important;
  }
  50% {
    box-shadow: 0 0 0 2px rgba(53, 224, 194, 0.55), 0 0 18px rgba(53, 224, 194, 0.45);
    background: rgba(53, 224, 194, 0.28) !important;
  }
}

body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy.is-active.is-loading {
  border-color: rgba(53, 224, 194, 0.72) !important;
  background: rgba(53, 224, 194, 0.18) !important;
  animation: gg-mat-date-pill-pulse 1.1s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy.is-active.is-loading {
    animation: none;
  }
}

body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy .gg-pred-period-label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.38);
}

body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy.is-today:not(.is-active) .gg-pred-period-label {
  color: rgba(53, 224, 194, 0.72);
}

body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy.is-active .gg-pred-period-label {
  color: #fff;
}

body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-arrow {
  width: 1.85rem;
  height: 2.55rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.2rem;
}

body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-arrow:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
}

@media (min-width: 768px) {
  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy {
    width: 100%;
    margin: 0;
    padding: 0 0 0.2rem;
    gap: 0;
    border: none;
    background: transparent;
    box-shadow: none;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-arrow {
    flex: 0 0 2rem;
    width: 2rem;
    height: auto;
    min-height: 3rem;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.42);
    font-size: 1.45rem;
    border-radius: 8px;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-arrow:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.78);
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pills {
    flex: 1 1 auto;
    gap: 0.35rem;
    padding: 0 0.1rem;
    justify-content: space-between;
    overflow: visible;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy {
    flex: 1 1 0;
    min-width: 3.25rem;
    max-width: 5.5rem;
    min-height: 3rem;
    padding: 0.45rem 0.2rem 0.52rem !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    position: relative;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy:hover:not(.is-active) {
    border-color: rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.06) !important;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy.is-today:not(.is-active) {
    border-color: rgba(53, 224, 194, 0.28) !important;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy.is-active {
    border-color: rgba(53, 224, 194, 0.48) !important;
    background: rgba(53, 224, 194, 0.1) !important;
    box-shadow: 0 0 0 1px rgba(53, 224, 194, 0.08) !important;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy.is-active::after {
    content: "";
    position: absolute;
    left: 0.35rem;
    right: 0.35rem;
    bottom: 0.18rem;
    height: 0.16rem;
    border-radius: 999px;
    background: var(--gg-brand-primary, #35e0c2);
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-pill .gg-mat-date-day--mob {
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.52);
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-pill .gg-mat-date-sub {
    margin-top: 0.14rem;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.52);
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-pill.is-active .gg-mat-date-day--mob,
  body.livesport-theme.matches-page-simple .gg-mat-date-pill.is-active .gg-mat-date-sub {
    color: var(--gg-brand-primary, #35e0c2);
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-pill.is-today:not(.is-active) .gg-mat-date-day--mob {
    color: rgba(255, 255, 255, 0.72);
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy #matches-date-today,
  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy #predictions-date-today {
    display: none;
  }
}

@media (max-width: 767px) {
  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy {
    min-height: 2.45rem;
    padding: 0.38rem 0.82rem !important;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy .gg-pred-period-label {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy #matches-date-today,
  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy #predictions-date-today {
    min-height: 2.45rem;
    padding: 0.38rem 0.65rem;
    font-size: 0.66rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
  }
}

/* ── v891 / v926 Livesport-style week strip (3 back · today · 3 ahead) ── */
body.livesport-theme.matches-page-simple .gg-mat-date-pill .gg-mat-date-day--desk {
  display: none;
}

body.livesport-theme.matches-page-simple .gg-mat-date-pill .gg-mat-date-day--mob,
body.livesport-theme.matches-page-simple .gg-mat-date-pill .gg-mat-date-sub {
  display: block;
}

@media (max-width: 767px) {
  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy {
    width: 100%;
    margin: 0;
    padding: 0 0 0.15rem;
    gap: 0;
    border: none;
    background: transparent;
    box-shadow: none;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-arrow {
    flex: 0 0 1.55rem;
    width: 1.55rem;
    height: auto;
    min-height: 2.85rem;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.42);
    font-size: 1.35rem;
    border-radius: 0;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-arrow:hover:not(:disabled) {
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy #matches-date-today,
  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy #predictions-date-today {
    display: none;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pills {
    flex: 1 1 auto;
    gap: 0.3rem;
    padding: 0 0.08rem;
    justify-content: space-between;
    scroll-snap-type: x proximity;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy {
    flex: 1 1 0;
    min-width: 2.35rem;
    max-width: 3.1rem;
    min-height: 2.85rem;
    padding: 0.42rem 0.12rem 0.48rem !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    position: relative;
    scroll-snap-align: center;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy:hover:not(.is-active) {
    border-color: rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.06) !important;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy.is-today:not(.is-active) {
    border-color: rgba(53, 224, 194, 0.28) !important;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy.is-active {
    border-color: rgba(53, 224, 194, 0.48) !important;
    background: rgba(53, 224, 194, 0.1) !important;
    box-shadow: 0 0 0 1px rgba(53, 224, 194, 0.08) !important;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy.is-active::after {
    content: "";
    position: absolute;
    left: 0.28rem;
    right: 0.28rem;
    bottom: 0.16rem;
    height: 0.14rem;
    border-radius: 999px;
    background: var(--gg-brand-primary, #35e0c2);
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-pill .gg-mat-date-day--desk {
    display: none;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-pill .gg-mat-date-day--mob {
    display: block;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.52);
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-pill .gg-mat-date-sub {
    display: block;
    margin-top: 0.14rem;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.52);
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-pill.is-active .gg-mat-date-day--mob,
  body.livesport-theme.matches-page-simple .gg-mat-date-pill.is-active .gg-mat-date-sub {
    color: var(--gg-brand-primary, #35e0c2);
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-pill.is-today:not(.is-active) .gg-mat-date-day--mob {
    color: rgba(255, 255, 255, 0.72);
  }
}

/* ── v896 featured picks: tight stack, no grid gap ── */
body.livesport-theme.matches-page-simple .gg-mat-featured-stack {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  min-height: 0;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-head-row .gg-mat-featured-head-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1 1 12rem;
  min-width: 0;
  margin: 0;
}

body.livesport-theme.matches-page-simple .gg-mat-featured-head-row .gg-mat-featured-head-copy strong {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--gg-pred-text);
}

body.livesport-theme.matches-page-simple .gg-mat-featured-head-row .gg-mat-featured-head-copy span {
  font-size: 0.62rem;
  color: var(--gg-pred-muted);
  line-height: 1.35;
}

@media (min-width: 960px) {
  body.livesport-theme.matches-page-simple .gg-mat-featured-stack {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }
}

@media (max-width: 959px) {
  body.livesport-theme.matches-page-simple .gg-mat-featured {
    display: block;
    gap: 0;
    padding: 0;
    min-height: 0;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-head,
  body.livesport-theme.matches-page-simple .gg-mat-featured-head--nerdy {
    display: none;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-stats {
    display: none !important;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-stack {
    gap: 0.28rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-head-row .gg-mat-featured-head-copy {
    margin-bottom: 0;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-head-row .gg-mat-featured-head-copy strong {
    font-size: 0.8rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-head-row .gg-mat-featured-head-copy span {
    font-size: 0.58rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-card {
    min-height: 0;
    width: 100%;
    gap: 0.28rem;
    padding: 0.38rem 0.45rem 0.42rem;
    border-radius: 10px;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-badge {
    min-height: 1rem;
    padding: 0.06rem 0.38rem;
    font-size: 0.48rem;
    letter-spacing: 0.05em;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-teams {
    gap: 0.28rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-team {
    gap: 0.18rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-team .team-avatar.md {
    width: 1.35rem;
    height: 1.35rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-team .team-avatar.md .team-avatar-fallback {
    font-size: 0.44rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-team em {
    font-size: 0.58rem;
    line-height: 1.15;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-center {
    gap: 0.1rem;
    padding: 0;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-time {
    font-size: 0.82rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-time.is-score {
    font-size: 0.88rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-trust {
    font-size: 0.5rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-tip {
    font-size: 0.5rem;
    max-width: 4.5rem;
    line-height: 1.2;
  }
}

/* ── v1785 fixed date strip — sticky was killed by shell overflow-x:clip ── */
body.livesport-theme.matches-page-simple {
  --gg-mat-date-strip-h: 3.35rem;
}

body.livesport-theme.matches-page-simple #matches-date-bar.gg-mat-date-strip--sticky {
  position: fixed !important;
  top: var(--topbar-h, 64px) !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 190 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0.28rem max(var(--gg-mat-gutter, 0.85rem), calc((100vw - var(--gg-layout-max, 1280px)) / 2 + var(--gg-mat-gutter, 0.85rem))) 0.32rem !important;
  box-sizing: border-box !important;
  background: rgba(6, 16, 25, 0.985) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: none !important;
}

body.livesport-theme.matches-page-simple #matches-date-bar.gg-mat-date-strip--sticky.gg-mat-date-strip--nerdy {
  background: rgba(6, 16, 25, 0.985) !important;
}

body.livesport-theme.matches-page-simple .gg-mat-date-bar-spacer {
  display: block;
  width: 100%;
  height: var(--gg-mat-date-strip-h, 3.35rem);
  flex: 0 0 auto;
  pointer-events: none;
}

/* Keep predictions date sticky (unchanged semantics). */
body.livesport-theme.matches-page-simple #predictions-date-bar.gg-mat-date-strip--sticky {
  position: sticky;
  top: var(--topbar-h, 64px);
  z-index: 180;
  width: 100%;
  margin: 0;
  padding: 0.28rem 0 0.32rem;
  background: rgba(6, 16, 25, 0.985);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

body.livesport-theme.matches-page-simple .site-shell.football-shell.matches-page-wrap {
  overflow: visible !important;
}

@media (min-width: 960px) {
  /* Decorative hero only pushed the country hub down — hide on desktop Matches. */
  body.livesport-theme.matches-page-simple .gg-mat-hero-band {
    display: none !important;
  }

  body.livesport-theme.matches-page-simple .site-shell.football-shell {
    padding-top: 0.35rem !important;
  }

  body.livesport-theme.matches-page-simple .predictions-page-header.gg-mat-page-head {
    padding: 0.1rem var(--gg-mat-gutter) 0.15rem;
    gap: 0.15rem;
  }

  body.livesport-theme.matches-page-simple #matches-filter-toolbar.gg-mat-filter-toolbar {
    margin-top: 0;
    margin-bottom: 0.1rem;
    padding-top: 0.22rem;
    padding-bottom: 0.28rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-sidebar-body {
    padding-top: 0.28rem;
  }

  body.livesport-theme.matches-page-simple {
    --gg-mat-date-strip-h: 3.25rem;
  }
}

@media (max-width: 959px) {
  body.livesport-theme.matches-page-simple {
    --gg-mat-date-strip-h: 3.15rem;
  }

  body.livesport-theme.matches-page-simple #matches-date-bar.gg-mat-date-strip--sticky {
    padding-top: 0.32rem !important;
    padding-bottom: 0.38rem !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.32);
  }

  body.livesport-theme.matches-page-simple #matches-filter-toolbar.gg-mat-filter-toolbar {
    margin-bottom: 0.15rem;
  }
}

/* ── v899 scroll + density: less dead space above sticky controls ── */
@media (max-width: 959px) {
  body.livesport-theme.matches-page-simple {
    --gg-mat-date-strip-h: 3.1rem;
    scroll-padding-top: calc(var(--topbar-h, 64px) + var(--gg-mat-date-strip-h));
  }

  body.livesport-theme.matches-page-simple .gg-mat-hero-band {
    display: none;
  }

  body.livesport-theme.matches-page-simple .predictions-page-header.gg-mat-page-head {
    padding: 0.12rem 0 0.1rem;
    gap: 0;
  }

  body.livesport-theme.matches-page-simple .gg-mat-top-stack {
    gap: 0;
  }

  body.livesport-theme.matches-page-simple .gg-mat-head-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-head-row h1 {
    font-size: 1rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-head-row p {
    text-align: right;
    white-space: nowrap;
    max-width: 55vw;
    font-size: 0.62rem;
    line-height: 1.2;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pills {
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    scroll-snap-type: none;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy {
    scroll-snap-align: none;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-head {
    margin-top: 0.1rem;
  }
}

/* ── v905 larger featured picks on mobile (full-width, readable) ── */
@media (max-width: 959px) {
  body.livesport-theme.matches-page-simple .gg-mat-featured-stack {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-height: 0 !important;
    padding: 0.62rem 0.72rem 0.68rem !important;
    border-radius: 12px !important;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-badge {
    align-self: flex-start;
    min-height: 1.1rem;
    padding: 0.08rem 0.42rem;
    font-size: 0.52rem;
    margin-bottom: 0;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-teams {
    gap: 0.45rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-team {
    flex-direction: column;
    align-items: center;
    gap: 0.28rem;
    text-align: center;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-team--away {
    flex-direction: column;
    text-align: center;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-team .team-avatar.md {
    width: 1.65rem !important;
    height: 1.65rem !important;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-team em {
    font-size: 0.68rem !important;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    white-space: normal;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-center {
    gap: 0.12rem;
    padding: 0 0.25rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-time {
    font-size: 0.92rem !important;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-time.is-score {
    font-size: 1rem !important;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-trust {
    font-size: 0.58rem !important;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-tip {
    font-size: 0.56rem !important;
    max-width: 7rem;
    line-height: 1.25;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-head-row .gg-mat-featured-head-copy {
    margin-bottom: 0;
  }

  body.livesport-theme.matches-layout-strip .gg-mat-ai-pick {
    min-width: 3.35rem;
    min-height: 2.15rem;
    padding: 0.22rem 0.34rem;
  }

  body.livesport-theme.matches-layout-strip .gg-mat-ai-pick em {
    font-size: 0.56rem;
    max-width: 5.75rem;
  }

  body.livesport-theme.matches-layout-strip .gg-mat-ai-pick strong {
    font-size: 0.76rem;
  }
}

/* ── v912 symmetric logo/name grid + slightly larger avatars ── */
@media (max-width: 720px) {
  body.livesport-theme.matches-page-simple .site-shell.football-shell {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-inline: var(--gg-mat-gutter) !important;
    box-sizing: border-box;
    overflow: visible;
  }

  body.livesport-theme.matches-page-simple .matches-page-wrap,
  body.livesport-theme.matches-page-simple .gg-mat-hub,
  body.livesport-theme.matches-page-simple .gg-mat-main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-x: visible;
  }

  body.livesport-theme.matches-page-simple .gg-mat-hub,
  body.livesport-theme.matches-page-simple .predictions-page-inner {
    padding-left: 0;
    padding-right: 0;
  }

  body.livesport-theme.matches-page-simple .predictions-page-header.gg-mat-page-head {
    padding-left: 0;
    padding-right: 0;
  }

  body.livesport-theme.matches-page-simple #matches-date-bar.gg-mat-date-strip--sticky,
  body.livesport-theme.matches-page-simple #matches-filter-toolbar.gg-mat-filter-toolbar {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  body.livesport-theme.matches-layout-strip a.gg-mat-row {
    padding-top: 0.48rem;
    padding-bottom: 0.48rem;
    gap: 0.3rem 0.44rem;
  }

  body.livesport-theme.matches-layout-strip .gg-mat-row-matchup {
    align-items: center;
  }

  body.livesport-theme.matches-layout-strip .gg-mat-row-score,
  body.livesport-theme.matches-layout-strip .gg-mat-row-vs {
    align-self: center;
    padding: 0 0.12rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-featured-team .team-avatar.md {
    width: 1.55rem !important;
    height: 1.55rem !important;
  }
}

@media (min-width: 721px) {
  body.livesport-theme.matches-page-simple #matches-filter-toolbar.gg-mat-filter-toolbar {
    padding-left: var(--gg-mat-gutter);
    padding-right: var(--gg-mat-gutter);
    box-sizing: border-box;
  }
}

/* ── v914 mobile UX: bigger tap targets for odds / AI pills ── */
@media (max-width: 720px) {
  body.livesport-theme.matches-layout-strip .gg-mat-odds-pill,
  body.livesport-theme.matches-layout-strip .gg-mat-ai-pick {
    min-height: 1.86rem;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
  }
}

/* ── My teams strip (favorite clubs first on Matches) ── */
body.livesport-theme.matches-page-simple .gg-mat-myteams {
  margin-bottom: 0.65rem;
  border: 1px solid rgba(255, 196, 64, 0.22);
  background: linear-gradient(180deg, rgba(255, 196, 64, 0.06) 0%, rgba(255, 196, 64, 0.02) 100%);
}

body.livesport-theme.matches-page-simple .gg-mat-myteams-scope-tab.is-active {
  border-color: rgba(255, 196, 64, 0.55);
  color: #ffc440;
}

body.livesport-theme.matches-page-simple .gg-mat-myteams-card {
  border-color: rgba(255, 196, 64, 0.14);
}

body.livesport-theme.matches-page-simple .gg-mat-myteams-card.is-live {
  border-color: rgba(255, 96, 96, 0.35);
}

body.livesport-theme.matches-page-simple .gg-mat-featured-team.is-favorite em {
  color: #ffc440;
}

body.livesport-theme.matches-page-simple .gg-mat-myteams-star {
  color: #ffc440;
  font-size: 0.72rem;
  line-height: 1;
  flex: 0 0 auto;
}

body.livesport-theme.matches-page-simple .gg-mat-myteams-league {
  display: block;
  font-size: 0.58rem;
  color: var(--gg-pred-muted);
  line-height: 1.25;
  margin-top: 0.12rem;
}

body.livesport-theme.matches-page-simple .gg-mat-myteams-all-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

/* ── Livesport-style favorites block in match list ── */
body.livesport-theme.matches-page-simple .gg-mat-favorites-group {
  border: 1px solid rgba(255, 196, 64, 0.16);
  border-left: 3px solid rgba(255, 196, 64, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 196, 64, 0.05) 0%, rgba(8, 14, 22, 0.96) 42%);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 196, 64, 0.06);
}

body.livesport-theme.matches-page-simple .gg-mat-favorites-group:hover {
  border-color: rgba(255, 196, 64, 0.22);
}

body.livesport-theme.matches-page-simple .gg-mat-favorites-group.is-open {
  border-color: rgba(255, 196, 64, 0.24);
  border-left-color: rgba(255, 196, 64, 0.85);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 196, 64, 0.05);
}

body.livesport-theme.matches-page-simple .gg-mat-favorites-group .gg-mat-league-toggle {
  background: linear-gradient(90deg, rgba(255, 196, 64, 0.08), rgba(255, 255, 255, 0.015));
}

body.livesport-theme.matches-page-simple .gg-mat-favorites-group .gg-mat-league-toggle:hover {
  background: linear-gradient(90deg, rgba(255, 196, 64, 0.11), rgba(255, 255, 255, 0.025));
}

body.livesport-theme.matches-page-simple .gg-mat-fav-group-star,
body.livesport-theme.matches-page-simple .gg-mat-row-fav-star {
  display: none !important;
}

body.livesport-theme.matches-page-simple .gg-mat-favorites-group .gg-mat-league-logo:empty {
  display: none;
}

body.livesport-theme.matches-page-simple .gg-mat-favorites-group .gg-mat-league-title {
  color: #ffd978;
  font-size: 0.92rem;
  font-weight: 800;
}

body.livesport-theme.matches-page-simple .gg-mat-favorites-group .gg-mat-league-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

body.livesport-theme.matches-page-simple .gg-mat-favorites-group .gg-mat-league-live.is-off {
  display: none;
}

body.livesport-theme.matches-page-simple .gg-mat-fav-group-sub {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.35;
}

body.livesport-theme.matches-page-simple .gg-mat-favorites-group .gg-mat-league-count {
  display: none;
}

body.livesport-theme.matches-page-simple .gg-mat-fav-panel-inner {
  padding: 0 0 0.35rem;
}

body.livesport-theme.matches-page-simple .gg-mat-league-odds-head--favorites {
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.12);
}

body.livesport-theme.matches-page-simple .gg-mat-fav-league-block + .gg-mat-fav-league-block {
  margin-top: 0.35rem;
}

body.livesport-theme.matches-page-simple .gg-mat-fav-league-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.82rem 0.28rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

body.livesport-theme.matches-page-simple .gg-mat-fav-league-head .league-logo-badge {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.96);
}

body.livesport-theme.matches-page-simple .gg-mat-fav-league-name {
  flex: 1 1 auto;
  min-width: 0;
  letter-spacing: 0.02em;
  text-transform: none;
}

body.livesport-theme.matches-page-simple .gg-mat-fav-league-count {
  flex: 0 0 auto;
  font-size: 0.58rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.38);
}

body.livesport-theme.matches-page-simple .gg-mat-favorites-group .gg-mat-row-list {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

body.livesport-theme.matches-page-simple .gg-mat-favorites-group .gg-mat-row-fav-star {
  position: absolute;
  top: 0.18rem;
  left: 0.2rem;
  margin: 0;
  font-size: 0.58rem;
  line-height: 1;
  color: #ffc440;
  opacity: 0.95;
}

body.livesport-theme.matches-page-simple .gg-mat-favorites-group .gg-mat-row.is-favorite-row .gg-mat-row-timebox {
  position: relative;
  padding-top: 0.62rem;
}

/* Compact favorites block — shorter header only */
body.livesport-theme.matches-page-simple .gg-mat-favorites-group {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

body.livesport-theme.matches-page-simple .gg-mat-favorites-group.is-open {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

body.livesport-theme.matches-page-simple .gg-mat-favorites-group .gg-mat-league-toggle {
  padding: 0.42rem 0.62rem;
  gap: 0.45rem;
}

body.livesport-theme.matches-page-simple .gg-mat-favorites-group .gg-mat-league-leading {
  gap: 0.45rem;
}

body.livesport-theme.matches-page-simple .gg-mat-favorites-group .gg-mat-fav-group-star {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 8px;
  font-size: 0.72rem;
}

body.livesport-theme.matches-page-simple .gg-mat-favorites-group .gg-mat-league-copy {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.28rem 0.4rem;
  min-width: 0;
}

body.livesport-theme.matches-page-simple .gg-mat-favorites-group .gg-mat-league-title {
  font-size: 0.8rem;
  line-height: 1.15;
}

body.livesport-theme.matches-page-simple .gg-mat-favorites-group .gg-mat-fav-group-sub {
  display: inline;
  font-size: 0.58rem;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.42);
}

body.livesport-theme.matches-page-simple .gg-mat-favorites-group .gg-mat-fav-panel-inner {
  padding: 0;
}

body.livesport-theme.matches-page-simple .gg-mat-favorites-group .gg-mat-league-odds-head--favorites {
  margin-top: 0;
}

body.livesport-theme.matches-page-simple .gg-mat-favorites-group .gg-mat-fav-league-head {
  padding: 0.22rem 0.62rem 0.14rem;
  font-size: 0.62rem;
  gap: 0.32rem;
}

body.livesport-theme.matches-page-simple .gg-mat-favorites-group .gg-mat-fav-league-head .league-logo-badge {
  width: 0.95rem;
  height: 0.95rem;
}

body.livesport-theme.matches-page-simple .gg-mat-favorites-group .gg-mat-fav-league-block + .gg-mat-fav-league-block {
  margin-top: 0.15rem;
}


/* ── 7-day strip: equal pills, mobile-safe (no overflow clip) ── */
body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pills {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.28rem;
  min-width: 0;
  flex: 1 1 auto;
  overflow: visible;
}

body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  justify-content: center;
}

@media (min-width: 768px) {
  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pills {
    gap: 0.35rem;
    overflow: visible;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
  }
}

@media (max-width: 767px) {
  /* Sticky week strip: keep arrows + 7 days on one row without horizontal scroll */
  body.livesport-theme.matches-page-simple #matches-date-bar.gg-mat-date-strip--sticky {
    padding-left: max(0.45rem, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(0.45rem, env(safe-area-inset-right, 0px)) !important;
    gap: 0.15rem !important;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    min-width: 0;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-arrow {
    flex: 0 0 1.35rem;
    width: 1.35rem;
    min-width: 1.35rem;
    min-height: 2.55rem;
    font-size: 1.2rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pills {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.18rem;
    padding: 0;
    justify-content: space-between;
    overflow: visible;
    scroll-snap-type: none;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    min-height: 2.55rem;
    padding: 0.28rem 0.04rem 0.34rem !important;
    border-radius: 7px !important;
    scroll-snap-align: unset;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-pill .gg-mat-date-day--mob {
    display: block;
    font-size: 0.55rem;
    letter-spacing: 0.02em;
    line-height: 1.05;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-pill .gg-mat-date-sub {
    display: block;
    margin-top: 0.08rem;
    font-size: 0.66rem;
    line-height: 1.05;
    white-space: nowrap;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy.is-active::after {
    left: 0.18rem;
    right: 0.18rem;
    bottom: 0.1rem;
    height: 0.12rem;
  }
}

@media (max-width: 380px) {
  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-arrow {
    flex: 0 0 1.15rem;
    width: 1.15rem;
    min-width: 1.15rem;
    font-size: 1.05rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pills {
    gap: 0.12rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-pill .gg-mat-date-day--mob {
    font-size: 0.5rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-date-pill .gg-mat-date-sub {
    font-size: 0.6rem;
  }
}

/* Sticky "Loading matches…" chip — visible under date strip on mobile */
.gg-mat-loading-chip {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  margin: 0;
  padding: 0.45rem 0.85rem;
  box-sizing: border-box;
  background: rgba(6, 22, 34, 0.94);
  border-bottom: 1px solid rgba(53, 224, 194, 0.22);
  color: rgba(220, 240, 248, 0.95);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  z-index: 55;
}

body.matches-is-loading .gg-mat-loading-chip:not([hidden]) {
  display: flex;
}

.gg-mat-loading-chip-spinner {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  border: 2px solid rgba(53, 224, 194, 0.25);
  border-top-color: #35e0c2;
  animation: gg-mat-loading-spin 0.7s linear infinite;
  flex: 0 0 auto;
}

.gg-mat-loading-chip-text {
  min-width: 0;
}

@keyframes gg-mat-loading-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 959px) {
  body.livesport-theme.matches-page-simple .gg-mat-loading-chip {
    /* Loading feedback must overlay the page. Keeping it in normal flow made
       the entire match board jump down and back up while the first feed page
       was applied. */
    position: fixed;
    top: calc(var(--topbar-h, 56px) + var(--gg-mat-date-strip-h, 3.1rem));
    left: 0;
    right: 0;
    pointer-events: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  body.livesport-theme.matches-page-simple.matches-is-loading {
    scroll-padding-top: calc(var(--topbar-h, 56px) + var(--gg-mat-date-strip-h, 3.1rem) + 2.2rem);
  }
}

@media (min-width: 960px) {
  body.livesport-theme.matches-page-simple .gg-mat-loading-chip {
    position: fixed;
    top: calc(var(--topbar-h, 64px) + var(--gg-mat-date-strip-h, 3.25rem));
    left: 0;
    right: 0;
    pointer-events: none;
  }
}

@media (max-width: 959px) {
  /* The four mobile status tabs are populated by JS. Reserve their final row
     before boot so the feed begins at the same vertical position. */
  body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-mat-scope-tabs {
    min-height: 30px;
  }
}

/* Matches SSR bootstrap (board slot; removed when live board paints) */
.gg-matches-ssr-host:empty { display: none; }
.gg-matches-ssr {
  padding: 0.35rem 0 0.75rem;
}
.gg-matches-ssr-meta {
  margin: 0 0 0.55rem;
  font-size: 0.85rem;
  opacity: 0.75;
}
.gg-matches-ssr-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.gg-matches-ssr-card {
  display: grid;
  gap: 0.15rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(0,0,0,0.22);
}
.gg-matches-ssr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.gg-matches-ssr-chip {
  font-size: 0.72rem;
  opacity: 0.78;
}
.gg-matches-ssr-link {
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}
.gg-matches-ssr-time {
  font-size: 0.8rem;
  opacity: 0.72;
}
.gg-matches-ssr-host[hidden],
.gg-matches-ssr[hidden] {
  display: none !important;
}

/* Hide SEO SSR once the live board mounts (avoids double-board flash). */
.js-ready:has(.gg-mat-board) #gg-matches-ssr-host,
.js-ready:has(.gg-mat-board) .gg-matches-ssr {
  display: none !important;
}


/* Model 3 settlement badges on Matches board */
.gg-mat-ai-pick.is-won { outline: 1px solid rgba(52, 211, 153, 0.55); }
.gg-mat-ai-pick.is-loss { outline: 1px solid rgba(248, 113, 113, 0.55); }
.gg-mat-ai-result {
  display: inline-block;
  margin-right: 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.gg-mat-ai-pick.is-won .gg-mat-ai-result { color: #34d399; }
.gg-mat-ai-pick.is-loss .gg-mat-ai-result { color: #f87171; }
.gg-mat-ai-pick.is-void .gg-mat-ai-result { color: #94a3b8; }


/* Settled Model 3 tip rows */
.gg-mat-row.is-won .gg-mat-ai-pick { box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.35); }
.gg-mat-row.is-loss .gg-mat-ai-pick { box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.35); }

/* Off-screen league groups keep their measured footprint but are not laid out
   or painted until they approach the viewport. Expanded rows remain mounted. */
body.livesport-theme.matches-page-simple .gg-mat-league {
  content-visibility: auto;
  contain-intrinsic-block-size: auto 4.25rem;
}

@media (max-width: 760px) {
  body.livesport-theme.matches-page-simple .gg-mat-date-pill .gg-mat-date-day--mob {
    color: #b8c5d3 !important;
    font-size: 0.65rem !important;
  }
}

body.livesport-theme.matches-page-simple .gg-mat-load-more-leagues {
  width: 100%;
  min-height: 3rem;
  justify-content: center;
  margin-top: 0.55rem;
}

/* Whole-page entrance transforms register as a large layout shift on data-heavy
   boards and make touch targets move under the user's finger. */
body.livesport-theme.matches-page-simple .site-shell {
  animation: none !important;
  transform: none !important;
}

@media (max-width: 760px) {
  body.livesport-theme.matches-page-simple .gg-mat-date-strip--nerdy .gg-mat-date-pill--nerdy .gg-pred-period-label.gg-mat-date-day--mob {
    color: #c2cfdd !important;
    font-size: 0.65rem !important;
  }

  body.livesport-theme.matches-page-simple .gg-mat-filter-toolbar .gg-mat-scope-tabs .gg-pred-tab .gg-pred-tab-count {
    color: #c2cfdd !important;
  }

}

@media (max-width: 959px) {
  body.livesport-theme.matches-page-simple .gg-mat-personal-overview {
    grid-template-columns: 1fr;
    padding: 0.82rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-personal-overview__copy p {
    max-width: none;
  }
}

@media (max-width: 767px) {
  body.livesport-theme.matches-page-simple .gg-mat-personal-overview {
    gap: 0.72rem;
    margin: 0 0.25rem;
    padding: 0.78rem;
    border-radius: 13px;
  }

  body.livesport-theme.matches-page-simple .gg-mat-personal-overview__copy h2 {
    font-size: 1.02rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-personal-overview__copy p {
    font-size: 0.7rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-personal-overview__actions {
    gap: 0.38rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-personal-metric {
    min-height: 4.3rem;
    padding: 0.58rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-personal-metric > span {
    font-size: 0.61rem;
    white-space: normal;
  }

  body.livesport-theme.matches-page-simple .gg-mat-personal-metric > strong {
    font-size: 1.2rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-personal-manage {
    min-height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: stretch;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
  }

  body.livesport-theme.matches-page-simple .gg-mat-all-section--favorite-teams,
  body.livesport-theme.matches-page-simple .gg-mat-all-section--favorite-leagues {
    margin: 0 0.25rem;
    padding: 0.62rem;
    border-radius: 12px;
  }

  body.livesport-theme.matches-page-simple .gg-mat-all-head {
    align-items: flex-start;
  }

  body.livesport-theme.matches-page-simple .gg-mat-all-section--favorite-teams .gg-mat-all-title,
  body.livesport-theme.matches-page-simple .gg-mat-all-section--favorite-leagues .gg-mat-all-title {
    font-size: 0.72rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-all-heading-copy p {
    max-width: 16rem;
    font-size: 0.6rem;
  }

  body.livesport-theme.matches-page-simple .gg-mat-all-saved-count {
    padding: 0.23rem 0.38rem;
    font-size: 0.54rem;
  }
}

/* Light crest backing keeps dark team logos readable on featured pick cards. */
body.livesport-theme.matches-page-simple .gg-mat-featured-team .team-avatar.md:not(.is-flag) {
  width: 34px !important;
  height: 34px !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  border-radius: 50% !important;
  background: #edf2f6 !important;
  overflow: hidden !important;
  box-sizing: border-box;
}
body.livesport-theme.matches-page-simple .gg-mat-featured-team .team-avatar:not(.is-flag) img {
  padding: 3px !important;
  filter: none;
}
body.livesport-theme.matches-page-simple .gg-mat-featured-team .team-avatar .team-avatar-fallback {
  color: #263944;
}
