/* The storybook's page-to-page transition (Fable's chapter-index plan, 2026-11-14). Only the book's contents and
   world chapters load this file (routes/book.mjs), so no other navigation on the site opts into a view transition.
   The tapped contents vignette (.toc-vig.vt-ch-N) grows into that chapter's opening plate (.pg-plate.vt-ch-N). */
@view-transition { navigation: auto; }
.vt-ch-1 { view-transition-name: ch-1; } .vt-ch-2 { view-transition-name: ch-2; }
.vt-ch-3 { view-transition-name: ch-3; } .vt-ch-4 { view-transition-name: ch-4; }
.vt-ch-5 { view-transition-name: ch-5; } .vt-ch-6 { view-transition-name: ch-6; }
.vt-ch-7 { view-transition-name: ch-7; } .vt-ch-8 { view-transition-name: ch-8; }
::view-transition-group(*) { animation-duration: .32s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .2s; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}
