/* World map primary only. No changes to existing globe-primary views. */
.hs-flat-map{display:none}
body[data-layout=map] #map.primary[data-flat-ready=true] .hs-flat-map{display:grid;gap:8px;width:100%;min-width:0;text-align:left}
body[data-layout=map] #map.primary[data-flat-ready=true]>.wire-map,
body[data-layout=map] #map.primary[data-flat-ready=true]>strong,
body[data-layout=map] #map.primary[data-flat-ready=true]>span{display:none}
body[data-layout=map] #map.primary{min-width:0}
body[data-layout=map] .geographic-layout.separated-primary{min-height:0}
body[data-layout=map] .geography-panel h2{font-size:16px}
.hs-flat-viewport{width:100%;aspect-ratio:2;line-height:0;overflow:hidden;border-radius:6px;background:#030914;box-shadow:0 0 0 1px #4e667a,0 0 20px #16436f30}
.hs-flat-canvas{width:100%;height:100%;cursor:grab;touch-action:pan-y}
.hs-flat-canvas:active{cursor:grabbing}
.hs-flat-canvas:focus-visible{outline:2px solid #e0f5ff;outline-offset:-3px}
.hs-flat-modes,.hs-flat-operations,.hs-flat-layers{display:flex;flex-wrap:wrap;gap:5px}
.hs-flat-map button{font-size:12px;min-height:44px;min-width:44px;padding:5px 9px}
.hs-flat-modes button[aria-pressed=true],.hs-flat-layers button[aria-pressed=true]{border-color:#afc9e4;background:#18304c;color:#eff8ff;box-shadow:inset 0 -2px #7da5c4}
.hs-flat-modes button{flex:1}
.hs-flat-status,.hs-flat-source{font-size:12px;line-height:1.6;color:#b7c9d8}
.hs-flat-source{margin:0;overflow-wrap:anywhere}
.hs-flat-map .hs-flat-source a{margin:0;color:#addff8}
@media(max-width:700px){body[data-layout=map] .geography-panel{order:-2}}
body[data-layout=map] #globe.secondary[data-celestial-ready=true] :is(.wire-globe,.hs-earth-controls,.hs-wire-caption){display:none}
body[data-layout=map] #globe.secondary[data-celestial-ready=true] .hs-celestial{display:grid;gap:5px;width:100%}
body[data-layout=map] #globe.secondary .hs-celestial-view{aspect-ratio:16/10}
body[data-layout=map] #globe.secondary .hs-earth-render{pointer-events:none}
@media(max-width:700px){body[data-layout=map] .secondary-geography-panel{order:0}}
