/* CHILLOUT Halloween cinematic v41: native theme, scoped only to season-halloween */
body.season-halloween{background:#09070b!important;--h-orange:#ff850f;--h-ember:#f86d0d;--h-gold:#ffc16a;color:#f7f2ed}
body.season-halloween .ambient{opacity:0!important}
body.season-halloween::before{content:""!important;position:fixed;inset:0;pointer-events:none;z-index:0!important;background:linear-gradient(90deg,rgba(5,3,8,.43),rgba(5,3,8,.84) 29%,rgba(5,3,8,.86) 60%,rgba(7,3,8,.45)),radial-gradient(ellipse at 83% 20%,rgba(224,76,18,.30),transparent 40%),linear-gradient(#140e13,#08070a)!important}
body.season-halloween::after{content:"";position:fixed;inset:0;pointer-events:none;z-index:1;opacity:.8;background:radial-gradient(ellipse 45% 28% at 48% 92%,rgba(248,91,18,.09),transparent 88%)}
/* High-resolution scenic cutouts from the approved Halloween concept, never over the UI */
.h40-scenery{display:none}
body.season-halloween .h40-scenery{display:block;position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:1;isolation:isolate}
.h40-scenery .h40-left,.h40-scenery .h40-right{position:absolute;top:0;height:auto;aspect-ratio:505/614;max-height:86vh;background-size:contain;background-position:top center;background-repeat:no-repeat;filter:saturate(1.2) contrast(1.11);animation:h40-breathe 8s ease-in-out infinite alternate}
.h40-scenery .h40-left{width:min(32vw,680px);left:0;background-image:url('/assets/halloween/left-v41.webp');mask-image:linear-gradient(90deg,#000 0%,#000 63%,transparent 100%)}
.h40-scenery .h40-right{width:min(32vw,680px);right:0;background-image:url('/assets/halloween/right-v41.webp');mask-image:linear-gradient(270deg,#000 0%,#000 65%,transparent 100%);animation-delay:-4s}
.h40-scenery .h40-moon{position:absolute;width:clamp(145px,19vw,330px);aspect-ratio:1;right:14%;top:5%;border-radius:50%;background:radial-gradient(circle at 37% 35%,#ffc068 0%,#ff8b2f 45%,#a54117 73%,#26121a 100%);box-shadow:0 0 65px 18px rgba(255,84,13,.24),0 0 160px 40px rgba(243,55,16,.14);opacity:.65;mix-blend-mode:screen;filter:blur(1px)}
.h40-scenery .h40-mist{position:absolute;inset:auto -15% -12% -15%;height:48%;background:radial-gradient(ellipse at 50% 100%,rgba(150,76,61,.25),transparent 70%);filter:blur(35px);animation:h40-mist 20s ease-in-out infinite alternate}
body.season-halloween .topbar,body.season-halloween main,body.season-halloween footer{position:relative;z-index:2}
body.season-halloween .topbar{background:rgba(15,12,19,.92)!important;border:1px solid rgba(242,116,29,.26);box-shadow:0 12px 40px rgba(0,0,0,.45),0 0 28px rgba(191,60,0,.08)}
body.season-halloween .glass{background:linear-gradient(145deg,rgba(27,19,23,.94),rgba(14,13,20,.96))!important;border-color:rgba(232,108,28,.28)!important;box-shadow:0 14px 38px rgba(0,0,0,.47),0 0 26px rgba(230,81,20,.075)}
body.season-halloween .hero-manifesto-glow{opacity:.24;filter:hue-rotate(130deg)}
body.season-halloween .hero h1 em,body.season-halloween .hero h1 .accent,body.season-halloween .gradient-text{background:linear-gradient(105deg,#ff6b0c,#ffb047 55%,#d94b0e)!important;background-clip:text!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent}
body.season-halloween .btn.primary,body.season-halloween button.primary{background:linear-gradient(120deg,#e65a0c,#ff9e26)!important;border-color:rgba(255,179,68,.45)!important;box-shadow:0 6px 25px rgba(235,83,10,.24)!important;color:#170e0b!important}
body.season-halloween .btn.primary:hover{filter:brightness(1.12)}
body.season-halloween #chilloutThemeToggle{color:#ffc284;border-color:#9d4d21;background:linear-gradient(125deg,#512513,#1c1518);box-shadow:0 0 16px rgba(240,94,17,.14)}
body.season-halloween #chilloutThemeToggle .theme-symbol{color:#ff9d32}
body.season-halloween .halloween-season-kicker{color:#ffaf64;text-shadow:0 0 12px rgba(255,105,17,.36)}
body.season-halloween .halloween-season-banner{position:relative;border:1px solid rgba(255,111,32,.34)!important;background:linear-gradient(100deg,rgba(36,16,17,.96),rgba(20,16,23,.94))!important;box-shadow:0 0 35px rgba(255,88,15,.1);padding:26px 30px;overflow:hidden}
body.season-halloween .halloween-season-banner::after{content:"";position:absolute;right:22px;top:50%;width:112px;height:112px;transform:translateY(-50%);background:url('/assets/halloween/left-v41.webp') left center/contain no-repeat;border-radius:50%;filter:drop-shadow(0 0 18px rgba(255,96,19,.6));opacity:.7;pointer-events:none}
body.season-halloween .halloween-season-banner h2{color:#ffb16b}
body.season-halloween .halloween-season-banner p{color:#d8c9c6}
body.season-halloween .autumn-leaves,body.season-halloween .autumn-kicker,body.season-halloween .autumn-season-banner,body.season-halloween .autumn-footer-season{display:none!important}
body:not(.season-halloween) .halloween-season-kicker,body:not(.season-halloween) .halloween-season-banner,body:not(.season-halloween) .halloween-footer-season{display:none!important}
@keyframes h40-breathe{from{filter:saturate(1.0) brightness(.85)}to{filter:saturate(1.25) brightness(1.08)}}
@keyframes h40-mist{from{transform:translateX(-8%)}to{transform:translateX(9%)}}
@media(max-width:1100px){body.season-halloween .h40-scenery .h40-left{width:29vw;opacity:.72}body.season-halloween .h40-scenery .h40-right{width:24vw;opacity:.64}.h40-scenery .h40-moon{right:5%}}
@media(max-width:700px){body.season-halloween .h40-scenery .h40-left{width:42vw;opacity:.28}body.season-halloween .h40-scenery .h40-right{width:38vw;opacity:.25}body.season-halloween .h40-scenery .h40-moon{opacity:.24;right:-15%;top:15%}body.season-halloween .halloween-season-banner::after{opacity:.15}}
@media(prefers-reduced-motion:reduce){body.season-halloween .h40-scenery *{animation:none!important}}

/* FIX41: one moon only; original working radio and visitor counter remain above scenery. */
body.season-halloween .h40-scenery .h40-moon{display:none!important}
body.season-halloween .h40-scenery{pointer-events:none!important}
body.season-halloween .site-online-card,body.season-halloween .radio-widget{filter:none!important;opacity:1!important;transform:none!important;isolation:isolate}

/* FIX42 — preserve real floating UI independent of Halloween scene */
body.season-halloween #siteOnlineCard.floating-presence{position:fixed!important;right:16px!important;bottom:16px!important;z-index:100!important;display:block;visibility:visible;opacity:1!important;filter:none!important;transform:none!important;isolation:isolate}
body.season-halloween .hero-manifesto::after{display:none!important;content:none!important}
/* The drawn scene never captures mouse/keyboard events. */
body.season-halloween .h40-scenery,body.season-halloween .h40-scenery *{pointer-events:none!important}
@media(max-width:850px){body.season-halloween #siteOnlineCard.floating-presence{right:6px!important;bottom:max(10px,env(safe-area-inset-bottom,0px))!important}}
