/* ─── TOKENS ─── */
:root {
  --bg-deep:    #060a0e;
  --bg-surface: #0d1520;
  --bg-card:    rgba(13, 21, 32, 0.85);
  --green:      #00d47e;
  --blue:       #3b82f6;
  --gold:       #f59e0b;
  --red:        #ef4444;
  --grad:       linear-gradient(135deg, #00d47e 0%, #3b82f6 100%);
  --border-glass: rgba(0, 212, 126, 0.12);
  --border-dim:   rgba(255, 255, 255, 0.06);
  --text:       #f0f4f8;
  --text-muted: #6b7a8d;
  --text-dim:   #3d4f63;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  min-height: 100vh;
  position: relative;
}
body::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 600px 600px at -100px -200px, rgba(0,212,126,0.07), transparent),
    radial-gradient(ellipse 500px 500px at calc(100% + 100px) calc(100% + 100px), rgba(59,130,246,0.07), transparent);
}
a { color: var(--green); text-decoration: none; }
a:hover { opacity: 0.8; }

/* ─── LAYOUT ─── */
.container { width: min(1240px, 94vw); margin: 0 auto; }
main { position: relative; z-index: 1; padding: 2rem 0 4rem; }

/* ─── NAV ─── */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 10, 14, 0.88);
  backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border-dim);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 0; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em;
}
.brand-text { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  color: var(--text-muted); padding: 6px 12px; border-radius: 8px;
  border: 1px solid transparent; font-size: 0.875rem; font-weight: 500;
  transition: all 0.2s;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,0.06); border-color: var(--border-dim); opacity: 1; }
.nav a.active { color: var(--green); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.live-badge {
  display: flex; align-items: center; gap: 6px;
  background: rgba(0,212,126,0.1); border: 1px solid rgba(0,212,126,0.25);
  color: var(--green); padding: 5px 12px; border-radius: 20px;
  font-size: 0.78rem; font-weight: 600;
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  animation: blink 1.4s ease infinite;
}
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }
.btn-cta {
  background: var(--grad); color: #000; font-weight: 700; font-size: 0.82rem;
  border: none; padding: 7px 14px; border-radius: 8px; cursor: pointer;
  font-family: inherit; transition: opacity 0.2s; text-decoration: none;
  display: inline-flex; align-items: center;
}
.btn-cta:hover { opacity: 0.82; color: #000; }

/* ─── HERO ─── */
.hero {
  border-radius: 20px; padding: 2.5rem; margin-bottom: 2rem;
  position: relative; overflow: hidden;
  background: rgba(13, 21, 32, 0.8);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
}
.hero::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; background:var(--grad); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,212,126,0.1); border: 1px solid rgba(0,212,126,0.25);
  color: var(--green); padding: 4px 12px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.04em;
  line-height: 1.1; margin-bottom: 0.5rem;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.75rem; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.hero-stat {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border-dim);
  border-radius: 12px; padding: 1rem 1.25rem; transition: border-color 0.2s;
}
.hero-stat:hover { border-color: var(--border-glass); }
.hero-stat-val { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.04em; color: var(--text); }
.hero-stat-val.accent { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-stat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; font-weight: 500; }

/* ─── CARDS ─── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: 16px; overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: rgba(0,212,126,0.18); }
.card--glass { backdrop-filter: blur(20px); }
.card--featured { position: relative; overflow: visible; }
.card--featured::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; background:var(--grad); border-radius:2px 2px 0 0; }
.card-header { padding: 1rem 1.25rem 0.875rem; border-bottom: 1px solid var(--border-dim); }
.card-body { padding: 0.875rem 1.25rem 1.25rem; }
.card-title { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.card-title span { color: var(--green); }

/* ─── SECTION HEAD ─── */
.section-head { display: flex; align-items: center; justify-content: space-between; margin: 1.5rem 0 1rem; }
.section-title { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.section-title span { color: var(--green); }
.section-link { font-size: 0.78rem; color: var(--blue); opacity: 0.8; }
.section-link:hover { opacity: 1; color: var(--blue); }

/* ─── GRID ─── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.grid-players { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

/* ─── TABS ─── */
.tabs { display: flex; gap: 4px; }
.tab-btn {
  padding: 5px 12px; border-radius: 8px; font-size: 0.78rem; font-weight: 600;
  cursor: pointer; color: var(--text-muted); border: 1px solid transparent;
  background: none; font-family: inherit; transition: all 0.15s;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--text); background: rgba(255,255,255,0.07); border-color: var(--border-dim); }

/* ─── LEADERBOARD ROWS ─── */
.lb-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.035);
}
.lb-row:last-child { border-bottom: none; }
.rank-num { width: 24px; text-align: right; font-size: 0.8rem; font-weight: 700; color: var(--text-dim); flex-shrink: 0; }
.rank-num.gold   { color: var(--gold); }
.rank-num.silver { color: #94a3b8; }
.rank-num.bronze { color: #f97316; }

/* ─── AVATAR ─── */
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700; color: #000; flex-shrink: 0;
}
.avatar-lg {
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800; color: #000; flex-shrink: 0;
}
.player-info { flex: 1; min-width: 0; }
.player-name { font-size: 0.875rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-sub  { font-size: 0.72rem; color: var(--text-muted); }

/* ─── STAT PILLS ─── */
.pill { padding: 3px 9px; border-radius: 20px; border: 1px solid var(--border-dim); color: var(--text-muted); font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.pill-green { background: rgba(0,212,126,0.1); border-color: rgba(0,212,126,0.25); color: var(--green); }
.pill-blue  { background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.25); color: var(--blue); }
.pill-gold  { background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.25); color: var(--gold); }
.pill-red   { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.25); color: var(--red); }

/* ─── TIER BADGES ─── */
.tier-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 8px; font-size: 0.75rem; font-weight: 700; border: 1px solid; }
.tier-bronze  { background: rgba(180,83,9,.1);   border-color: rgba(180,83,9,.3);   color: #f97316; }
.tier-silver  { background: rgba(148,163,184,.08);border-color: rgba(148,163,184,.25);color: #94a3b8; }
.tier-gold    { background: rgba(245,158,11,.1);  border-color: rgba(245,158,11,.3);  color: var(--gold); }
.tier-platinum{ background: rgba(59,130,246,.1);  border-color: rgba(59,130,246,.3);  color: var(--blue); }
.tier-diamond { background: rgba(0,212,126,.1);   border-color: rgba(0,212,126,.3);   color: var(--green); }
.tier-master  { background: linear-gradient(135deg,rgba(245,158,11,.12),rgba(239,68,68,.12)); border-color: rgba(245,158,11,.35); color: var(--gold); }

/* ─── PRESTIGE BAR ─── */
.prestige-val { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.05em; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.prestige-bar-wrap { margin-top: 10px; }
.prestige-bar { height: 4px; border-radius: 2px; background: rgba(255,255,255,0.06); overflow: hidden; }
.prestige-bar-fill { height: 100%; border-radius: 2px; background: var(--grad); transition: width 0.8s ease; }
.prestige-sub { display: flex; justify-content: space-between; margin-top: 5px; font-size: 0.7rem; color: var(--text-dim); }

/* ─── ELO ROWS (ranking bars) ─── */
.elo-bar { height: 3px; border-radius: 2px; background: rgba(255,255,255,0.06); overflow: hidden; margin-top: 3px; }
.elo-bar-fill { height: 100%; border-radius: 2px; background: var(--grad); }
.elo-num { font-size: 0.78rem; font-weight: 700; color: var(--green); flex-shrink: 0; width: 52px; text-align: right; }

/* ─── MATCH CARDS ─── */
.match-card {
  background: var(--bg-card); border: 1px solid var(--border-dim);
  border-radius: 14px; padding: 1rem 1.25rem;
  transition: border-color 0.2s; cursor: pointer;
}
.match-card:hover { border-color: rgba(0,212,126,0.2); }
.match-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.match-seq  { font-size: 0.72rem; color: var(--text-dim); font-weight: 600; }
.match-time { font-size: 0.72rem; color: var(--text-dim); }
.match-score-wrap { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 0.75rem; }
.team-label { font-size: 0.78rem; font-weight: 600; flex: 1; }
.team-label.red  { color: #f87171; }
.team-label.blue { color: #60a5fa; text-align: right; }
.score-box { display: flex; align-items: center; background: rgba(255,255,255,0.04); border: 1px solid var(--border-dim); border-radius: 10px; padding: 6px 14px; gap: 8px; }
.score-num { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.04em; }
.score-num.red  { color: #f87171; }
.score-num.blue { color: #60a5fa; }
.score-sep { color: var(--text-dim); }
.match-footer { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.match-dur { font-size: 0.7rem; color: var(--text-dim); margin-left: auto; }

/* ─── PLAYER CARDS (grid) ─── */
.player-card {
  background: var(--bg-card); border: 1px solid var(--border-dim);
  border-radius: 14px; padding: 1.25rem; text-align: center;
  transition: border-color 0.2s, transform 0.2s; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.player-card:hover { border-color: rgba(0,212,126,0.2); transform: translateY(-2px); }
.player-card .player-name { font-size: 0.9rem; font-weight: 700; }
.player-card-stats { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.player-card-link { font-size: 0.75rem; color: var(--blue); margin-top: 4px; }

/* ─── PROFILE HEADER ─── */
.profile-header { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.profile-info { flex: 1; }
.profile-name { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 6px; }

/* ─── STATS GRID (profile) ─── */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border-dim); border-radius: 12px; padding: 1rem; text-align: center; }
.stat-card-val { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.04em; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-card-label { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

/* ─── SCORE HEADER (match detail) ─── */
.match-hero-score { display: flex; align-items: center; justify-content: center; gap: 24px; margin: 1rem 0; }
.score-lg { font-size: 3rem; font-weight: 800; letter-spacing: -0.05em; }
.score-lg.red  { color: #f87171; }
.score-lg.blue { color: #60a5fa; }
.score-dash { font-size: 2rem; color: var(--text-dim); }
.team-lg { font-size: 1rem; font-weight: 700; text-align: center; }
.team-lg.red  { color: #f87171; }
.team-lg.blue { color: #60a5fa; }

/* ─── MVP BADGE ─── */
.mvp-banner {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(239,68,68,0.1));
  border: 1px solid rgba(245,158,11,0.35); border-radius: 12px;
  padding: 8px 16px; color: var(--gold); font-weight: 700; font-size: 0.9rem;
  margin-top: 10px;
}

/* ─── RESULT BADGES ─── */
.result-win  { background: rgba(0,212,126,0.1);  border: 1px solid rgba(0,212,126,0.25);  color: var(--green); padding: 3px 9px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; }
.result-loss { background: rgba(239,68,68,0.1);  border: 1px solid rgba(239,68,68,0.25);  color: var(--red);   padding: 3px 9px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; }
.result-draw { background: rgba(255,255,255,0.06); border: 1px solid var(--border-dim);  color: var(--text-muted); padding: 3px 9px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; }
.delta-pos { color: var(--green); font-size: 0.78rem; font-weight: 700; }
.delta-neg { color: var(--red);   font-size: 0.78rem; font-weight: 700; }

/* ─── WINNER TEAM COLORS (legacy compat) ─── */
.winner-red  { color: #f87171; }
.winner-blue { color: #60a5fa; }
.winner-draw { color: var(--gold); }

/* ─── TABLE ─── */
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 8px; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.875rem; text-align: left; }
th { color: var(--text-muted); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
tr:hover td { background: rgba(0,212,126,0.04); transition: background 0.2s; }

/* ─── FILTER INPUT ─── */
.filter-input { width: 100%; padding: 11px 16px; border-radius: 12px; border: 1px solid var(--border-dim); background: rgba(255,255,255,0.03); color: var(--text); font-size: 0.95rem; font-family: inherit; outline: none; transition: all 0.2s; }
.filter-input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,212,126,0.12); }

/* ─── TIMELINE ─── */
.timeline { position: relative; max-width: 640px; margin: 1.25rem 0; padding-left: 36px; }
.timeline::before { content:''; position:absolute; left:13px; top:0; bottom:0; width:2px; background: linear-gradient(to bottom, var(--green), transparent); }
.timeline-item { position: relative; margin-bottom: 16px; display: flex; align-items: center; gap: 16px; animation: slideIn 0.4s ease-out both; }
.timeline-icon { position:absolute; left:-36px; width:28px; height:28px; border-radius:50%; background:var(--bg-surface); border:2px solid var(--border-dim); display:flex; align-items:center; justify-content:center; font-size:0.85rem; z-index:2; transition:transform .2s; }
.timeline-item:hover .timeline-icon { transform: scale(1.2); border-color: var(--green); }
.timeline-icon.goal      { border-color: var(--green);   background: rgba(0,212,126,0.15); }
.timeline-icon.own-goal  { border-color: var(--red);     background: rgba(239,68,68,0.15); }
.timeline-icon.assist    { border-color: var(--blue);    background: rgba(59,130,246,0.15); }
.timeline-content { flex:1; padding:10px 14px; background:rgba(255,255,255,0.02); border:1px solid var(--border-dim); border-radius:12px; display:flex; flex-direction:column; gap:3px; transition:background .2s; }
.timeline-content:hover { background: rgba(255,255,255,0.04); }
.timeline-time { font-size:.78rem; color:var(--text-muted); font-weight:700; }
@keyframes slideIn { from{opacity:0;transform:translateX(-10px)} to{opacity:1;transform:translateX(0)} }

/* ─── COMMANDS ─── */
.cmd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.cmd-card { background: rgba(255,255,255,0.025); border: 1px solid var(--border-dim); border-radius: 12px; padding: 1rem; display: flex; gap: 10px; align-items: flex-start; transition: border-color .2s; }
.cmd-card:hover { border-color: rgba(0,212,126,0.2); }
.cmd-name { font-size: 0.875rem; font-weight: 700; color: var(--text); font-family: monospace; background: rgba(0,212,126,0.08); padding: 2px 6px; border-radius: 4px; white-space: nowrap; }
.cmd-desc { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }
.cmd-alias { font-size: 0.72rem; color: var(--text-dim); margin-top: 5px; font-style: italic; }

/* ─── RANKED PODIUM ─── */
.podium { display: flex; gap: 16px; justify-content: center; align-items: flex-end; margin: 2rem 0; }
.podium-card { text-align: center; border-radius: 16px; border: 1px solid var(--border-dim); padding: 1.5rem 1rem; background: var(--bg-card); }
.podium-1 { border-color: rgba(245,158,11,0.35); background: linear-gradient(180deg, rgba(245,158,11,0.08), var(--bg-card)); }
.podium-2, .podium-3 { opacity: 0.9; }

/* ─── TEAM FLAGS (bandeirinhas dos clubes) ─── */
.team-flag {
  display: inline-block; width: 22px; height: 15px; border-radius: 3px;
  vertical-align: middle; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
/* Flamengo – vermelho/preto diagonal */
.tf-flamengo    { background: linear-gradient(135deg, #e10600 50%, #111 50%); }
/* Palmeiras – verde */
.tf-palmeiras   { background: #00652b; border-color: rgba(255,255,255,0.2); }
/* Corinthians – branco/preto diagonal */
.tf-corinthians { background: linear-gradient(135deg, #efefef 50%, #111 50%); }
/* Vasco – preto/branco diagonal */
.tf-vasco       { background: linear-gradient(135deg, #111 50%, #efefef 50%); }
/* Santos – branco com borda */
.tf-santos      { background: #f5f5f5; border-color: rgba(0,0,0,0.25); }
/* Fluminense – grená/verde/branco em faixas verticais */
.tf-fluminense  { background: linear-gradient(to right, #8B0000 33%, #3B5323 33%, #3B5323 66%, #f5f5f5 66%); }
/* São Paulo – faixas horizontais vermelho/branco/preto */
.tf-saopaulo    { background: linear-gradient(to bottom, #CC0000 33%, #f5f5f5 33%, #f5f5f5 66%, #111 66%); }
/* Botafogo – horizontal preto/branco */
.tf-botafogo    { background: linear-gradient(to bottom, #111 50%, #f5f5f5 50%); }
/* Grêmio – azul/preto/cinza diagonal */
.tf-gremio      { background: linear-gradient(135deg, #003B8E 40%, #111 40%, #111 60%, #9e9e9e 60%); }
/* Internacional – vermelho */
.tf-inter       { background: #CC0000; }
/* Cruzeiro – azul escuro */
.tf-cruzeiro    { background: #003087; }
/* Atlético MG – preto/branco xadrez 2×2 */
.tf-atletico    { background:
    linear-gradient(to right, #111 25%, transparent 25%) 0 0 / 50% 50%,
    linear-gradient(to right, transparent 75%, #111 75%) 0 0 / 50% 50%,
    linear-gradient(to right, #111 25%, transparent 25%) 0 50% / 50% 50%,
    linear-gradient(to right, transparent 75%, #111 75%) 0 50% / 50% 50%,
    #efefef; }
/* Sport – vermelho/preto diagonal */
.tf-sport       { background: linear-gradient(135deg, #CC0000 50%, #111 50%); }
/* Bahia – azul/branco horizontal */
.tf-bahia       { background: linear-gradient(to bottom, #003087 50%, #f5f5f5 50%); }
/* Fortaleza – vermelho/azul/branco diagonal */
.tf-fortaleza   { background: linear-gradient(135deg, #CC0000 33%, #003087 33%, #003087 66%, #f5f5f5 66%); }
/* Ceará – branco/preto horizontal */
.tf-ceara       { background: linear-gradient(to bottom, #f5f5f5 50%, #111 50%); }
/* Goiás – verde/branco */
.tf-goias       { background: linear-gradient(to right, #006600 50%, #f5f5f5 50%); }

/* ─── LIVE PANEL ─── */
.live-status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.25rem; border-bottom: 1px solid var(--border-dim);
}
.live-indicator { display: flex; align-items: center; gap: 7px; }
.live-dot-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  animation: blink 1.4s ease infinite;
}
.live-count { font-size: 0.8rem; color: var(--text-muted); }
.live-teams { display: grid; grid-template-columns: 1fr 1fr; }
.live-team-col {
  padding: 0.875rem 1.25rem;
  min-height: 80px;
}
.live-team-col + .live-team-col { border-left: 1px solid var(--border-dim); }
.live-team-header {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 8px;
}
.live-player-row {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.82rem; padding: 3px 0;
  border-bottom: 1px solid rgba(255,255,255,0.035);
}
.live-player-row:last-child { border-bottom: none; }
.live-pldot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.live-specs {
  padding: 0.625rem 1.25rem; border-top: 1px solid var(--border-dim);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 0.78rem; color: var(--text-muted); min-height: 40px;
}
.live-footer {
  padding: 0.875rem 1.25rem; border-top: 1px solid var(--border-dim);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.live-refresh { font-size: 0.68rem; color: var(--text-dim); }

/* ─── FOOTER ─── */
.footer { color: var(--text-dim); font-size: 0.8rem; border-top: 1px solid var(--border-dim); padding: 1.25rem 0 2rem; margin-top: 2rem; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 980px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-players { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-players { grid-template-columns: repeat(2, 1fr); }
  .match-hero-score { gap: 12px; }
  .score-lg { font-size: 2rem; }
}
