/* These pinned song-page bands are phone-only. Computer layouts stay unchanged. */
@media (max-width: 600px) {
  body:has(.music-sticky-heading) { overflow-x: clip; }

  body main > #music-sticky-heading.music-sticky-heading {
    position: sticky;
    top: 0;
    z-index: 31;
    width: var(--phone-viewport-width, 100vw);
    max-width: none;
    margin: 0 calc((100% - var(--phone-viewport-width, 100vw)) / 2);
    padding: 0 23px;
    border: 0;
    background: #020308 url('/assets/blue-stage-background.png') no-repeat;
    background-size: var(--stage-width, 100vw) var(--stage-height, 100vh);
    background-position: var(--stage-x, 0px) var(--stage-y, 0px);
    scroll-margin-top: 0;
  }

  body main > #music-sticky-heading.music-sticky-heading .musicnav {
    position: static;
    margin-bottom: 6px !important;
    background: transparent !important;
  }

  body main > #music-sticky-heading.music-sticky-heading #music-sections.intro {
    position: static;
    width: 100% !important;
    max-width: none;
    margin: 0 !important;
    padding: 0 0 12px;
    background: transparent !important;
  }

  body main > #music-sticky-heading.music-sticky-heading .recordings-headline {
    position: static;
    width: calc(100% + 46px) !important;
    margin-inline: -23px !important;
    border-top: 1px solid #F5A300 !important;
    background: transparent !important;
  }

  body main > #music-sticky-heading.music-sticky-heading #music-sections.intro .recordings-headline {
    padding-top: 8px;
  }

  body main > #music-sticky-heading.music-sticky-heading :is(.recordings-headline, #music-sections.intro)::before {
    content: none;
  }

  body main > #music-sticky-heading.music-sticky-heading .recording-sticky-controls {
    position: static;
    width: 100% !important;
    margin: 0 !important;
    padding: 8px 0 12px;
    background: transparent !important;
  }

  html:has(.music-sticky-heading) {
    scroll-padding-top: var(--music-sticky-heading-height, 170px);
  }
  body:has(.music-sticky-heading) :is(a, button, input, summary) {
    scroll-margin-top: 12px;
  }
}
