/* Item 55: hidden screens cost nothing. A menu-flow screen that is neither active nor mid-transition, any
   [hidden] kit block, and a paused-out tab panel stop their animations and skip layout and paint
   (content-visibility). Screens still leaving or entering keep running, so menu-flow's stagger is untouched. */
.mf-screen:not(.is-active,.is-entering,.is-leaving){content-visibility:hidden}
.mf-screen:not(.is-active,.is-entering,.is-leaving) *,.mf-screen:not(.is-active,.is-entering,.is-leaving) *::before,.mf-screen:not(.is-active,.is-entering,.is-leaving) *::after,
[hidden] *,[hidden] *::before,[hidden] *::after{animation-play-state:paused!important}
/* the whole page in a background tab: the kit sets <html data-page-hidden> from document.visibilityState */
:root[data-page-hidden] *,:root[data-page-hidden] *::before,:root[data-page-hidden] *::after{animation-play-state:paused!important}
