/* ---------------- photo-flash ---------------- */
/* Sized to the prototype's frame by PhotoFlash.layout(). Takes no pointer events: the
   shutter is a Figma object underneath, and it has to stay pressable through the
   flash. */
#pf {
  position: fixed; z-index: 15; pointer-events: none;
}

/* The whole frame: the poses are drawn at the frame's own size, white to the edges, so a
   flash covers the art rather than sitting in a square on top of it. */
.pf-flash { position: absolute; inset: 0; }
/* One element per pose, all painted from load, and only opacity changes at flash time
   — swapping src would race a decode against a 33ms flash. cover, not fill: a frame of
   some other shape crops the pose rather than stretching it, and the white sides are the
   first thing to go. */
.pf-pose {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  object-fit: cover; opacity: 0;
}
.pf-pose.show { opacity: 1; }
.pf-pose.invert { filter: invert(1); }
