/* SoapCow page transitions (with js/transitions.js), 2026-09-27.
   - Clicking a link to another soapcow.com page: this page fades out to the dark background (html.sc-leaving), then
     the next one opens and fades in - the same in every browser. The arriving page is held hidden (html.sc-fadein)
     until it can be drawn, then fades in (html.sc-in).
   - Arriving from another soapcow.com page, the full-screen loader is skipped (html.sc-internal); first visits from
     elsewhere still get it.
   The fades are off for anyone whose device asks for less motion.
   v2: fade out, then in (v1 was the browser's own cross-fade). v3: quicker (0.12 s out, 0.22 s in); no fades for the
   same page again (see js/transitions.js). v4: the fade-in waits until the page can be drawn; a failsafe shows it
   after 2.5 s whatever happens. */
@media (prefers-reduced-motion: no-preference) {
	html.sc-fadein body { opacity: 0; animation: sc-failsafe .01s 2.5s forwards; }
	html.sc-in body { transition: opacity .22s ease-out; }
	html.sc-leaving body { opacity: 0; transition: opacity .12s ease-in; }
}
html.sc-internal .loader-container { display: none; }
@keyframes sc-failsafe { to { opacity: 1; } }
