/* Release pages — modern listen / buy layout */
:root { --green: #1F7A3F; --red: #B3261E; --bc: #1DA0C3; }

body {
  background:
    radial-gradient(ellipse 90% 55% at 12% -10%, rgba(180, 160, 130, .18), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 8%, rgba(90, 110, 120, .1), transparent 50%),
    var(--bg, #FAF8F5);
}

.page {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: calc(var(--nav-h) + var(--safe-t) + 32px) 24px calc(88px + var(--safe-b));
}
@media (min-width: 800px) { .page { padding-left: 40px; padding-right: 40px; } }

.crumbs {
  padding: 0 0 32px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--dim);
}
.crumbs a { color: var(--muted); transition: color var(--dur) var(--ease); }
@media (hover:hover) { .crumbs a:hover { color: var(--ink); } }
.crumbs span { margin: 0 10px; opacity: .4; }

.product-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }
}

.left-col {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}
@media (min-width: 900px) {
  .left-col { position: sticky; top: calc(var(--nav-h) + var(--safe-t) + 20px); }
}

/* Spinning platter + console — aligned with listen hero */
.release-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.release-platter {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  margin: 0 auto;
  filter: drop-shadow(0 28px 56px rgba(17,17,17,.22));
}
.release-platter::before {
  content: "";
  position: absolute;
  inset: -3%;
  border-radius: 50%;
  border: 1px solid rgba(17,17,17,.08);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.35),
    0 0 0 10px rgba(17,17,17,.03);
  pointer-events: none;
  opacity: .7;
  transition: opacity .45s var(--ease);
}
.release-platter.is-playing::before { opacity: 1; }
.release-disc {
  width: 100%; height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: #0a0a0a;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    0 18px 40px rgba(17,17,17,.18);
  animation: releaseDiscIdle 14s ease-in-out infinite;
}
.release-disc img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.release-disc::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 7.5%; height: 7.5%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #2a2a2a, #050505 70%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.18), inset 0 1px 2px rgba(255,255,255,.15);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.release-platter.is-playing .release-disc::after { opacity: 1; }
.release-disc.is-spinning {
  animation: releaseDiscSpin 9s linear infinite;
}

/* Exact square cover — no circular crop / spindle overlay */
.release-platter.is-exact::before { display: none; }
.release-platter.is-exact .release-disc {
  border-radius: 0;
  animation: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.2),
    0 0 0 1px rgba(150,162,180,.35),
    0 18px 40px rgba(26,30,38,.16);
  border: 1px solid rgba(150,162,180,.4);
  transition: box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.release-platter.is-exact.is-playing .release-disc {
  border-color: rgba(186,198,214,.65);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    0 0 0 1px rgba(200,214,230,.4),
    0 0 28px rgba(170,190,220,.2),
    0 18px 40px rgba(26,30,38,.2);
}
.release-platter.is-exact .release-disc img {
  border-radius: 0;
  object-fit: contain;
}
.release-platter.is-exact .release-disc::after { display: none; }
.release-platter.is-exact .release-disc.is-spinning { animation: none; }
.release-platter.is-exact .release-disc-hit { border-radius: 0; }
@keyframes releaseDiscSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes releaseDiscIdle {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(3.5deg); }
}

.release-disc-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: transparent;
  border: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.release-disc-hit .disc-glyph {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(8,8,10,.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
  transition: transform .25s var(--ease), opacity .25s var(--ease), background .25s var(--ease);
}
.release-disc-hit svg { width: 18px; height: 18px; fill: #fff; }
.release-disc-hit .i-play { margin-left: 2px; }
.release-disc-hit .i-pause { display: none; }
.release-disc-hit.on .i-play { display: none; }
.release-disc-hit.on .i-pause { display: block; }
@media (hover:hover) {
  .release-disc-hit:hover .disc-glyph { transform: scale(1.07); background: rgba(8,8,10,.72); }
}
.release-disc-hit:active .disc-glyph { transform: scale(.96); }
.release-platter.is-playing .release-disc-hit .disc-glyph { opacity: 0; }
@media (hover:hover) {
  .release-platter.is-playing .release-disc-hit:hover .disc-glyph { opacity: .92; }
}

.artwork-badge {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  font-size: 10px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: #fff;
  background: rgba(10,10,10,.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.12);
  padding: 7px 12px; border-radius: 999px;
}
.release-console {
  width: min(100%, 420px);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.rc-deck {
  position: relative;
  isolation: isolate;
  padding: 16px 16px 14px;
  border-radius: 18px;
  background:
    linear-gradient(155deg, rgba(255,255,255,.78) 0%, rgba(244,246,250,.62) 48%, rgba(236,240,246,.7) 100%);
  border: 1px solid rgba(150,162,180,.42);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.82),
    inset 0 0 0 1px rgba(255,255,255,.12),
    0 14px 36px rgba(26,30,38,.1);
  backdrop-filter: saturate(150%) blur(18px);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  overflow: hidden;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.release-platter.is-playing ~ .release-console .rc-deck,
.release-console.is-live .rc-deck {
  border-color: rgba(186,198,214,.65);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.85),
    0 0 0 1px rgba(200,214,230,.28),
    0 0 28px rgba(170,190,220,.16),
    0 16px 40px rgba(26,30,38,.12);
}
.rc-deck::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    108deg,
    transparent 40%,
    rgba(255,255,255,.14) 48%,
    rgba(200,214,230,.08) 52%,
    transparent 60%
  );
  opacity: .7;
  mix-blend-mode: soft-light;
}
.rc-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.rc-bug {
  font-family: var(--callsign, var(--display));
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
}
.rc-index {
  font-family: var(--callsign, var(--display));
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--chrome-ink, #1A1E26);
  font-variant-numeric: tabular-nums;
}
.rc-meta {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
  min-width: 0;
}
.release-track {
  margin: 0;
  font-size: clamp(18px, 2.6vw, 22px);
  font-weight: 600;
  letter-spacing: -.028em;
  line-height: 1.15;
  max-width: 100%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--chrome-ink, #1A1E26);
}
.rc-sub {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.release-controls {
  position: relative;
  z-index: 1;
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.28));
  border: 1px solid rgba(170,182,200,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}
.release-ctrl {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(150,162,180,.4);
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(236,240,246,.75));
  color: var(--chrome-ink, #1A1E26);
  display: grid; place-items: center;
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 6px 16px rgba(26,30,38,.08);
  transition: background .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.release-ctrl svg { width: 15px; height: 15px; fill: currentColor; display: block; pointer-events: none; }
.release-ctrl:active { transform: scale(.96); }
.release-ctrl--play {
  width: 56px; height: 56px;
  background: linear-gradient(180deg, #2a2e36 0%, var(--chrome-ink, #1A1E26) 100%);
  color: #fff;
  border-color: rgba(255,255,255,.1);
  box-shadow:
    0 1px 0 rgba(255,255,255,.18) inset,
    0 12px 28px rgba(26,30,38,.28);
}
.release-ctrl--play svg { width: 17px; height: 17px; fill: currentColor; }
.release-ctrl--play .i-play { margin-left: 2px; }
.release-ctrl--play .i-pause { display: none; }
.release-ctrl--play.on .i-play { display: none; }
.release-ctrl--play.on .i-pause { display: block; }
@media (hover:hover) {
  .release-ctrl:hover {
    border-color: rgba(120,136,158,.55);
    background: #fff;
    transform: translateY(-1px);
  }
  .release-ctrl--play:hover {
    opacity: .94;
    background: linear-gradient(180deg, #343a44 0%, #12151c 100%);
    color: #fff;
    transform: translateY(-1px);
  }
}

.release-progress {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 0 10px;
}
.release-progress input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; background: transparent; cursor: pointer;
  height: 18px;
}
.release-progress input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(170,182,200,.55), rgba(170,182,200,.28));
}
.release-progress input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px; border-radius: 50%;
  margin-top: -5px;
  background: linear-gradient(180deg, #2a2e36, var(--chrome-ink, #1A1E26));
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 4px 10px rgba(26,30,38,.25);
}
.release-progress input[type="range"]::-moz-range-track {
  height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(170,182,200,.55), rgba(170,182,200,.28));
}
.release-progress input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%;
  background: linear-gradient(180deg, #2a2e36, var(--chrome-ink, #1A1E26));
  border: 1px solid rgba(255,255,255,.2);
}
.times {
  display: flex; justify-content: space-between;
  font-size: 11px; font-weight: 600; color: var(--dim);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  margin-top: 2px;
}
.rc-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(170,182,200,.28);
}
.vol-row {
  display: flex; align-items: center; gap: 8px;
  flex: 1;
  min-width: 0;
  max-width: 160px;
  margin: 0;
}
.vol-row svg { width: 13px; height: 13px; fill: var(--dim); flex-shrink: 0; }
.vol-row input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; background: transparent; cursor: pointer;
  height: 16px;
}
.vol-row input[type="range"]::-webkit-slider-runnable-track {
  height: 3px; border-radius: 999px; background: rgba(170,182,200,.4);
}
.vol-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px; height: 11px; border-radius: 50%;
  margin-top: -4px; background: var(--chrome-ink, #1A1E26);
  box-shadow: 0 1px 3px rgba(26,30,38,.2);
}
.vol-row input[type="range"]::-moz-range-track {
  height: 3px; border-radius: 999px; background: rgba(170,182,200,.4);
}
.vol-row input[type="range"]::-moz-range-thumb {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--chrome-ink, #1A1E26); border: none;
}
@media (max-width: 480px) {
  .vol-row { max-width: 120px; }
}

.p-msg {
  font-size: 11px; font-weight: 500; color: var(--dim);
  min-height: 14px; margin: 0;
  text-align: right;
  flex: 1;
}
.p-msg.err { color: var(--red); }

@media (prefers-reduced-motion: reduce) {
  .release-disc,
  .release-disc.is-spinning { animation: none; }
}

.right-col {
  background:
    linear-gradient(165deg, rgba(255,255,255,.72), rgba(244,246,250,.55));
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border: 1px solid rgba(150,162,180,.38);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    0 18px 50px rgba(26,30,38,.07);
  overflow: hidden;
}
.r-block { padding: 28px 28px 26px; border-bottom: 1px solid rgba(170,182,200,.28); }
.r-block:last-child { border-bottom: none; }

.r-artist {
  font-family: var(--callsign, var(--display));
  font-size: 11px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 12px;
}
.r-title {
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.04em;
}
.r-meta-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 20px; flex-wrap: wrap;
}
.r-price {
  font-size: 28px; font-weight: 600;
  letter-spacing: -.02em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.r-price-note {
  font-size: 12px; font-weight: 500; color: var(--dim); margin-top: 4px;
}
.r-stock {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  color: var(--green);
}
.r-stock::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
}
.r-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag {
  font-family: var(--callsign, var(--display));
  font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--pill);
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(236,240,246,.45));
  border: 1px solid rgba(170,182,200,.4);
  color: var(--muted);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.format-row {
  display: grid; grid-template-columns: 1fr auto;
  gap: 12px; align-items: end; margin-bottom: 18px;
}
.format-label {
  font-size: 11px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 8px;
}
.format-select-wrap { position: relative; }
.format-trigger {
  width: 100%; height: 46px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--card);
  color: var(--ink); padding: 0 36px 0 14px;
  display: flex; align-items: center;
  font-size: 14px; font-weight: 500; cursor: pointer; position: relative;
  transition: border-color var(--dur) var(--ease);
}
@media (hover:hover) { .format-trigger:hover { border-color: var(--ink); } }
.format-chev {
  position: absolute; right: 14px; top: 50%;
  width: 7px; height: 7px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-65%) rotate(45deg);
  transition: transform .15s; pointer-events: none;
}
.format-menu {
  position: absolute; inset-inline: 0; top: calc(100% + 6px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 6px; z-index: 30;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 2px;
}
.format-menu[hidden] { display: none; }
.format-opt {
  height: 42px; border-radius: var(--radius); border: none;
  background: transparent; color: var(--ink);
  padding: 0 12px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background var(--dur) var(--ease);
}
@media (hover:hover) { .format-opt:hover { background: var(--fill); } }
.format-opt.on { background: var(--fill-hi); }
.format-opt-price { font-size: 12px; color: var(--dim); }
.qty-wrap {
  display: flex; align-items: center; height: 46px; padding: 4px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--card);
}
.qty-btn {
  width: 44px; height: 44px; border: none; border-radius: var(--radius);
  background: var(--soft); color: var(--ink);
  font-size: 1.1rem; display: grid; place-items: center;
  transition: background var(--dur) var(--ease);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
@media (hover:hover) { .qty-btn:hover { background: var(--fill-hi); } }
.qty-input {
  width: 40px; text-align: center; border: none; background: transparent;
  color: var(--ink); font-weight: 600; font-size: 15px;
}

.buy-stack { display: flex; flex-direction: column; gap: 10px; }
.buy-stack .btn, .modal-btns .btn, .dl-links .btn, .redeem-form .btn { width: 100%; gap: 8px; white-space: nowrap; }
.btn-fill { background: var(--ink); color: #fff; }
.btn-bc { background: var(--bc); color: #fff; }
@media (hover:hover) {
  .btn-fill:hover { opacity: .84; }
  .btn-bc:hover { opacity: .9; }
}
.small-note {
  font-size: 12px; font-weight: 500; color: var(--dim);
  margin-top: 12px; line-height: 1.5;
}

.redeem-head {
  font-size: 11px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 10px;
}
.redeem-form {
  display: flex; flex-direction: column; gap: 10px;
}
.redeem-input {
  width: 100%; height: 46px; border-radius: var(--pill);
  border: 1px solid var(--line); background: var(--card);
  color: var(--ink); padding: 0 18px;
  font-size: 15px; font-weight: 500; font-family: inherit;
  letter-spacing: .06em; text-transform: uppercase;
  outline: none; -webkit-appearance: none;
  transition: border-color var(--dur) var(--ease);
  box-sizing: border-box;
}
.redeem-input::placeholder {
  color: var(--dim); text-transform: none; letter-spacing: 0; font-weight: 400;
}
.redeem-input:focus { border-color: var(--ink); }
.redeem-input[type="email"] {
  text-transform: none; letter-spacing: 0;
}
.redeem-status {
  font-size: 12px; font-weight: 500; color: var(--muted);
  min-height: 0; margin: 0; line-height: 1.5;
}
.redeem-status:empty { display: none; }
.redeem-status.err { color: var(--red); }
.redeem-status.ok { color: var(--green); }
.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;
}
.dl-links { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.hidden { display: none !important; }

.tab-bar { display: flex; gap: 0; border-bottom: 1px solid rgba(17,17,17,.08); }
.tab-btn {
  background: none; border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 14px; margin-bottom: -1px;
  font-size: 13px; font-weight: 500;
  color: var(--dim);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
@media (hover:hover) { .tab-btn:hover { color: var(--ink); } }
.tab-btn[aria-selected="true"] {
  color: var(--ink); border-bottom-color: var(--ink); font-weight: 600;
}
.tab-panel { display: none; padding: 16px 0 0; }
.tab-panel.on { display: block; }
.details-text {
  font-size: 15px; color: var(--muted); line-height: 1.65;
}

.tracklist { display: flex; flex-direction: column; gap: 2px; }
.track-row {
  display: grid;
  grid-template-columns: 2.2rem 1fr auto auto;
  gap: 10px; align-items: center;
  padding: 13px 12px;
  margin: 0;
  border-radius: 12px;
  cursor: pointer;
  transition: background var(--dur) var(--ease), transform .25s var(--ease);
}
.track-row:active { background: var(--fill); }
@media (hover:hover) { .track-row:hover { background: rgba(17,17,17,.035); } }
.track-row.is-active { background: rgba(17,17,17,.06); }
.track-no {
  font-size: 12px; font-weight: 500; color: var(--dim);
  text-align: right; font-variant-numeric: tabular-nums;
}
.track-title { font-size: 14px; font-weight: 500; letter-spacing: -.01em; color: var(--muted); }
.track-row.is-active .track-title { color: var(--ink); font-weight: 600; }
.track-dur {
  font-size: 12px; color: var(--dim);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.track-play-btn {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent;
  display: grid; place-items: center; flex-shrink: 0;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.track-play-btn svg { width: 10px; height: 10px; fill: var(--muted); }
.track-play-btn .icon-pause { display: none; }
.track-row.is-active .track-play-btn {
  border-color: var(--ink); background: var(--ink);
}
.track-row.is-active .track-play-btn svg { fill: #fff; }
.track-row.is-playing .track-play-btn .icon-play { display: none; }
.track-row.is-playing .track-play-btn .icon-pause { display: block; }
.track-play-btn .icon-play { margin-left: 1px; }

.modal-overlay {
  position: fixed; inset: 0; z-index: 620;
  background: rgba(17,17,17,.4);
  display: none; align-items: center; justify-content: center;
  padding: max(20px, env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) max(20px, env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal-overlay.show { display: flex; }
.modal {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  max-width: 420px; width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: mIn .35s cubic-bezier(.16,1,.3,1);
}
@keyframes mIn {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--soft); color: var(--dim);
  font-size: 1rem; display: grid; place-items: center;
  transition: color var(--dur) var(--ease);
}
.modal-close:hover { color: var(--ink); }
.modal-check {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(31,122,63,.1);
  display: grid; place-items: center;
  margin: 0 auto 16px;
}
.modal-check svg { width: 18px; height: 18px; fill: var(--green); }
.modal h2 {
  font-size: 22px; font-weight: 600;
  letter-spacing: -.02em; text-align: center; margin-bottom: 6px;
}
.modal p {
  font-size: 15px; color: var(--muted);
  text-align: center; margin-bottom: 20px; line-height: 1.5;
}
.modal-btns { display: flex; flex-direction: column; gap: 8px; }

.fade-up {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.fade-up.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; }
}

.r-cat {
  font-family: var(--callsign, var(--display));
  font-size: clamp(18px, 2.6vw, 26px);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--chrome-ink, #1A1E26);
  margin-top: 14px;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.format-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.format-pill {
  height: 46px; padding: 0 16px; border-radius: var(--pill);
  border: 1px solid var(--line); background: transparent;
  font-size: 14px; font-weight: 500; color: var(--muted);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.format-pill.selected { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (hover:hover) { .format-pill:hover { border-color: var(--ink); color: var(--ink); } }
.format-pill.selected:hover { color: #fff; }

.trust-line {
  display: flex; gap: 12px; align-items: center;
  font-size: 12px; font-weight: 500; color: var(--dim);
  margin-top: 14px;
}
.trust-line a { color: var(--dim); text-decoration: underline; text-underline-offset: 2px; }
@media (hover:hover) { .trust-line a:hover { color: var(--ink); } }

.more-releases { padding: 56px 0 0; }
.more-releases-title {
  font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 20px;
}
.more-releases-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.more-release-item {
  display: flex; flex-direction: column; gap: 10px;
  text-decoration: none; width: 112px;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.more-release-item img {
  width: 112px; height: 112px; border-radius: 6px;
  object-fit: cover; border: none;
  box-shadow: 0 10px 28px rgba(17,17,17,.12);
  transition: box-shadow .35s var(--ease);
}
.more-release-item p { font-size: 12px; font-weight: 500; color: var(--muted); line-height: 1.35; }
@media (hover:hover) {
  .more-release-item:hover { transform: translateY(-3px); }
  .more-release-item:hover img { box-shadow: 0 16px 36px rgba(17,17,17,.18); }
  .more-release-item:hover p { color: var(--ink); }
}
