/* 541: stable expanded player geometry + zero-jump Story handoff.
   Geometry is determined by media type, never language or temporary Story playback. */

body.single-player-ui .player-video-panel:not(.player-side-layout) .player-video-dragzone{
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  box-sizing:border-box!important;
}

@media(min-width:761px){
  body.single-player-ui .player-video-panel:not(.player-side-layout) .player-video-controls{
    height:96px!important;
    min-height:96px!important;
    max-height:96px!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }
}

@media(max-width:760px){
  body.single-player-ui .player-video-panel:not(.player-side-layout) .player-video-controls{
    height:144px!important;
    min-height:144px!important;
    max-height:144px!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }
}

/* Story playback over a video/Short uses the underlying work's real shell.
   Only the cover masks the video until handoff; no music-panel geometry is applied. */
body.single-player-ui .player-video-panel.is-story-intro #video-title{
  display:block!important;
}
body.single-player-ui .player-video-panel.is-story-intro .player-video-dragzone{
  justify-content:space-between!important;
}
body.single-player-ui .player-video-panel.is-story-intro .player-artwork{
  animation:none!important;
  transform:none!important;
}

/* Every content family owns one aperture contract. */
body.single-player-ui .player-video-panel.aperture-square .player-video-shell{
  aspect-ratio:1 / 1!important;
}
body.single-player-ui .player-video-panel.aperture-vertical .player-video-shell{
  aspect-ratio:9 / 16!important;
}
body.single-player-ui .player-video-panel.aperture-wide .player-video-shell{
  aspect-ratio:16 / 9!important;
}
