.whs-video-player.is-yt-enhanced{background:#000;isolation:isolate;--yt-red:#ff0033;font-family:Arial,Helvetica,sans-serif;}
.whs-video-player:not(.is-yt-enhanced) .whs-yt-ui{display:none;}
.whs-yt-ui{position:absolute;inset:0;z-index:3;pointer-events:none;color:#fff;background:linear-gradient(transparent 48%,#0000 60%,#0009 100%);opacity:0;transition:opacity .15s;}
.is-controls-visible .whs-yt-ui,.is-paused .whs-yt-ui{opacity:1;}
.whs-yt-transport{position:absolute;bottom:0;left:8px;right:8px;height:44px;display:flex;align-items:center;gap:0;}
.whs-yt-ui button{display:grid;place-items:center;position:relative;width:44px;height:44px;padding:10px;background:transparent;border:0;color:white;border-radius:0;pointer-events:none;flex:0 0 auto;touch-action:manipulation;}
.is-controls-visible .whs-yt-ui button,.is-paused .whs-yt-ui button,.is-controls-visible .whs-yt-ui input,.is-paused .whs-yt-ui input{pointer-events:auto;}
.whs-yt-ui button svg{width:24px;height:24px;display:block;fill:currentColor;}
.whs-yt-ui button:hover{background:#ffffff12;}.whs-yt-ui button:disabled{opacity:.4;cursor:default;}
.whs-yt-ui button:focus-visible,.whs-yt-ui input:focus-visible,.whs-yt-menu select:focus-visible{outline:2px solid #fff;outline-offset:-2px;}
.whs-yt-volume{display:flex;align-items:center;flex:0 0 auto;}
.whs-yt-volume input{appearance:none;width:0;opacity:0;height:3px;background:#fff;border:0;padding:0;margin:0;transition:width .15s,opacity .15s;}
.whs-yt-volume:hover input,.whs-yt-volume:focus-within input{width:64px;opacity:1;margin-right:8px;}
.whs-yt-volume input::-webkit-slider-thumb{appearance:none;background:#fff;width:11px;height:11px;border-radius:50%;border:0;}
.whs-yt-volume input::-moz-range-thumb{background:#fff;width:11px;height:11px;border-radius:50%;border:0;}
.whs-yt-clock{font:13px/1 Arial,Helvetica,sans-serif;white-space:nowrap;margin:0 6px;color:#fff;text-shadow:0 1px 2px #000;}
.whs-yt-spacer{flex:1;}
.whs-yt-cc.is-active::after{content:'';position:absolute;left:11px;right:11px;bottom:7px;height:3px;background:var(--yt-red);}
.whs-yt-seek{position:absolute;left:12px;bottom:43px;width:calc(100% - 24px);height:14px;margin:0;padding:0;appearance:none;background:transparent;border:0;border-radius:0;cursor:pointer;pointer-events:none;touch-action:none;--watched:0%;}
.whs-yt-seek::-webkit-slider-runnable-track{height:3px;background:linear-gradient(to right,var(--yt-red) 0 var(--watched),#ffffff66 var(--watched) 100%);border:0;border-radius:0;}
.whs-yt-seek::-moz-range-track{height:3px;background:#ffffff66;border:0;}
.whs-yt-seek::-moz-range-progress{height:3px;background:var(--yt-red);}
.whs-yt-seek::-webkit-slider-thumb{appearance:none;width:12px;height:12px;margin-top:-4.5px;border:0;border-radius:50%;background:var(--yt-red);opacity:0;transition:opacity .15s;}
.whs-yt-seek::-moz-range-thumb{width:12px;height:12px;border:0;border-radius:50%;background:var(--yt-red);}
.whs-video-player:hover .whs-yt-seek::-webkit-slider-thumb,.whs-yt-seek:focus-visible::-webkit-slider-thumb{opacity:1;}
.whs-yt-menu{position:absolute;right:48px;bottom:58px;width:214px;background:#242424f5;border-radius:8px;color:white;padding:14px;box-shadow:0 4px 14px #0005;pointer-events:auto;font:13px/1.5 Arial,Helvetica,sans-serif;}
.whs-yt-menu label{display:grid;gap:8px;}.whs-yt-menu select{font:13px Arial,Helvetica,sans-serif;background:#333;color:#fff;border:1px solid #777;border-radius:3px;padding:8px;width:100%;min-height:36px;}
.whs-yt-loading{position:absolute;left:50%;top:50%;width:32px;height:32px;transform:translate(-50%,-50%);border:3px solid #ffffff55;border-top-color:white;border-radius:50%;animation:whs-video-spin 1s linear infinite;z-index:4;}
.whs-yt-error{position:absolute;left:12px;right:12px;top:48px;font:12px/1.4 Arial,Helvetica,sans-serif;text-align:center;background:#000b;color:#fff;padding:8px;border-radius:4px;}
.is-yt-enhanced .whs-video-play{border-radius:10px;background:#0009;width:68px;height:48px;z-index:4;color:#fff;touch-action:manipulation;}
.is-yt-enhanced .whs-video-play:hover{background:#ff0033;}.is-yt-enhanced .whs-video-play svg{width:32px;height:32px;}
.whs-video-player:fullscreen,.whs-video-player:-webkit-full-screen{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;aspect-ratio:auto;border-radius:0;}
.whs-video-player:fullscreen video,.whs-video-player:-webkit-full-screen video{width:100%;height:100%;object-fit:contain;}
@keyframes whs-video-spin{to{transform:translate(-50%,-50%) rotate(360deg);}}
@media(max-width:760px){
 .whs-yt-ui{background:linear-gradient(#0005 0,#0000 35%,#0000 55%,#0007 100%);}
 .whs-yt-transport{display:contents;}
 .whs-yt-transport>[data-yt-play],.whs-yt-spacer{display:none;}
 .whs-yt-volume{position:absolute;right:96px;top:1px;width:44px;height:44px;}
 .whs-yt-volume input{display:none;}
 .whs-yt-cc{position:absolute!important;right:52px;top:1px;}
 .whs-yt-settings{position:absolute!important;right:8px;top:1px;}
 .whs-yt-clock{position:absolute;left:11px;bottom:17px;font-size:12px;margin:0;line-height:16px;}
 .whs-yt-fullscreen{position:absolute!important;right:5px;bottom:15px;}
 .whs-yt-seek{bottom:6px;height:16px;}
 .whs-yt-seek::-webkit-slider-thumb{opacity:1;width:10px;height:10px;margin-top:-3.5px;}
 .whs-yt-menu{right:10px;top:46px;bottom:auto;width:190px;padding:10px;font-size:12px;}
 .whs-yt-menu select{font-size:12px;min-height:36px;padding:6px;}
 .is-yt-enhanced .whs-video-play{width:54px;height:44px;background:#0004;border-radius:9px;}
 .is-yt-enhanced .whs-video-play svg{width:30px;height:30px;}
 .whs-video-player.is-yt-enhanced video::cue{font-size:14px;}
}
@media(prefers-reduced-motion:reduce){.whs-yt-ui,.whs-yt-volume input{transition:none;}.whs-yt-loading{animation:none;}}
