/* Street View iframe: fill viewport behind all overlays */
#streetview-frame {
  position: fixed;
  top: 0;
  left: 0;
  width: 100dvw;
  height: 100dvh;
  border: 0;
  z-index: 0;
}

/* Prevent iOS scroll bounce during panorama panning */
html,
body {
  overflow: hidden;
  overscroll-behavior: none;
}

/* Rank title font */
#final-rank-title {
  font-family: 'Bebas Neue', sans-serif;
}

/* Scorecard: relative positioning required for html2canvas on iOS Safari */
#scorecard {
  position: relative;
}

/* Leaflet map inside the guess panel */
#guess-map {
  z-index: 0;
}

/* Leaflet z-index fix: keep guess map panes below game HUD (z-index 50) */
#guess-map .leaflet-pane,
#guess-map .leaflet-top,
#guess-map .leaflet-bottom {
  z-index: 1 !important;
}
