/* V29 — mapa em tela cheia real: arte e botões ocupam todo o monitor. */
body.scene-map,body.scene-arena{margin:0;background:#092a3a}
body.scene-map .app-shell,body.scene-arena .app-shell{width:100%;max-width:none;margin:0}
body.scene-map .topbar,body.scene-arena .topbar,
body.scene-map .headline,body.scene-arena .headline,
body.scene-map .hud-row,body.scene-arena .hud-row,
body.scene-map .side-panel,body.scene-arena .side-panel,
body.scene-map footer,body.scene-arena footer,
body.scene-map .panel-toolbar,body.scene-arena .panel-toolbar,
body.scene-map .road-progress,body.scene-arena .road-progress,
body.scene-map .narration,body.scene-arena .narration{display:none!important}
body.scene-map .main-grid,body.scene-arena .main-grid{display:block;width:100%;max-width:none;margin:0;padding:0}
body.scene-map .game-panel,body.scene-arena .game-panel{display:block;width:100%;max-width:none;min-width:0;margin:0;padding:0;border:0;box-shadow:none;border-radius:0;background:transparent}

/* Após escolher o herói, só o mapa interativo ocupa a janela. */
body.scene-map{overflow:hidden}
body.scene-map #menuView{position:relative;display:block!important;box-sizing:border-box;width:100vw;height:100dvh;min-height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;border-radius:0;overflow:hidden;background:#65b4e2}
body.scene-map #menuView.hidden{display:none!important}
body.scene-map #menuView .world-menu-heading{position:absolute;z-index:3;top:16px;left:20px;width:max-content;max-width:calc(100vw - 465px);margin:0;padding:12px 20px;border:1px solid #deffff89;border-radius:18px;background:#092e4ec9;box-shadow:0 9px 28px #06274091;backdrop-filter:blur(8px)}
body.scene-map #menuView:fullscreen{height:100dvh;width:100vw;min-height:100dvh;max-height:100dvh;overflow:hidden;box-sizing:border-box;background:#65b4e2}
body.scene-map #menuView .world-menu-heading h3{font-size:clamp(18px,1.7vw,27px);margin:0;text-shadow:0 4px 14px #021f32}
body.scene-map #menuView .world-menu-heading p,body.scene-map #menuView .journey-caption,body.scene-map #menuView .map-legend{display:none!important}
body.scene-map #worldCards{position:absolute;inset:0;display:block;width:100%;height:100%;margin:0}
body.scene-map .realm-map-art{width:100%;height:100%;max-width:none;max-height:none;margin:0;aspect-ratio:auto;border:0;border-radius:0;box-shadow:none}
/* object-fit:fill conserva cada botão sobre a respectiva região do mapa. */
body.scene-map .realm-map-art>img{object-fit:fill}
body.scene-map .map-quick-controls{position:absolute;top:16px;right:22px;z-index:4;display:flex;align-items:center;gap:9px}
body.scene-map .map-quick-controls button{background:#103e53eb;border:1px solid #80cbbf;color:#f2fff8;border-radius:11px;padding:9px 13px;font-weight:900;font-size:12px;box-shadow:0 5px 12px #00131e66}
body.scene-map .map-quick-controls button:hover{background:#1a6574;border-color:#ffe698}

/* Ao voltar do fullscreen nativo, só a arena continua visível. */
body.scene-arena{overflow:hidden}
body.scene-arena #menuView{display:none!important}
body.scene-arena #gameView{position:relative;display:flex!important;align-items:center;justify-content:center;width:100vw;height:100dvh;margin:0;border:0;border-radius:0;padding:0;overflow:hidden;background:#123846}
body.scene-arena #gameView.hidden{display:none!important}
body.scene-arena #gameView canvas{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;border:0!important;box-shadow:none!important}
body.scene-arena #gameView.simulated-fullscreen{position:fixed;inset:0;z-index:2000}

@media(max-width:660px){
  body.scene-map #menuView{padding:0;justify-content:initial}
  body.scene-map .realm-map-art{width:100%;height:100%;aspect-ratio:auto}
  body.scene-map .map-quick-controls{top:10px;right:10px;gap:5px}
  body.scene-map .map-quick-controls button{font-size:10px;padding:7px 8px}
  body.scene-map #menuView .world-menu-heading{top:57px;left:8px;max-width:calc(100vw - 16px);padding:8px 12px}
  body.scene-map #menuView .world-menu-heading h3{font-size:16px}
}
