/* Fill the approved crop box; contain can expose the poster along fractional edges. */
.media-tile .gallery-preview { position: absolute; display: block; max-width: none; pointer-events: none; object-fit: cover; }
.media-tile .gallery-preview[hidden] { display: none; }
.media-tile .video-marker { z-index: 1; pointer-events: none; }
.lightbox-video { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox-video[hidden] { display: none; }
.preview-toggle { position: fixed; z-index: 80; left: clamp(12px,1.5vw,24px); bottom: clamp(12px,1.5vw,24px); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #000; border-radius: 6px; background: #fff; color: #000; cursor: pointer; }
.preview-toggle[hidden] { display: none; }
.preview-toggle svg { width: 20px; height: 20px; }
.preview-toggle:focus-visible { outline: 2px solid #152bff; outline-offset: 4px; }
.preview-toggle[aria-disabled="true"] { cursor: default; }
.preview-feedback { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
