/* Preserve the complete frame and keep captions above native fullscreen controls. */
:is(video:fullscreen, video:-webkit-full-screen) {
    box-sizing: border-box !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px)
        max(48px, 8vh, env(safe-area-inset-bottom, 0px)) env(safe-area-inset-left, 0px) !important;
}
