.ssb-page-body {
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100svh;
}

.ssb-page-body::before {
  opacity: 0.07;
}

/* Mobile-first: keep the title/cover group high in the viewport. */
.ssb-stage {
  position: relative;
  z-index: 10;
  min-height: 100svh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2.5rem .75rem 3rem;
}

.ssb-center {
  display: grid;
  justify-items: center;
  width: 110vw;
  max-width: none;
  text-align: center;
  transform: translateY(-1.5rem);
}

.ssb-title-art {
  width: 108vw;
  max-width: none;
  height: auto;
  filter:
    drop-shadow(0 0 1.8rem rgba(108, 139, 255, 0.16))
    drop-shadow(0 1.5rem 4rem rgba(0, 0, 0, 0.3));
  animation: ssb-breathe 5.5s ease-in-out infinite alternate;
}

.ssb-album-cover {
  display: block;
  width: min(72vw, 340px);
  max-width: 72vw;
  height: auto;
  margin-top: -1.35rem;
  border-radius: .45rem;
  box-shadow:
    0 1.6rem 5rem rgba(0, 0, 0, 0.28),
    0 0 2.8rem rgba(108, 139, 255, 0.10);
}

.ssb-date {
  max-width: 84vw;
  margin: 1rem 0 0;
  color: rgba(255, 246, 243, 0.9);
  font-family: var(--font-mono);
  font-size: clamp(0.68rem, 2.7vw, 0.82rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.ssb-back {
  position: fixed;
  top: clamp(1rem, 3vw, 2rem);
  left: clamp(1rem, 3vw, 2rem);
  z-index: 60;
  color: rgba(255, 246, 243, 0.78);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 160ms ease, transform 160ms ease;
}

.ssb-back:hover,
.ssb-back:focus-visible {
  color: var(--color-mint);
  transform: translateX(-3px);
  outline: none;
}

.ssb-page-body .ssb-art-field {
  inset: -4%;
}

.ssb-page-body .art-piece {
  width: clamp(82px, 30vw, 150px);
  opacity: 0.11;
  animation-duration: 14s;
}

.ssb-page-body .art-field--front .art-piece {
  width: clamp(95px, 35vw, 175px);
  opacity: 0.19;
}

.ssb-page-body .art-piece--1 { animation-duration: 13s; }
.ssb-page-body .art-piece--2 { animation-duration: 15s; }
.ssb-page-body .art-piece--3 { animation-duration: 17s; }
.ssb-page-body .art-piece--4 { animation-duration: 14s; }
.ssb-page-body .art-piece--5 { animation-duration: 16s; }
.ssb-page-body .art-piece--6 { animation-duration: 18s; }

@keyframes ssb-breathe {
  from { transform: scale(0.985); filter: drop-shadow(0 0 1.2rem rgba(108, 139, 255, 0.11)) drop-shadow(0 1.5rem 4rem rgba(0, 0, 0, 0.28)); }
  to   { transform: scale(1.015); filter: drop-shadow(0 0 2.3rem rgba(108, 139, 255, 0.23)) drop-shadow(0 1.7rem 4.5rem rgba(0, 0, 0, 0.34)); }
}

/* Desktop/tablet enhancement after the mobile layout is established. */
@media (min-width: 700px) {
  .ssb-stage {
    padding: .5rem clamp(1rem, 5vw, 3rem) clamp(3rem, 6vh, 5rem);
  }

  .ssb-center {
    width: min(92vw, 1080px);
    transform: translateY(-2rem);
  }

  .ssb-title-art {
    width: min(100%, 1040px);
    max-width: 1040px;
  }

  .ssb-album-cover {
    width: clamp(250px, 31vw, 420px);
    max-width: 82vw;
    margin-top: -3.4rem;
  }

  .ssb-date {
    max-width: none;
    margin-top: clamp(1.05rem, 2vw, 1.5rem);
    font-size: clamp(0.72rem, 1vw, 1rem);
    letter-spacing: 0.24em;
  }

  .ssb-page-body .art-piece {
    width: clamp(110px, 16vw, 280px);
    opacity: 0.14;
  }

  .ssb-page-body .art-field--front .art-piece {
    width: clamp(125px, 18vw, 320px);
    opacity: 0.24;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ssb-title-art,
  .ssb-page-body .art-piece {
    animation: none !important;
  }
}
