/* Page transition (tx.js): the Shutter's overlay canvas, and the first-paint name cover set up by tx-head.js */
.tx { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 50; pointer-events: none; display: none; }
.tx.on { display: block; pointer-events: auto; }

/* the next page's name, snapped from the last frame of the previous page, on the first-paint ink */
html.veiled.tx-nm body::before { content: ""; position: fixed; z-index: 2147483001; left: var(--tx-x); top: var(--tx-y); width: var(--tx-w); height: var(--tx-h);
  background: var(--tx-nm) 0 0 / 100% 100% no-repeat; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .tx { transition: opacity .3s cubic-bezier(.25, .6, .3, 1); }
}
