/* Zoom into a window (zoom.js). These classes are only ever added by zoom.js, which skips the whole
   effect when the visitor prefers reduced motion. */

/* A zoomed sheet does not slide up: zoom.js animates it instead. Kept on while the sheet is open,
   because removing it would replay the slide-up. */
.sheet.hz-zoom[open] { animation: none; }

/* While the camera moves, the sheet's backdrop is see-through, so the dimmer and the flying room in
   <body> show through the top layer. Taps on the half-faded text are ignored until it lands. */
.sheet.hz-clear::backdrop { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.sheet.hz-clear .sheet-inner { pointer-events: none; }

/* Same colour and blur as .sheet::backdrop in building.css, so swapping one for the other is invisible. */
.hz-dim {
  position: fixed; inset: 0; z-index: 2147483000; pointer-events: none;
  background: rgba(10, 12, 24, 0.55);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}

/* The copy of the room: zoom.js animates its box from the window to the sheet's picture. */
.hz-room { position: fixed; left: 0; top: 0; z-index: 2147483001; pointer-events: none; }
.hz-room > .win { width: 100%; height: 100%; cursor: default; }
.hz-room .win-glass { width: 100%; height: 100%; aspect-ratio: auto; transform: none !important; transition: none; }
