.story-figure {
  position: relative;
  min-inline-size: 0;
  margin: 0;
  pointer-events: none;
}
.story-figure :is(img, video) {
  display: block;
  inline-size: 100%;
  block-size: auto;
  object-fit: contain;
}
.story-figure video {
  position: absolute;
  inset: 0;
  opacity: 0;
}
@media screen and (prefers-reduced-motion: no-preference) {
  .story-figure video.playing { opacity: 1; }
}
