.roulette-grid{gap:var(--space-5);display:grid}.roulette-grid>*{min-width:0}@media (min-width:1024px){.roulette-grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:start}.roulette-main{grid-area:1/2}.roulette-side{grid-area:1/1}}.workbench.is-classroom .roulette-grid{grid-template-columns:minmax(0,1fr)}.workbench.is-classroom .roulette-main{grid-column:1}.roulette-main{gap:var(--space-4);justify-items:center;display:grid}.roulette-side{gap:var(--space-4);align-content:start;display:grid}.roulette-spin{width:100%;max-width:420px;min-height:var(--control-height-lg)}.wheel-box{width:var(--wheel-size);max-width:100%;margin:0 auto;padding-top:6px;position:relative}.wheel-clip{border-radius:50%;overflow:hidden}.wheel{transform-origin:50%;width:100%;height:auto;display:block}.wheel.is-animated{transition:transform var(--duration-spin) var(--ease-spin)}.wheel-slice{stroke:var(--color-card);stroke-width:2px}.wheel-label{font-family:var(--font-ui);font-weight:var(--weight-bold);fill:var(--seg-text)}.wheel-rim{fill:none;stroke:var(--color-foreground);stroke-width:3px}.wheel-hub{fill:var(--color-card);stroke:var(--color-foreground);stroke-width:3px}.wheel-empty{fill:var(--color-muted)}.wheel-pointer{z-index:1;width:34px;height:40px;position:absolute;top:-4px;left:50%;overflow:visible;transform:translate(-50%)}.wheel-pointer path{fill:var(--color-chalk);stroke:var(--color-foreground);stroke-width:3px;stroke-linejoin:round}.roulette-result{align-content:center;width:100%;max-width:420px;min-height:104px;display:grid}.roulette-result .result-card__value{font-size:var(--text-result)}.roulette-result.is-empty .result-card__value{font-family:var(--font-ui);font-size:var(--text-base);font-weight:var(--weight-medium);color:var(--color-muted-foreground)}.roulette-side .textarea{min-height:200px}.roulette-weights{gap:var(--space-2);display:grid}.roulette-weight{gap:var(--space-2);grid-template-columns:minmax(0,1fr) 96px;align-items:center;display:grid}.roulette-weight label{font-size:var(--text-sm);overflow-wrap:anywhere}.roulette-weight .input{text-align:right}.roulette-weight .err{grid-column:1/-1;min-height:0}.roulette-history ol{margin:var(--space-1) 0 0;font-size:var(--text-sm);padding-left:1.6em}.roulette-history li+li{margin-top:2px}.roulette-share{gap:var(--space-2);display:grid}.roulette-share .input{font-size:var(--text-sm)}.pref-regions{gap:var(--space-2);display:grid}.pref-regions .chips{gap:var(--space-2)}.pref-table-wrap{margin-top:var(--space-5)}.pref-table{width:100%;font-size:var(--text-sm)}.pref-table th[scope=rowgroup]{background:var(--color-muted);text-align:left}.pref-table tr.is-drawn td:not(.pref-state),.pref-table tr.is-out td{color:var(--color-muted-foreground)}.pref-state{white-space:nowrap;font-weight:var(--weight-bold)}.pref-done{padding:0 var(--space-2);border-radius:var(--radius-pill);background:var(--color-chalk-bg);color:var(--color-chalk-fg);display:inline-block}@media print{.wheel.is-animated{transition:none}}
