/* Video previews use the browser viewport while preserving original proportions. */
@layer mv-responsive-foundation {
#homeGalleryModal:has(#homeGalleryMedia>video){padding:0!important}
#homeGalleryModal:has(#homeGalleryMedia>video) .modal-dialog{width:100%!important;max-width:none!important;height:100dvh!important;margin:0!important}
#homeGalleryModal:has(#homeGalleryMedia>video) .modal-content{width:100%!important;height:100dvh!important;max-height:none!important;border-radius:0!important}
#homeGalleryModal:has(#homeGalleryMedia>video) .modal-body{padding:0!important}
#homeGalleryModal:has(#homeGalleryMedia>video) .home-gallery-shell{gap:0!important}
#homeGalleryModal:has(#homeGalleryMedia>video) .home-gallery-stage{padding:0!important;border-radius:0!important;background:#101014!important}
#homeGalleryModal:has(#homeGalleryMedia>video) #homeGalleryMedia{background:#101014!important;border-radius:0!important}
#homeGalleryModal:has(#homeGalleryMedia>video) .home-gallery-thumbs{padding:4px!important;background:#fff!important}
#mediaLightbox:has(#mediaLightboxMedia>video),#sellerMediaLightbox:has(#sellerMediaBody>video){inset:0!important;width:100%!important;height:100dvh!important;max-width:none!important;max-height:none!important;border-radius:0!important;box-sizing:border-box!important;overflow:auto!important}
#mediaLightbox:has(#mediaLightboxMedia>video) .media-lightbox-stage,#sellerMediaLightbox:has(#sellerMediaBody>video) .seller-media-stage{padding:0!important;min-height:0!important;background:#101014!important;overflow:hidden!important}
#mediaLightboxMedia:has(>video),#sellerMediaBody:has(>video),#homeGalleryMedia:has(>video){width:100%!important;height:100%!important;min-height:0!important;min-width:0!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:center!important;overflow:hidden!important}
#mediaLightboxMedia>video,#sellerMediaBody>video,#homeGalleryMedia>video{display:block!important;width:100%!important;height:100%!important;min-height:0!important;max-width:100%!important;max-height:100%!important;flex:1 1 0!important;object-fit:contain!important;border-radius:0!important;background:#101014!important}
#mediaLightboxMedia>.video-status-actions,#sellerMediaBody>.video-status-actions,#homeGalleryMedia>.video-status-actions{flex:none!important;margin:0!important;border-radius:0!important}
}
