/* Smooth page changes (registry 9467, His Highness 18 Nov 2026). The browser keeps the top bar, the course
   index, the footer and the moving background still, and fades only the content area in. Our own pages
   (.mast, main, .colophon) and the engine pages (.navbar, #topofscroll, #page-footer) use the same names, so
   moving between them is smooth too. Browsers without view transitions load pages exactly as before. */
@view-transition{navigation:auto}
.mast,.navbar.fixed-top{view-transition-name:cfc-top}
.room{view-transition-name:cfc-room}
.drawer.drawer-left:not(.drawer-primary){view-transition-name:cfc-index}
body>main,#topofscroll{view-transition-name:cfc-main}
.colophon,#page-footer{view-transition-name:cfc-foot}
::view-transition-group(cfc-top),::view-transition-group(cfc-room),::view-transition-group(cfc-index),::view-transition-group(cfc-foot),::view-transition-group(cfc-main){animation:none}
::view-transition-old(cfc-top),::view-transition-old(cfc-room),::view-transition-old(cfc-index),::view-transition-old(cfc-foot){display:none}
::view-transition-new(cfc-top),::view-transition-new(cfc-room),::view-transition-new(cfc-index),::view-transition-new(cfc-foot){animation:none}
::view-transition-old(root),::view-transition-new(root){animation-duration:.2s}
::view-transition-old(cfc-main){animation:cfc-vt-out .14s cubic-bezier(.22,.8,.16,1) both}
::view-transition-new(cfc-main){animation:cfc-vt-in .32s cubic-bezier(.22,.8,.16,1) .04s both}
@keyframes cfc-vt-out{to{opacity:0}}
@keyframes cfc-vt-in{from{opacity:0;transform:translateY(6px)}}
@media (prefers-reduced-motion:reduce){::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}}
