:root {
  --bg: #0b0f1a;
  --panel: #111827;
  --panel-alt: #0f1729;
  --border: rgba(255, 255, 255, 0.06);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #60a5fa;
  --accent-2: #a855f7;
  --accent-3: #34d399;
  --pill: rgba(96, 165, 250, 0.15);
  --danger: #f87171;
  --warning: #fbbf24;
  --success: #22c55e;
  --shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at 20% 20%, rgba(96, 165, 250, 0.12), transparent 30%),
    radial-gradient(circle at 80% 0%, rgba(168, 85, 247, 0.1), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(52, 211, 153, 0.1), transparent 30%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

.hero {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.meta {
  color: var(--muted);
  font-size: 14px;
}

.nav {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  gap: 6px;
}

.nav__item {
  color: var(--muted);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  transition: all 0.2s ease;
  font-weight: 600;
}

.nav__item--active {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.3), rgba(168, 85, 247, 0.25));
  color: var(--text);
  box-shadow: 0 10px 30px rgba(96, 165, 250, 0.25);
}

.panel {
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.9), rgba(9, 12, 20, 0.92));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.panel__header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.badge {
  padding: 8px 12px;
  background: rgba(52, 211, 153, 0.15);
  color: var(--text);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
}

.badge--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border);
  color: var(--muted);
}

.pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 12px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-weight: 600;
}

.pill--accent {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(168, 85, 247, 0.18));
  border-color: rgba(96, 165, 250, 0.4);
}

.pill--warning {
  background: rgba(251, 191, 36, 0.16);
  border-color: rgba(251, 191, 36, 0.32);
}

.pill--danger {
  background: rgba(248, 113, 113, 0.16);
  border-color: rgba(248, 113, 113, 0.32);
}

.tag {
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  color: var(--muted);
  font-size: 12px;
  border: 1px solid var(--border);
}

.teams {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0 auto 12px;
  max-width: 1080px;
  width: 100%;
}

.teams__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  gap: 16px;
  width: 100%;
}

.team {
  background: var(--panel-alt);
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 16px;
  text-align: center;
  min-height: 140px;
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: center;
  align-items: start;
  position: relative;
  width: 100%;
}

.team__crest {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  padding-inline: 16px;
}

.team__logo {
  width: 72px;
  height: 72px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 60%);
  border-radius: 14px;
  margin: 0 auto;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.team__name {
  font-weight: 700;
  font-size: 16px;
}

.team__record {
  color: var(--muted);
  font-size: 13px;
}

.team__possession {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35));
}

.team__possession--left {
  left: -10px;
}

.team__possession--right {
  right: -10px;
}

.team--has-ball .team__possession {
  opacity: 1;
  transform: translateY(-50%) scale(1.05);
}

.score {
  text-align: center;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.08), rgba(168, 85, 247, 0.08));
  border-radius: 16px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  justify-self: center;
  min-width: 280px;
  width: 100%;
  max-width: 440px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  align-items: center;
  margin-inline: auto;
}

.score__line {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  gap: 10px;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 1px;
}

.score__team {
  position: relative;
  min-width: 92px;
  text-align: center;
  display: grid;
  place-items: center;
}

.score__center {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-width: 72px;
}

.score__value {
  display: inline-block;
}

.score__value--bump {
  animation: scoreRise 0.65s ease;
}

.score__divider {
  color: var(--muted);
  font-weight: 400;
  margin: 0 8px;
}

.score__meta {
  margin-top: 6px;
  display: flex;
  gap: 12px;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
}

.score__ticker {
  margin-top: 6px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 760px;
  justify-content: center;
}

.ticker {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(17, 24, 39, 0.6));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 6px;
}

.ticker__label {
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  font-size: 11px;
}

.ticker__value {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 16px;
}

.ticker__clock {
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  letter-spacing: 0.6px;
  animation: pulseClock 1s steps(2, jump-none) infinite;
}

.ticker__pill {
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(96, 165, 250, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.35);
  font-weight: 700;
  font-size: 14px;
}

.ticker__pill--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.24);
}

.ticker__sub {
  color: var(--text);
  font-weight: 700;
}

.ticker__ball {
  font-size: 18px;
  opacity: 0.4;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.45));
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.ticker__ball--active {
  opacity: 1;
  transform: translateY(-1px) scale(1.05);
}

.ticker--down .ticker__pill {
  background: rgba(52, 211, 153, 0.14);
  border-color: rgba(52, 211, 153, 0.35);
}

.ticker--clock .ticker__pill {
  background: rgba(168, 85, 247, 0.16);
  border-color: rgba(168, 85, 247, 0.35);
}

.ticker--poss .ticker__pill {
  background: rgba(96, 165, 250, 0.12);
}

.score__delta {
  position: absolute;
  top: -10px;
  right: -12px;
  font-size: 14px;
  color: var(--success);
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.score__delta--show {
  opacity: 1;
  transform: translateY(0);
}

.chart-card {
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 12px 6px;
}

.chart-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.chart-card__title {
  font-weight: 700;
}

.chart-card__subtitle {
  color: var(--muted);
  font-size: 13px;
}

.chip {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 12px;
}

#winProbChart {
  height: 220px !important;
  max-height: 220px;
}

.insights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.insight {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
}

.insight__label {
  color: var(--muted);
  font-size: 12px;
}

.insight__value {
  font-weight: 700;
  margin-top: 2px;
}

.live-stats {
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.live-stats__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.live-stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.live-stat-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(17, 24, 39, 0.55));
  display: grid;
  gap: 8px;
}

.live-stat-card__heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.live-stat-card__values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}

.state {
  margin-top: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed var(--border);
  border-radius: 10px;
  color: var(--muted);
  font-weight: 600;
}

.state--loading {
  color: var(--text);
}

.state--error {
  color: var(--danger);
  border-color: rgba(248, 113, 113, 0.3);
}

.table-container {
  position: relative;
  overflow: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.table thead {
  position: sticky;
  top: 0;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(4px);
}

.table th,
.table td {
  padding: 12px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.table th {
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}

.table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.table tbody tr:hover {
  background: rgba(96, 165, 250, 0.06);
}

.table .player {
  display: flex;
  align-items: center;
  gap: 10px;
}

.table .player__avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.12), rgba(168, 85, 247, 0.1));
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--text);
  border: 1px solid var(--border);
}

.table .team-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px 8px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--text);
}

.table .record {
  color: var(--muted);
  font-size: 12px;
}

.table .details {
  font-size: 13px;
  color: var(--muted);
}

.standings-team {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.standings-team__logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: none;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  box-shadow: none;
}

.standings-team__name {
  font-weight: 700;
}

.expand-btn {
  padding: 8px 12px;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.32);
  color: var(--text);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.detail-row {
  background: rgba(255, 255, 255, 0.03);
}

.hidden {
  display: none;
}

.tab {
  display: none;
}

.tab--active {
  display: block;
}

.team--loser {
  filter: grayscale(0.85) brightness(0.75);
  opacity: 0.75;
}

.team--winner {
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.4), var(--shadow);
}

.breakdown {
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: radial-gradient(circle at 10% 10%, rgba(96, 165, 250, 0.06), transparent 30%), rgba(255, 255, 255, 0.02);
}

.breakdown__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.breakdown__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.breakdown-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(17, 24, 39, 0.6));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.breakdown-card__heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-weight: 700;
}

.breakdown-card__values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}

.breakdown-card__note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.breakdown-card__stat {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 4px;
}

.breakdown-card--meta {
  display: grid;
  gap: 6px;
  place-content: center;
  text-align: center;
}

.breakdown-card__meta-value {
  font-size: 20px;
  font-weight: 800;
}

.team-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  min-width: 0;
  width: 100%;
  justify-content: center;
}

.team-stat--left {
  border-color: rgba(96, 165, 250, 0.35);
}

.team-stat--right {
  border-color: rgba(168, 85, 247, 0.35);
}

.team-stat__logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 60%);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
}

.team-stat__value {
  font-weight: 700;
}

.news-feed {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.news-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}

.news-card__image {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.news-card__headline {
  font-weight: 700;
  margin-bottom: 4px;
}

.news-card__meta {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  flex-wrap: wrap;
}

.news-card__body {
  color: var(--text);
  margin-top: 6px;
}

.bracket {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bracket__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.bracket__round {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(15, 23, 42, 0.8));
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.bracket__round::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -20%;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.15), transparent 65%);
  transform: rotate(8deg);
  pointer-events: none;
}

.bracket__round--final {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.08), rgba(168, 85, 247, 0.08));
  box-shadow: 0 12px 40px rgba(96, 165, 250, 0.12);
}

.bracket__round-title {
  font-weight: 700;
  color: var(--text);
}

.bracket__matchup {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bracket__connector {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.bracket__note {
  color: var(--muted);
  font-size: 12px;
}

.seed-chip {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.seed-chip__logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 65%);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
}

.seed-chip__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.seed-chip__name {
  font-weight: 700;
}

.seed-chip__seed {
  color: var(--muted);
  font-size: 12px;
}

.bracket__eliminated {
  margin-top: 10px;
  padding: 10px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 50;
}

.overlay[hidden] {
  display: none;
}

.overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
}

.overlay__content {
  position: relative;
  width: min(1100px, 96vw);
  max-height: 90vh;
  overflow: auto;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.95), rgba(11, 15, 26, 0.92));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  padding: 18px;
}

.overlay__close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  width: 32px;
  height: 32px;
  font-size: 16px;
  cursor: pointer;
}

.detail {
  display: grid;
  gap: 12px;
}

.detail__header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.detail__title {
  font-size: 18px;
  font-weight: 800;
}

.detail__subtitle {
  color: var(--muted);
  font-size: 13px;
}

.detail__badge {
  padding: 8px 12px;
  background: rgba(96, 165, 250, 0.14);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 12px;
  font-weight: 700;
}

.detail__body {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.detail__team,
.detail__player-detail {
  width: 100%;
}

.detail__players {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.team-summary__card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.team-summary__crest {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 60%);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
}

.team-summary__name {
  font-size: 18px;
  font-weight: 800;
}

.team-summary__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

.player-chip {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
  width: 100%;
  text-align: left;
  color: var(--text);
}

.player-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.5);
}

.player-chip__body {
  display: grid;
  gap: 2px;
}

.player-chip__name {
  font-weight: 700;
}

.player-chip__meta {
  color: var(--muted);
  font-size: 12px;
}

.player-detail-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 12px;
}

.player-detail-card__header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.player-detail-card__name {
  font-size: 18px;
  font-weight: 800;
}

.player-detail-card__sub {
  color: var(--muted);
  font-size: 12px;
}

.player-detail-card__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

.player-detail-card__stat {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.player-detail-card__stat-label {
  color: var(--muted);
  font-size: 12px;
}

.player-detail-card__stat-value {
  font-weight: 700;
  margin-top: 2px;
}

.player-modal {
  display: grid;
  gap: 14px;
}

.player-modal__header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.player-modal__title {
  font-size: 18px;
  font-weight: 800;
}

.player-modal__subtitle {
  color: var(--muted);
  font-size: 13px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.player-modal__badge {
  padding: 8px 12px;
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 12px;
  font-weight: 700;
}

.player-modal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.player-modal__stat {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.player-modal__stat-label {
  color: var(--muted);
  font-size: 12px;
}

.player-modal__stat-value {
  font-weight: 700;
  margin-top: 2px;
}

.player__avatar--photo {
  background-size: cover !important;
  background-position: center !important;
  color: transparent;
}

.standings-row {
  cursor: pointer;
}

.standings-row:hover {
  background: rgba(96, 165, 250, 0.08);
}

@keyframes scoreRise {
  0% {
    transform: translateY(10px);
    opacity: 0.6;
  }
  60% {
    transform: translateY(-4px);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulseClock {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0.75;
  }
}

@media (max-width: 900px) {
  .teams {
    max-width: 540px;
    width: 100%;
  }

  .teams__row {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
  }

  .nav__item {
    flex: 1;
    text-align: center;
  }
}
