.image-lightbox {
  max-width: calc(100% - 2rem);
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 0;
  border-radius: .75rem;
  background: white;
}

.image-lightbox::backdrop { background: #141a30d9; }
.image-lightbox img {
  display: block;
  max-width: min(90vw, 100rem);
  max-height: 85vh;
  width: auto;
  height: auto;
}

.image-lightbox-close {
  position: absolute;
  top: .55rem;
  right: .55rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
}
