/* GoalGrid — detail zápasu v4.2.8.27.870 */

body[data-page="match"].match-detail-readable {
  background: var(--gg-brand-secondary, #061019);
}

body[data-page="match"].match-detail-readable #match-hero,
body[data-page="match"].match-detail-readable #match-tabs-shell,
body[data-page="match"].match-detail-readable #match-tab-panels {
  display: block;
}

body[data-page="match"].match-detail-readable .match-hero-card {
  max-width: none;
  width: 100%;
  overflow: visible;
}

/* ── Hero ── */
body[data-page="match"].match-detail-readable .match-detail-hero {
  padding: 1rem 1.1rem !important;
  border-radius: 18px !important;
  margin-bottom: 0.65rem;
}

body[data-page="match"].match-detail-readable .match-tournament-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin: 0 0 0.65rem;
  padding: 0.45rem 0.55rem;
  border-radius: 12px;
  border: 1px solid rgba(120, 170, 255, 0.18);
  background: rgba(80, 120, 200, 0.10);
}
body[data-page="match"].match-detail-readable .match-tournament-strip > span {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  padding: 0.12rem 0.48rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  color: #c9d7ff;
  background: rgba(8, 14, 28, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
body[data-page="match"].match-detail-readable .match-tournament-strip-comp {
  color: #9fe9d8 !important;
  border-color: rgba(53, 224, 194, 0.22) !important;
}
body[data-page="match"].match-detail-readable .match-tournament-strip-round,
body[data-page="match"].match-detail-readable .match-tournament-strip-leg {
  color: #f0d9a8 !important;
}
body[data-page="match"].match-detail-readable .match-tournament-strip-agg {
  color: #fff !important;
  background: rgba(53, 224, 194, 0.18) !important;
  border-color: rgba(53, 224, 194, 0.28) !important;
}

body[data-page="match"].match-detail-readable .gg-md-settlement-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 750;
  color: #d8e2ff;
  background: rgba(100, 130, 220, 0.16);
  border: 1px solid rgba(120, 160, 255, 0.22);
}
body[data-page="match"].match-detail-readable .gg-md-tournament-context,
body[data-page="match"].match-detail-readable .gg-md-cup-road-card {
  margin-bottom: 0.75rem;
}
body[data-page="match"].match-detail-readable .gg-md-tournament-path {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin: 0.35rem 0 0.55rem;
}
body[data-page="match"].match-detail-readable .gg-md-path-chip {
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 750;
  color: #8fa3bc;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
body[data-page="match"].match-detail-readable .gg-md-path-chip.is-current {
  color: #0b1a16;
  background: #35e0c2;
  border-color: #35e0c2;
}
body[data-page="match"].match-detail-readable .gg-md-path-chip.is-done {
  color: #9fe9d8;
  border-color: rgba(53, 224, 194, 0.25);
}
body[data-page="match"].match-detail-readable .gg-md-path-sep {
  color: #4a6278;
  font-size: 0.7rem;
}
body[data-page="match"].match-detail-readable .gg-md-cup-venue,
body[data-page="match"].match-detail-readable .gg-md-cup-road-stage {
  margin: 0.2rem 0 0.45rem;
  color: #9bb0c4;
  font-size: 0.78rem;
}
body[data-page="match"].match-detail-readable .gg-md-cup-agg {
  margin: 0.35rem 0;
  font-size: 0.82rem;
  color: #e8f7f2;
}
body[data-page="match"].match-detail-readable .gg-md-cup-mini-group {
  margin: 0.5rem 0;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
body[data-page="match"].match-detail-readable .gg-md-cup-mini-group-head {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7f93b5;
  margin-bottom: 0.35rem;
}
body[data-page="match"].match-detail-readable .gg-md-cup-mini-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}
body[data-page="match"].match-detail-readable .gg-md-cup-mini-group li {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr) auto;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.74rem;
  color: #c7d4e2;
}
body[data-page="match"].match-detail-readable .gg-md-cup-prev {
  display: grid;
  gap: 0.3rem;
  margin: 0.45rem 0;
  font-size: 0.74rem;
  color: #9bb0c4;
}
body[data-page="match"].match-detail-readable .gg-md-cup-prev strong {
  color: #e6eef7;
  font-weight: 700;
  margin-left: 0.35rem;
}

body[data-page="match"].match-detail-readable .match-mobile-scorebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
  margin: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(8, 15, 26, 0.96);
  backdrop-filter: blur(14px);
}

@media (min-width: 761px) {
  body[data-page="match"].match-detail-readable .match-mobile-scorebar {
    display: none;
  }
}

body[data-page="match"].match-detail-readable .match-detail-title-wrap {
  margin: 0.35rem 0 0.25rem;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

body[data-page="match"].match-detail-readable .match-teams-matchup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem 0.55rem;
  width: 100%;
}

body[data-page="match"].match-detail-readable .match-teams-matchup.is-compact {
  gap: 0.45rem 0.35rem;
}

body[data-page="match"].match-detail-readable .match-team-side {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  min-width: 0;
  color: inherit;
}

body[data-page="match"].match-detail-readable .match-team-core,
body[data-page="match"].match-detail-readable .match-team-name-link {
  text-decoration: none;
  color: inherit;
}

body[data-page="match"].match-detail-readable .match-team-core {
  display: grid;
  justify-items: inherit;
  gap: 0.35rem;
  min-width: 0;
}

body[data-page="match"].match-detail-readable .match-team-name-link {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
}

body[data-page="match"].match-detail-readable .match-team-side.is-home {
  justify-items: start;
  text-align: left;
}

body[data-page="match"].match-detail-readable .match-team-side.is-away {
  justify-items: end;
  text-align: right;
}

body[data-page="match"].match-detail-readable .match-team-side strong {
  font-size: clamp(0.82rem, 2.8vw, 1rem);
  line-height: 1.2;
  color: #fff;
  font-weight: 700;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

body[data-page="match"].match-detail-readable .match-detail-title-wrap .match-team-side strong {
  font-size: clamp(1rem, 2.4vw, 1.35rem);
}

body[data-page="match"].match-detail-readable .match-team-center {
  display: grid;
  place-items: center;
  gap: 0.3rem;
  min-width: clamp(4.2rem, 12vw, 6.5rem);
  text-align: center;
}

body[data-page="match"].match-detail-readable .match-live-clock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.32rem 0.42rem;
  max-width: 100%;
  font-size: 0.76rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.68);
}

body[data-page="match"].match-detail-readable .match-live-clock.is-live .match-live-clock-phase {
  color: #f58f8f;
  font-weight: 600;
  letter-spacing: 0.01em;
}

body[data-page="match"].match-detail-readable .match-live-clock.is-paused .match-live-clock-phase {
  color: rgba(247, 183, 79, 0.95);
  font-weight: 600;
}

body[data-page="match"].match-detail-readable .match-live-clock-time {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

body[data-page="match"].match-detail-readable .match-detail-title-wrap .match-live-clock {
  font-size: 0.82rem;
}

body[data-page="match"].match-detail-readable .match-detail-title-wrap .match-live-clock-time {
  font-size: 0.95rem;
}

body[data-page="match"].match-detail-readable .match-team-score {
  font-size: clamp(1.05rem, 3vw, 1.45rem);
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}

body[data-page="match"].match-detail-readable .match-score-extras {
  display: grid;
  gap: 0.18rem;
  justify-items: center;
  margin-top: 0.12rem;
}

body[data-page="match"].match-detail-readable .match-penalty-score {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-top: 0.2rem;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff4d6;
  background: rgba(240, 180, 70, 0.18);
  border: 1px solid rgba(240, 180, 70, 0.28);
  font-variant-numeric: tabular-nums;
}
body[data-page="match"].match-detail-readable .match-hero-card.is-tournament .match-penalty-score {
  font-size: 0.8rem;
  padding: 0.18rem 0.55rem;
}

body[data-page="match"].match-detail-readable .match-winner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  max-width: min(11rem, 34vw);
  padding: 0.1rem 0.42rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #8ef0b2;
  background: rgba(86, 214, 130, 0.12);
  border: 1px solid rgba(86, 214, 130, 0.28);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-page="match"].match-detail-readable .match-team-side.is-winner strong {
  color: #8ef0b2;
}

body[data-page="match"].match-detail-readable .match-team-side.is-winner .team-avatar {
  box-shadow: 0 0 0 2px rgba(86, 214, 130, 0.55);
}

body[data-page="match"].match-detail-readable .match-team-side.is-loser strong {
  color: #fca5a5;
}

body[data-page="match"].match-detail-readable .match-team-side.is-loser .team-avatar {
  opacity: 0.72;
  filter: saturate(0.65);
}

body[data-page="match"].match-detail-readable .match-teams-matchup.is-decided .match-team-side.is-loser strong::after {
  content: 'OUT';
  margin-left: 0.28rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fca5a5;
  opacity: 0.95;
  vertical-align: middle;
}

body[data-page="match"].match-detail-readable .match-live-meta-chip.is-penalty {
  color: #f7d774;
  border-color: rgba(247, 215, 116, 0.35);
  background: rgba(247, 215, 116, 0.1);
}

body[data-page="match"].match-detail-readable .match-live-meta-chip.is-winner {
  color: #8ef0b2;
  border-color: rgba(86, 214, 130, 0.35);
  background: rgba(86, 214, 130, 0.1);
}

body[data-page="match"].match-detail-readable .match-overview-finished-stats {
  margin-bottom: 0.85rem;
}

body[data-page="match"].match-detail-readable .match-overview-finished-stats .live-stats-rows.is-overview-glance {
  margin-top: 0.35rem;
}

body[data-page="match"].match-detail-readable .match-two-leg-under-score {
  display: grid;
  gap: 0.12rem;
  justify-items: center;
  max-width: min(16rem, 42vw);
  margin-top: 0.15rem;
  padding-top: 0.28rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body[data-page="match"].match-detail-readable .match-two-leg-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(120, 214, 196, 0.92);
}

body[data-page="match"].match-detail-readable .match-two-leg-first-score {
  font-size: clamp(0.82rem, 2.4vw, 1rem);
  font-weight: 800;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

body[data-page="match"].match-detail-readable .match-two-leg-detail {
  font-size: clamp(0.62rem, 1.8vw, 0.72rem);
  font-weight: 500;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.52);
  text-align: center;
}

body[data-page="match"].match-detail-readable .match-two-leg-agg {
  display: inline-flex;
  align-items: center;
  margin-top: 0.15rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #0b1a16;
  background: #35e0c2;
  border: 1px solid rgba(53, 224, 194, 0.55);
}
body[data-page="match"].match-detail-readable .match-hero-card.is-tournament .match-two-leg-agg {
  font-size: 0.78rem;
  padding: 0.16rem 0.55rem;
}
  font-size: 0.66rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
}

body[data-page="match"].match-detail-readable .match-two-leg-under-score.is-return .match-two-leg-tag {
  color: rgba(247, 183, 79, 0.95);
}

body[data-page="match"].match-detail-readable .match-team-vs {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

body[data-page="match"].match-detail-readable .match-team-side .team-avatar.lg,
body[data-page="match"].match-detail-readable .match-team-side .team-avatar.xl {
  width: clamp(34px, 8vw, 44px);
  height: clamp(34px, 8vw, 44px);
}

body[data-page="match"].match-detail-readable .match-detail-desktop-only {
  display: block;
}

body[data-page="match"].match-detail-readable .match-detail-mobile-only {
  display: none;
}

@media (min-width: 761px) {
  body[data-page="match"].match-detail-readable .hero-card-head {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 1.25rem !important;
  }

  body[data-page="match"].match-detail-readable .hero-card-head > div:first-child {
    flex: 1 1 auto;
    min-width: 0;
  }

  body[data-page="match"].match-detail-readable .match-hero-actions {
    flex: 0 0 auto;
    align-self: flex-start;
  }

  body[data-page="match"].match-detail-readable .match-detail-title {
    font-size: clamp(1.55rem, 2.4vw, 2.05rem);
    margin: 0.35rem 0 0.25rem;
    line-height: 1.15;
  }

  body[data-page="match"].match-detail-readable .match-detail-title-wrap .match-team-side strong {
    font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  }
}

body[data-page="match"].match-detail-readable .match-hero-saves {
  margin-top: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

body[data-page="match"].match-detail-readable .match-hero-saves > summary {
  padding: 0.55rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #c8d6e8;
  cursor: pointer;
  list-style: none;
}

body[data-page="match"].match-detail-readable .match-hero-saves > summary::-webkit-details-marker {
  display: none;
}

body[data-page="match"].match-detail-readable .match-hero-saves .mygg-compact-save-row {
  padding: 0 0.55rem 0.55rem;
}

body[data-page="match"].match-detail-readable .match-team-name-row {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  max-width: 100%;
}

body[data-page="match"].match-detail-readable .match-team-name-row--home {
  justify-content: flex-start;
}

body[data-page="match"].match-detail-readable .match-team-name-row--away {
  justify-content: flex-end;
}

body[data-page="match"].match-detail-readable .match-team-side.is-home .match-team-name-row {
  margin-left: 0;
  margin-right: auto;
}

body[data-page="match"].match-detail-readable .match-team-side.is-away .match-team-name-row {
  margin-left: auto;
  margin-right: 0;
}

body[data-page="match"].match-detail-readable .match-team-side.is-home .match-team-fav-btn {
  margin-left: 0.1rem;
}

body[data-page="match"].match-detail-readable .match-team-side.is-away .match-team-fav-btn {
  margin-right: 0.1rem;
}

body[data-page="match"].match-detail-readable .match-team-fav-btn,
body[data-page="match"].match-detail-readable .match-league-fav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(226, 232, 240, 0.78);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 4;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

body[data-page="match"].match-detail-readable .match-team-fav-btn span,
body[data-page="match"].match-detail-readable .match-league-fav-btn span {
  font-size: 0.82rem;
  line-height: 1;
}

body[data-page="match"].match-detail-readable .match-team-fav-btn.is-saved,
body[data-page="match"].match-detail-readable .match-team-fav-btn:hover,
body[data-page="match"].match-detail-readable .match-league-fav-btn.is-saved,
body[data-page="match"].match-detail-readable .match-league-fav-btn:hover {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.1);
}

body[data-page="match"].match-detail-readable .match-meta-league {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

body[data-page="match"].match-detail-readable .match-title-tools .mygg-title-star {
  margin-left: 0.35rem;
}

body[data-page="match"].match-detail-readable .match-detail-save-row {
  margin-top: 0.35rem;
}

/* ── Tabs ── */
body[data-page="match"].match-detail-readable #match-detail-chrome {
  position: relative;
  z-index: 1;
}

body[data-page="match"].match-detail-readable .match-tabs-shell {
  position: relative;
  top: auto;
  z-index: auto;
  margin-bottom: 0.55rem;
}

body[data-page="match"].match-detail-readable .match-tabs-row {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 0.35rem;
  padding: 0.4rem;
  margin: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 16, 28, 0.94);
  scrollbar-width: none;
}

body[data-page="match"].match-detail-readable .match-tabs-row::-webkit-scrollbar {
  display: none;
}

body[data-page="match"].match-detail-readable .match-tab-btn {
  flex: 0 0 auto;
  appearance: none;
  padding: 0.5rem 0.85rem;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #9db2c7;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

body[data-page="match"].match-detail-readable .match-tab-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
}

body[data-page="match"].match-detail-readable .match-tab-btn.active {
  color: #fff;
  border-color: var(--gg-brand-primary-border, rgba(53, 224, 194, 0.32));
  background: linear-gradient(180deg, var(--gg-brand-primary-soft, rgba(53, 224, 194, 0.18)), rgba(255, 255, 255, 0.05));
  box-shadow: inset 0 0 0 1px rgba(53, 224, 194, 0.08);
}

/* ── Sjednocené pill výběry (Forma, Tabulka, Přehled…) ── */
body[data-page="match"].match-detail-readable .match-detail-filter-stack {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}

body[data-page="match"].match-detail-readable .match-detail-pill-field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

body[data-page="match"].match-detail-readable .match-detail-pill-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8fa3b8;
}

body[data-page="match"].match-detail-readable .match-detail-pill-group,
body[data-page="match"].match-detail-readable .chip-toggle-group.match-detail-pill-group {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 0.35rem;
  padding: 0.35rem;
  margin: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 16, 28, 0.94);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

body[data-page="match"].match-detail-readable .match-detail-pill-group::-webkit-scrollbar {
  display: none;
}

body[data-page="match"].match-detail-readable .chip-toggle,
body[data-page="match"].match-detail-readable .match-detail-pill-btn {
  flex: 0 0 auto;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #9db2c7;
  font-weight: 700;
  padding: 0.48rem 0.82rem;
  font-size: 0.74rem;
  line-height: 1.1;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

body[data-page="match"].match-detail-readable .chip-toggle:hover,
body[data-page="match"].match-detail-readable .match-detail-pill-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
  transform: none;
}

body[data-page="match"].match-detail-readable .chip-toggle.active,
body[data-page="match"].match-detail-readable .match-detail-pill-btn.active {
  color: #fff;
  border-color: var(--gg-brand-primary-border, rgba(53, 224, 194, 0.32));
  background: linear-gradient(180deg, var(--gg-brand-primary-soft, rgba(53, 224, 194, 0.18)), rgba(255, 255, 255, 0.05));
  box-shadow: inset 0 0 0 1px rgba(53, 224, 194, 0.08);
}

body[data-page="match"].match-detail-readable .match-detail-pill-note,
body[data-page="match"].match-detail-readable .match-form-explorer-note,
body[data-page="match"].match-detail-readable .quick-compare-mode-note {
  font-size: 0.72rem;
  line-height: 1.4;
  color: #8fa3b8;
  margin: 0;
}

body[data-page="match"].match-detail-readable .match-quick-compare-crosslink {
  margin: 0.55rem 0 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #8fa3b8;
}

body[data-page="match"].match-detail-readable .match-detail-inline-link {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: #9fd6b8;
  text-decoration: underline;
  cursor: pointer;
}

body[data-page="match"].match-detail-readable .gg-md-h2h-tab.is-compact-sample .gg-md-team-summary-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body[data-page="match"].match-detail-readable .match-quick-compare-toolbar {
  margin-top: 0.15rem;
}

body[data-page="match"].match-detail-readable .match-tab-panel .match-quick-compare-tools {
  display: none;
}

@media (min-width: 721px) {
  body[data-page="match"].match-detail-readable .match-detail-filter-stack:not(.league-table-toolbar) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  body[data-page="match"].match-detail-readable .match-tab-btn,
  body[data-page="match"].match-detail-readable .chip-toggle,
  body[data-page="match"].match-detail-readable .match-detail-pill-btn {
    padding: 0.52rem 0.9rem;
    font-size: 0.78rem;
  }
}

/* ── Panely ── */
body[data-page="match"].match-detail-readable .match-tab-panels {
  gap: 0.55rem;
}

body[data-page="match"].match-detail-readable .match-tab-panel.is-tab-enter {
  animation: gg-match-tab-enter 0.34s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  will-change: transform, opacity;
}

@keyframes gg-match-tab-enter {
  from {
    opacity: 0;
    transform: translateX(var(--tab-enter-x, 0));
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="match"].match-detail-readable .match-tab-panel.is-tab-enter {
    animation: none;
  }
}

body[data-page="match"].match-detail-readable .match-tab-panel-grid,
body[data-page="match"].match-detail-readable .match-tab-panel-grid.secondary,
body[data-page="match"].match-detail-readable .triple-grid-clean {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

body[data-page="match"].match-detail-readable .match-tab-panel-grid.secondary {
  margin-top: 0;
}

body[data-page="match"].match-detail-readable .match-tab-panel .card-clean,
body[data-page="match"].match-detail-readable .match-tab-panel .prediction-insight-card {
  padding: 0.75rem 0.8rem;
  border-radius: 14px;
}

body[data-page="match"].match-detail-readable .match-tab-panel .section-head-clean {
  margin-bottom: 0.55rem !important;
}

body[data-page="match"].match-detail-readable .match-tab-panel .section-head-clean h2 {
  font-size: 0.92rem !important;
}

body[data-page="match"].match-detail-readable .match-tab-panel .section-head-clean small {
  font-size: 0.72rem !important;
}

body[data-page="match"].match-detail-readable .quick-compare-metric-row {
  padding: 0.65rem 0.7rem;
  border-radius: 12px;
}

body[data-page="match"].match-detail-readable .quick-compare-metric-values {
  grid-template-columns: minmax(4.75rem, auto) 1fr minmax(4.75rem, auto);
  gap: 0.45rem;
  margin-bottom: 0.4rem;
}

body[data-page="match"].match-detail-readable .quick-compare-metric-values strong {
  font-size: 0.84rem;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

body[data-page="match"].match-detail-readable .quick-compare-metric-values span {
  font-size: 0.72rem;
}

body[data-page="match"] .quick-compare-bar.is-missing {
  opacity: 0.22;
  filter: grayscale(0.4);
}

body[data-page="match"].match-detail-readable .match-overview-primary:not(.match-overview-ai-first) [data-role="quick-compare-card"] {
  order: -1;
}

body[data-page="match"].match-detail-readable .match-overview-primary.match-overview-ai-first [data-role="quick-compare-card"] {
  order: 0;
}


/* ── Kompaktní AI analýza ── */
body[data-page="match"].match-detail-readable .prediction-insight-compact {
  display: grid;
  gap: 0.65rem;
  position: relative;
  overflow: hidden;
}

body[data-page="match"].match-detail-readable .prediction-insight-compact-head {
  margin-bottom: 0 !important;
}

body[data-page="match"].match-detail-readable .prediction-insight-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

body[data-page="match"].match-detail-readable .prediction-insight-metric {
  display: grid;
  gap: 0.2rem;
  padding: 0.65rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

body[data-page="match"].match-detail-readable .prediction-insight-metric.is-primary {
  border-color: rgba(212, 175, 55, 0.28);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08), rgba(255, 255, 255, 0.02));
}

body[data-page="match"].match-detail-readable .prediction-insight-metric.is-primary.is-void {
  border-color: rgba(251, 146, 60, 0.32);
  background: linear-gradient(180deg, rgba(251, 146, 60, 0.10), rgba(255, 255, 255, 0.02));
}

body[data-page="match"].match-detail-readable .prediction-insight-metric.is-primary.is-void .prediction-odds-badge.is-official {
  border-color: rgba(251, 146, 60, 0.28);
  background: rgba(251, 146, 60, 0.12);
  color: #fdba74;
}

body[data-page="match"].match-detail-readable .prediction-insight-metric span {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

body[data-page="match"].match-detail-readable .prediction-insight-metric strong {
  font-size: 0.92rem;
  line-height: 1.25;
}

body[data-page="match"].match-detail-readable .prediction-insight-metric small {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.35;
}

body[data-page="match"].match-detail-readable .prediction-insight-story.is-auto,
body[data-page="match"].match-detail-readable .prediction-insight-story.is-support {
  padding: 0.65rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.015);
}

body[data-page="match"].match-detail-readable .prediction-insight-story.is-support strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

body[data-page="match"].match-detail-readable .prediction-insight-reasoning {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.75rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(94, 114, 255, 0.24);
  background: linear-gradient(180deg, rgba(94, 114, 255, 0.12), rgba(8, 16, 28, 0.58));
  box-shadow: inset 0 1px 0 rgba(148, 168, 255, 0.06);
}

body[data-page="match"].match-detail-readable .prediction-insight-reasoning.is-empty {
  border-style: dashed;
  border-color: rgba(94, 114, 255, 0.16);
  background: rgba(94, 114, 255, 0.04);
}

body[data-page="match"].match-detail-readable .prediction-insight-reasoning-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

body[data-page="match"].match-detail-readable .prediction-insight-reasoning-head strong {
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #a8b8ff;
}

body[data-page="match"].match-detail-readable .prediction-insight-reasoning-head span {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.52);
}

body[data-page="match"].match-detail-readable .prediction-insight-reasoning-body {
  display: grid;
  gap: 0.55rem;
}

body[data-page="match"].match-detail-readable .prediction-insight-reasoning-body p,
body[data-page="match"].match-detail-readable .prediction-insight-reasoning-empty {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

body[data-page="match"].match-detail-readable .prediction-insight-reasoning-empty code {
  font-size: 0.78rem;
  color: #dbe6ff;
}

body[data-page="match"].match-detail-readable .prediction-insight-reasoning-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
}

body[data-page="match"].match-detail-readable .prediction-insight-reasoning-list li {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

body[data-page="match"].match-detail-readable .prediction-insight-story {
  padding: 0.65rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.015);
}

body[data-page="match"].match-detail-readable .prediction-insight-story p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

body[data-page="match"].match-detail-readable .prediction-insight-facts {
  margin: 0.55rem 0 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
}

body[data-page="match"].match-detail-readable .prediction-insight-facts li {
  font-size: 0.76rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.68);
}

body[data-page="match"].match-detail-readable .prediction-insight-thin {
  display: grid;
  gap: 0.15rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 180, 80, 0.22);
  background: rgba(255, 180, 80, 0.06);
  font-size: 0.74rem;
}

body[data-page="match"].match-detail-readable .prediction-insight-advanced {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
}

body[data-page="match"].match-detail-readable .prediction-insight-advanced summary {
  cursor: pointer;
  list-style: none;
  padding: 0.65rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

body[data-page="match"].match-detail-readable .prediction-insight-advanced summary::-webkit-details-marker {
  display: none;
}

body[data-page="match"].match-detail-readable .prediction-insight-advanced-body {
  display: grid;
  gap: 0.65rem;
  padding: 0 0.75rem 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-page="match"].match-detail-readable .prediction-analysis-scenario p {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

body[data-page="match"].match-detail-readable .prediction-analysis-context {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

body[data-page="match"].match-detail-readable .prediction-analysis-context article {
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 0.15rem;
}

body[data-page="match"].match-detail-readable .prediction-analysis-context span {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.52);
}

body[data-page="match"].match-detail-readable .prediction-analysis-context strong {
  font-size: 0.8rem;
}

body[data-page="match"].match-detail-readable .prediction-analysis-context small {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
}

body[data-page="match"].match-detail-readable .prediction-analysis-drivers ul {
  margin: 0.35rem 0 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.3rem;
}

body[data-page="match"].match-detail-readable .prediction-analysis-drivers li {
  font-size: 0.76rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
}

body[data-page="match"].match-detail-readable .prediction-analysis-risk p {
  margin: 0.35rem 0 0;
  font-size: 0.76rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.68);
}

body[data-page="match"].match-detail-readable .prediction-confidence-bars {
  display: grid;
  gap: 0.45rem;
}

body[data-page="match"].match-detail-readable .prediction-confidence-bar {
  display: grid;
  gap: 0.3rem;
}

body[data-page="match"].match-detail-readable .prediction-confidence-bar-head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.72rem;
}

body[data-page="match"].match-detail-readable .prediction-confidence-bar-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

body[data-page="match"].match-detail-readable .prediction-confidence-bar-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.85), rgba(212, 175, 55, 0.35));
}

body[data-page="match"].match-detail-readable .prediction-confidence-bar.factor-weak i,
body[data-page="match"].match-detail-readable .prediction-confidence-bar.factor-bad i {
  background: linear-gradient(90deg, rgba(255, 120, 120, 0.85), rgba(255, 120, 120, 0.35));
}

@media (max-width: 980px) {
  body[data-page="match"].match-detail-readable .prediction-insight-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="match"].match-detail-readable .prediction-insight-metric.is-primary {
    grid-column: 1 / -1;
  }

  body[data-page="match"].match-detail-readable .prediction-analysis-context {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body[data-page="match"].match-detail-readable .prediction-analysis-context {
    grid-template-columns: 1fr;
  }
}

/* ── Mobil: detail zápasu = téměř plná šířka (6–8px + safe area), ostatní stránky beze změny ── */
@media (max-width: 760px) {
  body[data-page="match"].match-detail-readable {
    --gg-match-mobile-gutter-l: max(0.4rem, env(safe-area-inset-left, 0px));
    --gg-match-mobile-gutter-r: max(0.4rem, env(safe-area-inset-right, 0px));
  }

  body[data-page="match"].match-detail-readable .site-shell.football-shell {
    width: calc(100% - var(--gg-match-mobile-gutter-l) - var(--gg-match-mobile-gutter-r)) !important;
    max-width: none !important;
    margin-left: var(--gg-match-mobile-gutter-l) !important;
    margin-right: var(--gg-match-mobile-gutter-r) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0)) !important;
    overflow: visible !important;
    min-height: auto !important;
  }

  body[data-page="match"].match-detail-readable .match-detail-hero,
  body[data-page="match"].match-detail-readable .match-tabs-shell,
  body[data-page="match"].match-detail-readable .match-tab-panels {
    width: 100%;
    max-width: none;
  }

  body[data-page="match"].match-detail-readable .match-detail-hero {
    padding: 0.48rem 0.38rem !important;
    border-radius: 10px !important;
    overflow: visible;
    margin-bottom: 0.35rem;
  }

  body[data-page="match"].match-detail-readable #match-hero .match-mobile-scorebar,
  body[data-page="match"].match-detail-readable .match-detail-hero .match-mobile-scorebar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    position: relative !important;
    top: auto !important;
    margin: 0 0 0.3rem !important;
    padding: 0.72rem 0.76rem !important;
  }

  body[data-page="match"].match-detail-readable #match-hero .match-mobile-scorebar .match-teams-matchup,
  body[data-page="match"].match-detail-readable .match-detail-hero .match-mobile-scorebar .match-teams-matchup {
    grid-column: 1 / -1;
    gap: 0.52rem 0.42rem;
  }

  body[data-page="match"].match-detail-readable .match-mobile-scorebar .match-team-side {
    gap: 0.5rem;
  }

  body[data-page="match"].match-detail-readable .match-mobile-scorebar .match-team-side .team-avatar.lg {
    width: clamp(44px, 11.5vw, 54px);
    height: clamp(44px, 11.5vw, 54px);
  }

  body[data-page="match"].match-detail-readable .match-mobile-scorebar .match-team-side strong {
    font-size: clamp(0.96rem, 3.4vw, 1.12rem) !important;
    line-height: 1.15;
  }

  body[data-page="match"].match-detail-readable .match-mobile-scorebar .match-team-center {
    gap: 0.38rem;
    min-width: clamp(4.8rem, 14vw, 7rem);
  }

  body[data-page="match"].match-detail-readable .match-mobile-scorebar .match-team-score {
    font-size: clamp(1.34rem, 4.6vw, 1.78rem);
  }

  body[data-page="match"].match-detail-readable .match-mobile-scorebar .match-team-vs {
    font-size: 0.86rem;
  }

  body[data-page="match"].match-detail-readable .match-mobile-scorebar .match-live-clock {
    font-size: 0.9rem;
    gap: 0.38rem 0.48rem;
  }

  body[data-page="match"].match-detail-readable .match-mobile-scorebar .match-live-clock-time {
    font-size: 1.04rem;
  }

  body[data-page="match"].match-detail-readable .match-mobile-scorebar-meta {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.14rem;
  }

  body[data-page="match"].match-detail-readable .match-mobile-kickoff {
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    max-width: 100%;
    padding: 0.24rem 0.56rem 0.24rem 0.46rem;
    border-radius: 999px;
    border: 1px solid rgba(45, 212, 191, 0.2);
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.12), rgba(8, 15, 26, 0.9));
    box-shadow: none;
  }

  body[data-page="match"].match-detail-readable .match-mobile-kickoff.is-scheduled {
    border-color: rgba(45, 212, 191, 0.28);
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.18), rgba(8, 15, 26, 0.94));
  }

  body[data-page="match"].match-detail-readable .match-mobile-kickoff.is-live {
    border-color: rgba(244, 63, 94, 0.28);
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.14), rgba(8, 15, 26, 0.94));
  }

  body[data-page="match"].match-detail-readable .match-mobile-kickoff.is-finished {
    border-color: rgba(96, 165, 250, 0.24);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(8, 15, 26, 0.94));
  }

  body[data-page="match"].match-detail-readable .match-mobile-kickoff-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.28rem;
    height: 1.28rem;
    border-radius: 999px;
    color: #5eead4;
    background: rgba(45, 212, 191, 0.1);
    flex: 0 0 auto;
  }

  body[data-page="match"].match-detail-readable .match-mobile-kickoff-icon svg {
    width: 12px;
    height: 12px;
  }

  body[data-page="match"].match-detail-readable .match-mobile-kickoff.is-live .match-mobile-kickoff-icon {
    color: #fda4af;
    background: rgba(244, 63, 94, 0.14);
  }

  body[data-page="match"].match-detail-readable .match-mobile-kickoff.is-finished .match-mobile-kickoff-icon {
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.14);
  }

  body[data-page="match"].match-detail-readable .match-mobile-kickoff-main {
    display: inline-flex;
    align-items: baseline;
    gap: 0.28rem;
    min-width: 0;
  }

  body[data-page="match"].match-detail-readable .match-mobile-kickoff-time {
    font-size: 0.94rem;
    font-weight: 800;
    line-height: 1;
    color: #f8fafc;
    letter-spacing: -0.02em;
  }

  body[data-page="match"].match-detail-readable .match-mobile-kickoff-date {
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.1;
    color: #94a3b8;
    white-space: nowrap;
  }

  body[data-page="match"].match-detail-readable .match-mobile-scorebar-meta .match-mobile-goal-alert {
    width: auto;
    margin: 0;
    display: inline-flex;
    flex: 0 0 auto;
  }

  body[data-page="match"].match-detail-readable .match-mobile-scorebar-meta .gg-goal-alert-btn {
    min-height: 34px;
    padding: 0.22rem 0.46rem 0.22rem 0.48rem;
    font-size: 0.72rem;
    gap: 0.3rem;
  }

  body[data-page="match"].match-detail-readable .match-mobile-scorebar-meta .gg-goal-alert-label {
    display: none;
  }

  body[data-page="match"].match-detail-readable .match-mobile-scorebar-meta .gg-goal-alert-icon {
    font-size: 0.92rem;
  }

  body[data-page="match"].match-detail-readable .match-mobile-scorebar-meta .gg-goal-alert-switch {
    width: 2.08rem;
    height: 1.22rem;
  }

  body[data-page="match"].match-detail-readable .match-mobile-scorebar-meta .gg-goal-alert-switch-thumb {
    width: 0.96rem;
    height: 0.96rem;
  }

  body[data-page="match"].match-detail-readable .match-mobile-scorebar-meta .gg-goal-alert-btn.is-active .gg-goal-alert-switch-thumb {
    transform: translateX(0.86rem);
  }

  body[data-page="match"].match-detail-readable .match-mobile-scorebar-meta .status-pill {
    margin: 0;
    font-size: 0.74rem;
    padding: 0.22rem 0.52rem;
  }

  body[data-page="match"].match-detail-readable .match-tabs-shell,
  body[data-page="match"].match-detail-readable .match-tabs-row,
  body[data-page="match"].match-detail-readable .match-mobile-scorebar {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
  }

  body[data-page="match"].match-detail-readable #match-hero .match-mobile-scorebar,
  body[data-page="match"].match-detail-readable #match-tab-panels,
  body[data-page="match"].match-detail-readable .match-tab-panel,
  body[data-page="match"].match-detail-readable .match-tab-panel.active,
  body[data-page="match"].match-detail-readable .gg-md-overview-stack {
    overflow: visible !important;
    max-height: none !important;
    min-height: 0;
  }

  body[data-page="match"].match-detail-readable .prediction-insight-compact,
  body[data-page="match"].match-detail-readable .prediction-insight-card,
  body[data-page="match"].match-detail-readable .gg-md-tip-section,
  body[data-page="match"].match-detail-readable .prediction-insight-reasoning {
    overflow: visible !important;
    max-height: none !important;
  }

  body[data-page="match"].match-detail-readable .prediction-insight-reasoning-body,
  body[data-page="match"].match-detail-readable .prediction-insight-reasoning-list {
    overflow: visible !important;
    max-height: none !important;
  }

  body[data-page="match"].match-detail-readable .match-detail-desktop-only {
    display: none !important;
  }

  body[data-page="match"].match-detail-readable .match-detail-mobile-only {
    display: block;
  }

  body[data-page="match"].match-detail-readable .verdict-tier-chip {
    display: none;
  }

  body[data-page="match"].match-detail-readable .match-overview-secondary {
    display: none;
  }

  body[data-page="match"].match-detail-readable .match-tab-btn {
    padding: 0.46rem 0.65rem;
    font-size: 0.72rem;
  }
}

@media (max-width: 420px) {
  body[data-page="match"].match-detail-readable .gg-md-tip-value {
    font-size: 1.02rem;
  }

  body[data-page="match"].match-detail-readable .gg-md-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  body[data-page="match"].match-detail-readable .gg-md-tip-section .gg-md-section-head {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.4rem;
  }
}

/* ── Forma tab — LiveSport: oba týmy vedle sebe + kompaktní řádky ── */
body[data-page="match"].match-detail-readable .team-form-livesport-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.85rem;
  margin-top: 0.75rem;
}

body[data-page="match"].match-detail-readable .team-form-livesport-card {
  padding: 0.85rem 0.75rem;
  border-radius: 14px;
  min-width: 0;
}

body[data-page="match"].match-detail-readable .team-form-summary-head {
  font-size: 0.88rem;
  margin-bottom: 0.55rem;
  overflow: hidden;
}

body[data-page="match"].match-detail-readable .team-form-summary-head .team-link-with-logo {
  min-width: 0;
  max-width: 100%;
}

body[data-page="match"].match-detail-readable .team-form-inline-stats-compact {
  gap: 0.3rem;
  margin-bottom: 0.4rem;
}

body[data-page="match"].match-detail-readable .team-form-inline-stats-compact span {
  padding: 0.26rem 0.48rem;
  font-size: 0.7rem;
}

body[data-page="match"].match-detail-readable .team-form-strip {
  margin-bottom: 0.45rem;
}

body[data-page="match"].match-detail-readable .team-form-inline-list-compact {
  gap: 0;
}

body[data-page="match"].match-detail-readable .inline-form-match-compact {
  display: grid;
  grid-template-columns: 2.65rem 2.15rem minmax(0, 1fr) 1.15rem;
  gap: 0.18rem 0.3rem;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.42rem 0 0.36rem;
}

body[data-page="match"].match-detail-readable .inline-form-match-compact:first-child {
  border-top: none;
  padding-top: 0;
}

body[data-page="match"].match-detail-readable .inline-form-date {
  font-size: 0.68rem;
  color: #8fa3b8;
  line-height: 1.1;
  white-space: nowrap;
}

body[data-page="match"].match-detail-readable .inline-form-score {
  font-size: 0.76rem;
  font-weight: 800;
  color: #eef2f6;
  white-space: nowrap;
}

body[data-page="match"].match-detail-readable .inline-form-opponent {
  font-size: 0.72rem;
  color: #b8c8dc;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

body[data-page="match"].match-detail-readable .inline-form-badge {
  display: inline-grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
  color: #9dafc4;
}

body[data-page="match"].match-detail-readable .inline-form-match-compact.is-win .inline-form-badge {
  background: rgba(52, 199, 139, 0.18);
  color: #6ee7a8;
}

body[data-page="match"].match-detail-readable .inline-form-match-compact.is-draw .inline-form-badge {
  background: rgba(250, 204, 21, 0.16);
  color: #facc15;
}

body[data-page="match"].match-detail-readable .inline-form-match-compact.is-loss .inline-form-badge {
  background: rgba(251, 113, 133, 0.16);
  color: #fb7185;
}

body[data-page="match"].match-detail-readable .match-form-explorer-note {
  font-size: 0.68rem;
  line-height: 1.35;
  margin-bottom: 0.15rem;
}

@media (max-width: 760px) {
  body[data-page="match"].match-detail-readable .team-form-livesport-grid {
    gap: 0.5rem !important;
  }

  body[data-page="match"].match-detail-readable .team-form-livesport-card {
    padding: 0.62rem 0.48rem;
    border-radius: 12px;
  }

  body[data-page="match"].match-detail-readable .team-form-summary-head {
    font-size: 0.76rem;
    margin-bottom: 0.4rem;
  }

  body[data-page="match"].match-detail-readable .team-form-summary-head .team-avatar.md {
    width: 22px;
    height: 22px;
  }

  body[data-page="match"].match-detail-readable .team-form-inline-stats-compact span {
    padding: 0.18rem 0.32rem;
    font-size: 0.62rem;
    flex: 0 0 auto;
  }

  body[data-page="match"].match-detail-readable .form-dots-compact .form-dot {
    width: 11px;
    height: 11px;
  }

  body[data-page="match"].match-detail-readable .inline-form-match-compact {
    grid-template-columns: 2.35rem 1.95rem minmax(0, 1fr) 1.05rem;
    padding: 0.34rem 0 0.28rem;
  }

  body[data-page="match"].match-detail-readable .inline-form-date {
    font-size: 0.62rem;
  }

  body[data-page="match"].match-detail-readable .inline-form-score {
    font-size: 0.68rem;
  }

  body[data-page="match"].match-detail-readable .inline-form-opponent {
    font-size: 0.64rem;
  }

  body[data-page="match"].match-detail-readable .match-detail-pill-label {
    font-size: 0.62rem;
  }

  body[data-page="match"].match-detail-readable .match-tab-btn,
  body[data-page="match"].match-detail-readable .chip-toggle,
  body[data-page="match"].match-detail-readable .match-detail-pill-btn {
    padding: 0.44rem 0.72rem;
    font-size: 0.7rem;
  }
}

/* ── H2H — tabulka výsledků (původní layout, přehlednější tabulka) ── */
body[data-page="match"].match-detail-readable .h2h-card-extended {
  padding: 0.85rem 0.9rem !important;
}

body[data-page="match"].match-detail-readable .h2h-context-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.55rem;
}

body[data-page="match"].match-detail-readable .h2h-context-head strong {
  font-size: 0.82rem;
  color: #eef2f6;
}

body[data-page="match"].match-detail-readable .h2h-context-head span {
  font-size: 0.64rem;
  color: #8fa3b8;
}

body[data-page="match"].match-detail-readable .h2h-home-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.1rem 0.32rem;
  border-radius: 999px;
  font-size: 0.52rem;
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #86efac;
  border: 1px solid rgba(134, 239, 172, 0.28);
  background: rgba(134, 239, 172, 0.1);
  flex-shrink: 0;
}

body[data-page="match"].match-detail-readable .h2h-insight-rich {
  margin-top: 0.75rem;
  padding: 0.7rem 0.75rem;
}

body[data-page="match"].match-detail-readable .h2h-insight-lead {
  margin: 0 0 0.55rem;
  font-size: 0.76rem;
  line-height: 1.45;
  color: #d7e2ee;
}

body[data-page="match"].match-detail-readable .h2h-insight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

body[data-page="match"].match-detail-readable .h2h-insight-stat {
  display: grid;
  gap: 0.12rem;
  padding: 0.42rem 0.45rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}

body[data-page="match"].match-detail-readable .h2h-insight-stat small {
  font-size: 0.58rem;
  color: #8fa3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body[data-page="match"].match-detail-readable .h2h-insight-stat strong {
  font-size: 0.82rem;
  color: #f3f7fb;
}

body[data-page="match"].match-detail-readable .h2h-insight-venue {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.5;
  color: #8fa3b8;
}

body[data-page="match"].match-detail-readable .h2h-insight-venue strong {
  color: #eef2f6;
}

body[data-page="match"].match-detail-readable .h2h-insight-sep {
  margin: 0 0.25rem;
  opacity: 0.55;
}

/* kompaktní split karty (doma/venku) — jen menší, stejná struktura */
body[data-page="match"].match-detail-readable .h2h-split-grid {
  gap: 0.45rem;
  margin-top: 0.65rem;
}

body[data-page="match"].match-detail-readable .h2h-split-card {
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
}

body[data-page="match"].match-detail-readable .h2h-split-head strong {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

body[data-page="match"].match-detail-readable .h2h-split-head span {
  font-size: 0.62rem;
  flex-shrink: 0;
}

body[data-page="match"].match-detail-readable .h2h-split-main {
  gap: 0.45rem;
  margin-top: 0.4rem;
}

body[data-page="match"].match-detail-readable .h2h-split-main small {
  font-size: 0.58rem;
  letter-spacing: 0.04em;
}

body[data-page="match"].match-detail-readable .h2h-split-main strong {
  font-size: 0.82rem;
  font-weight: 800;
}

body[data-page="match"].match-detail-readable .h2h-split-meta {
  gap: 0.55rem;
  margin-top: 0.38rem;
  font-size: 0.64rem;
}

body[data-page="match"].match-detail-readable .h2h-split-meta strong {
  font-size: 0.72rem;
}

body[data-page="match"].match-detail-readable .h2h-results-table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

body[data-page="match"].match-detail-readable .h2h-results-table {
  width: 100%;
  margin: 0;
}

body[data-page="match"].match-detail-readable .h2h-results-table th {
  font-size: 0.62rem;
  padding: 0.45rem 0.55rem;
  white-space: nowrap;
}

body[data-page="match"].match-detail-readable .h2h-table-hint {
  font-weight: 400;
  color: #64748b;
  text-transform: none;
  letter-spacing: 0;
}

body[data-page="match"].match-detail-readable .h2h-results-table td {
  padding: 0.5rem 0.55rem;
  vertical-align: middle;
  font-size: 0.74rem;
}

body[data-page="match"].match-detail-readable .h2h-results-date {
  width: 3.2rem;
  font-size: 0.68rem;
  color: #8fa3b8;
  white-space: nowrap;
}

body[data-page="match"].match-detail-readable .h2h-results-fixture {
  min-width: 0;
}

body[data-page="match"].match-detail-readable .h2h-results-match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.35rem;
}

body[data-page="match"].match-detail-readable .h2h-results-team {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-width: 0;
  font-size: 0.72rem;
  color: #94a3b8;
  overflow: hidden;
}

body[data-page="match"].match-detail-readable .h2h-results-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-page="match"].match-detail-readable .h2h-results-team.is-home-side {
  justify-content: flex-end;
  padding: 0.18rem 0.32rem;
  border-radius: 8px;
  border: 1px solid rgba(134, 239, 172, 0.18);
  background: rgba(134, 239, 172, 0.06);
  color: #c8f0d8;
}

body[data-page="match"].match-detail-readable .h2h-results-team.is-away-side {
  justify-content: flex-start;
  color: #b8c8dc;
}

body[data-page="match"].match-detail-readable .h2h-results-team.is-current-team .h2h-results-name {
  color: #eef2f6;
  font-weight: 700;
}

body[data-page="match"].match-detail-readable .h2h-results-team.is-home-side.is-current-team {
  border-color: rgba(134, 239, 172, 0.35);
  background: rgba(134, 239, 172, 0.12);
}

body[data-page="match"].match-detail-readable .h2h-results-score {
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

body[data-page="match"].match-detail-readable .h2h-results-result {
  width: 2.6rem;
  text-align: center;
}

body[data-page="match"].match-detail-readable .h2h-results-result .result-chip {
  font-size: 0.62rem;
  padding: 0.18rem 0.38rem;
}

body[data-page="match"].match-detail-readable .h2h-results-flag {
  width: 3.4rem;
  text-align: center;
}

body[data-page="match"].match-detail-readable .h2h-flag-chip {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0.16rem 0.34rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #8fa3b8;
}

body[data-page="match"].match-detail-readable .h2h-flag-chip.is-yes {
  color: #86efac;
  border-color: rgba(134, 239, 172, 0.25);
  background: rgba(134, 239, 172, 0.08);
}

body[data-page="match"].match-detail-readable .h2h-flag-chip.is-no {
  color: #64748b;
}

@media (max-width: 760px) {
  body[data-page="match"].match-detail-readable .h2h-card-extended {
    padding: 0.65rem 0.55rem !important;
  }

  body[data-page="match"].match-detail-readable .h2h-insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="match"].match-detail-readable .h2h-split-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
  }

  body[data-page="match"].match-detail-readable .h2h-split-card {
    padding: 0.45rem 0.5rem;
  }

  body[data-page="match"].match-detail-readable .h2h-split-head strong {
    font-size: 0.68rem;
  }

  body[data-page="match"].match-detail-readable .h2h-split-main strong {
    font-size: 0.76rem;
  }

  body[data-page="match"].match-detail-readable .h2h-results-team {
    font-size: 0.64rem;
  }

  body[data-page="match"].match-detail-readable .h2h-results-score {
    font-size: 0.72rem;
  }
}

/* ── Lineups pitch ── */
body[data-page="match"].match-detail-readable .lineup-board-card {
  padding: 0.55rem 0.6rem 0.7rem;
  background: transparent;
  border: none;
  box-shadow: none;
}

body[data-page="match"].match-detail-readable .lineup-pitch-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  padding: 0 0.15rem;
}

body[data-page="match"].match-detail-readable .lineup-toolbar-side {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

body[data-page="match"].match-detail-readable .lineup-toolbar-side--home {
  justify-content: flex-start;
}

body[data-page="match"].match-detail-readable .lineup-toolbar-side--away {
  justify-content: flex-end;
  text-align: right;
}

body[data-page="match"].match-detail-readable .lineup-toolbar-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 18px;
  display: none;
}

body[data-page="match"].match-detail-readable .lineup-toolbar-team {
  display: none;
  min-width: 0;
  font-size: 0.72rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-page="match"].match-detail-readable .lineup-toolbar-formation {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.82);
}

body[data-page="match"].match-detail-readable .lineup-toolbar-formation--away {
  text-align: right;
}

body[data-page="match"].match-detail-readable .lineup-toolbar-title {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  text-align: center;
}

body[data-page="match"].match-detail-readable .lineup-pitch--livesport {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.24)) 50% 0 / 2px 100% no-repeat,
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02) 0 8.33%,
      rgba(0, 0, 0, 0.05) 8.33% 16.66%
    ),
    linear-gradient(180deg, #2a3836 0%, #222e2d 46%, #1a2423 100%);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 0 70px rgba(0, 0, 0, 0.32);
}

body[data-page="match"].match-detail-readable .lineup-pitch--livesport::before {
  border-color: rgba(255, 255, 255, 0.3);
  border-width: 2px;
}

body[data-page="match"].match-detail-readable .lineup-pitch--livesport::after {
  display: none;
  content: none;
  background: none;
}

body[data-page="match"].match-detail-readable .lineup-pitch-markings {
  position: absolute;
  inset: 14px;
  z-index: 1;
  pointer-events: none;
}

body[data-page="match"].match-detail-readable .lineup-pitch-center-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

body[data-page="match"].match-detail-readable .lineup-pitch-center-spot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.46);
}

body[data-page="match"].match-detail-readable .lineup-pitch-markings--horizontal .lineup-pitch-penalty--left,
body[data-page="match"].match-detail-readable .lineup-pitch-markings--horizontal .lineup-pitch-penalty--right {
  position: absolute;
  top: 50%;
  width: 17.5%;
  height: 58%;
  transform: translateY(-50%);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

body[data-page="match"].match-detail-readable .lineup-pitch-markings--horizontal .lineup-pitch-penalty--left {
  left: 0;
  border-left: none;
}

body[data-page="match"].match-detail-readable .lineup-pitch-markings--horizontal .lineup-pitch-penalty--right {
  right: 0;
  border-right: none;
}

body[data-page="match"].match-detail-readable .lineup-pitch-markings--horizontal .lineup-pitch-goal-area--left,
body[data-page="match"].match-detail-readable .lineup-pitch-markings--horizontal .lineup-pitch-goal-area--right {
  position: absolute;
  top: 50%;
  width: 6.5%;
  height: 26%;
  transform: translateY(-50%);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

body[data-page="match"].match-detail-readable .lineup-pitch-markings--horizontal .lineup-pitch-goal-area--left {
  left: 0;
  border-left: none;
}

body[data-page="match"].match-detail-readable .lineup-pitch-markings--horizontal .lineup-pitch-goal-area--right {
  right: 0;
  border-right: none;
}

body[data-page="match"].match-detail-readable .lineup-pitch-markings--vertical .lineup-pitch-penalty--top,
body[data-page="match"].match-detail-readable .lineup-pitch-markings--vertical .lineup-pitch-penalty--bottom {
  position: absolute;
  left: 50%;
  width: 58%;
  height: 17.5%;
  transform: translateX(-50%);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

body[data-page="match"].match-detail-readable .lineup-pitch-markings--vertical .lineup-pitch-penalty--top {
  top: 0;
  border-top: none;
}

body[data-page="match"].match-detail-readable .lineup-pitch-markings--vertical .lineup-pitch-penalty--bottom {
  bottom: 0;
  border-bottom: none;
}

body[data-page="match"].match-detail-readable .lineup-pitch-markings--vertical .lineup-pitch-goal-area--top,
body[data-page="match"].match-detail-readable .lineup-pitch-markings--vertical .lineup-pitch-goal-area--bottom {
  position: absolute;
  left: 50%;
  width: 26%;
  height: 6.5%;
  transform: translateX(-50%);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

body[data-page="match"].match-detail-readable .lineup-pitch-markings--vertical .lineup-pitch-goal-area--top {
  top: 0;
  border-top: none;
}

body[data-page="match"].match-detail-readable .lineup-pitch-markings--vertical .lineup-pitch-goal-area--bottom {
  bottom: 0;
  border-bottom: none;
}

body[data-page="match"].match-detail-readable .lineup-pitch-half-label {
  z-index: 1;
  background: rgba(0, 0, 0, 0.38);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
}

body[data-page="match"].match-detail-readable .lineup-pitch--vertical .lineup-pitch-half-label,
body[data-page="match"].match-detail-readable .lineup-pitch-wrap--mobile .lineup-pitch-half-label {
  display: none !important;
}

body[data-page="match"].match-detail-readable .lineup-player-avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  overflow: hidden;
  border: 2.5px solid rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.34);
}

body[data-page="match"].match-detail-readable .lineup-player-avatar--pitch {
  width: 64px;
  height: 64px;
}

body[data-page="match"].match-detail-readable .lineup-player-avatar--no-badge em {
  display: none;
}

body[data-page="match"].match-detail-readable .lineup-player-avatar em,
body[data-page="match"].match-detail-readable .lineup-player-avatar b {
  position: absolute;
  right: -3px;
  bottom: -3px;
  min-width: 22px;
  height: 22px;
  padding: 0 0.28rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: rgba(8, 18, 34, 0.96);
  border: 1.5px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

body[data-page="match"].match-detail-readable .lineup-node-visual,
body[data-page="match"].match-detail-readable .lineup-bench-player-visual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  max-width: 100%;
  flex: 0 0 auto;
}

body[data-page="match"].match-detail-readable .lineup-pitch--vertical .lineup-node-visual {
  position: relative;
  display: inline-block;
  width: max-content;
  max-width: none;
}

body[data-page="match"].match-detail-readable .lineup-pitch--vertical .lineup-player-face {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body[data-page="match"].match-detail-readable .lineup-pitch--vertical .lineup-player-rating-slot--overlay {
  position: absolute;
  right: -0.42rem;
  top: -0.38rem;
  left: auto;
  z-index: 3;
  pointer-events: none;
}

body[data-page="match"].match-detail-readable .lineup-pitch--vertical .lineup-player-rating--pitch {
  position: static;
  left: auto;
  top: auto;
  transform: none;
  min-width: 1.28rem;
  height: 1.05rem;
  padding: 0 0.18rem;
  font-size: 0.54rem;
  border-radius: 5px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

body[data-page="match"].match-detail-readable .lineup-pitch--vertical .lineup-player-main {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
}

body[data-page="match"].match-detail-readable .lineup-pitch--vertical .lineup-player-events {
  position: static;
  left: auto;
  top: auto;
  right: auto;
  transform: none;
  z-index: 2;
  gap: 0.06rem;
}

body[data-page="match"].match-detail-readable .lineup-player-core {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

body[data-page="match"].match-detail-readable .lineup-player-core--bench {
  gap: 0.18rem;
}

body[data-page="match"].match-detail-readable .lineup-player-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
}

body[data-page="match"].match-detail-readable .lineup-player-stack {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
}

body[data-page="match"].match-detail-readable .lineup-player-face,
body[data-page="match"].match-detail-readable .lineup-player-rating-slot {
  flex: 0 0 auto;
}

body[data-page="match"].match-detail-readable .lineup-player-rating {
  position: static;
  flex: 0 0 auto;
  min-width: 1.75rem;
  height: 1.45rem;
  padding: 0 0.28rem;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
}

body[data-page="match"].match-detail-readable .lineup-player-rating--pitch {
  min-width: 1.62rem;
  height: 1.32rem;
  font-size: 0.64rem;
  border-radius: 6px;
}

body[data-page="match"].match-detail-readable .lineup-player-events {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  flex: 0 0 auto;
}

body[data-page="match"].match-detail-readable .lineup-player-event {
  position: relative;
  width: 1.24rem;
  height: 1.24rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(8, 14, 24, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.32);
  pointer-events: none;
  overflow: hidden;
  flex: 0 0 auto;
}

body[data-page="match"].match-detail-readable .lineup-player-event-icon {
  width: 1.06rem;
  height: 1.06rem;
  display: block;
  flex: 0 0 auto;
}

body[data-page="match"].match-detail-readable .lineup-player-event--goal {
  background: transparent;
  border: none;
  box-shadow: none;
  width: 1.55rem;
  height: 1.55rem;
  padding: 0;
  overflow: visible;
  transform: none;
}

body[data-page="match"].match-detail-readable .lineup-player-event-group {
  display: inline-flex;
  align-items: center;
  gap: 0.14rem;
  flex: 0 0 auto;
  pointer-events: none;
}

body[data-page="match"].match-detail-readable .lineup-player-event-group--goal {
  transform: none;
}

body[data-page="match"].match-detail-readable .lineup-player-event-group--goal .lineup-player-event--goal {
  transform: none;
}

body[data-page="match"].match-detail-readable .lineup-player-event-icon--ball {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 999px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

body[data-page="match"].match-detail-readable .lineup-player-event-group .lineup-player-event-count {
  flex: 0 0 auto;
  min-width: 0;
  padding: 0;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

/* Goal/assist count badge in the top-right corner of the icon. */
body[data-page="match"].match-detail-readable .lineup-player-event--goal > .lineup-player-event-count,
body[data-page="match"].match-detail-readable .lineup-player-event--assist > .lineup-player-event-count {
  position: absolute;
  top: -0.42rem;
  right: -0.28rem;
  z-index: 2;
  min-width: 0.95rem;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.03em;
  text-align: center;
  text-shadow:
    0 0 2px rgba(0, 0, 0, 0.95),
    0 1px 3px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}

body[data-page="match"].match-detail-readable .lineup-player-event--assist > .lineup-player-event-count {
  color: #bbf7d0;
  top: -0.38rem;
  right: -0.22rem;
  font-size: 0.88rem;
}

body[data-page="match"].match-detail-readable .lineup-player-event-group--assist .lineup-player-event-count {
  color: #bbf7d0;
}

body[data-page="match"].match-detail-readable .lineup-player-event--assist {
  width: 1.55rem;
  height: 1.55rem;
  color: #86efac;
  background: rgba(8, 24, 16, 0.98);
  border: 1px solid rgba(72, 187, 120, 0.42);
  border-radius: 8px;
  overflow: visible;
  transform: none;
}

body[data-page="match"].match-detail-readable .lineup-player-event--assist .lineup-player-event-icon {
  width: 1.05rem;
  height: 1.05rem;
}

body[data-page="match"].match-detail-readable .lineup-player-event--yellow,
body[data-page="match"].match-detail-readable .lineup-player-event--red {
  width: 0.92rem;
  height: 1.12rem;
  padding: 0;
  border: none;
  border-radius: 3px;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

body[data-page="match"].match-detail-readable .lineup-player-event-card {
  display: block;
  width: 0.58rem;
  height: 0.78rem;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform: rotate(-12deg);
}

body[data-page="match"].match-detail-readable .lineup-player-event-card--yellow {
  background: linear-gradient(180deg, #fde047 0%, #eab308 100%);
  border-color: rgba(253, 224, 71, 0.85);
}

body[data-page="match"].match-detail-readable .lineup-player-event-card--red {
  background: linear-gradient(180deg, #f87171 0%, #dc2626 100%);
  border-color: rgba(248, 113, 113, 0.9);
}

body[data-page="match"].match-detail-readable .lineup-player-event--bench.lineup-player-event--yellow,
body[data-page="match"].match-detail-readable .lineup-player-event--bench.lineup-player-event--red {
  width: 0.82rem;
  height: 1rem;
}

body[data-page="match"].match-detail-readable .lineup-player-event--bench .lineup-player-event-card {
  width: 0.5rem;
  height: 0.68rem;
}

body[data-page="match"].match-detail-readable .lineup-player-event--bench.lineup-player-event--goal {
  width: 1.28rem;
  height: 1.28rem;
}

body[data-page="match"].match-detail-readable .lineup-player-event--bench {
  width: 1.1rem;
  height: 1.1rem;
}

body[data-page="match"].match-detail-readable .lineup-player-event--bench .lineup-player-event-icon {
  width: 0.94rem;
  height: 0.94rem;
}

body[data-page="match"].match-detail-readable .lineup-player-event--bench .lineup-player-event-icon--ball {
  width: 100%;
  height: 100%;
}

body[data-page="match"].match-detail-readable .lineup-player-event--bench .lineup-player-event-count {
  min-width: 0.64rem;
  height: 0.64rem;
  font-size: 0.44rem;
  top: -0.16rem;
  right: -0.18rem;
}

body[data-page="match"].match-detail-readable .lineup-player-rating--bench {
  min-width: 1.55rem;
  height: 1.28rem;
  font-size: 0.62rem;
}

body[data-page="match"].match-detail-readable .lineup-player-rating--high {
  background: linear-gradient(180deg, #2ecc71 0%, #1f9d55 100%);
}

body[data-page="match"].match-detail-readable .lineup-player-rating--mid {
  background: linear-gradient(180deg, #f1c40f 0%, #d4a017 100%);
  color: #1a1400;
}

body[data-page="match"].match-detail-readable .lineup-player-rating--low {
  background: linear-gradient(180deg, #e67e22 0%, #c0392b 100%);
}

body[data-page="match"].match-detail-readable .lineup-player-rating--table {
  position: static;
  min-width: 2.35rem;
  height: 1.55rem;
  font-size: 0.72rem;
  box-shadow: none;
}

body[data-page="match"].match-detail-readable .lineup-stats-board {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 16, 28, 0.72);
  overflow: hidden;
}

body[data-page="match"].match-detail-readable .lineup-stats-board-title {
  margin: 0;
  padding: 0.85rem 1rem 0.65rem;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

body[data-page="match"].match-detail-readable .lineup-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0 0.55rem 0.75rem;
}

body[data-page="match"].match-detail-readable .lineup-stats-team {
  min-width: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

body[data-page="match"].match-detail-readable .lineup-stats-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

body[data-page="match"].match-detail-readable .lineup-stats-table {
  min-width: 34rem;
}

body[data-page="match"].match-detail-readable .lineup-stats-team-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-page="match"].match-detail-readable .lineup-stats-team-head img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

body[data-page="match"].match-detail-readable .lineup-stats-head,
body[data-page="match"].match-detail-readable .lineup-stats-row {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1.6fr) 2.5rem repeat(7, minmax(1.6rem, 1fr));
  gap: 0.25rem;
  align-items: center;
  padding: 0.42rem 0.65rem;
  font-size: 0.72rem;
}

body[data-page="match"].match-detail-readable .lineup-stats-head {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body[data-page="match"].match-detail-readable .lineup-stats-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

body[data-page="match"].match-detail-readable .lineup-stats-row:last-child {
  border-bottom: none;
}

body[data-page="match"].match-detail-readable .lineup-stats-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

body[data-page="match"].match-detail-readable .lineup-stats-num {
  font-weight: 800;
  opacity: 0.85;
}

body[data-page="match"].match-detail-readable .lineup-stats-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

body[data-page="match"].match-detail-readable .lineup-stats-name small {
  margin-left: 0.35rem;
  opacity: 0.55;
  font-weight: 600;
}

body[data-page="match"].match-detail-readable .lineup-stats-rating,
body[data-page="match"].match-detail-readable .lineup-stats-value,
body[data-page="match"].match-detail-readable .lineup-stats-head > span:not(.lineup-stats-name):not(.lineup-stats-num):not(.lineup-stats-rating) {
  text-align: center;
}

body[data-page="match"].match-detail-readable .lineup-stats-value {
  font-variant-numeric: tabular-nums;
}

body[data-page="match"].match-detail-readable .lineup-player-avatar--bench {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

body[data-page="match"].match-detail-readable .match-tab-panel-grid.lineups-grid-ready {
  display: flex !important;
  flex-direction: column;
  width: 100%;
  max-width: none;
  gap: 0.55rem;
}

body[data-page="match"].match-detail-readable .lineups-grid-ready {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
  max-width: none;
}

body[data-page="match"].match-detail-readable .lineup-board-card,
body[data-page="match"].match-detail-readable .lineup-bench-grid {
  width: 100%;
  max-width: none;
  min-width: 0;
  align-self: stretch;
}

body[data-page="match"].match-detail-readable .lineup-pitch-wrap {
  margin: 0 -0.15rem;
}

body[data-page="match"].match-detail-readable .lineup-pitch {
  width: 100%;
  min-width: 340px;
  min-height: 0;
  max-height: none;
  aspect-ratio: 16 / 11;
}

body[data-page="match"].match-detail-readable .lineup-player-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body[data-page="match"].match-detail-readable .lineup-player-avatar.is-fallback b {
  position: static;
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.95rem;
  box-shadow: none;
}

  body[data-page="match"].match-detail-readable .lineup-node {
    max-width: 108px;
    gap: 0.38rem;
    align-items: center;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch--vertical .lineup-node {
    max-width: 76px;
    gap: 0.18rem;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch--vertical .lineup-node-name {
    max-width: 72px;
    padding: 0.08rem 0.18rem 0.1rem;
    font-size: 0.58rem;
    line-height: 1.15;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch--vertical .lineup-node-name b {
    font-size: 0.6rem;
  }

body[data-page="match"].match-detail-readable .lineup-node-name {
  max-width: 104px;
  padding: 0.14rem 0.28rem 0.18rem;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  color: rgba(255, 255, 255, 0.98);
  background: rgba(0, 0, 0, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-page="match"].match-detail-readable .lineup-node-name b {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  margin-right: 0.12rem;
}

body[data-page="match"].match-detail-readable .lineup-bench-board {
  margin-top: 0.55rem;
  padding: 0;
  width: 100%;
  max-width: none;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

body[data-page="match"].match-detail-readable .lineup-bench-board-title {
  margin: 0;
  padding: 0.65rem 1rem 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.52);
}

body[data-page="match"].match-detail-readable .lineup-bench-teambar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  margin: 0;
  padding: 0.58rem 1.1rem;
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
}

body[data-page="match"].match-detail-readable .lineup-bench-teambar-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
  text-align: center;
  white-space: nowrap;
}

body[data-page="match"].match-detail-readable .lineup-bench-teambar-side {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  font-size: 0.84rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
}

body[data-page="match"].match-detail-readable .lineup-bench-teambar-side img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 22px;
}

body[data-page="match"].match-detail-readable .lineup-bench-teambar-side--home {
  justify-content: flex-start;
}

body[data-page="match"].match-detail-readable .lineup-bench-teambar-side--away {
  justify-content: flex-end;
  text-align: right;
}

body[data-page="match"].match-detail-readable .lineup-bench-paired {
  display: flex;
  flex-direction: column;
  width: 100%;
}

body[data-page="match"].match-detail-readable .lineup-bench-board-title {
  display: none;
}

body[data-page="match"].match-detail-readable .lineup-bench-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: center;
  width: 100%;
  min-height: 3.05rem;
  padding: 0.32rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

body[data-page="match"].match-detail-readable .lineup-bench-row::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 14%;
  bottom: 14%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(-50%);
  pointer-events: none;
}

body[data-page="match"].match-detail-readable .lineup-bench-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

body[data-page="match"].match-detail-readable .lineup-bench-row:last-child {
  border-bottom: 0;
}

body[data-page="match"].match-detail-readable .lineup-bench-cell {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  min-width: 0;
  padding: 0 0.35rem;
}

body[data-page="match"].match-detail-readable .lineup-bench-cell--home {
  justify-content: flex-start;
}

body[data-page="match"].match-detail-readable .lineup-bench-cell--away {
  justify-content: flex-end;
  text-align: right;
}

body[data-page="match"].match-detail-readable .lineup-bench-cell.is-empty {
  min-height: 3rem;
}

body[data-page="match"].match-detail-readable .lineup-bench-num {
  flex: 0 0 1.65rem;
  min-width: 1.65rem;
  font-size: 0.96rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

body[data-page="match"].match-detail-readable .lineup-bench-name {
  min-width: 0;
  flex: 1 1 auto;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-page="match"].match-detail-readable .lineup-bench-club-logo {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  object-fit: contain;
  opacity: 0.92;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.28));
}

body[data-page="match"].match-detail-readable .lineup-bench-team-logo {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
  opacity: 0.92;
}

body[data-page="match"].match-detail-readable .lineup-footnote,
body[data-page="match"].match-detail-readable .lineup-wait-card--solo,
body[data-page="match"].match-detail-readable .lineup-bench-board {
  grid-column: 1 / -1;
}

body[data-page="match"].match-detail-readable .lineup-node-label {
  max-width: 88px;
  padding: 0.22rem 0.32rem;
}

body[data-page="match"].match-detail-readable .lineup-node-label strong {
  font-size: 0.62rem;
  line-height: 1.15;
}

body[data-page="match"].match-detail-readable .lineup-node-pos {
  font-size: 0.52rem;
}

body[data-page="match"].match-detail-readable .lineup-node-number {
  width: 30px;
  height: 30px;
  font-size: 0.74rem;
}

body[data-page="match"].match-detail-readable .lineup-pitch-wrap--mobile {
  display: none;
}

body[data-page="match"].match-detail-readable .lineup-pitch--vertical {
  aspect-ratio: 10 / 16;
  min-width: 0;
  min-height: 0;
}

body[data-page="match"].match-detail-readable .lineup-pitch--vertical.lineup-pitch--livesport {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.24)) 0 50% / 100% 2px no-repeat,
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02) 0 8.33%,
      rgba(0, 0, 0, 0.05) 8.33% 16.66%
    ),
    linear-gradient(180deg, #2a3836 0%, #222e2d 46%, #1a2423 100%);
}

body[data-page="match"].match-detail-readable .lineup-pitch--vertical::after {
  display: none;
  content: none;
  background: none;
}

body[data-page="match"].match-detail-readable .lineup-pitch--vertical .lineup-node {
  z-index: 3;
}

body[data-page="match"].match-detail-readable .lineup-pitch--vertical .lineup-node--keeper {
  z-index: 8;
}

body[data-page="match"].match-detail-readable .lineup-pitch-split--mobile {
  display: none;
}

body[data-page="match"].match-detail-readable .lineup-solo-head {
  margin-bottom: 0.15rem;
}

body[data-page="match"].match-detail-readable .lineup-solo-head h3 {
  font-size: 0.86rem;
}

body[data-page="match"].match-detail-readable .lineup-solo-head small {
  font-size: 0.68rem;
}

@media (max-width: 760px) {
  body[data-page="match"].match-detail-readable .lineup-pitch-half-label,
  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop {
    display: none !important;
  }

  body[data-page="match"].match-detail-readable .lineup-toolbar-logo,
  body[data-page="match"].match-detail-readable .lineup-toolbar-team {
    display: none !important;
  }

  body[data-page="match"].match-detail-readable .lineup-toolbar-side {
    gap: 0.2rem;
    justify-content: center;
  }

  body[data-page="match"].match-detail-readable .lineup-toolbar-formation {
    font-size: 0.74rem;
    letter-spacing: 0.06em;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch-toolbar {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0.35rem;
    margin-bottom: 0.35rem;
  }

  body[data-page="match"].match-detail-readable .lineup-board-head--desktop,
  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop {
    display: none !important;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--mobile {
    display: block;
    margin: 0;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch {
    min-width: 0;
    width: 100%;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch--vertical {
    min-height: 0;
    height: min(73vh, 700px);
    max-height: 740px;
    border-radius: 18px;
    aspect-ratio: auto;
    overflow: hidden;
    padding: 0.4rem 0.2rem 0.65rem;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch--vertical .lineup-node {
    transform: translate(-50%, -48%);
    gap: 0.12rem;
    overflow: visible;
    max-width: 88px;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch--vertical .lineup-node-name {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    max-width: 86px;
    width: 100%;
    padding: 0.12rem 0.22rem 0.14rem;
    font-size: 0.64rem;
    font-weight: 800;
    line-height: 1.12;
    z-index: 4;
    background: rgba(0, 0, 0, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  body[data-page="match"].match-detail-readable .lineup-pitch--vertical .lineup-node-name b {
    font-size: 0.66rem;
  }

  body[data-page="match"].match-detail-readable .lineup-player-avatar--pitch {
    width: 42px;
    height: 42px;
    border-width: 2px;
  }

  body[data-page="match"].match-detail-readable .lineup-node {
    max-width: 88px;
    gap: 0.14rem;
  }

  body[data-page="match"].match-detail-readable .lineup-node-visual {
    gap: 0;
  }

  body[data-page="match"].match-detail-readable .lineup-player-main {
    gap: 0.1rem;
  }

  body[data-page="match"].match-detail-readable .lineup-player-stack {
    gap: 0.08rem;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch--vertical .lineup-player-rating--pitch {
    min-width: 1.35rem;
    height: 1.05rem;
    font-size: 0.56rem;
    padding: 0 0.16rem;
    border-radius: 5px;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch--vertical .lineup-player-rating-slot--overlay {
    right: -0.48rem;
    top: -0.42rem;
  }

  body[data-page="match"].match-detail-readable .lineup-player-event {
    width: 1rem;
    height: 1rem;
  }

  body[data-page="match"].match-detail-readable .lineup-player-event--goal {
    width: 1.28rem;
    height: 1.28rem;
    transform: none;
  }

  body[data-page="match"].match-detail-readable .lineup-player-event-group--goal {
    transform: none;
  }

  body[data-page="match"].match-detail-readable .lineup-player-event--goal > .lineup-player-event-count,
  body[data-page="match"].match-detail-readable .lineup-player-event--assist > .lineup-player-event-count {
    top: -0.32rem;
    right: -0.2rem;
    font-size: 0.72rem;
  }

  body[data-page="match"].match-detail-readable .lineup-player-event--assist {
    width: 1.28rem;
    height: 1.28rem;
    border-radius: 6px;
    transform: none;
  }

  body[data-page="match"].match-detail-readable .lineup-player-event--assist .lineup-player-event-icon {
    width: 0.88rem;
    height: 0.88rem;
  }

  body[data-page="match"].match-detail-readable .lineup-player-event-group .lineup-player-event-count {
    font-size: 0.95rem;
  }

  body[data-page="match"].match-detail-readable .lineup-player-event--yellow,
  body[data-page="match"].match-detail-readable .lineup-player-event--red {
    width: 0.82rem;
    height: 1rem;
  }

  body[data-page="match"].match-detail-readable .lineup-player-event-card {
    width: 0.5rem;
    height: 0.68rem;
  }

  body[data-page="match"].match-detail-readable .lineup-player-event-icon {
    width: 0.94rem;
    height: 0.94rem;
  }

  body[data-page="match"].match-detail-readable .lineup-player-event-icon--ball {
    width: 100%;
    height: 100%;
  }

  body[data-page="match"].match-detail-readable .lineup-node-name {
    max-width: 64px;
    padding: 0.08rem 0.16rem 0.1rem;
    font-size: 0.56rem;
    border-radius: 6px;
  }

  body[data-page="match"].match-detail-readable .lineup-node-name b {
    font-size: 0.66rem;
  }

  body[data-page="match"].match-detail-readable .lineup-toolbar-title {
    font-size: 0.58rem;
  }

  body[data-page="match"].match-detail-readable .lineup-toolbar-formation {
    font-size: 0.72rem;
  }

  body[data-page="match"].match-detail-readable .lineup-bench-row {
    gap: 0.55rem;
    min-height: 2.85rem;
  }

  body[data-page="match"].match-detail-readable .lineup-bench-name {
    font-size: 0.86rem;
  }

  body[data-page="match"].match-detail-readable .lineup-player-avatar--bench {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  body[data-page="match"].match-detail-readable .lineup-player-rating--bench {
    min-width: 1.42rem;
    height: 1.08rem;
    font-size: 0.56rem;
  }

  body[data-page="match"].match-detail-readable .lineup-bench-num {
    font-size: 0.88rem;
  }

  body[data-page="match"].match-detail-readable .lineup-node-number {
    width: 28px;
    height: 28px;
    font-size: 0.72rem;
  }

  body[data-page="match"].match-detail-readable .lineup-node-label {
    max-width: 72px;
    padding: 0.16rem 0.22rem;
  }

  body[data-page="match"].match-detail-readable .lineup-node-label strong {
    font-size: 0.54rem;
  }

  body[data-page="match"].match-detail-readable .lineup-node-pos {
    display: none;
  }

  body[data-page="match"].match-detail-readable .lineup-stats-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="match"].match-detail-readable .lineup-stats-head,
  body[data-page="match"].match-detail-readable .lineup-stats-row {
    grid-template-columns: 1.2rem minmax(0, 1.4fr) 2.2rem repeat(7, minmax(1.35rem, 1fr));
    padding: 0.38rem 0.45rem;
    font-size: 0.64rem;
  }
}

@media (min-width: 761px) {
  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop {
    max-width: none;
    width: 100%;
    margin: 0;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop .lineup-pitch {
    min-height: 600px;
    max-height: min(86vh, 900px);
    min-width: 0;
    width: 100%;
    aspect-ratio: 16 / 12.2;
    overflow: hidden;
    padding: 0.35rem 0;
  }

  body[data-page="match"].match-detail-readable .lineup-bench-board {
    padding: 0;
  }

  body[data-page="match"].match-detail-readable .lineup-bench-teambar {
    margin: 0;
    padding: 0.65rem 1.35rem;
  }

  body[data-page="match"].match-detail-readable .lineup-bench-teambar-side {
    font-size: 0.92rem;
  }

  body[data-page="match"].match-detail-readable .lineup-bench-row {
    min-height: 3.5rem;
    padding: 0.4rem 1.35rem;
  }

  body[data-page="match"].match-detail-readable .lineup-bench-cell {
    gap: 0.85rem;
    padding: 0 0.75rem;
  }

  body[data-page="match"].match-detail-readable .lineup-player-avatar--bench {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  body[data-page="match"].match-detail-readable .lineup-bench-name {
    font-size: 1rem;
  }

  body[data-page="match"].match-detail-readable .lineup-bench-num {
    font-size: 0.98rem;
    flex-basis: 1.75rem;
    min-width: 1.75rem;
  }

  body[data-page="match"].match-detail-readable .lineup-bench-club-logo {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop .lineup-node-visual {
    position: relative;
    width: auto;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop .lineup-player-face {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.18rem;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop .lineup-player-rating-slot--overlay {
    position: static;
    right: auto;
    top: auto;
    left: auto;
    z-index: 3;
    pointer-events: none;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop .lineup-player-stack {
    flex-direction: column;
    gap: 0.12rem;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop .lineup-player-main {
    position: relative;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.22rem;
  }

  /* Same side for both teams (Livesport-style): events left of the photo. */
  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop .lineup-node--home .lineup-player-main,
  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop .lineup-node--away .lineup-player-main {
    flex-direction: row;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop .lineup-player-events {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    z-index: 2;
    gap: 0.1rem;
    flex-direction: column;
    align-items: center;
    align-self: center;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop .lineup-player-rating--pitch {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    min-width: 2.05rem;
    height: 1.45rem;
    padding: 0 0.32rem;
    font-size: 0.78rem;
    border-radius: 7px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  }

  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop .lineup-node {
    max-width: 118px;
    gap: 0.22rem;
    overflow: visible;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop .lineup-player-avatar--pitch {
    width: 72px;
    height: 72px;
    border-width: 2.5px;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.32);
  }

  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop .lineup-node-name {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    max-width: 112px;
    width: 100%;
    padding: 0.16rem 0.34rem 0.18rem;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.12;
    border-radius: 7px;
    background: rgba(0, 0, 0, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 4;
    pointer-events: none;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop .lineup-node-name b {
    font-size: 0.8rem;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop .lineup-pitch--horizontal .lineup-node {
    /* Bias anchor slightly up so names (below the photo) stay inside the pitch. */
    transform: translate(-50%, -42%);
  }

  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop .lineup-player-event {
    width: 1.15rem;
    height: 1.15rem;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop .lineup-player-event--goal {
    width: 1.72rem;
    height: 1.72rem;
    transform: none;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop .lineup-player-event-group--goal {
    transform: none;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop .lineup-player-event-group--goal .lineup-player-event--goal {
    transform: none;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop .lineup-player-event--goal > .lineup-player-event-count,
  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop .lineup-player-event--assist > .lineup-player-event-count {
    top: -0.46rem;
    right: -0.3rem;
    font-size: 0.98rem;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop .lineup-player-event--assist {
    width: 1.72rem;
    height: 1.72rem;
    border-radius: 8px;
    transform: none;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop .lineup-player-event--assist .lineup-player-event-icon {
    width: 1.12rem;
    height: 1.12rem;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop .lineup-player-event-group {
    gap: 0.18rem;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop .lineup-player-event-group .lineup-player-event-count {
    font-size: 1.2rem;
  }

  body[data-page="match"].match-detail-readable .lineup-pitch-wrap--desktop .lineup-pitch-half-label {
    top: 12px;
    font-size: 0.7rem;
    padding: 0.26rem 0.5rem;
  }

  body[data-page="match"].match-detail-readable .lineup-bench-player-visual {
    gap: 0.42rem;
  }

  body[data-page="match"].match-detail-readable .lineup-player-rating--bench {
    min-width: 1.9rem;
    height: 1.48rem;
    padding: 0 0.32rem;
    font-size: 0.72rem;
    border-radius: 7px;
  }
}

/* ── Match detail redesign (gg-md) ── */
body[data-page="match"].match-detail-readable .gg-md-overview-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

body[data-page="match"].match-detail-readable .gg-md-overview-stack--split {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (min-width: 761px) {
  body[data-page="match"].match-detail-readable .gg-md-overview-stack--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

body[data-page="match"].match-detail-readable .gg-md-overview-col {
  min-width: 0;
}

body[data-page="match"].match-detail-readable .gg-md-overview-col-primary .gg-md-tip-section,
body[data-page="match"].match-detail-readable .gg-md-overview-col-primary .prediction-insight-reasoning {
  max-width: 100%;
}

body[data-page="match"].match-detail-readable .match-stats-tab-layout {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

body[data-page="match"].match-detail-readable .match-stats-tab-cols {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

body[data-page="match"].match-detail-readable .match-stats-tab-col {
  min-width: 0;
}

body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport {
  gap: 0.5rem;
}

body[data-page="match"].match-detail-readable .match-stats-tab-glance.is-compact {
  padding: 0.45rem 0.55rem;
  border-radius: 12px;
  background: rgba(8, 15, 26, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

body[data-page="match"].match-detail-readable .match-live-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.34rem 0.42rem;
}

body[data-page="match"].match-detail-readable .match-live-meta-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-page="match"].match-detail-readable .match-live-meta-chip.is-status {
  color: #fda4af;
  border-color: rgba(244, 63, 94, 0.22);
  background: rgba(244, 63, 94, 0.1);
}

body[data-page="match"].match-detail-readable .match-live-meta-chip.is-muted {
  color: #94a3b8;
  font-weight: 500;
}

body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-events-card,
body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-stats-card {
  min-height: 0;
}

body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-stats-compact-head,
body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .section-head-clean {
  margin-bottom: 0.45rem;
}

body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-stats-period-board {
  margin-top: 0.35rem;
}

body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-stats-period-toggle {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.22rem;
  max-width: 100%;
  padding: 0.2rem;
  margin: 0 0 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.24);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-stats-period-toggle::-webkit-scrollbar {
  display: none;
}

body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-stats-period-btn {
  flex: 0 0 auto;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgba(148, 163, 184, 0.92);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  padding: 0.46rem 0.78rem;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-stats-period-btn:hover {
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-stats-period-btn.is-active {
  color: #fff;
  border-color: rgba(53, 224, 194, 0.34);
  background: linear-gradient(180deg, rgba(53, 224, 194, 0.2), rgba(53, 224, 194, 0.08));
  box-shadow: inset 0 0 0 1px rgba(53, 224, 194, 0.1);
}

body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-stats-period-panel:not(.is-active) {
  display: none;
}

body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-stats-period-panel.is-active {
  display: block;
}

@media (max-width: 760px) {
  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport {
    gap: 0.3rem;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-glance.is-compact {
    padding: 0.25rem 0.34rem;
    margin-bottom: 0;
  }

  body[data-page="match"].match-detail-readable .match-live-meta-bar {
    gap: 0.22rem;
  }

  body[data-page="match"].match-detail-readable .match-live-meta-chip {
    font-size: 0.6rem;
    padding: 0.13rem 0.34rem;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-events-card,
  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-stats-card {
    padding: 0.36rem 0.38rem !important;
    border-radius: 10px;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .section-head-clean h2,
  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-stats-compact-head h2 {
    font-size: 0.8rem;
    line-height: 1.1;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .section-head-clean small,
  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-stats-compact-head small {
    display: none;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-events-board {
    margin-top: 0.25rem;
    gap: 0.38rem;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-events-period {
    gap: 0.18rem;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-events-period-head {
    padding: 0.32rem 0.46rem;
    border-radius: 6px;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-events-period-head strong,
  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-events-period-head span {
    font-size: 0.66rem;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-events-period-body {
    gap: 0;
    padding: 0;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-stats-period-note {
    padding: 0.35rem 0.75rem 0;
    font-size: 0.68rem;
    line-height: 1.35;
    color: var(--gg-text-muted, rgba(255, 255, 255, 0.58));
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-stats-period-body .live-stats-section {
    margin-top: 0;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-stats-period-board {
    margin-top: 0.25rem;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-stats-period-toggle {
    display: flex;
    width: 100%;
    padding: 0.24rem;
    gap: 0.18rem;
    margin: 0 0 0.55rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.32);
    overflow-x: visible;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-stats-period-btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 2.35rem;
    padding: 0.42rem 0.35rem;
    font-size: 0.66rem;
    text-align: center;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-events-row {
    display: block !important;
    gap: 0;
    min-height: 0;
    padding: 0.06rem 0;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-events-col.home-col:empty,
  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-events-col.away-col:empty {
    display: none !important;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-events-col.home-col,
  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-events-col.away-col,
  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-events-col.neutral-col {
    display: block !important;
    width: 100%;
    max-width: none;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-event-item,
  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-event-item.is-neutral {
    display: grid !important;
    align-items: start;
    gap: 0.3rem 0.34rem;
    width: min(100%, 94%) !important;
    max-width: 94%;
    padding: 0.14rem 0;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-event-item.is-home {
    grid-template-columns: auto auto minmax(0, 1fr);
    grid-template-areas: "minute badges text";
    justify-self: start;
    margin-right: auto;
    border-left: 2px solid rgba(53, 224, 194, 0.5);
    border-right: none;
    padding-left: 0.22rem;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-event-item.is-away {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "text badges minute";
    justify-self: end;
    margin-left: auto;
    border-left: none;
    border-right: 2px solid rgba(244, 114, 182, 0.48);
    padding-right: 0.22rem;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-event-item.is-neutral {
    grid-template-columns: auto auto minmax(0, 1fr);
    grid-template-areas: "minute badges text";
    justify-self: center;
    margin-inline: auto;
    width: min(100%, 96%) !important;
    max-width: 96%;
    border-left: none;
    border-right: none;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-event-minute {
    min-width: 34px;
    font-size: 0.72rem;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-event-item.is-home .modern-event-minute {
    grid-area: minute;
    text-align: left;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-event-item.is-away .modern-event-minute {
    grid-area: minute;
    text-align: right;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-event-badges {
    grid-area: badges;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-event-text {
    grid-area: text;
    min-width: 0;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-event-item.is-home .modern-event-text,
  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-event-item.is-neutral .modern-event-text {
    text-align: left !important;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-event-item.is-away .modern-event-text,
  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-event-item.is-away .modern-event-text.align-right {
    text-align: right !important;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-event-icon,
  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-event-score {
    height: 23px;
    border-radius: 7px;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-event-icon {
    min-width: 23px;
    padding: 0 0.3rem;
    font-size: 0.74rem;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-event-score {
    min-width: 38px;
    padding: 0 0.42rem;
    font-size: 0.76rem;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-event-primary {
    display: grid;
    gap: 0.06rem;
    font-size: 0.78rem;
    line-height: 1.22;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: break-word;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-event-primary .modern-event-note,
  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-event-primary .modern-event-assist {
    white-space: normal !important;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-event-assist {
    display: flex;
    align-items: baseline;
    gap: 0.28rem;
    margin-top: 0.1rem;
    line-height: 1.2;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-event-assist-mark {
    font-size: 0.72rem;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-event-assist-copy em {
    font-size: 0.6rem;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-event-assist-copy strong {
    font-size: 0.78rem;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .modern-event-item.is-away .modern-event-assist {
    justify-content: flex-end;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-stats-modern {
    gap: 0.38rem;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-stats-rows {
    gap: 0.45rem;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-stat-modern-row {
    gap: 0.2rem;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-stat-values {
    grid-template-columns: minmax(42px, auto) minmax(0, 1fr) minmax(42px, auto);
    gap: 0.28rem;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-stat-values strong,
  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-stat-values span {
    font-size: 0.72rem;
    line-height: 1.1;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-stat-half {
    height: 6px;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-stat-divider {
    height: 12px;
  }

  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .live-stats-empty,
  body[data-page="match"].match-detail-readable .match-stats-tab-layout--livesport .empty-state {
    margin-top: 0.25rem !important;
    padding: 0.5rem 0.4rem;
    font-size: 0.7rem;
  }
}

@media (min-width: 761px) {
  body[data-page="match"].match-detail-readable .match-stats-tab-cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.65rem;
    align-items: start;
  }
}

body[data-page="match"].match-detail-readable .gg-md-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

body[data-page="match"].match-detail-readable .gg-md-section-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

body[data-page="match"].match-detail-readable .gg-md-section-head small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  text-align: right;
}

body[data-page="match"].match-detail-readable .match-odds-toolbar {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body[data-page="match"].match-detail-readable .match-odds-controls {
  margin: 0;
}

body[data-page="match"].match-detail-readable .match-odds-refresh-btn.is-loading,
body[data-page="match"].match-detail-readable .match-odds-refresh-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

body[data-page="match"].match-detail-readable .match-odds-controls [data-odds-mode].is-loading {
  opacity: 0.7;
  cursor: wait;
}

body[data-page="match"].match-detail-readable .match-odds-controls [data-odds-mode].is-odds-unavailable:not(.active) {
  opacity: 0.72;
}

body[data-page="match"].match-detail-readable .gg-md-tip-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-bottom: 0.55rem;
}

body[data-page="match"].match-detail-readable .gg-md-tip-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  font-weight: 600;
}

body[data-page="match"].match-detail-readable .gg-md-tip-chip.gg-md-tip-chip--odds {
  border: 1px solid rgba(53, 224, 194, 0.32);
  background: rgba(53, 224, 194, 0.14);
  color: #99f6e4;
  font-weight: 800;
}

body[data-page="match"].match-detail-readable .gg-md-tip-value-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.7rem;
  margin-bottom: 0.4rem;
}

body[data-page="match"].match-detail-readable .gg-md-tip-value {
  display: inline;
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 0;
  color: #f8fafc;
}

body[data-page="match"].match-detail-readable .gg-md-data-link {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin: 0;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: transparent;
  color: #94a3b8;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

body[data-page="match"].match-detail-readable .gg-md-data-link:hover,
body[data-page="match"].match-detail-readable .gg-md-data-link[aria-expanded="true"] {
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(148, 163, 184, 0.08);
  color: #e2e8f0;
}

body[data-page="match"].match-detail-readable .gg-md-data-link-kicker {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.58rem;
  font-weight: 700;
  color: #64748b;
}

body[data-page="match"].match-detail-readable .gg-md-data-link strong {
  font-weight: 800;
  color: inherit;
}

body[data-page="match"].match-detail-readable .gg-md-data-link-caret {
  font-size: 0.62rem;
  opacity: 0.75;
}

body[data-page="match"].match-detail-readable .gg-md-data-link.is-strong {
  border-color: rgba(52, 211, 153, 0.28);
  color: #6ee7b7;
}

body[data-page="match"].match-detail-readable .gg-md-data-link.is-strong .gg-md-data-link-kicker {
  color: rgba(110, 231, 183, 0.72);
}

body[data-page="match"].match-detail-readable .gg-md-data-link.is-mixed {
  border-color: rgba(251, 191, 36, 0.28);
  color: #fbbf24;
}

body[data-page="match"].match-detail-readable .gg-md-data-link.is-mixed .gg-md-data-link-kicker {
  color: rgba(251, 191, 36, 0.72);
}

body[data-page="match"].match-detail-readable .gg-md-data-link.is-limited {
  border-color: rgba(248, 113, 113, 0.28);
  color: #fca5a5;
}

body[data-page="match"].match-detail-readable .gg-md-data-link.is-limited .gg-md-data-link-kicker {
  color: rgba(252, 165, 165, 0.72);
}

.gg-md-data-quality-popover {
  position: fixed;
  z-index: 1200;
  width: min(18.5rem, calc(100vw - 1rem));
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0.8rem;
  background: #0f172a;
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.45);
  color: #cbd5e1;
}

.gg-md-data-quality-popover-inner {
  position: relative;
  padding: 0.85rem 0.9rem 0.95rem;
}

.gg-md-data-quality-popover-close {
  position: absolute;
  top: 0.35rem;
  right: 0.4rem;
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}

.gg-md-data-quality-popover-title {
  display: block;
  margin: 0 1.2rem 0.35rem 0;
  color: #f8fafc;
  font-size: 0.84rem;
  font-weight: 800;
}

.gg-md-data-quality-popover-lead {
  margin: 0 0 0.65rem;
  color: #94a3b8;
  font-size: 0.72rem;
  line-height: 1.4;
}

.gg-md-data-quality-popover-checks {
  list-style: none;
  margin: 0 0 0.7rem;
  padding: 0;
  display: grid;
  gap: 0.28rem;
}

.gg-md-data-quality-popover-checks li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 650;
}

.gg-md-data-quality-popover-checks li span {
  width: 0.95rem;
  text-align: center;
  font-weight: 800;
}

.gg-md-data-quality-popover-checks li.is-on {
  color: #6ee7b7;
}

.gg-md-data-quality-popover-checks li.is-off {
  color: #fca5a5;
}

.gg-md-data-quality-popover-checks li em {
  margin-left: 0.15rem;
  font-style: normal;
  font-weight: 600;
  opacity: 0.72;
  font-size: 0.68rem;
}

.gg-md-data-quality-popover-levels-label {
  margin: 0 0 0.3rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.gg-md-data-quality-level {
  display: flex;
  justify-content: space-between;
  gap: 0.55rem;
  padding: 0.28rem 0.4rem;
  border-radius: 0.4rem;
  font-size: 0.72rem;
  color: #94a3b8;
}

.gg-md-data-quality-level strong {
  color: #e2e8f0;
  font-weight: 750;
}

.gg-md-data-quality-level.is-active {
  background: rgba(148, 163, 184, 0.1);
  color: #cbd5e1;
}

.gg-md-data-quality-level.is-active strong {
  color: #f8fafc;
}

body[data-page="match"].match-detail-readable .gg-md-section-head--tip {
  align-items: center;
  gap: 0.55rem;
}

body[data-page="match"].match-detail-readable .gg-md-section-head-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  flex: 0 1 auto;
}

body[data-page="match"].match-detail-readable .gg-md-section-head-title h2 {
  margin: 0;
  white-space: nowrap;
}

body[data-page="match"].match-detail-readable .gg-save-pick-btn--compact {
  min-height: 1.85rem;
  padding: 0.28rem 0.55rem;
  font-size: 0.68rem;
  border-radius: 999px;
  box-shadow: none;
}

body[data-page="match"].match-detail-readable .gg-save-pick-btn--compact .gg-save-pick-btn__icon {
  width: 1.05rem;
  height: 1.05rem;
  font-size: 0.72rem;
}

body[data-page="match"].match-detail-readable .gg-save-pick-btn--compact.is-saved {
  box-shadow: 0 0 0 1px rgba(53, 224, 194, 0.22);
}

body[data-page="match"].match-detail-readable .gg-md-tip-save-row {
  margin: 0.55rem 0 0.15rem;
}

body[data-page="match"].match-detail-readable .gg-save-pick-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 12px;
  border: 1px solid rgba(53, 224, 194, 0.34);
  background: linear-gradient(180deg, rgba(53, 224, 194, 0.18), rgba(53, 224, 194, 0.08));
  color: #ecfdf5;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(53, 224, 194, 0.12);
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

body[data-page="match"].match-detail-readable .gg-save-pick-btn--cta {
  width: 100%;
  min-height: 2.65rem;
  padding: 0.62rem 0.85rem;
  font-size: 0.84rem;
}

body[data-page="match"].match-detail-readable .gg-save-pick-btn__icon {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(6, 16, 25, 0.28);
  font-size: 0.82rem;
  font-weight: 900;
}

body[data-page="match"].match-detail-readable .gg-save-pick-btn:hover,
body[data-page="match"].match-detail-readable .gg-save-pick-btn:focus-visible {
  border-color: rgba(53, 224, 194, 0.55);
  background: linear-gradient(180deg, rgba(53, 224, 194, 0.24), rgba(53, 224, 194, 0.12));
  transform: translateY(-1px);
}

body[data-page="match"].match-detail-readable .gg-save-pick-btn.is-saved {
  border-color: rgba(53, 224, 194, 0.62);
  background: linear-gradient(180deg, rgba(53, 224, 194, 0.34), rgba(53, 224, 194, 0.16));
  color: #fff;
  box-shadow: 0 0 0 1px rgba(53, 224, 194, 0.18), 0 12px 28px rgba(53, 224, 194, 0.18);
}

body[data-page="match"].match-detail-readable .gg-save-pick-btn.is-saved .gg-save-pick-btn__icon {
  background: rgba(6, 16, 25, 0.42);
  color: #ecfdf5;
}

body[data-page="match"].match-detail-readable .gg-save-pick-btn.is-locked-after-kickoff {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(148, 163, 184, 0.92);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

body[data-page="match"].match-detail-readable .gg-md-tip-share {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-height: 0;
  padding: 0.16rem 0.42rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03) !important;
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.1;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: none;
}

body[data-page="match"].match-detail-readable .gg-md-tip-share:hover,
body[data-page="match"].match-detail-readable .gg-md-tip-share:focus-visible {
  color: rgba(255, 255, 255, 0.78) !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.16);
}

body[data-page="match"].match-detail-readable .gg-md-tip-share .gg-share-tip-icon {
  font-size: 0.82em;
  opacity: 0.72;
}

body[data-page="match"].match-detail-readable .gg-md-tip-save {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 0.16rem 0.52rem;
  border-radius: 999px;
  border: 1px solid rgba(53, 224, 194, 0.28);
  background: rgba(53, 224, 194, 0.08) !important;
  color: #a7f3d0 !important;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: none;
}

body[data-page="match"].match-detail-readable .gg-md-tip-save:hover,
body[data-page="match"].match-detail-readable .gg-md-tip-save:focus-visible {
  color: #ecfdf5 !important;
  background: rgba(53, 224, 194, 0.14) !important;
  border-color: rgba(53, 224, 194, 0.42);
}

body[data-page="match"].match-detail-readable .gg-md-tip-save.is-saved {
  border-color: rgba(53, 224, 194, 0.45);
  background: rgba(53, 224, 194, 0.16) !important;
  color: #fff !important;
}

body[data-page="match"].match-detail-readable .gg-md-tip-save.is-locked-after-kickoff {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03) !important;
  color: rgba(148, 163, 184, 0.88) !important;
  cursor: not-allowed;
}

body[data-page="match"].match-detail-readable .gg-md-tip-empty {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
}

body[data-page="match"].match-detail-readable .gg-md-tip-section.is-no-pick {
  border-color: rgba(148, 163, 184, 0.28);
  background:
    linear-gradient(180deg, rgba(100, 116, 139, 0.14), rgba(8, 16, 28, 0.72)),
    rgba(10, 16, 28, 0.88);
  box-shadow: inset 0 1px 0 rgba(226, 232, 240, 0.04);
}

body[data-page="match"].match-detail-readable .gg-md-tip-section.is-no-pick .gg-md-section-head-meta small {
  color: rgba(203, 213, 225, 0.72);
}

body[data-page="match"].match-detail-readable .gg-md-tip-section.is-no-pick .gg-md-tip-value {
  color: #e2e8f0;
}

body[data-page="match"].match-detail-readable .gg-md-tip-chip.gg-md-tip-chip--no-pick {
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  font-weight: 700;
}

body[data-page="match"].match-detail-readable .gg-md-tip-section.is-no-pick .prediction-insight-reasoning,
body[data-page="match"].match-detail-readable .prediction-insight-reasoning.is-no-pick {
  border-color: rgba(148, 163, 184, 0.26);
  background: linear-gradient(180deg, rgba(100, 116, 139, 0.16), rgba(8, 16, 28, 0.58));
  box-shadow: inset 0 1px 0 rgba(226, 232, 240, 0.05);
}

body[data-page="match"].match-detail-readable .gg-md-tip-section.is-no-pick .prediction-insight-reasoning-head strong,
body[data-page="match"].match-detail-readable .prediction-insight-reasoning.is-no-pick .prediction-insight-reasoning-head strong {
  color: #cbd5e1;
}

body[data-page="match"].match-detail-readable .gg-md-no-pick-note {
  margin-top: 0.75rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

body[data-page="match"].match-detail-readable .gg-md-no-pick-note strong {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(226, 232, 240, 0.92);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body[data-page="match"].match-detail-readable .gg-md-no-pick-note p {
  margin: 0;
  color: rgba(203, 213, 225, 0.88);
  font-size: 0.84rem;
  line-height: 1.5;
}

body[data-page="match"].match-detail-readable .gg-md-no-pick-note.is-data {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(100, 116, 139, 0.08);
}

body[data-page="match"].match-detail-readable .gg-md-tip-section--compact .gg-md-tip-head--compact {
  gap: 0.4rem;
}

body[data-page="match"].match-detail-readable .gg-md-tip-support {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.74rem;
  line-height: 1.45;
}

body[data-page="match"].match-detail-readable .gg-md-model-preview {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-page="match"].match-detail-readable .gg-md-model-preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
}

body[data-page="match"].match-detail-readable .gg-md-model-preview-head strong {
  display: block;
  font-size: 0.92rem;
  color: var(--gg-pred-text, #fff);
}

body[data-page="match"].match-detail-readable .gg-md-model-preview-head span {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.52);
}

body[data-page="match"].match-detail-readable .gg-md-model-lean {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

body[data-page="match"].match-detail-readable .gg-md-model-probs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

body[data-page="match"].match-detail-readable .gg-md-model-prob {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.55rem 0.4rem;
  border-radius: 12px;
  border: 1px solid rgba(167, 139, 250, 0.22);
  background: rgba(88, 52, 170, 0.14);
  text-align: center;
}

body[data-page="match"].match-detail-readable .gg-md-model-prob em {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.52);
}

body[data-page="match"].match-detail-readable .gg-md-model-prob strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

body[data-page="match"].match-detail-readable .gg-md-model-prob small {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.2;
}

body[data-page="match"].match-detail-readable .gg-md-model-prob-note {
  margin: -0.15rem 0 0;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
}

body[data-page="match"].match-detail-readable .gg-md-model-advanced {
  margin-top: 0.15rem;
}

body[data-page="match"].match-detail-readable .gg-md-model-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

body[data-page="match"].match-detail-readable .gg-md-model-verdict {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

body[data-page="match"].match-detail-readable .gg-md-model-verdict strong {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.86);
}

body[data-page="match"].match-detail-readable .gg-md-model-verdict small {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.48);
}

body[data-page="match"].match-detail-readable .gg-md-model4-analysis {
  border-color: rgba(167, 139, 250, 0.18);
}

body[data-page="match"].match-detail-readable .gg-m4-status-card {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

body[data-page="match"].match-detail-readable .gg-m4-status-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem;
  font-size: 0.78rem;
}

body[data-page="match"].match-detail-readable .gg-m4-status-label {
  color: rgba(255, 255, 255, 0.52);
}

body[data-page="match"].match-detail-readable .gg-m4-status-value {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
}

body[data-page="match"].match-detail-readable .gg-m4-status-value--warn {
  color: #fbbf24;
}

body[data-page="match"].match-detail-readable .gg-m4-block {
  margin-top: 0.85rem;
}

body[data-page="match"].match-detail-readable .gg-m4-block-title {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
}

body[data-page="match"].match-detail-readable .gg-m4-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.85rem;
}

body[data-page="match"].match-detail-readable .gg-m4-metric {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

body[data-page="match"].match-detail-readable .gg-m4-metric span {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.48);
}

body[data-page="match"].match-detail-readable .gg-m4-metric strong {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
}

body[data-page="match"].match-detail-readable .gg-m4-narrative {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

body[data-page="match"].match-detail-readable .gg-m4-filter-list {
  margin: 0.55rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.55);
}

body[data-page="match"].match-detail-readable .gg-m4-edge-warning {
  margin-top: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.28);
  background: rgba(251, 191, 36, 0.08);
}

body[data-page="match"].match-detail-readable .gg-m4-edge-secondary {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fbbf24;
}

body[data-page="match"].match-detail-readable .gg-m4-edge-warning p {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

body[data-page="match"].match-detail-readable .gg-m4-technical {
  margin-top: 0.9rem;
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

body[data-page="match"].match-detail-readable .gg-m4-technical-title {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

body[data-page="match"].match-detail-readable .gg-m4-technical-grid {
  display: grid;
  gap: 0.38rem;
}

body[data-page="match"].match-detail-readable .gg-m4-technical-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem;
  font-size: 0.74rem;
}

body[data-page="match"].match-detail-readable .gg-m4-technical-row span {
  color: rgba(255, 255, 255, 0.45);
}

body[data-page="match"].match-detail-readable .gg-m4-technical-row strong {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  text-align: right;
}

body[data-page="match"].match-detail-readable .gg-m4-technical-muted {
  color: rgba(255, 255, 255, 0.48) !important;
  font-weight: 600;
}

body[data-page="match"].match-detail-readable .gg-m4-against-lean-warning {
  margin: 0.6rem 0 0;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  background: rgba(251, 191, 36, 0.06);
  font-size: 0.74rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

body[data-page="match"].match-detail-readable .gg-m4-technical-edge {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  margin-top: 0.55rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-page="match"].match-detail-readable .gg-m4-technical-edge small {
  font-size: 0.68rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.42);
}

body[data-page="match"].match-detail-readable .gg-m4-technical-snapshots {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  margin-top: 0.55rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-page="match"].match-detail-readable .gg-m4-technical-snapshots small {
  font-size: 0.66rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.4);
}

body[data-page="match"].match-detail-readable .gg-m4-odds-mismatch-warning {
  margin: 0.55rem 0 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}

body[data-page="match"].match-detail-readable .gg-m4-edge-neutral {
  color: rgba(255, 255, 255, 0.62) !important;
}

body[data-page="match"].match-detail-readable .gg-m4-edge-positive {
  color: #86efac !important;
}

body[data-page="match"].match-detail-readable .gg-m4-public-summary {
  margin-top: 0.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

body[data-page="match"].match-detail-readable .gg-m4-public-summary p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

body[data-page="match"].match-detail-readable .gg-m4-markets-checked {
  margin-top: 0.35rem !important;
  font-size: 0.76rem !important;
  color: rgba(255, 255, 255, 0.55) !important;
}

body[data-page="match"].match-detail-readable .gg-m4-markets-note {
  margin: 0.65rem 0 0;
  font-size: 0.76rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.52);
}

body[data-page="match"].match-detail-readable .gg-m4-xg-list,
body[data-page="match"].match-detail-readable .gg-m4-prob-list,
body[data-page="match"].match-detail-readable .gg-m4-other-market-notes ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.76);
}

body[data-page="match"].match-detail-readable .gg-m4-other-market-notes {
  margin-top: 0.75rem;
}

body[data-page="match"].match-detail-readable .gg-m4-other-market-notes li {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.74rem;
}

body[data-page="match"].match-detail-readable .gg-m4-debug-details {
  margin-top: 0.85rem;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.12);
}

body[data-page="match"].match-detail-readable .gg-m4-debug-details > summary {
  cursor: pointer;
  padding: 0.55rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  list-style: none;
}

body[data-page="match"].match-detail-readable .gg-m4-debug-details > summary::-webkit-details-marker {
  display: none;
}

body[data-page="match"].match-detail-readable .gg-m4-debug-details[open] > summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-page="match"].match-detail-readable .gg-m4-technical--debug {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body[data-page="match"].match-detail-readable .gg-md-odds-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

body[data-page="match"].match-detail-readable .gg-md-odds-block {
  padding: 0.75rem 0.8rem;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.025) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

body[data-page="match"].match-detail-readable .gg-md-odds-block.is-wide {
  grid-column: 1 / -1;
}

body[data-page="match"].match-detail-readable .gg-md-odds-block-title {
  margin: 0 0 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

body[data-page="match"].match-detail-readable .gg-md-odds-board .odds-market-grid {
  gap: 0.45rem;
  margin: 0;
}

body[data-page="match"].match-detail-readable .gg-md-odds-board .odds-market-grid.is-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="match"].match-detail-readable .gg-md-odds-board .odds-market-card {
  position: relative;
  overflow: hidden;
  padding: 0.62rem 0.45rem;
  border-radius: 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.15s ease, background 0.15s ease;
}

body[data-page="match"].match-detail-readable .gg-md-odds-board .odds-market-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
}

body[data-page="match"].match-detail-readable .gg-md-odds-board .odds-market-card span {
  margin-bottom: 0.22rem;
  font-size: 0.68rem;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.55);
}

body[data-page="match"].match-detail-readable .gg-md-odds-board .odds-market-card strong {
  font-size: 1.05rem;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.92);
}

body[data-page="match"].match-detail-readable .gg-md-odds-board .odds-market-card.is-odds-up::after,
body[data-page="match"].match-detail-readable .gg-md-odds-board .odds-market-card.is-odds-down::after,
body[data-page="match"].match-detail-readable .gg-md-ou-val.is-odds-up::after,
body[data-page="match"].match-detail-readable .gg-md-ou-val.is-odds-down::after {
  content: '';
  position: absolute;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  pointer-events: none;
  z-index: 2;
}

body[data-page="match"].match-detail-readable .gg-md-odds-board .odds-market-card.is-odds-up::after,
body[data-page="match"].match-detail-readable .gg-md-ou-val.is-odds-up::after {
  top: 0;
  border-width: 0 14px 14px 0;
  border-color: transparent #22c55e transparent transparent;
}

body[data-page="match"].match-detail-readable .gg-md-odds-board .odds-market-card.is-odds-down::after,
body[data-page="match"].match-detail-readable .gg-md-ou-val.is-odds-down::after {
  bottom: 0;
  top: auto;
  border-width: 14px 14px 0 0;
  border-color: #ef4444 transparent transparent transparent;
}

body[data-page="match"].match-detail-readable .gg-md-odds-board .odds-market-card.is-odds-up,
body[data-page="match"].match-detail-readable .gg-md-ou-val.is-odds-up {
  border-color: rgba(34, 197, 94, 0.45);
}

body[data-page="match"].match-detail-readable .gg-md-odds-board .odds-market-card.is-odds-down,
body[data-page="match"].match-detail-readable .gg-md-ou-val.is-odds-down {
  border-color: rgba(239, 68, 68, 0.45);
}

body[data-page="match"].match-detail-readable .gg-md-ou-board {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

body[data-page="match"].match-detail-readable .gg-md-ou-grid {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.5rem;
  align-items: stretch;
}

body[data-page="match"].match-detail-readable .gg-md-ou-head span {
  padding: 0 0.1rem 0.15rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

body[data-page="match"].match-detail-readable .gg-md-ou-head span:first-child {
  text-align: left;
}

body[data-page="match"].match-detail-readable .gg-md-ou-line {
  display: flex;
  align-items: center;
  font-size: 0.84rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

body[data-page="match"].match-detail-readable .gg-md-ou-val {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.48rem 0.35rem;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}

body[data-page="match"].match-detail-readable .gg-md-ou-val:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

body[data-page="match"].match-detail-readable .gg-md-team-tab {
  padding: 1rem;
}

body[data-page="match"].match-detail-readable .gg-md-tab-toolbar {
  margin-bottom: 0.65rem;
}

body[data-page="match"].match-detail-readable .gg-md-tab-note,
body[data-page="match"].match-detail-readable .gg-md-tab-lead {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.45;
}

body[data-page="match"].match-detail-readable .gg-md-team-summary-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

body[data-page="match"].match-detail-readable .gg-md-summary-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.72);
}

body[data-page="match"].match-detail-readable .gg-md-summary-pill strong {
  color: #fff;
  font-size: 0.78rem;
}

body[data-page="match"].match-detail-readable .gg-md-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

body[data-page="match"].match-detail-readable .gg-md-team-panel {
  padding: 0.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-page="match"].match-detail-readable .gg-md-team-panel-head {
  margin-bottom: 0.55rem;
}

body[data-page="match"].match-detail-readable .gg-md-form-dots {
  margin-bottom: 0.55rem;
}

body[data-page="match"].match-detail-readable .gg-md-match-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

body[data-page="match"].match-detail-readable .gg-md-match-row {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr) auto;
  gap: 0.4rem;
  align-items: center;
  padding: 0.38rem 0.45rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-page="match"].match-detail-readable .gg-md-match-row.is-win,
body[data-page="match"].match-detail-readable .gg-md-match-row.is-draw,
body[data-page="match"].match-detail-readable .gg-md-match-row.is-loss {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.06);
}

body[data-page="match"].match-detail-readable .gg-md-match-row.is-win {
  box-shadow: inset 3px 0 0 rgba(74, 222, 128, 0.75);
}

body[data-page="match"].match-detail-readable .gg-md-match-row.is-draw {
  box-shadow: inset 3px 0 0 rgba(251, 191, 36, 0.7);
}

body[data-page="match"].match-detail-readable .gg-md-match-row.is-loss {
  box-shadow: inset 3px 0 0 rgba(248, 113, 113, 0.75);
}

body[data-page="match"].match-detail-readable .gg-md-match-date {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.5);
}

body[data-page="match"].match-detail-readable .gg-md-match-main {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  font-size: 0.78rem;
}

body[data-page="match"].match-detail-readable .gg-md-match-score {
  flex: 0 0 auto;
  font-size: 0.82rem;
}

body[data-page="match"].match-detail-readable .gg-md-match-label,
body[data-page="match"].match-detail-readable .gg-md-h2h-team {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.82);
}

body[data-page="match"].match-detail-readable .gg-md-h2h-fixture {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

body[data-page="match"].match-detail-readable .gg-md-h2h-team.is-focus {
  color: #fff;
  font-weight: 600;
}

body[data-page="match"].match-detail-readable .gg-md-match-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  border-radius: 6px;
  font-size: 0.64rem;
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body[data-page="match"].match-detail-readable .gg-md-match-badge.is-win {
  background: rgba(34, 197, 94, 0.22);
  color: #86efac;
  border-color: rgba(74, 222, 128, 0.45);
}

body[data-page="match"].match-detail-readable .gg-md-match-badge.is-draw {
  background: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
  border-color: rgba(251, 191, 36, 0.42);
}

body[data-page="match"].match-detail-readable .gg-md-match-badge.is-loss {
  background: rgba(239, 68, 68, 0.22);
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.45);
}

body[data-page="match"].match-detail-readable .gg-md-match-flags {
  display: flex;
  gap: 0.25rem;
}

body[data-page="match"].match-detail-readable .gg-md-flag {
  font-size: 0.62rem;
  padding: 0.12rem 0.28rem;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.45);
}

body[data-page="match"].match-detail-readable .gg-md-flag.is-yes {
  background: rgba(52, 211, 153, 0.14);
  color: #6ee7b7;
}

body[data-page="match"].match-detail-readable .gg-md-empty {
  padding: 0.75rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

body[data-page="match"].match-detail-readable .gg-md-h2h-tab.is-empty-h2h .gg-md-h2h-empty {
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  text-align: center;
  margin-top: 0.35rem;
  padding: 1.15rem 1rem 1.25rem;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

body[data-page="match"].match-detail-readable .gg-md-h2h-empty-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(247, 183, 79, 0.35);
  background: rgba(247, 183, 79, 0.12);
  color: #f7d39a;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body[data-page="match"].match-detail-readable .gg-md-h2h-empty-title {
  margin: 0.15rem 0 0;
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.94);
}

body[data-page="match"].match-detail-readable .gg-md-h2h-empty-copy {
  margin: 0;
  max-width: 34rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

body[data-page="match"].match-detail-readable .gg-md-h2h-empty-hint {
  margin: 0.15rem 0 0;
  max-width: 34rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.52);
}

@media (max-width: 760px) {
  body[data-page="match"].match-detail-readable .gg-md-h2h-tab.is-empty-h2h .gg-md-h2h-empty {
    padding: 1rem 0.85rem;
  }

  body[data-page="match"].match-detail-readable .gg-md-h2h-empty-title {
    font-size: 0.98rem;
  }
}

@media (max-width: 760px) {
  body[data-page="match"].match-detail-readable .gg-md-team-tab {
    padding: 0.65rem 0.7rem;
    border-radius: 14px;
  }

  body[data-page="match"].match-detail-readable .gg-md-section-head {
    margin-bottom: 0.5rem;
  }

  body[data-page="match"].match-detail-readable .gg-md-section-head h2 {
    font-size: 0.9rem;
  }

  body[data-page="match"].match-detail-readable .gg-md-section-head small {
    font-size: 0.66rem;
  }

  body[data-page="match"].match-detail-readable .gg-md-tip-section .gg-md-section-head {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.45rem;
  }

  body[data-page="match"].match-detail-readable .gg-md-tip-section .gg-md-section-head h2 {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  body[data-page="match"].match-detail-readable .gg-md-tip-section .gg-md-section-head-meta {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-end;
  }

  body[data-page="match"].match-detail-readable .gg-md-tip-section .gg-md-section-head small {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 7.5rem;
  }

  body[data-page="match"].match-detail-readable .gg-md-tab-toolbar {
    margin-bottom: 0.45rem;
    gap: 0.4rem;
  }

  body[data-page="match"].match-detail-readable .gg-md-tab-note,
  body[data-page="match"].match-detail-readable .gg-md-tab-lead {
    margin-bottom: 0.45rem;
    font-size: 0.72rem;
    line-height: 1.35;
  }

  body[data-page="match"].match-detail-readable .gg-md-h2h-tab .gg-md-tab-lead {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body[data-page="match"].match-detail-readable .gg-md-team-summary-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.28rem;
    margin-bottom: 0.45rem;
  }

  body[data-page="match"].match-detail-readable .gg-md-h2h-tab .gg-md-team-summary-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body[data-page="match"].match-detail-readable .gg-md-summary-pill {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    padding: 0.32rem 0.25rem;
    border-radius: 10px;
    font-size: 0.58rem;
    text-align: center;
    line-height: 1.15;
    min-width: 0;
  }

  body[data-page="match"].match-detail-readable .gg-md-summary-pill strong {
    font-size: 0.72rem;
    line-height: 1.1;
  }

  body[data-page="match"].match-detail-readable .gg-md-dual-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  body[data-page="match"].match-detail-readable .gg-md-team-panel {
    padding: 0.55rem 0.6rem;
    border-radius: 12px;
  }

  body[data-page="match"].match-detail-readable .gg-md-team-panel-head {
    margin-bottom: 0.4rem;
  }

  body[data-page="match"].match-detail-readable .gg-md-team-panel-head .team-link-with-logo {
    font-size: 0.82rem;
  }

  body[data-page="match"].match-detail-readable .gg-md-team-panel-head .team-avatar {
    width: 1.35rem;
    height: 1.35rem;
  }

  body[data-page="match"].match-detail-readable .gg-md-form-dots {
    display: none;
  }

  body[data-page="match"].match-detail-readable .gg-md-match-list {
    gap: 0.28rem;
  }

  body[data-page="match"].match-detail-readable .gg-md-match-row {
    grid-template-columns: 2.15rem minmax(0, 1fr) auto;
    gap: 0.32rem;
    padding: 0.32rem 0.38rem;
    border-radius: 8px;
  }

  body[data-page="match"].match-detail-readable .gg-md-match-date {
    font-size: 0.62rem;
  }

  body[data-page="match"].match-detail-readable .gg-md-match-main {
    gap: 0.32rem;
    font-size: 0.72rem;
  }

  body[data-page="match"].match-detail-readable .gg-md-match-score {
    font-size: 0.74rem;
    min-width: 2rem;
  }

  body[data-page="match"].match-detail-readable .gg-md-h2h-fixture {
    gap: 0.22rem;
  }

  body[data-page="match"].match-detail-readable .gg-md-h2h-team {
    font-size: 0.68rem;
  }

  body[data-page="match"].match-detail-readable .gg-md-match-flags {
    display: none;
  }

  body[data-page="match"].match-detail-readable .gg-md-odds-board {
    grid-template-columns: 1fr;
  }

  body[data-page="match"].match-detail-readable .gg-md-odds-board .odds-market-grid:not(.is-cols-2) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-page="match"].match-detail-readable .gg-md-overview-stack {
    gap: 0.5rem;
  }

  body[data-page="match"].match-detail-readable .match-tab-panel .card-clean {
    padding: 0.58rem 0.52rem !important;
    border-radius: 10px;
  }

  body[data-page="match"].match-detail-readable .nt-standings-section-match .nt-standings-hint {
    display: block;
  }

  body[data-page="match"].match-detail-readable .nt-standings-section-match .nt-stand-toolbar-compact {
    margin-bottom: 0.45rem;
  }
}

/* ── Leagues-style standings on match detail ── */
body[data-page="match"].match-detail-readable .nt-standings-section-match {
  padding: 0.75rem 0.8rem;
}

body[data-page="match"].match-detail-readable .nt-standings-section-match .gg-md-section-head {
  margin-bottom: 0.55rem;
}

body[data-page="match"].match-detail-readable .nt-standings-section-match .league-table-mode-panel:not(.active) {
  display: none;
}

body[data-page="match"].match-detail-readable .nt-standings-section-match .league-table-mode-panel.active {
  display: block;
}

body[data-page="match"].match-detail-readable .nt-standings-section-match .nt-stand-team-link {
  color: inherit;
  text-decoration: none;
}

body[data-page="match"].match-detail-readable .nt-standings-section-match .nt-stand-team-link:hover .nt-stand-name {
  color: #35e0c2;
}

body[data-page="match"].match-detail-readable .nt-standings-section-match .nt-stand-team .gg-team-logo-sm,
body[data-page="match"].match-detail-readable .nt-standings-section-match .nt-stand-team .gg-team-logo-sm-wrap {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 1.35rem;
}

body[data-page="match"].match-detail-readable .nt-standings-section-match .nt-stand-team .gg-team-initials {
  font-size: 0.52rem;
}

body[data-page="match"].match-detail-readable .nt-standings-section-match .nt-stand-row.active {
  background: rgba(53, 224, 194, 0.08);
  box-shadow: inset 3px 0 0 #35e0c2;
}

@media (max-width: 720px) {
  body[data-page="match"].match-detail-readable .match-mobile-scorebar {
    position: relative !important;
    top: auto !important;
    margin: 0 !important;
  }

  body[data-page="match"].match-detail-readable .match-tabs-row {
    position: static !important;
    top: auto !important;
  }
}

body[data-page="match"].match-detail-readable .lineup-player-trigger,
body[data-page="match"].match-detail-readable .lineup-bench-player-trigger {
  pointer-events: auto;
  cursor: pointer;
}

body[data-page="match"].match-detail-readable button.lineup-node.lineup-player-trigger {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: center;
  appearance: none;
  -webkit-appearance: none;
}

body[data-page="match"].match-detail-readable button.lineup-node.lineup-player-trigger:focus-visible,
body[data-page="match"].match-detail-readable .lineup-bench-player-trigger:focus-visible,
body[data-page="match"].match-detail-readable button.lineup-stats-row:focus-visible {
  outline: 2px solid rgba(53, 224, 194, 0.75);
  outline-offset: 2px;
}

body[data-page="match"].match-detail-readable .lineup-bench-player-trigger {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
}

body[data-page="match"].match-detail-readable button.lineup-stats-row {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0.42rem 0.65rem;
  font: inherit;
  color: inherit;
  text-align: inherit;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

body[data-page="match"].match-detail-readable button.lineup-stats-row:hover,
body[data-page="match"].match-detail-readable .lineup-player-trigger:hover .lineup-node-name,
body[data-page="match"].match-detail-readable .lineup-bench-player-trigger:hover {
  filter: brightness(1.06);
}

body.lineup-player-modal-open {
  overflow: hidden;
}

body[data-page="match"].match-detail-readable .lineup-player-modal[hidden] {
  display: none !important;
}

body[data-page="match"].match-detail-readable .lineup-player-modal {
  position: fixed;
  inset: 0;
  z-index: 12060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
}

body[data-page="match"].match-detail-readable .lineup-player-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 8, 16, 0.78);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

body[data-page="match"].match-detail-readable .lineup-player-modal-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  max-height: min(84vh, 680px);
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, #0e1a28 0%, #061019 100%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  padding: 1rem 1rem 1.2rem;
  margin: 0 auto;
}

body[data-page="match"].match-detail-readable .lineup-player-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.7rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

body[data-page="match"].match-detail-readable .lineup-player-modal-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 0.85rem;
  padding-right: 2rem;
}

body[data-page="match"].match-detail-readable .lineup-player-modal-photo {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
}

body[data-page="match"].match-detail-readable .lineup-player-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-page="match"].match-detail-readable .lineup-player-modal-rating {
  position: absolute;
  right: -0.35rem;
  bottom: -0.2rem;
}

body[data-page="match"].match-detail-readable .lineup-player-rating--modal {
  min-width: 2rem;
  height: 1.45rem;
  font-size: 0.72rem;
  border-radius: 7px;
}

body[data-page="match"].match-detail-readable .lineup-player-modal-meta h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  line-height: 1.2;
}

body[data-page="match"].match-detail-readable .lineup-player-modal-team,
body[data-page="match"].match-detail-readable .lineup-player-modal-club {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  margin: 0.15rem 0 0;
}

body[data-page="match"].match-detail-readable .lineup-player-modal-club {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18rem;
}

body[data-page="match"].match-detail-readable .lineup-player-modal-club-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

body[data-page="match"].match-detail-readable .lineup-player-modal-club-value {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

body[data-page="match"].match-detail-readable .lineup-player-modal-team img,
body[data-page="match"].match-detail-readable .lineup-player-modal-club-value img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

body[data-page="match"].match-detail-readable .lineup-player-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.45rem 0;
}

body[data-page="match"].match-detail-readable .lineup-player-modal-tags span {
  display: inline-flex;
  align-items: center;
  padding: 0.14rem 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.68rem;
  font-weight: 700;
}

body[data-page="match"].match-detail-readable .lineup-player-modal-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

body[data-page="match"].match-detail-readable .lineup-player-modal-stat {
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-page="match"].match-detail-readable .lineup-player-modal-stat span {
  display: block;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.18rem;
}

body[data-page="match"].match-detail-readable .lineup-player-modal-stat strong {
  font-size: 0.92rem;
  color: #fff;
}

body[data-page="match"].match-detail-readable .lineup-player-modal-empty {
  padding: 0.85rem 0.35rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
}

body[data-page="match"] .match-hero-confidence {
  display: inline-flex;
  align-items: center;
}

body[data-page="match"] .gg-md-confidence-explainer {
  margin-left: 0.15rem;
}

/* Pick publication meta strip: Published · Kick-off · @odds · Locked · CLV */
body[data-page="match"].match-detail-readable .gg-pick-publication-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  margin: 0.55rem 0 0;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 16, 28, 0.72);
  font-size: 0.72rem;
  line-height: 1.35;
  color: #9db2c7;
}

body[data-page="match"].match-detail-readable .gg-md-tip-section .gg-pick-publication-strip {
  margin-top: 0.15rem;
  margin-bottom: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.68rem;
  gap: 0.25rem 0.35rem;
  color: rgba(255, 255, 255, 0.52);
}

body[data-page="match"].match-detail-readable .gg-md-tip-section .gg-pub-meta-label {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.38);
}

body[data-page="match"].match-detail-readable .gg-md-tip-section .gg-pub-meta-odds {
  color: rgba(255, 255, 255, 0.82);
}

body[data-page="match"].match-detail-readable .match-mobile-publication-strip {
  width: 100%;
  margin-top: 0.45rem;
}

body[data-page="match"].match-detail-readable .match-mobile-publication-strip .gg-pick-publication-strip {
  margin: 0;
}

body[data-page="match"].match-detail-readable .gg-pub-meta-part {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

body[data-page="match"].match-detail-readable .gg-pub-meta-label {
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.64rem;
  color: #7f95ab;
}

body[data-page="match"].match-detail-readable .gg-pub-meta-sep {
  color: rgba(255, 255, 255, 0.28);
  user-select: none;
}

body[data-page="match"].match-detail-readable .gg-pub-meta-odds {
  font-weight: 700;
  color: #e8f1fa;
}

body[data-page="match"].match-detail-readable .gg-pub-meta-lock {
  font-weight: 600;
  color: #c8d6e5;
}

body[data-page="match"].match-detail-readable .gg-pub-meta-part.is-muted {
  color: #7f95ab;
  font-style: italic;
}

body[data-page="match"].match-detail-readable .gg-pub-meta-clv.is-positive {
  font-weight: 700;
  color: #35e0c2;
}

body[data-page="match"].match-detail-readable .gg-pub-meta-clv.is-negative {
  font-weight: 700;
  color: #ff6b7a;
}

body[data-page="match"].match-detail-readable .gg-pub-meta-clv.is-neutral {
  font-weight: 700;
  color: #9db2c7;
}

@media (max-width: 760px) {
  body[data-page="match"].match-detail-readable .gg-pick-publication-strip {
    font-size: 0.68rem;
    padding: 0.4rem 0.55rem;
    gap: 0.28rem 0.35rem;
  }

  body[data-page="match"].match-detail-readable .gg-pub-meta-part {
    white-space: normal;
  }
}
.gg-standings-data-alert {
  display: grid;
  gap: 5px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(245, 158, 11, 0.48);
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--gg-text, #f4f7fb);
}

.gg-standings-data-alert strong {
  color: #fbbf24;
  font-size: 0.9rem;
}

.gg-standings-data-alert span {
  color: var(--gg-text-muted, #aab7c7);
  font-size: 0.82rem;
  line-height: 1.45;
}

.gg-standings-data-alert a {
  width: fit-content;
  color: #fcd34d;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.gg-standings-data-alert a:hover {
  text-decoration: underline;
}

.gg-standings-data-alert--provisional {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(14, 165, 233, 0.09);
}

.gg-standings-data-alert--provisional strong,
.gg-standings-data-alert--provisional a {
  color: #7dd3fc;
}
