.caption-action {
  margin-left: 0.28em;
}

.dots-icon {
  vertical-align: -2px !important;
}

.raw-evidence:not(.raw-evidence--url) pre {
  overflow-x: hidden !important;
  white-space: pre-wrap !important;
}

.reveal-toggle {
  cursor: pointer;
  user-select: none;
}

.reveal-fig .reveal-ring {
  opacity: 0;
  transform: scale(1.14);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.reveal-fig.revealed .reveal-ring {
  opacity: 1;
  transform: scale(1);
}

.reveal-fig .reveal-note {
  display: none;
}

.reveal-fig.revealed .reveal-note {
  display: block;
  margin-top: 9px;
  text-align: center;
}

.preview-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(8, 10, 13, 0.92);
  cursor: zoom-out;
}

.preview-lightbox.open {
  display: flex;
}

.preview-lightbox__hint {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.82);
  font:
    13px/1.4 ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  white-space: nowrap;
  pointer-events: none;
}

.preview-lightbox img {
  max-width: 84vw;
  max-height: 82vh;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  cursor: zoom-in;
  touch-action: none;
  user-select: none;
}

.preview-lightbox img.zoomed {
  cursor: zoom-out;
}

.preview-lightbox img.dragging {
  cursor: grabbing;
  transition: none;
}

@media (max-width: 720px) {
  .preview-lightbox img {
    max-width: 92vw;
    max-height: 84vh;
  }
}
