/* Shared Christmas-marquee theme for the vote and host pages */
:root{--gold:#ffd36b;--gold2:#e9a93a;--red:#ff2a3d;--green:#2bea64;--silver:#dfe7f1;--bronze:#e8955c;--ink:#14040a;font-family:Montserrat,system-ui,sans-serif;color:#fff}
*{box-sizing:border-box}
html{background:var(--ink)}
body{margin:0;min-height:100vh;min-height:100dvh;background:var(--ink);overflow-x:hidden}
[hidden]{display:none!important}
button{font:inherit;cursor:pointer}
.bg{position:fixed;inset:0;background:radial-gradient(ellipse 90% 55% at 50% 30%,#6e0d22 0%,#3a0714 45%,#14040a 100%)}
.bg::after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 40% 70% at 0% 60%,#a3102a33,transparent),radial-gradient(ellipse 40% 70% at 100% 60%,#a3102a33,transparent)}
canvas{position:fixed;inset:0;width:100%;height:100%;pointer-events:none}
#snow{z-index:1}
#confetti{z-index:30}

/* Page frame */
.page{position:relative;z-index:2;max-width:480px;margin:0 auto;min-height:calc(100dvh - 58px);display:flex;flex-direction:column;padding:0 16px}
main{position:relative;z-index:3}
.step{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;padding-bottom:12px;animation:stepIn .45s ease-out}
@keyframes stepIn{from{opacity:0;transform:translateY(14px)}}

/* Garland: pine corners + warm bulbs (drawn by vote.js) */
.garland{position:absolute;left:-16px;right:-16px;top:0;height:150px;pointer-events:none;z-index:1}
.garland svg{position:absolute;top:0;width:150px;height:150px;overflow:visible}
.garland svg.r{right:0;transform:scaleX(-1)}
.garland .bulb{fill:#ffe3a1;filter:url(#glow)}

/* Logo */
.logo{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;padding-top:18px;transition:.3s}
.neon-sweater{width:150px;height:auto;overflow:visible}
.neon-sweater path,.neon-sweater circle{fill:none;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}
.neon-sweater .red path{stroke:#ff5266;filter:drop-shadow(0 0 3px #ff2a3d) drop-shadow(0 0 8px #ff2a3d)}
.neon-sweater .green path{stroke:#4dff88;filter:drop-shadow(0 0 3px #22c55e) drop-shadow(0 0 7px #22c55e)}
.neon-sweater .white path{stroke:#fff;stroke-width:2.2;filter:drop-shadow(0 0 4px #fff)}
.neon-sweater .nose{fill:#ff2a3d;stroke:#ff8a95;filter:drop-shadow(0 0 5px #ff2a3d)}
h1{margin:-6px 0 0;display:flex;flex-direction:column;align-items:center;font-weight:normal;line-height:1}
.bulbtext{position:relative;font-family:Bungee,sans-serif;font-size:min(46px,9.4vw);letter-spacing:.01em;color:transparent;background:linear-gradient(#fff8d6,#ffd36b 45%,#e3961f);-webkit-background-clip:text;background-clip:text;filter:drop-shadow(0 0 6px #ffb300aa) drop-shadow(0 3px 0 #7a3d00);white-space:nowrap}
.bulbtext::after{content:attr(data-text);position:absolute;inset:0;color:transparent;background:radial-gradient(circle,#fffef7 0 1.3px,#fff1a8 2.1px,transparent 3px) 0 0/8px 8px;-webkit-background-clip:text;background-clip:text;animation:bulbs 1.4s steps(1) infinite}
@keyframes bulbs{50%{background-position:4px 4px}}
.script{font-family:Yellowtail,cursive;font-size:62px;color:#fff1f3;margin-top:-14px;transform:rotate(-6deg);text-shadow:0 0 3px #fff,0 0 9px var(--red),0 0 20px var(--red),0 0 42px #ff0022}
.underline{width:62%;height:4px;margin:4px 0 0 20%;border-radius:4px;background:#7dffa6;box-shadow:0 0 6px #22c55e,0 0 16px #22c55e;transform:rotate(-3deg)}
body:not([data-step=welcome]) .neon-sweater{width:110px}
body:not([data-step=welcome]) .bulbtext{font-size:min(38px,8.6vw)}
body:not([data-step=welcome]) .script{font-size:50px}

/* Shared type and parts */
.divider{display:flex;align-items:center;gap:10px;width:100%;margin-top:10px}
.divider span{flex:1;height:2px;background:linear-gradient(90deg,transparent,var(--gold2))}
.divider span:last-child{background:linear-gradient(270deg,transparent,var(--gold2))}
.tree{width:24px;height:30px;fill:none;stroke:var(--gold);stroke-width:1.6;stroke-linejoin:round;filter:drop-shadow(0 0 4px #ffb300)}
.mini-sweater{width:42px;height:34px;fill:none;stroke:var(--gold);stroke-width:1.8;stroke-linejoin:round;filter:drop-shadow(0 0 4px #ffb300)}
.rank-title{margin:0;font-style:italic;font-weight:900;font-size:34px;letter-spacing:-.01em;color:#fff;text-shadow:0 2px 0 #0008,0 0 14px #fff4}
.rank-title em{font-family:Montserrat,sans-serif;font-size:1.5em;line-height:.7;color:transparent;-webkit-text-stroke:2.5px #ff5266;text-shadow:0 0 8px var(--red),0 0 18px var(--red);vertical-align:-.04em}
.points{margin:0;font-weight:800;font-size:min(17px,4.3vw);letter-spacing:.04em;color:var(--gold);white-space:nowrap}
.points i{font-style:normal;color:#fff8;margin:0 6px}
.subtitle{display:flex;align-items:center;gap:10px;font-weight:800;font-size:14px;letter-spacing:.06em;color:var(--gold);margin-top:-6px}
.subtitle .tree{width:18px;height:24px}
.fine{margin:0;font-size:13px;color:#ffffff99}
.notice{margin:0;min-height:20px;font-weight:700;font-size:14px;color:#ffd0d6}
.notice.err{color:#fff;background:#b3122b;padding:8px 12px;border-radius:10px;box-shadow:0 0 14px #ff2a3d88}

/* Neon buttons */
.neon,.outline{width:100%;border-radius:99px;font-style:italic;font-weight:900;letter-spacing:.02em;color:#fff;transition:transform .15s,opacity .2s}
.neon{padding:16px 22px;font-size:24px;border:3px solid;background:#1a050b;display:flex;align-items:center;justify-content:center;gap:12px}
.neon:active,.outline:active{transform:scale(.97)}
.neon.red{border-color:#ff4a5c;text-shadow:0 0 10px #ff2a3d;box-shadow:0 0 8px #ff2a3d,0 0 24px #ff2a3daa,inset 0 0 14px #ff2a3d88}
.neon.green{border-color:#5dff8f;background:#06200f;text-shadow:0 0 10px #22c55e;box-shadow:0 0 8px #22c55e,0 0 24px #22c55eaa,inset 0 0 14px #22c55e88;font-size:min(21px,5.2vw);white-space:nowrap}
.neon.big{font-size:40px;padding:14px 22px;margin-top:14px;animation:glowPulse 1.6s ease-in-out infinite alternate}
@keyframes glowPulse{to{box-shadow:0 0 12px #ff2a3d,0 0 40px #ff2a3d,inset 0 0 18px #ff2a3d}}
.neon:disabled{opacity:.35;animation:none;cursor:not-allowed}
.neon .tap{font-style:normal;font-size:.7em;transform:rotate(-20deg)}
.neon .check{display:grid;place-items:center;width:1.3em;height:1.3em;border:2.5px solid #fff;border-radius:50%;font-style:normal;font-size:.8em}
.outline{padding:13px 20px;font-size:16px;font-style:normal;font-weight:800;background:#0006;border:2px solid var(--gold2);box-shadow:0 0 12px #ffb30044}
.text-link{background:none;border:0;color:#ffffffaa;font-size:14px;text-decoration:underline;margin-top:6px}
.closed-note{margin:10px 0 0;font-style:italic;font-weight:900;font-size:28px;color:#fff;text-shadow:0 0 10px var(--red)}
.closed-note span{font-size:16px;font-weight:700;font-style:normal;color:var(--gold);text-shadow:none}

