.image-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 16px;
  box-sizing: border-box;
  border: 0;
  background: transparent;
  overflow: hidden;
  cursor: zoom-out;
}

.image-lightbox::backdrop {
  background: rgb(0 0 0 / 85%);
}

.image-lightbox button {
  all: unset;
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-out;
  touch-action: manipulation;
}

.image-lightbox button:focus-visible {
  outline: 2px solid white;
  outline-offset: 4px;
}

.image-lightbox img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
