/* How-to video modal (intro-video.js). Shares the checkout dialog look. */
.studio .intro-video-dialog {width:fit-content;max-width:calc(100vw - 32px);overflow:hidden;}
.intro-video-dialog .checkout-header {padding:16px 18px 14px;}
.intro-video-dialog .checkout-header h2 {font-size:22px;}
.intro-video-stage {position:relative;background:#000;}
.intro-video-stage video {
 display:block;width:auto;max-width:100%;
 /* 9:16 video: fit the screen height under the header. */
 height:min(720px,calc(100dvh - 140px));aspect-ratio:9/16;object-fit:contain;margin:auto;
}
.studio .intro-video-sound {
 position:absolute;left:50%;bottom:18px;transform:translateX(-50%);
 display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 16px;
 border:1px solid #b9def6;border-radius:999px;background:#0b2033e6;color:#fff;
 font:700 14px/1 Arial,Helvetica,sans-serif;cursor:pointer;
}
.studio .intro-video-sound:hover {background:#315f7d;}
.intro-video-sound svg {width:18px;height:18px;}
.intro-video-sound[hidden] {display:none;}
@media (max-width:600px){
 .studio .intro-video-dialog {max-width:calc(100vw - 20px);}
 .intro-video-stage video {height:min(720px,calc(100dvh - 120px));}
}
