.gallery .gallery-stage > :is(.gallery-note, .gallery-index) {
  font-size: .8125rem;
  line-height: 1.5;
}
.gallery .gallery-index { font-variant-numeric: tabular-nums; }
.interactive-gallery .gallery-stage { touch-action: pan-y pinch-zoom; }
.interactive-gallery .gallery-arrow {
  min-width: 44px;
  min-height: 44px;
  top: calc(50% - 22px);
  background-color: rgb(12 32 29 / 67%);
}
.interactive-gallery .gallery-arrow:focus-visible { outline: 2px solid white; outline-offset: -4px; }
@media (hover: hover) {
  .interactive-gallery .gallery-arrow:hover { background-color: rgb(12 32 29 / 86%); }
}
.interactive-gallery .gallery-arrow:active { background-color: #193a33; }
.interactive-gallery .thumbnail[data-pending] { border-style: dashed; border-color: var(--pine); }
.interactive-gallery .gallery-stage[aria-busy="true"] { cursor: progress; }
@media (prefers-reduced-motion: no-preference) {
  .interactive-gallery .gallery-arrow,
  .interactive-gallery .thumbnail {
    transition: background-color 140ms ease-out, border-color 140ms ease-out;
  }
}
