/* ==========================================================================
   NEON AUDIO — SEASONAL THEME: WINTER
   Deep Freeze - ice blue + aurora violet on cold black. Snow, frost vignette.
   Suggested window: December - February

   GENERATED by seasons/build-seasons.py — edit the PALETTE there, not this file.
   Purely additive: load AFTER the page's own <style>. Delete it and the site is stock.
   Contrast audit (WCAG AA needs 4.5:1 body, 3:1 large/UI):
     body text   ink/ground    17.81:1  need 4.5  PASS
     secondary   muted/ground   7.50:1  need 4.5  PASS
     accent      signal/ground 13.23:1  need 4.5  PASS
     button text solid_ink/sig 12.64:1  need 4.5  PASS
     technical   cool/ground    8.96:1  need 3.0  PASS
   ========================================================================== */

:root{
  --ground:#060A11; --panel:#111B27; --panel-2:#0A121B; --line:#1F2F40;
  --ink:#EBF4FB; --muted:#8CA2B4; --faint:#576979;
  --signal:#7FE0FF; --signal-dim:#2F718C; --hl:#7FE0FF;
  --cool:#6FB2FF; --magenta:#A77BFF; --good:#5FD9C0;
  /* Exposed so future CSS can tint without hardcoding. The overrides below exist
     because the SHIPPED stylesheet predates these and bakes the numbers in. */
  --signal-rgb:127,224,255; --cool-rgb:111,178,255; --magenta-rgb:167,123,255;
}

/* ── THE SUBPAGE TEMPLATE IS A DIFFERENT CODEBASE ───────────────────────────
   Every page that is not the homepage (packs/*, guides/*, free-sound-effects,
   tools/index, visualizer-looks, privacy, terms, 404) ships its own smaller
   <style> with a DIFFERENT token set: it says --teal where index.html says
   --cool, adds --line-2, and draws the brand sun as a STATIC svg gradient with
   stop-color baked into the markup instead of index's 18s animated one.
   Miss this and the subpages come out half-themed — orange headings over a
   stock cyan eyebrow and a pink-and-blue logo. (Found by rendering, not reading.)
   CSS beats a presentation attribute, so the stops below re-colour the markup;
   index's .sunmark keyframes are untouched because an animation outranks these. */
:root{ --teal:#6FB2FF; --line-2:#42505E; }
.sun stop:nth-child(1){stop-color:#7FE0FF}
.sun stop:nth-child(2){stop-color:#A77BFF}
.sun stop:nth-child(3){stop-color:#6FB2FF}

/* ── the ~25 rules that hardcode an accent ──────────────────────────────── */
.miclisten{background:linear-gradient(rgba(111,178,255,.07),rgba(111,178,255,.07)),var(--panel-2)}
.miclisten[aria-pressed="true"]{
  background:linear-gradient(rgba(111,178,255,.08),rgba(111,178,255,.08)),var(--panel-2)}
.miclisten[aria-pressed="true"] .d{box-shadow:0 0 0 3px rgba(111,178,255,.16),0 0 10px var(--cool)}
@keyframes micpulse{50%{box-shadow:0 0 0 5px rgba(111,178,255,.10),0 0 14px var(--cool)}}
.mark .sunmark{filter:drop-shadow(0 0 5px rgba(111,178,255,.35))}
.nav-cta{box-shadow:0 0 16px rgba(111,178,255,.30)}
.nav-cta:hover{background:#93E4FF}
@keyframes navcta{
    0%{box-shadow:0 0 16px rgba(111,178,255,.30)}
   35%{box-shadow:0 0 18px rgba(127,224,255,.34)}
   70%{box-shadow:0 0 18px rgba(167,123,255,.32)}
  100%{box-shadow:0 0 16px rgba(111,178,255,.30)}}
.grid-h{background-image:linear-gradient(rgba(111,178,255,.10) 1px,transparent 1px),
  linear-gradient(90deg,rgba(111,178,255,.10) 1px,transparent 1px)}
.btn:hover,.btn:focus-visible{box-shadow:0 0 16px rgba(111,178,255,.2)}
.btn.solid{color:#04121C}
.btn.solid:hover,.btn.solid:focus-visible{
  background:#93E4FF;color:#04121C;box-shadow:0 0 22px rgba(127,224,255,.4)}
.card.featured{box-shadow:0 0 40px rgba(127,224,255,.12)}
.card.featured:hover{box-shadow:0 0 48px rgba(127,224,255,.18)}
.status.new{color:var(--signal);border:1px solid rgba(127,224,255,.35);
  background:rgba(127,224,255,.08)}
.buy{color:#04121C}
.buy:hover{background:#93E4FF;box-shadow:0 0 18px rgba(127,224,255,.35)}
.demo-play{background:rgba(127,224,255,.08)}
.demo-play:hover{background:rgba(127,224,255,.16);box-shadow:0 0 16px rgba(127,224,255,.25)}
.demo.playing .demo-play{background:rgba(127,224,255,.22)}
.stakes .lead em{text-shadow:0 0 18px rgba(167,123,255,.3)}
.wins .lead em{text-shadow:0 0 18px rgba(111,178,255,.3)}
/* The active pack-filter chip. It rides on --signal (set by index.html's own rule, which
   was repaired 2026-09-29 — it used to name a --fg/--bg that never existed), so the season
   only has to supply the ink that reads on this season's signal colour. */
.pf.on{color:#04121C;background:#7FE0FF;border-color:#7FE0FF}

/* ── the 18s animated sun logo + nav mark, re-stopped to the season ─────── */
@keyframes sun0{0%{stop-color:#7FE0FF}25%{stop-color:#A77BFF}45%{stop-color:#6FB2FF}
  70%{stop-color:#A77BFF}100%{stop-color:#7FE0FF}}
@keyframes sun1{0%{stop-color:#A77BFF}25%{stop-color:#6FB2FF}45%{stop-color:#7FE0FF}
  70%{stop-color:#6FB2FF}100%{stop-color:#A77BFF}}
@keyframes sun2{0%{stop-color:#6FB2FF}25%{stop-color:#7FE0FF}45%{stop-color:#A77BFF}
  70%{stop-color:#7FE0FF}100%{stop-color:#6FB2FF}}

/* ── the RGB-split glitch, re-fringed ──────────────────────────────────── */
.glitch::before{color:var(--cool)}
.glitch::after{color:var(--magenta)}

/* Snow. Three tiled layers of real six-armed snowflakes (inline SVG, no requests)
   at three sizes, plus a layer of fine dust for depth. Each layer falls one tile per
   cycle, so the bigger, nearer flakes fall faster: parallax for free. Still one
   element, zero DOM nodes. Flakes replaced the plain dots on Tyler's call, 2026-11-03. */
body::before{content:"";position:fixed;inset:-40px;z-index:58;pointer-events:none;
  background-image:
    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='360'><g fill='none' stroke='%23EBF4FB' stroke-width='1.3' stroke-linecap='round'><g transform='translate(70 90) scale(0.8)' opacity='0.85'><path transform='rotate(0)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(60)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(120)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(180)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(240)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(300)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/></g><g transform='translate(250 250) scale(0.6)' opacity='0.7'><path transform='rotate(20)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(80)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(140)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(200)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(260)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(320)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/></g></g></svg>"),
    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='300'><g fill='none' stroke='%23EBF4FB' stroke-width='1.3' stroke-linecap='round'><g transform='translate(40 200) scale(0.5)' opacity='0.65'><path transform='rotate(10)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(70)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(130)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(190)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(250)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(310)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/></g><g transform='translate(180 60) scale(0.4)' opacity='0.55'><path transform='rotate(35)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(95)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(155)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(215)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(275)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(335)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/></g><g transform='translate(220 240) scale(0.45)' opacity='0.6'><path transform='rotate(0)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(60)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(120)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(180)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(240)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(300)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/></g></g></svg>"),
    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='240'><g fill='none' stroke='%23EBF4FB' stroke-width='1.3' stroke-linecap='round'><g transform='translate(30 40) scale(0.3)' opacity='0.45'><path transform='rotate(15)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(75)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(135)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(195)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(255)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(315)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/></g><g transform='translate(130 150) scale(0.35)' opacity='0.5'><path transform='rotate(0)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(60)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(120)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(180)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(240)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(300)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/></g><g transform='translate(170 30) scale(0.25)' opacity='0.4'><path transform='rotate(30)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(90)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(150)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(210)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(270)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/><path transform='rotate(330)' d='M0 0L0-9M0-4.5L-2.6-7M0-4.5L2.6-7M0-6.8L-1.6-8.4M0-6.8L1.6-8.4'/></g></g></svg>"),
    radial-gradient(1.3px 1.3px at 23% 31%,rgba(235,244,251,.7),transparent),
    radial-gradient(1.1px 1.1px at 68% 62%,rgba(235,244,251,.5),transparent);
  background-size:347px 419px,283px 331px,211px 257px,229px 271px,173px 223px;
  animation:frost-fall 30s linear infinite}
@keyframes frost-fall{
  0%{background-position:0 0,0 0,0 0,0 0,0 0}
  50%{background-position:18px 210px,-14px 166px,8px 129px,6px 136px,-5px 112px}
  100%{background-position:0 419px,0 331px,0 257px,0 271px,0 223px}}
/* Frost creeping in from the corners, over the site's own vignette. */
.vignette{background:
  radial-gradient(120% 80% at 50% 40%,transparent 55%,rgba(0,0,0,.5) 100%),
  radial-gradient(38% 30% at 0% 0%,rgba(127,224,255,.10),transparent 70%),
  radial-gradient(38% 30% at 100% 100%,rgba(167,123,255,.09),transparent 70%)}

/* Every seasonal motion layer is opt-out for vestibular safety. The site's own
   scanline rule already respects this; the extras must too. */
@media(prefers-reduced-motion:reduce){
  body::before{animation:none}
  .hero h1 .g,.hero .tag .hl{animation:none}
}
