.video-dialog{width:min(1100px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #444;background:#0b0b0b;color:#efeeea;overflow:auto}
.video-dialog::backdrop{background:rgb(0 0 0 / .88)}
.video-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px}
.video-dialog h2{font-size:clamp(16px,3vw,24px);line-height:1.2;margin:0}
.video-dialog button{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;background:transparent;border:0;color:inherit;cursor:pointer}
.video-dialog button svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.5;fill:none}
.video-dialog video{display:block;width:100%;max-height:calc(100dvh - 104px);aspect-ratio:16/9;object-fit:contain;background:#000}
.video-dialog .video-error{padding:16px;font-size:15px;line-height:1.5}
.video-dialog .video-error a{text-decoration:underline}
.video-dialog button:focus-visible{outline:2px solid currentColor;outline-offset:-3px}
.video-dialog button:active{opacity:.7}
