@if (_isMinimized) {
} else {
@* Fixed (embed) queue panel (§4 / AC5). A release embed shows the up-next inline below the controls as a read-only list (Editable=false → no drag handles, no remove buttons; C3). Jump-to-track is still allowed (OQ2) — routed through the same OnQueueJump as the docked overlay, which calls JumpTo (moves the pointer and streams the row, clearing IsArmed). Gated on ShowFixedPanel so a single-track embed (empty queue) stays panel-free (UC6). The Queue button collapses/expands this panel (OQ1 Option A); collapse hides it and posts the shrunken height to the host iframe. *@ @if (ShowFixedPanel && _fixedPanelOpen) {
} @* Minimize / close — positioned absolutely top-right *@ @if (!Fixed) { }
@if (!string.IsNullOrEmpty(ErrorMessage)) { @ErrorMessage } @* Docked queue overlay (Phase 17 §3.2). MudOverlay portals to the body, so its position here in the dock subtree does not affect its screen-centered rendering. Only mounted in docked mode — the Fixed embed renders its own inline panel inside the surface above. *@ @if (ShowDockedOverlay) { }
}