* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #0a131e;
}

#map,
#fallback,
gmp-map-3d {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

#fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #b7d8ff;
  background: #0a131e;
  font:
    14px/1.5 system-ui,
    sans-serif;
  letter-spacing: 0.02em;
}

[hidden] {
  display: none !important;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 1px solid #b7d8ff33;
  border-top-color: #b7d8ff;
  border-radius: 50%;
  animation: map-loading 1.2s linear infinite;
}

@keyframes map-loading {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation: none;
  }
}
