/* 2.0.376: shared video pop-up (used with /shared/video-modal.js). Same look as the Academy player. */
.vm{--vm-acc:#7c5cff;position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:16px;box-sizing:border-box}
.vm[hidden]{display:none}
.vm-bg{position:absolute;inset:0;background:rgba(10,12,18,.84)}
.vm-box{position:relative;width:min(1100px,100%);background:#111320;border-radius:16px;overflow:hidden;color:#fff;box-shadow:0 30px 80px rgba(0,0,0,.5)}
.vm-top{display:flex;align-items:center;gap:12px;padding:12px 12px 12px 18px}
.vm-top b{flex:1;min-width:0;font:700 16px Inter,Arial,sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vm-x{flex:none;width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.12);color:#fff;font-size:24px;line-height:1;cursor:pointer;transition:background .2s,transform .2s}
.vm-x:hover,.vm-x:focus-visible{background:var(--vm-acc);transform:rotate(90deg)}
.vm-frame{aspect-ratio:16/9;background:#000}
.vm-frame iframe{width:100%;height:100%;border:0;display:block}
.vm-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px}
.vm-nav.one{justify-content:flex-end}
.vm-nav button,.vm-yt{min-height:40px;padding:0 16px;border-radius:100px;border:1px solid rgba(255,255,255,.25);background:none;color:#fff;font:600 14px Inter,Arial,sans-serif;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;transition:background .2s,border-color .2s}
.vm-nav button[hidden]{display:none}
.vm-nav button:hover,.vm-yt:hover{background:var(--vm-acc);border-color:var(--vm-acc)}
.vm-nav button:disabled{opacity:.35;cursor:default;background:none;border-color:rgba(255,255,255,.25)}
html.vm-lock{overflow:hidden}
@media (max-width:560px){.vm{padding:0}.vm-box{width:100%;border-radius:0}.vm-nav:not(.one) .vm-yt{display:none}}
