.video-modal{border:0;border-radius:7px;padding:0;margin:auto;width:min(1040px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;background:#fff;color:#292929;box-shadow:0 18px 80px #0004}.video-modal::backdrop{background:#0009}.video-modal-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;border-bottom:1px solid #e8e8e2}.video-modal-header h2{margin:0;min-width:0;overflow-wrap:anywhere;font-size:21px;font-weight:400;line-height:1.4}.video-modal-header>.icon-button{flex-shrink:0}.video-modal-frame{position:relative;width:100%;aspect-ratio:16/9;max-height:calc(100dvh - 130px);background:#000}.video-modal-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}.video-modal-error{padding:28px;max-width:65ch;font-size:16px;line-height:1.6;color:#666}@media(max-width:600px){.video-modal{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.video-modal-header{padding:10px 12px;gap:10px}.video-modal-header h2{font-size:18px}.video-modal-error{padding:22px;font-size:15px}}
