/* Short, contextual information; all six build cards remain available. */
.game-shell[hidden]{display:none!important}
.landing-preview{position:relative;isolation:isolate;min-height:390px;display:flex;align-items:center;overflow:hidden;border:1px solid #cad5ba;border-radius:14px;background:#153d43;box-shadow:0 16px 35px #20473a16}
.landing-preview>img{position:absolute;right:0;top:0;width:76%;height:100%;object-fit:cover;z-index:-2}.landing-preview:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#153d43 8%,#153d43ed 30%,#153d4333 74%);z-index:-1}
.landing-callout{width:52%;padding:40px;color:#f5f0d7}.landing-callout h2{font-size:clamp(27px,3.2vw,42px);line-height:1.12;letter-spacing:-1px;margin:0 0 16px}.landing-callout>p:not(.eyebrow){font-size:14px;line-height:1.6;color:#d4e0d2;max-width:330px}.landing-callout .eyebrow{color:#e7cf94}.landing-callout .primary{background:#e9d798;color:#173f3f;max-width:280px;margin-top:22px;min-height:50px}.landing-callout small{display:block;font-size:11px;color:#c5d7c4;margin-top:12px}
body:not(.game-page) .cloud-bar,body:not(.game-page) #announcement{display:none}
.logbook-icon{display:none}#exit-game{display:flex;align-items:center;justify-content:center;gap:5px}
#battle-coach{position:absolute;right:14px;bottom:12px;max-width:min(310px,calc(100% - 28px));padding:10px 12px;border:1px solid #c1d8a1;border-left:3px solid #e8c47b;border-radius:8px;background:#153e46ee;color:#f4f0d7;box-shadow:0 5px 16px #10333f33;z-index:6;pointer-events:auto}
#battle-coach[hidden],#round-advice[hidden]{display:none!important}
#battle-coach strong{font-size:13px;color:#ffe0a1}#battle-coach p{font-size:12px;line-height:1.5;margin:4px 0 0}
.coach-actions{display:flex;gap:8px;align-items:center;margin-top:6px}.coach-actions button{font-size:11px;min-height:30px;padding:4px 9px;border:1px solid #97b899;border-radius:4px;color:#e9f0cc;background:#2a6559}
#coach-dismiss{margin-left:auto;min-width:30px;background:transparent}.coach-actions:has(#coach-focus[hidden]){position:absolute;right:4px;top:2px;margin:0}#battle-coach:has(#coach-focus[hidden]){padding-right:34px}
#battle-coach[data-tone=success]{border-left-color:#a6df9a}#battle-coach[data-tone=success] strong{color:#c8f4ac}
.board:has(#battle-coach:not([hidden])) .game-toast[data-tone=info]{display:none}
#round-advice{display:flex;flex-shrink:0;align-items:center;gap:10px;padding:6px 12px;background:#eaf0dc;border-top:1px solid #bdcfa9;color:#315948;font-size:11px;line-height:1.4}
#round-advice span{flex:1}#round-advice button{flex-shrink:0;min-height:30px;border:1px solid #9bb78b;border-radius:4px;background:#f7f6e8;font-size:11px;padding:4px 9px}
.drag-ghost[data-pointer=touch]{pointer-events:none;max-width:220px;transform:translate(-50%,-100%);padding:8px 10px}.drag-ghost[data-pointer=touch] small{white-space:normal}
.game-shell.is-aiming .command{opacity:.55;transition:opacity .12s}
@media(max-width:700px) and (orientation:portrait){
 .landing-preview{min-height:350px;align-items:flex-end}.landing-preview>img{width:100%;object-position:60% center}.landing-preview:after{background:linear-gradient(0deg,#123c43 2%,#123c43ed 35%,#123c4322 100%)}.landing-callout{width:100%;padding:24px}.landing-callout h2{font-size:28px;max-width:310px;margin-bottom:10px}.landing-callout .primary{margin-top:14px;max-width:100%}.landing-callout>p:not(.eyebrow){font-size:12px;margin-bottom:0}.landing-callout small{margin-top:9px}.landing-callout .eyebrow{margin-bottom:7px}
 .exit-copy{display:none}
 .game-shell.is-viewport.active-defense:not(.is-practicing)[data-command-context=idle] .command[data-panel=commands]{height:146px!important;flex:0 0 146px;gap:5px;padding:7px 9px}
 .game-shell.is-viewport.active-defense:not(.is-practicing)[data-command-context=idle] .command[data-panel=commands] #commands-panel{display:none}
 .game-shell.is-viewport.active-defense:not(.is-practicing)[data-command-context=idle].in-combat .command[data-panel=commands]{height:94px!important;flex-basis:94px}
 #battle-coach{right:8px;bottom:8px;max-width:min(250px,calc(100% - 16px));padding:7px 9px}
 #battle-coach strong{font-size:11px}#battle-coach p{font-size:10px;line-height:1.4}.coach-actions button{min-height:30px;font-size:10px}
 #round-advice{font-size:10px;padding:5px 8px;gap:5px}#round-advice button{font-size:10px;max-width:90px}
 .game-shell.is-practicing .command{flex-basis:auto!important}
}
@media(max-width:360px){.game-tools{gap:3px}.game-tools .icon-button{min-width:26px;padding:4px 6px;font-size:10px}.logbook-text{display:none}.logbook-icon{display:inline}.landing-callout{padding:20px}.landing-callout h2{font-size:26px}.landing-preview{min-height:330px}}
@media(max-height:550px) and (orientation:landscape){#battle-coach{bottom:6px;right:8px;max-width:230px;padding:5px 8px}#battle-coach strong{font-size:10px}#battle-coach p{font-size:9px;line-height:1.35}.coach-actions{margin-top:3px}.coach-actions button{min-height:25px;font-size:9px}#round-advice{font-size:9px;padding:3px 8px}#round-advice button{min-height:25px;font-size:9px}}
@media(prefers-reduced-motion:reduce){.game-shell.is-aiming .command{transition:none}}
