@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@500;600;700;800&display=swap');
:root{--ink:#101827;--muted:#778195;--blue:#1e3a8a;--gold:#efc65b;--paper:#f4f6fa;--line:#e3e7ee}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif}button,input,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}.login-wrap{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at 70% 10%,#344f82,#111827 70%);padding:20px}.login-card{width:min(420px,100%);background:white;padding:42px;border-radius:22px;box-shadow:0 26px 75px #0004}.brand-mark{height:52px;width:52px;border-radius:15px;background:var(--blue);color:var(--gold);display:grid;place-items:center;font:800 28px Manrope;margin-bottom:28px;border:1px solid #efc65b55}.brand-mark.small{width:42px;height:42px;margin:0;border-radius:12px;font-size:22px}.eyebrow{font-weight:800;letter-spacing:.14em;font-size:11px;color:#ad811f}.login-card h1,.section-head h1{font:800 32px Manrope;margin:5px 0 8px}.muted{color:var(--muted);line-height:1.55;margin:0 0 24px}label{display:block;font-weight:700;font-size:13px;margin:18px 0 8px}input,textarea{display:block;width:100%;border:1px solid #d9deea;background:#fff;border-radius:10px;padding:13px 14px;margin-top:8px;outline:0;color:var(--ink)}input:focus,textarea:focus{border-color:#5973ad;box-shadow:0 0 0 3px #1e3a8a14}textarea{resize:vertical;line-height:1.65}.button{border:0;border-radius:10px;padding:13px 18px;font-weight:800;transition:.18s transform,.18s filter}.button:hover{filter:brightness(1.05);transform:translateY(-1px)}.primary{background:var(--blue);color:white;width:100%;margin-top:12px}.error{color:#b42318;font-size:13px}.app{min-height:100vh}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);padding:0 clamp(20px,5vw,76px);display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px}.brand strong,.brand small{display:block;letter-spacing:.08em}.brand strong{font:800 15px Manrope}.brand small{font-size:9px;color:var(--muted);margin-top:3px}.top-actions{display:flex;align-items:center;gap:14px}.pill{font-size:12px;font-weight:700;background:#eff2f8;padding:8px 12px;border-radius:20px;color:#39455b}.icon-btn{border:1px solid var(--line);background:#fff;color:#475467;border-radius:9px;width:38px;height:38px;font-size:20px}.content{max-width:1200px;margin:0 auto;padding:48px 28px}.setup{max-width:690px;margin:10px auto;background:white;border:1px solid var(--line);border-radius:18px;padding:34px 38px;box-shadow:0 12px 36px #1323480a}.section-head{margin-bottom:25px}.section-head h1{font-size:30px}.section-head .muted{margin:0}.label-hint{float:right;color:#98a1b0;font-weight:500}.row{display:flex;gap:10px;align-items:center}.outline{background:white;border:1px solid #cdd4e0;color:#475467}.row .button{width:auto}.status{min-height:20px;font-size:13px;color:#25714d}.status.bad{color:#b42318}.winners-list{display:flex;flex-wrap:wrap;gap:8px;margin:5px 0 18px}.winner-chip{padding:7px 10px;background:#fff6da;border:1px solid #f3df9d;border-radius:20px;font-size:12px;font-weight:700;color:#70540f}.launch{width:100%;background:#142849;color:#fff;margin-top:12px;padding:16px}.launch span{float:right;color:var(--gold)}.stage{min-height:calc(100vh - 76px);display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden;background:radial-gradient(ellipse at center,#fff 0%,#f0f3f8 60%,#e8edf5 100%);border-radius:22px}.stage:before,.stage:after{content:'';position:absolute;width:300px;height:300px;border-radius:50%;background:#efc65b18;filter:blur(8px);pointer-events:none}.stage:before{top:-160px;left:-120px}.stage:after{bottom:-190px;right:-100px}.stage-top{text-align:center;z-index:1;margin:22px 15px 12px}.stage-caption{font-size:11px;font-weight:800;letter-spacing:.18em;color:#79849a}.live-dot{display:inline-block;width:7px;height:7px;background:#17a673;border-radius:50%;margin-right:5px;box-shadow:0 0 0 4px #17a67320}.winner-banner{min-height:96px;margin:13px auto 0;min-width:min(540px,85vw);padding:12px 26px;background:#fff;border:1px solid #e3e7ef;border-radius:16px;box-shadow:0 8px 25px #1c2e4c0c;display:flex;flex-direction:column;justify-content:center}.winner-banner small{font-size:10px;font-weight:800;letter-spacing:.16em;color:#b18729}.winner-banner strong{font:800 clamp(24px,4vw,38px) Manrope;margin-top:3px;color:#142849}.wheel-wrap{width:min(65vh,660px,78vw);aspect-ratio:1;position:relative;filter:drop-shadow(0 15px 22px #17253d1f);z-index:1}.wheel-wrap canvas{width:100%;height:100%}.pointer{position:absolute;right:-10px;top:50%;transform:translate(0,-50%);z-index:2;width:0;height:0;border-top:24px solid transparent;border-bottom:24px solid transparent;border-right:0;border-left:45px solid #17253d;filter:drop-shadow(0 3px 3px #0003)}.pointer:after{content:'';position:absolute;left:-35px;top:-5px;width:10px;height:10px;border-radius:50%;background:var(--gold)}.stage-controls{z-index:1;display:flex;gap:12px;margin:16px}.spin{background:var(--blue);color:#fff;padding:16px 35px;letter-spacing:.08em;box-shadow:0 7px 16px #1e3a8a30}.spin:disabled{opacity:.55;cursor:wait}.ghost{background:transparent;color:#5e6879;border:1px solid #cfd5df}.stage-hint{font-size:12px;color:#8a93a2;margin:0 0 16px;z-index:1}.toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%,20px);background:#142849;color:#fff;padding:12px 18px;border-radius:10px;font-size:13px;opacity:0;transition:.2s;pointer-events:none;z-index:10}.toast.show{opacity:1;transform:translate(-50%,0)}body.fullscreen-mode .topbar{display:none}body.fullscreen-mode .content{max-width:none;padding:0}body.fullscreen-mode .stage{min-height:100vh;border-radius:0}.confetti{position:fixed;inset:0;pointer-events:none;z-index:8;overflow:hidden}.confetti i{position:absolute;top:-20px;width:9px;height:14px;animation:fall var(--t) linear forwards;transform:rotate(var(--r))}@keyframes fall{to{transform:translateY(110vh) rotate(720deg)}}
@media(max-width:700px){.content{padding:20px 12px}.setup{padding:26px 20px}.section-head h1{font-size:26px}.stage{min-height:calc(100vh - 76px)}.wheel-wrap{width:min(76vw,55vh)}.winner-banner{min-width:88vw}.topbar{padding:0 16px}.stage-controls{flex-direction:column;width:80%}.stage-controls .button{width:100%}.label-hint{float:none;display:block;margin-top:5px}}
