/* ---------- SCREENSHOT CAROUSEL ---------- */
.shot-carousel {
  position: relative;
  max-width: 900px;
  width: 100%;
  margin: 2.5rem auto 0;
}
.shot-carousel-viewport {
  position: relative;
  aspect-ratio: 8 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-line);
  box-shadow: 0 24px 55px var(--shot-shadow, rgba(16, 22, 46, 0.18));
  background: var(--card);
}
.shot-carousel-track {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
}
.shot-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
}
.shot-carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
}
.shot-carousel-zoom {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  display: block;
}
.shot-carousel-zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.shot-carousel-zoom-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--card) 75%, transparent);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text, currentColor);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.shot-carousel-zoom-icon svg { width: 15px; height: 15px; }
.shot-carousel-zoom:hover .shot-carousel-zoom-icon,
.shot-carousel-zoom:focus-visible .shot-carousel-zoom-icon {
  opacity: 1;
}
@media (hover: none) {
  .shot-carousel-zoom-icon { opacity: 0.85; }
}

/* ---------- LIGHTBOX ---------- */
body.shot-lightbox-locked { overflow: hidden; }
.shot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(6, 8, 20, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.shot-lightbox.is-open { opacity: 1; visibility: visible; }
.shot-lightbox-inner {
  max-width: min(1400px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}
.shot-lightbox-inner img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  background: var(--card);
}
.shot-lightbox-caption {
  margin: 1rem 0 0;
  color: #f5f5f7;
  opacity: 0.85;
  font-size: 0.95rem;
  text-align: center;
  max-width: 70ch;
}
.shot-lightbox-close,
.shot-lightbox-nav {
  position: fixed;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.shot-lightbox-close:hover,
.shot-lightbox-nav:hover { background: rgba(255, 255, 255, 0.18); }
.shot-lightbox-close {
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
}
.shot-lightbox-close svg { width: 18px; height: 18px; }
.shot-lightbox-nav {
  top: 50%;
  translate: 0 -50%;
  width: 48px;
  height: 48px;
}
.shot-lightbox-nav svg { width: 20px; height: 20px; }
.shot-lightbox-prev { left: 16px; }
.shot-lightbox-next { right: 16px; }
@media (max-width: 640px) {
  .shot-lightbox-nav { width: 40px; height: 40px; }
  .shot-lightbox-prev { left: 6px; }
  .shot-lightbox-next { right: 6px; }
  .shot-lightbox-close { top: 12px; right: 12px; }
}
.shot-carousel-arrow {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--card-line);
  background: color-mix(in srgb, var(--card) 82%, transparent);
  backdrop-filter: blur(6px);
  color: var(--text, currentColor);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.shot-carousel-viewport:hover .shot-carousel-arrow,
.shot-carousel-arrow:focus-visible {
  opacity: 1;
}
.shot-carousel-arrow:hover { background: var(--card); }
.shot-carousel-arrow svg { width: 16px; height: 16px; }
.shot-carousel-prev { left: 10px; }
.shot-carousel-next { right: 10px; }
.shot-carousel-caption {
  margin: 0.9rem 0 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
  min-height: 1.3em;
}
.shot-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.shot-carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: var(--card-line);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.shot-carousel-dots button[aria-selected="true"] {
  background: var(--accent);
  transform: scale(1.3);
}
@media (hover: none) {
  .shot-carousel-arrow { opacity: 1; }
}
