.video-float-slot{position:relative;max-width:900px;aspect-ratio:16/9}
.video-float{position:relative}
.video-float iframe,.video-float video{display:block;width:100%;max-width:900px;aspect-ratio:16/9;border:0;border-radius:8px}
.video-float-close{display:none;position:absolute;top:6px;right:6px;z-index:10;cursor:pointer;border:0;border-radius:6px;padding:2px 10px;font-size:12px;line-height:1.4;background:rgba(0,0,0,.55);color:#fff;opacity:0;transition:opacity .15s}
.video-float.floating{position:fixed;right:16px;bottom:16px;width:min(360px,80vw);aspect-ratio:16/9;z-index:999;resize:both;overflow:hidden;background:#000;border-radius:8px;box-shadow:0 4px 16px rgba(0,0,0,.3);min-width:220px;min-height:124px;max-width:80vw;max-height:80vh}
.video-float.floating iframe,.video-float.floating video{width:100%;height:100%;max-width:none;aspect-ratio:auto;border-radius:0}
.video-float.floating .video-float-close{display:block}
.video-float-drag{display:none}
.video-float.floating .video-float-drag{display:block;position:absolute;top:6px;left:6px;z-index:10;cursor:move;border:0;border-radius:6px;padding:2px 10px;font-size:12px;line-height:1.4;background:rgba(0,0,0,.55);color:#fff;opacity:0;transition:opacity .15s;user-select:none;touch-action:none}
.video-float.floating:hover .video-float-close,.video-float.floating:hover .video-float-drag{opacity:.9}
