/* ==========================================================================
 * MILLENOVA GLOBAL PLAYER — MEDIA PLAYBACK PROVIDERS CONTRACT
 *
 * OWNER:
 * This file owns the media viewport, poster and provider mount presentation: YouTube/native surface sizing, Spotify and SoundCloud iframe presentation, provider frame chrome and the provider seek surface.
 *
 * MUST NOT OWN:
 * Do not define transport state, queue state, Stage grid composition or card/business logic. Scrollbar chrome remains owned by
 * Styles/scrollbars.css. JavaScript state/queue/provider semantics stay
 * outside CSS.
 *
 * CASCADE CONTRACT:
 * Segment 2 of 2 for this owner. Phase 11A mechanical split: loaded at manifest position 25, after
 * 24-stage-desktop-layout--part-5-of-6.css. Rule order is unchanged from the former monolith (baseline
 * df93472, lines 4067–4100). New corrections go into the canonical owning
 * rule; never append dated Phase/fix blocks.
 *
 * DEPENDENCIES:
 * Depends on Scripts/provider-player.js and provider-inline-player.js mount markup, data-playback-adapter attributes and the player shell from the shell owner.
 * ========================================================================== */


/* ==========================================================================
 * Phase 10 hardening — provider frame chrome
 *
 * Spotify/SoundCloud embeds are third-party iframe documents. Keep their
 * viewport clipped by Millenova so provider page chrome/white corner leakage
 * and iframe scrollbars cannot visually escape into Stage. This deliberately
 * does not alter the dated Wilder Ruiz black-cinema Stage override above.
 * ========================================================================== */

.floating-playlist__video[data-playback-adapter="spotify"],
.floating-playlist__video[data-playback-adapter="soundcloud"] {
  overflow: hidden;
  border: 0;
  border-radius: clamp(12px, .85vw, 18px);
  background: #08090d;
  box-shadow: none;
}

.floating-playlist__video[data-playback-adapter="spotify"]
  .floating-playlist__video-mount,
.floating-playlist__video[data-playback-adapter="soundcloud"]
  .floating-playlist__video-mount,
.floating-playlist__video[data-playback-adapter="spotify"]
  .floating-playlist__provider-mount,
.floating-playlist__video[data-playback-adapter="soundcloud"]
  .floating-playlist__provider-mount,
.floating-playlist__video[data-playback-adapter="soundcloud"]
  .millenova-provider-stack {
  overflow: hidden;
  border-radius: inherit;
  background: #08090d;
}

.floating-playlist__video[data-playback-adapter="spotify"]
  .floating-playlist__provider-iframe,
.floating-playlist__video[data-playback-adapter="soundcloud"]
  .floating-playlist__provider-iframe {
  display: block;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: inherit;
  background: #08090d;
}
