.arc-stage .arc-surface {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  pointer-events: none;
  filter: brightness(calc(1 - var(--arc-veil, 0)));
}

.arc-stage .arc-surface-on > .arc-surface { display: block }
.arc-stage .arc-surface-on > img { opacity: 0 }
.arc-stage .arc-surface-on::after { opacity: 0 }

/* The router captures the original photograph when crossing into a case. */
.arc-stage .arc-surface-on > img[style*="view-transition-name"] { opacity: 1 }
.arc-stage img[style*="view-transition-name"] + .arc-surface { display: none }

@media (prefers-reduced-motion: reduce) {
  .arc-stage .arc-surface-on > img { opacity: 1 }
  .arc-stage .arc-surface-on > .arc-surface { display: none }
}
