.shot-gallery {
  padding: 30px 55px 38px;
  scroll-margin-top: 24px;
}

.shot-window {
  max-width: 960px;
  margin-inline: auto;
  overflow: hidden;
  background: #f5f8fc;
  border: 1px solid #b9cbe6;
  border-radius: 6px;
  box-shadow: 0 3px 12px #294d910d;
}

.shot-content { padding: 16px; }

.shot-frame {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #172644;
}

.shot-track {
  display: flex;
  aspect-ratio: 16 / 9;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.shot-track::-webkit-scrollbar,
.shot-thumbs::-webkit-scrollbar { display: none; }

.shot-slide {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.shot-arrow {
  display: grid;
  place-items: center;
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #cbdaf0;
  border-radius: 5px;
  background: #f5f8fcf2;
  color: #233b66;
  box-shadow: 0 2px 10px #0b1c4340;
  font: 32px / 1 system-ui, sans-serif;
  cursor: pointer;
}

.shot-arrow span { translate: 0 -2px; }
.shot-prev { inset-inline-start: 10px; }
.shot-next { inset-inline-end: 10px; }
.shot-arrow:hover:not(:disabled) { background: #fff; }
.shot-arrow:disabled { opacity: .45; cursor: default; }

.shot-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}

.shot-thumbs {
  display: flex;
  flex: 1 1 auto;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 3px;
}

.shot-thumb {
  flex: 0 0 clamp(61px, 10vw, 105px);
  padding: 2px;
  background: #fff;
  border: 1px solid #c3d1e7;
  border-radius: 4px;
  cursor: pointer;
}

.shot-thumb[aria-current] { border-color: #325daf; box-shadow: 0 0 0 1px #325daf; }
.shot-thumb:hover { border-color: #325daf; }
.shot-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 2px; }
.shot-count { flex: none; color: var(--ink); font-size: 12px; font-variant-numeric: tabular-nums; }
.shot-track:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
.shot-thumb:focus-visible, .shot-arrow:focus-visible { outline: 2px solid #325daf; outline-offset: 2px; }

@media (max-width: 900px) {
  .shot-gallery { padding-inline: 27px; }
}

@media (max-width: 620px) {
  .shot-gallery { padding: 24px 20px 28px; }
  .shot-gallery h2 { font-size: 21px; }
  .shot-content { padding: 8px; }
  .shot-controls { margin-top: 7px; gap: 8px; }
  .shot-thumbs { gap: 5px; }
  .shot-arrow { width: 34px; height: 36px; font-size: 27px; }
  .shot-prev { inset-inline-start: 5px; }
  .shot-next { inset-inline-end: 5px; }
}
