/* Only enabled by the iOS standalone controller. Android and browser tabs keep
   the existing fixed dock. Top anchoring avoids relying on a stale bottom viewport boundary. */
@media (max-width:1023px) {
  .glory-app :is(.bottom-nav,.music-player,.sermon-mini).ios-standalone-dock {
    position:fixed;
    top:var(--dock-top);
    bottom:auto;
    transform:none;
    animation:none;
  }
  .glory-app .music-player.ios-standalone-dock.is-expanded {
    max-height:calc(var(--dock-height) - var(--bottom-nav-height) - env(safe-area-inset-bottom) - 24px);
  }
  .glory-app .music-player.ios-standalone-dock .music-queue[open] {
    position:static;
    max-height:40dvh;
  }
}
