.commons-video-shell{position:relative;width:100%;max-width:100%;margin:1.5rem 0;background:#000;border-radius:12px;overflow:hidden;color:#fff}
.commons-video-shell .video-js{width:100%;font-size:16px;font-family:Arial,sans-serif}
.commons-video-shell .video-js .vjs-big-play-button{left:50%;top:50%;transform:translate(-50%,-50%);margin:0;border-radius:12px;background:rgba(22,14,8,.8);border:1px solid rgba(255,255,255,.8)}
.commons-video-shell .video-js .vjs-control-bar{background:rgba(22,14,8,.94);height:44px}
.commons-video-shell .video-js .vjs-control{min-width:44px;height:44px}
.commons-video-shell .video-js .vjs-progress-control{min-width:24px}
.commons-video-shell .video-js .vjs-button>.vjs-icon-placeholder:before{line-height:44px;font-size:24px}
.commons-video-shell .video-js .vjs-control:focus-visible,.commons-video-close:focus-visible{outline:3px solid #fe7e62;outline-offset:-3px}
.commons-video-dialog{padding:0;border:0;border-radius:12px;width:min(1100px,calc(100vw - 32px),calc((100dvh - 32px) * 16 / 9));max-width:none;max-height:calc(100dvh - 32px);margin:auto;background:#000;color:#fff;overflow:visible}
.commons-video-dialog[open]{display:block}
.commons-video-dialog:not([open]){display:none!important}
.commons-video-dialog::backdrop{background:rgba(0,0,0,.8)}
.commons-video-dialog .commons-video-shell{margin:0;max-height:calc(100dvh - 32px)}
.commons-video-dialog .video-js{max-height:calc(100dvh - 32px)}
.commons-video-close{position:absolute;right:8px;top:8px;z-index:20;width:44px;height:44px;min-width:44px;border:1px solid rgba(255,255,255,.65);border-radius:50%;background:rgba(0,0,0,.8);color:#fff;font:30px/40px Arial,sans-serif;cursor:pointer;padding:0}
.commons-video-error{padding:12px 16px;margin:0;font:16px/1.5 Arial,sans-serif;background:#271510;color:#fff}
.commons-video-full-window{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-height:100dvh!important;padding:0!important;border-radius:0!important;z-index:2147483647!important}
.commons-video-full-window .vjs-tech{height:100%!important;object-fit:contain}
.commons-video-figure .wp-block-embed__wrapper:before{display:none!important;content:none!important;padding:0!important}
@media(max-width:600px){.commons-video-shell .video-js{font-size:12px}.commons-video-shell .video-js .vjs-remaining-time,.commons-video-shell .video-js .vjs-picture-in-picture-control{display:none}.commons-video-dialog{width:min(1100px,calc(100vw - 16px),calc((100dvh - 16px) * 16 / 9));max-height:calc(100dvh - 16px)}.commons-video-close{right:4px;top:4px}}
@media(prefers-reduced-motion:reduce){.commons-video-shell *{scroll-behavior:auto!important;transition:none!important}}
