/* Compact hosted-video player and popup stacking fixes. */
.pypmm-modal{z-index:2147483646}.pypmm-modal-dialog{max-height:min(var(--pypmm-modal-height,680px),calc(100dvh - 48px))}.pypmm-video-trigger{display:inline;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.pypmm-video-trigger:hover{color:var(--pypmm-primary)}.pypmm-video-trigger:focus-visible{outline:3px solid var(--pypmm-accent);outline-offset:3px}.pypmm-video-modal{position:fixed;z-index:2147483647;inset:0;display:grid;place-items:center;padding:24px;background:rgba(9,7,10,.88);backdrop-filter:blur(7px);opacity:0;visibility:hidden;transition:opacity var(--pypmm-speed),visibility var(--pypmm-speed)}.pypmm-video-modal[aria-hidden=false]{opacity:1;visibility:visible}.pypmm-video-dialog{position:relative;width:min(760px,100%);max-height:min(var(--pypmm-modal-height,680px),calc(100dvh - 48px));overflow:auto;padding:54px 22px 22px;background:#111;border:1px solid rgba(255,255,255,.16);border-radius:var(--pypmm-popup-radius);box-shadow:0 28px 90px rgba(0,0,0,.58)}.pypmm-video-dialog h2{margin:0 52px 18px 0;color:#fff;font-family:var(--pypmm-heading);font-size:clamp(24px,4vw,36px);line-height:1.1}.pypmm-video-dialog video{display:block;width:100%;max-height:calc(min(var(--pypmm-modal-height,680px),100dvh - 48px) - 120px);background:#000;border-radius:calc(var(--pypmm-popup-radius) * .55)}.pypmm-video-close{position:absolute;z-index:3;top:10px;right:12px;display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid rgba(255,255,255,.32);border-radius:50%;background:rgba(0,0,0,.72);color:#fff;font:32px/1 Arial,sans-serif;cursor:pointer}.pypmm-video-close:hover{background:var(--pypmm-primary)}.pypmm-video-close:focus-visible{outline:3px solid var(--pypmm-accent);outline-offset:3px}
@media(min-width:641px){.pypmm-video-dialog{display:flex;flex-direction:column;width:min(1100px,100%);height:min(var(--pypmm-modal-height,680px),calc(100dvh - 48px));max-height:calc(100dvh - 48px);overflow:hidden}.pypmm-video-dialog h2{flex:0 0 auto;margin-bottom:12px}.pypmm-video-dialog video{flex:1 1 auto;width:100%;height:100%;min-height:0;max-height:none;object-fit:contain}}
@media(max-width:640px){.pypmm-modal{padding:16px}.pypmm-modal-dialog{width:100%;height:auto;max-height:min(var(--pypmm-modal-height,680px),calc(100dvh - 32px));border-radius:var(--pypmm-popup-radius);padding:46px 18px 24px}.pypmm-close{position:absolute;top:6px;right:8px;z-index:5}.pypmm-video-modal{padding:16px}.pypmm-video-dialog{padding:52px 14px 14px}.pypmm-video-dialog video{max-height:calc(100dvh - 150px)}}
