/* The new portraits are shown in full, including the hands and scissors. */
.maria-scene .maria-working .photo-window,
.visit-scene .visit-picture .photo-window { aspect-ratio:1122/1402; }
.maria-scene .maria-working .photo-window img,
.visit-scene .visit-picture .photo-window img { width:100%; height:100%; object-fit:contain; }
/* The outgoing sheet is outside .story. Its photograph must keep exactly
   the same geometry as the live page while the corner bends and rebounds. */
.maria-scene { --reader-position:none; }
@media (pointer:fine) {
 .mechanical-reader.is-mouse-dragging,
 .mechanical-reader.is-mouse-dragging * { cursor:grabbing!important; user-select:none; }
 .mechanical-reader img { -webkit-user-drag:none; }
}
.comparison-panels { display:none; position:absolute; inset:0; pointer-events:none; }
.comparison-corrected img[data-swap-halves] { opacity:0; }
.comparison-corrected .comparison-panels { display:flex; }
.comparison-panels > span { width:50%; height:100%; background-size:var(--comparison-width,200%) 100%; background-repeat:no-repeat; }
.comparison-panels > span:first-child { background-position:right center; }
.comparison-panels > span:last-child { background-position:left center; }
/* Before a photograph has pixels, keep unprinted paper the colour of its scene. */
#looks figure[data-work-id] .photo-window:has(img[src^="data:image/svg+xml"]),
#looks figure[data-work-id] .photo-window:has(img[src^="data:image/svg+xml"]) .dcut-paper-base {
  background-color: var(--photo-backdrop);
}
:is(#maria,#visit) .photo-window:has(img[src^="data:image/svg+xml"]),
#technique .technique-image:has(img[src^="data:image/svg+xml"]) {
  opacity: 0;
}
