/* Real gameplay at entry, one clear first-wave goal, optional deeper controls. */
.heist-brand{display:block;color:#e9d7f3;font-size:14px;font-weight:800;letter-spacing:.12em;margin-top:12px}
.heist-entry-copy h1{font-size:clamp(38px,5vw,72px);line-height:.98;margin:14px 0 18px}
.heist-entry-copy h1 span{font-size:1em;line-height:1;margin-top:0;letter-spacing:-.025em;color:#d8ff7c}
.heist-entry-copy .heist-plan-choice{display:block;min-height:44px;font-size:14px;padding:8px 0;text-align:left;color:#e6d9fa}
.heist-live-preview{min-width:0;margin:0;border:1px solid #9fe8d2;border-radius:14px;background:#100c20;box-shadow:0 14px 55px #0006;overflow:hidden;align-self:center}
.heist-preview-stage{position:relative;width:100%;aspect-ratio:1.6;background:#171529}
.heist-preview-stage canvas{display:block;width:100%;height:100%;object-fit:contain}
.heist-live-preview figcaption{display:grid;gap:5px;padding:13px 15px;color:#b6d4d0;font-size:13px;line-height:1.4}
.heist-live-preview figcaption b{font-size:14px;color:#d7ffa0;letter-spacing:.04em}
.heist-first-wave-tip{display:none;gap:10px;justify-content:space-between;align-items:center;width:100%;min-width:0;padding:8px 10px;border:1px solid #8aa868;border-radius:8px;background:#17281f;color:#e3ffd2;pointer-events:auto}
.heist-first-wave-tip>span{display:grid;gap:3px;min-width:0}
.heist-first-wave-tip b{font-size:15px;line-height:1.2}
.heist-first-wave-tip small{font-size:13px;line-height:1.3;color:#c6e4cc}
.heist-first-wave-tip button{min-width:92px;min-height:44px;font-size:13px;padding:5px 8px;white-space:normal}
.return-measure-choice{padding:15px;margin-top:20px;border:1px solid #657283;border-radius:10px;background:#151a25}
.return-measure-choice>b{font-size:16px}.return-measure-choice>p{font-size:14px;line-height:1.5}
.return-measure-choice button{min-height:44px;font-size:14px;white-space:normal}
@media(min-width:901px){
 .heist-lobby-entry{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:clamp(24px,4vw,56px);padding:clamp(24px,3.5vw,48px);min-height:390px}
 .heist-entry-copy>p{max-width:31em;font-size:18px;line-height:1.45}
 .arcade-mode .heist-lobby-entry .arcade-play{min-height:58px;min-width:240px;font-size:22px}
}
@media(max-width:900px){.heist-live-preview{display:none}}
@media(max-width:600px){
 .heist-entry-copy h1{font-size:43px}.heist-entry-copy p{font-size:16px;line-height:1.45}
 .heist-entry-copy>small{font-size:14px;line-height:1.5}
 .heist-mode .heist-opening>small{font-size:12px}.heist-mode .heist-opening h2{font-size:26px;line-height:1.1}
 .heist-mode .heist-opening button{min-height:112px;padding:12px 8px}.heist-mode .heist-opening button b{font-size:22px}
 .heist-mode .heist-opening button>span:not(.opening-symbol){font-size:14px}.heist-mode .heist-opening button small{font-size:12px}
 .heist-mode .heist-opening>p{font-size:14px;line-height:1.45}
 .heist-power-pick{padding:20px 16px!important}.heist-power-pick>p{font-size:15px;line-height:1.45}
 .heist-power-grid{grid-template-columns:minmax(0,1fr);gap:12px}
 .heist-power-option{display:grid;grid-template-columns:56px minmax(0,1fr);grid-template-rows:auto auto auto;gap:5px 12px;padding:14px;text-align:left;align-items:center}
 .heist-power-option>.spell-art,.heist-power-option>span.mutation-lightning{grid-column:1;grid-row:1/5;width:56px;height:64px;font-size:64px;align-self:center}
 .heist-power-option>small,.heist-power-option>b,.heist-power-option>span:not(.spell-art):not(.mutation-lightning),.heist-power-option>strong{grid-column:2}
 .heist-power-option>b{font-size:25px}.heist-power-option>small{font-size:12px}.heist-power-option>.power-short{font-size:14px!important;line-height:1.4}
 .heist-power-option>.power-long,.heist-power-option>em{display:none!important}
 .heist-power-option>strong{font-size:12px;line-height:1.4;color:#d0ff91}.heist-power-pick>.saved-note{font-size:13px;line-height:1.4}
}
@media(orientation:portrait){
 body.combat-focus.heist-first-wave #pause{font-size:0}
 body.combat-focus.heist-first-wave #pause::before{content:'Ⅱ';font:700 22px var(--body)}
 body.combat-focus.heist-first-wave #pause[aria-pressed=true]::before{content:'▶'}
 body.combat-focus.heist-first-wave .combat-stage{grid-template-rows:112px auto minmax(0,1fr)}
 body.combat-focus.heist-first-wave .combat-stage>.arena-top{height:112px;flex-wrap:wrap;align-content:center}
 body.combat-focus.heist-first-wave:not(.heist-controls-open) .battle-layout>div:first-child{grid-template-rows:minmax(0,1fr) 64px}
 body.combat-focus.heist-first-wave:not(.heist-controls-open) .combat-palette{grid-template-rows:64px;gap:0}
 body.combat-focus.heist-first-wave:not(.heist-controls-open) .combat-palette>.mobile-tactics,
 body.combat-focus.heist-first-wave:not(.heist-controls-open) .combat-palette>.build-dock{display:none!important}
 body.combat-focus.heist-first-wave:not(.heist-controls-open) .combat-palette>.mobile-combat-tools{grid-row:1;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);min-height:64px}
 body.combat-focus.heist-first-wave:not(.heist-controls-open) .mobile-combat-tools>#auto-button,
 body.combat-focus.heist-first-wave:not(.heist-controls-open) .mobile-combat-tools>#world-power{display:none}
 body.combat-focus.heist-first-wave:not(.heist-controls-open) .mobile-combat-tools>button{font-size:15px;min-height:56px}
 body.combat-focus.heist-mode .heist-first-wave-tip:not([hidden]){display:flex;flex:0 0 100%;flex-wrap:nowrap;order:10;padding:6px 8px;gap:6px;height:62px}
 body.combat-focus.heist-mode .heist-first-wave-tip b{font-size:14px}.heist-first-wave-tip small{font-size:12px}
}
