.guide-details {
  margin-top: 10px;
}

.guide-summary {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(92, 214, 167, 0.5);
  background: rgba(92, 214, 167, 0.15);
  color: var(--text-strong);
  font-weight: 600;
}

.guide-summary::after {
  content: "Tap to open";
  font-size: 12px;
  color: var(--text-muted);
}

.guide-details[open] .guide-summary::after {
  content: "Tap to close";
}

.guide-summary::-webkit-details-marker {
  display: none;
}

.guide-groups {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.guide-title {
  margin: 0 0 6px;
}

.guide-images {
  display: grid;
  gap: 10px;
}

.guide-shot {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  padding: 0;
  cursor: zoom-in;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.guide-shot figcaption {
  margin: 0;
  padding: 10px 12px 6px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-strong);
}

.guide-shot img {
  display: block;
  border-radius: 10px;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: min(60vh, 520px);
  margin: 0 auto 10px;
}

.guide-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.guide-dots {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.guide-dot {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 12px;
}

.guide-dot.active {
  border-color: rgba(120, 180, 255, 0.5);
  color: var(--text-strong);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 12, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  z-index: 2000;
}

.lightbox-card {
  width: min(1400px, 96vw);
  max-height: 94vh;
  background: rgba(10, 14, 24, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lightbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lightbox-label {
  color: var(--text-muted);
}

.lightbox-card img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
}
