/* A translucent guard leaf lifts off the photograph; the miniature stays still. */
.story-guard {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  perspective: 1500px;
  overflow: hidden;
}
.story-guard-sheet {
  position: absolute;
  inset: -2% -3% -2% 0;
  transform-origin: 0 48%;
  background:
    repeating-linear-gradient(93deg, #b69c6620 0 1px, transparent 1px 5px),
    repeating-linear-gradient(2deg, #fff8df17 0 1px, transparent 1px 4px),
    linear-gradient(95deg, #d8c59ae8, #f6edcfe8 7%, #fff7dfe0 71%, #ddcca8ed 96%, #b7a17dcc);
  border-right: 1px solid #fff8de;
  box-shadow: 18px 3px 42px #251b1259, inset -12px 0 24px #9a81592b;
  backface-visibility: visible;
  will-change: transform, opacity;
}
.story-guard-sheet::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 53%, #fff9e533 80%, #705b3030);
}
@media (prefers-reduced-motion: reduce) {
  .story-guard { display: none; }
}
/* The caption and speech arrive with the newly uncovered miniature. */
.story-entering #play > header {
  animation: story-caption-arrives 620ms 200ms both;
}
.story-entering #speech {
  animation: story-speech-arrives 450ms 450ms both;
}
@keyframes story-caption-arrives {
  from { opacity: .2; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
@keyframes story-speech-arrives {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .story-entering #play > header, .story-entering #speech { animation: none; }
}
