.workspace.game-shell{grid-template-columns:minmax(0,1fr)}.game-shell:focus{outline:none}.workspace.game-shell>.wheel-panel{position:static}.game-shell-toolbar{justify-content:space-between}.game-shell-start{padding-bottom:12px}.game-shell-ready{border:1px solid var(--border);border-radius:var(--card-radius);box-shadow:var(--card-shadow);text-align:center;background:#fff;flex-direction:column;align-items:center;gap:20px;padding:24px 20px;display:flex}.game-shell-icon{font-size:64px;line-height:1.2}.game-shell .game-shell-ready>p{margin:0;font-size:20px;font-weight:700}.game-shell-ready .game-shell-start{width:100%;max-width:320px;padding-bottom:0}.game-shell .wheel-canvas-wrap{max-width:640px}@media (width<=760px){.game-shell .wheel-canvas-wrap{max-width:100%}.game-shell:has(.mobile-start-bar){padding-bottom:calc(88px + env(safe-area-inset-bottom))}}.result-downloads{margin-top:16px;padding-top:16px;container-type:inline-size}.result-downloads>.wheel-actions{flex-wrap:wrap;gap:8px;max-width:520px;display:flex}.result-downloads>.wheel-actions button{white-space:nowrap;flex:auto;min-width:56px;min-height:48px;padding:12px 10px;line-height:1.5}.result-downloads>.wheel-actions .result-copy{border-color:var(--accent);background:var(--accent);color:#fff;font-weight:700}.result-downloads>.wheel-actions .result-copy:hover:not(:disabled){background:#31563a}@container (width<=340px){.result-downloads>.wheel-actions{grid-template-columns:1fr 1fr;display:grid}}.result-download-notice{overflow-wrap:anywhere;font-size:14px;line-height:1.6}.result-download-notice:empty{display:none}.result-confetti{z-index:100;pointer-events:none;width:100%;height:100%;position:fixed;inset:0}.result-celebrate{transform-origin:top;animation:.56s both result-spring}.result-celebrate [data-result-highlight]{border-radius:4px;animation:1.1s ease-out both result-highlight}@keyframes result-spring{0%{opacity:0;transform:translateY(8px)scale(.97)}48%{opacity:1;transform:translateY(-2px)scale(1.015)}72%{transform:translateY(1px)scale(.995)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes result-highlight{0%,to{text-shadow:none;background-color:#0000}35%{text-shadow:0 0 12px #e9b94999;background-color:#f4d68c66}}.workspace button{transition:transform .14s,box-shadow .18s}@media (hover:hover){.workspace button:hover:not(:disabled){box-shadow:0 3px 10px #25332a18}}.workspace button:active:not(:disabled){transform:scale(.97)}.workspace [data-start-effect]{isolation:isolate;position:relative;overflow:hidden}.workspace [data-start-effect]:after{content:"";pointer-events:none;background:linear-gradient(110deg,#0000 30%,#ffffff26 48%,#0000 66%);animation:5s ease-in-out infinite start-sheen;position:absolute;inset:0;transform:translate(-120%)}.workspace [data-start-effect]:disabled:after{opacity:0;animation:none}@keyframes start-sheen{0%,65%{transform:translate(-120%)}90%,to{transform:translate(120%)}}@media (prefers-reduced-motion:reduce){.result-confetti{display:none}.result-celebrate,.result-celebrate [data-result-highlight],.workspace [data-start-effect]:after{animation:none}.workspace button{transition:none}.workspace button:active:not(:disabled){transform:none}}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.wheel-editor{border:0;min-width:0;margin:0;padding:0}.wheel-editor:disabled button,.wheel-editor:disabled input,.wheel-editor:disabled textarea{cursor:not-allowed}.wheel-editor:disabled .item-input{background:#fafbf8}.wheel-weights{border:1px solid var(--border);background:#fff;border-radius:18px;margin-top:16px;padding:20px 24px}.wheel-weight-toggle{cursor:pointer;align-items:center;gap:10px;font-size:14px;display:flex}.wheel-weight-toggle input{width:18px;height:18px;accent-color:var(--accent)}.wheel-weight-list{gap:8px;max-height:320px;margin:-4px;padding:4px;display:grid;overflow:auto}.wheel-weight-row{grid-template-columns:minmax(0,1fr) minmax(0,164px);align-items:center;gap:12px;font-size:14px}.wheel-panel{border:1px solid var(--border);background:#fff;border-radius:18px;min-width:0;padding:24px}.wheel-panel h2{margin:0;font-size:18px}.wheel-shared-badge{color:var(--accent);background:var(--wash);border-radius:20px;padding:6px 10px;font-size:12px}.wheel-canvas-wrap{width:100%;max-width:420px;margin:18px auto 0;position:relative}.wheel-canvas-wrap canvas{width:100%;height:auto;display:block}.wheel-pointer{z-index:1;transform-origin:50% 0;border-left:11px solid #0000;border-right:11px solid #0000;border-top:30px solid var(--ink);filter:drop-shadow(0 2px 1px #fff)drop-shadow(0 3px 4px #25332a55);width:0;height:0;position:absolute;top:-2px;left:50%;transform:translate(-50%)}.wheel-result{min-height:84px;color:var(--muted);text-align:center;overflow-wrap:anywhere;flex-direction:column;justify-content:center;align-items:center;gap:8px;font-size:14px;display:flex}.wheel-result strong{color:var(--ink);max-width:100%;font-size:24px;line-height:1.4}.wheel-actions{flex-wrap:wrap;gap:8px;display:flex}.wheel-actions button{border:1px solid var(--border);border-radius:10px;padding:12px 14px;font-size:14px;line-height:1.5}.wheel-actions .wheel-spin{background:var(--accent);color:#fff;border-color:var(--accent);width:100%;font-size:17px;font-weight:700}.wheel-sharing{border-top:1px solid var(--border);margin-top:20px;padding-top:20px}.wheel-notice{overflow-wrap:anywhere;font-size:14px;line-height:1.6}.wheel-notice:empty{display:none}@media (width<=760px){.wheel-panel,.wheel-weights{padding:20px}.wheel-canvas-wrap{max-width:min(100%,32dvh);margin-top:12px}.wheel-result{min-height:68px}}
