/* Keep one playback surface on the audio pages, including remote playback. */
.along-join-notice { margin:8px 0; color:#dcca9e; font:400 12px/1.6 Poppins,sans-serif; overflow-wrap:anywhere; }
html.nbk-player-modal-open { overflow:hidden !important; overscroll-behavior:none; }
html.nbk-player-modal-open body {
  position:fixed !important; top:var(--nbk-player-scroll-top,0px) !important;
  left:0 !important; right:0 !important; width:100% !important;
}
:is(.qrf-player-dialog,.nsf-player-dialog) { overscroll-behavior:contain; }
/* The native cover, controls and timeline always remain visible. */
.player-continuity > .player-continuity-note:not([role="status"]) { display:none !important; }



@media(max-width:820px) {
  body:is(.quran-refreshed,.nasheed-refreshed) :is(.qrf-mini,.nsf-mini) {
    position:fixed; inset:auto 12px calc(var(--nbk-mini-viewport-gap,0px) + var(--nbk-mobile-nav-space,0px) + max(12px,env(safe-area-inset-bottom))) 12px;
    width:calc(100% - 24px); max-width:none; min-width:0; margin:0; box-sizing:border-box;
    transform:none; translate:none; animation:none; align-items:center; overflow:hidden;
  }
  body:is(.quran-refreshed,.nasheed-refreshed) :is(.qrf-mini-open,.nsf-mini-open) { flex:1 1 0%; min-width:0; max-width:100%; }
  body:is(.quran-refreshed,.nasheed-refreshed) :is(.qrf-mini-play,.qrf-mini-next,.nsf-mini-play,.nsf-mini-next) { flex:0 0 44px; width:44px; min-width:44px; max-width:44px; }
}

/* Never show a second history or remote player in either audio section. */
.nbk-source-remote-surface,.nbk-source-mini-remote,.player-continuity-resume { display:none !important; }
