/* Muted Deep End of Time background for individual song pages. */
body.inner.page-song {
  position: relative;
  isolation: isolate;
  background: #050608 !important;
}

/* Remove the inherited generic/green-hills environment. */
body.inner.page-song::before,
body.inner.page-song::after {
  display: none !important;
  content: none !important;
}

body.inner.page-song .song-film-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #050608;
}

body.inner.page-song .song-film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  filter: brightness(.72) saturate(.94) contrast(1.04);
}

body.inner.page-song .song-film-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.13), rgba(0,0,0,.31)),
    radial-gradient(circle at 50% 42%, transparent 22%, rgba(0,0,0,.18) 100%);
}

body.inner.page-song .inner-main,
body.inner.page-song .site-footer {
  position: relative;
  z-index: 1;
}

/* Header already has its own fixed positioning and z-index. */
body.inner.page-song .site-header {
  z-index: 200;
}

/* Assigned album art on individual song pages. Higher specificity keeps the
   artwork visible over the later clear-window background overrides. */
body.inner.page-song .song-shell .song-art-large.album-art--on-the-rays {
  background-color: #000 !important;
  background-image: url("../images/art/On%20The%20Rays%20Of%20The%20Sun.jpg") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
}

body.inner.page-song .song-shell .song-art-large.album-art--why-are-we-here {
  background-color: #000 !important;
  background-image: url("../images/art/why-are-we-here.webp") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
}

body.inner.page-song .song-shell .song-art-large.album-art--big-easy-homeboy {
  background-color: #000 !important;
  background-image: url("../images/art/Big%20Easy%20Homeboy%20cover%20small.jpg") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
}

body.inner.page-song .song-shell .song-art-large.album-art--on-the-rays::after,
body.inner.page-song .song-shell .song-art-large.album-art--why-are-we-here::after,
body.inner.page-song .song-shell .song-art-large.album-art--big-easy-homeboy::after {
  content: none !important;
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  body.inner.page-song .song-film {
    display: none;
  }

  body.inner.page-song .song-film-wrap {
    background:
      linear-gradient(rgba(3,8,14,.32), rgba(3,8,14,.48)),
      url("../images/home/deep-end-poster.jpg") center / cover no-repeat;
  }
}
