html, body, main {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}
main { position: relative; height: 100dvh; }
body { background: #d3cabe; }
body[data-light="night"] { background: #29282c; }
[hidden] { display: none !important; }
#scene { position: absolute; inset: 0; touch-action: none; cursor: grab; }
#scene.dragging { cursor: grabbing; }
#scene:focus-visible { outline-offset: -3px; }
#scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#zoomButtons { display: flex; }
.place-name { display: none; }
.citym { overflow-y: auto; max-height: calc(100% - var(--top) - var(--bottom) - 64px); }
.disp { padding-bottom: 12px; }
.map-credit, #status {
  position: absolute;
  z-index: 5;
  left: var(--left);
  border-radius: var(--r2);
  padding: 5px 10px;
  font: 400 11px/16px var(--font);
  color: var(--t2);
}
.map-credit { bottom: var(--bottom); max-width: calc(100% - var(--left) - var(--right) - 20px); }
.map-credit a { color: var(--t1); text-underline-offset: 2px; }
#status { margin: 0; bottom: calc(var(--bottom) + 52px); }
#status:empty { display: none; }
@media (max-width: 600px) {
  .place-name { display: block; color: var(--t2); font: 510 11px/14px var(--font); }
  #zoomDock { bottom: calc(var(--bottom) + 64px); }
  #zoomDock #zoomButtons { flex-direction: column-reverse; }
  #zoomDock .ib + .ib { border-bottom: 1px solid var(--line); border-radius: var(--cap) var(--cap) 0 0; }
  .citym { top: calc(var(--top) + 56px); }
}
