.player-anchor{position:relative;aspect-ratio:var(--qy-player,100/56.25);min-width:0}
.player-anchor>.player-screen{width:100%}
/* Reserve the player area when the WebView does not implement aspect-ratio. */
@supports not (aspect-ratio: 16 / 9) {
  .player-anchor::before {
    content:"";
    display:block;
    padding-top:var(--qy-player-pct,56.25%);
  }
  .player-anchor:not(.qy-player-floating):not(.qy-player-web-fullscreen) > .player-screen {
    position:absolute;
    top:0;
    left:0;
    height:100%;
  }
}
@media(max-width:680px),(pointer:coarse){
  .player-anchor.qy-player-floating>.player-screen{
    position:fixed;
    top:var(--qy-float-top,0px);
    left:var(--qy-float-left,0px);
    width:var(--qy-float-width,100%);
    height:var(--qy-float-height,auto);
    z-index:31;
    box-shadow:0 4px 14px #0003;
  }
}
.player-anchor.qy-player-web-fullscreen>.player-screen{position:fixed;top:0;left:0;width:100vw;height:100vh;height:100dvh;aspect-ratio:auto;z-index:10000;border-radius:0;box-shadow:none}
html.qy-web-player-open,html.qy-web-player-open body{overflow:hidden}
html.qy-video-fixed{scroll-padding-top:var(--qy-fixed-player-bottom,0px)}
