/* Cinematic Halloween theme. All numbers and QR modules are real DOM content. */
.voter-shell[data-theme="halloween-cinematic"] .voter-backdrop{background:linear-gradient(#100819b3,#100819e8),url('/assets/halloween-2026/background.webp') center/cover no-repeat}.voter-shell[data-theme="halloween-cinematic"] .person-card{border-color:#ff9b3540;box-shadow:0 0 20px #0005}.voter-shell[data-theme="halloween-cinematic"] .person-card>img{object-position:50% 25%}
#stage.haunted-stage{height:100svh;min-height:650px;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:clamp(8px,1.4vh,20px);padding:20px 4vw 14px;background:#120b1a;color:#fff6e9;isolation:isolate;overflow:hidden}
.haunted-background{position:absolute;inset:0;z-index:-3;background:linear-gradient(#08051118,#11041608 40%,#0c07132e),url('/assets/halloween-2026/background.webp') center/cover no-repeat}
.haunted-fog{position:absolute;bottom:-10%;left:-15%;width:130%;height:35%;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 25% 75%,#9a61d857,transparent 52%),radial-gradient(ellipse at 80% 70%,#c56ee83b,transparent 57%);filter:blur(20px)}
.effects-on .haunted-fog{animation:haunted-fog 20s ease-in-out infinite alternate}
.haunted-topline{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#e4c7eb;font-size:clamp(10px,.8vw,16px);text-shadow:0 2px 4px #000;min-height:28px}
.haunted-topline>div{display:flex;align-items:center;gap:14px}.haunted-topline img{width:32px;height:32px;object-fit:contain}.haunted-topline b{margin:0 9px;color:#ed9659}.haunted-topline #stage-connection{font-size:9px;letter-spacing:1.5px;color:#dbbfdb}.haunted-topline .stage-fullscreen{background:#170b1baa;border-color:#eeae6c55;color:#ffd6ac;padding:5px}
.haunted-heading{display:grid;grid-template-columns:clamp(145px,13vw,250px) minmax(0,1fr) clamp(170px,17vw,325px);gap:3vw;align-items:center;padding:0 0 1vh;min-height:0}
.haunted-title{text-align:center;filter:drop-shadow(0 4px 4px #000)}
.haunted-season{font-family:Impact,'Arial Black',sans-serif;font-weight:900;font-size:clamp(40px,6.5vw,122px);line-height:.97;letter-spacing:3px;transform:rotate(-3deg) skew(-5deg);color:#ffae48;background:linear-gradient(#ffe3a2 4%,#ff9a24 32%,#ff6516 75%,#b52d0a);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(2px 3px 0 #591100) drop-shadow(0 0 17px #ef510a55)}
.haunted-title h1{font-family:Impact,'Arial Narrow','Arial Black',sans-serif;text-transform:uppercase;font-style:italic;font-size:clamp(25px,3.45vw,66px);line-height:1.05;font-weight:850;letter-spacing:1px;color:#fff9f0;margin:16px 0 20px;overflow-wrap:anywhere;text-shadow:3px 4px 0 #3d122c}
.haunted-ribbon{display:inline-block;padding:9px 33px 10px;background:linear-gradient(100deg,#dd3b12,#ff6330 45%,#d02b16);clip-path:polygon(2% 6%,96% 0,100% 92%,5% 100%,0 27%);font-family:Impact,'Arial Black',sans-serif;font-weight:800;font-style:italic;font-size:clamp(16px,1.85vw,34px);letter-spacing:2px;color:#1c0b13;transform:rotate(-2deg)}
.haunted-ribbon.status-paused{background:#eaaa36}.haunted-ribbon.status-closed{background:#d6a276}.haunted-ribbon.status-not_started{font-size:clamp(13px,1.6vw,28px);background:linear-gradient(100deg,#da661f,#ffab49,#d96622)}
.haunted-plaque{position:relative;text-align:center;border:3px solid #894322;border-radius:8px;background:repeating-linear-gradient(176deg,#34190ff7 0,#211111f2 3px,#25110ef7 5px,#341710ed 39px);box-shadow:inset 0 0 0 3px #201019,inset 0 0 24px #000,0 0 0 1px #d68b4288,0 10px 25px #000a;color:#fff0dd;padding:16px}
.haunted-plaque:before,.haunted-plaque:after{content:'';position:absolute;width:6px;height:6px;background:#f4b26b;border:2px solid #381808;border-radius:50%;box-shadow:0 0 3px #e67d36;top:7px}.haunted-plaque:before{left:7px}.haunted-plaque:after{right:7px}
.haunted-qr{width:100%;max-width:235px;justify-self:center;transform:rotate(-3deg);padding:12px 16px 15px}
.haunted-qr>strong{display:block;font-family:Impact,'Arial Black',sans-serif;font-style:italic;font-size:clamp(19px,2vw,36px);line-height:1;color:#ffb441;text-shadow:0 0 15px #f56d1688;letter-spacing:1px}.haunted-qr>span{display:block;font-size:clamp(13px,1.3vw,24px);font-weight:800;margin:4px 0 9px}.haunted-qr .qr-code{width:100%;border-radius:2px;padding:0;border:0;transform:rotate(3deg);max-width:175px;margin:auto}
.haunted-qr.qr-off{transform:none;display:grid;gap:10px;place-items:center;min-height:160px}
.haunted-timer{transform:rotate(2deg);align-self:center;padding:14px 12px;display:flex;flex-direction:column;align-items:center;gap:8px}.haunted-timer>svg{width:clamp(22px,2.7vw,46px);height:auto}.haunted-timer>span{font-weight:750;font-size:clamp(10px,1.15vw,22px);line-height:1.2;letter-spacing:.5px}.haunted-timer>strong{font-family:'Arial Narrow',Impact,sans-serif;font-size:clamp(35px,5vw,90px);font-weight:800;letter-spacing:4px;line-height:1.05;color:#ffd268;text-shadow:0 0 10px #ff680c,0 0 30px #f4441599;font-variant-numeric:tabular-nums}
.haunted-contestants{display:grid;grid-template-columns:repeat(var(--card-count),minmax(0,1fr));gap:clamp(14px,1.6vw,32px);width:min(100%,1550px);min-height:0;margin:0 auto;padding:1vh 0;align-items:stretch}
.haunted-card{position:relative;border:2px solid var(--card-glow);border-radius:8px;overflow:hidden;background:#160b20;box-shadow:0 0 0 4px #2e1b1b,0 0 0 6px color-mix(in srgb,var(--card-glow) 22%,#1c0a1e),0 0 22px color-mix(in srgb,var(--card-glow) 40%,transparent),inset 0 0 25px #000;min-width:0;min-height:0}
.haunted-card>img,.haunted-card>.photo-placeholder{width:100%;height:100%;object-fit:cover;object-position:50% 28%;display:block;margin:0}.haunted-card>.photo-placeholder{color:var(--card-glow);background:linear-gradient(145deg,#352044,#150a22)}
.haunted-card:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(#0003,transparent 20%,transparent 45%,#0d071877 65%,#0c0414fa 100%);box-shadow:inset 0 0 18px #0008}
.haunted-number{position:absolute;left:20px;top:14px;z-index:1;font-family:Impact,'Arial Black',sans-serif;font-style:italic;font-size:clamp(23px,2.5vw,47px);font-weight:800;color:#fff1d2;text-shadow:0 0 7px var(--card-glow),2px 3px 1px #321226}
.haunted-card-caption{position:absolute;bottom:0;left:0;right:0;z-index:2;padding:15px clamp(12px,1vw,22px) 14px;text-align:center}
.haunted-card-caption h2{font-family:Impact,'Arial Narrow',sans-serif;text-transform:uppercase;font-weight:850;font-style:italic;font-size:clamp(24px,2.8vw,52px);letter-spacing:1px;line-height:1.05;margin:0 0 12px;color:#fff2dd;text-shadow:0 0 12px var(--card-glow),2px 3px 0 #581a13;overflow-wrap:anywhere}
.haunted-meter{height:clamp(13px,2.2vh,25px);border:2px solid #d5bcab77;border-radius:20px;background:#08040ddb;overflow:hidden;box-shadow:0 0 10px #000a,inset 0 2px 4px #000}.haunted-meter i{display:block;height:100%;border-radius:15px;background:linear-gradient(0deg,var(--card-glow),color-mix(in srgb,var(--card-glow) 50%,white));box-shadow:0 0 15px var(--card-glow);transition:width .8s ease}
.haunted-vote-count{font-weight:750;font-size:clamp(10px,1vw,19px);letter-spacing:1px;display:flex;justify-content:space-between;color:#fff0da;margin-top:9px}.haunted-vote-count>span{color:var(--card-glow)}.haunted-sealed{font-size:clamp(9px,.8vw,15px);letter-spacing:2px;color:#dbc7da;border-top:1px solid #ffffff30;padding-top:10px}
.haunted-bottom{text-align:center;min-height:0}.haunted-total{display:inline-flex;justify-content:center;gap:32px;align-items:center;padding:9px 42px 10px;background:linear-gradient(178deg,#381e13f2,#170b10f5);border:2px solid #a8552c;border-radius:7px;box-shadow:inset 0 0 0 3px #24121a,0 0 0 1px #ffaf6366,0 4px 24px #050108;transform:rotate(-1deg);margin:4px 0 12px}
.haunted-total>span{font-family:Impact,'Arial Narrow',sans-serif;font-weight:750;font-style:italic;font-size:clamp(18px,2vw,36px);letter-spacing:1px;color:#ffb25c}.haunted-total>strong{font-family:Impact,'Arial Black',sans-serif;font-style:italic;font-size:clamp(31px,4vw,66px);line-height:1;letter-spacing:3px;color:#fff3d4;text-shadow:0 0 10px #ff6a24,0 0 24px #ea541866;font-variant-numeric:tabular-nums}
.haunted-bottom footer{display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:clamp(7px,.7vw,12px);letter-spacing:1px;text-shadow:0 1px 4px black;color:#c7a6c6}.haunted-bottom footer>span:last-child{font-size:17px;font-weight:650;letter-spacing:-.5px;color:#e1c4d7}.haunted-embers{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}.haunted-embers i{position:absolute;left:calc(var(--i)*5.7%);top:100%;width:3px;height:3px;background:#ffac47;border-radius:50%;box-shadow:0 0 10px #ff6924;opacity:0}.effects-on .haunted-embers i{animation:haunted-ember calc(8s + var(--i)*.5s) linear infinite;animation-delay:calc(var(--i)*-1.6s)}
.haunted-contestants.haunted-revealing{display:flex;justify-content:center;align-items:center;gap:30px}.haunted-winner{display:flex;align-items:center;flex-direction:column;min-width:0;max-width:360px;height:100%;flex:1}.haunted-winner-label{font-family:Impact,sans-serif;font-size:clamp(20px,2vw,38px);letter-spacing:3px;color:#ffd482;margin-bottom:12px;text-shadow:0 0 16px #ff852e}.haunted-winner-photo{height:70%;min-height:90px;aspect-ratio:3/4;max-width:100%;border:3px solid #ffa634;border-radius:10px;overflow:hidden;box-shadow:0 0 42px #fd932a99}.haunted-winner-photo>img,.haunted-winner-photo>.photo-placeholder{width:100%;height:100%;object-fit:cover;object-position:50% 20%}.haunted-winner h2{font-family:Impact,sans-serif;font-size:clamp(26px,3vw,50px);font-style:italic;text-transform:uppercase;letter-spacing:3px;margin:12px 0 5px;color:#ffdfaa;text-shadow:0 0 20px #f88426}.haunted-winner p{font-size:10px;letter-spacing:2px;color:#e4cfdf}.effects-on .haunted-winner{animation:reveal .9s ease-out both}.haunted-places{display:flex;gap:20px;justify-content:center;flex-wrap:wrap;font-size:12px;color:#fff0ce;margin-bottom:8px}.haunted-no-place{grid-column:1/-1;text-align:center;background:#160b20c9;border:1px solid #ef974447;border-radius:10px;padding:30px;color:#fbe4c1;max-width:750px;margin:auto}.haunted-no-place>span{font-size:48px;color:#ffbc57}.haunted-no-place h2{font-size:28px;margin:10px 0}.haunted-no-place p{font-size:14px;color:#d1b8dc}.celebration .haunted-embers i{width:6px;height:10px;border-radius:0;background:#ffdf93;animation-duration:4s;opacity:.8}
@keyframes haunted-fog{to{transform:translate(4%,-5%) scale(1.1)}}@keyframes haunted-ember{0%{transform:translate(0,0);opacity:0}15%,80%{opacity:.7}100%{transform:translate(65px,-110vh) rotate(170deg);opacity:0}}
@media(max-width:1100px) and (min-width:701px){#stage.haunted-stage{padding:16px 3vw 10px;min-height:580px;gap:9px}.haunted-heading{gap:2vw}.haunted-qr{padding:10px}.haunted-title h1{margin:12px 0}.haunted-timer{padding:13px 8px}.haunted-contestants{gap:16px}.haunted-card-caption{padding:10px}.haunted-number{left:12px;top:11px}.haunted-total{padding:8px 30px;gap:20px}}
@media(max-width:700px){#stage.haunted-stage{height:auto;min-height:100svh;padding:15px;gap:20px;overflow:visible}.haunted-topline{font-size:9px;gap:8px}.haunted-topline #stage-connection{font-size:6px;letter-spacing:.3px}.haunted-topline>div{gap:6px}.haunted-topline b{margin:0 3px}.haunted-heading{grid-template-columns:1fr 1fr;gap:20px 16px}.haunted-title{grid-column:1/-1;grid-row:1}.haunted-season{font-size:clamp(48px,13vw,78px)}.haunted-title h1{font-size:clamp(25px,7vw,45px);margin:15px 0}.haunted-ribbon{font-size:21px}.haunted-ribbon.status-not_started{font-size:17px}.haunted-qr{width:140px;justify-self:center;padding:10px}.haunted-qr>strong{font-size:23px}.haunted-qr>span{font-size:14px}.haunted-qr .qr-code{width:95px}.haunted-timer{width:100%;padding:18px 8px}.haunted-timer>span{font-size:11px}.haunted-timer>strong{font-size:40px;letter-spacing:1px}.haunted-contestants{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px;padding:0 3px}.haunted-card{height:320px}.haunted-card-caption h2{font-size:30px}.haunted-vote-count{font-size:10px}.haunted-number{font-size:28px;left:12px;top:12px}.haunted-card-caption{padding:12px}.haunted-total{padding:12px 27px;gap:24px}.haunted-total>span{font-size:23px}.haunted-total>strong{font-size:45px}.haunted-bottom footer{flex-wrap:wrap;justify-content:center;font-size:7px;line-height:1.8;gap:5px 14px}.haunted-bottom footer>span:last-child{font-size:13px}.haunted-winner{height:auto}.haunted-winner-photo{height:280px}.haunted-contestants.haunted-revealing{flex-wrap:wrap}.haunted-winner-label{font-size:23px}.haunted-winner h2{font-size:35px}.haunted-no-place{padding:25px 15px}.haunted-no-place h2{font-size:22px}}
@media(max-width:700px){#stage.haunted-stage{overflow:hidden}}
@media(prefers-reduced-motion:reduce){.haunted-stage *{animation:none!important;transition:none!important}}
