/* Loaded only on www.nunu.live by its host-scoped entry. Keep the frozen UI. */
@media (min-width: 1025px) {
  /* Above the full-bleed breakpoint, respect the desktop parent's inner width. */
  body.front.portal.tpl-haoju.player-page .player-media-stack {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.front.portal.tpl-haoju.player-page .player-media-stack > .player-frame,
  body.front.portal.tpl-haoju.player-page .player-media-stack > .stream-player-mid-ad {
    max-width: 100% !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  /* The existing frame is 100vw; move its containing track to the same edge. */
  body.front.portal.tpl-haoju.player-page .player-media-stack {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
@media (min-width: 901px) and (max-width: 960px) {
  /* Four controls cannot fit in the legacy 184px cap; retain their own sizes. */
  body.front.portal.tpl-haoju.player-page .haoju-global-head {
    grid-template-columns: minmax(0, 1fr) minmax(170px, 220px) auto !important;
  }
  body.front.portal.tpl-haoju.player-page .haoju-global-header .haoju-global-actions {
    max-width: none !important;
  }
}
