/* Optional seasonal layer: saved personal themes are never overwritten. */
html[data-halloween="on"] {
 --accent:#f39a45;--accent-hover:#ffb96f;--accent-ink:#271105;
 --accent-rgb:243,154,69;--accent-top:#ffd5a8;--accent-soft:#ffca94;
 --bg:#0d090f;--panel:rgba(23,15,25,.8);--panel-solid:#18101b;--panel-2:#221628;
}
html[data-halloween="on"] .page-backdrop {
 background:radial-gradient(ellipse at 15% 10%,#54271866,transparent 55%),radial-gradient(ellipse at 90% 50%,#41265f55,transparent 65%),#0d090f;
}
html[data-halloween="on"] :is(.page-backdrop,.hero,.features,.cabinet-view,.wallet-overview,.profile-wallet-card,.cabinet-sidebar-subscription)::before,
html[data-halloween="on"] :is(.page-backdrop,.feature-grid article)::after { animation:none; }
html[data-halloween="on"] :is(.feature-grid article,.tariff-face,.cabinet-sidebar-subscription) {
 border-color:#f39a4536;background-color:#171019;
}
html[data-halloween="on"] .feature-grid article:hover { border-color:#ffb46877;box-shadow:0 14px 44px #0006,inset 0 1px #ffc18120; }
.halloween-embers { position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:1;opacity:.65; }
.halloween-controls { position:fixed;right:20px;bottom:max(18px,env(safe-area-inset-bottom));z-index:90; }
.halloween-toggle { min-height:42px;padding:10px 14px;border:1px solid #f39a4550;border-radius:14px;background:#1c1222ed;color:#ffd5ad;backdrop-filter:blur(12px);cursor:pointer;font-size:11px; }
.halloween-label { margin-bottom:18px;color:#ffc58e;font-size:11px;letter-spacing:.12em; }
.halloween-art { position:absolute!important;right:8px;top:4px;width:48px;height:48px;background-image:url('./graffiti-halloween-2026.png');background-size:400% 400%;background-position:8.333333% 10.416667%;pointer-events:none;z-index:3;opacity:.84;transition:transform .6s ease; }
.halloween-decorated:is(:hover,:focus-within)>.halloween-art { transform:translateY(-3px) rotate(-5deg); }
.halloween-art--bat { width:62px;background-size:376.4706% 376.4706%;background-position:7.978723% 51.06383%; }
.halloween-decorated:not(.tariff-face) { position:relative; }
html[data-halloween="off"] :is(.halloween-embers,.halloween-label,.halloween-art){display:none}
.nickname-style--halloween { color:#ffbd72;background:linear-gradient(100deg,#ff9146,#ffcf89,#b897ff,#ff9146);background-size:250% 100%;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:halloween-shimmer 6s ease-in-out infinite alternate; }
@keyframes halloween-shimmer { from{background-position:0 50%}to{background-position:100% 50%} }
@media(max-width:600px){.halloween-controls{right:12px;bottom:12px}.halloween-embers{opacity:.4}.halloween-art{width:34px;height:34px}.halloween-art--bat{width:44px}}
@media(prefers-reduced-motion:reduce){.halloween-art{transition:none}.nickname-style--halloween{animation:none}}
.nav-shell { position:relative; }
.halloween-hanging-bat { position:absolute;top:-8px;width:38px;height:25px;padding:0;border:0;background:none;color:inherit;cursor:pointer;transform:rotate(180deg);transform-origin:center 8px;transition:opacity .35s ease,filter .35s ease;z-index:4; }
.halloween-hanging-bat:focus-visible { outline:1px solid #ffba72;outline-offset:4px;border-radius:8px; }
.halloween-hanging-bat.is-away { opacity:0;pointer-events:none; }
.halloween-hanging-bat.is-curious { filter:drop-shadow(0 0 6px #ffad59); }
.halloween-flight-plane { position:fixed;inset:0;z-index:110;pointer-events:none;perspective:650px;overflow:hidden; }
.halloween-flying-bat { position:absolute;left:0;top:0;width:56px;height:42px;pointer-events:none;will-change:transform,opacity; }
:is(.halloween-hanging-bat,.halloween-flying-bat)>.bat-wing,
:is(.halloween-hanging-bat,.halloween-flying-bat)>.bat-body { position:absolute;inset:0;background-image:url('./graffiti-halloween-2026.png');background-size:376.4706% 376.4706%;background-position:7.978723% 51.06383%;background-repeat:no-repeat; }
.bat-wing--left { clip-path:polygon(0 0,49% 0,49% 100%,0 100%);transform-origin:48% 50%; }
.bat-wing--right { clip-path:polygon(51% 0,100% 0,100% 100%,51% 100%);transform-origin:52% 50%; }
.bat-body { clip-path:polygon(41% 0,59% 0,59% 100%,41% 100%); }
.halloween-hanging-bat>.bat-wing { transform:scaleX(.62); }
.halloween-flying-bat>.bat-wing { animation:halloween-wingbeat .23s ease-in-out infinite alternate; }
.halloween-flying-bat>.bat-wing--right { animation-delay:-.035s; }
@keyframes halloween-wingbeat { from{transform:scaleX(.38) skewY(-13deg)}to{transform:scaleX(1) skewY(9deg)} }
html[data-halloween="off"] :is(.halloween-hanging-bat,.halloween-flight-plane) { display:none; }
@media(max-width:600px){.halloween-hanging-bat{width:29px;height:22px;top:-8px}.halloween-hanging-bat:nth-last-child(1){display:none}}
@media(prefers-reduced-motion:reduce){.halloween-flying-bat>.bat-wing{animation:none}.halloween-hanging-bat{transition:none}}
