.vertical-edge, .seam-light { display: none; }

@media screen and (prefers-reduced-motion: no-preference) {
  /* Position the artwork on the actual chapter boundary. Only the artwork
     is translated; the timeline, text and form always scroll natively. */
  main > .chapter-slot > .vertical-edge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: clamp(205px, 60vh, 680px);
    height: clamp(205px, 60svh, 680px);
    transform: translateY(-50%);
    z-index: 3;
    display: block;
    pointer-events: none;
  }
  main .seam-light {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    pointer-events: none;
  }
  .seam-light[data-light="atlas"] {
    background:
      radial-gradient(ellipse at var(--light-x, 45%) 12%, #b5eded9c, transparent 59%),
      linear-gradient(160deg, #8ccfe16b, transparent 65%);
    mix-blend-mode: screen;
  }
  .seam-light[data-light="press"] {
    background:
      radial-gradient(ellipse at var(--light-x, 48%) 0%, #ffcc929c, transparent 60%),
      linear-gradient(121deg, transparent 12%, #ffd6a02b 37%, transparent 65%);
  }
  .seam-light[data-light="letter"] {
    background:
      radial-gradient(ellipse at var(--light-x, 49%) 8%, #fff0cbcf, transparent 55%),
      linear-gradient(132deg, transparent, #c299673b 63%, transparent 82%);
  }
}

@media screen and (max-width: 680px) and (prefers-reduced-motion: no-preference) {
  main > .chapter-slot > .vertical-edge {
    height: clamp(205px, 57vh, 570px);
    height: clamp(205px, 57svh, 570px);
  }
}
