:root{color-scheme:dark;font-family:system-ui,sans-serif;color:#f3e7d9;background:#0b1020}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 72% 28%,#433b6c 0,transparent 45%),radial-gradient(ellipse at 12% 65%,#24365b 0,transparent 46%),#0b1020}
main{max-width:760px;margin:auto;padding:24px 18px}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.brand{font-size:20px;font-weight:650;letter-spacing:.12em;line-height:1.15}.tag{border:1px solid #8c82af;border-radius:999px;padding:6px 13px;color:#ddd2ef;font-size:12px;letter-spacing:.12em}.panel{text-align:center;border:1px solid #575c8b;border-radius:20px;background:#10182b70;padding:20px 14px 16px}.notice,footer{color:#bdc5d9;font-size:14px;line-height:1.5}.notice{margin:0 auto 28px;max-width:480px}.wheel-wrap{position:relative;width:min(100%,440px);aspect-ratio:1;margin:0 auto 24px;display:grid;place-items:center}.wheel{position:absolute;inset:0;border:6px solid #8975b5;border-radius:50%;background:repeating-conic-gradient(from 0deg,#30405d99 0deg 45deg,#7983a366 45deg 90deg);animation:idle 10s linear infinite}.hub{z-index:1;display:grid;place-items:center;width:29%;aspect-ratio:1;border-radius:50%;border:2px solid #efdfcc;background:#0c1223;font-weight:700;font-size:clamp(12px,3vw,20px)}.pointer{position:absolute;top:-10px;left:calc(50% - 9px);width:18px;height:48px;background:#ffdc60;clip-path:polygon(50% 100%,0 14%,22% 0,78% 0,100% 14%);z-index:2}.wheel.spinning{animation:spin 3s cubic-bezier(.15,.7,.15,1) 1}.wheel.finished{animation:none}button{font:inherit;font-weight:700;color:#131e36;background:#f3dfca;border:0;border-radius:12px;padding:14px 24px;cursor:pointer}button:disabled{opacity:.65;cursor:default}button:focus-visible{outline:3px solid #b8a7ff;outline-offset:4px}#status{min-height:24px;color:#d2d7e8}footer{text-align:center;margin-top:20px}@keyframes idle{to{transform:rotate(360deg)}}@keyframes spin{to{transform:rotate(1080deg)}}@media(prefers-reduced-motion:reduce){.wheel,.wheel.spinning{animation:none}}
