/* Kevin: no outer blue header box; give space back to the actual terrain. */
body:not(.is-setup) .status-strip{height:38px;min-height:38px;background:none;border:0;box-shadow:none;padding:0 345px 0 8px;}
body:not(.is-setup) .status-strip::before{content:none;display:none;border:0;background:none;}
body:not(.is-setup) .status-strip>div{height:32px;min-height:0;grid-template-rows:12px 20px;grid-template-columns:30px minmax(0,1fr);align-content:center;align-items:center;column-gap:8px;row-gap:0;}
body:not(.is-setup) .status-strip>div::before{width:30px;height:32px;}
body:not(.is-setup) .status-strip span{grid-row:1;align-self:center;height:12px;min-height:0;padding:0;margin:0;transform:none;font-size:9px;line-height:12px;}
body:not(.is-setup) .status-strip strong{grid-row:2;align-self:center;height:20px;min-height:0;padding:0;margin:0;transform:none;font-size:17px;line-height:20px;}
body:not(.is-setup) .topbar{height:38px;min-height:38px;align-self:center;margin-right:8px;}
body:not(.is-setup) .topbar-actions{height:38px;align-items:center;gap:6px;}
body:not(.is-setup) .topbar .icon-button{position:relative;inset:auto;align-self:center;align-items:center;justify-content:center;line-height:1;vertical-align:middle;}
body:not(.is-setup) .topbar .icon-button svg{width:20px;height:20px;}
body:not(.is-setup) .topbar .icon-button{width:38px;min-width:38px;height:38px;min-height:38px;flex-basis:38px;}
/* Status capsule: native live text, no full-width layout row. */
body:not(.is-setup) .reference-hud #actionHint{position:absolute;inset:auto 8px calc(100% + 6px) auto;z-index:125;grid-area:auto;justify-self:auto;display:flex;gap:7px;width:max-content;max-width:min(320px,calc(100% - 16px));min-height:28px;height:auto;max-height:none;margin:0;padding:4px 10px;border-radius:14px;font-size:11px;line-height:16px;white-space:normal;overflow:visible;pointer-events:none;}
body:not(.is-setup) .reference-hud #actionHint::before{flex-basis:17px;width:17px;height:17px;font-size:11px;}
body:not(.is-setup) .reference-hud .action-hint-text{min-width:0;overflow-wrap:anywhere;}
body:not(.is-setup) .reference-hud .action-hint-text::before,body:not(.is-setup) .reference-hud .action-hint-text::after{content:none;}
@media(min-width:1201px),(min-width:901px) and (pointer:fine){
body:not(.is-setup) .app-shell{grid-template-columns:minmax(0,1fr) clamp(340px,23vw,370px);grid-template-rows:38px minmax(0,1fr) 210px;gap:8px;padding:2px 8px 8px;}
body:not(.is-setup) .controls.reference-hud{height:100%;min-height:0;box-sizing:border-box;grid-template-rows:minmax(0,1fr);grid-template-areas:'hand action scores';}
body:not(.is-setup) .reference-hud .hud-hand-frame{container-type:size;min-height:0;}
body:not(.is-setup) .reference-hud #hand{box-sizing:border-box;padding:20px 26px 34px;}
body:not(.is-setup) .reference-hud .hand-slot{--hud-w:clamp(48px,min(calc((100cqw - 56px) / (var(--hand-count)*.6 + .4)),calc((100cqh - 44px) / 1.65)),112px);padding:0;min-height:0;}
body:not(.is-setup) .reference-hud .hand-slot.selected{transform:translateY(-8px) rotate(0deg) scale(1.02)!important;}
body:not(.is-setup) .log-panel{padding:10px;gap:10px;}
body:not(.is-setup) .journal-reference-v136{padding:18px 16px 16px;}
body:not(.is-setup) .log-panel h2{font-size:16px;}
body:not(.is-setup) .comms-journal-icon{width:30px;height:34px;}
body:not(.is-setup) .log-panel-head>div{gap:7px;}
body:not(.is-setup) #inGameChat{padding:18px 14px 14px;}
body:not(.is-setup) #inGameChat>.room-feature-head{gap:6px;}
body:not(.is-setup) #inGameChat>.room-feature-head strong{font-size:17px;gap:6px;}
body:not(.is-setup) .comms-chat-icon{width:30px;height:34px;}
body:not(.is-setup) #inGameChat>.room-feature-head>span{padding:5px 7px;font-size:10px;letter-spacing:.04em;}
body:not(.is-setup) #inGameChatForm{gap:7px;}
body:not(.is-setup) #inGameChatInput{font-size:13px;padding:8px;}
body:not(.is-setup) #inGameChatSend{width:110px;min-width:110px;height:54px;min-height:54px;}
body:not(.is-setup) .log-panel>#voice-controls{gap:6px;padding:12px 10px;}
body:not(.is-setup) .log-panel>#voice-controls [data-voice-action="join"]{flex:1 1 145px;min-width:145px;max-width:180px;height:56px;min-height:56px;}
body:not(.is-setup) .log-panel>#voice-controls .voice-session-status{flex:1 1 110px;min-width:110px;min-height:42px;padding:8px 5px;gap:6px;font-size:11px;}
body:not(.is-setup) .log-panel>#voice-controls .voice-session-status::before{width:16px;height:22px;}
body:not(.is-setup) .log-panel>#voice-controls .voice-session-status::after{width:18px;left:5px;top:16px;}
}
@media(max-width:900px),(max-width:1200px) and (pointer:coarse){
body:not(.is-setup) .app-shell{grid-template-rows:42px 48px minmax(0,1fr) auto;}
body:not(.is-setup) .status-strip{height:48px;min-height:48px;padding:3px 10px;}
body:not(.is-setup) .status-strip>div{grid-template-columns:23px minmax(0,1fr);grid-template-rows:11px 19px;column-gap:5px;}
body:not(.is-setup) .status-strip>div::before{width:23px;height:28px;}
body:not(.is-setup) .status-strip strong{font-size:14px;line-height:19px;}
body:not(.is-setup) .topbar{margin:0;height:42px;}
body:not(.is-setup) .reference-hud #hand{grid-area:hand;}
}
@media(max-width:900px) and (orientation:portrait){
body:not(.is-setup) .controls.reference-hud{grid-template-rows:0 minmax(0,1fr) auto;}
body:not(.is-setup) .controls.reference-hud:has(.turn-actions>#voice-controls:not([hidden])){grid-template-rows:0 minmax(0,1fr) 108px;}
}
