/* Holo public Explore Holo carousel multi-item rolling/static placement. */
.holo-explore-panel {
  overflow: hidden;
}

.holo-explore-carousel {
  --holo-carousel-width: min(100%, 960px);
  --holo-carousel-height: 420px;
  --holo-carousel-visible-count: 3;
  --holo-carousel-roll-duration: 24s;
  margin: 22px auto 0 auto;
  display: grid;
  gap: 12px;
}

.holo-explore-carousel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.holo-explore-kicker {
  margin: 0 0 4px 0;
  color: var(--muted, rgba(255,255,255,0.72));
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.holo-explore-carousel h2 {
  margin: 0;
}

.holo-explore-carousel-status {
  color: var(--muted, rgba(255,255,255,0.72));
  font-size: 0.9rem;
}

.holo-explore-module {
  width: min(100%, var(--holo-carousel-width));
  min-height: var(--holo-carousel-height);
  display: block;
}

.holo-carousel-viewport {
  width: min(100%, var(--holo-carousel-width));
  min-height: var(--holo-carousel-height);
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.22);
  position: relative;
}

.holo-carousel-track {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: var(--holo-carousel-height);
  padding: 14px;
  will-change: transform;
}

.holo-carousel-track.is-rolling {
  width: max-content;
  animation: none !important;
}

.holo-carousel-track.is-static {
  justify-content: center;
}

.holo-carousel-item {
  flex: 0 0 calc((min(100vw, var(--holo-carousel-width)) - 28px - (14px * (var(--holo-carousel-visible-count) - 1))) / var(--holo-carousel-visible-count));
  max-width: var(--holo-carousel-height);
  min-width: 110px;
}

.holo-carousel-item-mount {
  width: 100%;
}

.holo-carousel-item-mount .holo-renderer-stage {
  width: 100%;
}

@keyframes dsnet-holo-carousel-roll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 7px));
  }
}

.holo-explore-note {
  margin: 0;
  color: var(--muted, rgba(255,255,255,0.72));
  font-size: 0.92rem;
}

.holo-explore-note kbd {
  display: inline-block;
  min-width: 1.5em;
  padding: 1px 6px;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.28);
  color: inherit;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

@media (max-width: 720px) {
  .holo-explore-carousel {
    --holo-carousel-height: 50vh;
    --holo-carousel-visible-count: 1;
  }

  .holo-explore-module,
  .holo-carousel-viewport,
  .holo-carousel-track {
    min-height: max(260px, var(--holo-carousel-height));
  }
}

/* Phase 52G: public carousel uses JS windowed rolling and exposes no public debug/status text. */
.holo-explore-carousel-head,
.holo-explore-kicker,
.holo-explore-carousel-status {
  display: none !important;
}

.holo-carousel-track.is-rolling {
  justify-content: flex-start;
  animation: none !important;
  will-change: transform;
}

.holo-carousel-track.is-static {
  justify-content: center;
  animation: none !important;
}
/* Phase 52H2: centre public Explore carousel and use JS parity rolling. */
.holo-explore-carousel {
  justify-items: center;
  text-align: center;
}

.holo-explore-module,
.holo-carousel-viewport {
  margin-left: auto;
  margin-right: auto;
}

.holo-carousel-track.is-rolling {
  justify-content: flex-start;
  animation: none !important;
  will-change: transform;
}

.holo-carousel-track.is-static {
  justify-content: center;
  animation: none !important;
}

