.topic-image img,
.match-context img,
.quiz-context img,
.scene-wrap img {
  cursor: zoom-in;
}

.topic-image img:focus-visible,
.match-context img:focus-visible,
.quiz-context img:focus-visible,
.scene-wrap img:focus-visible {
  outline: 4px solid #315344;
  outline-offset: 4px;
}

.image-viewer[hidden] {
  display: none !important;
}

.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 0;
  background: #101412;
  cursor: zoom-out;
}

.image-viewer img {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
}

.image-viewer__close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-width: 56px;
  min-height: 56px;
  border: 2px solid #fff;
  border-radius: 12px;
  background: #fff;
  color: #101412;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
}
