:root {
  --brand-bg: #000000;
  --brand-text: #ffffff;
  --brand-highlight: #f7fe00;
  --line: rgba(255, 255, 255, 0.42);
  --muted: rgba(255, 255, 255, 0.56);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", "Roboto Mono", "Liberation Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--brand-bg); color-scheme: dark; }
body { margin: 0; min-width: 320px; background: var(--brand-bg); color: var(--brand-text); font-family: var(--sans); font-size: 14px; font-weight: 700; line-height: 1.2; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a { color: inherit; }
audio { display: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--brand-highlight); outline-offset: 3px; }

.bicep-drops { width: 100%; max-width: 1180px; margin: 0 auto; padding: clamp(12px, 2.3vw, 28px); background: var(--brand-bg); }
.embed-fragment { overflow: hidden; }
.bicep-drops--countdown { padding-bottom: 0; }
.bicep-drops--player { padding-top: 0; padding-bottom: 0; }
.bicep-drops--player .track-list { margin-top: 0; }

.next-drop { display: grid; grid-template-columns: minmax(118px, .55fr) minmax(330px, 1fr) minmax(170px, .65fr); min-height: 66px; align-items: stretch; border-block: 1px solid var(--line); font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.next-drop__identity, .next-drop__date { display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 10px 12px; }
.next-drop__identity { border-right: 1px solid var(--line); }
.next-drop__identity span, .next-drop__date span:last-child { color: var(--muted); }
.next-drop__identity strong { color: var(--brand-highlight); font-weight: 400; }
.next-drop__date { align-items: flex-end; border-left: 1px solid var(--line); text-align: right; }
.countdown { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 1.6vw, 24px); padding: 8px 16px; font-family: var(--sans); font-variant-numeric: tabular-nums; }
.countdown div { display: flex; align-items: baseline; gap: 4px; }
.countdown strong { font-size: clamp(28px, 4.2vw, 50px); font-weight: 700; letter-spacing: -.055em; }
.countdown span { color: var(--muted); font-family: var(--mono); font-size: 9px; font-weight: 400; }
.countdown i { color: var(--muted); font-size: 16px; font-style: normal; font-weight: 400; }

.player { margin-top: clamp(36px, 6vw, 80px); border: 1px solid var(--brand-text); }
.player__topline, .player__name-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 12px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.player__topline span:last-child { color: var(--muted); }
.player__name-row { min-height: 72px; font-family: var(--sans); }
.player__name-row p { margin: 0; font-size: clamp(22px, 3.5vw, 42px); letter-spacing: -.035em; }
.player-logo { width: clamp(40px, 5vw, 58px); height: auto; flex: 0 0 auto; opacity: .92; animation: player-logo-spin 7.14s linear infinite; animation-play-state: paused; transform-origin: 50% 50%; }
.player-logo.is-spinning { animation-play-state: running; }
@keyframes player-logo-spin { to { transform: rotate(360deg); } }

.waveform { position: relative; height: clamp(110px, 17vw, 190px); overflow: hidden; border-bottom: 1px solid var(--line); }
.waveform__layer { position: absolute; inset: 12px; display: flex; align-items: center; gap: clamp(2px, .28vw, 4px); }
.waveform__bar { width: 100%; min-width: 1px; height: var(--bar-height); transform-origin: 50% 50%; }
.waveform__base .waveform__bar { background: rgba(255,255,255,.30); transition: background 120ms linear; }
.waveform__base .waveform__bar.is-passed { background: rgba(255,255,255,.60); }
.waveform__active { z-index: 2; opacity: 0; transition: opacity 140ms ease; }
.waveform__active.is-live { opacity: .8; }
.waveform__active .waveform__bar { height: 2%; background: var(--brand-highlight); transition: height 45ms linear; }

.transport { display: grid; grid-template-columns: 52px minmax(0, 1fr) 44px; gap: 14px; align-items: center; padding: 12px; border-bottom: 1px solid var(--line); }
.play-button, .mute-button { display: grid; place-items: center; border: 1px solid var(--brand-text); border-radius: 0; background: transparent; color: var(--brand-text); cursor: pointer; }
.play-button { width: 52px; height: 52px; }
.mute-button { width: 40px; height: 40px; border-color: var(--line); }
.play-button:hover:not(:disabled), .mute-button:hover:not(:disabled) { background: var(--brand-highlight); color: #000; }
.play-button:disabled, .mute-button:disabled { cursor: not-allowed; opacity: .25; }
.play-button svg { width: 22px; fill: currentColor; }
.mute-button svg { width: 19px; fill: currentColor; }
.pause-icon { display: none; }
.play-button.is-playing .play-icon { display: none; }
.play-button.is-playing .pause-icon { display: block; }
.transport__timeline { min-width: 0; }
.transport__times { display: flex; justify-content: space-between; margin-top: 7px; color: var(--muted); font-family: var(--mono); font-size: 9px; font-weight: 400; }

.range-control { width: 100%; height: 16px; margin: 0; appearance: none; background: transparent; cursor: pointer; }
.range-control::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(to right, var(--brand-highlight) var(--range-progress, 0%), rgba(255,255,255,.36) var(--range-progress, 0%)); }
.range-control::-moz-range-track { height: 2px; background: rgba(255,255,255,.36); }
.range-control::-moz-range-progress { height: 2px; background: var(--brand-highlight); }
.range-control::-webkit-slider-thumb { width: 10px; height: 10px; margin-top: -4px; appearance: none; border: 0; border-radius: 50%; background: var(--brand-highlight); }
.range-control::-moz-range-thumb { width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--brand-highlight); }
.range-control:disabled { cursor: not-allowed; opacity: .25; }

.player-message { min-height: 31px; margin: 0; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 9px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; }
.track-data { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.track-data div { min-width: 0; padding: 10px 12px; border-right: 1px solid var(--line); }
.track-data div:last-child { border-right: 0; }
.track-data dt { margin-bottom: 5px; color: var(--muted); font-family: var(--mono); font-size: 8px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.track-data dd { margin: 0; overflow: hidden; color: var(--brand-highlight); font-family: var(--mono); font-size: 9px; font-weight: 400; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }

.track-list { display: block; margin-top: 16px; border-top: 1px solid var(--line); }
.track-row { display: grid; width: 100%; grid-template-columns: 56px minmax(180px,1fr) minmax(90px,.35fr) minmax(150px,.8fr); align-items: center; gap: 14px; min-height: 46px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--brand-text); font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: .05em; text-align: left; text-transform: uppercase; }
.track-row:not(:disabled) { cursor: pointer; }
.track-row:not(:disabled):hover, .track-row.is-selected { color: var(--brand-highlight); }
.track-row:disabled { opacity: .38; cursor: default; }
.track-row__index { color: var(--muted); }
.track-row__state { justify-self: end; }
.track-row__state::before { content: "○"; margin-right: 7px; }
.track-row.is-live .track-row__state::before { content: "●"; color: var(--brand-highlight); }
.track-row__date { justify-self: end; }

.footer { display: flex; justify-content: space-between; margin-top: 40px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 8px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 760px) {
  .bicep-drops { padding: 12px; }
  .next-drop { grid-template-columns: 1fr auto; }
  .next-drop__identity { border-right: 0; }
  .countdown { grid-column: 1 / -1; grid-row: 2; border-top: 1px solid var(--line); }
  .next-drop__date { border-left: 0; }
  .player { margin-top: 34px; }
  .track-data { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .track-data div { border-bottom: 1px solid var(--line); }
  .track-data div:nth-child(2n) { border-right: 0; }
  .track-data div:nth-last-child(-n+2) { border-bottom: 0; }
  .track-row { grid-template-columns: 38px 1fr auto; gap: 10px; }
  .track-row__date { display: none; }
}

@media (max-width: 460px) {
  .countdown { gap: 8px; padding-inline: 8px; }
  .countdown strong { font-size: 29px; }
  .player__name-row { min-height: 62px; }
  .player__name-row p { font-size: 22px; }
  .waveform { height: 112px; }
  .waveform__layer { inset: 8px; }
  .waveform__bar:nth-child(2n) { display: none; }
  .transport { grid-template-columns: 46px minmax(0, 1fr); gap: 10px; padding: 10px 8px; }
  .play-button { width: 46px; height: 46px; }
  .mute-button { display: none; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } }
