/* The real page changes beneath the bank of close petals. The living effects
   occupy their own transition group above these two document snapshots. */
:root[data-entrance="fantasy"]::view-transition-old(root) {
  z-index: 1;
  mix-blend-mode: normal;
  animation: fantasy-page-vanishes var(--entrance-duration) linear both;
}

:root[data-entrance="fantasy"]::view-transition-new(root) {
  animation: none;
  opacity: 1;
  mix-blend-mode: normal;
}

@keyframes fantasy-page-vanishes {
  0%, 44% { opacity: 1; }
  51% { opacity: .68; }
  58%, 100% { opacity: 0; }
}

[data-scene="fantasy"] .spell-garden {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
