/* Home shell: the full-screen app and the map container behind
   everything. */

.app {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.map-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* Keeps Leaflet's internal pane z-indexes (200-700) inside the map, so
     elements outside it (like .intro-cover) can simply sit on top. */
  isolation: isolate;
  /* Let Leaflet handle pinch/scroll gestures exclusively. Without this,
     a trackpad pinch can trigger the browser's own native viewport zoom
     on top of Leaflet's -- two independent zoom systems fighting each
     other, which is what made markers drift off their real position. */
  touch-action: none;
}
