/* ==========================================================================
 * MILLENOVA GLOBAL PLAYER — FULLSCREEN AND ORIENTATION CONTRACT
 *
 * OWNER:
 * This file owns player fullscreen presentation, the landscape/portrait rotation fallback and fullscreen-specific sizing.
 *
 * MUST NOT OWN:
 * Do not define the ordinary desktop or mobile Stage layout. Scrollbar chrome remains owned by
 * Styles/scrollbars.css. JavaScript state/queue/provider semantics stay
 * outside CSS.
 *
 * CASCADE CONTRACT:
 * Segment 1 of 2 for this owner. Phase 11A mechanical split: loaded at manifest position 07, after
 * 06-queue-dialogs.css. Rule order is unchanged from the former monolith (baseline
 * df93472, lines 1128–1158). New corrections go into the canonical owning
 * rule; never append dated Phase/fix blocks.
 *
 * DEPENDENCIES:
 * Depends on the Fullscreen API state and .is-orientation-fullscreen set by Scripts/floating-playlist.js.
 * ========================================================================== */


/* Rotation fallback when the Fullscreen API requires a new gesture. */
.floating-playlist.is-orientation-fullscreen {
  inset: 0;
  right: auto;
  bottom: auto;
  width: 100vw;
  height: 100dvh;
  z-index: 9999;
  filter: none;
}

.floating-playlist.is-orientation-fullscreen .floating-playlist__full {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: #000;
}

.floating-playlist.is-orientation-fullscreen .floating-playlist__header,
.floating-playlist.is-orientation-fullscreen .floating-playlist__now,
.floating-playlist.is-orientation-fullscreen .floating-playlist__stage-transport,
.floating-playlist.is-orientation-fullscreen .floating-playlist__tracks,
.floating-playlist.is-orientation-fullscreen .floating-playlist__status {
  display: none !important;
}

.floating-playlist.is-orientation-fullscreen .floating-playlist__video {
  width: 100vw;
  height: 100dvh;
  aspect-ratio: auto;
}
