/* Original light Playroom broadcast. Physical cards/seats never mirror in RTL. */
html .host-page[data-game=concan] #stage{display:flex;flex-direction:column;min-height:0;padding:clamp(8px,1.2cqw,28px)}
html .host-page #stage .concan-broadcast{flex:1;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:clamp(6px,1cqh,20px)}
html .host-page #stage .concan-broadcast :is(h1,h2,p){margin:0;max-width:none;overflow-wrap:anywhere}
html .host-page #stage .concan-broadcast-header h1{font-size:clamp(22px,3cqw,72px);line-height:1.2}
html .host-page #stage .concan-broadcast-header>p{font-size:clamp(12px,1.45cqw,34px);line-height:1.3}
html .host-page #stage .concan-broadcast-body{display:grid;grid-template-columns:minmax(0,68fr) minmax(0,32fr);gap:clamp(6px,1cqw,24px);min-height:0;direction:ltr}
html .host-page #stage .concan-broadcast-board{display:grid;grid-template-rows:auto minmax(48px,22%) minmax(0,1fr);gap:clamp(4px,1cqh,16px);min-height:0;border-radius:24px;padding:clamp(8px,1cqw,24px);background:var(--dw-ink);color:var(--dw-sand)}
html .host-page #stage .concan-table-caption{text-align:center;font-size:clamp(13px,1.6cqw,36px);line-height:1.2}
.concan-public-piles{display:flex;justify-content:center;gap:clamp(16px,4cqw,80px);min-height:0;direction:ltr}
.concan-public-pile{display:grid;grid-template-rows:minmax(0,1fr) auto;justify-items:center;gap:4px;min-height:0}
.concan-public-pile>small{font-size:clamp(12px,1.3cqw,32px);line-height:1.3}
.concan-public-pile>.concan-public-card{height:100%;width:auto;aspect-ratio:.7}
.concan-public-pile :is(.concan-card-back,.concan-empty-card){display:grid;place-items:center;height:100%;width:auto;aspect-ratio:.7;box-sizing:border-box;border:1px solid var(--dw-line);border-radius:8px;background:var(--dw-coral);color:var(--dw-sand)}
.concan-public-melds-grid{display:grid;grid-auto-rows:minmax(0,1fr);gap:clamp(4px,.6cqw,12px);min-height:0;direction:ltr}
.concan-public-melds-grid[data-density=single]{grid-template-columns:minmax(0,1fr)}
.concan-public-melds-grid[data-density=small]{grid-template-columns:repeat(2,minmax(0,1fr))}
.concan-public-melds-grid[data-density=medium]{grid-template-columns:repeat(3,minmax(0,1fr))}
.concan-public-melds-grid[data-density=dense]{grid-template-columns:repeat(4,minmax(0,1fr))}
.concan-public-meld{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:0;min-width:0;border:1px solid var(--dw-line);border-radius:12px;padding:clamp(3px,.4cqw,10px);gap:3px}
html .host-page #stage .concan-public-meld h2{font-size:clamp(11px,1.25cqw,30px);line-height:1.2;text-align:center}
.concan-public-cards{min-height:0;min-width:0;display:flex;justify-content:center;gap:2px;direction:ltr}
.concan-public-card{min-height:0;min-width:0;display:block;flex:1 1 0;max-width:160px;aspect-ratio:.7}
.concan-public-card svg{display:block;width:100%;height:100%}
html .host-page #stage .concan-joker-meaning{font-size:clamp(10px,1.05cqw,24px);line-height:1.2;direction:ltr;text-align:center}
.concan-public-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;text-align:center}
html .host-page #stage .concan-public-empty h2{font-size:clamp(26px,5cqw,100px)}
html .host-page #stage .concan-public-empty p{font-size:clamp(14px,1.6cqw,38px)}
.concan-broadcast-scores{display:flex;flex-direction:column;gap:clamp(6px,1cqh,20px);min-height:0}
.concan-broadcast-seat{flex:1;display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;align-items:center;gap:4px;padding:clamp(6px,1cqw,24px);border:1px solid var(--dw-line);border-radius:16px;background:var(--dw-sand);color:var(--dw-ink);min-height:0;min-width:0}
.concan-broadcast-seat.active,.concan-broadcast-seat.winner{border:2px solid var(--dw-coral)}
html .host-page #stage .concan-broadcast-seat h2{font-size:clamp(14px,1.75cqw,42px);line-height:1.25}
.concan-broadcast-seat>strong{font-size:clamp(24px,3cqw,70px);line-height:1.2;text-align:center;font-variant-numeric:tabular-nums}
html .host-page #stage .concan-broadcast-seat>p{grid-column:1/-1;font-size:clamp(11px,1.2cqw,28px);line-height:1.25}
html[dir=rtl] .concan-broadcast-seat :is(h2,p){direction:rtl;text-align:right}
.concan-broadcast-footer{font-size:clamp(13px,1.45cqw,34px);line-height:1.35}
.concan-semantic-result{display:grid;gap:12px}.concan-semantic-result>h2{font-size:24px;line-height:1.25}.concan-semantic-result>p{font-size:15px;line-height:1.5}
.concan-result-reveal{display:grid;gap:10px}.concan-result-reveal .concan-public-cards{height:96px}
html .host-page #stage:has(>.concan-rules){padding:clamp(8px,1.2cqw,28px)}
html .host-page #stage .concan-rules{grid-template-rows:auto auto minmax(0,1fr) auto;gap:clamp(6px,1cqh,20px)}
html .host-page #stage .concan-rules>.eyebrow,html .host-page #stage .concan-rules>.stage-copy{display:none}
html .host-page #stage .concan-rules>h1{font-size:clamp(24px,3cqw,72px);line-height:1.15}
html .host-page #stage .concan-rules .tv-rule-list{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:clamp(6px,.8cqw,20px)}
html .host-page #stage .concan-rules .tv-rule{flex-direction:row;align-items:center;padding:clamp(6px,.8cqw,24px);gap:clamp(6px,.8cqw,20px);border-radius:16px}
html .host-page #stage .concan-rules .tv-rule b{width:clamp(22px,3cqw,64px);height:clamp(22px,3cqw,64px);flex-basis:clamp(22px,3cqw,64px);font-size:clamp(14px,1.5cqw,36px)}
html .host-page #stage .concan-rules .tv-rule span{font-size:clamp(13px,1.35cqw,34px);line-height:1.25;min-width:0}
html .host-page #stage .concan-rules>.response-meter{font-size:clamp(12px,1.4cqw,34px);line-height:1.3}
.concan-semantic-result .concan-result-score{min-height:72px;font-size:16px}
.concan-semantic-result .concan-result-score>b{font-size:30px}
.concan-semantic-result .concan-result-score>small{font-size:13px}
/* Draw is direct manipulation of the actual material, not a second A/B menu. */
html #controls .concan-object-draw-zone{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0;border:0;background:none}
html #controls .concan-object-pile{display:block;min-width:44px;min-height:160px;padding:12px;border:2px solid var(--primary);border-radius:16px;background:var(--surface);color:var(--ink);opacity:1;cursor:pointer;transition:transform .12s ease-out,background-color .12s ease-out}
.concan-pile-content{display:grid;width:100%;min-width:0;grid-template-columns:minmax(0,1fr);grid-template-rows:86px auto auto;gap:6px;place-items:center;pointer-events:none}
html #controls .concan-object-pile:disabled{border-color:var(--line);opacity:1;cursor:default}
html #controls .concan-object-pile strong{font-size:15px;line-height:1.3;color:var(--ink);font-weight:700;text-align:center;max-width:100%;min-width:0}
html #controls .concan-object-pile small{font-size:13px;line-height:1.3;color:var(--muted);text-align:center;letter-spacing:0;max-width:100%;min-width:0}
.concan-pile-material{display:grid;place-items:center;width:56px;height:80px;pointer-events:none;direction:ltr}
.concan-pile-material svg,.concan-card-back svg{display:block;width:100%;height:100%}
html #controls .concan-card-back{border:0;background:transparent;box-shadow:none}
.concan-empty-pile{font-size:32px;color:var(--muted)}
html #controls .concan-object-pile:active:not(:disabled){transform:scale(.97);background:var(--primary-soft)}
@media(prefers-reduced-motion:reduce){html #controls .concan-object-pile{transition:none}html #controls .concan-object-pile:active:not(:disabled){transform:none}}
.concan-private-meta b,.concan-candidate header>span{direction:ltr;unicode-bidi:isolate}
html .controller-page .concan-plan b{font-size:16px;line-height:1.3}
html .controller-page .concan-plan small{font-size:13px;line-height:1.35}
@media(max-height:540px){
 html .host-page[data-game=concan] .tv-narrator{padding:4px 10px;min-height:24px;font-size:12px}
 html .host-page[data-game=concan] #stage .concan-broadcast-board{padding:8px;gap:4px}
 html .host-page[data-game=concan] #stage .concan-public-meld{padding:3px;gap:2px}
}
/* Own-hand direct manipulation. Physical faces match the native card stock. */
html .concan-touch{display:grid;gap:12px;min-width:0;text-align:start}
html .concan-touch :is(h2,h3,p){margin:0;line-height:1.35;overflow-wrap:anywhere}
html .concan-touch h2{font-size:24px;color:var(--ink,#173F46)}
html .concan-touch h3{font-size:16px;color:var(--ink,#173F46)}
html .concan-touch-meta,html .concan-touch-selection,html .concan-touch-help{font-size:14px;color:var(--ink,#173F46)}
html .concan-touch :is(.button,.concan-touch-sort>button){min-height:44px;white-space:normal;line-height:1.3;border-radius:12px}
html .concan-touch-sort,html .concan-touch-dock,html .concan-touch-piles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0}
html .concan-touch-sort>span{grid-column:1/-1;font-size:12px;font-weight:700}
html .concan-touch-sort>button{padding:8px;border:1px solid var(--line,#dfcba9);background:var(--canvas,#FFF4DE);color:var(--ink,#173F46);font:inherit}
html .concan-touch [aria-pressed=true]:not(.concan-touch-card){border:2px solid var(--primary,#BF3D0A)}
html .concan-touch-hand{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;direction:ltr;min-width:0}
html .concan-touch .concan-touch-card{position:relative;display:block;width:100%;min-width:44px;min-height:76px;aspect-ratio:.7;height:auto;padding:3px;background:transparent;border:2px solid transparent;border-radius:10px;cursor:pointer;opacity:1;box-sizing:border-box;transition:transform .12s ease-out,border-color .12s ease-out;overflow:visible}
html .concan-touch-card>svg{display:block;width:100%;height:100%}
html .concan-touch-card:is(.selected,.staged){border-color:var(--dw-gold,#8D5F0B)}
html .concan-touch-card.selected{transform:translateY(-3px)}
html .concan-touch-card:is(.selected,.staged)::after{content:'✓';position:absolute;inset:1px 1px auto auto;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;color:#fff;background:var(--ink,#173F46);font:700 13px/1 system-ui}
html .concan-touch .concan-touch-card:disabled{opacity:1;cursor:default;filter:none}
html .concan-touch-group,html .concan-touch-detail{display:grid;gap:8px;padding:12px;border:1px solid var(--line,#dfcba9);border-radius:14px;background:var(--canvas,#FFF4DE);color:var(--ink,#173F46);min-width:0}
html .concan-touch-faces{display:flex;flex-wrap:wrap;gap:4px;direction:ltr}
html .concan-touch-face{display:block;flex:0 0 44px;width:44px;height:64px;min-width:0}
html .concan-touch-face>svg{display:block;width:100%;height:100%}
html .concan-touch-meaning{font-size:13px;line-height:1.4;direction:ltr;unicode-bidi:plaintext}
html .concan-touch-gallery{display:flex;gap:8px;overflow-x:auto;min-width:0;scroll-snap-type:x proximity;padding:2px;direction:ltr}
html .concan-touch-target{display:grid;gap:6px;flex:0 0 176px;min-width:176px;min-height:140px;padding:10px;border:1px solid var(--line,#dfcba9);border-radius:14px;background:var(--canvas,#FFF4DE);color:var(--ink,#173F46);font:inherit;scroll-snap-align:start;text-align:start;cursor:pointer}
html .concan-touch-target>strong{font-size:14px;line-height:1.3;overflow-wrap:anywhere}
html .concan-touch-target>small{font-size:12px}
html .concan-touch-fan{display:block;position:relative;width:144px;height:64px;direction:ltr}
html .concan-touch-fan>.concan-touch-face{position:absolute;top:0}
@media(prefers-reduced-motion:reduce){html .concan-touch-card{transition:none}html .concan-touch-card.selected{transform:none}}
@media(max-width:360px){html .concan-touch-hand{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:600px){html .concan-touch-hand{grid-template-columns:repeat(7,minmax(0,1fr))}}
