.highlights-wheel {
  --wheel-paper: #f0ede4;
  --wheel-muted: #c2b8a8;
  --wheel-border: #60584b;
  margin-top: clamp(20px, 3vw, 38px);
  padding: clamp(12px, 2.3vw, 28px);
  border: 1px solid #4a4237;
  border-radius: 4px;
  background: #181816;
  color: var(--wheel-paper);
}

.highlights-wheel-track {
  display: flex;
  align-items: start;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  outline-offset: 3px;
}

.highlights-wheel figure {
  flex: 0 0 min(85%, 620px);
  min-width: 0;
  margin: 0;
  scroll-snap-align: center;
}

.highlights-wheel figure img {
  display: block;
  width: 100%;
  height: clamp(218px, 36vw, 470px);
  border-radius: 2px;
  object-fit: contain;
  background: #0f0f0e;
}

.highlights-wheel figcaption {
  padding-top: 12px;
  color: var(--wheel-paper);
  font-size: 14px;
  line-height: 1.5;
}

.highlights-wheel figcaption strong {
  font-size: 16px;
  font-weight: 600;
}

.highlights-wheel figcaption p {
  margin-top: 4px;
  color: var(--wheel-muted);
}

.highlights-wheel figure[data-highlight-slot="current"] img {
  outline: 1px solid var(--wheel-border);
}

.highlights-wheel.is-enhanced .highlights-wheel-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 4.2fr) minmax(0, 1fr);
  gap: 12px clamp(10px, 2vw, 22px);
  align-items: start;
  overflow: hidden;
  scroll-snap-type: none;
  touch-action: pan-y pinch-zoom;
}

.highlights-wheel.is-enhanced figure:not([data-highlight-slot]) {
  display: none;
}

.highlights-wheel figure[data-highlight-slot="current"] { grid-column: 2; grid-row: 1; }
.highlights-wheel figure[data-highlight-slot="previous"] { grid-column: 1; grid-row: 1; }
.highlights-wheel figure[data-highlight-slot="next"] { grid-column: 3; grid-row: 1; }

.highlights-wheel figure[data-highlight-slot="previous"],
.highlights-wheel figure[data-highlight-slot="next"] {
  margin-top: clamp(25px, 6.5vw, 96px);
  opacity: 0.72;
}

.highlights-wheel figure[data-highlight-slot="previous"] img { transform: perspective(760px) rotateY(14deg); }
.highlights-wheel figure[data-highlight-slot="next"] img { transform: perspective(760px) rotateY(-14deg); }

.highlights-wheel figure[data-highlight-slot="previous"] img,
.highlights-wheel figure[data-highlight-slot="next"] img {
  height: clamp(85px, 14vw, 178px);
  background: #11110f;
}

.highlights-wheel figure[data-highlight-slot="previous"] figcaption,
.highlights-wheel figure[data-highlight-slot="next"] figcaption {
  display: none;
}

.highlights-wheel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 22px);
  margin-bottom: 14px;
}

.highlights-wheel-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 76px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--wheel-border);
  border-radius: 2px;
  color: var(--wheel-paper);
  font-size: 13px;
}

.highlights-wheel-controls button:hover {
  border-color: #9a8874;
  background: #332c24;
}

.highlights-wheel-controls [data-highlight-position] {
  min-width: 60px;
  color: var(--wheel-muted);
  text-align: center;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.highlights-wheel :focus-visible {
  outline-color: #e1b889;
}

@media (max-width: 620px) {
  .highlights-wheel.is-enhanced .highlights-wheel-track { display: block; }
  .highlights-wheel.is-enhanced figure:not([data-highlight-slot="current"]) { display: none; }
}

.highlights-wheel-controls [data-highlight-rotation] {
  min-width: 70px;
}

@media (max-width: 420px) {
  .highlights-wheel-controls {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 4px;
  }

  .highlights-wheel-controls button {
    min-width: 0;
    padding-inline: 7px;
  }

  .highlights-wheel-controls [data-highlight-rotation] {
    min-width: 50px;
  }

  .highlights-wheel-controls [data-highlight-position] {
    min-width: 48px;
  }
}
