/* Brayland soundtrack on the Games page. Dark luxury tokens from styles.css. */

.games-page .games-body {
  padding-bottom: clamp(8px, 2vw, 20px);
}

.soundtrack {
  padding: clamp(8px, 2vw, 20px) 0 clamp(72px, 9vw, 120px);
  scroll-margin-top: 112px;
}

.soundtrack h2 {
  margin: 6px 0 10px;
  font-size: clamp(2rem, 4.4vw, 2.8rem);
  line-height: 1.05;
}

.soundtrack__lead {
  max-width: 36rem;
  margin: 0 0 22px;
  font-size: 1.08rem;
  line-height: 1.6;
}

.bp__card {
  display: grid;
  gap: 18px;
  padding: clamp(14px, 2vw, 22px);
  background: var(--lux-panel, #12141A);
  border: 1px solid rgba(201, 169, 98, 0.22);
  border-radius: 14px;
}

.bp__stage {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.bp__cover {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(201, 169, 98, 0.28);
  background: #0c0e14;
}

.bp__now {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

:is(.page-lux, .page-home) .bp__album {
  margin: 0;
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--lux-cream, #F5F2EB);
}

:is(.page-lux, .page-home) .bp__current {
  margin: 0;
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.3;
  color: #E8C994;
}

:is(.page-lux, .page-home) .bp__status {
  min-height: 1.35em;
  margin: 0;
  color: #E8C994;
  font-size: 0.98rem;
  font-weight: 600;
}

.bp__seek {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.bp__time {
  font-variant-numeric: tabular-nums;
  font-size: 0.86rem;
  color: #D2CDC5;
  min-width: 2.6rem;
}

.bp__time:last-child {
  text-align: right;
}

.bp__transport {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bp__btn {
  flex: 1 1 30%;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 98, 0.75);
  background: transparent;
  color: var(--lux-gold, #C9A962);
  font-family: var(--font-body, "Source Sans 3", system-ui, sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
}

.bp__btn--play {
  background: var(--lux-gold, #C9A962);
  border-color: var(--lux-gold, #C9A962);
  color: #08080A;
}

.bp__btn:hover {
  background: rgba(201, 169, 98, 0.12);
}

.bp__btn--play:hover {
  background: #e0c888;
  border-color: #e0c888;
  color: #08080A;
}

.bp__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.bp__glyph {
  font-size: 0.85rem;
  line-height: 1;
}

.bp__vol {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.bp__vol label {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #D2CDC5;
}

.bp__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}

.bp__range:disabled {
  cursor: default;
  opacity: 0.55;
}

.bp__range::-webkit-slider-runnable-track {
  height: 4px;
  background: rgba(201, 169, 98, 0.35);
  border-radius: 999px;
}

.bp__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border: 0;
  border-radius: 50%;
  background: #C9A962;
}

.bp__range::-moz-range-track {
  height: 4px;
  background: rgba(201, 169, 98, 0.35);
  border: 0;
  border-radius: 999px;
}

.bp__range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: #C9A962;
}

.bp__range:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px #08080A, 0 0 0 5px #F5F2EB;
}

.bp__list {
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
  border-top: 1px solid rgba(201, 169, 98, 0.18);
}

.bp__row {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border: 0;
  border-bottom: 1px solid rgba(245, 242, 235, 0.08);
  background: transparent;
  color: #F5F2EB;
  text-align: left;
  font-family: var(--font-body, "Source Sans 3", system-ui, sans-serif);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  touch-action: manipulation;
}

.bp__row:hover {
  background: rgba(201, 169, 98, 0.08);
}

.bp__row.is-current {
  background: rgba(201, 169, 98, 0.1);
  box-shadow: inset 3px 0 0 #C9A962;
  color: #E8C994;
}

.bp__num {
  flex: 0 0 1.8rem;
  color: #C9A962;
  font-variant-numeric: tabular-nums;
}

.bp__name {
  flex: 1 1 auto;
  min-width: 0;
}

.bp__dur {
  flex: 0 0 auto;
  color: #D2CDC5;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.bp__row.is-current .bp__dur {
  color: #E8C994;
}

.bp__row--soon {
  cursor: default;
}

.bp__row--soon:hover {
  background: transparent;
}

.bp__row--soon .bp__dur {
  color: #E8C994;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bp :focus-visible {
  outline: 2px solid #F5F2EB;
  outline-offset: 3px;
}

.bp__row:focus-visible {
  outline-offset: -3px;
}

:is(.page-lux, .page-home) .bp__unavailable {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(201, 169, 98, 0.22);
  border-radius: 14px;
  background: var(--lux-panel, #12141A);
  color: #E8C994;
}

.bp__audio {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

@media (min-width: 840px) {
  .bp__card {
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    align-items: start;
    gap: 22px 28px;
  }

  .bp__stage {
    grid-column: 1;
    grid-row: 1;
  }

  .bp__list {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    border-top: 0;
    border-left: 1px solid rgba(201, 169, 98, 0.18);
    padding-left: 8px;
  }

  .bp__cover {
    max-width: none;
  }
}

@media (max-width: 380px) {
  .bp__vol {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .bp__btntext {
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bp__btn,
  .bp__row {
    transition: none;
  }
}
