*{box-sizing:border-box}body{margin:0;background:#faf7fc;color:#32223f;font:17px/1.6 system-ui,sans-serif}header,main,footer{max-width:1000px;margin:auto;padding:24px}header{background:linear-gradient(125deg,#442063,#743d83);color:white;border-radius:0 0 28px 28px;padding-top:38px}header a{color:white}h1,h2,h3{font-family:Georgia,serif;line-height:1.2}h1{font-size:clamp(34px,7vw,52px);margin:12px 0}h2{font-size:28px}.eyebrow{letter-spacing:2px;font-size:12px;font-weight:700;color:#efc9e9}.card{background:white;padding:24px;margin:22px 0;border:1px solid #e5d9eb;border-radius:18px;box-shadow:0 5px 25px #4c226308}.tabs,.actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}button,.button{border:0;background:#66347e;color:white;padding:13px 20px;border-radius:10px;font:inherit;font-weight:650;cursor:pointer;text-decoration:none;display:inline-block}button.secondary,.tabs button{background:#f0e5f5;color:#53256a}.tabs [aria-pressed=true]{background:#66347e;color:white}button:disabled{opacity:.6;cursor:wait}label{display:block;font-weight:650;margin:15px 0 5px}input,select{font:inherit;width:100%;padding:12px;border:1px solid #bdaac8;border-radius:9px;background:white;color:#32223f}input[type=checkbox]{width:auto}small,.note{font-size:14px;color:#715d7d}a{color:#66347e}.status{white-space:pre-line;font-weight:650;color:#66347e}#status{position:sticky;bottom:10px;background:#fff7e8;border-radius:10px;padding:12px;z-index:3}#status:empty{display:none}[hidden]{display:none!important}.badges{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.badge{text-align:center;border:1px dashed #c9bad1;border-radius:14px;padding:18px 8px;background:#f6f2f8}.badge.earned{border:2px solid #b0789d;background:#fff0fa}.badge span{font-size:34px}.badge strong{display:block;font-family:Georgia;line-height:1.25;margin:8px 0}.count{font-size:48px;font-weight:750;color:#66347e}progress{width:100%;accent-color:#883f8d;height:16px}table{width:100%;border-collapse:collapse;text-align:left}td,th{padding:12px;border-bottom:1px solid #e6daed;vertical-align:top}.scroll{overflow:auto}.code{font-size:38px;letter-spacing:6px;font-weight:750;color:#66347e}.grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.grid .card{margin:0}.hp{position:absolute;left:-9999px}.footnote{text-align:center;color:#715d7d;font-size:14px}:focus-visible{outline:3px solid #b8862d;outline-offset:4px}@media(max-width:650px){.badges{grid-template-columns:1fr 1fr}.grid{grid-template-columns:1fr}header,main,footer{padding:20px}.card{padding:20px}}

.wheel-stage{position:relative;max-width:520px;margin:20px auto}.wheel-stage canvas{width:100%;display:block;aspect-ratio:1}.wheel-pointer{position:absolute;z-index:1;left:50%;top:-17px;transform:translateX(-50%);color:#bf862a;font-size:42px;text-shadow:0 2px white}.winner{font-size:clamp(25px,5vw,42px);font-weight:800;color:#66347e;min-height:1.5em}.drawing .actions{justify-content:center}.drawing h2{text-align:center}.wheel-controls label{margin:0;max-width:230px}.wheel-present>header,.wheel-present>footer,.wheel-present main> :not(#drawing){display:none!important}.wheel-present main{max-width:1200px}.wheel-present .wheel-private{display:none}.wheel-present #drawing{margin-top:0}.wheel-present .wheel-stage{max-width:min(56vh,580px)}@media(prefers-reduced-motion:reduce){canvas{scroll-behavior:auto}}
