/* Floodlit stadium background behind the game (shows on the results screen; the home and question screens cover it with their own stadium scene). Same look as stadium.css on the content pages. */
/* ---- background: overhead centre floodlight, stadium mist, track grid + grain ---- */
.stadium-light-stage {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background-color: var(--bg-night);
  background-image:
    radial-gradient(ellipse 32% 30% at 50% -8%, rgba(255, 236, 184, 0.42) 0%, rgba(226, 180, 72, 0.28) 32%, rgba(217, 122, 84, 0.16) 62%, transparent 100%),
    radial-gradient(ellipse 54% 58% at 50% 18%, rgba(217, 122, 84, 0.34) 0%, rgba(142, 50, 46, 0.56) 38%, rgba(78, 20, 24, 0.28) 68%, transparent 92%),
    radial-gradient(ellipse 72% 68% at 50% 24%, transparent 20%, rgba(18, 4, 6, 0.86) 66%, #060203 95%),
    linear-gradient(180deg, #120406 0%, #24080c 26%, #120406 64%, #060203 100%);
}
.stadium-mist {
  position: absolute; inset: 0; mix-blend-mode: screen;
  background-image:
    conic-gradient(from 154deg at 50% -10%, transparent 0deg, rgba(255, 232, 184, 0.05) 14deg, rgba(255, 244, 218, 0.13) 26deg, rgba(255, 232, 184, 0.05) 38deg, transparent 52deg),
    radial-gradient(ellipse 46% 36% at 50% 34%, rgba(255, 228, 186, 0.09) 0%, rgba(217, 122, 84, 0.05) 50%, transparent 82%),
    radial-gradient(ellipse 38% 22% at 50% 12%, rgba(255, 242, 210, 0.14) 0%, transparent 75%);
}
.track-surface-mask {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(226, 180, 72, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 180, 72, 0.07) 1px, transparent 1px),
    linear-gradient(to right, rgba(255, 246, 234, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 246, 234, 0.045) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.14'/%3E%3C/svg%3E");
  background-size: 140px 140px, 140px 140px, 28px 28px, 28px 28px, 180px 180px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 52% 54% at 50% 22%, #000 12%, rgba(0, 0, 0, 0.45) 52%, transparent 85%);
  mask-image: radial-gradient(ellipse 52% 54% at 50% 22%, #000 12%, rgba(0, 0, 0, 0.45) 52%, transparent 85%);
}


/* the game sits on the floodlit stadium instead of a flat red gradient.
   The dark base colour goes on <html> only: a background on <body> would paint over the light layer. */
html{background:#060203!important}
body{background:transparent!important}
