:root {
  --void: #000000;
  --midnight: #0d0d1a;
  --deep-navy: #111827;
  --dark-slate: #1a1f35;
  --amber: #FFCF00;
  --amber-soft: #f59e0b;
  --white: #ffffff;
  --silver: #cbd5e1;
  --silver-dim: #94a3b8;
  --neon-green: #00FF00;
  --blood-red: #dc2626;
  --teal: #14b8a6;
  --teal-light: #5eead4;
  --transition-fast: 0.2s ease;
}

/* === RESET & BASE === */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(ellipse at top, #1a1f35 0%, #0d0d1a 60%);
  color: var(--white);
  line-height: 1.4;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

/* === HEADER === */
.header {
  background: linear-gradient(135deg, rgba(17,24,39,0.92) 0%, rgba(30,27,61,0.95) 100%);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(245,158,11,0.12);
  padding: 20px 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4), 0 0 60px rgba(245,158,11,0.03);
  position: relative;
  z-index: 1000;
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  width: 100%;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.logo-icon {
  height: 72px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(245,158,11,0.3)) drop-shadow(0 2px 6px rgba(0,0,0,0.4));
  transform: translateZ(0);
}

.logo-light {
  display: none;
}

.logo-dark {
  display: block;
}

[data-theme="daylight"] .logo-light {
  display: block;
}

[data-theme="daylight"] .logo-dark {
  display: none;
}

.logo-sub {
  font-size: 10px;
  color: var(--silver);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* === DASHBOARD SIGNALS === */
.dashboard-signals {
  display: flex;
  gap: 12px;
  flex: 0 0 auto;
}

/* === SIGNAL BOXES (SCHEDULED & LIVE) === */
.signal-box {
  position: relative;
  width: 110px;
  height: 72px;
  background: linear-gradient(145deg, rgba(26,31,53,0.5), rgba(17,24,39,0.7));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(203,213,225,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: inset 0 1px 0 rgba(203,213,225,0.03), 0 2px 12px rgba(0,0,0,0.3);
  overflow: hidden;
  transition: all 0.4s ease;
}

.signal-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, transparent, rgba(245,158,11,0.02));
  pointer-events: none;
}

.signal-box.live-active {
  background: linear-gradient(145deg, rgba(0,255,136,0.15), rgba(0,255,170,0.1));
  border: 1px solid rgba(0,255,136,0.5);
  box-shadow: 0 0 32px rgba(0,255,136,0.3), inset 0 1px 0 rgba(0,255,136,0.15);
  animation: live-glow 2s ease-in-out infinite;
}

.signal-box.live-active .signal-value {
  color: #00FF88;
  text-shadow: 0 0 24px rgba(0,255,136,0.5), 0 2px 8px rgba(0,0,0,0.3);
  animation: pulse-green-text 2s ease-in-out infinite;
}

.signal-box.live-active .live-dot {
  background: #00FF88;
  box-shadow: 0 0 16px #00FF88, 0 0 32px rgba(0,255,136,0.6), inset 0 0 4px rgba(255,255,255,0.8);
  animation: pulse-green-dot 1.5s ease-in-out infinite;
}

.signal-box.live-inactive {
  background: linear-gradient(145deg, rgba(220,38,38,0.12), rgba(185,28,28,0.08));
  border: 1px solid rgba(220,38,38,0.4);
  box-shadow: 0 0 24px rgba(220,38,38,0.2), inset 0 1px 0 rgba(220,38,38,0.1);
}

.signal-box.live-inactive .signal-value {
  color: #ef4444;
  text-shadow: 0 0 16px rgba(239,68,68,0.4);
}

.signal-box.live-inactive .live-dot {
  background: #ef4444;
  box-shadow: 0 0 12px #ef4444, 0 0 24px rgba(239,68,68,0.4);
  animation: pulse-red 2s ease-in-out infinite;
}

.signal-label {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--silver);
  font-family: 'Roboto Mono', monospace;
  opacity: 0.9;
}

.signal-value {
  font-size: 32px;
  font-weight: 900;
  font-family: 'Roboto Mono', monospace;
  letter-spacing: -2px;
  line-height: 1;
  color: rgba(255,255,255,0.9);
}

.live-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  background: rgba(203,213,225,0.15);
  border-radius: 50%;
}

/* === SYNC BOX (COMPACT VERSION) === */
.sync-box {
  width: 110px !important;
  height: 72px !important;
  background: linear-gradient(145deg, rgba(26,31,53,0.5), rgba(17,24,39,0.7)) !important;
  border: 1.5px solid rgba(203,213,225,0.15) !important;
  border-radius: 0;
  box-shadow: inset 0 1px 0 rgba(203,213,225,0.03), 0 2px 12px rgba(0,0,0,0.3);
  min-width: 110px;
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  gap: 6px;
}

.sync-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, transparent, rgba(245,158,11,0.02));
  pointer-events: none;
}

.sync-box .signal-label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: rgba(203,213,225,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--silver);
  z-index: 1;
  margin: 0;
  opacity: 0.9;
  text-transform: uppercase;
}

.sync-time {
  font-size: 18px;
  font-weight: 900;
  font-family: 'Roboto Mono', monospace;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.5px;
  line-height: 1;
  text-align: center;
  padding: 0 8px;
  margin: 0;
  margin-top: 26px;
}

.sync-relative {
  font-size: 8px;
  font-weight: 700;
  font-family: 'Roboto Mono', monospace;
  color: var(--silver-dim);
  text-align: center;
  text-transform: uppercase;
  line-height: 1;
  padding: 0 6px;
  opacity: 0.85;
  margin: 0;
  margin-bottom: 2px;
}

.sync-box.sync-fresh {
  border-color: rgba(20,184,166,0.35) !important;
  box-shadow: 0 0 24px rgba(20,184,166,0.20), inset 0 1px 0 rgba(20,184,166,0.12);
}

.sync-box.sync-fresh .sync-time { 
  color: #2dd4bf; 
}

.sync-box.sync-fresh .sync-relative { 
  color: rgba(45,212,191,0.85); 
}

.sync-box.sync-updating {
  animation: sync-pulse 1.2s ease-in-out infinite;
}

/* === ANIMATIONS === */
@keyframes live-glow {
  0%, 100% {
    border-color: rgba(0,255,136,0.5);
    box-shadow: 0 0 32px rgba(0,255,136,0.3), inset 0 1px 0 rgba(0,255,136,0.15);
  }
  50% {
    border-color: rgba(0,255,136,0.7);
    box-shadow: 0 0 40px rgba(0,255,136,0.4), inset 0 1px 0 rgba(0,255,136,0.2);
  }
}

@keyframes pulse-green-text {
  0%, 100% {
    text-shadow: 0 0 24px rgba(0,255,136,0.5), 0 2px 8px rgba(0,0,0,0.3);
  }
  50% {
    text-shadow: 0 0 32px rgba(0,255,136,0.7), 0 2px 8px rgba(0,0,0,0.3);
  }
}

@keyframes pulse-green-dot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 16px #00FF88, 0 0 32px rgba(0,255,136,0.6);
  }
  50% {
    transform: scale(1.3);
    opacity: 0.85;
    box-shadow: 0 0 24px #00FF88, 0 0 40px rgba(0,255,136,0.8);
  }
}

@keyframes pulse-red {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 12px #ef4444, 0 0 24px rgba(239,68,68,0.4);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 8px #ef4444, 0 0 16px rgba(239,68,68,0.3);
  }
}

@keyframes sync-pulse {
  0%, 100% { 
    box-shadow: inset 0 1px 0 rgba(203,213,225,0.03), 0 2px 12px rgba(0,0,0,0.3); 
  }
  50% { 
    box-shadow: 0 0 24px rgba(20,184,166,0.25), inset 0 1px 0 rgba(20,184,166,0.12); 
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes pulse-calculating {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

@keyframes pulse-window {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.9; }
}

@keyframes skeleton-load {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes dotPulse {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(255,207,0,0.15), 0 2px 8px rgba(255,207,0,0.3);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(255,207,0,0.2), 0 2px 12px rgba(255,207,0,0.5);
  }
}

/* === HERO === */
.hero {
  text-align: center;
  padding: 30px 20px 24px;
}

.hero-title {
  font-size: 26px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber-soft) 0%, var(--amber) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.hero-sub {
  font-size: 11px;
  color: var(--silver);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* === GAMES GRID === */
.games {
  display: grid;
  gap: 20px;
}

/* === GAME CARDS === */
.card {
  background: linear-gradient(145deg, rgba(17,24,39,0.9), rgba(13,13,26,0.95));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(203,213,225,0.1);
  overflow: visible;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,215,0,0.3);
  border-color: rgba(255,215,0,0.4);
}

.card-header {
  background: linear-gradient(135deg, rgba(26,31,53,0.6), rgba(17,24,39,0.8));
  padding: 10px 14px;
  border-bottom: 1px solid rgba(203,213,225,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.matchup {
  font-size: 13px;
  font-weight: 900;
  color: var(--amber);
  font-family: 'Roboto Mono', monospace;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.time {
  font-size: 10px;
  color: var(--silver);
  margin-top: 2px;
  font-weight: 600;
}

/* === BADGES === */
.badge {
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 800;
  font-family: 'Roboto Mono', monospace;
  border: 1px solid;
  letter-spacing: 0.5px;
}

.badge.pre {
  background: rgba(26,31,53,0.8);
  border-color: rgba(245,158,11,0.4);
  color: var(--amber-soft);
}

.badge.in {
  background: rgba(220,38,38,0.2);
  border-color: #dc2626;
  color: #fecaca;
  position: relative;
}

.badge.in::before {
  content: '';
  position: absolute;
  top: 5px;
  right: 5px;
  width: 4px;
  height: 4px;
  background: #dc2626;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.badge.post {
  background: rgba(132,204,22,0.2);
  border-color: #84cc16;
  color: #bef264;
}

/* === TEAMS === */
.teams {
  background: linear-gradient(135deg, rgba(13,13,26,0.6), rgba(17,24,39,0.8));
  padding: 0;
}

.team {
  display: grid;
  grid-template-columns: 42px 1fr 70px;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(203,213,225,0.04);
  transition: background 0.2s ease;
}

.team:hover {
  background: rgba(26,31,53,0.4);
}

.team:last-child {
  border-bottom: none;
}

.logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

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

.abbr {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.name {
  font-size: 11px;
  color: var(--silver);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.record {
  font-size: 10px;
  color: var(--silver);
  font-family: 'Roboto Mono', monospace;
  font-weight: 700;
  opacity: 0.85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  line-height: 1.4;
}

/* Mobile adjustments for longer record text */
@media (max-width: 768px) {
  .record {
    font-size: 9px;
    white-space: normal;
    line-height: 1.3;
  }
}

@media (max-width: 480px) {
  .record {
    font-size: 8px;
  }
}


.score {
  font-size: 34px;
  font-weight: 900;
  font-family: 'Roboto Mono', monospace;
  color: var(--silver);
  letter-spacing: -1.5px;
  text-align: right;
  line-height: 1;
}

.score.lead {
  color: var(--amber);
  text-shadow: 0 0 16px rgba(255,207,0,0.3);
}

/* === ODDS & PROJECTIONS === */
.odds-projections-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(245,158,11,0.15);
  background: rgba(0,0,0,0.25);
  gap: 0;
}

.odds-projections-wrapper:has(.odds-section:only-child) .odds-section,
.odds-projections-wrapper:has(.proj-section:only-child) .proj-section {
  border-right: none;
}

.odds-section {
  padding: 10px 14px;
  border-right: 1px solid rgba(245,158,11,0.12);
  background: rgba(30, 35, 40, 0.4);
}

.odds-projections-wrapper > *:last-child {
  border-right: none;
}

.proj-section {
  padding: 10px 14px;
  background: rgba(25, 30, 40, 0.4);
}

.section-title {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
  font-family: 'Roboto Mono', monospace;
}

.odds-section .section-title {
  color: #9ca3af;
}

.odds-section .section-title {
  color: #9ca3af;
}

.odds-grid,
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.odds-item,
.proj-item {
  text-align: center;
}

.odds-label,
.proj-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-family: 'Roboto Mono', monospace;
  letter-spacing: 0.5px;
}

.odds-label {
  color: #dc2626;
}

.proj-label {
  color: #2563eb;
}

.odds-value {
  font-size: 13px;
  font-weight: 900;
  color: #d1d5db;
  font-family: 'Roboto Mono', monospace;
  letter-spacing: -0.5px;
  line-height: 1;
}

.proj-value {
  font-size: 13px;
  font-weight: 900;
  color: var(--silver);
  font-family: 'Roboto Mono', monospace;
  letter-spacing: -0.5px;
  line-height: 1;
}

/* === CALCULATING STATE === */
.proj-calculating {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  padding: 20px 14px;
  background: linear-gradient(135deg, rgba(20,184,166,0.08), rgba(13,148,136,0.12));
}

.calculating-state {
  text-align: center;
}

.calculating-icon {
  font-size: 32px;
  margin-bottom: 8px;
  opacity: 0.5;
  animation: pulse-calculating 2s ease-in-out infinite;
}

.calculating-text {
  font-size: 11px;
  font-weight: 800;
  color: var(--teal-light);
  letter-spacing: 1px;
  margin-bottom: 4px;
  font-family: 'Roboto Mono', monospace;
}

.calculating-sub {
  font-size: 10px;
  color: var(--silver-dim);
  font-family: 'Roboto Mono', monospace;
  font-weight: 600;
}

/* === EDGE ANALYSIS === */
.premium-edge-section {
  padding: 16px 14px;
  background: linear-gradient(135deg, rgba(13,13,26,0.95), rgba(17,24,39,0.98));
  border-top: 1px solid rgba(0,255,136,0.2);
  overflow: visible;
}

.edge-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(203,213,225,0.08);
}

.edge-main-metric {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.edge-value {
  font-size: 16px;
  font-weight: 900;
  font-family: 'Roboto Mono', monospace;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.edge-value.positive {
  color: var(--neon-green);
  text-shadow: 0 0 16px rgba(0,255,136,0.3);
}

.edge-value.negative {
  color: var(--blood-red);
  text-shadow: 0 0 16px rgba(220,38,38,0.3);
}

.edge-reference {
  font-size: 10px;
  color: var(--silver);
  font-family: 'Roboto Mono', monospace;
  font-weight: 600;
}

.signal-strength-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.signal-bars {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 22px;
}

.signal-bar {
  width: 6px;
  background: rgba(203,213,225,0.1);
  transition: all 0.3s ease;
}

.signal-bar:nth-child(1) { height: 6px; }
.signal-bar:nth-child(2) { height: 10px; }
.signal-bar:nth-child(3) { height: 14px; }
.signal-bar:nth-child(4) { height: 18px; }
.signal-bar:nth-child(5) { height: 22px; }

.signal-bar.active {
  background: linear-gradient(180deg, var(--amber) 0%, var(--amber-soft) 100%);
  box-shadow: 0 0 8px rgba(245,158,11,0.3);
}

.confidence-pct {
  font-size: 12px;
  font-weight: 900;
  font-family: 'Roboto Mono', monospace;
  color: var(--amber);
}

/* === METRICS GRID === */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
  overflow: visible;
}

.metric-box {
  padding: 10px 8px;
  background: rgba(26,31,53,0.5);
  border: 1px solid rgba(203,213,225,0.06);
  text-align: center;
}

.metric-label {
  font-size: 10px;
  color: var(--silver);
  font-weight: 800;
  text-transform: uppercase;
  font-family: 'Roboto Mono', monospace;
  margin-bottom: 6px;
  letter-spacing: 0.8px;
}

.metric-val {
  font-size: 16px;
  font-weight: 900;
  font-family: 'Roboto Mono', monospace;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 5px;
  letter-spacing: -0.5px;
}

.metric-val.positive { color: var(--neon-green); }
.metric-val.negative { color: var(--blood-red); }
.metric-val.warning { color: #fbbf24; }
.metric-val.neutral { color: var(--white); }
.metric-val.critical { color: #fbbf24; }

.metric-sub {
  font-size: 10px;
  color: var(--silver);
  font-family: 'Roboto Mono', monospace;
  font-weight: 600;
}

/* === ACTION ROW === */
.action-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.recommendation,
.game-script-badge,
.momentum-badge,
.risk-badge {
  font-size: 10px;
  font-weight: 900;
  font-family: 'Roboto Mono', monospace;
  padding: 8px 6px;
  border: 2px solid;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-align: center;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
}

.recommendation.strong {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.30), rgba(4, 120, 87, 0.40));
  border-color: #10b981;
  border-width: 3px;
  color: #d1fae5;
  box-shadow: 0 0 24px rgba(5, 150, 105, 0.5), 0 6px 16px rgba(0,0,0,0.4);
  text-shadow: 0 2px 6px rgba(5, 150, 105, 0.5);
}

.recommendation.lean {
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.30), rgba(168, 85, 247, 0.40));
  border-color: #c084fc;
  border-width: 3px;
  color: #f3e8ff;
  box-shadow: 0 0 24px rgba(192, 132, 252, 0.5), 0 6px 16px rgba(0,0,0,0.4);
  text-shadow: 0 2px 6px rgba(192, 132, 252, 0.5);
}

.recommendation.monitor {
  background: linear-gradient(135deg, rgba(71, 85, 105, 0.35), rgba(51, 65, 85, 0.45));
  border-color: #64748b;
  border-width: 3px;
  color: #f1f5f9;
  box-shadow: 0 0 14px rgba(71, 85, 105, 0.3), 0 6px 16px rgba(0,0,0,0.4);
  text-shadow: 0 2px 6px rgba(71, 85, 105, 0.5);
}

.script-competitive {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.30), rgba(2, 132, 199, 0.40));
  border-color: #0ea5e9;
  border-width: 3px;
  color: #e0f2fe;
  box-shadow: 0 0 24px rgba(14, 165, 233, 0.5), 0 6px 16px rgba(0,0,0,0.4);
  text-shadow: 0 2px 6px rgba(14, 165, 233, 0.5);
}

.script-blowout {
  background: linear-gradient(135deg, rgba(71, 85, 105, 0.35), rgba(51, 65, 85, 0.45));
  border-color: #64748b;
  border-width: 3px;
  color: #f1f5f9;
  box-shadow: 0 0 14px rgba(71, 85, 105, 0.3), 0 6px 16px rgba(0,0,0,0.4);
  text-shadow: 0 2px 6px rgba(71, 85, 105, 0.5);
}

.script-tight {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.30), rgba(245, 158, 11, 0.40));
  border-color: #fbbf24;
  border-width: 3px;
  color: #fef3c7;
  box-shadow: 0 0 24px rgba(251, 191, 36, 0.5), 0 6px 16px rgba(0,0,0,0.4);
  text-shadow: 0 2px 6px rgba(251, 191, 36, 0.5);
}

.momentum-hot {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.30), rgba(185, 28, 28, 0.40));
  border-color: #dc2626;
  border-width: 3px;
  color: #fee2e2;
  box-shadow: 0 0 24px rgba(220, 38, 38, 0.5), 0 6px 16px rgba(0,0,0,0.4);
  text-shadow: 0 2px 6px rgba(220, 38, 38, 0.5);
}

.momentum-steady {
  background: linear-gradient(135deg, rgba(71, 85, 105, 0.35), rgba(51, 65, 85, 0.45));
  border-color: #64748b;
  border-width: 3px;
  color: #f1f5f9;
  box-shadow: 0 0 14px rgba(71, 85, 105, 0.3), 0 6px 16px rgba(0,0,0,0.4);
  text-shadow: 0 2px 6px rgba(71, 85, 105, 0.5);
}

.momentum-cold {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.30), rgba(29, 78, 216, 0.40));
  border-color: #3b82f6;
  border-width: 3px;
  color: #dbeafe;
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.5), 0 6px 16px rgba(0,0,0,0.4);
  text-shadow: 0 2px 6px rgba(37, 99, 235, 0.5);
}

.risk-low {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.30), rgba(4, 120, 87, 0.40));
  border-color: #10b981;
  border-width: 3px;
  color: #d1fae5;
  box-shadow: 0 0 24px rgba(5, 150, 105, 0.5), 0 6px 16px rgba(0,0,0,0.4);
  text-shadow: 0 2px 6px rgba(5, 150, 105, 0.5);
}

.risk-medium {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.30), rgba(245, 158, 11, 0.40));
  border-color: #fbbf24;
  border-width: 3px;
  color: #fef3c7;
  box-shadow: 0 0 24px rgba(251, 191, 36, 0.5), 0 6px 16px rgba(0,0,0,0.4);
  text-shadow: 0 2px 6px rgba(251, 191, 36, 0.5);
}

.risk-high {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.30), rgba(185, 28, 28, 0.40));
  border-color: #dc2626;
  border-width: 3px;
  color: #fee2e2;
  box-shadow: 0 0 24px rgba(220, 38, 38, 0.5), 0 6px 16px rgba(0,0,0,0.4);
  text-shadow: 0 2px 6px rgba(220, 38, 38, 0.5);
}

.urgency-badge.urgency-window {
  grid-column: span 2;
  background: rgba(245,158,11,0.15);
  border: 2px solid var(--amber);
  color: var(--amber);
  font-weight: 900;
  font-size: 10px;
  padding: 10px;
  box-shadow: 0 2px 12px rgba(245,158,11,0.25);
  animation: pulse-window 2s ease-in-out infinite;
}

/* === TIMELINE === */
.timeline-section {
  padding: 0;
}

.timeline-track {
  position: relative;
  height: 34px;
  background: rgba(0,0,0,0.5);
  border: 2px solid rgba(255,207,0,0.25);
  overflow: hidden;
  margin-bottom: 8px;
}

.timeline-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(255,207,0,0.25), rgba(245,158,11,0.4));
  border-right: 3px solid var(--amber);
  box-shadow: 2px 0 15px rgba(255,207,0,0.5);
  position: relative;
  transition: width 0.5s ease;
}

.timeline-progress-pct {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Roboto Mono', monospace;
  font-size: 13px;
  font-weight: 900;
  color: var(--amber);
  z-index: 2;
}

.quarter-markers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
  gap: 6px;
}

.quarter-marker {
  padding: 8px 6px;
  text-align: center;
  font-size: 11px;
  font-weight: 900;
  font-family: 'Roboto Mono', monospace;
  background: rgba(26,31,53,0.5);
  border: 2px solid rgba(100,116,139,0.25);
  color: #64748b;
  transition: all 0.3s ease;
}

.quarter-marker.active {
  background: rgba(255,207,0,0.15);
  border-color: rgba(255,207,0,0.5);
  color: var(--amber);
}

/* === TOOLTIPS === */
.tooltip-wrapper {
  position: relative;
  cursor: help;
  transition: transform 0.15s ease;
}

.edge-title-bar > .tooltip-wrapper {
  display: flex;
}

.metrics-grid > .tooltip-wrapper {
  display: block;
}

.action-row > .tooltip-wrapper {
  display: flex;
}

.tooltip-wrapper:hover {
  transform: translateY(-1px);
}

.metric-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: 300px;
  max-width: calc(100vw - 40px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  pointer-events: none;
  filter: drop-shadow(0 0 1px rgba(148, 163, 184, 0.4));
}

.tooltip-wrapper:hover .metric-tooltip,
.tooltip-wrapper:active .metric-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* Show tooltip when wrapper has active class (for click-to-open) */
.tooltip-wrapper.active .metric-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}


.metric-tooltip-content {
  background: linear-gradient(135deg, #0a0a12 0%, #0d0d1a 50%, #111827 100%);
  border: 1px solid #94a3b8;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 4px 12px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(148, 163, 184, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.metric-tooltip-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 207, 0, 0.4) 50%, transparent 100%);
  opacity: 0.6;
}

.metric-tooltip-content::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px,
    rgba(148, 163, 184, 0.02) 2px, rgba(148, 163, 184, 0.02) 4px);
  pointer-events: none;
  opacity: 0.5;
}

.metric-tooltip-body {
  padding: 14px;
  position: relative;
  z-index: 1;
}

.metric-tooltip-prompt {
  font-size: 9px;
  color: #00FF00;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: 'Roboto Mono', monospace;
  line-height: 1.4;
  text-shadow: 0 0 8px rgba(0, 255, 0, 0.3);
  letter-spacing: 0.5px;
}

.metric-tooltip-prompt::before {
  content: '$ ';
  color: #FFCF00;
  text-shadow: 0 0 8px rgba(255, 207, 0, 0.4);
}

.metric-tooltip-title {
  font-size: 10px;
  color: #FFCF00;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 4px;
  font-family: 'Roboto Mono', monospace;
  line-height: 1.3;
  opacity: 0.95;
  text-shadow: 0 0 8px rgba(255, 207, 0, 0.25);
}

.metric-tooltip-value {
  font-size: 16px;
  color: #FFCF00;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  font-family: 'Roboto Mono', monospace;
  line-height: 1.2;
  text-shadow: 0 0 12px rgba(255, 207, 0, 0.25);
}

.metric-tooltip-desc {
  font-size: 10px;
  line-height: 1.65;
  color: #94a3b8;
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.metric-tooltip-insight {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding-top: 10px;
  font-size: 9px;
  color: #fde68a;
  line-height: 1.6;
  font-family: 'Roboto Mono', monospace;
  font-weight: 600;
  background: rgba(253, 230, 138, 0.03);
  margin: -4px -14px -4px -14px;
  padding: 10px 14px;
}

.metric-tooltip-insight::before {
  content: '> ';
  color: #00FF00;
  font-weight: 900;
  text-shadow: 0 0 6px rgba(0, 255, 0, 0.4);
  margin-right: 2px;
}

.metric-tooltip-arrow {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 12px;
  height: 6px;
  margin-left: -6px;
  overflow: hidden;
}

.metric-tooltip-arrow::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #0a0a12 0%, #0d0d1a 50%, #111827 100%);
  border: 1px solid #94a3b8;
  border-left: none;
  border-top: none;
  transform: rotate(45deg);
  top: -6px;
  left: 1px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Tooltip positioning for metrics grid */
.metrics-grid .tooltip-wrapper:nth-child(odd) .metric-tooltip {
  left: 0;
  transform: translateX(0) translateY(4px);
}

.metrics-grid .tooltip-wrapper:nth-child(odd):hover .metric-tooltip {
  transform: translateX(0) translateY(0);
}

.metrics-grid .tooltip-wrapper:nth-child(odd) .metric-tooltip-arrow {
  left: 24px;

.metrics-grid .tooltip-wrapper:nth-child(odd).active .metric-tooltip {
  transform: translateX(0) translateY(0);
}
  margin-left: 0;
}

.metrics-grid .tooltip-wrapper:nth-child(even) .metric-tooltip {
  left: auto;
  right: 0;
  transform: translateX(0) translateY(4px);
}

.metrics-grid .tooltip-wrapper:nth-child(even):hover .metric-tooltip {
  transform: translateX(0) translateY(0);
}

.metrics-grid .tooltip-wrapper:nth-child(even) .metric-tooltip-arrow {

.metrics-grid .tooltip-wrapper:nth-child(even).active .metric-tooltip {
  transform: translateX(0) translateY(0);
}
  left: auto;
  right: 24px;
  margin-left: 0;
}

/* Mobile tooltip positioning - center all tooltips to prevent cutoff */
@media (max-width: 1023px) {
  .metric-tooltip {
    width: 280px;
    max-width: calc(100vw - 40px);
  }

  .metrics-grid .tooltip-wrapper .metric-tooltip,
  .action-row .tooltip-wrapper .metric-tooltip {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(4px);
  }

  .metrics-grid .tooltip-wrapper:hover .metric-tooltip,
  .metrics-grid .tooltip-wrapper.active .metric-tooltip,
  .metrics-grid .tooltip-wrapper:active .metric-tooltip,
  .action-row .tooltip-wrapper:hover .metric-tooltip,
  .action-row .tooltip-wrapper.active .metric-tooltip,
  .action-row .tooltip-wrapper:active .metric-tooltip {
    transform: translateX(-50%) translateY(0);
  }

  .metrics-grid .tooltip-wrapper .metric-tooltip-arrow,
  .action-row .tooltip-wrapper .metric-tooltip-arrow {
    left: 50%;
    right: auto;
    margin-left: -6px;
  }

  /* DISABLE tooltips for betting lines & projections on mobile */
  .odds-section .tooltip-wrapper .metric-tooltip,
  .proj-section .tooltip-wrapper .metric-tooltip {
    display: none !important;
  }
  
  .odds-section .tooltip-wrapper,
  .proj-section .tooltip-wrapper {
    cursor: default;
  }
  
  .odds-section .tooltip-wrapper:hover,
  .proj-section .tooltip-wrapper:hover {
    transform: none;
  }
}

/* Extra small mobile - further constrain tooltip width */
@media (max-width: 480px) {
  .metric-tooltip {
    width: 260px;
    max-width: calc(100vw - 32px);
  }

}

.action-row .tooltip-wrapper:first-child .metric-tooltip,
.edge-title-bar .tooltip-wrapper:first-child .metric-tooltip {
  left: 0;
  transform: translateX(0) translateY(4px);
}

.action-row .tooltip-wrapper:first-child:hover .metric-tooltip,
.edge-title-bar .tooltip-wrapper:first-child:hover .metric-tooltip {
  transform: translateX(0) translateY(0);
}

.action-row .tooltip-wrapper:first-child .metric-tooltip-arrow,

.action-row .tooltip-wrapper:first-child.active .metric-tooltip,
.edge-title-bar .tooltip-wrapper:first-child.active .metric-tooltip {
  transform: translateX(0) translateY(0);
}
.edge-title-bar .tooltip-wrapper:first-child .metric-tooltip-arrow {
  left: 24px;
  margin-left: 0;
}

.action-row .tooltip-wrapper:last-child .metric-tooltip,
.edge-title-bar .tooltip-wrapper:last-child .metric-tooltip {
  left: auto;
  right: 0;
  transform: translateX(0) translateY(4px);
}

.action-row .tooltip-wrapper:last-child:hover .metric-tooltip,
.edge-title-bar .tooltip-wrapper:last-child:hover .metric-tooltip {
  transform: translateX(0) translateY(0);
}


.action-row .tooltip-wrapper:last-child.active .metric-tooltip,
.edge-title-bar .tooltip-wrapper:last-child.active .metric-tooltip {
  transform: translateX(0) translateY(0);
}
.action-row .tooltip-wrapper:last-child .metric-tooltip-arrow,
.edge-title-bar .tooltip-wrapper:last-child .metric-tooltip-arrow {
  left: auto;
  right: 24px;
  margin-left: 0;
}

/* === THEME SELECTOR === */
/* === THEME CONTROL - SIMPLIFIED (NO MOVEMENT) === */
.theme-control {
  position: relative;
  z-index: 1001;
  flex: 0 0 auto;
}

.theme-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(145deg, rgba(26,31,53,0.6), rgba(17,24,39,0.8));
  border: 1px solid rgba(255,207,0,0.2);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: 'Roboto Mono', monospace;
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  position: relative;
  overflow: visible;
  min-width: 110px;
}

.theme-button:hover {
  background: rgba(255, 207, 0, 0.1);
  border-color: rgba(255, 207, 0, 0.4);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3), 0 0 16px rgba(255, 207, 0, 0.08);
}

.theme-button:active {
  background: rgba(255, 207, 0, 0.12);
}

.theme-button.active {
  border-color: rgba(255, 207, 0, 0.35);
  box-shadow: 0 0 16px rgba(255, 207, 0, 0.15);
}

.theme-label {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

.theme-number {
  font-size: 16px;
  font-weight: 800;
  color: #FFCF00;
  font-family: 'Roboto Mono', monospace;
  min-width: 16px;
  text-align: center;
  transition: color 0.2s ease, opacity 0.15s ease;
}

.theme-arrow {
  font-size: 10px;
  color: #FFCF00;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
  opacity: 0.8;
}

.theme-button[aria-expanded="true"] .theme-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.theme-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: linear-gradient(145deg, rgba(26,31,53,0.98), rgba(17,24,39,0.98));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 207, 0, 0.3);
  border-radius: 10px;
  padding: 8px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 207, 0, 0.1);
  z-index: 1002;
}

.theme-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.theme-menu.closing {
  opacity: 0;
  transform: translateY(-10px);
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  margin-bottom: 4px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  font-family: 'Roboto Mono', monospace;
  position: relative;
  border: 1px solid transparent;
}

.theme-option:hover {
  background: rgba(255, 207, 0, 0.12);
  border-color: rgba(255, 207, 0, 0.35);
}

.theme-option:focus {
  outline: none;
  background: rgba(255, 207, 0, 0.15);
  border-color: rgba(255, 207, 0, 0.4);
  box-shadow: 0 0 0 2px rgba(255,207,0,0.2) inset;
}

.theme-option.selected,
.theme-option[aria-selected="true"] {
  background: rgba(255, 207, 0, 0.15);
  border-color: rgba(255, 207, 0, 0.4);
}

.theme-option-number {
  font-size: 16px;
  font-weight: 900;
  color: #FFCF00;
  font-family: 'Roboto Mono', monospace;
  min-width: 20px;
  transition: color 0.2s ease;
}

.theme-option:hover .theme-option-number {
  color: #FFE066;
}

.theme-option-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  opacity: 1;
  flex: 1;
  transition: color 0.2s ease;
}

.theme-option:hover .theme-option-name {
  color: #fff;
}

.theme-option.selected .theme-option-name,
.theme-option[aria-selected="true"] .theme-option-name {
  color: #fff;
  font-weight: 700;
}

[data-theme="blue-ghost"] .theme-option[data-theme="daylight"] .theme-option-name {
  color: #ffffff !important;
}

.theme-option-check {
  font-size: 14px;
  color: #00FF88;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.theme-option.selected .theme-option-check,
.theme-option[aria-selected="true"] .theme-option-check {
  opacity: 1;
}

.theme-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 207, 0, 0.2), transparent);
  margin: 6px 0;
}

.theme-reset {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  margin-top: 4px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  font-family: 'Roboto Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(239,68,68,0.7);
}

.theme-reset:hover {
  background: rgba(220,38,38,0.15);
  color: #ef4444;
}

.theme-reset:focus {
  outline: none;
  background: rgba(220,38,38,0.18);
  box-shadow: 0 0 0 2px rgba(220,38,38,0.3) inset;
}

.theme-reset:active {
  background: rgba(220,38,38,0.22);
}

/* === FOOTER === */
.footer {
  padding: 40px 20px;
  margin-top: auto;
  flex-shrink: 0;
  background: radial-gradient(circle at 2px 2px, rgba(245,158,11,0.12) 1px, transparent 1px),
    linear-gradient(135deg, rgba(13,13,26,0.98) 0%, rgba(17,24,39,0.96) 50%, rgba(13,13,26,0.98) 100%);
  background-size: 40px 40px, 100% 100%;
  border-top: 2px solid rgba(245,158,11,0.35);
  box-shadow: 0 -12px 40px rgba(0,0,0,0.7), inset 0 2px 0 rgba(245,158,11,0.2),
    0 -4px 20px rgba(245,158,11,0.15);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(245,158,11,0.6) 20%,
    rgba(167,139,250,0.5) 50%, rgba(245,158,11,0.6) 80%, transparent 100%);
  opacity: 0.7;
  filter: blur(1px);
}

.footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(245,158,11,0.02) 0%, transparent 40%, transparent 100%);
  pointer-events: none;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  margin-bottom: 20px;
}

.footer-logo {
  height: 50px;
  width: auto;
  display: block;
  margin: 0 auto 10px;
  filter: drop-shadow(0 0 10px rgba(245,158,11,0.2));
}

.footer-logo.logo-light {
  display: none;
}

.footer-logo.logo-dark {
  display: block;
}

.footer-tagline {
  font-size: 14px;
  color: var(--amber);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 1;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 207, 0, 0.3);
}

.footer-disclaimer {
  font-size: 12px;
  color: var(--silver);
  line-height: 2;
  max-width: 700px;
  margin: 0 auto 20px;
  opacity: 0.85;
}

.footer-disclaimer strong {
  color: var(--amber-soft);
  font-weight: 900;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.footer-link {
  font-size: 12px;
  color: var(--silver);
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition-fast);
  opacity: 0.75;
}

.footer-link:hover {
  color: var(--amber-soft);
  opacity: 1;
  text-shadow: 0 0 10px rgba(245,158,11,0.3);
}

/* === UTILITY === */
.skeleton {
  background: rgba(17,24,39,0.8);
  border: 1px solid rgba(203,213,225,0.06);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.skeleton::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(203,213,225,0.04), transparent);
  animation: skeleton-load 2s infinite;
}

.skeleton-line {
  height: 20px;
  background: rgba(26,31,53,0.5);
  margin-bottom: 10px;
}

.empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--silver);
}

.empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.2;
}

.empty-message {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.empty-subtitle {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.7;
}

.hidden {
  display: none !important;
}

/* Fallback for browsers without :has() support */
.no-has .odds-projections-wrapper.fallback-odds-only,
.no-has .odds-projections-wrapper.fallback-proj-only {
  grid-template-columns: 1fr;
}

.no-has .fallback-odds-only .odds-section {
  border-right: none;
}

.no-has .fallback-proj-only .proj-section {
  border-right: none;
}

/* =============================================================================
   LIGHT THEME
   ============================================================================= */

[data-theme="daylight"] {
  --accent-primary: #1E293B;
  --accent-secondary: #334155;
  --betting-primary: #EA580C;
  --betting-secondary: #C2410C;
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-section: #F1F5F9;
  --bg-hover: #E2E8F0;
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-tertiary: #1e293b;
  --text-muted: #64748B;
  --border-subtle: rgba(15, 23, 42, 0.06);
  --border-default: rgba(15, 23, 42, 0.10);
  --border-strong: rgba(15, 23, 42, 0.20);
  --status-success: #059669;
  --status-success-bg: rgba(5, 150, 105, 0.10);
  --status-success-border: rgba(5, 150, 105, 0.30);
  --status-danger: #DC2626;
  --status-danger-bg: rgba(220, 38, 38, 0.10);
  --status-danger-border: rgba(220, 38, 38, 0.30);
  --status-warning: #EA580C;
  --status-warning-bg: rgba(234, 88, 12, 0.10);
  --status-warning-border: rgba(234, 88, 12, 0.30);
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.10), 0 1px 2px -1px rgba(0, 0, 0, 0.10);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -2px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.10), 0 8px 10px -6px rgba(0, 0, 0, 0.10);
}

[data-theme="daylight"] body {
  background: var(--bg-page);
  color: var(--text-primary);
}

[data-theme="daylight"] .header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-default);
  box-shadow: var(--shadow-sm);
}

[data-theme="daylight"] .logo-icon {
  filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.08));
}

[data-theme="daylight"] .logo-sub {
  color: var(--text-secondary);
  font-weight: 900;
}

[data-theme="daylight"] .signal-box {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2.5px solid rgba(15, 23, 42, 0.20);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

[data-theme="daylight"] .signal-label {
  color: var(--text-secondary);
  font-weight: 900;
}

[data-theme="daylight"] .signal-value {
  color: #0f172a;
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

[data-theme="daylight"] .signal-box.live-active {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border: 2px solid var(--status-success);
  box-shadow: 0 0 20px rgba(5, 150, 105, 0.25), 0 2px 8px rgba(0, 0, 0, 0.08);
  animation: daylight-live-glow 2s ease-in-out infinite;
}

@keyframes daylight-live-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(5, 150, 105, 0.25), 0 2px 8px rgba(0, 0, 0, 0.08);
  }
  50% {
    box-shadow: 0 0 30px rgba(5, 150, 105, 0.35), 0 2px 8px rgba(0, 0, 0, 0.08);
  }
}

[data-theme="daylight"] .signal-box.live-active .signal-value {
  color: var(--status-success);
  font-weight: 900;
}

[data-theme="daylight"] .signal-box.live-active .live-dot {
  background: var(--status-success);
  box-shadow: none;
}

[data-theme="daylight"] .signal-box.live-inactive {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border: 2px solid var(--status-danger);
  box-shadow: 0 0 16px rgba(220, 38, 38, 0.20), 0 2px 6px rgba(0, 0, 0, 0.08);
}

[data-theme="daylight"] .signal-box.live-inactive .signal-value {
  color: var(--status-danger);
  font-weight: 900;
}

[data-theme="daylight"] .signal-box.live-inactive .live-dot {
  background: var(--status-danger);
  box-shadow: none;
}

[data-theme="daylight"] .sync-box {
  background: linear-gradient(135deg, 
    #ffffff 0%,
    #f8fafc 25%,
    #f1f5f9 50%,
    #f8fafc 75%,
    #ffffff 100%) !important;
  border: 1.5px solid var(--border-default) !important;
  box-shadow: 
    0 2px 6px rgba(0, 0, 0, 0.08), 
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(203, 213, 225, 0.3);
}

[data-theme="daylight"] .sync-box::before {
  background: linear-gradient(145deg, transparent, rgba(15,23,42,0.02));
}

[data-theme="daylight"] .sync-box .signal-label {
  background: rgba(148,163,184,0.06);
  color: var(--text-secondary);
  font-weight: 900;
}

[data-theme="daylight"] .sync-time {
  color: var(--text-primary);
  font-weight: 900;
}

[data-theme="daylight"] .sync-relative {
  color: var(--text-tertiary);
  font-weight: 700;
}

[data-theme="daylight"] .sync-box.sync-fresh {
  background: linear-gradient(135deg, #ccfbf1 0%, #a5f3fc 100%) !important;
  border: 1.5px solid #14b8a6 !important;
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.20), 0 2px 6px rgba(0, 0, 0, 0.06);
}

[data-theme="daylight"] .sync-box.sync-fresh .sync-time {
  color: #0d9488;
  font-weight: 900;
}

[data-theme="daylight"] .sync-box.sync-fresh .sync-relative {
  color: #14b8a6;
  font-weight: 700;
}

[data-theme="daylight"] .hero-title {
  color: var(--accent-primary);
  font-weight: 900;
}

[data-theme="daylight"] .hero-sub {
  color: var(--text-secondary);
  font-weight: 900;
}

[data-theme="daylight"] .card {
  background: linear-gradient(135deg, 
    #ffffff 0%,
    #fafafa 50%,
    #ffffff 100%);
  border: 1px solid var(--border-default);
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

[data-theme="daylight"] .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%);
  transition: left 0.5s ease;
}

[data-theme="daylight"] .card:hover::before {
  left: 100%;
}

[data-theme="daylight"] .card:hover {
  transform: translateY(-4px);
  border-color: var(--border-graphite);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

[data-theme="daylight"] .card-header {
  background: linear-gradient(135deg, 
    #f8fafc 0%,
    #f1f5f9 50%,
    #f8fafc 100%);
  border-bottom: 1px solid var(--border-default);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.6);
}

[data-theme="daylight"] .matchup {
  color: var(--accent-primary);
  font-weight: 900;
}

[data-theme="daylight"] .time {
  color: var(--text-secondary);
  font-weight: 900;
}

[data-theme="daylight"] .badge {
  font-weight: 900;
  border-width: 2px;
}

[data-theme="daylight"] .badge.pre {
  background: #dbeafe;
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  font-weight: 900;
  box-shadow: 0 2px 4px rgba(29, 78, 216, 0.10);
}

[data-theme="daylight"] .badge.in {
  background: var(--status-danger-bg);
  border-color: var(--status-danger);
  color: var(--status-danger);
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.15);
}

[data-theme="daylight"] .badge.in::before {
  background: var(--status-danger);
}

[data-theme="daylight"] .badge.post {
  background: var(--status-success-bg);
  border-color: var(--status-success);
  color: var(--status-success);
  font-weight: 900;
  box-shadow: 0 2px 4px rgba(5, 150, 105, 0.10);
}

[data-theme="daylight"] .teams {
  background: var(--bg-card);
}

[data-theme="daylight"] .team {
  border-bottom: 1px solid var(--border-subtle);
}

[data-theme="daylight"] .team:hover {
  background: linear-gradient(135deg, 
    #f8fafc 0%,
    #eff6ff 50%,
    #f8fafc 100%);
}

[data-theme="daylight"] .abbr {
  color: var(--text-primary);
  font-weight: 900;
}

[data-theme="daylight"] .name {
  color: var(--text-secondary);
  font-weight: 800;
}

[data-theme="daylight"] .record {
  color: var(--text-tertiary);
  font-weight: 800;
}

[data-theme="daylight"] .score {
  color: var(--text-tertiary);
  font-weight: 900;
}

[data-theme="daylight"] .score.lead {
  color: var(--betting-primary);
  font-weight: 900;
}

[data-theme="daylight"] .odds-projections-wrapper {
  border-top: 2px solid var(--border-default);
  background: linear-gradient(135deg, 
    #ffffff 0%,
    #fafafa 50%,
    #ffffff 100%);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
}

[data-theme="daylight"] .odds-section {
  background: linear-gradient(135deg, 
    #f0f9ff 0%, 
    #e0f2fe 50%,
    #f0f9ff 100%);
  border-right: 1px solid var(--border-default);
  box-shadow: inset 0 1px 0 rgba(37, 99, 235, 0.08);
}

[data-theme="daylight"] .proj-section,
[data-theme="daylight"] .proj-calculating {
  background: linear-gradient(135deg, 
    #fafafa 0%, 
    #f5f5f5 50%,
    #fafafa 100%);
  box-shadow: inset 0 1px 0 rgba(113, 113, 122, 0.08);
}

[data-theme="daylight"] .section-title {
  font-weight: 900;
}

[data-theme="daylight"] .odds-section .section-title {
  color: var(--accent-primary);
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(29, 78, 216, 0.15);
}

[data-theme="daylight"] .proj-section .section-title {
  color: var(--border-graphite);
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(113, 113, 122, 0.15);
}

[data-theme="daylight"] .odds-label,
[data-theme="daylight"] .proj-label {
  color: var(--text-secondary);
  font-weight: 900;
}

[data-theme="daylight"] .odds-value {
  color: var(--betting-primary);
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(234, 88, 12, 0.2);
}

[data-theme="daylight"] .proj-value {
  color: var(--text-primary);
  font-weight: 900;
}

[data-theme="daylight"] .calculating-text {
  color: var(--accent-primary);
  font-weight: 900;
}

[data-theme="daylight"] .calculating-sub {
  color: var(--text-secondary);
  font-weight: 900;
}

[data-theme="daylight"] .premium-edge-section {
  background: linear-gradient(135deg, 
    #f8fafc 0%,
    #e2e8f0 20%,
    #cbd5e1 50%,
    #e2e8f0 80%,
    #f8fafc 100%);
  border-top: 2px solid var(--border-graphite);
  box-shadow: 
    inset 0 2px 4px rgba(113, 113, 122, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  position: relative;
}

[data-theme="daylight"] .premium-edge-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(113, 113, 122, 0.3) 50%,
    transparent 100%);
}

[data-theme="daylight"] .edge-title-bar {
  border-bottom: 1px solid var(--border-default);
}

[data-theme="daylight"] .edge-value.positive {
  color: var(--status-success);
}

[data-theme="daylight"] .edge-value.negative {
  color: var(--status-danger);
}

[data-theme="daylight"] .edge-reference {
  color: var(--text-secondary);
  font-weight: 900;
}

[data-theme="daylight"] .signal-bar {
  background: rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(15, 23, 42, 0.15);
}

[data-theme="daylight"] .signal-bar.active {
  background: var(--accent-primary);
}

[data-theme="daylight"] .confidence-pct {
  color: var(--accent-primary);
  font-weight: 900;
}

[data-theme="daylight"] .metric-box {
  background: linear-gradient(135deg, 
    #ffffff 0%,
    #f8fafc 30%,
    #f1f5f9 50%,
    #f8fafc 70%,
    #ffffff 100%);
  border: 1.5px solid var(--border-default);
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.06), 
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(203, 213, 225, 0.2);
  transition: all 0.2s ease;
}

[data-theme="daylight"] .metric-box:hover {
  border-color: var(--border-strong);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

[data-theme="daylight"] .metric-label {
  color: var(--text-secondary);
  font-weight: 900;
}

[data-theme="daylight"] .metric-val {
  color: var(--text-primary);
  font-weight: 900;
}

[data-theme="daylight"] .metric-val.positive {
  color: var(--status-success);
}

[data-theme="daylight"] .metric-val.negative {
  color: var(--status-danger);
}

[data-theme="daylight"] .metric-val.warning {
  color: var(--status-warning);
}

[data-theme="daylight"] .metric-sub {
  color: var(--text-secondary);
  font-weight: 900;
}

[data-theme="daylight"] .recommendation,
[data-theme="daylight"] .game-script-badge,
[data-theme="daylight"] .momentum-badge,
[data-theme="daylight"] .risk-badge {
  font-weight: 900;
  border-width: 3px;
}

[data-theme="daylight"] .recommendation.strong {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  border: 3px solid #047857;
  color: #064e3b;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.35);
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6);
}

[data-theme="daylight"] .recommendation.lean {
  background: linear-gradient(135deg, #c084fc 0%, #a855f7 100%);
  border: 3px solid #7e22ce;
  color: #581c87;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(168, 85, 247, 0.35);
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6);
}

[data-theme="daylight"] .recommendation.monitor {
  background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
  border: 3px solid #4b5563;
  color: #1f2937;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(107, 114, 128, 0.30);
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6);
}

[data-theme="daylight"] .script-competitive {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
  border: 3px solid #0369a1;
  color: #0c4a6e;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(14, 165, 233, 0.35);
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6);
}

[data-theme="daylight"] .script-blowout {
  background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
  border: 3px solid #4b5563;
  color: #1f2937;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(107, 114, 128, 0.30);
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6);
}

[data-theme="daylight"] .script-tight {
  background: linear-gradient(135deg, #fde047 0%, #facc15 100%);
  border: 3px solid #ca8a04;
  color: #713f12;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(234, 179, 8, 0.35);
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6);
}

[data-theme="daylight"] .momentum-hot {
  background: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
  border: 3px solid #b91c1c;
  color: #7f1d1d;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.35);
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6);
}

[data-theme="daylight"] .momentum-steady {
  background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
  border: 3px solid #4b5563;
  color: #1f2937;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(107, 114, 128, 0.30);
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6);
}

[data-theme="daylight"] .momentum-cold {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  border: 3px solid #1d4ed8;
  color: #1e3a8a;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.35);
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6);
}

[data-theme="daylight"] .risk-low {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  border: 3px solid #047857;
  color: #064e3b;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.35);
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6);
}

[data-theme="daylight"] .risk-medium {
  background: linear-gradient(135deg, #fde047 0%, #facc15 100%);
  border: 3px solid #ca8a04;
  color: #713f12;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(234, 179, 8, 0.35);
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6);
}

[data-theme="daylight"] .risk-high {
  background: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
  border: 3px solid #b91c1c;
  color: #7f1d1d;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.35);
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6);
}

[data-theme="daylight"] .urgency-badge.urgency-window {
  background: var(--status-warning-bg);
  border-color: var(--status-warning);
  color: var(--status-warning);
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.15);
  font-weight: 900;
}

[data-theme="daylight"] .timeline-track {
  background: linear-gradient(135deg, 
    #e2e8f0 0%,
    #cbd5e1 50%,
    #e2e8f0 100%);
  border: 2px solid #94a3b8;
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.15) inset,
    0 1px 3px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

[data-theme="daylight"] .timeline-fill {
  background: linear-gradient(90deg, 
    rgba(148, 163, 184, 0.40) 0%,
    rgba(100, 116, 139, 0.60) 100%);
  border-right: 3px solid #64748b;
  box-shadow: 2px 0 8px rgba(71, 85, 105, 0.30);
}

[data-theme="daylight"] .timeline-progress-pct {
  color: var(--accent-primary);
  font-weight: 900;
}

[data-theme="daylight"] .quarter-marker {
  background: linear-gradient(135deg, 
    #f1f5f9 0%,
    #e2e8f0 50%,
    #f1f5f9 100%);
  border: 2px solid #94a3b8;
  color: #475569;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

[data-theme="daylight"] .quarter-marker.active {
  background: linear-gradient(135deg, 
    #dbeafe 0%,
    #bfdbfe 50%,
    #dbeafe 100%);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 2px 6px rgba(29, 78, 216, 0.20);
}

[data-theme="daylight"] .metric-tooltip-content {
  background: linear-gradient(135deg, 
    #ffffff 0%,
    #f8fafc 30%,
    #f1f5f9 50%,
    #f8fafc 70%,
    #ffffff 100%);
  border: 2px solid var(--border-graphite);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(113, 113, 122, 0.2);
  position: relative;
  overflow: hidden;
}

[data-theme="daylight"] .metric-tooltip-content::before {
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(29, 78, 216, 0.08) 50%, 
    transparent 100%);
  opacity: 1;
}

[data-theme="daylight"] .metric-tooltip-prompt {
  color: var(--accent-primary);
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(29, 78, 216, 0.2);
}

[data-theme="daylight"] .metric-tooltip-prompt::before {
  color: var(--betting-primary);
  text-shadow: 0 1px 2px rgba(234, 88, 12, 0.2);
}

[data-theme="daylight"] .metric-tooltip-title {
  color: var(--accent-primary);
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(29, 78, 216, 0.15);
}

[data-theme="daylight"] .metric-tooltip-value {
  color: var(--accent-primary);
  font-weight: 900;
  text-shadow: 0 1px 3px rgba(29, 78, 216, 0.25);
}

[data-theme="daylight"] .metric-tooltip-desc {
  color: var(--text-secondary);
}

[data-theme="daylight"] .metric-tooltip-insight {
  border-top: 1px solid var(--border-default);
  background: linear-gradient(135deg, 
    #dbeafe 0%,
    #bfdbfe 50%,
    #dbeafe 100%);
  color: var(--accent-primary);
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

[data-theme="daylight"] .metric-tooltip-insight::before {
  color: var(--betting-secondary);
  text-shadow: 0 1px 2px rgba(249, 115, 22, 0.3);
}

[data-theme="daylight"] .metric-tooltip-arrow::after {
  background: linear-gradient(135deg, 
    #ffffff 0%,
    #f8fafc 50%,
    #f1f5f9 100%);
  border-color: var(--border-graphite);
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
}

[data-theme="daylight"] .theme-button {
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
}

[data-theme="daylight"] .theme-button:hover {
  border-color: var(--border-default);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

[data-theme="daylight"] .theme-dot {
  background: var(--accent-primary);
}

[data-theme="daylight"] .theme-label {
  color: var(--text-primary);
  font-weight: 900;
}

[data-theme="daylight"] .theme-chevron {
  color: var(--text-tertiary);
}

[data-theme="daylight"] .theme-menu {
  background: var(--bg-card);
  border: 2px solid var(--border-strong);
  box-shadow: var(--shadow-xl);
}

/* =============================================================================
   THEME OVERRIDES
   ============================================================================= */

[data-theme="daylight"] {
  /* Background Colors - Clean & Bright */
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-hover: #eff6ff;
  --bg-section: #f9fafb;
  
  /* Text Colors - Crisp & Clear */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #64748b;
  --text-muted: #94a3b8;
  
  /* Graphite & Silver Borders */
  --border-subtle: #e5e7eb;
  --border-default: #d1d5db;
  --border-strong: #9ca3af;
  --border-graphite: #71717a;
  
  /* Blue Accent Palette - Vibrant & Professional */
  --accent-primary: #1d4ed8;
  --accent-secondary: #2563eb;
  --accent-hover: #1e40af;
  --accent-light: #3b82f6;
  --accent-lighter: #60a5fa;
  
  /* Orange Betting Palette - Bold & Clear */
  --betting-primary: #ea580c;
  --betting-secondary: #f97316;
  --betting-light: #fb923c;
  --betting-bg: #fff7ed;
  --betting-hover: #ffedd5;
  
  /* Status Colors - Solid & Filled */
  --status-success: #059669;
  --status-success-bg: #d1fae5;
  --status-danger: #dc2626;
  --status-danger-bg: #fee2e2;
  --status-warning: #d97706;
  --status-warning-bg: #fef3c7;
  
  /* Shadows - Refined */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.10);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.12);
}

/* Base styles */
[data-theme="daylight"] body {
  background: linear-gradient(135deg, 
    #f8fafc 0%, 
    #e2e8f0 15%,
    #cbd5e1 35%,
    #e2e8f0 65%,
    #f1f5f9 85%,
    #ffffff 100%);
  color: var(--text-primary);
  position: relative;
}

[data-theme="daylight"] body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(226, 232, 240, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(241, 245, 249, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(203, 213, 225, 0.3) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

[data-theme="daylight"] .container {
  position: relative;
  z-index: 1;
}

[data-theme="daylight"] .header {
  background: linear-gradient(135deg, 
    #ffffff 0%,
    #f8fafc 20%,
    #f1f5f9 50%,
    #f8fafc 80%,
    #ffffff 100%);
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, 
    transparent 0%,
    #cbd5e1 20%,
    #94a3b8 50%,
    #cbd5e1 80%,
    transparent 100%) 1;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(148, 163, 184, 0.1);
  backdrop-filter: blur(12px);
  position: relative;
}

[data-theme="daylight"] .header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.8) 50%,
    transparent 100%);
}

[data-theme="daylight"] .brand {
  color: var(--text-primary);
}

[data-theme="daylight"] .logo-sub {
  color: var(--text-tertiary);
}

/* Signal boxes - COLORS ONLY */
[data-theme="daylight"] .signal-box {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border: 2px solid var(--accent-primary);
  box-shadow: 0 2px 6px rgba(29, 78, 216, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

[data-theme="daylight"] .signal-label {
  color: var(--text-tertiary);
}

[data-theme="daylight"] .signal-value {
  color: var(--accent-primary);
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(29, 78, 216, 0.20);
}

[data-theme="daylight"] .sync-time {
  color: var(--text-primary);
}

[data-theme="daylight"] .sync-relative {
  color: var(--text-tertiary);
}

/* Theme button - COLORS ONLY, NO TRANSFORM */
[data-theme="daylight"] .theme-button {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

[data-theme="daylight"] .theme-button:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  /* NO TRANSFORM! */
}

[data-theme="daylight"] .theme-label {
  color: #64748b;
}

[data-theme="daylight"] .theme-number {
  color: #2563eb;
}

[data-theme="daylight"] .theme-arrow {
  color: #2563eb;
}

/* Theme menu - COLORS ONLY */
[data-theme="daylight"] .theme-menu {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

[data-theme="daylight"] .theme-option:hover {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.35);
}

[data-theme="daylight"] .theme-option.selected,
[data-theme="daylight"] .theme-option[aria-selected="true"] {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.4);
}

[data-theme="daylight"] .theme-option-number {
  color: var(--amber);
}

[data-theme="daylight"] .theme-option:hover .theme-option-number {
  color: #1d4ed8;
}

[data-theme="daylight"] .theme-option-name {
  color: #1e293b;
}

[data-theme="daylight"] .theme-option[data-theme="daylight"] .theme-option-name {
  color: var(--void);
}

[data-theme="daylight"] .theme-reset {
  color: #dc2626;
  border-top-color: #fecaca;
}

[data-theme="daylight"] .theme-reset:hover {
  background: rgba(220, 38, 38, 0.1);
  color: #b91c1c;
}

[data-theme="daylight"] .footer {
  background: linear-gradient(135deg, 
    #f1f5f9 0%,
    #e2e8f0 20%,
    #cbd5e1 50%,
    #e2e8f0 80%,
    #f1f5f9 100%);
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, 
    transparent 0%,
    #94a3b8 20%,
    #71717a 50%,
    #94a3b8 80%,
    transparent 100%) 1;
  box-shadow: 
    0 -4px 12px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(113, 113, 122, 0.2);
  position: relative;
}

[data-theme="daylight"] .footer::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(113, 113, 122, 0.4) 50%,
    transparent 100%);
}

[data-theme="daylight"] .footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 50%, rgba(241, 245, 249, 0.6) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(226, 232, 240, 0.6) 0%, transparent 50%);
  pointer-events: none;
}

[data-theme="daylight"] .footer::before {
  background: linear-gradient(90deg, transparent 0%, var(--accent-primary) 50%, transparent 100%);
  opacity: 0.3;
  filter: none;
}

[data-theme="daylight"] .footer::after {
  background: none;
}

[data-theme="daylight"] .footer-logo {
  filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.08));
}

[data-theme="daylight"] .footer-logo.logo-light {
  display: block;
}

[data-theme="daylight"] .footer-logo.logo-dark {
  display: none;
}

[data-theme="daylight"] .footer-tagline {
  color: var(--accent-primary);
  font-weight: 700;
  text-shadow: none;
}

[data-theme="daylight"] .footer-disclaimer {
  color: var(--text-secondary);
  font-weight: 600;
}

[data-theme="daylight"] .footer-disclaimer strong {
  color: var(--accent-primary);
  font-weight: 900;
}

[data-theme="daylight"] .footer-link {
  color: var(--text-tertiary);
  font-weight: 700;
}

[data-theme="daylight"] .footer-link:hover {
  color: var(--accent-primary);
  text-shadow: none;
}


/* =============================================================================
   VEGAS NIGHTS
   ============================================================================= */

[data-theme="vegas-nights"] {
  /* Core Background Colors */
  --vegas-void: #0a0a0a;
  --vegas-deep: #1a1a1a;
  --vegas-charcoal: #252525;
  --vegas-warm-bg: #2d2416;
  
  /* Primary Gold & Amber Palette */
  --vegas-gold: #FFCC00;
  --vegas-gold-bright: #FFD700;
  --vegas-gold-soft: #FFE55C;
  --vegas-amber: #FF8800;
  --vegas-amber-soft: #FFA726;
  --vegas-warm-text: #ffeaa7;
  --vegas-warm-accent: #ffb347;
  --vegas-muted: #8b7355;
  
  /* Text Colors - REQUIRED FOR TOOLTIPS AND MORE */
  --vegas-text-primary: #ffeaa7;
  --vegas-text-secondary: #FFD4A3;
  --vegas-text-muted: #c9a870;
  --vegas-text-dim: #ffeaa7;
  
  /* Edge/Urgency Colors */
  --vegas-edge-green: #34d399;
  --vegas-edge-orange: #fb923c;
  --vegas-edge-gray: #94a3b8;
  --vegas-edge-red: #ef4444;
  --vegas-bg-edge-green: rgba(52, 211, 153, 0.08);
  --vegas-bg-edge-orange: rgba(251, 146, 60, 0.08);
  --vegas-bg-edge-gray: rgba(148, 163, 184, 0.08);
  --vegas-bg-edge-red: rgba(239, 68, 68, 0.08);
  
  /* Borders */
  --vegas-border-gold: rgba(255, 204, 0, 0.15);
  --vegas-border-gold-bright: rgba(255, 204, 0, 0.3);
  --vegas-border-amber: rgba(255, 136, 0, 0.3);
  
  /* Shadows & Glows */
  --vegas-shadow-primary: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 204, 0, 0.08);
  --vegas-shadow-amber: rgba(255, 136, 0, 0.2);
  --vegas-shadow-edge-green: rgba(52, 211, 153, 0.15);
  --vegas-shadow-edge-orange: rgba(251, 146, 60, 0.15);
  --vegas-shadow-edge-red: rgba(239, 68, 68, 0.15);
  --vegas-glow-gold: 0 0 20px rgba(255, 204, 0, 0.3);
  --vegas-glow-amber: 0 0 12px rgba(255, 136, 0, 0.25);
}

[data-theme="vegas-nights"] body {
  background: radial-gradient(ellipse at top, #2d2416 0%, #0a0a0a 70%);
  color: var(--vegas-warm-text);
}

[data-theme="vegas-nights"] .header {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(45, 36, 22, 0.98));
  border-bottom-color: var(--vegas-border-gold);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 204, 0, 0.05);
}

/* Theme button - COLORS ONLY */
[data-theme="vegas-nights"] .theme-button {
  background: rgba(26,31,53,0.8);
  border-color: rgba(255, 184, 0, 0.3);
}

[data-theme="vegas-nights"] .theme-button:hover {
  background: rgba(255, 184, 0, 0.15);
  border-color: rgba(255, 184, 0, 0.5);
  box-shadow: 0 4px 16px rgba(255, 184, 0, 0.2);
  /* NO TRANSFORM! */
}

[data-theme="vegas-nights"] .theme-button.active {
  border-color: rgba(255, 184, 0, 0.4);
  box-shadow: 0 0 20px rgba(255, 184, 0, 0.2);
}

/* === SIGNAL BOXES === */
[data-theme="vegas-nights"] .signal-box {
  background: linear-gradient(145deg, rgba(42, 19, 0, 0.5), rgba(26, 26, 26, 0.7));
  border: 1px solid var(--vegas-border-gold);
  box-shadow: inset 0 1px 0 rgba(255, 204, 0, 0.03), 0 2px 12px rgba(0, 0, 0, 0.4);
}
[data-theme="vegas-nights"] .signal-box::before {
  background: linear-gradient(145deg, transparent, rgba(255, 204, 0, 0.02));
}
[data-theme="vegas-nights"] .signal-label {
  color: var(--vegas-text-primary);
}
[data-theme="vegas-nights"] .signal-value {
  color: var(--vegas-gold);
  text-shadow: 0 0 8px rgba(255, 204, 0, 0.2);
}

/* === SYNC BOX === */
[data-theme="vegas-nights"] .sync-box {
  background: linear-gradient(145deg, rgba(42, 19, 0, 0.5), rgba(26, 26, 26, 0.7)) !important;
  border: 1.5px solid var(--vegas-border-gold) !important;
  box-shadow: inset 0 1px 0 rgba(255, 204, 0, 0.03), 0 2px 12px rgba(0, 0, 0, 0.4);
}
[data-theme="vegas-nights"] .sync-box::before {
  background: linear-gradient(145deg, transparent, rgba(255, 204, 0, 0.02));
}
[data-theme="vegas-nights"] .sync-box .signal-label {
  background: rgba(255, 204, 0, 0.04);
  color: var(--vegas-text-primary);
}
[data-theme="vegas-nights"] .sync-time {
  color: var(--vegas-gold);
}
[data-theme="vegas-nights"] .sync-relative {
  color: var(--vegas-text-muted);
}
[data-theme="vegas-nights"] .sync-box.sync-fresh {
  border-color: rgba(52, 211, 153, 0.4) !important;
  box-shadow: 0 0 24px rgba(52, 211, 153, 0.15), inset 0 1px 0 rgba(52, 211, 153, 0.12);
}
[data-theme="vegas-nights"] .sync-box.sync-fresh .sync-time {
  color: var(--vegas-edge-green);
}
[data-theme="vegas-nights"] .sync-box.sync-fresh .sync-relative {
  color: rgba(52, 211, 153, 0.85);
}

/* === GAME CARDS === */
[data-theme="vegas-nights"] .card {
  background: linear-gradient(145deg, rgba(26, 26, 26, 0.9), rgba(37, 37, 37, 0.95));  /* Deeper for contrast */
  border: 1px solid var(--vegas-border-gold);
  box-shadow: var(--vegas-shadow-primary);
}
[data-theme="vegas-nights"] .card:hover {
  border-color: var(--vegas-border-gold-bright);
}

/* === CARD HEADER === */
[data-theme="vegas-nights"] .card-header {
  background: linear-gradient(135deg, rgba(42, 19, 0, 0.6), rgba(37, 37, 37, 0.8));
  border-bottom: 1px solid var(--vegas-border-gold);
}
[data-theme="vegas-nights"] .matchup {
  color: var(--vegas-gold);
  font-weight: 900;
}
[data-theme="vegas-nights"] .time {
  color: var(--vegas-warm-text);
  font-weight: 700;
}

/* === BADGES === */
[data-theme="vegas-nights"] .badge {
  font-weight: 800;
  border-width: 1px;
}
[data-theme="vegas-nights"] .badge.pre {
  background: rgba(42, 19, 0, 0.6);
  border-color: var(--vegas-border-gold-bright);
  color: var(--vegas-gold);
}
[data-theme="vegas-nights"] .badge.in {
  background: rgba(239, 68, 68, 0.15);
  border-color: var(--vegas-edge-red);
  color: #f87171;
}
[data-theme="vegas-nights"] .badge.in::before {
  background: var(--vegas-edge-red);
}
[data-theme="vegas-nights"] .badge.post {
  background: rgba(52, 211, 153, 0.12);
  border-color: var(--vegas-edge-green);
  color: var(--vegas-edge-green);
}

/* === GAME HEADER === */
[data-theme="vegas-nights"] .game-header {
  background: linear-gradient(135deg, rgba(42, 19, 0, 0.45), rgba(37, 37, 37, 0.55));
  border-bottom: 1px solid var(--vegas-border-gold);
}
[data-theme="vegas-nights"] .status-badge {
  font-weight: 800;
  text-shadow: 0 0 6px currentColor;  /* Reduced */
}
[data-theme="vegas-nights"] .status-badge.status-live {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(52, 211, 153, 0.18));
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.45);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.25);  /* Reduced */
  animation: vegas-pulse-live-badge 2.5s ease-in-out infinite;
}
[data-theme="vegas-nights"] .status-badge.status-final {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.18), rgba(248, 113, 113, 0.13));
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.35);
}
[data-theme="vegas-nights"] .status-badge.status-scheduled {
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.18), rgba(255, 215, 0, 0.13));
  color: #FFD700;
  border: 1px solid rgba(255, 215, 0, 0.4);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.2);
  animation: vegas-pulse-scheduled 2.5s ease-in-out infinite;
}
[data-theme="vegas-nights"] .game-time {
  color: var(--vegas-warm-text);
  font-weight: 700;
}

/* === TEAMS === */
[data-theme="vegas-nights"] .team {
  background: linear-gradient(145deg, rgba(26, 26, 26, 0.45), rgba(37, 37, 37, 0.55));
  border-bottom: 1px solid rgba(255, 204, 0, 0.06);
}
[data-theme="vegas-nights"] .team:hover {
  background: linear-gradient(145deg, rgba(37, 37, 37, 0.55), rgba(42, 42, 42, 0.65));
}
[data-theme="vegas-nights"] .team.team-winner {
  background: linear-gradient(145deg, rgba(255, 204, 0, 0.06), rgba(255, 136, 0, 0.04));
  border-left: 3px solid var(--vegas-gold);
}
[data-theme="vegas-nights"] .logo {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
  image-rendering: crisp-edges;  /* Added */
}
[data-theme="vegas-nights"] .team-info {
  color: var(--vegas-text-primary);
}
[data-theme="vegas-nights"] .abbr {
  color: var(--vegas-text-primary);
  font-weight: 800;
}
[data-theme="vegas-nights"] .team-name {
  color: var(--vegas-text-muted);
  font-weight: 600;
}
[data-theme="vegas-nights"] .score {
  color: var(--vegas-gold);
  font-weight: 900;
  text-shadow: var(--vegas-glow-gold);
}
[data-theme="vegas-nights"] .team-winner .score {
  color: var(--vegas-gold-bright);
  text-shadow: 0 0 12px rgba(255, 237, 78, 0.5);  /* Reduced */
}
[data-theme="vegas-nights"] .record {
  color: var(--vegas-text-dim);
  font-weight: 600;
}

/* === ODDS & PROJECTIONS === */
[data-theme="vegas-nights"] .odds-projections-wrapper {
  background: linear-gradient(145deg, rgba(26, 26, 26, 0.55), rgba(37, 37, 37, 0.65));
  border-top: 1px solid var(--vegas-border-gold);
}
[data-theme="vegas-nights"] .odds-section {
  border-right: 1px solid rgba(255, 204, 0, 0.1);
}
[data-theme="vegas-nights"] .odds-section:last-child {
  border-right: none;
}
[data-theme="vegas-nights"] .section-label {
  color: var(--vegas-warm-text);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}
[data-theme="vegas-nights"] .odds-group {
  background: rgba(255, 204, 0, 0.025);
  border: 1px solid rgba(255, 204, 0, 0.08);
}
[data-theme="vegas-nights"] .odds-label {
  color: var(--vegas-text-muted);
  font-weight: 700;
}
[data-theme="vegas-nights"] .odds-value {
  color: var(--vegas-gold);
  font-weight: 800;
  text-shadow: 0 0 6px rgba(255, 204, 0, 0.25);  /* Reduced */
}
[data-theme="vegas-nights"] .projection-label {
  color: var(--vegas-text-muted);
  font-weight: 700;
}
[data-theme="vegas-nights"] .projection-value {
  color: var(--vegas-warm-text);
  font-weight: 800;
}

/* === CALCULATING STATE === */
[data-theme="vegas-nights"] .proj-calculating {
  background: linear-gradient(145deg, rgba(42, 19, 0, 0.25), rgba(37, 37, 37, 0.35));
  border: 1px dashed var(--vegas-border-amber);
}
[data-theme="vegas-nights"] .calculating-icon {
  color: var(--vegas-amber-soft);
  text-shadow: var(--vegas-glow-amber);
  animation: vegas-pulse-calculating 1.8s ease-in-out infinite;  /* Smoother */
}
[data-theme="vegas-nights"] .calculating-text {
  color: var(--vegas-warm-accent);
  font-weight: 700;
}
@keyframes vegas-pulse-calculating {
  0%, 100% {
    opacity: 0.65;
    transform: scale(1);
    text-shadow: 0 0 8px rgba(255, 136, 0, 0.3);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.05);  /* Reduced scale */
    text-shadow: 0 0 12px rgba(255, 136, 0, 0.45);
  }
}
@keyframes vegas-pulse-live-badge {
  0%, 100% {
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.25);
  }
  50% {
    box-shadow: 0 0 18px rgba(52, 211, 153, 0.4);  /* Reduced */
  }
}
@keyframes vegas-pulse-scheduled {
  0%, 100% {
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.2);
  }
  50% {
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.35);
  }
}


/* === PREMIUM EDGE SECTION === */
[data-theme="vegas-nights"] .premium-edge-section {
  background: linear-gradient(135deg, rgba(42, 19, 0, 0.55), rgba(37, 37, 37, 0.65));
  border-top: 1px solid var(--vegas-border-gold-bright);
  border-bottom: 1px solid var(--vegas-border-gold);
}
[data-theme="vegas-nights"] .edge-header {
  color: var(--vegas-gold);
  font-weight: 900;
  text-shadow: var(--vegas-glow-gold);
}
[data-theme="vegas-nights"] .edge-subtext {
  color: var(--vegas-text-muted);
  font-weight: 600;
}

/* === METRICS GRID === */
[data-theme="vegas-nights"] .metrics-grid {
  background: rgba(26, 26, 26, 0.45);
  border: 1px solid rgba(255, 204, 0, 0.08);
}
[data-theme="vegas-nights"] .metric {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.65), rgba(37, 37, 37, 0.55));
  border: 1px solid rgba(255, 204, 0, 0.06);
}
[data-theme="vegas-nights"] .metric:hover {
  background: linear-gradient(135deg, rgba(37, 37, 37, 0.75), rgba(42, 42, 42, 0.65));
  border-color: var(--vegas-border-gold);
  box-shadow: 0 0 12px rgba(255, 204, 0, 0.12);  /* Reduced */
}
[data-theme="vegas-nights"] .metric-label {
  color: var(--vegas-text-muted);
  font-weight: 700;
}
[data-theme="vegas-nights"] .metric-value {
  color: var(--vegas-warm-text);
  font-weight: 800;
}
[data-theme="vegas-nights"] .metric-unit {
  color: var(--vegas-text-dim);
  font-weight: 600;
}

/* === METRIC TOOLTIPS === */
/* === TOOLTIPS === */
[data-theme="vegas-nights"] .metric-tooltip {
  filter: drop-shadow(0 0 1px rgba(255, 204, 0, 0.4));
}
[data-theme="vegas-nights"] .metric-tooltip-content {
  background: linear-gradient(135deg, #1a0e00 0%, #1a1a1a 50%, #252525 100%);
  border: 1px solid var(--vegas-border-gold-bright);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 4px 12px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 204, 0, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.5);
}
[data-theme="vegas-nights"] .metric-tooltip-content::before {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 204, 0, 0.3) 50%, transparent 100%);
  opacity: 0.5;
}
[data-theme="vegas-nights"] .metric-tooltip-content::after {
  background: repeating-linear-gradient(0deg, transparent, transparent 2px,
    rgba(255, 204, 0, 0.02) 2px, rgba(255, 204, 0, 0.02) 4px);
}
[data-theme="vegas-nights"] .metric-tooltip-prompt {
  color: var(--vegas-edge-green);
  font-weight: 700;
  text-shadow: 0 0 8px rgba(52, 211, 153, 0.3);
}
[data-theme="vegas-nights"] .metric-tooltip-prompt::before {
  color: var(--vegas-gold);
  text-shadow: 0 0 8px rgba(255, 204, 0, 0.4);
}
[data-theme="vegas-nights"] .metric-tooltip-title {
  color: var(--vegas-gold-bright);
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.25);
}
[data-theme="vegas-nights"] .metric-tooltip-value {
  color: var(--vegas-gold);
  font-weight: 900;
  text-shadow: 0 0 12px rgba(255, 204, 0, 0.25);
}
[data-theme="vegas-nights"] .metric-tooltip-desc {
  color: var(--vegas-text-muted);
  font-weight: 400;
}
[data-theme="vegas-nights"] .metric-tooltip-insight {
  border-top: 1px solid var(--vegas-border-gold);
  background: rgba(255, 204, 0, 0.03);
  color: var(--vegas-warm-accent);
  font-weight: 600;
}
[data-theme="vegas-nights"] .metric-tooltip-insight::before {
  color: var(--vegas-edge-green);
  text-shadow: 0 0 6px rgba(52, 211, 153, 0.4);
}
[data-theme="vegas-nights"] .metric-tooltip-arrow::after {
  background: linear-gradient(135deg, #1a0e00 0%, #1a1a1a 50%, #252525 100%);
  border-color: var(--vegas-border-gold-bright);
}

/* === ACTION ROW === */
[data-theme="vegas-nights"] .action-row {
  background: rgba(26, 26, 26, 0.35);
}

/* === RECOMMENDATION, GAME SCRIPT, MOMENTUM & RISK BADGES === */
[data-theme="vegas-nights"] .recommendation.strong {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.35), rgba(4, 120, 87, 0.45));
  border: 3px solid #10b981;
  color: #d1fae5;
  box-shadow: 0 0 32px rgba(5, 150, 105, 0.6), 0 8px 20px rgba(0,0,0,0.6);
  text-shadow: 0 2px 8px rgba(5, 150, 105, 0.6);
}

[data-theme="vegas-nights"] .recommendation.lean {
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.35), rgba(168, 85, 247, 0.45));
  border: 3px solid #c084fc;
  color: #f3e8ff;
  box-shadow: 0 0 32px rgba(192, 132, 252, 0.6), 0 8px 20px rgba(0,0,0,0.6);
  text-shadow: 0 2px 8px rgba(192, 132, 252, 0.6);
}

[data-theme="vegas-nights"] .recommendation.monitor {
  background: linear-gradient(135deg, rgba(71, 85, 105, 0.35), rgba(51, 65, 85, 0.45));
  border: 3px solid #64748b;
  color: #f1f5f9;
  box-shadow: 0 0 20px rgba(71, 85, 105, 0.4), 0 8px 20px rgba(0,0,0,0.6);
  text-shadow: 0 2px 8px rgba(71, 85, 105, 0.6);
}

[data-theme="vegas-nights"] .script-competitive {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.35), rgba(2, 132, 199, 0.45));
  border: 3px solid #0ea5e9;
  color: #e0f2fe;
  box-shadow: 0 0 32px rgba(14, 165, 233, 0.6), 0 8px 20px rgba(0,0,0,0.6);
  text-shadow: 0 2px 8px rgba(14, 165, 233, 0.6);
}

[data-theme="vegas-nights"] .script-blowout {
  background: linear-gradient(135deg, rgba(71, 85, 105, 0.35), rgba(51, 65, 85, 0.45));
  border: 3px solid #64748b;
  color: #f1f5f9;
  box-shadow: 0 0 20px rgba(71, 85, 105, 0.4), 0 8px 20px rgba(0,0,0,0.6);
  text-shadow: 0 2px 8px rgba(71, 85, 105, 0.6);
}

[data-theme="vegas-nights"] .script-tight {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.35), rgba(245, 158, 11, 0.45));
  border: 3px solid #fbbf24;
  color: #fef3c7;
  box-shadow: 0 0 32px rgba(251, 191, 36, 0.6), 0 8px 20px rgba(0,0,0,0.6);
  text-shadow: 0 2px 8px rgba(251, 191, 36, 0.6);
}

[data-theme="vegas-nights"] .momentum-hot {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.35), rgba(185, 28, 28, 0.45));
  border: 3px solid #dc2626;
  color: #fee2e2;
  box-shadow: 0 0 32px rgba(220, 38, 38, 0.6), 0 8px 20px rgba(0,0,0,0.6);
  text-shadow: 0 2px 8px rgba(220, 38, 38, 0.6);
}

[data-theme="vegas-nights"] .momentum-steady {
  background: linear-gradient(135deg, rgba(71, 85, 105, 0.35), rgba(51, 65, 85, 0.45));
  border: 3px solid #64748b;
  color: #f1f5f9;
  box-shadow: 0 0 20px rgba(71, 85, 105, 0.4), 0 8px 20px rgba(0,0,0,0.6);
  text-shadow: 0 2px 8px rgba(71, 85, 105, 0.6);
}

[data-theme="vegas-nights"] .momentum-cold {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.35), rgba(29, 78, 216, 0.45));
  border: 3px solid #3b82f6;
  color: #dbeafe;
  box-shadow: 0 0 32px rgba(37, 99, 235, 0.6), 0 8px 20px rgba(0,0,0,0.6);
  text-shadow: 0 2px 8px rgba(37, 99, 235, 0.6);
}

[data-theme="vegas-nights"] .risk-low {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.35), rgba(4, 120, 87, 0.45));
  border: 3px solid #10b981;
  color: #d1fae5;
  box-shadow: 0 0 32px rgba(5, 150, 105, 0.6), 0 8px 20px rgba(0,0,0,0.6);
  text-shadow: 0 2px 8px rgba(5, 150, 105, 0.6);
}

[data-theme="vegas-nights"] .risk-medium {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.35), rgba(245, 158, 11, 0.45));
  border: 3px solid #fbbf24;
  color: #fef3c7;
  box-shadow: 0 0 32px rgba(251, 191, 36, 0.6), 0 8px 20px rgba(0,0,0,0.6);
  text-shadow: 0 2px 8px rgba(251, 191, 36, 0.6);
}

[data-theme="vegas-nights"] .risk-high {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.35), rgba(185, 28, 28, 0.45));
  border: 3px solid #dc2626;
  color: #fee2e2;
  box-shadow: 0 0 32px rgba(220, 38, 38, 0.6), 0 8px 20px rgba(0,0,0,0.6);
  text-shadow: 0 2px 8px rgba(220, 38, 38, 0.6);
}

/* === URGENCY BADGES === */
[data-theme="vegas-nights"] .urgency-badge {
  font-weight: 800;
  text-shadow: 0 0 6px currentColor;  /* Reduced */
}
[data-theme="vegas-nights"] .urgency-badge.urgency-extreme {
  background: linear-gradient(135deg, var(--vegas-bg-edge-green), rgba(16, 185, 129, 0.22));
  color: var(--vegas-edge-green);
  border: 1px solid rgba(16, 185, 129, 0.45);  /* Crisper */
  box-shadow: 0 0 16px var(--vegas-shadow-edge-green);  /* Reduced */
}
[data-theme="vegas-nights"] .urgency-badge.urgency-high {
  background: linear-gradient(135deg, var(--vegas-bg-edge-orange), rgba(245, 158, 11, 0.22));
  color: var(--vegas-edge-orange);
  border: 1px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 0 12px var(--vegas-shadow-edge-orange);
}
[data-theme="vegas-nights"] .urgency-badge.urgency-medium {
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.13), rgba(255, 207, 0, 0.08));
  color: var(--vegas-gold);
  border: 1px solid rgba(255, 204, 0, 0.35);
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
}
[data-theme="vegas-nights"] .urgency-badge.urgency-low {
  background: linear-gradient(135deg, var(--vegas-bg-edge-gray), rgba(156, 163, 175, 0.13));
  color: var(--vegas-edge-gray);
  border: 1px solid rgba(156, 163, 175, 0.3);
}
[data-theme="vegas-nights"] .urgency-badge.urgency-none {
  background: linear-gradient(135deg, var(--vegas-bg-edge-red), rgba(239, 68, 68, 0.13));
  color: var(--vegas-edge-red);
  border: 1px solid rgba(239, 68, 68, 0.35);
  box-shadow: 0 0 10px var(--vegas-shadow-edge-red);
}
[data-theme="vegas-nights"] .urgency-badge.urgency-window {
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.18), rgba(255, 136, 0, 0.13));
  color: var(--vegas-amber);
  border: 1.5px solid var(--vegas-border-amber);  /* Slightly thicker for emphasis */
  box-shadow: 0 0 20px var(--vegas-shadow-amber);  /* Reduced */
  animation: vegas-pulse-window 2.5s ease-in-out infinite;
}
[data-theme="vegas-nights"] .urgency-icon {
  color: currentColor;
  text-shadow: inherit;
}
[data-theme="vegas-nights"] .urgency-text {
  font-weight: 800;
}
@keyframes vegas-pulse-window {
  0%, 100% {
    box-shadow: 0 0 20px var(--vegas-shadow-amber);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 28px rgba(255, 136, 0, 0.25);
    opacity: 0.95;
  }
}

/* === FOOTER === */
[data-theme="vegas-nights"] .footer {
  background: linear-gradient(135deg, rgba(26, 14, 0, 0.98), rgba(37, 37, 37, 0.98));
  border-top: none;  /* Kept as per your code */
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.45), 0 0 30px rgba(255, 204, 0, 0.04);  /* Reduced */
}
[data-theme="vegas-nights"] .footer-logo {
  filter: drop-shadow(0 0 10px rgba(255, 204, 0, 0.25));
}
[data-theme="vegas-nights"] .footer-tagline {
  color: var(--vegas-warm-text);
  font-weight: 800;
  text-shadow: 0 0 6px rgba(255, 234, 167, 0.25);
}
[data-theme="vegas-nights"] .footer-disclaimer {
  color: var(--vegas-text-muted);
  background: rgba(42, 19, 0, 0.25);
  border: 0px solid var(--vegas-border-gold);
}
[data-theme="vegas-nights"] .footer-disclaimer strong {
  color: var(--vegas-gold);
  font-weight: 900;
  text-shadow: 0 0 6px rgba(255, 204, 0, 0.2);
}
[data-theme="vegas-nights"] .footer-link {
  color: var(--vegas-warm-accent);
  font-weight: 700;
  text-shadow: 0 0 4px rgba(253, 203, 110, 0.15);
}
[data-theme="vegas-nights"] .footer-link:hover {
  color: var(--vegas-gold-bright);
  text-shadow: 0 0 10px rgba(255, 237, 78, 0.35);
}

/* === SKELETON LOADERS === */
[data-theme="vegas-nights"] .skeleton {
  background: rgba(26, 26, 26, 0.85);
  border: 1px solid var(--vegas-border-gold);
}
[data-theme="vegas-nights"] .skeleton::after {
  background: linear-gradient(90deg, transparent, rgba(255, 204, 0, 0.05), transparent);
}
[data-theme="vegas-nights"] .skeleton-line {
  background: rgba(37, 37, 37, 0.65);
}

/* === EMPTY STATE === */
[data-theme="vegas-nights"] .empty {
  color: var(--vegas-text-muted);
}
[data-theme="vegas-nights"] .empty-icon {
  filter: grayscale(100%) opacity(0.4);
}
[data-theme="vegas-nights"] .empty-message {
  color: var(--vegas-warm-text);
  font-weight: 700;
}
[data-theme="vegas-nights"] .empty-subtitle {
  color: var(--vegas-text-dim);
  font-weight: 600;
}

/* === SCROLL BEHAVIOR === */
[data-theme="vegas-nights"] ::-webkit-scrollbar {
  width: 10px;  /* Slimmer for modern look */
  height: 10px;
}
[data-theme="vegas-nights"] ::-webkit-scrollbar-track {
  background: rgba(26, 14, 0, 0.45);
  border: 1px solid var(--vegas-border-gold);
}
[data-theme="vegas-nights"] ::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.25), rgba(255, 136, 0, 0.2));
  border: 2px solid rgba(42, 19, 0, 0.45);
  border-radius: 5px;  /* Slightly rounder */
}
[data-theme="vegas-nights"] ::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.45), rgba(255, 136, 0, 0.35));
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.25);
}

/* === FOCUS STYLES === */
[data-theme="vegas-nights"] *:focus-visible {
  outline: 2px solid var(--vegas-gold);  /* Thinner for sharpness */
  outline-offset: 2px;
  box-shadow: 0 0 12px rgba(255, 204, 0, 0.35);
}

/* === SELECTION === */
[data-theme="vegas-nights"] ::selection {
  background: rgba(255, 204, 0, 0.25);
  color: var(--vegas-text-primary);
}
[data-theme="vegas-nights"] ::-moz-selection {
  background: rgba(255, 204, 0, 0.25);
  color: var(--vegas-text-primary);
}

/* === ADDITIONAL POLISH === */
[data-theme="vegas-nights"] .card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 204, 0, 0.015) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;  /* Smoother transition */
}
[data-theme="vegas-nights"] .card:hover::before {
  opacity: 1;
}

/* === RESPONSIVE ADJUSTMENTS FOR VEGAS NIGHTS === */
@media (max-width: 640px) {
  [data-theme="vegas-nights"] .header {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45), 0 0 24px rgba(255, 204, 0, 0.05);  /* Reduced */
  }

  [data-theme="vegas-nights"] .signal-box {
    border-width: 1px;
  }

  [data-theme="vegas-nights"] .card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), 0 0 24px rgba(255, 204, 0, 0.06);  /* Reduced */
  }

  [data-theme="vegas-nights"] .odds-section {
    border-right: none;
    border-bottom: 1px solid rgba(255, 204, 0, 0.1);
  }

  [data-theme="vegas-nights"] .premium-edge-section {
    padding: 14px 12px;
  }
}

/* =============================================================================
   RESPONSIVE BREAKPOINTS
   ============================================================================= */
@media (min-width: 641px) {
  .odds-projections-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
@media (max-width: 640px) {
  .header-content {
    justify-content: center;
  }
  .brand {
    align-items: center;
  }
  .logo-icon {
    height: 68px;
  }
  .dashboard-signals {
    width: 100%;
    justify-content: center;
  }
  .signal-box {
    flex: 1;
    max-width: 140px;
    width: 100px;
    height: 66px;
  }
  .sync-box {
    width: 100px !important;
    height: 66px !important;
    max-width: 100px;
    flex: 0 0 100px;
  }
  .signal-value {
    font-size: 28px;
  }
  .sync-time {
    font-size: 16px;
    margin-top: 24px;
  }
  .sync-relative {
    font-size: 7px;
  }
  .team {
    grid-template-columns: 38px 1fr 64px;
    gap: 10px;
    padding: 10px 12px;
  }
  .logo {
    width: 38px;
    height: 38px;
  }
  .abbr {
    font-size: 15px;
  }
  .score {
    font-size: 30px;
  }
  .odds-section {
    border-right: none;
    border-bottom: 1px solid rgba(255, 204, 0, 0.1);  /* Updated color */
  }
  .odds-projections-wrapper > *:last-child {
    border-bottom: none;
  }
  .proj-calculating {
    min-height: 80px;
    padding: 16px 14px;
  }
  .calculating-icon {
    font-size: 28px;
  }
  .theme-button {
    padding: 8px 14px;
    gap: 8px;
  }
  .theme-menu {
    min-width: 180px;
    right: -10px;
  }
  .theme-option {
    padding: 10px 12px;
    font-size: 11px;
  }
  [data-theme="daylight"] .logo-icon {
    height: 68px;
  }
  [data-theme="daylight"] .card {
    box-shadow: var(--shadow-xs);
  }
  [data-theme="daylight"] .card:active {
    transform: scale(0.99);
  }
  [data-theme="daylight"] .premium-edge-section {
    padding: 14px 12px;
  }
  [data-theme="daylight"] .odds-section {
    border-right: none;
    border-bottom: 1px solid var(--border-default);
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .header-content {
    grid-template-columns: auto 1fr;
  }

  .logo-icon {
    height: 70px;
  }

  .signal-box {
    width: 105px;
    height: 70px;
  }

  .sync-box {
    width: 105px !important;
    height: 70px !important;
  }

  .signal-value {
    font-size: 30px;
  }

  .team {
    grid-template-columns: 40px 1fr 68px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .action-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .urgency-badge.urgency-window {
    grid-column: span 2;
  }

  [data-theme="daylight"] .logo-icon {
    height: 70px;
  }
}

@media (min-width: 1024px) {
  .header-content {
    grid-template-columns: auto 1fr;
  }

  .logo-icon {
    height: 72px;
  }

  .signal-box {
    width: 110px;
    height: 72px;
  }

  .sync-box {
    width: 110px !important;
    height: 72px !important;
  }

  .signal-value {
    font-size: 32px;
  }

  .games {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .team {
    grid-template-columns: 46px 1fr 75px;
    padding: 13px 14px;
  }

  .logo {
    width: 46px;
    height: 46px;
  }

  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .action-row {
    grid-template-columns: repeat(4, 1fr);
  }

  .urgency-badge.urgency-window {
    grid-column: span 4;
  }

  .metrics-grid .tooltip-wrapper:nth-child(odd) .metric-tooltip,
  .metrics-grid .tooltip-wrapper:nth-child(even) .metric-tooltip {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(4px);
  }

  .metrics-grid .tooltip-wrapper:nth-child(odd):hover .metric-tooltip,
  .metrics-grid .tooltip-wrapper:nth-child(even):hover .metric-tooltip {
    transform: translateX(-50%) translateY(0);
  }

  .metrics-grid .tooltip-wrapper:nth-child(odd).active .metric-tooltip,
  .metrics-grid .tooltip-wrapper:nth-child(even).active .metric-tooltip {
    transform: translateX(-50%) translateY(0);
  }

  .metrics-grid .tooltip-wrapper:nth-child(odd) .metric-tooltip-arrow,
  .metrics-grid .tooltip-wrapper:nth-child(even) .metric-tooltip-arrow {
    left: 50%;
    right: auto;
    margin-left: -6px;
  }

  .metrics-grid .tooltip-wrapper:first-child .metric-tooltip {
    left: 0;
    transform: translateX(0) translateY(4px);
  }

  .metrics-grid .tooltip-wrapper:first-child:hover .metric-tooltip {
    transform: translateX(0) translateY(0);
  }

  .metrics-grid .tooltip-wrapper:first-child.active .metric-tooltip {
    transform: translateX(0) translateY(0);
  }

  .metrics-grid .tooltip-wrapper:first-child .metric-tooltip-arrow {
    left: 24px;
    margin-left: 0;
  }

  .metrics-grid .tooltip-wrapper:last-child .metric-tooltip {
    left: auto;
    right: 0;
    transform: translateX(0) translateY(4px);
  }

  .metrics-grid .tooltip-wrapper:last-child:hover .metric-tooltip {
    transform: translateX(0) translateY(0);
  }

  .metrics-grid .tooltip-wrapper:last-child.active .metric-tooltip {
    transform: translateX(0) translateY(0);
  }

  .metrics-grid .tooltip-wrapper:last-child .metric-tooltip-arrow {
    left: auto;
    right: 24px;
    margin-left: 0;
  }

  [data-theme="daylight"] .logo-icon {
    height: 72px;
  }

  [data-theme="daylight"] .card:hover {
    transform: translateY(-4px);
  }

  [data-theme="daylight"] .premium-edge-section {
    padding: 18px 16px;
  }
}

@media (min-width: 1400px) {
  .logo-icon {
    height: 76px;
  }

  .sync-box {
    width: 110px !important;
    height: 72px !important;
  }

  .team {
    grid-template-columns: 52px 1fr 90px;
    gap: 16px;
    padding: 16px;
  }

  .logo {
    width: 52px;
    height: 52px;
  }

  .abbr {
    font-size: 18px;
  }

  .score {
    font-size: 42px;
  }

  [data-theme="daylight"] .logo-icon {
    height: 76px;
  }
}

/* === ACCESSIBILITY === */
*:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

[data-theme="daylight"] *:focus-visible {
  outline: 3px solid var(--accent-primary);
  outline-offset: 2px;
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
/* === THEME CONTROL OVERRIDES FOR OTHER THEMES === */

/* Daylight Theme */
[data-theme="daylight"] .theme-button {
  background: linear-gradient(135deg, 
    #ffffff 0%,
    #f8fafc 50%,
    #ffffff 100%);
  border: 2px solid var(--accent-primary);
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

[data-theme="daylight"] .theme-button:hover {
  background: #dbeafe;
  border-color: var(--accent-secondary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12), 0 0 20px rgba(29, 78, 216, 0.15);
}

[data-theme="daylight"] .theme-label {
  color: #64748b;
}

[data-theme="daylight"] .theme-number {
  color: #2563eb;
}

[data-theme="daylight"] .theme-arrow {
  color: #2563eb;
}

[data-theme="daylight"] .theme-menu {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

[data-theme="daylight"] .theme-option {
  color: #1e293b;
}

[data-theme="daylight"] .theme-option:hover {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.35);
}

[data-theme="daylight"] .theme-option.selected,
[data-theme="daylight"] .theme-option[aria-selected="true"] {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.4);
}

[data-theme="daylight"] .theme-option-number {
  color: var(--amber);
}

[data-theme="daylight"] .theme-option:hover .theme-option-number {
  color: #1d4ed8;
}

/* Vegas Nights Theme */
[data-theme="vegas-nights"] .theme-button {
  background: rgba(26,31,53,0.8);
  border-color: rgba(255, 184, 0, 0.3);
}

[data-theme="vegas-nights"] .theme-button:hover {
  background: rgba(255, 184, 0, 0.15);
  border-color: rgba(255, 184, 0, 0.5);
  box-shadow: 0 4px 16px rgba(255, 184, 0, 0.2);
}

[data-theme="vegas-nights"] .theme-button.active {
  border-color: rgba(255, 184, 0, 0.4);
  box-shadow: 0 0 20px rgba(255, 184, 0, 0.2);
}

[data-theme="vegas-nights"] .theme-number {
  color: #FFB800;
}

[data-theme="vegas-nights"] .theme-arrow {
  color: #FFB800;
}

[data-theme="vegas-nights"] .theme-menu {
  border-color: rgba(255, 184, 0, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 184, 0, 0.15);
}

[data-theme="vegas-nights"] .theme-option:hover {
  background: rgba(255, 184, 0, 0.12);
  border-color: rgba(255, 184, 0, 0.35);
}

[data-theme="vegas-nights"] .theme-option.selected,
[data-theme="vegas-nights"] .theme-option[aria-selected="true"] {
  background: rgba(255, 184, 0, 0.15);
  border-color: rgba(255, 184, 0, 0.4);
}

[data-theme="vegas-nights"] .theme-option-number {
  color: #FFB800;
}

[data-theme="vegas-nights"] .theme-option:hover .theme-option-number {
  color: #FFC933;
}
[data-theme="vegas-nights"] .theme-label {
  color: #ffeaa7;
}

[data-theme="vegas-nights"] .theme-reset {
  color: #ffb347;
  border-top-color: rgba(255, 136, 0, 0.3);
}

[data-theme="vegas-nights"] .theme-reset:hover {
  background: rgba(255, 136, 0, 0.15);
  color: #FF8800;
}

[data-theme="vegas-nights"] .theme-option[data-theme="daylight"] .theme-option-name {
  color: #ffffff;
}
/* === VEGAS NIGHTS SECTION TITLES === */
[data-theme="vegas-nights"] .section-title {
  font-weight: 900;
}

[data-theme="vegas-nights"] .odds-section .section-title {
  color: var(--vegas-warm-accent);  /* Warm orange/amber for betting lines */
  text-shadow: 0 0 8px rgba(255, 179, 71, 0.3);
}

[data-theme="vegas-nights"] .proj-section .section-title {
  color: var(--vegas-gold-bright);  /* Bright gold for projections */
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}
/* === RECORD BADGES === */
.record-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  align-items: center;
}

.record-badge {
  display: inline-flex;
  align-items: stretch;
  height: 20px;
  overflow: hidden;
  background: transparent;
  font-family: 'Roboto Mono', monospace;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
  border: none;
}

.record-badge-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
  color: #ffffff;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.record-badge-value {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #e2e8f0;
  border: none;
  white-space: nowrap;
}

.record-text-fallback {
  font-size: 11px;
  color: var(--silver-dim);
  font-family: 'Roboto Mono', monospace;
}

/* === DAYLIGHT THEME OVERRIDES === */
[data-theme="daylight"] .record-badge {
  box-shadow: none;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

[data-theme="daylight"] .record-badge-label {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

[data-theme="daylight"] .record-badge-value {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  color: #1e293b;
  border: none;
  border-left: none;
  font-weight: 800;
}

[data-theme="daylight"] .record-text-fallback {
  color: #64748b;
}

/* === VEGAS NIGHTS THEME OVERRIDES === */
[data-theme="vegas-nights"] .record-badge {
  box-shadow: 0 2px 8px rgba(255,184,0,0.15), 0 4px 12px rgba(0,0,0,0.4);
}

[data-theme="vegas-nights"] .record-badge-label {
  background: linear-gradient(135deg, #FFB800 0%, #FF8800 100%);
  color: #000000;
  border-right: 1px solid rgba(0, 0, 0, 0.25);
  text-shadow: 0 1px 2px rgba(255, 184, 0, 0.3);
}

[data-theme="vegas-nights"] .record-badge-value {
  background: linear-gradient(135deg, rgba(13,13,26,0.98) 0%, rgba(26,31,53,0.95) 100%);
  color: #FFD700;
  border: 1px solid rgba(255, 184, 0, 0.3);
  border-left: none;
  font-weight: 800;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.2);
}

[data-theme="vegas-nights"] .record-text-fallback {
  color: #ffeaa7;
}

/* === MOBILE RESPONSIVENESS === */
/* Extra small mobile - ultra compact */
@media (max-width: 360px) {
  .record-badges {
    gap: 2px;
    margin-top: 4px;
    flex-wrap: nowrap;
    overflow-x: visible;
  }
  
  .record-badge {
    height: 17px;
    flex-shrink: 1;
    min-width: 0; /* Allow flex shrinking */
  }
  
  .record-badge-label {
    padding: 0 3px;
    font-size: 6.5px;
    letter-spacing: 0.3px;
    font-weight: 900;
  }
  
  .record-badge-value {
    padding: 0 4px;
    font-size: 8.5px;
    letter-spacing: 0.1px;
    font-weight: 800;
  }
  
  .record-text-fallback {
    font-size: 8.5px;
  }
}

/* Small mobile - compact */
@media (min-width: 361px) and (max-width: 480px) {
  .record-badges {
    gap: 3px;
    margin-top: 5px;
    flex-wrap: nowrap; /* Force single line */
  }
  
  .record-badge {
    height: 18px;
    flex-shrink: 1; /* Allow shrinking if needed */
  }
  
  .record-badge-label {
    padding: 0 4px;
    font-size: 7px;
    letter-spacing: 0.4px;
    font-weight: 900;
  }
  
  .record-badge-value {
    padding: 0 5px;
    font-size: 9px;
    letter-spacing: 0.2px;
    font-weight: 800;
  }
  
  .record-text-fallback {
    font-size: 9px;
  }
}

/* Tablet - balanced */
@media (min-width: 481px) and (max-width: 768px) {
  .record-badges {
    gap: 5px;
    flex-wrap: nowrap;
  }
  
  .record-badge {
    height: 19px;
  }
  
  .record-badge-label {
    padding: 0 6px;
    font-size: 8px;
    letter-spacing: 0.5px;
  }
  
  .record-badge-value {
    padding: 0 7px;
    font-size: 10px;
    letter-spacing: 0.3px;
  }
}

/* === PRINT STYLES === */
@media print {
  .record-badge {
    box-shadow: none;
    border: 1px solid #000;
  }
  
  .record-badge-label {
    background: #FFD700 !important;
    color: #000 !important;
  }
  
  .record-badge-value {
    background: #fff !important;
    color: #000 !important;
  }
}

/* === ACCESSIBILITY ENHANCEMENTS === */
@media (prefers-contrast: high) {
  .record-badge-label {
    border-right-width: 2px;
    font-weight: 900;
  }
  
  .record-badge-value {
    border-width: 2px;
    font-weight: 900;
  }
}