/* ==========================================================================
 * MILLENOVA GLOBAL PLAYER — TRANSPORT CONTROLS CONTRACT
 *
 * OWNER:
 * This file owns visual layout and sizing for Play/Pause, Previous/Next, Shuffle, Loop, expand/collapse/fullscreen buttons and the transport icon treatment.
 *
 * MUST NOT OWN:
 * Do not define Now Playing text, queue rows or provider behavior. Scrollbar chrome remains owned by
 * Styles/scrollbars.css. JavaScript state/queue/provider semantics stay
 * outside CSS.
 *
 * CASCADE CONTRACT:
 * Segment 1 of 3 for this owner. Phase 11A mechanical split: loaded at manifest position 04, after
 * 03-mini-player--part-1-of-2.css. Rule order is unchanged from the former monolith (baseline
 * df93472, lines 837–913). New corrections go into the canonical owning
 * rule; never append dated Phase/fix blocks.
 *
 * DEPENDENCIES:
 * Depends on transport button markup and aria-pressed/is-active state toggled by Scripts/floating-playlist.js.
 * ========================================================================== */



/* Global player extensions: temporary queues, shuffle and fullscreen. */
.floating-playlist__transport [data-floating-playlist-shuffle] svg,
.floating-playlist__transport [data-floating-playlist-loop] svg,
.floating-playlist__transport [data-floating-playlist-fullscreen] svg,
.floating-playlist__mini-controls [data-floating-playlist-mini-shuffle] svg,
.floating-playlist__mini-controls [data-floating-playlist-mini-loop] svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-playlist__transport button.is-active,
.floating-playlist__mini-controls button.is-active {
  color: var(--mn-cyan);
}

.floating-playlist.is-temporary-queue .floating-playlist__manage {
  display: none !important;
}

.floating-playlist__queue-section {
  padding: .42rem .28rem .16rem;
  color: var(--mn-muted);
  font-size: .43rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.floating-playlist__queue-section[data-floating-queue-section="up-next"] {
  color: var(--mn-cyan);
}

.floating-playlist__queue-section[hidden],
.floating-playlist__track[hidden] {
  display: none !important;
}

.floating-playlist__track--up-next {
  grid-template-columns: 24px 54px minmax(0, 1fr) auto;
  border-color: rgba(110,242,255,.09);
}

.floating-playlist.is-temporary-queue
  .floating-playlist__track--context {
  grid-template-columns: 54px minmax(0, 1fr);
}

.floating-playlist__video:fullscreen {
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
  display: grid;
  place-items: center;
  background: #000;
}

.floating-playlist__video:fullscreen .floating-playlist__video-mount,
.floating-playlist__video:fullscreen .floating-playlist__video-mount > div,
.floating-playlist__video:fullscreen .floating-playlist__video-mount iframe {
  width: 100vw !important;
  height: 100vh !important;
}

@media (max-width: 640px) {
  .floating-playlist__track--up-next {
    grid-template-columns: 20px 48px minmax(0, 1fr) auto;
  }

  .floating-playlist.is-temporary-queue
    .floating-playlist__track--context {
    grid-template-columns: 48px minmax(0, 1fr);
  }
}
