/* Race Night theme — same tokens as base at split; scoped for future independence */
.race-night {
  --bg-primary: #0b1020;
  --bg-secondary: #1a1a2e;
  --bg-panel: rgba(255, 255, 255, 0.08);
  --text-primary: #f2f5ff;
  --text-secondary: #ccc;
  --text-muted: #999;
  --accent-gold: #ffd54a;
  --gradient-primary: linear-gradient(135deg, #ffb84a, #ff8a3d);
  --gradient-success: linear-gradient(135deg, #4be48a, #20d07a);
  --gradient-error: linear-gradient(135deg, #ff8787, #ff6b6b);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius-md: 12px;
  --radius-lg: 16px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
}

/* Race display */
.race-night .race-container {
  /* Remove green background - canvas will draw its own background texture */
  background: transparent;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  position: relative;
}

.race-night .race-track {
  /* Remove background color - canvas will draw its own background texture */
  background: transparent;
  width: 100%;
  height: 100%;
  display: block;
}

/* Results overlay */
.race-night .results-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(4px);
}
