/* Temas de las celebraciones en la portada (shared/seasons.js, client/js/season.js). Sin celebración encendida no hay `body[data-season]` y nada de esto se aplica.
   Solo vale mientras el overlay lleva la clase `landing`; al jugar (o con la pausa) todo esto desaparece. */

/* lo que es común a cualquier celebración: la capa de adornos y la etiqueta sobre el título */
.season-fx { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
#overlay:not(.landing) .season-fx { display: none; }
body:not([data-season]) .season-fx { display: none; }
.season-badge[hidden] { display: none; }
#overlay.landing .live .season-badge { padding-left: 10px; border-left: 2px solid var(--accent); color: var(--accent2); font-family: var(--font-pixel); font-weight: 700; letter-spacing: .06em; text-shadow: 1px 1px 0 #000; }

/* =====================  HALLOWEEN  ===================== */
body[data-season="halloween"] #overlay.landing {
  --accent: #ff8a1f; --accent2: #ffc14d; --sun: #ffc14d; --night: #120a1c;
  --grass-hi: #ffb458; --grass-lo: #b04c0a; --dirt: #3d2352; --dirt-lo: #22112f;
  --ember: #b57cff; --ember-hi: #d2adff; --ember-lo: #5f33a0; --cap-lo: #b04c0a;
}
/* el fondo: las mismas capturas, pero de noche, anaranjadas y oscuras, con el degradado hacia el morado */
body[data-season="halloween"] .hero { background: #140a1f; }
body[data-season="halloween"] .hero i { filter: sepia(.6) hue-rotate(-28deg) saturate(1.5) brightness(.55) contrast(1.12); }
body[data-season="halloween"] .hero::after {
  background:
    radial-gradient(ellipse at 82% 12%, rgba(255,193,77,.16) 0%, rgba(255,193,77,0) 38%),
    linear-gradient(90deg, rgba(20,8,32,.95) 0%, rgba(26,10,42,.8) 36%, rgba(40,14,60,.28) 66%, rgba(40,14,60,.05) 84%),
    linear-gradient(0deg, rgba(20,8,32,.78) 0%, rgba(20,8,32,0) 36%);
}
/* el título: sombra morada en vez de verde azulado, y una calabaza que parpadea como una vela */
body[data-season="halloween"] #overlay.landing .land > h2 {
  text-shadow: 0 1px 0 #2a0f3d, 0 2px 0 #2a0f3d, 0 3px 0 #2a0f3d, 0 4px 0 #2a0f3d, 0 5px 0 #2a0f3d, 0 6px 0 #2a0f3d, 0 7px 0 #2a0f3d, 0 8px 0 #2a0f3d, 0 16px 24px rgba(0,0,0,.6);
}
body[data-season="halloween"] #overlay.landing .land > h2 span {
  text-shadow: 0 1px 0 #7a2e05, 0 2px 0 #7a2e05, 0 3px 0 #7a2e05, 0 4px 0 #7a2e05, 0 5px 0 #7a2e05, 0 6px 0 #7a2e05, 0 7px 0 #7a2e05, 0 8px 0 #7a2e05, 0 16px 24px rgba(0,0,0,.6);
}
body[data-season="halloween"] #overlay.landing .land > h2::after {
  content: ""; display: inline-block; width: .78em; height: .7em; margin-left: .22em; vertical-align: -.04em;
  background: url(../assets/seasons/halloween/pumpkin.svg) center / contain no-repeat; filter: drop-shadow(0 0 .18em rgba(255,138,31,.75));
}
/* lo verde que estaba escrito a mano en la portada, en naranja */
body[data-season="halloween"] #overlay.landing .live { border-color: rgba(255,138,31,.5); }
body[data-season="halloween"] .live i { box-shadow: 0 0 0 0 rgba(255,138,31,.7); }
body[data-season="halloween"] .lb-char { background: rgba(255,138,31,.14); border-color: rgba(255,138,31,.7); color: #ffe6c8; }
body[data-season="halloween"] .lb-char small { color: rgba(255,230,200,.72); }
body[data-season="halloween"] .lb-char:hover { background: rgba(255,138,31,.3); color: #fff; }
body[data-season="halloween"] .intro-btn { color: #ffe6c8; border-color: rgba(255,138,31,.6); }
body[data-season="halloween"] .intro-btn:hover { border-color: #ffb458; }
body[data-season="halloween"] #overlay.landing #go { color: #2a0f00; }
body[data-season="halloween"] #overlay.landing #bar i { background: repeating-linear-gradient(90deg, var(--accent) 0 12px, var(--grass-hi) 12px 16px); }
/* el botón de jugar: una calabaza (tapa naranja, lado morado oscuro) */
body[data-season="halloween"] #overlay.landing #go { background: linear-gradient(180deg, #ffc27a 0%, #ff8a1f 55%, #e06a0a 100%); }
body[data-season="halloween"] #overlay.landing #go::after { border-top-color: #b04c0a; }

/* la luna, la telaraña y la niebla (capa de adornos) */
body[data-season="halloween"] .season-fx::before {
  content: ""; position: absolute; right: 9%; top: 7%; width: clamp(70px, 11vw, 150px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 36% 34%, #fff6d8 0 55%, #f1d99a 100%);
  box-shadow: 0 0 40px 12px rgba(255,214,120,.35), 0 0 120px 40px rgba(255,170,60,.18), inset -10px -8px 0 rgba(200,160,80,.28);
}
body[data-season="halloween"] .season-fx::after {
  content: ""; position: absolute; left: 0; top: 0; width: clamp(120px, 22vw, 260px); aspect-ratio: 1; opacity: .5;
  background: url(../assets/seasons/halloween/web.svg) left top / contain no-repeat;
}
body[data-season="halloween"] .season-fx .fog { position: absolute; left: -20%; width: 140%; bottom: -6%; height: 34%; background: radial-gradient(ellipse at 50% 100%, rgba(190,160,230,.28) 0%, rgba(190,160,230,0) 68%); }
body[data-season="halloween"] .season-fx .fog.f2 { bottom: -12%; height: 26%; opacity: .7; }
body[data-season="halloween"] .season-fx .bat {
  position: absolute; left: -8%; top: var(--t); width: var(--w); aspect-ratio: 10 / 7; display: block;
  background: url(../assets/seasons/halloween/bat.svg) center / contain no-repeat; opacity: .92;
}

/* la pantalla de PAUSA (y «Sin conexión», que usa el mismo velo): se ve el juego detrás, con un velo morado, la calabaza en el título, el botón naranja, los murciélagos y la telaraña */
body[data-season="halloween"] #overlay:not(.landing) {
  --accent: #ff8a1f; --accent2: #ffc14d; --sun: #ffc14d; --grass-hi: #ffb458; --grass-lo: #b04c0a; --dirt: #3d2352; --dirt-lo: #22112f;
  background: radial-gradient(ellipse at 50% 0%, rgba(70,28,104,.5), rgba(20,8,32,.8) 72%);
}
body[data-season="halloween"] #overlay:not(.landing) .season-fx { display: block; z-index: -1; }          /* detrás del texto y de los controles, pero sobre el velo */
body[data-season="halloween"] #overlay:not(.landing) .season-fx::before, body[data-season="halloween"] #overlay:not(.landing) .season-fx .fog { display: none; }          /* sin luna ni niebla: no tapan los controles */
body[data-season="halloween"] #overlay:not(.landing) .season-fx::after { opacity: .38; }
body[data-season="halloween"] #overlay:not(.landing) .land > h2 { text-shadow: 3px 3px 0 #2a0f3d, 0 0 26px rgba(255,138,31,.5); }
body[data-season="halloween"] #overlay:not(.landing) .land > h2::after {
  content: ""; display: inline-block; width: .74em; height: .66em; margin-left: .22em; vertical-align: -.04em;
  background: url(../assets/seasons/halloween/pumpkin.svg) center / contain no-repeat; filter: drop-shadow(0 0 .18em rgba(255,138,31,.75));
}
body[data-season="halloween"] #overlay:not(.landing) #go, body[data-season="halloween"] #overlay:not(.landing) #reload { color: #2a0f00; background: linear-gradient(180deg, #ffc27a 0%, #ff8a1f 55%, #e06a0a 100%); }
body[data-season="halloween"] #overlay:not(.landing) #go::after, body[data-season="halloween"] #overlay:not(.landing) #reload::after { border-top-color: #b04c0a; }
body[data-season="halloween"] #overlay:not(.landing) .help section { background: rgba(26,12,40,.86); border-color: rgba(255,138,31,.3); }
body[data-season="halloween"] #overlay:not(.landing) kbd { background: #2c1840; border-color: rgba(255,138,31,.4); }
@media (prefers-reduced-motion: no-preference) {
  body[data-season="halloween"] #overlay:not(.landing) .land > h2::after { animation: candle 2.6s steps(1) infinite; }
}

@media (prefers-reduced-motion: no-preference) {
  body[data-season="halloween"] .season-fx .bat { animation: batFly var(--d) linear var(--s) infinite, batFlap .32s ease-in-out infinite alternate; }
  body[data-season="halloween"] .season-fx .fog { animation: fogDrift 24s ease-in-out infinite alternate; }
  body[data-season="halloween"] .season-fx .fog.f2 { animation-duration: 33s; animation-direction: alternate-reverse; }
  body[data-season="halloween"] #overlay.landing .land > h2::after { animation: candle 2.6s steps(1) infinite; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-season="halloween"] .season-fx .bat:nth-child(n+5) { display: none; }          /* quietos y pocos */
  body[data-season="halloween"] .season-fx .bat { left: calc(var(--t) * 3); }
}
@media (max-width: 760px) {
  body[data-season="halloween"] .season-fx::before { top: 17%; right: 7%; width: 64px; }               /* en el celular la luna baja para no tapar la etiqueta */
  body[data-season="halloween"] .season-fx::after { width: 110px; }
}
/* =====================  NAVIDAD  ===================== */
body[data-season="navidad"] #overlay.landing {
  --accent: #ff5a52; --accent2: #ffd76a; --sun: #ffd76a; --night: #0a1a2c;
  --grass-hi: #ff8f86; --grass-lo: #b3262a; --dirt: #1d4a3d; --dirt-lo: #0e2a23;
  --ember: #5fe0a0; --ember-hi: #a6f2cb; --ember-lo: #23865a; --cap-lo: #b3262a;
}
/* el fondo: las mismas capturas, pero frías y nocturnas, con el degradado hacia el azul oscuro y algo de nieve abajo */
body[data-season="navidad"] .hero { background: #0a1a2c; }
body[data-season="navidad"] .hero i { filter: grayscale(.5) sepia(.35) hue-rotate(170deg) saturate(1.3) brightness(.76) contrast(1.1); }
body[data-season="navidad"] .hero::after {
  background:
    radial-gradient(ellipse at 82% 10%, rgba(255,215,106,.14) 0%, rgba(255,215,106,0) 38%),
    linear-gradient(90deg, rgba(8,22,38,.95) 0%, rgba(10,30,46,.8) 36%, rgba(14,40,56,.28) 66%, rgba(14,40,56,.05) 84%),
    linear-gradient(0deg, rgba(8,22,38,.78) 0%, rgba(8,22,38,0) 36%);
}
/* el título: sombra verde oscura en vez de verde azulado, y un árbol de Navidad que brilla como si tuviera luces */
body[data-season="navidad"] #overlay.landing .land > h2 {
  text-shadow: 0 1px 0 #0e2a23, 0 2px 0 #0e2a23, 0 3px 0 #0e2a23, 0 4px 0 #0e2a23, 0 5px 0 #0e2a23, 0 6px 0 #0e2a23, 0 7px 0 #0e2a23, 0 8px 0 #0e2a23, 0 16px 24px rgba(0,0,0,.6);
}
body[data-season="navidad"] #overlay.landing .land > h2 span {
  text-shadow: 0 1px 0 #7a1216, 0 2px 0 #7a1216, 0 3px 0 #7a1216, 0 4px 0 #7a1216, 0 5px 0 #7a1216, 0 6px 0 #7a1216, 0 7px 0 #7a1216, 0 8px 0 #7a1216, 0 16px 24px rgba(0,0,0,.6);
}
body[data-season="navidad"] #overlay.landing .land > h2::after {
  content: ""; display: inline-block; width: .66em; height: .78em; margin-left: .22em; vertical-align: -.06em;
  background: url(../assets/seasons/navidad/tree.svg) center / contain no-repeat; filter: drop-shadow(0 0 .2em rgba(255,215,106,.7));
}
/* lo verde que estaba escrito a mano en la portada, en rojo */
body[data-season="navidad"] #overlay.landing .live { border-color: rgba(255,90,82,.5); }
body[data-season="navidad"] .live i { box-shadow: 0 0 0 0 rgba(255,90,82,.7); }
body[data-season="navidad"] .lb-char { background: rgba(255,90,82,.14); border-color: rgba(255,90,82,.7); color: #ffe9e6; }
body[data-season="navidad"] .lb-char small { color: rgba(255,233,230,.72); }
body[data-season="navidad"] .lb-char:hover { background: rgba(255,90,82,.3); color: #fff; }
body[data-season="navidad"] .intro-btn { color: #ffe9e6; border-color: rgba(255,90,82,.6); }
body[data-season="navidad"] .intro-btn:hover { border-color: #ff8f86; }
body[data-season="navidad"] #overlay.landing #bar i { background: repeating-linear-gradient(90deg, var(--accent) 0 12px, #5fe0a0 12px 24px); }
/* el botón de jugar: rojo de Navidad */
body[data-season="navidad"] #overlay.landing #go { color: #2a0608; background: linear-gradient(180deg, #ff9a90 0%, #ff5a52 55%, #d63a3a 100%); }
body[data-season="navidad"] #overlay.landing #go::after { border-top-color: #a52024; }

/* la guirnalda de luces arriba y la nieve del suelo abajo (capa de adornos); los copos los pone season.js */
body[data-season="navidad"] .season-fx::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30px;
  background:
    radial-gradient(circle at 6px 18px, #ff5a52 0 4.5px, rgba(255,90,82,0) 8px) 0 0 / 48px 30px repeat-x,
    radial-gradient(circle at 18px 22px, #ffd76a 0 4.5px, rgba(255,215,106,0) 8px) 0 0 / 48px 30px repeat-x,
    radial-gradient(circle at 30px 18px, #5fe0a0 0 4.5px, rgba(95,224,160,0) 8px) 0 0 / 48px 30px repeat-x,
    radial-gradient(circle at 42px 22px, #5aa8ff 0 4.5px, rgba(90,168,255,0) 8px) 0 0 / 48px 30px repeat-x,
    linear-gradient(#0c2219, #0c2219) 0 3px / 100% 2px no-repeat;
}
body[data-season="navidad"] .season-fx::after {
  content: ""; position: absolute; left: -5%; right: -5%; bottom: -2px; height: 8%;
  background:
    radial-gradient(ellipse at 14% 100%, #eef6ff 0 58%, rgba(238,246,255,0) 59%),
    radial-gradient(ellipse at 38% 100%, #f7fbff 0 52%, rgba(247,251,255,0) 53%),
    radial-gradient(ellipse at 63% 100%, #e6f0fb 0 60%, rgba(230,240,251,0) 61%),
    radial-gradient(ellipse at 88% 100%, #f2f8ff 0 54%, rgba(242,248,255,0) 55%);
  opacity: .9; filter: drop-shadow(0 -6px 14px rgba(190,215,255,.25));
}
body[data-season="navidad"] .season-fx .flake {
  position: absolute; left: var(--l); top: -6%; width: var(--w); aspect-ratio: 1; display: block;
  background: url(../assets/seasons/navidad/flake.svg) center / contain no-repeat; opacity: .85;
}

/* la pantalla de PAUSA (y «Sin conexión», que usa el mismo velo): se ve el juego detrás, con un velo azul verdoso, el árbol en el título, el botón rojo y los copos cayendo */
body[data-season="navidad"] #overlay:not(.landing) {
  --accent: #ff5a52; --accent2: #ffd76a; --sun: #ffd76a; --grass-hi: #ff8f86; --grass-lo: #b3262a; --dirt: #1d4a3d; --dirt-lo: #0e2a23;
  background: radial-gradient(ellipse at 50% 0%, rgba(20,80,70,.5), rgba(8,22,38,.8) 72%);
}
body[data-season="navidad"] #overlay:not(.landing) .season-fx { display: block; z-index: -1; }          /* detrás del texto y de los controles, pero sobre el velo */
body[data-season="navidad"] #overlay:not(.landing) .season-fx::before, body[data-season="navidad"] #overlay:not(.landing) .season-fx::after { display: none; }          /* sin guirnalda ni nieve del suelo: no tapan los controles */
body[data-season="navidad"] #overlay:not(.landing) .land > h2 { text-shadow: 3px 3px 0 #0e2a23, 0 0 26px rgba(255,90,82,.5); }
body[data-season="navidad"] #overlay:not(.landing) .land > h2::after {
  content: ""; display: inline-block; width: .62em; height: .74em; margin-left: .22em; vertical-align: -.06em;
  background: url(../assets/seasons/navidad/tree.svg) center / contain no-repeat; filter: drop-shadow(0 0 .2em rgba(255,215,106,.7));
}
body[data-season="navidad"] #overlay:not(.landing) #go, body[data-season="navidad"] #overlay:not(.landing) #reload { color: #2a0608; background: linear-gradient(180deg, #ff9a90 0%, #ff5a52 55%, #d63a3a 100%); }
body[data-season="navidad"] #overlay:not(.landing) #go::after, body[data-season="navidad"] #overlay:not(.landing) #reload::after { border-top-color: #a52024; }
body[data-season="navidad"] #overlay:not(.landing) .help section { background: rgba(10,30,34,.86); border-color: rgba(255,90,82,.3); }
body[data-season="navidad"] #overlay:not(.landing) kbd { background: #123a34; border-color: rgba(255,90,82,.4); }

@media (prefers-reduced-motion: no-preference) {
  body[data-season="navidad"] .season-fx .flake { animation: flakeFall var(--d) linear var(--s) infinite; }
  body[data-season="navidad"] .season-fx::before { animation: twinkle 1.8s steps(1) infinite; }
  body[data-season="navidad"] #overlay.landing .land > h2::after { animation: treeGlow 2.4s ease-in-out infinite alternate; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-season="navidad"] .season-fx .flake:nth-child(n+11) { display: none; }          /* quietos y pocos */
  body[data-season="navidad"] .season-fx .flake { top: calc(var(--l) * .8); }
}
@media (max-width: 760px) {
  body[data-season="navidad"] .season-fx::after { height: 6%; }
}

/* =====================  LOS SIMPSON  ===================== */
body[data-season="simpson"] #overlay.landing {
  --accent: #ffd90f; --accent2: #ffe86b; --sun: #ffe86b; --night: #0b2a52;
  --grass-hi: #ffe86b; --grass-lo: #b89400; --dirt: #1e5fa8; --dirt-lo: #0d3a6e;
  --ember: #5aa8ff; --ember-hi: #a6d2ff; --ember-lo: #1e5fa8; --cap-lo: #b89400;
}
/* el fondo: las mismas capturas, de día, más vivas, con el degradado hacia el azul del cielo de un dibujo animado */
body[data-season="simpson"] .hero { background: #0b3a6e; }
body[data-season="simpson"] .hero i { filter: saturate(1.45) brightness(1.06) contrast(1.05); }
body[data-season="simpson"] .hero::after {
  background:
    radial-gradient(ellipse at 82% 10%, rgba(255,232,107,.28) 0%, rgba(255,232,107,0) 40%),
    linear-gradient(90deg, rgba(11,48,92,.94) 0%, rgba(18,72,130,.74) 36%, rgba(40,120,200,.22) 66%, rgba(40,120,200,.04) 84%),
    linear-gradient(0deg, rgba(11,48,92,.7) 0%, rgba(11,48,92,0) 36%);
}
/* el título: sombra azul y una rosquilla rosa con fideos de colores */
body[data-season="simpson"] #overlay.landing .land > h2 {
  text-shadow: 0 1px 0 #0d3a6e, 0 2px 0 #0d3a6e, 0 3px 0 #0d3a6e, 0 4px 0 #0d3a6e, 0 5px 0 #0d3a6e, 0 6px 0 #0d3a6e, 0 7px 0 #0d3a6e, 0 8px 0 #0d3a6e, 0 16px 24px rgba(0,0,0,.55);
}
body[data-season="simpson"] #overlay.landing .land > h2 span {
  text-shadow: 0 1px 0 #8a6c00, 0 2px 0 #8a6c00, 0 3px 0 #8a6c00, 0 4px 0 #8a6c00, 0 5px 0 #8a6c00, 0 6px 0 #8a6c00, 0 7px 0 #8a6c00, 0 8px 0 #8a6c00, 0 16px 24px rgba(0,0,0,.55);
}
body[data-season="simpson"] #overlay.landing .land > h2::after {
  content: ""; display: inline-block; width: .7em; height: .7em; margin-left: .22em; vertical-align: -.04em; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 0 17%, #f08cc0 18% 62%, #e0a050 63% 100%); filter: drop-shadow(0 0 .16em rgba(255,217,15,.75));
}
/* lo verde que estaba escrito a mano en la portada, en amarillo */
body[data-season="simpson"] #overlay.landing .live { border-color: rgba(255,217,15,.55); }
body[data-season="simpson"] .live i { box-shadow: 0 0 0 0 rgba(255,217,15,.7); }
body[data-season="simpson"] .lb-char { background: rgba(255,217,15,.14); border-color: rgba(255,217,15,.7); color: #fff7c9; }
body[data-season="simpson"] .lb-char small { color: rgba(255,247,201,.74); }
body[data-season="simpson"] .lb-char:hover { background: rgba(255,217,15,.3); color: #fff; }
body[data-season="simpson"] .intro-btn { color: #fff7c9; border-color: rgba(255,217,15,.6); }
body[data-season="simpson"] .intro-btn:hover { border-color: #ffe86b; }
body[data-season="simpson"] #overlay.landing #bar i { background: repeating-linear-gradient(90deg, var(--accent) 0 12px, #5aa8ff 12px 24px); }
/* el botón de jugar: amarillo */
body[data-season="simpson"] #overlay.landing #go { color: #3a2e00; background: linear-gradient(180deg, #fff29a 0%, #ffd90f 55%, #e6bd00 100%); }
body[data-season="simpson"] #overlay.landing #go::after { border-top-color: #b89400; }

/* unas nubes blancas que cruzan arriba y las rosquillas que caen (capa de adornos; las rosquillas las pone season.js) */
body[data-season="simpson"] .season-fx::before {
  content: ""; position: absolute; left: -30%; top: 6%; width: 160%; height: 26%; opacity: .9;
  background:
    radial-gradient(ellipse at 12% 60%, #fff 0 9%, rgba(255,255,255,0) 10%),
    radial-gradient(ellipse at 17% 50%, #fff 0 11%, rgba(255,255,255,0) 12%),
    radial-gradient(ellipse at 23% 62%, #fff 0 8%, rgba(255,255,255,0) 9%),
    radial-gradient(ellipse at 58% 40%, #fff 0 10%, rgba(255,255,255,0) 11%),
    radial-gradient(ellipse at 64% 32%, #fff 0 12%, rgba(255,255,255,0) 13%),
    radial-gradient(ellipse at 71% 44%, #fff 0 9%, rgba(255,255,255,0) 10%);
  filter: drop-shadow(0 6px 10px rgba(11,48,92,.25));
}
body[data-season="simpson"] .season-fx .donut {
  position: absolute; left: var(--l); top: -8%; width: var(--w); aspect-ratio: 1; display: block; border-radius: 50%; opacity: .92;
  background:
    radial-gradient(circle at 34% 30%, #5aa8ff 0 4%, rgba(90,168,255,0) 5%),
    radial-gradient(circle at 68% 26%, #ffe03a 0 4%, rgba(255,224,58,0) 5%),
    radial-gradient(circle at 26% 66%, #ffe03a 0 4%, rgba(255,224,58,0) 5%),
    radial-gradient(circle at 74% 70%, #5aa8ff 0 4%, rgba(90,168,255,0) 5%),
    radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 0 17%, #f08cc0 18% 62%, #e0a050 63% 100%);
}

/* la pantalla de PAUSA (y «Sin conexión», que usa el mismo velo): se ve el juego detrás, con un velo azul, la rosquilla en el título, el botón amarillo y las rosquillas cayendo */
body[data-season="simpson"] #overlay:not(.landing) {
  --accent: #ffd90f; --accent2: #ffe86b; --sun: #ffe86b; --grass-hi: #ffe86b; --grass-lo: #b89400; --dirt: #1e5fa8; --dirt-lo: #0d3a6e;
  background: radial-gradient(ellipse at 50% 0%, rgba(40,120,200,.5), rgba(11,42,82,.82) 72%);
}
body[data-season="simpson"] #overlay:not(.landing) .season-fx { display: block; z-index: -1; }          /* detrás del texto y de los controles, pero sobre el velo */
body[data-season="simpson"] #overlay:not(.landing) .season-fx::before { display: none; }          /* sin nubes: no tapan los controles */
body[data-season="simpson"] #overlay:not(.landing) .land > h2 { text-shadow: 3px 3px 0 #0d3a6e, 0 0 26px rgba(255,217,15,.5); }
body[data-season="simpson"] #overlay:not(.landing) .land > h2::after {
  content: ""; display: inline-block; width: .66em; height: .66em; margin-left: .22em; vertical-align: -.04em; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 0 17%, #f08cc0 18% 62%, #e0a050 63% 100%); filter: drop-shadow(0 0 .16em rgba(255,217,15,.75));
}
body[data-season="simpson"] #overlay:not(.landing) #go, body[data-season="simpson"] #overlay:not(.landing) #reload { color: #3a2e00; background: linear-gradient(180deg, #fff29a 0%, #ffd90f 55%, #e6bd00 100%); }
body[data-season="simpson"] #overlay:not(.landing) #go::after, body[data-season="simpson"] #overlay:not(.landing) #reload::after { border-top-color: #b89400; }
body[data-season="simpson"] #overlay:not(.landing) .help section { background: rgba(10,40,78,.86); border-color: rgba(255,217,15,.3); }
body[data-season="simpson"] #overlay:not(.landing) kbd { background: #123c70; border-color: rgba(255,217,15,.4); }

@media (prefers-reduced-motion: no-preference) {
  body[data-season="simpson"] .season-fx .donut { animation: flakeFall var(--d) linear var(--s) infinite; }
  body[data-season="simpson"] .season-fx::before { animation: cloudDrift 60s linear infinite alternate; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-season="simpson"] .season-fx .donut:nth-child(n+6) { display: none; }          /* quietas y pocas */
  body[data-season="simpson"] .season-fx .donut { top: calc(var(--l) * .8); }
}

#overlay.landing .live .season-badge { white-space: nowrap; }
#overlay.landing .live { flex-wrap: wrap; }
@keyframes cloudDrift { from { translate: -6% 0; } to { translate: 6% 0; } }
@keyframes batFly { from { translate: 0 0; } 25% { translate: 30vw -3vh; } 50% { translate: 60vw 4vh; } 75% { translate: 90vw -2vh; } to { translate: 125vw 0; } }
@keyframes batFlap { from { scale: 1 1; } to { scale: 1 .5; } }
@keyframes fogDrift { from { translate: -4% 0; } to { translate: 4% -3%; } }
@keyframes candle { 0%, 100% { filter: drop-shadow(0 0 .18em rgba(255,138,31,.75)); } 18% { filter: drop-shadow(0 0 .3em rgba(255,200,80,.95)); } 41% { filter: drop-shadow(0 0 .12em rgba(255,138,31,.55)); } 67% { filter: drop-shadow(0 0 .26em rgba(255,180,60,.9)); } }
@keyframes flakeFall { from { translate: 0 -8vh; rotate: 0deg; } to { translate: var(--x) 112vh; rotate: 270deg; } }
@keyframes twinkle { 0%, 100% { filter: brightness(1.15); } 50% { filter: brightness(.55); } }
@keyframes treeGlow { from { filter: drop-shadow(0 0 .12em rgba(255,215,106,.45)); } to { filter: drop-shadow(0 0 .3em rgba(255,215,106,.95)); } }
