/* Keep the existing map container's height, including hidden boarding panels. */
[data-woof-map] { position: relative; overflow: hidden; background: #e7edd8; }
[data-woof-map] > .woof-map-preview { position: absolute; inset: 0; display: block; z-index: 1; }
[data-woof-map] > .woof-map-preview img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
[data-woof-map] > iframe { position: absolute; inset: 0; z-index: 2; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
[data-woof-map].woof-map-ready > iframe { opacity: 1; pointer-events: auto; }
/* Attribution remains visible even when a narrow viewport crops the screenshot. */
.woof-map-credit { position: absolute; z-index: 3; right: 5px; bottom: 3px; padding: 1px 4px; background: #ffffffe6; color: #333; font: 11px/16px Arial,sans-serif; }
.woof-map-ready > .woof-map-credit { display: none; }
@media (prefers-reduced-motion: reduce) { [data-woof-map] > iframe { transition: none; } }
