#halloweenBanner{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin:8px 0;padding:10px 16px;border:1px solid #ab6137;border-radius:10px;background:linear-gradient(110deg,#332036,#492913);color:#ffae62;font:inherit;text-align:left;cursor:pointer}#halloweenBanner[hidden],#candyWallet[hidden]{display:none}#halloweenBanner b{font-size:15px}#halloweenBanner span{font-size:11px;color:#ffd5a8}#candyWallet{color:#ffb05c}.halloween-season #ui>div,.halloween-season dialog{border-color:#80503e}.halloween-season #ui:before,.halloween-season #ui:after{position:absolute;top:8px;pointer-events:none;opacity:.7;font-size:24px;content:'🕸️';z-index:1}.halloween-season #ui:before{left:8px}.halloween-season #ui:after{right:8px;transform:scaleX(-1)}.halloween-season .shop-card.event-card{border-color:#a76036;background:linear-gradient(145deg,#261c31,#171a26)}.event-card h3{color:#ffab60!important}.event-card .event-badge{font-size:10px;color:#ffba80}.halloween-season #page-home h1,.halloween-season #page-shop h2{color:#ffac60}.shop-event-note{color:#ffd7ad;font:12px 'Courier New',monospace;line-height:1.5;margin:10px 0}.trail-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}#trailStatus{color:#cdbbde}@media(max-width:600px){#halloweenBanner{padding:8px 10px;flex-wrap:wrap;gap:4px}#halloweenBanner b{font-size:13px}#halloweenBanner span{font-size:10px}.halloween-season #ui:before,.halloween-season #ui:after{font-size:16px;opacity:.35}}
/* Seasonal scenery stays behind the menu and never receives input. */
#halloweenScenery{display:none;pointer-events:none!important;position:fixed;inset:0;overflow:hidden;z-index:0;background:radial-gradient(ellipse at 4% 90%,#a749263b,transparent 40%),radial-gradient(ellipse at 92% 9%,#8546ba45,transparent 42%),linear-gradient(160deg,#120d1fe6,#18111aab)}
.halloween-season #halloweenScenery{display:block}.halloween-season #ui .panel{position:relative;z-index:1;border:1px solid #c17746;box-shadow:0 0 0 3px #25182e,0 0 32px #a54f2836,inset 0 1px 0 #ffc46d66;background-image:radial-gradient(ellipse at top right,#5e2f642e,transparent 45%)}
.halloween-season #ui:before,.halloween-season #ui:after{content:none}
#halloweenScenery i{display:block;position:absolute}#halloweenScenery svg{width:100%;height:100%}
.season-moon{width:140px;height:140px;right:3%;top:3%;border-radius:50%;background:radial-gradient(circle at 35% 35%,#ffe3a8,#d49959);box-shadow:0 0 55px #f1bb6444;opacity:.45}
.season-web{width:150px;height:150px;top:0;opacity:.55}.web-left{left:0}.web-right{right:0;transform:scaleX(-1)}
.season-pumpkin{width:130px;height:120px;bottom:12px;filter:drop-shadow(0 0 14px #ff913950)}.pumpkin-left{left:12px;transform:rotate(-9deg)}.pumpkin-right{right:12px;transform:rotate(9deg)}
.season-bat{width:72px;height:42px;filter:drop-shadow(0 0 8px #9660bf44);animation:seasonFloat 7s ease-in-out infinite}.bat-left{left:2%;top:30%;transform:rotate(-15deg)}.bat-right{right:2%;top:46%;animation-delay:-3s}
.season-sparks{inset:0;background-image:radial-gradient(circle,#ffa747bb 1px,transparent 2px),radial-gradient(circle,#c58cec77 1px,transparent 2px);background-size:153px 137px,197px 183px;background-position:9px 21px,91px 66px;opacity:.38}
#halloweenBanner{position:relative;overflow:hidden;min-height:58px;padding:12px 18px;border:1px solid #ed9c55;box-shadow:inset 0 0 20px #ff842b1c,0 0 14px #a4532a28;background:radial-gradient(ellipse at 95% 50%,#86499370,transparent 50%),linear-gradient(110deg,#4a2630,#38203e 70%,#542e28)}
#halloweenBanner b{color:#ffbb69;letter-spacing:1.5px;text-shadow:0 0 12px #ff8d4d55;font-size:17px}#halloweenBanner span{position:relative;max-width:58%;line-height:1.45;text-align:right}#halloweenBanner:after{content:'✦';position:absolute;right:8px;top:0;font-size:16px;color:#e9bcff;opacity:.7;pointer-events:none}
.halloween-season .tab.sel{box-shadow:inset 0 -2px #ffa358;background:linear-gradient(120deg,#512e27,#382740)}.halloween-season .shop-card.event-card{border-color:#c17a49;box-shadow:inset 0 2px #ffbc6844;background:radial-gradient(ellipse at top right,#5a32654d,transparent 70%),#1e1828}.halloween-season .shop-card.event-card:hover{border-color:#ffc478;box-shadow:0 0 18px #d0783629}
@keyframes seasonFloat{0%,100%{translate:0 0}50%{translate:0 -10px}}
@media(max-width:900px){.season-pumpkin{width:74px;height:70px;opacity:.65}.season-web{width:90px;height:90px}.season-bat{width:42px;opacity:.5}.season-moon{width:90px;height:90px;opacity:.25}}
@media(max-width:600px){#halloweenBanner{min-height:0;padding:9px 12px;gap:5px}#halloweenBanner b{font-size:14px;letter-spacing:1px}#halloweenBanner span{max-width:100%;text-align:left;font-size:10px}.season-pumpkin{width:48px;height:44px;bottom:2px;opacity:.4}.season-web{width:65px;height:65px}.season-bat{display:none!important}}
@media(prefers-reduced-motion:reduce){.season-bat{animation:none}}
/* A foreground Halloween identity, not just a seasonal border. */
#halloweenHero,.halloween-button-art{display:none}
.halloween-season #ui{--panel:#26113e;--panel2:#371851;--line:#81529d;--green:#ffb653;--blue:#c3a2ff;--dim:#cbb8dd;background:#160823;color:#fff1e3}
.halloween-season #ui .panel{background:linear-gradient(155deg,#3b1854 0%,#29123f 55%,#201033);border:2px solid #ad71cb;border-radius:18px;box-shadow:0 0 90px #a24ac94a,inset 0 1px #efb9ff66}
.halloween-season #ui .head{border-color:#985eb6;padding:9px 2px 13px}.halloween-season #ui h1{color:#ffbd65;text-shadow:2px 3px #742d27;letter-spacing:4px}.halloween-season #ui .sub{color:#ddbae9}.halloween-season #ui .tab{background:#4c2562;color:#eddbff;border-color:#9860b5;border-radius:7px 7px 0 0}.halloween-season #ui .tab.sel{background:#ffb653;color:#311337;border-color:#ffd98a;box-shadow:none}
.halloween-season #halloweenHero{display:block;position:relative;isolation:isolate;min-height:225px;margin:0 0 20px;overflow:hidden;border:1px solid #b47ad2;border-radius:15px;background:radial-gradient(ellipse at 78% 10%,#9c54b0,#542a7b 45%,#311343 85%);box-shadow:inset 0 -30px 45px #17092555}
#halloweenHero[hidden]{display:none!important}.haunted-sky{position:absolute;inset:0;z-index:-1;pointer-events:none}.hero-moon{position:absolute;right:15%;top:12px;width:155px;height:155px;border-radius:50%;background:#ffdf9b;box-shadow:0 0 65px #ffce8377,inset -15px -4px #efbc77}.hero-castle{position:absolute;bottom:0;width:100%;height:155px}.hero-copy{position:relative;z-index:2;padding:29px 28px;width:61%;box-sizing:border-box}.hero-copy>span{color:#ffe0a1;letter-spacing:3px;font-size:11px;font-weight:bold}#halloweenHero h2{color:#ffbc59;font-size:clamp(25px,3.1vw,37px);line-height:1.1;letter-spacing:1px;margin:12px 0;text-shadow:2px 3px #4a1a43}#halloweenHero p{color:#f1d8ff;font-size:12px;line-height:1.5;margin:0;max-width:310px}.hero-pumpkin{position:absolute;right:13%;bottom:-8px;width:177px;filter:drop-shadow(0 0 18px #ff901b66)}.hero-ghost{position:absolute;right:1%;top:22px;width:130px;filter:drop-shadow(0 0 15px #d6b6ff88);animation:hauntFloat 4s ease-in-out infinite}.hero-bat{position:absolute;right:29%;top:17px;width:65px;rotate:-14deg;animation:hauntFloat 5s ease-in-out infinite}.hero-pumpkin svg,.hero-ghost svg,.hero-bat svg,.halloween-button-art svg{width:100%;height:100%;display:block}.ghost-pupils{transform:translate(var(--eye-x,0px),var(--eye-y,0px));transition:transform .12s ease-out}
.halloween-season #page-home>.eyebrow{color:#ffbd65}.halloween-season #page-home>h2{color:#fff1e2}.halloween-season #page-home>p{color:#decaea}.halloween-season #page-home .start-option{position:relative;overflow:visible;background:linear-gradient(120deg,#54296b,#382050);border:1px solid #b27dd1;border-radius:12px;color:#f8eaff;padding:18px 52px 18px 18px;box-shadow:0 5px 0 #160925, inset 0 1px #e1b2ff33;transition:background .2s,box-shadow .2s}.halloween-season #page-home .start-option.primary{background:linear-gradient(120deg,#a13e24,#77302d);border-color:#ffbd65}.halloween-season #page-home .start-option strong{color:#ffcf84}.halloween-season #page-home .start-option:hover{background:#693c80;border-color:#ffe0a0;box-shadow:0 5px 0 #160925,0 0 20px #c57dff44}.halloween-season #page-home .start-option.primary:hover{background:#ad482b}.halloween-season #page-home .keys{background:#1e102f;color:#dfcdeb;border-color:#ffb653}.halloween-season #customBtn{color:#ffca7d;border-color:#c18bcd}.halloween-season .halloween-button-art{display:block;position:absolute;pointer-events:none;margin:0;z-index:3}.button-spider{width:61px;height:66px;right:-8px;top:-23px;transform-origin:50% 0;animation:spiderSway 5s ease-in-out infinite}.button-ghost{width:54px;height:60px;right:-8px;top:-18px;animation:hauntFloat 4s ease-in-out infinite;animation-delay:-2s}.button-pumpkin{width:57px;height:54px;right:-9px;top:-13px;rotate:12deg}.halloween-season #page-home .start-options{gap:18px;margin-top:23px}.halloween-season #mpBtn{margin-top:6px}
@keyframes hauntFloat{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-9px) rotate(3deg)}}@keyframes spiderSway{0%,100%{transform:rotate(-8deg)}50%{transform:rotate(8deg)}}
@media(max-width:600px){.halloween-season #halloweenHero{min-height:204px;margin-bottom:15px}.hero-copy{padding:22px 14px;width:68%}#halloweenHero h2{font-size:25px}.hero-copy>span{font-size:9px;letter-spacing:1px}#halloweenHero p{font-size:10px;max-width:170px}.hero-ghost{width:79px;right:0;top:17px}.hero-pumpkin{width:110px;right:2%;bottom:-3px}.hero-moon{width:100px;height:100px;right:5%}.hero-bat{width:40px;right:25%;top:10px}.halloween-season #ui .panel{border-radius:10px}.halloween-season #page-home .start-option strong{font-size:17px}}
@media(prefers-reduced-motion:reduce){.hero-ghost,.hero-bat,.button-ghost,.button-spider{animation:none}.ghost-pupils{transition:none}}

/* Compact Halloween home: keep the play actions prominent. */
.halloween-season #ui{--panel:#211c29;--panel2:#2a2233;--line:#594460;--dim:#c3b4cc;background:#120e18}
.halloween-season #ui .panel{background:#211c29;border:1px solid #735379;border-radius:6px;box-shadow:0 8px 40px #0008}
.halloween-season #ui .head{border-color:#57425f;padding:4px 0 8px}
.halloween-season #ui .tab{background:#302638;border-color:#604967;border-radius:3px 3px 0 0}
.halloween-season #halloweenHero{min-height:0;height:100px;margin:0 0 12px;border-color:#71517b;border-radius:4px;background:linear-gradient(100deg,#35233d,#251b32);box-shadow:none}
.hero-copy{padding:13px 16px;width:calc(100% - 150px)}
.hero-copy>span{font-size:9px;letter-spacing:2px;color:#c7b0d0}
#halloweenHero h2{font-size:23px;line-height:1.1;margin:6px 0;letter-spacing:1px;text-shadow:none;white-space:nowrap}
#halloweenHero p{font-size:11px;color:#c7b7cf;margin:0}
.hero-pumpkin{width:78px;right:65px;bottom:6px;filter:none}
.hero-ghost{width:62px;right:12px;top:16px;filter:none}
.hero-moon{width:60px;height:60px;right:58px;top:6px;background:#e7c689;box-shadow:none;opacity:.22}
.hero-castle,.hero-bat{display:none}
.halloween-season #page-home .start-option{background:#302638;border-color:#735880;border-radius:4px;padding:13px 38px 13px 14px;box-shadow:none}
.halloween-season #page-home .start-option.primary{background:#513126;border-color:#d78c49}
.halloween-season #page-home .start-option strong{font-size:18px;color:#ffd399}
.halloween-season #page-home .start-option:hover{background:#3e2f49;box-shadow:none;border-color:#c7a0d4}
.halloween-season #page-home .start-option.primary:hover{background:#633c2b}
.halloween-season #page-home .start-options{gap:12px;margin-top:14px}
.button-spider{width:32px;height:36px;top:-12px;right:5px}
.button-ghost{width:29px;height:32px;top:-10px;right:5px}
.button-pumpkin{width:31px;height:29px;top:-9px;right:5px;rotate:0deg}
#halloweenBanner{min-height:0;padding:7px 10px;background:#302333;border-color:#765642;border-radius:4px;box-shadow:none}
#halloweenBanner b{font-size:12px;letter-spacing:1px;text-shadow:none}
#halloweenBanner span{font-size:10px}
@keyframes hauntFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@media(max-width:600px){.halloween-season #halloweenHero{height:88px;margin-bottom:10px}.hero-copy{padding:12px 10px;width:calc(100% - 88px)}#halloweenHero h2{font-size:clamp(14px,4vw,20px);letter-spacing:0}#halloweenHero p{font-size:9px}.hero-copy>span{font-size:8px;letter-spacing:1px}.hero-pumpkin{width:47px;right:38px;bottom:12px}.hero-ghost{width:37px;right:4px;top:22px}.hero-moon{width:42px;height:42px;right:26px}.halloween-season #ui .panel{border-radius:4px}}
