:root { --cw-page:#f5f7f8; --cw-surface:#fff; --cw-text:#172b3a; --cw-muted:#536574; --cw-primary:#0f766e; --cw-hover:#115e59; --cw-selected:#e7f3f1; --cw-line:#d8e2e7; --cw-input:#81949f; }
html[data-theme=dark] { --cw-page:#111c23; --cw-surface:#1a2931; --cw-text:#e5eff2; --cw-muted:#b1c3ca; --cw-primary:#76d3c4; --cw-hover:#a0e5d8; --cw-selected:#223e40; --cw-line:#3c515b; --cw-input:#718b96; }
html[data-theme] { background:var(--cw-page); color:var(--cw-text); --purple:var(--cw-primary); --lime:var(--cw-primary); --muted:var(--cw-muted); --panel:var(--cw-surface); --line:var(--cw-line); }
html[data-theme] body:not(.wheel-only):not(.pick-only) { background:var(--cw-page); color:var(--cw-text); }
[hidden] { display:none!important; }
html[data-theme] :is(button,a,input,select):focus-visible { outline:2px solid var(--cw-primary); outline-offset:3px; }
html[data-theme] input[type=checkbox] { accent-color:var(--cw-primary); }
html[data-theme] input:not([type=checkbox],[type=file]), html[data-theme] select { min-width:0; min-height:40px; font-size:14px; padding:9px 11px; border-color:var(--cw-input); color:var(--cw-text); background:var(--cw-surface); }
html[data-theme] input::placeholder { color:var(--cw-muted); }
html[data-theme] :is(.panel,.pick-card,.cliff-roster-panel,.cliff-arena-card,.card) { background:var(--cw-surface); border:1px solid var(--cw-line); border-radius:12px; box-shadow:0 3px 15px #172b3a04; }
html[data-theme] :is(.primary,.spin-button,.pick-primary) { background:var(--cw-primary); color:var(--cw-surface); border:1px solid transparent; font-size:14px; min-height:40px; }
html[data-theme] :is(.primary,.spin-button,.pick-primary):hover:not(:disabled) { background:var(--cw-hover); filter:none; }
html[data-theme] :is(.secondary,.subtle,.reset-button,.pick-secondary,.pick-reset,.participant-undo,.theme-toggle,.guide-button) { background:var(--cw-surface); color:var(--cw-text); border:1px solid var(--cw-input); font-size:14px; min-height:40px; border-radius:8px; }
html[data-theme] :is(.secondary,.subtle,.reset-button,.pick-secondary,.participant-undo,.guide-button):hover:not(:disabled) { background:var(--cw-selected); filter:none; }
html[data-theme] :is(.tiny,.muted,.participant-help,.pick-hint,.pick-storage-note,.pick-roster-label) { font-size:14px; color:var(--cw-muted); line-height:1.65; }
html[data-theme] :is(h2,.rule-settings-heading h2,.pick-card h2) { font-size:18px; font-weight:700; color:var(--cw-text); }
html[data-theme] :is(label:not(.check,.text-button),.settings .rule-choice) { font-size:14px; color:var(--cw-text); }
html[data-theme] :is(.count,.source-badge,.ui,.step,.tag) { background:var(--cw-selected); color:var(--cw-primary); }
html[data-theme] :is(footer a,.text-button,.share-panel a,.connection-options a,#platform-status,.guide a,.guide-footer a) { color:var(--cw-primary); }
html[data-theme] .topbar { height:auto; min-height:72px; padding:12px 24px; gap:24px; background:var(--cw-surface); border-color:var(--cw-line); flex-wrap:wrap; }
.topbar .brand { font-size:25px; flex-shrink:0; }.topbar .brand span,.topbar .local-tag { display:none; }
.topbar .top-actions { gap:8px; margin-left:auto; }.topbar .tool-tabs { margin:0; padding:0; border:0; background:transparent; gap:4px; }
html[data-theme] .tool-tabs button { min-width:80px; padding:12px 16px; min-height:44px; font-size:15px; color:var(--cw-muted); border-radius:8px; }
html[data-theme] .tool-tabs button[aria-selected=true] { color:var(--cw-primary); background:var(--cw-selected); box-shadow:inset 0 -3px var(--cw-primary); }
.tool-tabs button span { display:none; }.topbar .roulette-heading { margin:0 0 0 auto; gap:16px; min-width:0; }
.topbar .roulette-heading-copy { display:none; }.topbar .heading-actions { flex-shrink:0; }
.topbar #sharing { margin:0; padding:0; border:0; box-shadow:none; display:flex; gap:8px; background:transparent; min-width:0; }
.topbar #sharing strong { margin:0; font-size:13px; color:var(--cw-muted); }.topbar #share-status { display:none; }
.topbar #sharing:has(a:not([href])) #share-status { display:block; max-width:180px; }
.topbar #sharing a { display:block; width:100px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:12px; }
.topbar #copy-display { font-size:12px; padding:8px; }.topbar #roulette-guide { font-size:13px; padding:10px; white-space:nowrap; }
body[data-tool=pick] .topbar .roulette-heading,body[data-tool=cliff] .topbar .roulette-heading { display:none; }
html[data-theme] .page-shell { display:block; width:100%; max-width:1440px; padding:0 24px; margin:auto; }
html[data-theme] .page-shell > main { max-width:none; width:100%; padding:24px 0 0; margin:0; }
html[data-theme] .ad-banner { width:100%; max-width:970px; margin:0 auto 24px; }
html[data-theme] .ad-label { color:var(--cw-muted); }.ad-placement[data-ad-position=footer] { margin-top:24px; }
body[data-tool=roulette]:not(.wheel-only) .connection-row { display:grid; grid-template-columns:560px minmax(0,1fr); align-items:stretch; gap:16px; margin:0 0 20px; }
html[data-theme] .connection { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; padding:18px 20px; margin:0; width:auto; max-width:none; }
.connection .platform-mark,.connection .connection-label { display:none; }
.connection .platform-picker { grid-column:2; grid-row:1; width:auto; justify-self:end; margin:0; }
.connection #connection-form { grid-column:1/-1; grid-row:2; width:100%; max-width:none; }
.connection #channel { min-width:0; width:0; flex:1; }
.connection .connection-meta { display:contents; }
.connection .connection-footer { grid-column:1; grid-row:1; display:flex; align-items:start; flex-direction:column; gap:5px; margin:0; }
.connection .connection-options { grid-column:1/-1; grid-row:3; margin:0; justify-content:flex-start; gap:14px; font-size:13px; }
.connection #panda-connection-options { grid-column:1/-1; grid-row:4; margin:0; justify-content:flex-start; gap:16px; font-size:13px; }
html[data-theme] .platform-picker { background:var(--cw-selected); border-color:var(--cw-line); }
html[data-theme] .platform-picker button { color:var(--cw-text); font-size:14px; min-height:36px; }
html[data-theme] .platform-picker button[aria-pressed=true] { background:var(--cw-primary); color:var(--cw-surface); }
html[data-theme] .status { color:var(--cw-muted); font-size:14px; }.connection-footer .muted { font-size:13px; }
html[data-theme] .status[data-state=connected] { color:var(--cw-primary); }.status[data-state=connected]:before { background:var(--cw-primary); box-shadow:none; }
html[data-theme] .recent-history { min-height:178px; height:auto; }.recent-history-inner { padding:16px 20px; }
html[data-theme] .recent-history h2 { margin-bottom:10px; font-size:17px; line-height:24px; }
html[data-theme] th { background:var(--cw-selected); color:var(--cw-muted); font-size:13px; }
html[data-theme] td { color:var(--cw-text); border-color:var(--cw-line); font-size:14px; }
html[data-theme] .recent-history :is(th,td) { font-size:13px; line-height:20px; padding:6px 8px; height:32px; }
html[data-theme] .recent-history td:nth-child(4),html[data-theme] .recent-history td:first-child:not(.table-empty) { font-size:13px; }
.recent-history .recent-time-column { width:64px; }.recent-history .recent-participant-column { width:28%; }.recent-history .recent-input-column { width:28%; }.recent-history .recent-source-column { width:64px; }
body[data-tool=roulette]:not(.wheel-only) .page-shell .workspace { grid-template-columns:304px minmax(0,1fr) 360px; gap:16px; align-items:stretch; }
body[data-tool=roulette]:not(.wheel-only) .workspace > :is(.settings,.participants) { padding:20px; height:auto; min-height:0; }
html[data-theme] .settings .rule-settings-heading p { font-size:14px; color:var(--cw-muted); margin:8px 0 0; }
.settings .rule-choice { margin:20px 0 14px; align-items:center; }.settings .rule-choice input { width:19px; height:19px; margin:0; }
.settings .rule-fields>label { margin:12px 0 6px; }.settings .rule-equation label { margin:12px 0 6px; }
.settings .rule-equation { grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr); gap:6px; }
.settings .input-unit input { padding-right:55px; }.settings .input-unit>span { top:12px; font-size:12px; right:10px; }
.settings .rule-equation input { padding-right:34px; }.settings .rule-equation .input-unit>span { right:7px; }
html[data-theme] .settings .exact-rule-summary { padding:12px; margin:0 0 16px; border:1px solid var(--cw-line); background:var(--cw-page); border-radius:8px; display:block; }
html[data-theme] .settings .exact-rule-summary p { font-size:13px; line-height:1.65; margin:0 0 8px; color:var(--cw-muted); }
.settings #edit-exact-rules { font-size:13px; width:100%; max-width:none; }
html[data-theme] .settings .example { font-size:14px; margin:14px 0; padding:10px; border:0; color:var(--cw-primary); background:var(--cw-selected); }
.settings .rule-save-area { padding:16px 0 0; }.settings .rule-save-area button { min-height:44px; color:var(--cw-surface); background:var(--cw-primary); border:0; }
.settings #fan-help,.settings #rule-save-hint { font-size:12px; margin:8px 0; }
html[data-theme] .wheel-panel { background:#fff; padding:24px; display:flex; flex-direction:column; justify-content:center; min-width:0; color:#172b3a; overflow:visible; }
.wheel-panel .wheel-stage { max-width:560px; width:calc(100% - 24px); margin:24px auto; overflow:visible; }
.wheel-stage #wheel { border:0; box-shadow:none; border-radius:50%; }
.wheel-stage .wheel-glow { inset:-5px; border:8px solid #d5d9e0; background:transparent; box-shadow:0 0 0 1px #aab2bf,0 4px 12px #172b3a18; pointer-events:none; z-index:1; }
.wheel-stage .wheel-glow:before { inset:-4px; border:1px solid #fff; box-shadow:none; }
.wheel-stage .wheel-pointer { width:25px; height:46px; top:-24px; left:calc(50% - 12.5px); z-index:4; clip-path:none; border-radius:50% 50% 45% 45%; background:transparent; filter:drop-shadow(0 2px 2px #172b3a33); transform-origin:50% 11px; transform:rotate(var(--pointer-kick,0deg)); }
.wheel-pointer:before { content:''; position:absolute; inset:0; background:linear-gradient(90deg,#c56164,#f3a294,#cc7073); clip-path:polygon(0 0,100% 0,95% 38%,50% 100%,5% 38%); border-radius:50%; }
.wheel-pointer:after { content:''; position:absolute; width:11px; height:11px; border:2px solid #fff3e6; background:#b8c2ce; border-radius:50%; left:7px; top:5px; }
.wheel-lamp { position:absolute; left:50%; top:50%; width:6px; height:6px; margin:-3px; border-radius:50%; background:#fff2cd; border:1px solid #fff; transform:rotate(var(--lamp-angle)) translateY(calc(-1 * var(--rim-radius,200px))); box-shadow:0 0 3px #ebd8a96b; }
.wheel-stage .wheel-hub { width:64px; height:64px; border:3px solid #d5d9e0; box-shadow:0 0 0 4px #fff8,0 3px 8px #172b3a18; background:#f5f7f8; z-index:2; }.wheel-hub span,.wheel-hub i { display:none; }
html[data-theme] .wheel-stage .wheel-hub strong { color:#536574; font-size:9px; letter-spacing:1px; }
html[data-theme] .wheel-stage .winner.has-winner { background:#ffffffe0; border:1px solid #d8e2e7aa; box-shadow:0 4px 18px #172b3a12; backdrop-filter:blur(6px); border-radius:12px; z-index:3; }
html[data-theme] .wheel-stage .winner.has-winner strong { color:#8a5a12; font-weight:800; }.winner.has-winner span { color:#536574; }
html[data-theme] .wheel-panel .spin-button { min-height:48px; font-size:18px; margin-top:12px; border-radius:9px; }
html[data-theme] .wheel-panel .reset-button { min-height:40px; margin-top:10px; font-size:14px; color:#536574; background:#f5f7f8; border-color:#b7c4cc; }
.participants .section-title { margin:0 0 12px; gap:8px; }.participants .participant-heading-actions { gap:8px; }.participants .participant-undo { padding:6px 8px; font-size:12px; min-height:36px; }
.participants .participant-help { font-size:13px; margin:0 0 12px; }.participants .participant-add-form { margin-bottom:16px; gap:8px; }.participant-add-form button { font-size:14px; }
.participants .list-header { display:none; }
.participants .people-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-content:start; gap:8px; padding-right:5px; min-height:240px; }
body:not(.readonly) .participants .people-list .person { grid-template-columns:minmax(0,1fr) 20px; gap:4px; border:1px solid var(--cw-line); border-radius:8px; padding:6px; background:var(--cw-surface); align-content:start; }
.participants .person-details { min-width:0; }.participants .person-name-button { color:var(--cw-text); font-size:14px; line-height:22px; }
.participants .person-name-button:hover { color:var(--cw-primary); }.participants .person-details { position:relative; padding-left:13px; }.participants .person-details:before { content:''; position:absolute; left:0; top:8px; width:8px; height:8px; border-radius:50%; background:var(--person-color,var(--cw-primary)); }
html[data-theme] .participants .person-remove { background:transparent; border:0; width:20px; height:22px; min-height:0; padding:0; color:var(--cw-muted); }
html[data-theme] .participants .person-remove:hover { color:#b43742; background:#fff0f0; }
body:not(.readonly) .participants .people-list .person-slot-form { grid-template-columns:minmax(52px,56px) 52px; gap:4px; height:28px; justify-content:start; }
html[data-theme] .participants .person-slot-form input { height:28px; min-height:28px; font-size:13px; font-variant-numeric:tabular-nums; padding:4px; }
.participants .person-slot-form .input-unit>span { display:none; }
body:not(.readonly) .participants .slot-stepper { display:grid; height:28px; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:28px; gap:4px; }
html[data-theme] .participants .person-slot-form .slot-step { width:24px; height:28px; min-height:28px; padding:0; font-size:10px; color:var(--cw-text); border-color:var(--cw-input); background:var(--cw-surface); }
html[data-theme] .participants .person-slot-form .slot-step:hover { background:var(--cw-selected); }
html[data-theme] .participants .person-name-form input { height:30px; min-height:30px; padding:4px 6px; }
body.readonly .participants .person { padding:8px 6px; border:1px solid var(--cw-line); border-radius:8px; gap:5px; }.person-slot-count { font-size:13px; }
body.readonly .participants .people-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
body[data-tool=roulette]:not(.wheel-only) .workspace>.participants { padding:16px 12px; }
@media(max-width:430px) { body[data-tool=roulette]:not(.wheel-only) .workspace>.participants { padding:14px 10px; } }
html[data-theme] .history { padding:20px; margin-top:20px; }.history td,.history th { padding:8px; }
html[data-theme] .page-shell footer { font-size:13px; color:var(--cw-muted); padding-top:20px; }
body[data-tool=roulette]:not(.wheel-only) .page-shell > main { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:0 20px; }
body[data-tool=roulette]:not(.wheel-only) main > * { grid-column:1/-1; }
body[data-tool=roulette]:not(.wheel-only) main > .history { grid-column:1; order:3; align-self:start; }
body[data-tool=roulette]:not(.wheel-only) main > [data-ad-position=footer] { grid-column:2; order:3; margin-top:20px; }
body[data-tool=roulette]:not(.wheel-only) main > footer { order:4; }
html[data-theme] .pick-heading { margin:0 0 24px; }.pick-heading .eyebrow,.pick-spark { display:none; }.pick-heading h1 { font-size:26px; }.pick-heading>div>p:last-child { margin:6px 0 0; font-size:14px; }
html[data-theme] .pick-heading h1 span { color:var(--cw-primary); }
.pick-layout { grid-template-columns:304px minmax(0,1fr); gap:24px; }.pick-card { padding:20px; }.pick-card .eyebrow { display:none; }
html[data-theme] :is(.pick-secondary,#pick-link,.pick-card .pick-mode-choice,.pick-visitor,.pick-participant-card) { background:var(--cw-selected); color:var(--cw-text); border-color:var(--cw-input); }
html[data-theme] .pick-card .pick-mode-choice input { accent-color:var(--cw-primary); }.pick-card form>label,.pick-fields label { font-size:14px; }
.pick-card .pick-primary { justify-content:center; gap:8px; }.pick-card .pick-primary span { font-size:16px; }html[data-theme] .pick-approved strong { color:var(--cw-primary); }
html[data-theme] .pick-visitor[data-approved=true] { background:var(--cw-primary); color:var(--cw-surface); }
html[data-theme] .pick-board-panel { --board-bg:#f3f8f7; --cell:#e7f3f1; --cell-deep:#b2d6d0; --ink:#172b3a; background:var(--board-bg); border-color:var(--cw-line); box-shadow:0 3px 15px #172b3a06; border-radius:14px; padding:24px; }
html[data-theme] .pick-board-panel[data-theme="1"] { --board-bg:#f0f7fa; --cell:#e4f0f6; --cell-deep:#b8d2e0; }html[data-theme] .pick-board-panel[data-theme="2"] { --board-bg:#fcf6ef; --cell:#f8ede0; --cell-deep:#e0cdb4; }html[data-theme] .pick-board-panel[data-theme="3"] { --board-bg:#f3f8ed; --cell:#eaf1df; --cell-deep:#c6d9af; }html[data-theme] .pick-board-panel[data-theme="4"] { --board-bg:#fcf2f5; --cell:#f7e6ec; --cell-deep:#e3c5cf; }html[data-theme] .pick-board-panel[data-theme="5"] { --board-bg:#f4f2fb; --cell:#eae6f7; --cell-deep:#cdc3e6; }
html[data-theme] .pick-cell { color:var(--ink); border:1px solid var(--cell-deep); background:linear-gradient(#ffffffb3,#ffffff00),var(--cell); box-shadow:inset 0 1px 1px #fff,0 3px 0 var(--cell-deep),0 5px 9px #172b3a08; border-radius:12px; }
.pick-cell { aspect-ratio:1.5; }
html[data-theme] .pick-cell[data-result=lose] { color:#8c2435; background:linear-gradient(#ffe1e0,#f7bcc0); border-color:#d8959c; box-shadow:0 3px 0 #d8959c; }
html[data-theme] .pick-cell[data-result=win] { color:#17543e; background:linear-gradient(#d9f6dc,#ace1c0); border-color:#83c6a1; box-shadow:0 3px 0 #83c6a1; }
html[data-theme] .pick-cell[data-recent=true] { outline:3px solid #d4a347; outline-offset:1px; box-shadow:inset 0 0 0 1px #fff,0 3px 0 var(--cell-deep); }
html[data-theme] .pick-announcement { color:#115e59; background:#e7f3f1eb; border-color:#9abfb8; box-shadow:0 3px 15px #172b3a0d; }
html[data-theme] #cliff-tool { --cliff-ink:var(--cw-text); --cliff-muted:var(--cw-muted); --cliff-line:var(--cw-line); --cliff-card:var(--cw-surface); --cliff-mint:var(--cw-selected); }
.cliff-heading { margin-bottom:20px; }.cliff-heading .cliff-eyebrow,.cliff-heading-badge,.cliff-heading h1 span { display:none; }.cliff-heading h1 { font-size:26px; }.cliff-heading p:last-child { font-size:14px; }
.cliff-layout { grid-template-columns:minmax(0,1fr) 432px; gap:24px; }.cliff-stage { height:560px; }.cliff-roster { grid-template-columns:repeat(2,minmax(0,1fr)); max-height:none; overflow:visible; padding:0; }
.cliff-roster-heading .cliff-eyebrow { display:none; }.cliff-roster-hint { font-size:13px; margin:10px 0; }.cliff-count-controls { margin-top:12px; }
.cliff-fighter-card { padding:6px; gap:6px; min-height:42px; }.cliff-fighter-card input[type=text] { font-size:13px; padding:6px; height:36px; min-height:36px; }
.cliff-avatar { width:32px; height:32px; }.cliff-name { font-size:11px; padding:4px 7px; background:#fffffff0; }
html[data-theme] .cliff-actions #cliff-start { color:var(--cw-surface); background:var(--cw-primary); border-color:var(--cw-primary); }.cliff-actions button { font-size:14px; }
.cliff-actions #cliff-start span { display:none; }.cliff-scorebar { font-size:13px; }.cliff-score time { font-size:16px; }.cliff-score strong { font-size:22px; }
.cliff-fair-note,.cliff-help { font-size:12px; }.cliff-help { padding:16px 0; }.cliff-history { margin-top:24px; }
html[data-theme] .cliff-history button { color:var(--cw-text); border-color:var(--cw-line); background:var(--cw-surface); }
html[data-theme] .cliff-history button[aria-pressed=true] { color:var(--cw-surface); background:var(--cw-primary); border-color:var(--cw-primary); }
@media(min-width:1800px) { html[data-theme] .page-shell { max-width:1776px; } body[data-tool=roulette]:not(.wheel-only) .page-shell .workspace { grid-template-columns:320px minmax(0,1fr) 384px; gap:24px; } body[data-tool=roulette]:not(.wheel-only) .connection-row { grid-template-columns:640px minmax(0,1fr); gap:24px; } }
@media(min-width:1101px) { .pick-grid { grid-template-columns:repeat(6,minmax(0,1fr)); } }
@media(max-width:1399px) and (min-width:1101px) { body[data-tool=roulette]:not(.wheel-only) .page-shell .workspace { grid-template-columns:280px minmax(0,1fr) 340px; } .participants .people-list { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:1100px) { body[data-tool=roulette]:not(.wheel-only) .page-shell .workspace { grid-template-columns:minmax(250px,.7fr) minmax(0,1fr); } body[data-tool=roulette]:not(.wheel-only) .workspace>.participants { grid-column:1/-1; } .participants .people-list { grid-template-columns:repeat(2,minmax(0,1fr)); flex:none!important; height:auto!important; max-height:600px!important; } body[data-tool=roulette]:not(.wheel-only) .connection-row { grid-template-columns:1fr 1fr; } .cliff-layout { grid-template-columns:minmax(0,1fr) 350px; gap:16px; }.cliff-stage { height:520px; }.pick-layout { grid-template-columns:270px minmax(0,1fr); gap:16px; } .topbar .roulette-heading { margin:0; }.topbar .top-actions { margin-left:auto; } }
@media(max-width:800px) { html[data-theme] .page-shell { padding:0 16px; } html[data-theme] .topbar { padding:12px 16px; gap:12px; }.topbar .brand { font-size:22px; }.topbar .tool-tabs { order:2; width:100%; }.topbar .tool-tabs button { flex:1; }.topbar .roulette-heading { order:3; width:100%; justify-content:space-between; }.topbar #sharing a { width:72px; } .cliff-layout { grid-template-columns:1fr; }.cliff-stage { height:480px; }.cliff-roster { grid-template-columns:repeat(2,minmax(0,1fr)); }.pick-layout { grid-template-columns:1fr; }.pick-sidebar { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }.pick-storage-note { grid-column:1/-1; } }
@media(max-width:730px) { body[data-tool=roulette]:not(.wheel-only) .page-shell .workspace { grid-template-columns:1fr; gap:16px; } body[data-tool=roulette]:not(.wheel-only) .workspace>.participants { grid-column:auto; } body[data-tool=roulette]:not(.wheel-only) .connection-row { grid-template-columns:1fr; }.connection .connection-options { flex-wrap:wrap; }.connection .recent-history { min-height:180px; } body[data-tool=roulette]:not(.wheel-only) .page-shell>main { display:block; } .settings .rule-save-area { margin-top:12px; }.participants .people-list { max-height:600px; }.pick-grid { gap:10px; }.pick-board-panel { padding:18px 12px; }.pick-cell { min-height:48px; }.pick-cell small { font-size:13px; }.cliff-heading h1 { font-size:24px; }.cliff-stage { height:420px; }.cliff-score { gap:10px; }.cliff-arena-footer { flex-wrap:wrap; gap:10px; }.cliff-actions { margin-left:auto; } }
@media(max-width:430px) { .topbar #sharing strong { font-size:11px; }.topbar #sharing a { display:none; }.topbar #sharing { gap:5px; }.topbar #roulette-guide { font-size:12px; padding:8px; } .topbar #copy-display { font-size:11px; }.pick-sidebar { grid-template-columns:1fr; }.participants .person-slot-form .input-unit>span { display:none; } body:not(.readonly) .participants .people-list .person-slot-form { grid-template-columns:minmax(52px,56px) 42px; gap:3px; } body:not(.readonly) .participants .slot-stepper { gap:2px; }.participants .person-slot-form input { font-size:12px; padding:3px; } html[data-theme] .participants .person-slot-form .slot-step { width:auto; min-width:0; }.participants .participant-undo { font-size:11px; padding:5px; }.participants .person-name-button { font-size:13px; }.cliff-stage { height:360px; }.cliff-roster-panel { padding:16px 10px; }.cliff-fighter-card { grid-template-columns:26px minmax(0,1fr) auto; padding:4px; gap:4px; }.cliff-avatar { width:26px; height:30px; }.cliff-fighter-card input[type=text] { font-size:14px; padding:4px; }.cliff-scorebar { padding:12px; }.cliff-score strong { font-size:18px; } }
@media(max-width:730px) { .pick-cell { aspect-ratio:auto; min-height:52px; } }
@media(prefers-reduced-motion:reduce) { .wheel-pointer { transform:none!important; }.pick-cell { transition:none; } }
body.wheel-only .page-shell,body.pick-only .page-shell,body.cliff-only .page-shell { max-width:none!important; padding:0!important; }
body.wheel-only .page-shell>main,body.pick-only .page-shell>main,body.cliff-only .page-shell>main { padding:0!important; }
body.wheel-only .wheel-panel { display:grid; min-height:0; }
body.wheel-only .wheel-panel .wheel-stage { width:min(calc(100vw - 36px),calc(100dvh - 140px)); height:auto; max-width:none; margin:18px auto 8px; }
body.wheel-only .wheel-panel .spin-button { min-height:36px; padding:8px; margin:0; font-size:14px; }
body.wheel-only .wheel-panel .reset-button { min-height:30px; padding:5px; margin:4px 0 0; font-size:12px; }
body.pick-only .pick-board-panel { padding:8px 12px; border:0; border-radius:0; }.pick-only .pick-cell { border-radius:8px; }
body.cliff-only .cliff-stage { height:auto; }.cliff-only .cliff-actions button { min-height:34px; font-size:12px; padding:6px 12px; }
@media(min-width:1101px) { body.readonly[data-tool=roulette]:not(.wheel-only) .page-shell .workspace { grid-template-columns:minmax(0,1fr) 360px; } }
@media(max-width:730px) { body[data-tool=roulette]:not(.wheel-only) .workspace>.wheel-panel { order:0; } body[data-tool=roulette]:not(.wheel-only) .workspace>.participants { order:1; } body[data-tool=roulette]:not(.wheel-only) .workspace>.settings { order:2; } }
