.google-map { isolation: isolate; }
.google-map .map-grid,.google-map .map-pin { transition: opacity .35s ease; }
.map-consent {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: min(340px,calc(100% - 40px));
  padding: 28px;
  transform: translate(-50%,-50%);
  background: rgba(9,23,34,.94);
  color: #fff;
  text-align: center;
  box-shadow: 0 22px 54px rgba(0,0,0,.22);
  backdrop-filter: blur(8px);
  transition: opacity .3s ease,visibility .3s ease,transform .3s ease;
}
.map-consent-kicker { display: block; margin-bottom: 7px; color: var(--gold-light); font-size: 9px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.map-consent > strong { display: block; font-family: var(--serif); font-size: 25px; font-weight: 500; }
.map-consent p { margin: 10px 0 20px; color: rgba(255,255,255,.62); font-size: 11px; line-height: 1.55; }
.map-load-button { min-height: 44px; }
.map-load-button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.google-map-frame { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .45s ease; }
.google-map.is-loading .map-load-button { opacity: .65; pointer-events: none; }
.google-map.is-loaded .google-map-frame { opacity: 1; }
.google-map.is-loaded .map-grid,.google-map.is-loaded .map-pin { opacity: 0; }
.google-map.is-loaded .map-consent { opacity: 0; visibility: hidden; transform: translate(-50%,-46%); pointer-events: none; }

@media(max-width:560px) {
  .map-consent { padding: 22px 18px; }
  .map-consent > strong { font-size: 22px; }
}

@media(prefers-reduced-motion:reduce) {
  .google-map-frame,.map-consent,.google-map .map-grid,.google-map .map-pin { transition: none; }
}
