/* The unified header stays above the resident map; no legacy footer or gaps. */
body[data-view=map]::before{display:none}
body[data-view=map] .command-shell{height:100dvh;max-width:none;margin:0;padding:0;display:flex;flex-direction:column}
body[data-view=map] .command-shell>footer,
body[data-view=map] #galactic-ticker{display:none}
body[data-view=map] .unified-header{flex-shrink:0}
body[data-view=map] #main{display:flex;flex:1;flex-direction:column;min-height:0;margin:0;padding:0}
body[data-view=map] #command-stage{display:flex;flex:1;min-height:0;margin:0;border:0}
body[data-view=map] .map-console{flex:1;min-height:0;border:0}
body[data-view=map] .map-console>.module-heading,body[data-view=map] .map-caption{display:none}
body[data-view=map] .map-viewport{flex:1;height:auto;min-height:0;border:0}

/* The current iframe stays mounted for both native and CSS fullscreen. */
html[data-map-fullscreen=true]{overflow:hidden}
body[data-map-fullscreen=true]::before{display:none}
body[data-map-fullscreen=true] .unified-header,body[data-map-fullscreen=true] .masthead,body[data-map-fullscreen=true] .navigation,body[data-map-fullscreen=true] .command-shell>footer,body[data-map-fullscreen=true] #galactic-ticker,body[data-map-fullscreen=true] #data-notice{display:none!important}
body[data-view=map][data-map-fullscreen=true] .map-viewport{position:fixed;inset:0;z-index:1000;width:100%;max-width:none;height:100vh;height:100dvh;min-height:0;margin:0;padding:0;border:0;background:#050806}
body[data-view=map] .map-viewport:fullscreen,body[data-view=map] .map-viewport:-webkit-full-screen{width:100%;height:100vh;height:100dvh;margin:0;padding:0;border:0}
