/* ── RESET & VARIABLES ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:    #e10600;
  --bg:     #050505;
  --card:   #0d0d0d;
  --border: #1a1a1a;
  --text:   #ffffff;
  --muted:  #555555;
  --dim:    #333333;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  min-height: 100vh;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ── ANIMATIONS ────────────────────────────────────────── */
@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes pulse   { 0%,100% { opacity:1; } 50% { opacity:0.3; } }
@keyframes fadeIn  { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }

/* ── TOPBAR / NAV ──────────────────────────────────────── */
#topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5,5,5,0.96); backdrop-filter: blur(20px);
  border-bottom: 1px solid #111;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 64px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 34px; height: 34px; background: var(--red); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 22px;
  text-transform: uppercase; letter-spacing: 1px;
}
.logo-text span { color: var(--red); }

nav { display: flex; gap: 4px; }
.nav-btn {
  padding: 8px 14px; border-radius: 8px; border: none; cursor: pointer;
  background: transparent; color: var(--muted);
  font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px;
  border-bottom: 2px solid transparent; transition: all 0.2s;
  display: flex; align-items: center; gap: 6px; font-family: 'Barlow', sans-serif;
}
.nav-btn.active  { background: rgba(225,6,0,0.12); color: var(--red); border-bottom-color: var(--red); }
.nav-btn:hover:not(.active) { color: #aaa; }

.nav-label { display: inline; }
@media(max-width:500px) {
  .nav-label { display: none; }
  #topbar { padding: 0 12px; }
}

/* ── LAYOUT ────────────────────────────────────────────── */
#content {
  max-width: 1100px; margin: 0 auto;
  padding: 32px 20px 80px;
}
.page { display: none; }
.page.active { display: block; animation: fadeIn 0.3s ease; }

.page-header { margin-bottom: 24px; }
.page-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 32px; text-transform: uppercase;
}
.page-line { width: 48px; height: 3px; background: var(--red); border-radius: 2px; margin-top: 8px; }

/* ── SPINNER ───────────────────────────────────────────── */
.spinner-wrap { display: flex; justify-content: center; align-items: center; padding: 80px; }
.spinner {
  width: 44px; height: 44px;
  border: 3px solid #1a1a1a; border-top: 3px solid var(--red);
  border-radius: 50%; animation: spin 0.8s linear infinite;
}

/* ── CARD ──────────────────────────────────────────────── */
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.card-title {
  font-size: 11px; color: #888; text-transform: uppercase;
  letter-spacing: 3px; font-weight: 700; margin-bottom: 18px;
}

/* ── HERO ──────────────────────────────────────────────── */
#hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0000 50%, #0a0a0a 100%);
  border: 1px solid rgba(225,6,0,0.15); border-radius: 20px;
  padding: 48px 40px; position: relative; overflow: hidden; margin-bottom: 28px;
}
#hero::before {
  content:''; position: absolute; top:-60px; right:-60px; width:300px; height:300px;
  background: radial-gradient(circle, rgba(225,6,0,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-tag  { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.hero-bar  { width: 4px; height: 32px; background: var(--red); border-radius: 2px; }
.hero-season {
  font-size: 12px; color: var(--red);
  text-transform: uppercase; letter-spacing: 4px; font-weight: 700;
}
.hero-h1 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(38px,7vw,74px); text-transform: uppercase;
  line-height: 0.9; letter-spacing: -1px; position: relative;
}
.hero-h1 span { color: var(--red); }
.hero-sub { color: var(--muted); margin-top: 16px; font-size: 15px; }

/* ── GRID ──────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.span-2  { grid-column: span 2; }
@media(max-width:680px) { .span-2 { grid-column: span 1; } }

/* ── NEXT RACE ─────────────────────────────────────────── */
#next-race-card { position: relative; overflow: hidden; }
#next-race-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px; background:var(--red);
}
.live-dot {
  width: 8px; height: 8px; background: var(--red);
  border-radius: 50%; animation: pulse 1.5s infinite;
}
.next-race-inner {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: flex-end; gap: 20px;
}
.next-race-name {
  font-size: 28px; font-weight: 900;
  font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase;
}
.next-race-meta { color: var(--muted); font-size: 13px; margin-top: 4px; }

.countdown-row { display: flex; gap: 10px; flex-wrap: wrap; }
.countdown-box {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(225,6,0,0.2);
  border-radius: 10px; padding: 16px 18px; text-align: center; min-width: 72px;
  position: relative; overflow: hidden;
}
.countdown-box::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px; background:var(--red);
}
.countdown-num {
  font-size: 32px; font-weight: 900;
  font-family: 'Barlow Condensed', sans-serif; line-height: 1;
}
.countdown-label {
  font-size: 10px; color: #666; margin-top: 5px;
  text-transform: uppercase; letter-spacing: 2px;
}

/* ── PODIUM ROW (dashboard) ────────────────────────────── */
.podium-row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid #111;
}
.podium-row:last-child { border-bottom: none; }
.podium-badge {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 14px; color: #000; flex-shrink: 0;
}
.p1 { background: linear-gradient(135deg,#FFD700,#FFA500); }
.p2 { background: linear-gradient(135deg,#C0C0C0,#888); }
.p3 { background: linear-gradient(135deg,#CD7F32,#8B4513); }
.podium-name { font-weight: 700; font-size: 15px; }
.podium-team { font-size: 12px; color: var(--muted); margin-top: 2px; }
.podium-pts  { margin-left: auto; color: var(--red); font-weight: 700; font-size: 14px; white-space: nowrap; }

/* ── MINI STANDING ROW (dashboard) ────────────────────── */
.mini-row {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 0; border-bottom: 1px solid #111;
}
.mini-row:last-child { border-bottom: none; }
.mini-pos  { color: #333; font-weight: 900; font-size: 20px; width: 28px; text-align: center; font-family: 'Barlow Condensed', sans-serif; }
.mini-bar  { width: 3px; height: 36px; border-radius: 2px; flex-shrink: 0; }
.mini-name { font-weight: 700; font-size: 14px; }
.mini-team { font-size: 11px; color: var(--muted); }
.mini-pts  { font-weight: 900; font-size: 20px; font-family: 'Barlow Condensed', sans-serif; margin-left: auto; }

/* ── STANDINGS PAGE ────────────────────────────────────── */
.tab-row {
  display: flex; gap: 4px; margin-bottom: 24px;
  background: var(--card); padding: 6px; border-radius: 12px;
  width: fit-content; border: 1px solid var(--border);
}
.tab-btn {
  padding: 10px 28px; border-radius: 8px; border: none; cursor: pointer;
  background: transparent; color: var(--muted);
  font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  font-size: 12px; transition: all 0.2s; font-family: 'Barlow', sans-serif;
}
.tab-btn.active { background: var(--red); color: #fff; }

.standing-row {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 20px; display: flex; align-items: center; gap: 16px;
  margin-bottom: 6px; border-left-width: 4px;
}
.standing-pos   { font-size: 26px; font-weight: 900; font-family: 'Barlow Condensed', sans-serif; width: 38px; flex-shrink: 0; }
.standing-info  { flex: 1; min-width: 0; }
.standing-name  { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.standing-sub   { font-size: 12px; color: var(--muted); margin-top: 2px; }
.standing-bar-wrap { margin-top: 8px; height: 3px; background: #1a1a1a; border-radius: 2px; }
.standing-bar   { height: 100%; border-radius: 2px; transition: width 0.6s ease; }
.standing-pts-wrap { text-align: right; flex-shrink: 0; }
.standing-pts   { font-size: 26px; font-weight: 900; font-family: 'Barlow Condensed', sans-serif; }
.standing-pts-label { font-size: 11px; color: #444; }

/* ── CALENDAR ──────────────────────────────────────────── */
.cal-row {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 20px 24px; margin-bottom: 8px; position: relative; overflow: hidden;
}
.cal-row.done { border-color: rgba(225,6,0,0.2); }
.cal-row.done::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg,#e10600,transparent);
}
.cal-top   { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; }
.cal-flag  { min-width: 48px; text-align: center; padding-top: 4px; display:flex; align-items:flex-start; justify-content:center; }
.cal-info  { flex: 1; min-width: 180px; }
.cal-meta  { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.cal-round { font-size: 11px; color: var(--muted); font-weight: 700; }
.cal-done-badge {
  font-size: 10px; background: rgba(225,6,0,0.15); color: var(--red);
  padding: 2px 8px; border-radius: 20px; font-weight: 700;
}
.cal-name    { font-weight: 800; font-size: 18px; font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; }
.cal-circuit { font-size: 12px; color: var(--muted); margin-top: 3px; }

.cal-podium-row {
  display: flex; gap: 8px; margin-top: 14px; padding-top: 14px;
  border-top: 1px solid #1a1a1a; flex-wrap: wrap;
}
.cal-podium-item {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.03); border-radius: 8px; padding: 6px 10px;
  flex: 1; min-width: 120px;
}
.cal-place-badge {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 11px; color: #000; flex-shrink: 0;
}
.cal-driver-name { font-size: 13px; font-weight: 700; color: #ddd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-driver-team { font-size: 10px; color: var(--muted); margin-top: 1px; }

/* ── DRIVERS GRID ──────────────────────────────────────── */
.drivers-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px;
}
.driver-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; transition: transform 0.2s;
}
.driver-card:hover { transform: translateY(-4px); }
.driver-card-top  { height: 4px; }
.driver-card-body { padding: 20px; }
.driver-nat  { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 6px; }
.driver-name { font-size: 22px; font-weight: 900; font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; line-height: 1.1; }
.driver-number { font-size: 52px; font-weight: 900; color: rgba(255,255,255,0.05); font-family: 'Barlow Condensed', sans-serif; line-height: 1; }
.driver-footer { margin-top: 14px; padding-top: 14px; border-top: 1px solid #1a1a1a; display: flex; justify-content: space-between; align-items: center; }
.driver-team-label { font-size: 11px; color: #444; }
.driver-team-name  { font-size: 13px; color: #aaa; font-weight: 700; margin-top: 2px; }
.driver-pts-num    { font-size: 30px; font-weight: 900; font-family: 'Barlow Condensed', sans-serif; }
.driver-pts-label  { font-size: 11px; color: #444; }
.driver-bar-row    { margin-top: 12px; display: flex; align-items: center; gap: 8px; }
.driver-bar-wrap   { flex: 1; height: 3px; background: #111; border-radius: 2px; }
.driver-bar        { height: 100%; border-radius: 2px; }
.driver-pos-label  { font-size: 12px; font-weight: 700; color: var(--muted); }

/* ── FOOTER ────────────────────────────────────────────── */
footer {
  text-align: center; padding: 24px;
  border-top: 1px solid #111; color: #333; font-size: 12px;
}

/* ── PWA INSTALL BUTTON ────────────────────────────────── */
#pwa-install-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  display: none; align-items: center; gap: 8px;
  background: #0d0d0d; border: 1px solid rgba(225,6,0,0.4);
  color: #fff; padding: 10px 16px; border-radius: 50px;
  font-family: 'Barlow', sans-serif; font-size: 13px; font-weight: 700;
  cursor: pointer; box-shadow: 0 4px 24px rgba(0,0,0,0.5);
  transition: border-color 0.2s, transform 0.2s;
}
#pwa-install-btn:hover { border-color: var(--red); transform: translateY(-2px); }
#pwa-install-btn.visible { display: flex; }

/* ── ARCHIVE ───────────────────────────────────────────── */
.archive-selector-wrap { }
.archive-selector-label {
  font-size: 13px; color: var(--muted); margin-bottom: 20px;
  text-transform: uppercase; letter-spacing: 2px; font-weight: 700;
}
.archive-decade-group { margin-bottom: 24px; }
.archive-decade-label {
  font-family: 'Barlow Condensed', sans-serif; font-size: 13px;
  font-weight: 900; color: var(--red); text-transform: uppercase;
  letter-spacing: 3px; margin-bottom: 10px;
}
.archive-decade-years { display: flex; flex-wrap: wrap; gap: 8px; }
.archive-year-btn {
  padding: 8px 16px; background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; color: #aaa; font-weight: 700; font-size: 14px;
  cursor: pointer; font-family: 'Barlow Condensed', sans-serif;
  transition: all 0.15s; letter-spacing: 0.5px;
}
.archive-year-btn:hover { background: rgba(225,6,0,0.1); border-color: var(--red); color: #fff; }

/* Back row */
.archive-back-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.archive-back-btn {
  background: none; border: 1px solid var(--border); color: #aaa;
  padding: 8px 16px; border-radius: 8px; cursor: pointer;
  font-family: 'Barlow', sans-serif; font-size: 13px; font-weight: 700;
  transition: all 0.15s;
}
.archive-back-btn:hover { border-color: var(--red); color: #fff; }
.archive-season-badge {
  font-family: 'Barlow Condensed', sans-serif; font-size: 22px;
  font-weight: 900; color: var(--red); text-transform: uppercase; letter-spacing: 1px;
}

/* Season hero */
.archive-hero {
  display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 32px;
  background: linear-gradient(135deg, #0a0a0a, #1a0000 60%, #0a0a0a);
  border: 1px solid rgba(225,6,0,0.15); border-radius: 20px; padding: 32px;
  position: relative; overflow: hidden;
}
.archive-hero::before {
  content:''; position:absolute; top:-40px; right:-40px; width:200px; height:200px;
  background: radial-gradient(circle, rgba(225,6,0,0.12) 0%, transparent 70%);
  border-radius:50%;
}
.archive-hero-left { flex: 1; min-width: 200px; }
.archive-hero-year {
  font-family: 'Barlow Condensed', sans-serif; font-size: clamp(56px,8vw,96px);
  font-weight: 900; color: var(--red); line-height: 0.9; letter-spacing: -2px;
}
.archive-hero-sub { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 3px; margin-top: 8px; }
.archive-hero-stats { display: flex; gap: 24px; margin-top: 20px; }
.archive-stat { text-align: center; }
.archive-stat-num { font-family: 'Barlow Condensed', sans-serif; font-size: 32px; font-weight: 900; color: #fff; line-height: 1; }
.archive-stat-label { font-size: 10px; color: #555; text-transform: uppercase; letter-spacing: 2px; margin-top: 4px; }

/* Champion cards */
.archive-champ-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 20px 24px; min-width: 180px; position: relative;
}
.archive-champ-label { font-size: 10px; color: #555; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; font-weight: 700; }
.archive-champ-name { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 900; color: #fff; text-transform: uppercase; line-height: 1.1; }
.archive-champ-team { font-size: 12px; margin-top: 4px; font-weight: 700; }
.archive-champ-pts { font-family: 'Barlow Condensed', sans-serif; font-size: 36px; font-weight: 900; color: #fff; margin-top: 10px; line-height: 1; }
.archive-champ-pts span { font-size: 14px; color: #555; }

/* Two column standings */
.archive-two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 24px; margin-top: 8px; }
.archive-section-title {
  font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 3px;
  font-weight: 700; margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.archive-standing-row {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 16px; display: flex; align-items: center; gap: 12px;
  margin-bottom: 6px; border-left-width: 4px;
}
.archive-standing-pos {
  font-size: 22px; font-weight: 900; font-family: 'Barlow Condensed', sans-serif;
  width: 28px; flex-shrink: 0; text-align: center;
}

/* Race grid */
.archive-race-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 10px;
  margin-bottom: 40px;
}
.archive-race-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 16px; display: flex; align-items: flex-start; gap: 12px;
  transition: border-color 0.15s;
}
.archive-race-card:hover { border-color: rgba(225,6,0,0.3); }
.archive-race-flag { flex-shrink: 0; padding-top: 2px; }
.archive-race-round { font-size: 10px; color: var(--muted); font-weight: 700; letter-spacing: 1px; margin-bottom: 3px; }
.archive-race-name { font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 800; text-transform: uppercase; color: #fff; line-height: 1.1; }
.archive-race-circuit { font-size: 11px; color: var(--muted); margin-top: 3px; }
.archive-race-date { font-size: 11px; color: #555; margin-top: 2px; }

/* ── CALENDAR — Fastest Lap & Gap ──────────────────────── */
.cal-driver-gap {
  font-size: 11px; color: #555; margin-top: 2px; font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.3px;
}
.cal-fastest-lap {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 12px; padding: 8px 14px;
  background: rgba(155, 40, 255, 0.07); border: 1px solid rgba(155, 40, 255, 0.18);
  border-radius: 10px;
}
.fl-badge {
  font-size: 10px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase;
  color: #b57bff; background: rgba(155,40,255,0.12); border-radius: 6px; padding: 3px 8px;
  flex-shrink: 0;
}
.fl-driver { font-size: 13px; font-weight: 700; color: #ddd; }
.fl-time   { font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 900; color: #b57bff; }
.fl-speed  { font-size: 11px; color: #555; margin-left: auto; }

/* ── SEASON STATS ───────────────────────────────────────── */
#dash-season-stats { margin-top: 28px; }
.season-stats-header { margin-bottom: 16px; }
.season-stats-title  {
  font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 1px; color: #fff;
}
.season-stats-sub { font-size: 12px; color: #555; margin-top: 2px; }

.season-stats-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px;
}
.stat-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 18px 20px; transition: border-color 0.2s;
}
.stat-card:hover { border-color: rgba(225,6,0,0.25); }
.stat-card-head {
  display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.stat-card-icon  { font-size: 18px; }
.stat-card-title {
  font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 1.5px; color: #bbb;
}
.stat-card-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px; margin-bottom: 6px;
  background: rgba(255,255,255,0.02); border-left: 3px solid transparent;
}
.stat-medal      { font-size: 16px; flex-shrink: 0; }
.stat-driver-name { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-team-name  { font-size: 11px; margin-top: 1px; font-weight: 600; }
.stat-value      {
  flex-shrink: 0; font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 900; color: #888;
  background: rgba(255,255,255,0.04); border-radius: 6px; padding: 3px 8px;
  white-space: nowrap;
}

/* ── ARCHIVE — Race Calendar Full Grid ──────────────────── */
.archive-race-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}
.archive-race-card-full {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  transition: border-color 0.2s;
}
.archive-race-card-full:hover { border-color: rgba(225,6,0,0.3); }
.archive-race-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

/* Podium inside archive race card */
.arc-race-podium {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 4px;
}
.arc-podium-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.arc-podium-name {
  font-size: 13px;
  font-weight: 700;
  color: #e0e0e0;
  line-height: 1.2;
}
.arc-podium-team {
  font-size: 11px;
  font-weight: 600;
  margin-top: 1px;
}
.arc-podium-gap {
  font-size: 11px;
  color: #555;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.3px;
}

/* Skeleton loading state */
.arc-skeleton {
  opacity: 0.7;
}
.arc-loading-bar {
  height: 3px;
  background: #1a1a1a;
  border-radius: 2px;
  overflow: hidden;
  margin-top: 14px;
}
.arc-loading-fill {
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  border-radius: 2px;
  animation: arc-shimmer 1.2s ease-in-out infinite;
}
@keyframes arc-shimmer {
  0%   { transform: translateX(-200%); }
  100% { transform: translateX(400%); }
}

/* ── DASHBOARD PODIUM GAP ────────────────────────────────── */
.podium-gap {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 700; color: #888; letter-spacing: 0.3px;
}
