.photo-glass {
  position: relative;
  min-width: 0;
  width: 100%;
}

.photo-glass__source,
.photo-glass__output {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.photo-glass__content {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: var(--background);
  scrollbar-width: none;
}

.photo-glass__output {
  pointer-events: none;
}

.photo-glass--overlay .photo-glass__source {
  display: none;
}

.photo-glass--overlay .photo-glass__output {
  z-index: 1;
}
