:root {
  --bg: #0f172a;
  --surface: #1e293b;
  --surface2: #263348;
  --border: #334155;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --gold: #f59e0b;
  --gold-light: #fcd34d;
  --green: #22c55e;
  --red: #ef4444;
  --blue: #3b82f6;
  --connector: #475569;
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  line-height: 1.5;
}

/* ── HEADER ── */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-title span.trophy { margin-right: 8px; font-size: 1.4rem; }

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}



.country-select {
  background: var(--bg);
  color: var(--text);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  padding: 6px 10px;
  font-size: 0.85rem;
  cursor: pointer;
  outline: none;
  max-width: 180px;
  transition: border-color 0.2s;
}
.country-select:hover, .country-select:focus { border-color: var(--gold-light); }

/* ── TABS ── */
.tabs-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 64px;
  z-index: 99;
}

.tabs-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs-inner::-webkit-scrollbar { display: none; }

.tab-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 24px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  letter-spacing: 0.01em;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ── MAIN CONTENT ── */
.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── GROUP FILTERS ── */
.group-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  padding: 10px 0 14px;
}

/* ── TEAM MULTI-SELECT ── */
.team-multiselect { position: relative; }

.team-ms-trigger {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.team-ms-trigger:hover { color: var(--text); border-color: var(--text); }
.team-ms-trigger.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

.team-ms-panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 200;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  width: 300px;
  max-height: 280px;
  overflow-y: auto;
  flex-wrap: wrap;
  gap: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.team-ms-panel.open { display: flex; }

.team-chip {
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  white-space: nowrap;
  transition: all 0.12s;
}
.team-chip:hover { border-color: var(--text); color: var(--text); }
.team-chip.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

@media (max-width: 480px) {
  .team-ms-panel { width: calc(100vw - 32px); max-height: 240px; }
}

/* ── GROUP GRID ── */
.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.group-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.group-card-header {
  background: linear-gradient(135deg, #1a2744 0%, #1e2d4a 100%);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.group-letter {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.group-status-badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.group-status-badge.complete { background: rgba(34,197,94,0.2); color: var(--green); }
.group-status-badge.ongoing  { background: rgba(245,158,11,0.2); color: var(--gold); }
.group-status-badge.upcoming { background: rgba(148,163,184,0.15); color: var(--muted); }

/* Standings table */
.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.standings-table th {
  color: var(--muted);
  font-weight: 600;
  text-align: center;
  padding: 6px 4px;
  border-bottom: 1px solid var(--border);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.standings-table th:first-child { text-align: left; padding-left: 16px; }

.standings-table td {
  text-align: center;
  padding: 6px 4px;
  color: var(--text);
  transition: background 0.15s;
}
.standings-table td:first-child {
  text-align: left;
  padding-left: 16px;
  max-width: 130px;
}

.standings-table tr:not(:last-child) td { border-bottom: 1px solid rgba(51,65,85,0.5); }
.standings-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }

.standings-row.qualifying td {
  background: rgba(34,197,94,0.05);
}
.standings-row.qualifying td:first-child {
  border-left: 3px solid var(--green);
  padding-left: 13px;
}
.standings-row.qualified td:first-child { border-left-color: var(--gold); }

.team-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.team-cell .flag { font-size: 1rem; flex-shrink: 0; }
.team-cell .tname { font-weight: 500; overflow: hidden; text-overflow: ellipsis; }

.pts-cell { font-weight: 700; color: var(--gold-light); }

/* Group matches */
.group-matches { padding: 0 0 4px; }

.matchday-section { padding: 8px 0 2px; }

.matchday-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px;
  cursor: pointer;
  transition: background 0.15s;
}
.matchday-header:hover { background: rgba(255,255,255,0.04); }

.matchday-label {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.matchday-toggle {
  background: none;
  border: 1px solid rgba(245,158,11,0.35);
  border-radius: 12px;
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 700;
  padding: 2px 10px;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.matchday-header:hover .matchday-toggle {
  background: rgba(245,158,11,0.12);
  border-color: var(--gold);
}

.match-row {
  display: flex;
  align-items: center;
  padding: 6px 16px;
  gap: 6px;
  font-size: 0.82rem;
  border-top: 1px solid rgba(51,65,85,0.3);
  transition: background 0.15s;
}
.match-row:hover { background: rgba(255,255,255,0.03); }

.match-row-teams {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.match-team {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.match-team.right { flex-direction: row-reverse; }
.match-team .flag { font-size: 0.95rem; flex-shrink: 0; }
.match-team .tname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.8rem; }

.match-score {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  min-width: 44px;
  justify-content: center;
}

.score-num {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
  width: 16px;
  text-align: center;
}
.score-sep { color: var(--muted); font-size: 0.85rem; }
.score-dash { color: var(--muted); font-size: 0.75rem; white-space: nowrap; }

.match-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  min-width: 72px;
}
.match-time { font-size: 0.75rem; color: var(--gold); font-weight: 600; }
.match-time.est { color: var(--muted); }
.match-venue-sm { font-size: 0.65rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100px; }

/* ── BRACKET ── */
.bracket-container { padding: 16px 0; }

.bracket-scroll {
  overflow-x: auto;
  overflow-y: visible;
  padding: 24px 8px;
  min-height: 600px;
}

.bracket {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: max-content;
}

.bracket-half {
  display: flex;
  align-items: stretch;
}
.bracket-half.left  { flex-direction: row; }
.bracket-half.right { flex-direction: row-reverse; }

.bracket-round {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  flex-shrink: 0;
  width: 195px;
  padding: 0 8px;
}

.round-header {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 0 8px;
  flex-shrink: 0;
}

.round-matches {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  flex: 1;
  gap: 8px;
}

.matchup {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  flex: 1;
  position: relative;
  gap: 4px;
}

/* Connector lines: feeder per card → vertical bracket elbow → outgoing to next round */
.card-wrap {
  position: relative;
}

.bracket-half.left .card-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -8px;
  width: 8px;
  height: 1px;
  background: var(--connector);
  pointer-events: none;
}

.bracket-half.right .card-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -8px;
  width: 8px;
  height: 1px;
  background: var(--connector);
  pointer-events: none;
}

/* Vertical bracket elbow */
.bracket-half.left .matchup::before {
  content: '';
  position: absolute;
  right: -9px;
  top: 26%;
  height: 48%;
  width: 1px;
  background: var(--connector);
}

.bracket-half.right .matchup::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 26%;
  height: 48%;
  width: 1px;
  background: var(--connector);
}

/* Outgoing horizontal line from elbow to next round */
.bracket-half.left .matchup::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 50%;
  width: 8px;
  height: 1px;
  background: var(--connector);
}

.bracket-half.right .matchup::after {
  content: '';
  position: absolute;
  left: -16px;
  top: 50%;
  width: 8px;
  height: 1px;
  background: var(--connector);
}

/* Hide connectors on single-card matchups (SF) and innermost rounds */
.matchup.single::before,
.matchup.single::after,
.matchup.single .card-wrap::after,
.no-connector .matchup::before,
.no-connector .matchup::after,
.no-connector .card-wrap::after {
  display: none;
}

.match-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  cursor: default;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}
.match-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(245,158,11,0.15);
}

.match-card.card-live {
  border-left: 3px solid var(--red);
  box-shadow: 0 0 10px rgba(239,68,68,0.2);
}
.match-card.card-finished {
  border-left: 3px solid rgba(34,197,94,0.45);
}

.card-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  animation: pulse 1.2s infinite;
}

.match-card-team {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  min-height: 30px;
}
.match-card-team:first-child {
  border-bottom: 1px solid var(--border);
}

.match-card-team .flag { font-size: 1rem; flex-shrink: 0; }
.match-card-team .cname { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.match-card-team .cname.known { color: var(--text); }
.match-card-team .cscore {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text);
  min-width: 18px;
  text-align: right;
}

.match-card-team.winner .cname { color: var(--gold); font-weight: 700; }
.match-card-team.winner .cscore { color: var(--gold-light); }

.match-card-footer {
  padding: 4px 10px;
  background: rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.match-card-no {
  font-size: 0.65rem;
  color: var(--muted);
  font-weight: 600;
}
.match-card-time {
  font-size: 0.65rem;
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
}
.match-card-time.est { color: var(--muted); }
.match-card-venue-sm {
  font-size: 0.6rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 80px;
  text-align: right;
}

/* Bracket center */
.bracket-center {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
}

.center-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 4px;
}

.final-card {
  width: 210px;
  background: linear-gradient(135deg, #1a2744 0%, #1e2d4a 100%);
  border: 2px solid var(--gold);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 24px rgba(245,158,11,0.2);
}

.final-card .match-card-footer {
  background: rgba(245,158,11,0.1);
}

.third-card {
  width: 210px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.center-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

/* ── SCHEDULE ── */
.schedule-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  align-items: center;
}

.filter-group {
  display: flex;
  gap: 6px;
  align-items: center;
}

.filter-label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.filter-btn:hover { color: var(--text); border-color: var(--text); }
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

.filter-select {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 0.8rem;
  cursor: pointer;
  outline: none;
}
.filter-select:focus { border-color: var(--gold); }

.schedule-body { display: flex; flex-direction: column; gap: 0; }

.date-group { margin-bottom: 24px; }

.date-header {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 8px 0 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.match-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 8px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  transition: border-color 0.15s;
}
.match-item:hover { border-color: var(--connector); }

.match-item-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 56px;
}

.round-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}
.round-badge.group  { background: rgba(59,130,246,0.2); color: var(--blue); }
.round-badge.ko     { background: rgba(245,158,11,0.2); color: var(--gold); }
.round-badge.final  { background: rgba(245,158,11,0.35); color: var(--gold-light); border: 1px solid var(--gold); }

.match-num {
  font-size: 0.68rem;
  color: var(--muted);
}

.match-item-teams {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.match-item-team {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
}
.match-item-team .flag { font-size: 1.05rem; }
.match-item-team .tname { flex: 1; }
.match-item-team .tscore {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
  min-width: 20px;
  text-align: right;
}
.match-item-team.winner .tname { color: var(--gold); font-weight: 700; }
.match-item-team.winner .tscore { color: var(--gold-light); }

.match-item-sep {
  text-align: center;
  color: var(--border);
  font-size: 0.7rem;
  line-height: 1;
}

.match-item-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  min-width: 90px;
}

.match-item-time {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
}
.match-item-time.est { color: var(--muted); }
.match-item-venue {
  font-size: 0.7rem;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}
.match-item-city {
  font-size: 0.68rem;
  color: var(--connector);
}
.est-badge {
  font-size: 0.62rem;
  background: rgba(148,163,184,0.15);
  color: var(--muted);
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 600;
}

.no-matches {
  text-align: center;
  padding: 48px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── STATUS BADGES ── */
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 4px;
}
.status-live .status-dot {
  background: var(--red);
  animation: pulse 1.2s infinite;
}
.status-finished .status-dot { background: var(--green); }
.status-upcoming .status-dot { background: var(--muted); }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* ── FOOTER ── */
.site-footer {
  text-align: center;
  padding: 20px 16px;
  color: var(--muted);
  font-size: 0.75rem;
  border-top: 1px solid var(--border);
  line-height: 1.7;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .site-header { padding: 0 12px; }
  .header-inner { height: 56px; }
  .site-title { font-size: 0.95rem; }
  .country-select { max-width: 130px; font-size: 0.78rem; }

  .tabs-bar { top: 56px; }
  .tab-btn { padding: 11px 12px; font-size: 0.78rem; }

  .main-content { padding: 16px 10px 40px; }

  .groups-grid { grid-template-columns: 1fr; }

  .match-item {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }
  .match-item-meta {
    grid-column: 2;
    grid-row: 1;
    align-items: flex-end;
    flex-direction: row;
    gap: 8px;
    align-self: start;
  }
  .match-item-teams { grid-row: 2; grid-column: 1 / 3; }
  .match-item-badge { grid-row: 1; }

  .bracket-round { width: 165px; }
  .final-card, .third-card { width: 180px; }
  .bracket-center { padding: 0 12px; }
}

@media (max-width: 480px) {
  .schedule-filters { gap: 6px; }
  .filter-btn { padding: 4px 10px; font-size: 0.75rem; }
  .standings-table { font-size: 0.72rem; }
  .standings-table td:first-child, .standings-table th:first-child { padding-left: 10px; }
}

/* ── LIVE NOW SECTION ── */
.live-now-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}

.live-now-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0 10px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.live-now-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.2s infinite;
  flex-shrink: 0;
}

.live-now-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
}

.live-tile {
  background: linear-gradient(135deg, #1f1a2e 0%, #1a2744 100%);
  border: 2px solid rgba(239,68,68,0.55);
  border-radius: 14px;
  padding: 14px 18px;
  min-width: 210px;
  flex: 1;
  max-width: 300px;
  box-shadow: 0 0 20px rgba(239,68,68,0.12);
}

.live-tile-round {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}

.live-tile-team {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}
.live-tile-team.leading {
  color: #fff;
  font-weight: 800;
}

.live-tile-flag { font-size: 1.3rem; flex-shrink: 0; }

.live-tile-name { flex: 1; }

.live-tile-score {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--red);
  min-width: 22px;
  text-align: right;
}
.live-tile-team.leading .live-tile-score { color: var(--gold-light); }

.live-tile-footer {
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 7px;
}

/* ── MATCH ROW (redesigned — stacked teams, no clipping) ── */
.match-row {
  display: flex;
  align-items: stretch;
  padding: 8px 12px 8px 16px;
  gap: 8px;
  border-top: 1px solid rgba(51,65,85,0.3);
  transition: background 0.15s;
}
.match-row:hover { background: rgba(255,255,255,0.03); }
.match-row.mrow-live { background: rgba(239,68,68,0.04); }

.mrow-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mrow-team {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.mrow-team .flag  { font-size: 0.95rem; flex-shrink: 0; }
.mrow-team .tname { flex: 1; font-size: 0.8rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrow-winner .tname { color: var(--gold); font-weight: 700; }

.mrow-score {
  font-weight: 800;
  font-size: 0.95rem;
  min-width: 16px;
  text-align: right;
  flex-shrink: 0;
  color: var(--text);
}
.mrow-winner .mrow-score { color: var(--gold-light); }

.mrow-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  min-width: 68px;
}

.mrow-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 8px;
  white-space: nowrap;
}
.mrow-live           { background: rgba(239,68,68,0.15); color: var(--red); }
.mrow-ft             { background: rgba(34,197,94,0.15);  color: var(--green); }
.mrow-upcoming-badge { background: rgba(148,163,184,0.1); color: var(--muted); }

.live-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.2s infinite;
  flex-shrink: 0;
}

.upcoming-dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.55;
  flex-shrink: 0;
}

.mrow-time {
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 600;
  text-align: right;
  line-height: 1.35;
}
.mrow-time.est { color: var(--muted); }

/* ── BUSTER ── */
.buster-wrap {
  display: flex;
  justify-content: center;
  padding: 40px 16px;
}

.buster-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.buster-header {
  text-align: center;
  margin-bottom: 28px;
}

.buster-trophy { font-size: 2.4rem; display: block; margin-bottom: 10px; }

.buster-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 8px;
}

.buster-desc {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.buster-cap-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 6px 0 0;
}
.buster-spots { margin-top: 10px; font-size: 0.82rem; font-weight: 700; padding: 6px 14px; border-radius: 20px; display: inline-block; }
.spots-full { background: rgba(239,68,68,0.12); color: var(--red); }

.buster-form { display: flex; flex-direction: column; }

.field-error {
  display: block;
  font-size: 0.72rem;
  color: var(--red);
  margin-top: 4px;
  min-height: 16px;
}

.buster-success-card { text-align: center; }

.success-icon { font-size: 3rem; margin-bottom: 12px; }

.success-heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 10px;
}

.success-msg { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

.success-divider { width: 40px; height: 2px; background: var(--border); margin: 24px auto; }

.success-pay-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 600;
}

.revolut-btn {
  display: inline-block;
  background: #191C1F;
  color: #fff;
  border: 1.5px solid #2C2F33;
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.15s, border-color 0.15s;
  margin-bottom: 16px;
}
.revolut-btn:hover { background: #2C2F33; border-color: #444; }

.success-pay-note {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.5;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 10px;
}

.success-pay-warning {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 8px;
  padding: 9px 14px;
  line-height: 1.4;
}

.whatsapp-btn {
  display: inline-block;
  background: #25D366;
  color: #fff;
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.15s;
  margin-bottom: 4px;
}
.whatsapp-btn:hover { background: #1ebe5d; }

.success-wa-primary {
  display: block;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  font-size: 1.05rem;
  padding: 16px 24px;
  margin: 18px 0 12px;
}

.sweep-field { margin-bottom: 14px; }
.sweep-field label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.sweep-field input {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  padding: 9px 12px;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}
.sweep-field input:focus { border-color: var(--gold); }
.sweep-field input::placeholder { color: var(--muted); opacity: 0.55; }

.sweep-submit {
  width: 100%;
  padding: 12px;
  background: var(--gold);
  border: none;
  border-radius: 8px;
  color: #000;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.15s, opacity 0.15s;
  font-family: inherit;
}
.sweep-submit:hover:not(:disabled) { background: var(--gold-light); }
.sweep-submit:disabled { opacity: 0.4; cursor: not-allowed; }

.sweep-note {
  font-size: 0.68rem;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}
.sweep-note code { background: rgba(255,255,255,0.07); padding: 1px 4px; border-radius: 3px; font-size: 0.65rem; }

.sweep-message {
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 14px;
  line-height: 1.4;
}
.sweep-msg-success { background: rgba(34,197,94,0.15); color: var(--green); border: 1px solid rgba(34,197,94,0.3); }
.sweep-msg-warning { background: rgba(245,158,11,0.15); color: var(--gold); border: 1px solid rgba(245,158,11,0.3); }
.sweep-msg-error   { background: rgba(239,68,68,0.15);  color: var(--red);  border: 1px solid rgba(239,68,68,0.3); }

/* ── SUB-TABS ── */
.sub-tabs-bar {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

#tab-live .sub-tabs-bar {
  position: sticky;
  top: 115px; /* header 64px + tabs bar ~51px */
  z-index: 50;
  background: var(--bg);
}
@media (max-width: 768px) {
  #tab-live .sub-tabs-bar { top: 98px; } /* header 56px + tabs bar ~42px */
}
.sub-tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 22px;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -1px;
}
.sub-tab-btn:hover { color: var(--text); }
.sub-tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }
.sub-tab-panel { display: none; }
.sub-tab-panel.active { display: block; }

/* ── INFO BANNER ── */
.info-banner {
  font-size: 0.8rem;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 14px;
  margin-bottom: 14px;
  text-align: center;
}

/* ── BUSTER CTA BANNER ── */
.buster-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding: 5px 10px 5px 12px;
  background: rgba(245,158,11,0.06);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.buster-cta:hover { background: rgba(245,158,11,0.11); border-color: var(--gold); }

.buster-cta-text { font-size: 0.75rem; color: var(--muted); line-height: 1.3; }
.buster-cta-text strong { color: var(--gold); }

.buster-cta-btn {
  background: var(--gold);
  border: none;
  border-radius: 5px;
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: inherit;
  transition: background 0.15s;
}
.buster-cta-btn:hover { background: var(--gold-light); }


/* ── BUSTER GATE ── */
.buster-gate {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 16px;
}

.gate-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 40px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.gate-lock { font-size: 2.4rem; margin-bottom: 12px; }

.gate-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 10px;
}

.gate-desc {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.gate-form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }

.gate-input {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 12px 14px;
  font-size: 1rem;
  outline: none;
  text-align: center;
  letter-spacing: 0.1em;
  font-family: inherit;
  transition: border-color 0.2s;
}
.gate-input:focus { border-color: var(--gold); }

.gate-btn {
  background: var(--gold);
  border: none;
  border-radius: 8px;
  color: #000;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.gate-btn:hover { background: var(--gold-light); }

.gate-error {
  font-size: 0.76rem;
  color: var(--red);
  min-height: 18px;
  line-height: 1.4;
}

.gate-wa-btn { display: inline-block; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-8px); }
  40%       { transform: translateX(8px); }
  60%       { transform: translateX(-5px); }
  80%       { transform: translateX(5px); }
}
.gate-shake { animation: shake 0.45s ease; }

/* ── BUSTER CONTENT ── */
.buster-poster-wrap {
  max-width: 300px;
  margin: 28px auto 20px;
}
.buster-poster {
  width: 100%;
  border-radius: 12px;
  display: block;
}
.buster-wa-btn {
  display: block;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  font-size: 1.05rem;
  padding: 16px 24px;
  margin-top: 16px;
}

.buster-info-wrap {
  display: flex;
  justify-content: center;
  padding: 32px 0 8px;
}

.buster-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 32px;
  width: 100%;
  max-width: 560px;
}

.buster-info-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.buster-how-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.buster-how-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
}

.how-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

.buster-prizes {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.prizes-fund {
  flex: 1;
  min-width: 160px;
  background: rgba(245,158,11,0.07);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 8px;
  padding: 12px 14px;
}

.prizes-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gold);
  margin-bottom: 8px;
}

.prizes-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text);
  padding: 3px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.prizes-row:last-child { border-bottom: none; }
.prizes-row span:last-child { font-weight: 700; color: var(--gold); }

@media (max-width: 768px) {
  .live-now-section { padding: 0 10px; }
  .live-tile { max-width: 100%; }
  .buster-card { padding: 24px 20px; }
  .gate-card { padding: 28px 20px; }
  .buster-info-card { padding: 22px 18px; }
  .buster-cta { flex-direction: column; align-items: flex-start; }
  .buster-cta-btn { width: 100%; text-align: center; }
}

.buster-contact-wrap {
  text-align: center;
  margin-bottom: 16px;
}

/* ── BUSTER FULL ── */
.buster-full-wrap {
  display: flex;
  justify-content: center;
  padding: 8px 16px 40px;
}

.buster-full-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 36px;
  width: 100%;
  max-width: 520px;
  text-align: center;
}

.buster-full-badge {
  display: inline-block;
  background: rgba(239,68,68,0.12);
  color: var(--red);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.buster-full-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 14px;
  line-height: 1.25;
}

.buster-full-msg {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.buster-good-luck {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

.buster-contact-pill {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 16px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.buster-contact-pill:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--connector);
  color: var(--text);
}

@media (max-width: 768px) {
  .buster-full-card { padding: 24px 20px; }
}

/* ── DRAW RESULTS ── */
.draw-header { margin-bottom: 18px; }

.draw-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 6px;
}

.draw-sub {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 14px;
  max-width: 640px;
}

.draw-search {
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 10px 14px;
  font-size: 0.9rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}
.draw-search:focus { border-color: var(--gold); }
.draw-search::placeholder { color: var(--muted); opacity: 0.6; }

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

.draw-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.draw-card:hover { border-color: var(--connector); }

.draw-card.draw-live {
  border: 2px solid rgba(239,68,68,0.65);
  animation: draw-pulse 1.6s infinite;
}

@keyframes draw-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.35); }
  50%      { box-shadow: 0 0 14px 3px rgba(239,68,68,0.25); }
}

.draw-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.draw-name-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.draw-num {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
}

.draw-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.draw-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(239,68,68,0.15);
  color: var(--red);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: uppercase;
}

.draw-team-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.draw-team-flag { font-size: 1.35rem; flex-shrink: 0; }

.draw-team-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  flex: 1;
}

.draw-team-livescore {
  font-size: 1rem;
  font-weight: 900;
  color: var(--red);
  flex-shrink: 0;
}

.draw-scorer-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.4;
}

.draw-goals-pill {
  background: rgba(245,158,11,0.15);
  color: var(--gold-light);
  font-size: 0.66rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  flex-shrink: 0;
}

.draw-quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(51,65,85,0.4);
}

.draw-quick-item {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.draw-quick-item.draw-res-w { color: var(--green); }
.draw-quick-item.draw-res-l { color: var(--red); }
.draw-quick-item.draw-res-d { color: var(--gold); }

.draw-detail-result {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text);
  padding: 3px 0;
}

.draw-result-badge {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 8px;
  flex-shrink: 0;
}
.draw-result-badge.draw-res-w { background: rgba(34,197,94,0.15);  color: var(--green); }
.draw-result-badge.draw-res-l { background: rgba(239,68,68,0.15);  color: var(--red); }
.draw-result-badge.draw-res-d { background: rgba(245,158,11,0.15); color: var(--gold); }

.draw-detail {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.draw-detail-label {
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 5px;
}
.draw-detail-label:not(:first-child) { margin-top: 12px; }

.draw-detail-match {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.draw-detail-meta {
  font-size: 0.74rem;
  color: var(--gold);
  font-weight: 600;
}

.draw-detail-scorer {
  font-size: 0.8rem;
  color: var(--text);
  line-height: 1.5;
}

@media (max-width: 480px) {
  .draw-grid { grid-template-columns: 1fr; }
}

/* ── OPENING CEREMONIES ── */
.ceremony-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.ceremony-strip-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.ceremony-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,158,11,0.07);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.68rem;
  white-space: nowrap;
  cursor: default;
}
.ceremony-pill.ceremony-done { opacity: 0.5; border-color: var(--border); background: none; }

.ceremony-pill-flag { font-size: 0.85rem; }

.ceremony-pill-city {
  font-weight: 700;
  color: var(--text);
}

.ceremony-pill-time {
  color: var(--muted);
  font-weight: 600;
}

.ceremony-pill-cd {
  color: var(--gold-light);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
  .ceremony-pill { font-size: 0.64rem; padding: 2px 8px; gap: 5px; }
  .ceremony-pill-time { display: none; }
}

/* ── MATCH COUNTDOWNS ── */
.mrow-countdown {
  font-size: 0.64rem;
  color: var(--gold-light);
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.match-item-countdown {
  font-size: 0.7rem;
  color: var(--gold-light);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.draw-detail-countdown {
  font-size: 0.78rem;
  color: var(--gold-light);
  font-weight: 800;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}

/* ── RESERVE TOP SCORERS ── */
.reserve-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  max-width: 520px;
}

.reserve-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
}
.reserve-row:not(:last-child) { border-bottom: 1px solid rgba(51,65,85,0.4); }
.reserve-row:nth-child(even) { background: rgba(255,255,255,0.02); }

.reserve-num {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted);
  min-width: 20px;
  text-align: center;
}

.reserve-flag { font-size: 1.5rem; flex-shrink: 0; }

.reserve-info { min-width: 0; }

.reserve-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.reserve-country {
  font-size: 0.72rem;
  color: var(--muted);
}

/* ── SCORERS ── */
.scorers-container { margin-bottom: 16px; }

.scorers-table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.scorers-header {
  background: linear-gradient(135deg, #1a2744 0%, #1e2d4a 100%);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.scorers-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.03em;
}

.scorers-updated {
  font-size: 0.68rem;
  color: var(--muted);
}

.scorers-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.scorers-table th {
  color: var(--muted);
  font-weight: 700;
  text-align: center;
  padding: 8px 8px;
  border-bottom: 1px solid var(--border);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.scorers-table th:first-child { width: 44px; }
.scorers-table th:nth-child(2) { text-align: left; padding-left: 14px; }

.scorers-table td {
  text-align: center;
  padding: 10px 8px;
  color: var(--text);
  vertical-align: middle;
}
.scorers-table td:first-child {
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 700;
}
.scorers-table td:nth-child(2) { text-align: left; padding-left: 14px; }

.scorers-table tr:not(:last-child) td { border-bottom: 1px solid rgba(51,65,85,0.4); }
.scorers-table tr:nth-child(even) td  { background: rgba(255,255,255,0.02); }
.scorer-top > td { background: rgba(245,158,11,0.05) !important; }

.scorer-player { font-weight: 600; color: var(--text); line-height: 1.3; }
.scorer-team   { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }

.scorer-goals {
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--gold-light);
}

@media (max-width: 480px) {
  .scorers-table th, .scorers-table td { padding: 8px 4px; }
  .scorers-table th:nth-child(2), .scorers-table td:nth-child(2) { padding-left: 8px; }
  .scorers-table { font-size: 0.78rem; }
  .scorer-goals { font-size: 0.95rem; }
}
