.map3d-combined-stage{background:#07131b}
.map3d-combined-page .map3d-stage{--map3d-sky-crop:140px;height:min(calc(38vw - var(--map3d-sky-crop)),calc(600px - var(--map3d-sky-crop)),calc(100svh - 64px - var(--map3d-sky-crop)));min-height:min(calc(520px - var(--map3d-sky-crop)),calc(100svh - 64px - var(--map3d-sky-crop)))}
.map3d-combined-page[data-map-mode="historical"] .map3d-annotation{top:79px}
.map3d-combined-page [hidden]{display:none!important}
.map3d-combined-page #map3d-canvas{z-index:1}
.map3d-combined-page .map3d-vignette{z-index:2}
.map3d-combined-page .map3d-editorial,.map3d-combined-page .map3d-annotation,.map3d-combined-page .map3d-time,.map3d-combined-page .map3d-scale{z-index:3}
.map3d-scene-frame{position:absolute;inset:0;opacity:0;z-index:1;pointer-events:none;transition:opacity .65s ease}
.map3d-scene-frame.is-current{opacity:1;z-index:2;pointer-events:auto}
.map3d-scene-frame iframe{display:block;width:100%;height:100%;border:0;background:#07131b}
.map3d-change-scene{position:absolute;z-index:5;top:20px;right:clamp(30px,3.2vw,76px);display:flex;align-items:center;min-height:45px;padding:0 18px;color:#f5f5ef;background:#061017dd;border:0;border-radius:30px;box-shadow:0 5px 32px #03090da3;backdrop-filter:blur(12px);font:700 11px/1 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.115em;text-transform:uppercase;cursor:pointer;transition:background .25s,transform .25s}
.map3d-change-scene:hover{background:#153039e8;transform:translateY(-2px)}
.map3d-change-scene:focus-visible{outline:2px solid #d6fff1;outline-offset:4px}
.map3d-change-scene:disabled{opacity:.72;cursor:progress;transform:none}
.map3d-scene-error{position:absolute;z-index:6;top:76px;right:clamp(30px,3.2vw,76px);max-width:260px;padding:12px 14px;background:#07131bef;border:1px solid #c2a28b;color:#fff4e6;font:500 12px/1.4 ui-sans-serif,system-ui,sans-serif}
.map3d-scene-embed{height:100svh;min-height:0;position:relative;overflow:hidden}
.map3d-page.map3d-scene-embed .map3d-stage{height:100svh;min-height:0}
.map3d-page.map3d-scene-embed #map3d-canvas{height:calc(100% + 140px);top:-140px;bottom:auto}
.map3d-page.map3d-scene-embed[data-map-mode="institutions"] #map3d-canvas{height:100%;top:0}
.map3d-page.map3d-scene-embed[data-map-mode="historical"] .map3d-annotation{top:79px}
.map3d-page.map3d-scene-embed[data-map-mode="institutions"] .map3d-scale{bottom:23px}
.map3d-scene-embed .map3d-error{position:absolute;z-index:20;left:20px;bottom:20px;margin:0;max-width:360px;background:#07131bf0}
body:has(.map3d-scene-embed){margin:0;overflow:hidden}
@media(max-width:700px){
  .map3d-combined-page .map3d-stage{--map3d-sky-crop:0px;height:min(700px,calc(100svh - 58px));min-height:650px}
  .map3d-combined-page[data-map-mode="historical"] .map3d-annotation{top:86px}
  .map3d-combined-page[data-map-mode="historical"] .map3d-time{top:302px}
  .map3d-combined-page[data-map-mode="institutions"] .map3d-annotation{top:86px;transform:none}
  .map3d-combined-page[data-map-mode="institutions"] .map3d-scale{top:300px;bottom:auto}
  .map3d-change-scene{top:16px;right:16px;min-height:41px;padding:0 13px;font-size:var(--ds-fs-label)}
  .map3d-scene-error{top:65px;right:16px;max-width:220px}
  .map3d-page.map3d-scene-embed #map3d-canvas{height:100%;top:0}
  .map3d-page.map3d-scene-embed .map3d-annotation,.map3d-page.map3d-scene-embed[data-map-mode="historical"] .map3d-annotation{top:86px}
  .map3d-page.map3d-scene-embed[data-map-mode="historical"] .map3d-time{top:302px}
  .map3d-page.map3d-scene-embed[data-map-mode="institutions"] .map3d-scale{top:300px;bottom:auto}
}
@media(prefers-reduced-motion:reduce){.map3d-scene-frame,.map3d-change-scene{transition:none}}

.map3d-play-toggle{position:absolute;z-index:5;top:20px;right:calc(clamp(30px,3.2vw,76px) + 160px);min-height:45px;padding:0 16px;color:#f5f5ef;background:#061017dd;border:0;border-radius:30px;box-shadow:0 5px 32px #03090da3;font:inherit;font-size:var(--ds-fs-control);cursor:pointer}.map3d-play-toggle:hover{background:#153039e8}.map3d-play-toggle:focus-visible{outline:2px solid #d6fff1;outline-offset:4px}
.map3d-time-hint{position:absolute;left:0;top:100%;margin-top:4px;white-space:nowrap;font-size:var(--ds-fs-label);letter-spacing:.06em;text-transform:none;color:#b8d5d0}
@media(max-width:700px){.map3d-play-toggle{top:20px;right:calc(30px + 112px)}}
