/* The frame itself changes shape; the MP4 fills that exact frame. */
.player.cn-player-ui.cn-ratio-detected {
  position: relative;
  display: block;
  box-sizing: border-box;
  margin-inline: auto;
  overflow: hidden;
}
.player.cn-player-ui.cn-ratio-detected > video[data-cn-src] {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
