/* Arcade scenes have their own objective and combat health; world HUD stays intact. */
body[data-scene="imageFight"] .quest-tracker,
body[data-scene="imageFight"] .compass,
body[data-scene="imageFight"] .player-status,
body[data-scene="imageFight"] .controls-hint { display:none; }
body[data-scene="imageFight"] .battle-hud { top:100px;left:24%;right:24%; }
body[data-scene="imageFight"] .battle-hud>p { max-width:560px;margin:8px auto; }
body[data-scene="migong"] .quest-tracker .overline,
body[data-scene="migong"] .quest-tracker button { display:none; }
body[data-scene="migong"] .quest-tracker { max-width:230px; }
body[data-scene="migong"] #toast { top:auto;bottom:130px;max-width:min(540px,90vw); }
@media(max-width:760px){
  body[data-scene="imageFight"] .battle-hud { left:20px;right:20px;top:88px; }
  body[data-scene="imageFight"] .battle-health { font-size:14px; }
  body[data-scene="imageFight"] .battle-health b { font-size:18px;line-height:1.5;letter-spacing:5px; }
  body[data-scene="imageFight"] .battle-hud>p { font-size:11px;line-height:1.7;max-width:330px; }
  body[data-scene="imageFight"] .battle-result { position:fixed;left:20px;right:20px;top:30%;padding:24px 16px; }
  body[data-scene="migong"] .quest-tracker { left:16px;top:86px;max-width:calc(100vw - 128px);padding:10px 12px; }
  body[data-scene="migong"] .quest-tracker h2 { margin:0 0 7px;font-size:16px; }
  body[data-scene="migong"] .quest-tracker>p:not(.overline) { line-height:1.6;margin:0; }
  body[data-scene="migong"] #toast { bottom:220px;top:auto; }
}
@media(max-height:550px) and (max-width:1000px){
  body:is([data-scene="migong"],[data-scene="imageFight"]) .touch-controls { display:flex;position:fixed;left:16px;right:16px;bottom:max(12px,env(safe-area-inset-bottom)); }
  body:is([data-scene="migong"],[data-scene="imageFight"]) .controls-hint { display:none; }
  body:is([data-scene="migong"],[data-scene="imageFight"]) .player-status { display:none; }
  body:is([data-scene="migong"],[data-scene="imageFight"]) .quick-actions { bottom:110px;right:16px;gap:9px; }
  body:is([data-scene="migong"],[data-scene="imageFight"]) .quick-actions button:first-child,
  body:is([data-scene="migong"],[data-scene="imageFight"]) .quick-actions kbd { display:none; }
  body:is([data-scene="migong"],[data-scene="imageFight"]) .quick-actions button>span { width:30px;height:30px;font-size:15px;margin-bottom:3px; }
  body:is([data-scene="migong"],[data-scene="imageFight"]) #save-status { display:none; }
  body[data-scene="imageFight"] .battle-hud { top:76px;left:24%;right:24%; }
  body[data-scene="imageFight"] .battle-health { font-size:12px; }
  body[data-scene="imageFight"] .battle-health b { font-size:16px;line-height:1.25; }
  body[data-scene="imageFight"] .battle-hud>p { font-size:10px;margin:4px auto; }
  body[data-scene="imageFight"] .battle-result { position:fixed;top:28%;left:24%;right:24%;padding:16px; }
  body[data-scene="migong"] .quest-tracker { top:80px;left:16px;max-width:185px;padding:10px; }
  body[data-scene="migong"] .quest-tracker h2 { font-size:16px;margin:0 0 6px; }
  body[data-scene="migong"] .quest-tracker>p:not(.overline) { font-size:11px;line-height:1.5; }
  body[data-scene="migong"] #toast { top:78px;bottom:auto;max-width:40vw;font-size:11px;padding:10px; }
}
body[data-scene="imageFight"] .battle-hud>p { background:#081820cf;border:1px solid #bba57835;border-radius:3px;padding:5px 10px;text-shadow:0 1px 3px #000; }
