/* Seasonal overrides are scoped, so disabling the theme restores Madeira. */
html.halloween{color-scheme:dark;--bg:#080808;--panel:#15100c;--line:#573019;--muted:#c2aaa0;--text:#f7eee5;--green:#ff9748;--gold:#ff9748}
.halloween body{background:#080808;color:var(--text)}
.halloween .ambient{background:radial-gradient(ellipse at 50% 12%,#a645141c,transparent 62%)}
.halloween #app,.halloween .masthead,.halloween main.landing{position:relative;z-index:1}
.halloween .panel,.halloween .product,.halloween .location-card,.halloween .link-card{background:linear-gradient(130deg,#20140e,#100e0c);border-color:#713817;box-shadow:0 0 22px #ff751012,inset 0 1px #ffae6320}
.halloween button:hover,.halloween .link-card:hover{border-color:#ff994d;box-shadow:0 0 24px #ff791b30;background:#301a0e}
.halloween button.primary,.halloween .bottom-nav button.active{background:linear-gradient(135deg,#ffb060,#e9691d);border-color:#ff9b49;color:#211007;box-shadow:0 0 20px #ff761b33}
.halloween .bottom-nav{background:#160e09f5;border-color:#87451f;box-shadow:0 0 28px #f5791920,0 10px 40px #000b}
.halloween .brand,.halloween .eyebrow,.halloween .wordmark,.halloween .link-arrow{color:#ff9a50}
.halloween .brand img,.halloween .emblem img{filter:sepia(.3) saturate(1.5)}
.halloween .emblem{border-color:#bd622d;box-shadow:0 0 0 8px #ff7a1610,0 0 60px #ff681c20}
.halloween .ornament span{background:linear-gradient(90deg,transparent,#ff8a4766)}
.halloween .balance-chip,.halloween .wallet,.halloween .copy,.halloween .badge.good{background:#24150d;border-color:#63381e}
.halloween .chat-message{background:#24150d}
.halloween .language-choice.selected{border-color:#804620;color:#ffad6c}
.halloween a:focus-visible,.halloween button:focus-visible{outline-color:#ffad6c}
.hw-atmosphere{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none}
.hw-fog{position:absolute;left:-20%;width:140%;height:46%;bottom:-7%;opacity:.15;background:radial-gradient(ellipse at 20% 60%,#b3a18a77,transparent 55%),radial-gradient(ellipse at 72% 70%,#b07f5677,transparent 55%);animation:hw-fog 28s ease-in-out infinite alternate;will-change:transform}
.hw-fog.second{bottom:22%;opacity:.055;animation-duration:36s;animation-delay:-12s;transform:scaleX(-1)}
.hw-decor{position:fixed;inset:0;z-index:2;pointer-events:none;overflow:hidden}
.hw-web{position:absolute;top:0;width:clamp(90px,15vw,190px);height:auto;color:#aa8970;opacity:.38;pointer-events:none}
.hw-web.left{left:0}.hw-web.right{right:0;transform:scaleX(-1)}
.hw-spider{position:absolute;top:0;right:25px;width:22px;height:155px;opacity:.8;transform-origin:top center;animation:hw-spider 9s ease-in-out infinite alternate}
.hw-hanger{position:absolute;top:0;left:clamp(5px,2vw,30px);width:58px;height:180px;transform-origin:50% 0;transform:rotate(var(--hw-angle,0deg));transition:filter .2s}
.hw-hanger.right{left:auto;right:clamp(48px,7vw,100px);width:42px;height:128px;transform:rotate(calc(var(--hw-angle,0deg) * -.75))}
.hw-pendulum{width:100%;height:100%;transform-origin:50% 0;animation:hw-sway 6.8s ease-in-out infinite alternate}
.hw-hanger.right .hw-pendulum{animation-delay:-3s;animation-duration:8s}
.hw-thread{height:105px;width:1px;margin:auto;background:linear-gradient(#ad8b6380,#e9ab6d80)}
.hw-hanger.right .hw-thread{height:65px}
.hw-pumpkin{display:block;width:100%;height:auto;filter:drop-shadow(0 0 8px #ff721e45)}
.hw-hanger button{display:block;padding:0!important;min-height:0!important;border:0!important;border-radius:50%;background:transparent!important;width:100%;color:inherit;pointer-events:auto;box-shadow:none!important;cursor:pointer;touch-action:manipulation}
.hw-hanger button:focus-visible{outline:2px solid #ffac63;outline-offset:3px}
.hw-hanger button:disabled{opacity:1}
.hw-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.hw-feedback{position:fixed;top:8px;left:50%;transform:translateX(-50%);z-index:30;background:#24170f;border:1px solid #a65c2b;color:#ffe2c7;padding:9px 14px;border-radius:10px;max-width:80vw;font-size:12px;pointer-events:none}
.hw-paused .hw-fog,.hw-paused .hw-pendulum,.hw-paused .hw-spider{animation-play-state:paused}
@keyframes hw-fog{from{transform:translate3d(-4%,0,0)}to{transform:translate3d(5%,-6%,0)}}
@keyframes hw-sway{from{transform:rotate(-3deg)}to{transform:rotate(3deg)}}
@keyframes hw-spider{from{transform:rotate(-2deg) translateY(-5px)}to{transform:rotate(2deg) translateY(8px)}}
@media(max-width:600px){.hw-hanger{width:32px;height:124px;left:2px}.hw-thread{height:82px}.hw-hanger.right{width:28px;right:5px;height:170px}.hw-hanger.right .hw-thread{height:138px}.hw-spider{right:40px;height:100px;width:16px}.hw-web{width:100px;opacity:.28}}
@media(prefers-reduced-motion:reduce){.hw-fog,.hw-pendulum,.hw-spider{animation:none!important}.hw-hanger,.hw-hanger.right{transform:none!important}.hw-fog{will-change:auto}}
/* Reserve a small top strip for hanging decorations on phones. */
@media(max-width:600px){.halloween .shell{padding-top:100px}.halloween .masthead{padding-top:98px}.hw-thread{height:44px}.hw-hanger.right .hw-thread{height:58px}.hw-spider{height:84px}}
/* v50: background lanterns, visible mist, and interactive perched bats. */
.hw-atmosphere{isolation:isolate}
.hw-fog{z-index:1;height:65%;bottom:-13%;opacity:.55;background:radial-gradient(ellipse at 15% 60%,#b9b5ad80,transparent 52%),radial-gradient(ellipse at 65% 70%,#a5a7ab99,transparent 54%),radial-gradient(ellipse at 90% 40%,#bd947666,transparent 42%);animation-duration:20s}
.hw-fog.second{bottom:27%;opacity:.32;height:50%;animation-duration:29s}
.hw-hanger{z-index:0;left:-40px;top:0;width:clamp(190px,27vw,390px);height:auto;opacity:.95;transform:rotate(var(--hw-angle,0deg))}
.hw-hanger.right{left:auto;right:-50px;top:13vh;width:clamp(170px,24vw,350px);height:auto;transform:rotate(calc(var(--hw-angle,0deg) * -.82))}
.hw-pendulum,.hw-hanger.right .hw-pendulum{animation:none;height:auto}
.hw-thread{height:15vh;background:linear-gradient(#ad8b6330,#e9ab6da0)}
.hw-hanger.right .hw-thread{height:29vh}
.hw-pumpkin{filter:drop-shadow(0 8px 16px #0009) drop-shadow(0 0 16px #f66b081a)}
.hw-tilt{position:absolute;top:8px;left:8px;width:36px;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;pointer-events:auto;cursor:pointer}
.hw-bats{position:fixed;inset:0;z-index:5;pointer-events:none;overflow:hidden}
.hw-bat{position:absolute;width:38px;height:24px;pointer-events:none;filter:drop-shadow(0 2px 3px #000a)}
.hw-bat svg{width:100%;height:100%;overflow:visible}
.hw-wing{transform-box:fill-box;transform-origin:right center;transform:scaleX(.52)}
.hw-wing.right{transform-origin:left center}
.hw-bats.flying .hw-bat{animation:hw-flight 1.5s ease-in-out both}
.hw-bats.flying .hw-wing{animation:hw-flap .13s ease-in-out infinite alternate}
.hw-bats.flying .hw-bat:nth-child(2){animation-delay:25ms}.hw-bats.flying .hw-bat:nth-child(3){animation-delay:40ms}
@keyframes hw-flight{0%,100%{transform:translate(0,0) rotate(0);opacity:1}30%{transform:translate(calc(var(--fly-x) * .45),var(--fly-y)) rotate(var(--fly-turn))}65%{transform:translate(var(--fly-x),calc(var(--fly-y) * .65)) rotate(calc(var(--fly-turn) * -1));opacity:.8}}
@keyframes hw-flap{from{transform:scaleX(.25) rotate(-15deg)}to{transform:scaleX(1) rotate(12deg)}}
.hw-paused .hw-bat,.hw-paused .hw-wing{animation-play-state:paused!important}
@media(max-width:600px){.hw-hanger{width:230px;left:-90px;top:3vh}.hw-hanger.right{width:210px;right:-80px;top:22vh}.hw-thread{height:10vh}.hw-hanger.right .hw-thread{height:23vh}.hw-fog{opacity:.5}.hw-fog.second{opacity:.3}.halloween .shell{padding-top:24px}.halloween .masthead{padding-top:28px}.hw-spider{right:8px;height:85px}.hw-bat{width:32px;height:21px}}
@media(prefers-reduced-motion:reduce){.hw-bat,.hw-wing{animation:none!important}.hw-bat{transform:none!important}.hw-tilt{display:none}}

/* v51: independently drifting and swelling mist banks. */
.hw-fog,.hw-fog.second{left:-35%;width:170%;height:60%;bottom:-12%;background:none;opacity:.65;animation:hw-mist-drift 12s ease-in-out infinite alternate;transform:none}
.hw-fog.second{bottom:25%;height:48%;opacity:.38;animation-name:hw-mist-counter;animation-duration:16s;animation-delay:-8s}
.hw-fog i{position:absolute;display:block;inset:0;background:radial-gradient(ellipse at 22% 55%,#bbc2c380 0%,#a6aeb13d 22%,transparent 51%),radial-gradient(ellipse at 64% 72%,#c9c4bb88 0%,#a1a7ad38 26%,transparent 53%);animation:hw-mist-billow 8s ease-in-out infinite alternate;will-change:transform,opacity}
.hw-fog i:nth-child(2){inset:12% -8% -18% 12%;animation-duration:11s;animation-delay:-5s;background:radial-gradient(ellipse at 43% 50%,#c2c8ca88,transparent 52%),radial-gradient(ellipse at 82% 60%,#b7b1a867,transparent 44%)}
.hw-fog i:nth-child(3){inset:-14% 8% 10% -12%;animation-duration:7s;animation-delay:-3s;animation-direction:alternate-reverse;background:radial-gradient(ellipse at 36% 70%,#c4c8c46b,transparent 48%)}
@keyframes hw-mist-drift{from{transform:translate3d(-12%,3%,0)}to{transform:translate3d(12%,-8%,0)}}
@keyframes hw-mist-counter{from{transform:translate3d(13%,-5%,0)}to{transform:translate3d(-13%,9%,0)}}
@keyframes hw-mist-billow{0%{transform:translate3d(-4%,8%,0) scale(1,.8);opacity:.35}50%{opacity:.9}100%{transform:translate3d(7%,-12%,0) scale(1.2,1.25);opacity:.6}}
.hw-wing{transform:scaleX(1)}
.hw-bat{width:46px;height:27px;filter:drop-shadow(0 0 1px #bd9d7559) drop-shadow(0 2px 3px #0008)}
@media(max-width:600px){.hw-bat{width:38px;height:23px}}
.hw-paused .hw-fog i{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.hw-fog,.hw-fog.second,.hw-fog i{animation:none!important;will-change:auto}}
