.page-recit .page-hero__image {
  opacity: 0.3;
  filter: blur(48px) saturate(1.3);
  transform: scale(1.2);
}

.story-hero .album__meta {
  margin-top: 1.25rem;
}

.story-hero .share {
  margin-top: 2rem;
}

.story {
  padding-top: calc(var(--section-space) * 0.5);
}

.story__text {
  max-width: 42rem;
  margin: 0 auto;
  color: rgba(236, 228, 210, 0.9);
  font-size: calc(1.08em * var(--text-scale, 1));
  line-height: 1.85;
}

.text-size {
  position: fixed;
  right: calc(0.75rem + env(safe-area-inset-right, 0px));
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: grid;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 7, 11, 0.82);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 0.6s var(--ease-out);
}

.has-player .text-size {
  transform: translateY(calc(-1 * var(--player-h)));
}

.text-size__btn {
  display: grid;
  place-items: center;
  width: 2.5rem;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--gold-300);
  cursor: pointer;
  transition: color 0.3s, background-color 0.3s, opacity 0.3s;
}

.text-size__btn:hover {
  background-color: rgba(224, 191, 122, 0.12);
  color: var(--gold-200);
}

.text-size__btn[aria-disabled="true"] {
  background: none;
  opacity: 0.3;
  cursor: default;
}

.text-size__btn svg {
  width: 1.2rem;
  height: 1.2rem;
}

@media (min-width: 60rem) {
  .text-size {
    right: calc(1.5rem + env(safe-area-inset-right, 0px));
    bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }
}

.story__text p {
  margin: 0;
}

.story__text p + p {
  margin-top: 0.9em;
  text-indent: 1.6em;
}

.story__speech {
  font-style: italic;
}

.story__heading {
  margin: 2.6em 0 1.3em;
  color: var(--gold-300);
  font-size: 1.3em;
  line-height: 1.3;
  text-align: center;
}

.story__heading:first-child {
  margin-top: 0;
}

.story__figure {
  margin-bottom: 2em;
}

.story__figure img {
  aspect-ratio: 16 / 9;
}

.story__text .story__setting {
  margin: 2em 0;
  color: var(--gold-300);
  font-size: 1.1em;
  font-style: italic;
  line-height: 1.6;
  letter-spacing: 0.02em;
  text-align: center;
  text-indent: 0;
}

.story__text .story__setting:first-child {
  margin-top: 0;
}

.story__text .story__setting + p {
  text-indent: 0;
}

@media (min-width: 40rem) {
  .story__text {
    text-align: justify;
  }
}

.story__break {
  margin: 2.25em 0;
}

.story__break::before,
.story__break::after {
  width: min(4.5rem, 18vw);
}

.story__break svg {
  width: 1.2rem;
  height: 1.2rem;
}

.story__end {
  margin: clamp(3rem, 7vw, 4.5rem) auto 0;
  text-align: center;
}

.story__end p {
  margin: 1.1rem 0 0;
  color: var(--gold-500);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.story__listen {
  margin-top: 1.25rem;
}

.story__empty {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.25rem, 4vw, 2.5rem);
  color: var(--text-muted);
  font-size: 1.15em;
  font-style: italic;
  text-align: center;
}

.story__empty svg {
  width: 3rem;
  height: 3rem;
  color: var(--gold-500);
  opacity: 0.5;
}

.story__empty p {
  margin: 0;
}

.page-recit .chapter-nav {
  max-width: 48rem;
}
