/* One satellite surface; the transparent resident canvas uses its exact camera. */
#geo-explorer { position: fixed; inset: 0; z-index: 0; background: #193b4c; }
#geo-map { position: absolute; inset: 0; background: #193b4c; font-family: var(--font); }
.continuous-map #map { z-index: 1; pointer-events: none; opacity: 0; transition: opacity .3s ease; }
.continuous-map #ui { z-index: 3; transition: opacity .4s ease, visibility .4s; }
.geo-brand { position: fixed; top: 25px; left: 28px; z-index: 4; color: #fff; font: 600 27px var(--font); letter-spacing: -1.1px; text-shadow: 0 1px 12px #102b3766; transition: opacity .35s; pointer-events: none; }
body:not(.geography-open) .geo-brand { opacity: 0; }
.geo-glass { background: var(--glass-highlight), rgba(248,252,255,.75); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); color: #18333e; -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3); }
.geo-tools { position: fixed; right: 20px; top: 100px; z-index: 5; display: flex; flex-direction: column; padding: 4px; border-radius: 25px; }
.geo-tools button { display: grid; place-items: center; height: 36px; width: 36px; border-radius: 50%; border: 0; color: #18333e; background: none; font-size: 23px; cursor: pointer; }
.geo-tools button:hover { background: #fff8; }
.geo-tools button:focus-visible { outline: 2px solid #087aff; outline-offset: 2px; }
#geo-hint { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 4; margin: 0; color: #fffc; font: 400 12px var(--font); letter-spacing: .4px; text-shadow: 0 1px 8px #000; pointer-events: none; }
#geo-map .leaflet-control-attribution { background: #f7fbffd9; font: 9px/1.5 system-ui, sans-serif; color: #334c56; max-width: 90vw; }
.geo-status { position: fixed; z-index: 48; top: 90px; left: 50%; transform: translateX(-50%); padding: 12px 18px; border-radius: 16px; max-width: calc(100vw - 40px); text-align: center; font: 500 13px/1.4 var(--font); }
.geo-status:empty { display: none; }
.geography-open #ui, .geography-open .tour-tip, .geography-open .map-experiment-panel { opacity: 0; visibility: hidden; pointer-events: none; }
/* Keep source attribution visible above the canvas without intercepting gestures. */
#geo-map .leaflet-control-container { position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
#geo-map .leaflet-control-attribution { pointer-events: auto; }
@media(max-width:600px) { .geo-brand { top: 22px; left: 20px; } .geo-tools { right: 12px; top: 100px; } }
@media(prefers-reduced-motion:reduce) { .continuous-map #map, .continuous-map #ui, .geo-brand { transition: none; } }
@media(prefers-reduced-transparency:reduce) { .geo-glass { background: #f5faff; backdrop-filter: none; -webkit-backdrop-filter: none; } }

#geo-alaska { font-size: 11px; font-weight: 650; letter-spacing: .3px; }
#geo-alaska[aria-pressed="true"] { background: #fff9; }
