/* Green Pi Interactive City V6.25
 * Interaction recovery: keep the V6.23 working map/zoom JS and make sure
 * visual intro layers can never intercept or suppress the real controls.
 */

.gp-construction,
.gp-build-reveal,
.gp-blueprint-grid,
.gp-build-lines,
.gp-build-aura,
.gp-build-particles,
.gp-build-wordmark,
.gp-build-scan,
.gp-build-flash,
.gp-map-vignette,
.gp-motion-layer{
  pointer-events:none !important;
}

.gp-map-viewport:not(.is-building) .gp-construction,
.gp-map-viewport.gp-intro-complete .gp-construction{
  display:none !important;
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}

/* Explicitly preserve interactivity after the intro. */
.gp-map-viewport:not(.is-building) .gp-hotspot,
.gp-map-viewport.gp-intro-complete .gp-hotspot{
  pointer-events:auto;
}
.gp-topbar-shell,
.gp-topbar-main-shell,
.gp-topbar-shell button,
.gp-topbar-shell a,
.gp-topbar-main-shell button,
.gp-topbar-main-shell a{
  pointer-events:auto;
}
.gp-map-dock--products.is-product-mode,
.gp-map-dock--products.is-product-mode button,
.gp-map-dock--products.is-product-mode a,
.gp-map-dock--products.is-product-mode input{
  pointer-events:auto;
}

/* Keep map dimensions stable without redefining the camera transform. */
body.greenpi-map-home,
body.greenpi-map-home #page,
.gp-map-app,
.gp-map-viewport{
  width:100% !important;
  max-width:none !important;
}
