.contentVideoDialog{width:min(960px,calc(100vw - 32px));max-height:calc(100vh - 32px);margin:auto;padding:0;border:1px solid #ffffff45;border-radius:12px;background:#111316;color:#eee;box-shadow:0 15px 70px #000b;overflow:auto}
.contentVideoDialog::backdrop{background:rgba(0,0,0,.5)}
.contentVideoHead{display:flex;align-items:center;justify-content:flex-end;padding:6px 8px}
.contentVideoHead button{padding:4px 10px;font-size:21px;line-height:1.2}
.contentVideoDialog video{display:block;width:100%;max-height:calc(100vh - 100px);background:#000;object-fit:contain}
/* Editable clip information and optional playlists. */
.contentVideoHead{justify-content:space-between;gap:14px;padding:10px 12px}
.contentVideoHead h2{position:static;width:auto;height:auto;margin:0;padding:0;clip:auto;clip-path:none;white-space:normal;overflow-wrap:anywhere;font-size:16px;line-height:1.3}
.contentVideoHead h2.visuallyHidden{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.contentVideoHead button{flex-shrink:0;margin-inline-start:auto}
.contentVideoDialog video{max-height:calc(100dvh - 235px)}
.contentVideoDialog [hidden]{display:none!important}
.videoPlaylistControls{display:flex;justify-content:center;align-items:center;gap:15px;padding:10px 12px;border-bottom:1px solid #ffffff20}
.videoPlaylistControls button{font-size:12px;padding:6px 10px}.videoPlaylistControls button:disabled{opacity:.35;cursor:default}
.videoPlaylistControls output{font-size:12px;color:#bec2c7}
.videoInfo{padding:12px 16px;font-size:13px;line-height:1.5}
.videoInfo p{white-space:pre-wrap;margin:0 0 12px}
.videoInfo dl{display:flex;flex-wrap:wrap;gap:10px 28px;margin:0}.videoInfo dt{font-size:11px;text-transform:uppercase;color:#a4adb7}.videoInfo dd{margin:3px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.videoInfo a,.transitionActions a,.mediaSource a,.youtubeFallback a{color:#a3e9f2;text-decoration:underline;text-underline-offset:3px}
.transitionActions{display:flex;justify-content:flex-end;padding:12px 16px}
.mediaSource{padding:12px 16px;font-size:13px}
.contentEmbed iframe{display:block;width:100%;border:0;background:#000}
.contentEmbed .youtubePlayer{aspect-ratio:16/9;min-height:200px;max-height:70dvh}
.contentEmbed .contentPage{height:70dvh}
.contentEmbed img{display:block;width:100%;max-height:75dvh;object-fit:contain;background:#000}
.youtubeFallback{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 12px;padding:4px 16px;font-size:13px}
.youtubeFallback span:empty{display:none}
.youtubeFallback a{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:600px){.contentVideoDialog{max-height:calc(100dvh - 20px)}.contentVideoDialog video{max-height:55dvh}.videoInfo{padding:10px 12px}.contentVideoHead h2{font-size:14px}}
@media(max-height:500px){.contentVideoDialog video{max-height:52dvh}.videoInfo{padding:8px 12px}.contentVideoHead{padding:6px 10px}}
.contentVideoHead{position:sticky;top:0;z-index:1;background:#111316}
.contentVideoHead button,.galleryHead button{display:grid;place-items:center;min-width:44px;min-height:44px;padding:0;border:1px solid #ffffff45;border-radius:8px;background:#25282d;color:#fff;font-size:26px}
.contentVideoHead button:hover,.galleryHead button:hover{background:#393e45}
