.history-marquee {
  --history-gap: clamp(30px, 3.6vw, 58px);
  --history-item: clamp(128px, 12.4vw, 164px);
  position: relative;
  min-width: 0;
  max-width: 100%;
  padding: 24px 0 22px;
  border-color: #bda8d323;
}

.history-marquee-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.history-marquee-heading h3 {
  margin: 0;
  color: #c3b7cf;
  font: 500 clamp(11px, 1.1vw, 13px)/1.7 Unbounded, sans-serif;
  letter-spacing: -.025em;
}

.history-marquee-heading p {
  margin: 4px 0 0;
  color: #8b7e99;
  font: 400 10px/1.7 Unbounded, sans-serif;
  letter-spacing: .015em;
}

.history-marquee-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid #b4a0ca29;
  border-radius: 999px;
  color: #b4a5c2;
  background: #16111d66;
  font: 400 9px/1.4 Unbounded, sans-serif;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.history-marquee-toggle[hidden] {
  display: none;
}

.history-marquee-toggle:hover {
  color: #e0d4eb;
  border-color: #c6a5e15c;
  background: #21152d80;
}

.history-marquee-toggle:disabled {
  cursor: default;
  opacity: .62;
}

.history-marquee-control-icon {
  width: 8px;
  height: 10px;
  border-left: 2px solid;
  border-right: 2px solid;
}

.history-marquee-toggle[aria-pressed="true"] .history-marquee-control-icon {
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-left: 7px solid currentColor;
  margin-right: -4px;
}

.history-marquee-window {
  width: 100%;
  margin: 20px 0 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #7d66984d transparent;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.history-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
}

.history-marquee-list {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--history-gap);
  box-sizing: border-box;
  width: max-content;
  margin: 0;
  padding: 0 var(--history-gap) 0 0;
  list-style: none;
}

.history-marquee-artist {
  display: flex;
  flex: 0 0 var(--history-item);
  align-items: center;
  justify-content: center;
  width: var(--history-item);
  min-width: 0;
  height: 62px;
  text-align: center;
}

.history-marquee-artist img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
  opacity: .7;
  filter: grayscale(1);
}

.history-marquee-artist img.history-marquee-invert {
  filter: grayscale(1) invert(1);
}

.history-marquee-artist[data-history-artist="carl-cox"] img {
  max-height: 54px;
}

.history-marquee-artist[data-history-artist="cristian-varela"] img {
  max-height: 112px;
}

.history-marquee-name {
  display: block;
  max-width: 100%;
  color: #b7a8c4;
  font: 550 clamp(14px, 1.45vw, 19px)/1.18 Unbounded, sans-serif;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.history-marquee-artist[data-history-artist="jeff-mills"] .history-marquee-name {
  font-weight: 450;
  letter-spacing: -.035em;
}

.history-marquee-artist[data-history-artist="oxia"] .history-marquee-name {
  letter-spacing: .12em;
  font-weight: 600;
}

.history-marquee.is-enhanced:not(.is-static):not(.is-browsing) .history-marquee-window {
  overflow-x: hidden;
}

.history-marquee.is-enhanced:not(.is-static):not(.is-browsing) .history-marquee-track {
  will-change: transform;
}

.history-marquee.is-static [data-history-clone], .history-marquee.is-browsing [data-history-clone] {
  display: none;
}

.history-marquee :is(button, [tabindex]):focus-visible {
  outline: 2px solid #ba8be5;
  outline-offset: 5px;
}

@media (max-width: 600px) {
  .history-marquee {
    --history-gap: 28px;
    --history-item: 124px;
    padding: 21px 0;
  }
  .history-marquee-heading {
    align-items: flex-start;
    gap: 10px;
  }
  .history-marquee-heading h3 {
    max-width: 235px;
    font-size: 11px;
  }
  .history-marquee-heading p {
    font-size: 9px;
  }
  .history-marquee-window {
    margin: 17px 0 0;
  }
  .history-marquee-artist {
    height: 54px;
  }
  .history-marquee-artist img {
    max-height: 41px;
  }
  .history-marquee-artist[data-history-artist="carl-cox"] img {
    max-height: 46px;
  }
  .history-marquee-artist[data-history-artist="cristian-varela"] img {
    max-height: 94px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .history-marquee-toggle {
    transition: none;
  }
  .history-marquee [data-history-clone] {
    display: none;
  }
  .history-marquee .history-marquee-window {
    overflow-x: auto !important;
  }
}
