/* Native input remains unobstructed outside explicit adjustment mode. */
:root{--gd-safe-left:env(safe-area-inset-left,0px);--gd-safe-right:env(safe-area-inset-right,0px);--gd-safe-top:env(safe-area-inset-top,0px);--gd-safe-bottom:env(safe-area-inset-bottom,0px)}
.youtube-modal.gd-video-float{display:block;position:fixed;inset:0;z-index:10000;padding:0;pointer-events:none;background:none;backdrop-filter:none}
.youtube-modal.gd-video-float[hidden],.gd-video-float .youtube-modal-backdrop{display:none!important}
.gd-video-float .youtube-modal-shell.gd-video-float-shell{position:absolute;max-width:none;min-width:0;aspect-ratio:auto;padding:0;box-sizing:border-box;background:transparent;border:0;border-radius:0;overflow:visible;pointer-events:auto;box-shadow:none;transform:none}
.gd-video-float-shell iframe{width:100%;height:100%;display:block;border:0;background:#000;pointer-events:auto}
.gd-video-float-close,.gd-video-float-more{position:absolute;right:0;bottom:calc(100% + 6px);width:44px;height:44px;display:flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:50%;background:transparent;color:#fff;text-shadow:0 1px 3px #000;font:28px/1 Arial,sans-serif;cursor:pointer;opacity:.38;pointer-events:auto;touch-action:manipulation}
.gd-video-float-close:hover,.gd-video-float-close:focus-visible,.gd-video-float-more:hover,.gd-video-float-more:focus-visible{opacity:1}
.gd-video-float-close:focus-visible{outline:2px solid #a5b4fc;outline-offset:-2px}
body.youtube-modal-open{overflow:auto}

.gd-video-float-close{right:48px}
.gd-video-float-more{right:0}
.gd-video-float-more:focus-visible{outline:2px solid #a5b4fc;outline-offset:-2px}
.gd-video-adjust-surface{position:absolute;inset:0;touch-action:none;user-select:none;-webkit-user-select:none;cursor:move;background:transparent;z-index:1}
.gd-video-adjust-surface[hidden]{display:none!important}
