/* Paired with the deferred photo loader. The actual photo keeps its DOM and box. */
img[data-report-photo].photo-frame-pending {
  visibility: visible !important;
  opacity: 0 !important;
}

img.report-photo-preview {
  position: absolute;
  z-index: 0;
  display: block;
  max-width: none;
  margin: 0;
  pointer-events: none;
  user-select: none;
}

img[data-report-photo].photo-frame-failed {
  visibility: visible !important;
  opacity: 0 !important;
}

/* Reserve the natural invitation-photo frame before its lazy download. */
@media (max-width: 64rem) {
  .invitation .scene-visual > img[data-report-photo="28"] {
    aspect-ratio: 4624 / 2080;
  }
}
