/* alohamc.com: an embedded map (src/components/MapFrame.astro) on /maps/. The live map in an iframe,
   its still poster over it until the map has loaded (maps.js; only on https://alohamc.com). */
.map-frame { --ratio: 0px; padding: 0; background: #222; }
.frame.map-frame > iframe { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; border: 0; }
.frame.map-frame > .map-cover { position: absolute; inset: 0; z-index: 1; margin: 0; }
.map-frame > .map-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
/* the map has loaded: its still fades off it (and stops taking the pointer at once) */
.map-frame > .map-cover { transition: opacity 500ms ease-out, visibility 0s linear 500ms; }
.map-frame.is-live > .map-cover { opacity: 0; visibility: hidden; pointer-events: none; }
