/* ── Variables ──────────────────────────────────────────────────────────── */
:root {
  --bg:            #0a0f1e;
  --surface:       #111827;
  --surface-raise: #1a2436;
  --surface-high:  #22304a;
  --border:        rgba(255, 255, 255, 0.07);
  --text:          #e8f0ff;
  --text-muted:    #6b7a99;
  --green:         #10b981;
  --green-dim:     rgba(16, 185, 129, 0.15);
  --gold:          #f59e0b;
  --gold-dim:      rgba(245, 158, 11, 0.15);
  --red:           #ef4444;
  --red-dim:       rgba(239, 68, 68, 0.15);
  --blue:          #3b82f6;
  --blue-dim:      rgba(59, 130, 246, 0.12);
  --radius:        12px;
  --shadow:        0 4px 24px rgba(0, 0, 0, 0.5);
  --transition:    0.2s ease;
}

/* ── Reset / Base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

h1, h2, h3, h4 { font-family: 'Oswald', sans-serif; letter-spacing: 0.02em; }

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.hidden { display: none !important; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  padding: 8px 18px;
  border: none; border-radius: 8px;
  font-family: 'Oswald', sans-serif; font-size: 0.95rem; letter-spacing: 0.04em;
  cursor: pointer; transition: var(--transition);
}
.btn-primary  { background: var(--green); color: #fff; }
.btn-primary:hover  { background: #0ea572; }
.btn-outline  { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover  { background: var(--surface-raise); }
.btn-danger   { background: var(--red); color: #fff; }
.btn-danger:hover   { background: #dc2626; }
.btn-gold     { background: var(--gold); color: #1a1000; }
.btn-gold:hover     { background: #d97706; }
.full-width   { width: 100%; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-trophy { font-size: 2rem; animation: wobble 4s ease-in-out infinite; }
@keyframes wobble {
  0%,100% { transform: rotate(-8deg); }
  50%      { transform: rotate(8deg); }
}
.brand-title { display: block; font-family: 'Oswald', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--gold); }
.brand-sub   { display: block; font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase; }

.header-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ── Countdown ───────────────────────────────────────────────────────────── */
.countdown-box {
  display: flex; flex-direction: column; align-items: center;
  background: var(--surface-raise);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 8px 14px;
}
.cd-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 4px; }
.cd-units { display: flex; gap: 10px; }
.cd-unit  { display: flex; flex-direction: column; align-items: center; }
.cd-unit span { font-family: 'Oswald', sans-serif; font-size: 1.3rem; font-weight: 600; color: var(--green); line-height: 1; }
.cd-unit small { font-size: 0.6rem; color: var(--text-muted); }

/* ── Auth area ───────────────────────────────────────────────────────────── */
.auth-area { display: flex; gap: 8px; align-items: center; }
.user-badge {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem;
}
.user-badge strong { color: var(--green); font-family: 'Oswald', sans-serif; }
.user-points { background: var(--gold-dim); color: var(--gold); border-radius: 20px; padding: 2px 10px; font-size: 0.78rem; font-weight: 600; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 60% 50%, rgba(16,185,129,0.15) 0%, transparent 60%),
              linear-gradient(135deg, #0a0f1e 0%, #0d1a2e 50%, #0a0f1e 100%);
  padding: 60px 16px 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero-flags {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; gap: 0; overflow: hidden; opacity: 0.12;
  font-size: 5rem; white-space: nowrap;
  animation: flagScroll 30s linear infinite;
}
@keyframes flagScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.hero-flags span { padding: 0 12px; }
.hero-content { position: relative; z-index: 1; }
.hero-title {
  font-size: clamp(2rem, 6vw, 4rem); font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, var(--green) 50%, var(--gold) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.hero-sub { font-size: 1.05rem; color: var(--text-muted); }

/* ── Daily Section ───────────────────────────────────────────────────────── */
.daily-section { padding: 32px 0; }
.daily-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .daily-grid { grid-template-columns: 1fr; } }

.daily-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative; overflow: hidden;
  transition: var(--transition);
}
.daily-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.02));
  pointer-events: none;
}
.daily-card:hover { border-color: rgba(255,255,255,0.14); }
.quote-card { border-left: 3px solid var(--green); }
.fact-card  { border-left: 3px solid var(--gold); }

.daily-icon { font-size: 1.8rem; margin-bottom: 8px; }
.daily-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 12px; }
.quote-text { font-size: 1.05rem; font-style: italic; color: var(--text); line-height: 1.7; margin-bottom: 10px; border: none; padding: 0; }
.quote-author { font-size: 0.82rem; color: var(--green); font-style: normal; }
.fact-text { font-size: 0.95rem; color: var(--text); line-height: 1.7; }

/* ── Main Nav ────────────────────────────────────────────────────────────── */
.main-nav {
  display: flex; gap: 4px; flex-wrap: wrap;
  padding: 16px 16px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.nav-btn {
  padding: 10px 20px;
  background: transparent; border: none; border-bottom: 3px solid transparent;
  color: var(--text-muted);
  font-family: 'Oswald', sans-serif; font-size: 0.95rem; letter-spacing: 0.04em;
  cursor: pointer; transition: var(--transition);
  border-radius: 4px 4px 0 0;
}
.nav-btn:hover { color: var(--text); background: var(--surface); }
.nav-btn.active { color: var(--green); border-bottom-color: var(--green); }

/* ── Tab Content ─────────────────────────────────────────────────────────── */
.tab-content { padding: 24px 16px 48px; }

/* ── Group Filter ────────────────────────────────────────────────────────── */
.group-filter {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px;
}
.filter-btn {
  padding: 6px 14px; border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface); color: var(--text-muted);
  font-size: 0.82rem; font-weight: 500; cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover  { color: var(--text); border-color: rgba(255,255,255,0.2); }
.filter-btn.active { background: var(--green); border-color: var(--green); color: #fff; }

/* ── Group Block ─────────────────────────────────────────────────────────── */
.group-block { margin-bottom: 40px; }
.group-title {
  font-size: 1.1rem; font-weight: 600; color: var(--gold);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 14px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}

/* ── Match Cards ─────────────────────────────────────────────────────────── */
.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 14px;
}

.match-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.match-card:hover { border-color: rgba(255,255,255,0.14); transform: translateY(-2px); box-shadow: var(--shadow); }
.match-card.finished { border-left: 3px solid var(--text-muted); }
.match-card.tip-exact { border-left: 3px solid var(--green); }
.match-card.tip-tendency { border-left: 3px solid var(--gold); }
.match-card.tip-miss  { border-left: 3px solid var(--red); }

.match-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 14px;
  background: var(--surface-raise);
  font-size: 0.72rem; color: var(--text-muted);
}
.match-venue { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }
.match-date-str { white-space: nowrap; }

.match-body { padding: 16px 14px 12px; }
.match-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.team {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.team-flag .fi {
  width: 2.4em;
  height: 1.6em;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
  display: block;
}
.team-flag { display: flex; justify-content: center; }
.team-name { font-family: 'Oswald', sans-serif; font-size: 0.82rem; font-weight: 500; text-align: center; color: var(--text); }

.vs-block { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.vs-text { font-family: 'Oswald', sans-serif; font-size: 0.7rem; color: var(--text-muted); }

/* Result display (finished) */
.result-score {
  font-family: 'Oswald', sans-serif; font-size: 1.8rem; font-weight: 700;
  color: var(--text); letter-spacing: 2px;
}

/* Tip input */
.tip-input-row {
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.tip-input {
  width: 52px; height: 42px;
  background: var(--surface-high);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Oswald', sans-serif; font-size: 1.3rem; font-weight: 600;
  text-align: center;
  transition: var(--transition);
}
.tip-input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 2px var(--green-dim); }
.tip-colon { font-family: 'Oswald', sans-serif; font-size: 1.3rem; color: var(--text-muted); }

.tip-action { margin-top: 10px; text-align: center; }

.tip-btn {
  padding: 7px 18px; border-radius: 8px;
  background: var(--green-dim); color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-family: 'Oswald', sans-serif; font-size: 0.85rem; cursor: pointer;
  transition: var(--transition);
}
.tip-btn:hover { background: var(--green); color: #fff; }
.tip-btn.saved { background: var(--green); color: #fff; }

.match-tip-info {
  margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border);
  font-size: 0.78rem; color: var(--text-muted); text-align: center;
}
.points-badge {
  display: inline-block; border-radius: 12px; padding: 2px 10px;
  font-weight: 600; font-size: 0.78rem;
}
.points-3 { background: var(--green-dim); color: var(--green); }
.points-1 { background: var(--gold-dim);  color: var(--gold); }
.points-0 { background: var(--red-dim);   color: var(--red); }

.match-closed {
  font-size: 0.78rem; color: var(--text-muted); text-align: center;
  padding: 6px 0; font-style: italic;
}

/* ── Section Header ──────────────────────────────────────────────────────── */
.section-header { margin-bottom: 24px; }
.section-header h2 { font-size: 1.4rem; color: var(--text); }

/* ── Leaderboard ─────────────────────────────────────────────────────────── */
.podium {
  display: flex; justify-content: center; align-items: flex-end; gap: 16px;
  margin-bottom: 32px; padding: 24px;
}
.podium-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px;
  min-width: 130px; transition: var(--transition);
}
.podium-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.podium-1 { order: 2; border-color: var(--gold); padding-top: 32px; }
.podium-2 { order: 1; border-color: #9ca3af; }
.podium-3 { order: 3; border-color: #b45309; }
.podium-rank { font-size: 2rem; }
.podium-name { font-family: 'Oswald', sans-serif; font-size: 1rem; color: var(--text); text-align: center; }
.podium-pts  { font-family: 'Oswald', sans-serif; font-size: 1.4rem; font-weight: 700; }
.podium-1 .podium-pts { color: var(--gold); }
.podium-2 .podium-pts { color: #9ca3af; }
.podium-3 .podium-pts { color: #b45309; }
.podium-label { font-size: 0.7rem; color: var(--text-muted); }

.leaderboard-table { width: 100%; border-collapse: collapse; }
.leaderboard-table th {
  padding: 10px 14px; text-align: left;
  font-family: 'Oswald', sans-serif; font-size: 0.8rem; letter-spacing: 0.08em;
  color: var(--text-muted); border-bottom: 1px solid var(--border);
  text-transform: uppercase;
}
.leaderboard-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.leaderboard-table tr:last-child td { border-bottom: none; }
.leaderboard-table tr:hover td { background: var(--surface-raise); }
.lb-rank { font-family: 'Oswald', sans-serif; font-size: 1rem; color: var(--text-muted); width: 40px; }
.lb-name { font-weight: 500; }
.lb-pts  { font-family: 'Oswald', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--green); }
.lb-exact    { color: var(--green); font-weight: 600; }
.lb-tendency { color: var(--gold);  font-weight: 600; }
.me-row td { background: var(--blue-dim); }

/* ── My Tips ─────────────────────────────────────────────────────────────── */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px;
  margin-bottom: 28px;
}
.stat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; text-align: center;
}
.stat-value { font-family: 'Oswald', sans-serif; font-size: 2rem; font-weight: 700; }
.stat-label { font-size: 0.72rem; color: var(--text-muted); margin-top: 4px; }
.stat-green { color: var(--green); }
.stat-gold  { color: var(--gold); }
.stat-blue  { color: var(--blue); }
.stat-text  { color: var(--text); }

.my-tips-list { display: flex; flex-direction: column; gap: 10px; }
.my-tip-row {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 16px;
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 14px;
}
.my-tip-flags { display: flex; gap: 4px; align-items: center; }
.my-tip-flags .fi { width: 1.8em; height: 1.25em; border-radius: 2px; box-shadow: 0 1px 3px rgba(0,0,0,0.4); }
.my-tip-match { font-size: 0.88rem; }
.my-tip-match strong { font-family: 'Oswald', sans-serif; font-size: 0.95rem; }
.my-tip-score { font-family: 'Oswald', sans-serif; font-size: 1rem; color: var(--text-muted); white-space: nowrap; }
.my-tip-score .result { color: var(--text); }
@media (max-width: 500px) {
  .my-tip-row { grid-template-columns: auto 1fr; }
  .my-tip-score, .points-badge { grid-column: 2; }
}

/* ── Admin ───────────────────────────────────────────────────────────────── */
.admin-match-list { display: flex; flex-direction: column; gap: 10px; }
.admin-match-row {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.admin-match-info { flex: 1; min-width: 180px; font-size: 0.88rem; }
.admin-match-info strong { font-family: 'Oswald', sans-serif; }
.admin-score-inputs { display: flex; align-items: center; gap: 6px; }
.admin-score-inputs input {
  width: 52px; height: 38px;
  background: var(--surface-high); border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-family: 'Oswald', sans-serif; font-size: 1.2rem; text-align: center;
}
.admin-match-row.is-finished { opacity: 0.6; }
.result-tag {
  background: var(--green-dim); color: var(--green);
  border-radius: 12px; padding: 2px 10px; font-size: 0.78rem;
}

/* ── Modal ───────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
}
.modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 201;
  background: var(--surface-raise);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px 32px;
  width: min(420px, 95vw);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.modal-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; color: var(--text-muted); font-size: 1.2rem; cursor: pointer;
}
.modal-close:hover { color: var(--text); }
.modal-title { font-size: 1.4rem; margin-bottom: 20px; }
.modal label { display: block; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 4px; margin-top: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.modal input {
  width: 100%; padding: 10px 14px;
  background: var(--surface-high); border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-size: 0.95rem;
  transition: var(--transition);
}
.modal input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 2px var(--green-dim); }
.modal .btn { margin-top: 20px; font-size: 1rem; padding: 12px; }
.modal-switch { font-size: 0.82rem; color: var(--text-muted); text-align: center; margin-top: 14px; }
.form-error { color: var(--red); font-size: 0.82rem; margin-top: 8px; text-align: center; }

/* ── Toast ───────────────────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 300;
  background: var(--surface-raise); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 24px;
  font-size: 0.9rem; box-shadow: var(--shadow);
  animation: toastIn 0.3s ease;
}
@keyframes toastIn { from { opacity: 0; transform: translateX(-50%) translateY(20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.toast.success { border-color: var(--green); color: var(--green); }
.toast.error   { border-color: var(--red);   color: var(--red);   }

/* ── Loading ─────────────────────────────────────────────────────────────── */
.loading-spinner {
  width: 40px; height: 40px; margin: 48px auto;
  border: 3px solid var(--border);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Empty State ─────────────────────────────────────────────────────────── */
.empty-state {
  text-align: center; color: var(--text-muted); padding: 48px 16px;
  font-size: 0.95rem;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  text-align: center; padding: 24px 16px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem; color: var(--text-muted);
}
.site-footer p + p { margin-top: 4px; }

/* ── Standings ───────────────────────────────────────────────────────────── */
.standings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.standing-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.standing-card-title {
  background: var(--surface-raise); padding: 10px 14px;
  font-family: 'Oswald', sans-serif; font-size: 0.85rem; letter-spacing: 0.08em;
  color: var(--gold); text-transform: uppercase;
}
.standing-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.standing-table th {
  padding: 6px 8px; text-align: center;
  font-size: 0.68rem; color: var(--text-muted); letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border); text-transform: uppercase;
}
.standing-table th:first-child, .standing-table th:nth-child(2) { text-align: left; }
.standing-table td { padding: 8px 8px; border-bottom: 1px solid rgba(255,255,255,0.04); text-align: center; }
.standing-table td:first-child { text-align: left; width: 24px; color: var(--text-muted); font-weight: 600; }
.standing-table td:nth-child(2) { text-align: left; }
.standing-table tr:last-child td { border-bottom: none; }
.standing-name { display: flex; align-items: center; gap: 6px; }
.standing-name .fi { width: 1.4em; height: 0.95em; border-radius: 2px; flex-shrink: 0; }
.standing-pts { font-family: 'Oswald', sans-serif; font-size: 1rem; font-weight: 700; color: var(--green); }
.advance-1 td, .advance-2 td { background: rgba(16,185,129,0.06); }
.advance-3 td { background: rgba(245,158,11,0.05); }
.advance-1 td:first-child { color: var(--green); }
.advance-2 td:first-child { color: var(--green); }
.advance-3 td:first-child { color: var(--gold); }

/* ── KO Bracket ──────────────────────────────────────────────────────────── */
.ko-section { margin-bottom: 36px; }
.ko-round-title {
  font-family: 'Oswald', sans-serif; font-size: 1.1rem; color: var(--gold);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 14px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.ko-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.ko-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px;
}
.ko-card.ko-finished { border-left: 3px solid var(--green); }
.ko-pos { font-size: 0.65rem; color: var(--text-muted); margin-bottom: 8px; letter-spacing: 0.08em; text-transform: uppercase; }
.ko-teams { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ko-team { display: flex; align-items: center; gap: 6px; font-size: 0.88rem; font-weight: 500; min-width: 0; flex: 1; }
.ko-team.right { flex-direction: row-reverse; }
.ko-team .fi { width: 1.6em; height: 1.1em; border-radius: 2px; flex-shrink: 0; }
.ko-team-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ko-score { font-family: 'Oswald', sans-serif; font-size: 1.2rem; color: var(--text); white-space: nowrap; text-align: center; min-width: 40px; }
.ko-winner { color: var(--green); font-weight: 700; }
.ko-loser  { color: var(--text-muted); }
.ko-meta { font-size: 0.72rem; color: var(--text-muted); margin-top: 8px; }
.ko-tip-row { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; }

/* ── Roadmap ─────────────────────────────────────────────────────────────── */
.roadmap-phases { display: flex; flex-direction: column; gap: 28px; margin-top: 16px; }
.roadmap-phase { display: flex; flex-direction: column; gap: 12px; }
.roadmap-phase-header {
  font-family: 'Oswald', sans-serif; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px; display: inline-block; width: fit-content;
}
.phase-1 { background: rgba(74,222,128,0.15); color: var(--green); border: 1px solid rgba(74,222,128,0.3); }
.phase-2 { background: rgba(251,191,36,0.15); color: var(--gold); border: 1px solid rgba(251,191,36,0.3); }
.phase-3 { background: rgba(148,163,184,0.15); color: var(--text-muted); border: 1px solid rgba(148,163,184,0.3); }
.roadmap-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 18px 20px;
}
.roadmap-card-title { font-family: 'Oswald', sans-serif; font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.roadmap-card-desc { color: var(--text-muted); font-size: 0.88rem; line-height: 1.55; margin-bottom: 12px; }
.roadmap-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.roadmap-tag {
  font-size: 0.72rem; padding: 3px 10px; border-radius: 20px;
  background: rgba(148,163,184,0.1); color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .matches-grid { grid-template-columns: 1fr; }
  .podium { gap: 8px; }
  .podium-item { padding: 14px 16px; min-width: 90px; }
  .header-inner { gap: 10px; }
  .countdown-box { display: none; }
}
@media (max-width: 480px) {
  .brand-title { font-size: 1.1rem; }
  .podium-1 .podium-pts, .podium-2 .podium-pts, .podium-3 .podium-pts { font-size: 1.1rem; }
}
