.gallery-stage {
  position: absolute;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}

.gallery-scroll {
  position: absolute;
  top: 0;
  bottom: 0;

  left: calc(50% - var(--mark-width) / 2);
  transform: translateX(-50%);

  width: calc((100vw - var(--panel-width) - 2 * var(--section-collapsed)) * 0.6);

  overflow-y: scroll;
  overflow-x: hidden;
  pointer-events: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-scroll::-webkit-scrollbar {
  display: none;
}

.gallery-track {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
}

.gallery-item {
  width: 100%;
  aspect-ratio: 3 / 4;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
  will-change: transform;
}
