/* Scoped only to Newsprint ⇄ Night Shift; other transitions and rooms are untouched. */
html.wipe-room-change::view-transition-group(root){animation:none}
html.wipe-room-change::view-transition-old(root),html.wipe-room-change::view-transition-new(root){animation:none;mix-blend-mode:normal;object-fit:fill}
html.wipe-room-change::view-transition-new(root){clip-path:inset(100%);z-index:2}
html.wipe-room-change::view-transition-old(root){z-index:1}
html.wipe-room-change::view-transition{pointer-events:none}

html.wipe-room-change,html.wipe-room-change body{overflow-anchor:none;scroll-behavior:auto!important}
/* Capture the destination palette fully resolved, not halfway through a color tween. */
html.wipe-room-change *,html.wipe-room-change *::before,html.wipe-room-change *::after{transition:none!important}

@property --wipe-edge{syntax:"<percentage>";inherits:false;initial-value:100%}
html.wipe-into::view-transition-new(root){mask-image:linear-gradient(to right,transparent calc(var(--wipe-edge) - 1.25%),#fff calc(var(--wipe-edge) + 1.25%));filter:blur(.35px)}
html.wipe-back::view-transition-new(root){mask-image:linear-gradient(to right,#fff calc(var(--wipe-edge) - 1.25%),transparent calc(var(--wipe-edge) + 1.25%));filter:blur(.35px)}
