.video-popup{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));width:min(300px,38vw,calc((100dvh - 80px)*.5625));z-index:90;background:#080808;border:1px solid #444;border-radius:12px;overflow:hidden;box-shadow:0 8px 32px #0008}.video-popup[hidden]{display:none}.video-popup video{display:block;width:100%;aspect-ratio:9/16;object-fit:contain}.video-close{position:absolute;right:4px;top:4px;width:36px;height:36px;background:#080808b8;color:#fff;border:0;border-radius:50%;font-size:26px;cursor:pointer}.video-controls{display:flex;background:#080808}.video-controls button{flex:1;min-height:40px;border:0;background:transparent;color:white;font:inherit;font-size:12px;cursor:pointer}.video-controls button:focus-visible,.video-close:focus-visible{outline:2px solid white;outline-offset:-3px}@media(max-width:600px){.video-popup{width:min(200px,48vw,calc((100dvh - 72px)*.5625));right:12px;bottom:max(12px,env(safe-area-inset-bottom))}}@media(max-height:500px){.video-popup{width:min(180px,calc((100dvh - 80px)*.5625))}}

.video-popup:fullscreen,.video-popup.is-expanded{inset:0;width:100%;height:100dvh;border:0;border-radius:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#000;z-index:200}.video-popup:fullscreen video,.video-popup.is-expanded video{width:100%;height:calc(100dvh - 48px);min-height:0;aspect-ratio:auto;object-fit:contain}.video-popup:fullscreen .video-controls,.video-popup.is-expanded .video-controls{width:min(420px,100%);flex-shrink:0}.video-popup:fullscreen .video-controls button,.video-popup.is-expanded .video-controls button{min-height:48px;font-size:14px}
.video-status{position:absolute;top:8px;left:8px;right:8px;margin:0;padding:8px;background:#000b;color:#fff;font-size:12px;text-align:center}.video-status[hidden]{display:none}

/* Keep the fixed video clear of the inquiry area on desktop and mobile. */
.video-popup.is-contact-hidden:not(:fullscreen):not(.is-expanded){visibility:hidden;pointer-events:none}
