.video-dialog{box-sizing:border-box;width:min(56rem,calc(100vw - 1.25rem),max(29rem,126svh));max-width:100%;max-height:calc(100dvh - 1.25rem);padding:0;border:1px solid #d5dacd;border-radius:16px;background:#fffaf0;color:#243f35;overflow:auto;box-shadow:0 12px 70px #101e18a8}
.video-dialog::backdrop{background:rgba(19,38,31,.77)}
html:has(.video-dialog[open]){overflow:hidden}
.video-dialog .video-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:.55rem;padding:.65rem .85rem;background:#fffaf0;border:0;position:static;color:#243f35}
.video-dialog h2{color:#243f35;font:750 clamp(1rem,3vw,1.35rem)/1.22 system-ui,sans-serif}
.video-dialog .video-close{flex:none;height:44px;width:44px;display:grid;place-items:center;cursor:pointer;border:1px solid #b0baac;border-radius:50%;background:#eef1e6;color:#243f35;font:400 1.7rem/1 system-ui}
.video-frame{width:100%;aspect-ratio:16/9;background:#152822;min-height:200px}
.video-frame iframe{border:0;display:block;width:100%;height:100%;position:absolute;inset:0}.video-frame{position:relative}
.video-dialog .video-dialog-foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.2rem .7rem;padding:.7rem .85rem;border:0;background:#fffaf0;color:#324940;font-size:.88rem}
.video-dialog-foot a{font-weight:750}
@media (max-width:450px){.video-dialog-head,.video-dialog-foot{max-width:100%}}
