.story-page--tiny-task {
  background:
    radial-gradient(circle at 87% 13%, rgba(247,207,173,.28), transparent 29rem),
    radial-gradient(circle at 9% 56%, rgba(210,229,220,.3), transparent 33rem),
    linear-gradient(180deg, #fffaf4 0%, #f8fbf8 56%, #f4f7fb 100%);
}

.story-page--list-progress {
  background:
    radial-gradient(circle at 11% 18%, rgba(214,226,241,.34), transparent 30rem),
    radial-gradient(circle at 90% 49%, rgba(246,210,179,.23), transparent 31rem),
    linear-gradient(180deg, #fbfaf6 0%, #f7fafb 56%, #f4f7fb 100%);
}

.story-page--sunday-meeting {
  background:
    radial-gradient(circle at 88% 12%, rgba(203,226,216,.34), transparent 31rem),
    radial-gradient(circle at 8% 62%, rgba(247,196,151,.22), transparent 33rem),
    linear-gradient(180deg, #fffaf4 0%, #f8faf8 54%, #f4f7fb 100%);
}

:is(.story-page--tiny-task, .story-page--list-progress, .story-page--sunday-meeting) .story-main {
  padding-bottom: 2.25rem;
}

:is(.story-page--tiny-task, .story-page--list-progress, .story-page--sunday-meeting) .story-beat {
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: clamp(4rem, 7vw, 5rem);
}

:is(.story-page--tiny-task, .story-page--list-progress, .story-page--sunday-meeting) .story-break {
  margin-bottom: clamp(4rem, 7vw, 5rem);
}

:is(.story-page--tiny-task, .story-page--list-progress, .story-page--sunday-meeting) .story-final {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

:is(.story-page--tiny-task, .story-page--list-progress, .story-page--sunday-meeting) .story-final-copy {
  padding-bottom: 1.5rem;
}

:is(.story-page--tiny-task, .story-page--list-progress, .story-page--sunday-meeting) article > .story-figure:last-of-type {
  margin-bottom: 0 !important;
}

/* Match the shell to each SVG viewBox so the browser does not letterbox the artwork
   with white bars. Standard scenes are 4:3, panoramic beats are 1000x440, and the
   final handoff illustrations are 1000x560. */
:is(.story-page--tiny-task, .story-page--list-progress, .story-page--sunday-meeting) .story-scene-shell {
  aspect-ratio: 4 / 3;
}

:is(.story-page--tiny-task, .story-page--list-progress, .story-page--sunday-meeting) article > .story-beat.story-beat--panoramic .story-scene-shell {
  aspect-ratio: 25 / 11;
}

:is(.story-page--tiny-task, .story-page--list-progress, .story-page--sunday-meeting) article > figure.story-figure .story-scene-shell {
  aspect-ratio: 25 / 14;
}

:is(.story-page--tiny-task, .story-page--list-progress, .story-page--sunday-meeting) footer.footer-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
  padding: 1.25rem 0 2rem;
  border-top: 1px solid var(--story-line);
  color: #667085;
  font-size: .82rem;
  line-height: 1.4;
}

:is(.story-page--tiny-task, .story-page--list-progress, .story-page--sunday-meeting) footer.footer-simple > span {
  color: var(--story-ink);
  font-weight: 750;
  letter-spacing: -.01em;
}

:is(.story-page--tiny-task, .story-page--list-progress, .story-page--sunday-meeting) footer.footer-simple nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .95rem;
}

:is(.story-page--tiny-task, .story-page--list-progress, .story-page--sunday-meeting) footer.footer-simple a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: .2em;
}

:is(.story-page--tiny-task, .story-page--list-progress, .story-page--sunday-meeting) footer.footer-simple a:hover,
:is(.story-page--tiny-task, .story-page--list-progress, .story-page--sunday-meeting) footer.footer-simple a:focus-visible {
  color: var(--story-ink);
  text-decoration: underline;
}

@media (max-width: 620px) {
  :is(.story-page--tiny-task, .story-page--list-progress, .story-page--sunday-meeting) .story-main {
    padding-bottom: 1.75rem;
  }

  :is(.story-page--tiny-task, .story-page--list-progress, .story-page--sunday-meeting) footer.footer-simple {
    align-items: flex-start;
    flex-direction: column;
    width: min(100% - 1.5rem, 36rem);
    padding: 1.1rem 0 1.6rem;
  }

  :is(.story-page--tiny-task, .story-page--list-progress, .story-page--sunday-meeting) footer.footer-simple nav {
    justify-content: flex-start;
    gap: .75rem 1rem;
  }
}
