.broadcast-ballot .take-choice:disabled{opacity:1}.broadcast-ballot .take-choice .ans{background:#d8ceb8;color:#191511}.broadcast-ballot .take-choice{pointer-events:none}
.private-play-panel{padding:20px;display:grid;gap:18px}.private-play-panel p{font-size:calc((17px) * var(--text-scale,1));line-height:1.5;max-width:56ch}.private-play-panel .actions{display:flex;gap:14px;flex-wrap:wrap}.private-play-panel [role=status]{min-height:25px;color:#f3d847}
.private-client{margin:0;background:#100d0b;color:#efe0b9;overflow:auto}.private-client #root{height:100dvh;display:flex;flex-direction:column}.private-client .cs-root{height:100%;min-height:0;display:flex;flex-direction:column}.private-header{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;border-bottom:1px solid #766447;gap:12px;flex:none}.private-header strong{font:calc(18px * var(--text-scale,1)) 'Anton',sans-serif}.private-header span{font:calc(11px * var(--text-scale,1)) 'Space Mono',monospace}.private-stage{flex:1;min-height:0;display:flex;padding:14px}.private-stage>.play-col{flex:1;min-width:0}.private-wait{margin:auto;text-align:center;padding:24px;max-width:640px}.private-wait h1{font:calc(36px * var(--text-scale,1)) 'Anton',sans-serif}.private-wait p{font-size:calc((19px) * var(--text-scale,1));line-height:1.5}.private-client .round-heading .phase-title{font-size:calc((28px) * var(--text-scale,1))}.private-client .round-action-bar{flex-wrap:wrap}.private-client .round-compose{height:100%}.private-client .compose-hand{min-height:200px}.private-client [data-busy=true]{pointer-events:none}

.private-client #root{height:100%}.private-client .private-stage{overflow:hidden}.private-client .cs-root{height:100%;min-height:0}.private-client .compose-hand .vhs-choice .answer-text{white-space:normal;overflow-wrap:normal}

.lobby .play-screen-setup{flex:none;padding:10px 16px}.play-screen-setup .panel-head{margin-bottom:8px}.play-screen-setup .panel-head>span{font-size:calc((8px) * var(--text-scale,1));color:#b6a994}.play-screen-choices{display:flex;gap:8px}.play-screen-choices button{flex:1;min-height:36px}.play-screen-setup p{font-size:calc((12px) * var(--text-scale,1));line-height:1.4;margin:8px 0 0}.lobby .lobby-right{gap:10px}.lobby .room-access{margin-top:0}.lobby .room-access p{font-size:calc((12px) * var(--text-scale,1))}.lobby .room-access .preview-note{font-size:calc((9px) * var(--text-scale,1))}.lobby .rule-line{padding:6px 0}

/* Same player page, touch layout: readable cards, an independently scrolling
   hand, and an always-reachable lock bar. The show remains in the main game. */
@media(max-width:900px), (max-height:500px){
 .private-client #res-frame,.private-client #res-stage,.private-client #root{height:100dvh;width:100%;overflow:hidden}
 .private-client .cs-root{height:100dvh;min-height:0;padding:0}
 .private-header{padding:10px 12px;min-height:48px;box-sizing:border-box}.private-header strong{font-size:calc((17px) * var(--text-scale,1))}.private-header span{font-size:calc((9px) * var(--text-scale,1))}
 .private-stage{padding:8px;overflow:hidden;min-height:0}
 .private-client .round-compose{display:flex!important;flex-direction:column;height:100%;gap:8px;padding:0;min-height:0}
 .private-client .compose-prompt{flex:none;max-height:25dvh;overflow:auto;margin:0}
 .private-client .prompt-card{padding:12px!important}.private-client .prompt-quote{font-size:calc((19px) * var(--text-scale,1)) !important;line-height:1.35}.private-client .prompt-credits{font-size:calc((9px) * var(--text-scale,1));gap:5px}
 .private-client .compose-hand{display:grid;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-rows:max-content;align-content:start;gap:8px;padding:3px}
 .private-client .hand-card{min-height:120px;height:auto;overflow:visible}.private-client .vhs-choice{min-height:120px}.private-client .vhs-choice .answer-text{font-size:calc((17px) * var(--text-scale,1)) !important;line-height:1.15!important;white-space:normal;overflow-wrap:normal;max-height:none}
 .private-client .card-key{display:none}.private-client .round-heading{flex:none;min-height:0;gap:6px;margin:0}.private-client .round-heading .phase-title{font-size:calc((22px) * var(--text-scale,1)) !important}
 .private-client .round-action-bar{flex:none;min-height:70px;display:flex;flex-wrap:wrap;gap:8px;padding:8px 0;position:static}.private-client .round-action-bar>.f-mono{font-size:calc((10px) * var(--text-scale,1))}.private-client .round-action-bar .btn{min-height:44px;padding:8px 14px;font-size:calc((12px) * var(--text-scale,1))}
 .private-client .compose-wait{overflow:auto;min-height:0}.private-client .waiting-rail{flex-wrap:wrap}
 .private-client .round-ballot{height:100%;min-height:0;display:flex!important;flex-direction:column;gap:8px}
 .private-client .ballot-workspace{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}.private-client .take-index{display:flex!important;flex-direction:column;gap:8px;height:auto}
 .private-client .take-choice{flex:none;min-height:100px;padding:14px!important}.private-client .take-choice-text{font-size:calc((17px) * var(--text-scale,1)) !important;line-height:1.35}.private-client .compact-ballot-bar{min-height:140px}.private-client .ballot-controls{flex:1 0 100%;min-width:0}.private-client .ballot-task h1{font-size:calc((22px) * var(--text-scale,1)) !important}.private-client .ballot-guided .compact-ballot-bar .ballot-slots{width:100%;height:auto;min-height:44px;display:flex;gap:5px}.private-client .ballot-guided .compact-ballot-bar .ballot-slot{flex:1;min-width:0;min-height:44px;height:auto;padding:5px;flex-direction:column;align-items:center;justify-content:center;gap:3px}.private-client .ballot-guided .compact-ballot-bar .ballot-slot strong{font-size:calc((10px) * var(--text-scale,1));max-width:none;white-space:nowrap}
 .private-client .ballot-step-cue{pointer-events:none}.private-client .timer-prominent{max-width:100px}
}

.lobby-left .play-screen-setup{margin-bottom:12px}

.lobby .lobby-right{gap:8px}.lobby .lobby-right .panel-card{padding:8px 14px}.lobby .lobby-right .panel-head{margin-bottom:4px}.lobby .lobby-right .rule-line{padding:2px 0}.lobby .room-access p{margin-top:4px}

@media(max-width:900px), (max-height:500px){
 .private-client .compose-hand .hand-card{height:auto;min-height:0}
 .private-client .compose-hand .vhs-choice{width:100%;height:auto!important;aspect-ratio:auto;min-height:140px}
 .private-client .compose-hand .vhs-choice .sleeve{position:relative;inset:auto;margin-left:16px;height:auto;min-height:140px;padding:6px 6px 18px}
 .private-client .compose-hand .vhs-choice .answer-text{height:auto;min-height:0;max-height:none;font-size:calc((15px) * var(--text-scale,1)) !important;line-height:1.25!important;overflow:visible;white-space:normal;overflow-wrap:normal}
}

/* Private controls must fit the viewport; paging replaces a scrolling hand. */
.private-pages{display:none}
.private-client{overflow:hidden}
.private-director-choice .compose-hand{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:900px), (max-height:500px){
 .private-client .private-stage{padding:8px;box-sizing:border-box}
 .private-client .round-ballot{padding:0;gap:8px}
 .private-client .ballot-workspace{display:flex;flex:1;min-height:0;overflow:hidden;padding:0}
 .private-client .ballot-workspace .take-index{display:flex!important;flex:1;min-height:0;height:100%;padding:0;overflow:hidden}
 .private-client .take-index .take-choice{flex:1;min-height:0;height:100%;box-sizing:border-box;padding:12px!important;display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;overflow:hidden}
 .private-client .take-choice-text{font-size:clamp(16px,2.7dvh,22px)!important;line-height:1.3}
 .private-client .take-choice-label{width:auto;padding:0;font-size:12px}
 .private-client .private-pages{display:flex;align-items:center;justify-content:space-between;gap:8px;height:44px;flex:none}
 .private-client .private-pages .btn{width:64px;min-height:44px;padding:5px;font-size:22px}
 .private-client .private-pages [role=status]{font:13px 'Space Mono',monospace}
 .private-client .ballot-guided .compact-ballot-bar{display:grid;grid-template-columns:minmax(0,1fr) 164px;grid-template-rows:auto 44px;gap:8px;height:auto;min-height:0;flex:0 0 auto;padding:0}
 .private-client .ballot-guided .ballot-controls{grid-column:1/-1;min-width:0;display:flex;flex-direction:column;gap:6px}
 .private-client .ballot-guided .ballot-task{height:auto;min-height:0;display:block}
 .private-client .ballot-guided .ballot-task .phase-title{font-size:22px!important;line-height:1.2}
 .private-client .ballot-guided .ballot-task>.f-mono{font-size:11px;line-height:1.3;display:block}
 .private-client .ballot-guided .compact-ballot-bar .ballot-slots{flex:none;height:44px;min-height:44px}
 .private-client .ballot-guided .compact-ballot-bar>.btn{grid-column:1;grid-row:2;min-width:0;margin:0;font-size:12px;padding:6px}
 .private-client .ballot-guided .compact-ballot-bar>.decision-clock{grid-column:2;grid-row:2;width:164px;min-width:164px;height:44px;min-height:44px;padding:0;box-sizing:border-box}
 .private-client .ballot-step-cue{inset:10px 8px auto;max-width:none;padding:10px}
 .private-client .ballot-step-cue>span{font-size:26px}
 .private-client .ballot-step-cue small{font-size:10px}
 .private-client .round-compose .round-heading{display:flex;flex-wrap:wrap;min-height:44px}
 .private-client .round-compose .round-heading .phase-title{flex:1;min-width:0;font-size:21px!important;line-height:1.2}
 .private-client .round-compose .round-heading .cast-progress{display:none}
 .private-client .round-compose .round-heading .decision-clock{width:190px;min-width:190px;height:44px;padding:0;min-height:44px}
 .private-client .private-paged-hand .compose-prompt{flex:1;min-height:0;max-height:none;overflow:hidden;display:flex;align-items:center}
 .private-client .private-paged-hand .compose-prompt .prompt-card{width:100%;box-sizing:border-box}
 .private-client .private-paged-hand .compose-prompt .prompt-quote{font-size:clamp(16px,2.7dvh,22px)!important}
 .private-client .round-compose .compose-hand{flex:1;min-height:0;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;grid-auto-rows:auto;align-content:stretch;padding:0}
 .private-client .round-compose .compose-hand .hand-card{height:100%;min-height:0;display:flex;align-items:center}
 .private-client .round-compose .compose-hand .vhs-choice{height:auto!important;min-height:170px;width:100%}
 .private-client .round-compose .compose-hand .vhs-choice .sleeve{min-height:170px;padding:10px 12px 25px}
 .private-client .round-compose .compose-hand .answer-text{font-size:20px!important;line-height:1.25!important}
 .private-client .private-paged-hand [hidden]{display:none!important}
 .private-client .round-compose .round-action-bar{flex:none;min-height:44px;padding:0;flex-wrap:nowrap}
 .private-client .round-compose .round-action-bar>.f-mono{flex:1;min-width:0}
 .private-client .round-compose .round-action-bar>.btn{flex:none;min-height:44px}
 .private-client .compose-wait{overflow:hidden}
}
@media(max-width:900px), (max-height:500px){
 body.private-client .ballot-guided .compact-ballot-bar{height:auto!important;min-height:0!important;flex-basis:auto!important;padding:0!important}
 body.private-client .ballot-guided .ballot-task{min-height:0!important}
 body.private-client .ballot-guided .compact-ballot-bar .decision-clock strong{line-height:1;font-size:38px}
}
@media(max-width:900px), (max-height:500px){
 body.private-client .ballot-guided .compact-ballot-bar .ballot-slot .slot-label{height:14px;min-height:14px;line-height:14px;flex:none}
 body.private-client .ballot-guided .compact-ballot-bar .ballot-slot strong{height:14px;min-height:14px;line-height:14px;flex:none}
 body.private-client .round-ballot{justify-content:flex-start}
}
@media(max-width:900px), (max-height:500px){
 .private-client .private-pages:has(.private-quote-link) .btn{width:44px}
 .private-client .private-pages .private-quote-link{width:auto!important;font:12px 'Space Mono',monospace;padding:5px 8px}
 .private-client .private-pages:has(.private-quote-link) [role=status]{font-size:11px}
}
@media(max-width:900px), (max-height:500px){
 .private-client .private-paged-hand .prompt-quote .blank.filled{font:inherit;display:inline;padding:0 2px;white-space:normal;box-decoration-break:clone;-webkit-box-decoration-break:clone}
}
@media(min-width:601px) and (max-height:500px){
 .private-client .round-ballot{display:grid!important;grid-template-columns:minmax(0,1fr) 300px;grid-template-rows:minmax(0,1fr) 44px;gap:12px}
 .private-client .ballot-workspace{grid-column:1;grid-row:1/3}
 .private-client .round-ballot>.private-pages{grid-column:2;grid-row:2}
 .private-client .ballot-guided .compact-ballot-bar{grid-column:2;grid-row:1;align-self:center}
 .private-client .take-choice-text{font-size:18px!important}
 .private-client .round-compose{display:grid!important;grid-template-columns:minmax(0,1fr) 280px;grid-template-rows:auto 44px 1fr;gap:12px}
 .private-client .round-compose>.round-heading{grid-column:2;grid-row:1;flex-direction:column}
 .private-client .round-compose>.compose-prompt,.private-client .round-compose>.compose-hand,.private-client .round-compose>.compose-wait{grid-column:1;grid-row:1/4}
 .private-client .round-compose>.private-pages{grid-column:2;grid-row:2}
 .private-client .round-compose>.round-action-bar{grid-column:2;grid-row:3;align-self:end;flex-wrap:wrap}
 .private-client .round-compose>.round-action-bar>.btn{width:100%}
 .private-client .private-paged-hand .compose-prompt .prompt-quote{font-size:18px!important}
}
@media(max-width:900px), (max-height:500px){
 body.private-client .private-pages{height:auto;min-height:44px;display:block;flex:none}
 body.private-client .private-page-grid{display:grid;gap:4px}
 body.private-client .private-pages .private-page-number{width:auto;min-width:0;height:38px;min-height:38px;padding:3px;display:flex;align-items:center;justify-content:center;gap:5px;font:13px 'Space Mono',monospace;background:#201b17;color:#eee0c1;border:1px solid #75654d;box-shadow:none;transform:none}
 .private-client .private-page-number small{font-size:10px}
 body.private-client .private-pages .private-page-number.current{outline:2px solid #efe3c8;outline-offset:-3px}
 body.private-client .private-pages .private-page-number[data-rank="1"]{background:#514709;border-color:#f1d827;color:#ffe64c}
 body.private-client .private-pages .private-page-number[data-rank="2"]{background:#153f43;border-color:#6fc9d1;color:#a1e9ef}
 body.private-client .private-pages .private-page-number[data-rank="3"]{background:#3b2854;border-color:#b697dc;color:#d9b9ff}
 body.private-client .private-pages .private-page-number[data-rank="cut"]{background:#48191b;border-color:#ef7568;color:#ffaaa0}
 .private-client .private-page-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px;font:11px 'Space Mono',monospace}
 body.private-client .private-page-heading .btn{width:auto;min-height:32px;padding:4px 10px;font-size:12px}
 body.private-client .quote-page-nav>.btn{width:100%;min-height:44px;font-size:14px}
 body.private-client .hand-pages .private-page-number{font-size:12px;gap:2px;flex-direction:column;height:38px}
}
@media(min-width:601px) and (max-height:500px){
 body.private-client .round-ballot{grid-template-rows:minmax(0,1fr) auto}
 body.private-client .round-compose{grid-template-rows:auto auto 1fr}
}

/* Comparison-first private ballot. Only the chosen detail is a full quote;
   previews are deliberately excerpts, never hidden voting controls. */
.private-ballot{flex:1;min-height:0;min-width:0;display:flex;flex-direction:column;gap:10px;width:100%;overflow:hidden;--private-tone:#f2d82b}
.private-ballot[data-step="2"]{--private-tone:#8cdbe4}.private-ballot[data-step="3"]{--private-tone:#c3a2ef}.private-ballot[data-step="cut"]{--private-tone:#fa8176}
.private-vote-heading{flex:none}.private-vote-heading h1{font:28px/1.2 'Anton',sans-serif;color:var(--private-tone);margin:0}.private-vote-heading p{font:14px/1.35 'Space Mono',monospace;margin:4px 0 0;color:#d2c9b8}
.private-vote-steps{display:flex;gap:6px;flex:none}.private-vote-steps .btn{flex:1;min-width:0;min-height:36px;padding:4px 8px;font:14px/1.2 'Space Mono',monospace;background:#171311;border:1px solid #6b5b48;box-shadow:none;display:flex;align-items:center;justify-content:center;gap:8px;color:#e7dcc8}.private-vote-steps [aria-current="step"]{border-color:var(--private-tone);box-shadow:inset 0 -3px var(--private-tone)}
.private-vote-steps small{font-size:12px}.private-ballot [data-rank="1"]{--choice-color:#f2d82b;--choice-bg:#39320e}.private-ballot [data-rank="2"]{--choice-color:#8cdbe4;--choice-bg:#173339}.private-ballot [data-rank="3"]{--choice-color:#c3a2ef;--choice-bg:#30243d}.private-ballot [data-rank="cut"]{--choice-color:#fa8176;--choice-bg:#381b1d}
.private-vote-steps .btn[data-rank]{color:var(--choice-color)}
.private-compare-grid{flex:1;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(var(--take-rows),minmax(0,1fr));gap:8px}
.private-answer-preview{appearance:none;min-height:0;min-width:0;overflow:hidden;text-align:left;display:flex;flex-direction:column;gap:6px;padding:12px;background:linear-gradient(125deg,#27221c,#171410);color:#efe3cc;border:1px solid #75634c;border-radius:2px;cursor:pointer}
.private-answer-preview[data-rank]{border-color:var(--choice-color);background:var(--choice-bg)}.private-answer-preview.own-preview{background:#191716;color:#b8b0a2}
.private-preview-label{display:flex;justify-content:space-between;gap:6px;flex:none;font:11px/1.2 'Space Mono',monospace;color:var(--choice-color,#bfb09a)}.private-preview-label strong{font-weight:700;font-size:10px}.private-preview-answer{font:700 19px/1.3 'Georgia',serif;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}
.private-full-take{flex:1;min-height:0;display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid var(--choice-color,#85745d);background:linear-gradient(125deg,#27221c,#171410);overflow:hidden}
.private-take-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;font:12px 'Space Mono',monospace;color:var(--choice-color,#d6c6ab)}.private-take-heading .btn{min-height:36px;padding:5px 10px;font:13px 'Space Mono',monospace;box-shadow:none}
.private-combo{margin:auto 0;font-size:26px;line-height:1.3;overflow-wrap:break-word}.private-combo .ans{background:var(--choice-color,#f3df91);color:#15110a;box-decoration-break:clone;-webkit-box-decoration-break:clone;font-weight:700;padding:0 2px}.private-choice-reason{margin:0;flex:none;font:13px/1.3 'Space Mono',monospace;color:#e2d3bc}
.private-full-take>.private-take-select{flex:none;min-height:44px;padding:8px;font-size:14px;line-height:1.25;white-space:normal;box-shadow:none}
.private-vote-footer{flex:none;display:flex;gap:10px;align-items:center;min-height:52px}.private-vote-action{flex:1;min-width:0}.private-vote-action>.btn{width:100%;min-height:48px;padding:6px;font-size:15px;line-height:1.2;white-space:normal}.private-vote-action>span{font:13px 'Space Mono',monospace}.private-vote-footer .decision-clock{width:164px;min-width:164px;flex:0 0 164px;height:48px;min-height:48px;padding:0;box-sizing:border-box}.private-vote-footer .decision-clock strong{font-size:38px;line-height:1}
.private-answer-preview:focus-visible,.private-ballot .btn:focus-visible{outline:3px solid #fff0d2;outline-offset:-4px}
.private-full-take{animation:private-take-in 140ms ease-out both}@keyframes private-take-in{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:600px){
 .private-ballot{gap:8px}.private-vote-heading h1{font-size:23px}.private-vote-heading p{font-size:12px}.private-answer-preview{padding:9px;gap:5px}.private-preview-answer{font-size:17px}.private-full-take{padding:12px;gap:8px}.private-combo{font-size:20px}.private-vote-footer{gap:8px}.private-vote-action>.btn{font-size:13px}.private-take-heading{font-size:11px}
}
@media(max-height:650px){
 .private-ballot{gap:6px}.private-vote-heading h1{font-size:22px}.private-vote-heading p{font-size:11px;margin-top:2px}.private-answer-preview{padding:7px;gap:4px}.private-preview-answer{font-size:15px;line-height:1.2;-webkit-line-clamp:2}.private-preview-label{font-size:10px}.private-preview-label strong{font-size:9px}.private-compare-grid{gap:5px}.private-full-take{padding:10px;gap:6px}.private-combo{font-size:17px;line-height:1.3}.private-vote-footer{min-height:48px}.private-choice-reason{font-size:11px}
}
@media(min-width:601px) and (max-height:500px){
 .private-ballot{display:grid;grid-template-columns:minmax(0,1fr) 280px;grid-template-rows:auto 36px minmax(0,1fr) 48px;gap:10px}
 .private-vote-heading{grid-column:2;grid-row:1}.private-vote-steps{grid-column:2;grid-row:2}.private-compare-grid,.private-full-take{grid-column:1;grid-row:1/5}.private-vote-footer{grid-column:2;grid-row:4}.private-vote-footer .decision-clock{width:164px}.private-vote-heading p{font-size:12px}.private-preview-answer{font-size:15px}.private-combo{font-size:18px}
}
/* Short landscape phones keep the line beside a narrow voting console. Put
   Back and the draft selection on one row so the full take retains its height. */
@media(min-width:500px) and (max-height:500px){
 .private-ballot{display:grid;grid-template-columns:minmax(0,1fr) clamp(172px,26vw,220px);grid-template-rows:auto 36px minmax(0,1fr) auto;gap:6px 8px}
 .private-vote-heading{grid-column:2;grid-row:1}.private-vote-heading h1{font-size:18px;line-height:1.12}.private-vote-heading p{font-size:11px;line-height:1.2;margin-top:3px}
 .private-vote-steps{grid-column:2;grid-row:2;gap:4px}.private-vote-steps .btn{font-size:12px;padding:3px;gap:2px;min-height:36px}
 .private-compare-grid,.private-full-take{grid-column:1;grid-row:1/5}
 .private-vote-footer{grid-column:2;grid-row:4;flex-direction:column;align-items:stretch;gap:6px;min-height:0}
 .private-vote-action{flex:none;width:100%}.private-vote-action>.btn{min-height:44px;font-size:13px;padding:6px}
 .private-vote-footer .decision-clock{flex:0 0 44px;width:164px;min-width:164px;height:44px;min-height:44px;margin-inline:auto}
 .private-full-take{display:grid;grid-template-columns:100px minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto 44px;padding:9px;gap:6px}
 .private-take-heading{display:contents}.private-take-heading>span{display:none}
 .private-take-heading>.btn{grid-column:1;grid-row:3;min-height:44px;margin:0;padding:5px;font-size:12px;white-space:normal}
 .private-combo{grid-column:1/-1;grid-row:1;align-self:center;margin:0;font-size:clamp(16px,2vw,18px);line-height:1.22}
 .private-choice-reason{grid-column:1/-1;grid-row:2;font-size:11px;line-height:1.2}
 .private-full-take>.private-take-select{grid-column:2;grid-row:3;min-height:44px;font-size:13px;margin:0;padding:5px}
}
@media(prefers-reduced-motion:reduce){.private-full-take{animation:none}}
body.reduce-motion .private-full-take{animation:none}
.private-preview-answer{display:flex;flex-direction:column;gap:5px;-webkit-line-clamp:unset}
.private-preview-fill{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;flex-shrink:0}
.private-preview-answer[data-fills="2"] .private-preview-fill,.private-preview-answer[data-fills="3"] .private-preview-fill{-webkit-line-clamp:2}
.private-preview-fill+.private-preview-fill{border-top:1px solid #9c896344;padding-top:4px}
@media(max-width:600px) and (min-height:651px){.private-combo{font-size:24px}}
@media(max-height:650px){.private-preview-answer{gap:3px}.private-preview-fill{-webkit-line-clamp:2}.private-preview-answer[data-fills="2"] .private-preview-fill,.private-preview-answer[data-fills="3"] .private-preview-fill{-webkit-line-clamp:1}.private-preview-fill+.private-preview-fill{padding-top:2px}}
@media(max-height:650px){
 .private-answer-preview{padding:5px;gap:3px}.private-preview-answer{font-size:14px;gap:2px}
 .private-preview-answer[data-fills="2"] .private-preview-fill:first-child{-webkit-line-clamp:2}
}
@media(min-width:601px) and (max-height:500px){
 .private-preview-answer[data-fills="2"] .private-preview-fill:first-child{-webkit-line-clamp:1}
}
@media(min-width:901px) and (min-height:501px){
 .private-compare-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(var(--take-rows-wide),minmax(0,1fr))}
}
.private-client .cs-root:has(.private-ballot){--scan-opacity:0}
@media(min-width:901px) and (min-height:651px){
 .private-preview-answer{font-size:18px}
 .private-preview-answer .private-preview-fill{display:block;-webkit-line-clamp:unset}
}
@media(max-width:900px), (max-height:650px){.private-preview-answer[data-fills="3"] .private-preview-fill{-webkit-line-clamp:1}}

/* Joining and connection feedback must remain operable without scrolling. */
.private-client .private-wait{box-sizing:border-box;max-width:640px;width:100%;padding:16px;}
.private-client .private-wait h1{margin:0 0 16px;font-size:clamp(28px,calc(30px * var(--text-scale,1)),36px);line-height:1.15}
.private-client .private-wait p{font-size:clamp(16px,calc(17px * var(--text-scale,1)),20px);line-height:1.35;margin:12px 0}
.private-join{display:flex;flex-direction:column;gap:14px;text-align:left}
.private-join-fields{display:grid;gap:12px}.private-join-fields label{display:block;font-size:clamp(16px,calc(16px * var(--text-scale,1)),19px)}
.private-join .party-field{align-items:center;margin-top:6px}.private-join .party-field>.btn{margin:0;min-height:44px}
.private-join .party-field input{box-sizing:border-box;width:100%;min-width:0;min-height:46px;padding:8px 12px;background:#080706;color:#fff3d8;border:1px solid #887454;font-size:20px}
.private-join-actions{display:grid;gap:10px}.private-join-actions .btn{min-height:44px;font-size:15px;padding:8px}
.private-client .private-join p[role="status"]{margin:0;font-size:16px}.private-join p:empty{display:none}
@media(min-width:601px) and (max-height:500px){
 .private-client .private-wait{padding:8px 16px;max-width:800px}.private-client .private-wait h1{font-size:28px;margin-bottom:8px}
 .private-client .private-wait p{font-size:16px;margin:8px 0}
 .private-join{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:10px 24px}
 .private-join h1{grid-column:1/-1}.private-join-fields{grid-column:1;gap:8px}.private-join-actions{grid-column:2;align-content:center}
 .private-join p[role="status"]{grid-column:1/-1}.private-join .party-field input{min-height:44px}
}
@media(max-width:600px) and (max-height:650px){.private-client .private-wait{padding:10px}.private-join{gap:12px}.private-join-fields{gap:10px}}

/* The full eight-seat lobby must fit before any focus movement. */
.lobby .play-screen-choices .btn{padding:6px 10px;min-height:36px;white-space:nowrap}
.lobby .play-screen-setup p{font-size:clamp(12px,calc(12px * var(--text-scale,1)),14px);line-height:1.25;margin-top:5px}
.lobby .lobby-rule-summary{display:grid;grid-template-columns:1fr 1fr;column-gap:18px;row-gap:4px;flex:none}
.lobby .lobby-rule-summary .panel-head{grid-column:1/-1}
.lobby .lobby-rule-summary .rule-line{min-width:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;padding:0;min-height:44px}
.lobby .lobby-rule-summary .rule-line:first-of-type{flex-direction:row;align-items:center;justify-content:space-between}
.lobby .lobby-rule-summary .rl-lbl{font-size:12px;letter-spacing:.05em}.lobby .lobby-rule-summary .rl-val{font-size:13px;line-height:1.2;white-space:normal}
.lobby .lobby-rule-summary .stepper button{width:32px;height:32px}.lobby .lobby-rule-summary .stepper span{font-size:26px}
.lobby .lobby-right{gap:7px}.lobby .lobby-right>.panel-card{flex:none}

.lobby-title .tutorial-rule{justify-content:flex-start;margin-top:6px;gap:14px;padding:0}.lobby-title .tutorial-rule .btn{padding:4px 8px}

/* Phone hand: readable answer choices with one-tap selection. The quote stays
   visible; only groups of cards page when the available space requires it. */
.private-submit{display:flex;flex-direction:column;gap:8px;flex:1;min-height:0;min-width:0;overflow:hidden}
.private-submit>h1,.private-submit-heading h1{margin:0;font:26px/1.15 'Anton',sans-serif;color:#f3e9ce;flex:none}
.private-hand-prompt{flex:none;padding:12px;background:#262018;border-left:3px solid #f2d82b;color:#f3e9ce;font:clamp(17px,calc(18px * var(--text-scale,1)),23px)/1.25 Georgia,serif;overflow-wrap:break-word}
.private-hand-prompt .blank{display:inline!important;white-space:normal!important;font:inherit!important;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.private-hand-instruction{flex:none;margin:0;font:clamp(12px,calc(13px * var(--text-scale,1)),16px)/1.3 'Space Mono',monospace;color:#d4c7af}
.private-hand{flex:1;display:flex;flex-direction:column;gap:6px;min-height:0;min-width:0}
.private-hand-grid{position:relative;flex:1;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(var(--hand-rows),minmax(0,1fr));gap:6px;overflow:hidden}
.private-hand-choice{appearance:none;box-sizing:border-box;min-width:0;min-height:44px;padding:10px 9px;display:flex;align-items:center;gap:6px;text-align:left;background:#efe6cf;color:#211a14;border:2px solid #b5a58b;border-radius:4px;font:600 clamp(16px,calc(17px * var(--text-scale,1)),22px)/1.2 Georgia,serif;overflow-wrap:break-word;cursor:pointer;touch-action:manipulation}
.private-hand-choice>span:last-child{min-width:0}
.private-hand-mark{flex:0 0 14px;align-self:flex-start;margin-top:2px;width:14px;height:14px;border:1px solid #776b54;border-radius:3px;font:700 12px/14px 'Space Mono',monospace;text-align:center}
.private-hand-choice[aria-pressed="true"]{background:#f2db37;border-color:#f8e980;color:#17130b;box-shadow:inset 0 0 0 1px #594e18}
.private-hand-choice[aria-pressed="true"] .private-hand-mark{background:#211b10;color:#fff2b4;border-color:#211b10}
.private-hand-choice:disabled{cursor:default;opacity:1}
.private-hand-choice:focus-visible{outline:3px solid #00cdd2;outline-offset:-5px}
.private-hand-measure{position:absolute;inset:0 0 auto;visibility:hidden;pointer-events:none;display:grid;grid-template-columns:inherit;gap:6px}
.private-hand-measure .private-hand-choice{height:auto;align-self:start}
.private-hand-nav{display:flex;align-items:center;justify-content:space-between;gap:6px;flex:none;min-height:44px}
.private-hand-nav>span{flex:1;text-align:center;font:12px/1.25 'Space Mono',monospace;color:#c9b99c}
.private-hand-nav .btn{min-height:44px;padding:6px 10px;box-shadow:none;font:13px 'Space Mono',monospace}
.private-hand-footer{display:flex;align-items:center;gap:8px;flex:none;min-height:48px}
.private-hand-footer>.btn{flex:1;min-width:0;min-height:48px;padding:6px;font-size:15px;white-space:normal}
.private-hand-footer>.decision-clock{width:164px;min-width:164px;height:48px;min-height:48px;padding:0;box-sizing:border-box}
.private-hand-footer .decision-clock strong{font-size:38px;line-height:1}
.private-hand-wait{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:center;text-align:center;font-size:18px}.private-hand-wait h2{font:24px 'Anton',sans-serif}
.private-client .cs-root:has(.private-submit){--scan-opacity:0}
@media(max-width:360px){.private-hand-choice{padding:8px 6px;gap:4px}.private-hand-prompt{padding:9px}.private-hand-footer>.btn{font-size:13px}}
@media(max-height:650px){.private-submit{gap:6px}.private-submit>h1,.private-submit-heading h1{font-size:22px}.private-hand-prompt{padding:8px;font-size:clamp(16px,calc(17px * var(--text-scale,1)),21px)}.private-hand-choice{padding-top:7px;padding-bottom:7px}}
@media(min-width:500px) and (max-height:500px){
 .private-submit{display:grid;grid-template-columns:220px minmax(0,1fr);grid-template-rows:auto auto 1fr auto;gap:8px 14px}
 .private-submit>h1,.private-submit-heading h1{grid-column:1;grid-row:1}.private-hand-prompt{grid-column:1;grid-row:2}.private-hand-instruction{grid-column:1;grid-row:3}.private-hand{grid-column:2;grid-row:1/4}.private-hand-footer{grid-column:1/-1;grid-row:4}
}

.private-submit-heading{display:flex;gap:8px;align-items:center;justify-content:space-between;flex:none}.private-submit-heading h1{margin:0}
.private-submit-heading>.btn{flex:none;min-height:36px;padding:5px 8px;font:12px 'Space Mono',monospace;box-shadow:none}
.private-hand-wrap{display:flex;flex:1;min-height:0;min-width:0}
.private-submit [hidden]{display:none!important}
.private-submit .prompt-quote{margin:0;line-height:1.25}
.private-hand-preview{display:block;flex:1;min-height:0;padding:16px;background:#262018;color:#f3e9ce;font:clamp(19px,calc(22px * var(--text-scale,1)),26px)/1.35 Georgia,serif;overflow-wrap:break-word}
.private-hand-preview .blank{display:inline;white-space:normal;font:inherit;box-decoration-break:clone;-webkit-box-decoration-break:clone}
@media(min-width:500px) and (max-height:500px){.private-submit-heading{grid-column:1;grid-row:1;flex-wrap:wrap}.private-hand-wrap,.private-hand-preview{grid-column:2;grid-row:1/4}}

@media(max-width:360px){.private-hand-grid,.private-hand-measure{grid-template-columns:minmax(0,1fr)}}

@media(min-width:500px) and (max-height:500px){
 .private-submit{position:relative}
 .private-submit-heading{flex-wrap:nowrap}
 .private-submit-heading>.btn{position:absolute;left:0;bottom:0;min-height:48px;width:110px;z-index:1}
 .private-submit:has(.private-submit-heading) .private-hand-footer>.btn{margin-left:118px}
 .private-submit>h1,.private-submit-heading h1{font-size:22px}
 .private-hand-prompt{font-size:17px!important}
 .private-hand-instruction{font-size:12px}
 .private-hand-choice{font-size:clamp(16px,calc(16px * var(--text-scale,1)),18px)}
 .private-hand-preview{grid-column:1/-1;font-size:18px!important}
 .private-submit:has(.private-hand-preview) .private-submit-heading h1{visibility:hidden}
 .private-submit[data-waiting="true"]{display:flex}
 .private-submit[data-waiting="true"] .private-hand-wait{font-size:14px}
 .private-submit[data-waiting="true"] .private-hand-wait h2{display:none}
 .private-submit[data-waiting="true"] .private-hand-wait p{margin:0}
}
/* Override the legacy phone PromptCard rule; it otherwise re-enlarges this
   compact quote independently of the available hand space. */
.private-client .private-submit .private-hand-prompt{font-size:clamp(17px,calc(18px * var(--text-scale,1)),23px)!important}
.private-client .private-submit .private-hand-preview{font-size:clamp(19px,calc(22px * var(--text-scale,1)),26px)!important}
@media(max-height:650px){.private-client .private-submit .private-hand-prompt{font-size:clamp(16px,calc(17px * var(--text-scale,1)),21px)!important}}
@media(min-width:500px) and (max-height:500px){.private-client .private-submit .private-hand-prompt{font-size:17px!important}.private-client .private-submit .private-hand-preview{font-size:18px!important}}
@media(min-width:500px) and (max-width:650px) and (max-height:500px){.private-hand-choice{font-size:16px}}

.private-submit .prompt-quote .blank:not(.filled){display:inline-block!important;min-width:1.7em;border-bottom:2px solid #f2d82b}
.private-submit .prompt-quote .blank.n::after{top:0;font-size:.65em;line-height:1.5;color:#f2d82b}
.private-submit .prompt-quote .blank.filled{transform:none;border-bottom:0;background:#f2db37;color:#211a14;font-weight:700;box-shadow:none}

.private-submit[data-submitted="true"] .private-hand-wait h2{display:none}
.private-client .private-submit[data-submitted="true"] .private-hand-prompt{font-size:clamp(16px,2.5dvh,21px)!important}
@media(max-height:650px){.private-client .private-submit .private-hand-preview{font-size:clamp(17px,2.6dvh,21px)!important}}
.private-error{flex:none;margin:0;padding:9px 14px;background:#3c2220;border-bottom:1px solid #b84a39;color:#fff1d2;font-size:16px;line-height:1.3}
.private-auto-take{margin:18px 0;padding:16px;border:1px solid #917b4b;background:#201b15;font-family:'Libre Baskerville',serif;font-size:20px;line-height:1.45;text-align:left}
@media(max-height:500px){.private-auto-take{margin:8px 0;padding:8px;font-size:16px;line-height:1.3}}
