.depth-carousel {
  --card-width: min(66vw, 330px);
  --card-height: clamp(225px, 82vw, 415px);
  width: min(100%, 800px);
  margin: 22px auto 0;
}

.depth-carousel__stage {
  position: relative;
  height: calc(var(--card-height) + 24px);
  overflow: hidden;
  perspective: 1400px;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}

.depth-carousel__stage.is-dragging { cursor: grabbing; }

.depth-carousel__card {
  position: absolute;
  top: 50%;
  left: 45%;
  display: grid;
  place-items: center;
  width: var(--card-width);
  height: var(--card-height);
  margin: 0;
  padding: 8px;
  overflow: hidden;
  border: 1px solid #b0843160;
  border-radius: 18px;
  background: #25221c;
  box-shadow: 0 12px 30px #0006;
  transform: translate(-50%, -50%);
}

.depth-carousel__card:not(:first-child) { opacity: 0; }

.depth-carousel__card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  pointer-events: none;
}

.depth-carousel__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.depth-carousel__controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #b0843160;
  border-radius: 50%;
  color: #ede7dc;
  background: #30291e;
  font: inherit;
  cursor: pointer;
}

.depth-carousel__controls > button { font-size: 26px; }
.depth-carousel__controls button:focus-visible,
.depth-carousel:focus-visible { outline: 2px solid #e4bb72; outline-offset: 3px; }
.depth-carousel__dots { display: flex; }
.depth-carousel__dots button { width: 30px; border: 0; background: transparent; }
.depth-carousel__dots button::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #877861;
}
.depth-carousel__dots button[aria-current="true"]::after { background: #e4bb72; }
.depth-carousel__hint { text-align: center; font-size: 13px; margin: 10px 0 0; }
