:root{color-scheme:dark;--bg:#060d1e;--card:#0d1730;--ink:#f2f7ff;--muted:#97aac7;--line:#263755;--cyan:#16d1ed}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang TC",sans-serif;font-size:14px}button,a,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.35;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--cyan);outline-offset:4px}header{height:94px;padding:0 5vw;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.brand{font-size:40px;font-weight:900;font-style:italic;letter-spacing:-2px;color:white;text-decoration:none}.brand span{display:inline-block;vertical-align:middle;font-size:10px;letter-spacing:2px;font-style:normal;font-weight:500;margin-left:28px}.top-right{display:flex;align-items:center;gap:20px}.status{font-size:12px;color:var(--muted)}.status:before{content:'';display:inline-block;width:7px;height:7px;border-radius:100%;background:#65738b;margin-right:8px}.status.on:before{background:var(--cyan)}main{max-width:1460px;margin:auto;padding:42px 5vw}.event{margin-bottom:32px}.eyebrow,.section-label{font-size:10px;letter-spacing:2px;color:var(--cyan);font-weight:700}h1{font-size:clamp(35px,4vw,60px);line-height:1.1;font-weight:650;letter-spacing:-2px;margin:16px 0}.event p{color:var(--muted);font-size:14px}h2{font-weight:600;font-size:20px;margin:12px 0}.workspace{display:grid;grid-template-columns:340px minmax(0,1fr);gap:24px}.control{padding:28px;background:var(--card);border:1px solid var(--line);border-radius:16px}.muted,.fine{color:var(--muted);line-height:1.6}.fine{font-size:11px;margin:10px 0}.divider{height:1px;background:var(--line);margin:23px 0}.count{display:flex;gap:15px;align-items:center;margin-top:15px}.count strong{font-size:54px;letter-spacing:-2px;line-height:1}.count span{font-size:12px;color:var(--muted);max-width:80px;line-height:1.7}.fresh{font-size:11px;color:var(--muted)}.actions{display:flex;gap:8px;flex-wrap:wrap}.quiet,.outline,.primary{border-radius:7px;padding:11px 14px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:10px}.quiet{border:1px solid var(--line);background:transparent;color:var(--ink)}.outline{border:1px solid #40818e;background:#0b2533;color:#aff2ff;font-size:12px}.primary{border:0;background:var(--cyan);color:#03121d;font-weight:750;width:100%;justify-content:space-between;padding:16px;margin-top:15px;font-size:16px}.text-button{border:0;color:var(--muted);background:transparent;font-size:12px;padding:8px 0;text-decoration:underline;text-underline-offset:4px}label{display:block;margin:14px 0 9px;color:var(--muted);font-size:12px}input{border:1px solid var(--line);border-radius:7px;padding:13px;background:#081226;color:var(--ink);width:100%}.stage-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:radial-gradient(ellipse at 55% 48%,#103655 0%,#0c1931 43%,#0a1327 80%);position:relative;display:flex;flex-direction:column;min-height:630px}.stage-heading,.stage-footer{padding:24px 28px;display:flex;justify-content:space-between;font-size:10px;letter-spacing:1.8px;color:var(--muted);position:relative;z-index:1}.stage-heading{border-bottom:1px solid #243c5370}.stage-inner{position:relative;min-height:470px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px;isolation:isolate;overflow:hidden}.orbit{width:360px;height:360px;position:absolute;border-radius:50%;border:1px solid #2c72864a;z-index:-1;transform:rotate(-30deg);box-shadow:0 0 60px #009ec509}.orbit-two{width:460px;height:460px;border-style:dashed;border-color:#31436350}.stage-inner .eyebrow{letter-spacing:3px}#winner-number{font-size:clamp(60px,7vw,110px);font-weight:850;letter-spacing:-5px;margin:25px 0 12px;color:var(--cyan);text-shadow:0 0 50px #0ac4ef33}#winner-name{font-size:clamp(21px,2.8vw,37px);letter-spacing:-.7px;margin:6px 0;max-width:100%;overflow-wrap:anywhere}#stage-hint{font-size:12px;color:var(--muted);line-height:1.8}.stage-footer{border-top:1px solid #243c5370;letter-spacing:.5px;font-size:9px}.stage-footer b{color:white;font-size:12px;margin-left:5px}.winner-controls{margin-top:15px}.history{margin-top:32px;padding:25px 0;border-bottom:1px solid var(--line)}.history-heading{display:flex;align-items:center;justify-content:space-between}.history-heading h2{margin:9px 0}.winner-row{display:grid;grid-template-columns:70px 1fr 1fr auto;gap:20px;border-top:1px solid var(--line);padding:18px 0;align-items:center}.winner-row .number{color:var(--cyan);font-weight:750}.winner-row small{color:var(--muted)}footer{display:flex;justify-content:space-between;color:#8194b2;font-size:10px;padding:25px 0;line-height:1.7;gap:20px}.notice{padding:14px 18px;margin:0 0 24px;border:1px solid #ad913c;background:#30281b;color:#f8e0a2;border-radius:8px;line-height:1.7}.notice.demo{border-color:#9571cd;background:#261c3b;color:#e1c7ff}.spinning #winner-number{animation:pulse .15s infinite alternate}@keyframes pulse{from{opacity:.7;transform:scale(.98)}to{opacity:1;transform:scale(1.02)}}body.stage-mode header,body.stage-mode .event,body.stage-mode .control,body.stage-mode .history,body.stage-mode main>footer{display:none}body.stage-mode main{max-width:none;padding:25px}body.stage-mode .workspace{display:block}body.stage-mode .stage-card{height:calc(100vh - 80px)}body.stage-mode #winner-number{font-size:17vh}#exit-stage{position:fixed;bottom:10px;right:25px;font-size:11px}body.stage-mode .winner-controls{display:none}[hidden]{display:none!important}@media(max-width:900px){.workspace{grid-template-columns:1fr}.stage-card{grid-row:1;min-height:420px}.stage-inner{min-height:340px}.brand span{display:none}header{height:75px}.control{padding:22px}.top-right{gap:12px}.winner-row{grid-template-columns:60px 1fr}.winner-row small{grid-column:2}footer{flex-direction:column}.orbit{width:290px;height:290px}.orbit-two{width:370px;height:370px}}
select{font:inherit;color:var(--ink);background:#081226;border:1px solid var(--line);border-radius:7px;padding:12px;width:100%}.url-row{display:flex;gap:7px}.url-row input{min-width:0}.brand{font-size:30px;letter-spacing:-1.5px}.event h1{overflow-wrap:anywhere}.workspace{grid-template-columns:360px minmax(0,1fr)}.stage-inner{min-height:570px}#stage-controls{position:fixed;bottom:12px;right:22px;display:flex;gap:12px;z-index:10;align-items:center}#stage-controls .primary{width:auto;margin:0;font-size:12px;padding:10px 16px}#stage-controls #exit-stage{position:static}.batch-winners{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));width:100%;gap:14px;max-height:58vh;overflow-y:auto;padding:12px 0}.batch-winner{background:#112948d9;border:1px solid #2b566b;border-radius:12px;padding:20px 12px;display:flex;flex-direction:column;gap:10px;min-width:0}.batch-winner span{color:var(--cyan);font-size:30px;font-weight:800}.batch-winner strong{font-size:17px;overflow-wrap:anywhere}.stage-mode .batch-winners{max-height:65vh;grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.stage-mode .batch-winner{padding:30px 20px}.stage-mode .batch-winner span{font-size:46px}.stage-mode .batch-winner strong{font-size:24px}.guest-row{display:grid;grid-template-columns:60px 1fr 1.5fr;gap:20px;padding:14px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}.guest-row span:last-child{color:var(--muted)}body.stage-mode #guest-section{display:none!important}body.stage-mode .stage-card{height:calc(100dvh - 80px)}@media(max-width:900px){.workspace{grid-template-columns:1fr}.stage-card{grid-row:auto}.brand{font-size:25px}.top-right{gap:8px}.top-right button{font-size:11px}.stage-inner{min-height:400px}.guest-row{grid-template-columns:50px 1fr}.guest-row span:last-child{grid-column:2}.batch-winners{grid-template-columns:repeat(2,minmax(0,1fr))}.stage-mode .batch-winners{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.stage-mode .batch-winner span{font-size:30px}.stage-mode .batch-winner strong{font-size:18px}body.stage-mode main{padding:10px}body.stage-mode .stage-card{height:calc(100dvh - 70px)}.stage-heading,.stage-footer{padding:18px 14px}.stage-inner{padding:24px 16px}}
.url-row button{flex:0 0 auto;white-space:nowrap}body.stage-mode #notice.demo{display:none!important}body.stage-mode .stage-card{min-height:0}body.stage-mode .stage-inner{min-height:0;overflow-y:auto;padding:20px}body.stage-mode .batch-winners{flex-shrink:0}@media(max-width:900px){.winner-row>span:nth-child(3){grid-column:2}.winner-row>div:last-child{grid-column:2;display:flex;gap:12px;align-items:center}.winner-row>div:last-child button{white-space:nowrap}}@media(max-height:500px){body.stage-mode .stage-inner{padding:10px 18px}body.stage-mode .stage-heading,body.stage-mode .stage-footer{padding:12px 18px}body.stage-mode .batch-winner{padding:12px}body.stage-mode .batch-winner span{font-size:28px}body.stage-mode .batch-winner strong{font-size:18px}body.stage-mode .batch-winners{padding:4px 0;max-height:48vh}body.stage-mode #stage-hint{margin:8px 0}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#language{width:auto;max-width:145px;font-size:12px;padding:9px 28px 9px 10px;margin:0}button,select,input,a{font-family:inherit}header .brand{flex-shrink:0}.top-right{flex-wrap:wrap;justify-content:flex-end}#event-period{font-size:12px}.stage-footer{gap:16px}.stage-footer span:last-child{text-align:right}body:lang(th){line-height:1.65}body:lang(th) .eyebrow,body:lang(th) .section-label{letter-spacing:.5px}@media(max-width:700px){header{height:auto;min-height:94px;padding:14px 5vw;align-items:center;gap:12px}.top-right{gap:7px;max-width:235px}.top-right .status{font-size:10px}.top-right button{padding:8px;font-size:10px}#language{font-size:11px;max-width:125px;padding:7px 20px 7px 8px}.brand{font-size:23px}.count span{max-width:135px}.history-heading{gap:10px}.history-heading a{font-size:11px}.stage-footer{flex-wrap:wrap}.stage-footer span:last-child{text-align:left}}
body.stage-mode #winner-number{font-size:clamp(48px,min(17vh,20vw),180px);max-width:100%;white-space:nowrap}
.winner-email{font-family:inherit;font-size:13px;color:#b6c7e0;line-height:1.6;overflow-wrap:anywhere;word-break:break-word;max-width:100%;letter-spacing:0;font-weight:400;margin:4px 0}.projection-email{display:none}.winner-identity{display:flex;flex-direction:column;gap:3px;min-width:0}.winner-identity .winner-email{font-size:12px}.batch-winner .winner-email{font-size:12px;color:#b6c7e0;line-height:1.5;font-weight:400;margin:0}.batch-winner{gap:8px}body.stage-mode .admin-email{display:none!important}body.stage-mode .projection-email{display:block}body.stage-mode #winner-email-stage{font-size:clamp(15px,2.5vw,28px)}body.stage-mode .batch-winner .winner-email{font-size:clamp(12px,1.3vw,20px)}#stage-email-toggle[aria-pressed=true]{border-color:#16d1ed;color:#aff2ff}@media(max-width:900px){.winner-identity{grid-column:2}.batch-winner .winner-email{font-size:11px}body.stage-mode .batch-winner .winner-email{font-size:12px}}
.draw-projection{width:100%;margin-top:14px;padding:13px;justify-content:center;color:#aff2ff;border-color:#40818e}
