/* =========================================================
SIDE B — private promo + feedback pages
Same tokens, type and buttons as sidebvinyl.com
========================================================= */

:root {
  --bg: #000000;
  --fg: #B5B5B5;
  --muted: #6B6B6B;
  --faint: rgba(181, 181, 181, 0.14);
  --line: rgba(181, 181, 181, 0.2);
  --dash: rgba(181, 181, 181, 0.25);
  --panel: rgba(18, 18, 18, 0.82);
  --card: #181715;
  --ink: #000000;
  --hover: #393632;

  --pad: 28px;
  --nav-h: 76px;
  --font: 'Inter', Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-ease: cubic-bezier(0.16, 1, 0.35, 1);
  --nav-spring: cubic-bezier(0.48, 1.68, 0.64, 1);
  --roll-ease: cubic-bezier(0.625, 0.05, 0, 1);
  color-scheme: dark;
}
@media (max-width: 800px) { :root { --pad: 18px; --nav-h: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font); font-weight: 400; font-size: 15px; line-height: 1.3; letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
p, h1, h2, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 4px; }
::selection { background: var(--fg); color: var(--bg); }
.muted { color: var(--muted); }

/* Grain — same layer as the main site */

/* ── Shared type ─────────────────────────────────────────── */
.label { font-size: 11px; line-height: 1.3; font-weight: 400; letter-spacing: 0; text-transform: uppercase; color: var(--muted); }
.section-label { display: flex; align-items: center; gap: 6px; font-size: 18px; }
.section-square { flex: 0 0 auto; width: 0.73em; height: 0.73em; background: var(--muted); }
.section-label-text { font-size: 1em; line-height: 1; font-weight: 500; color: var(--muted); letter-spacing: -0.035em; }

/* Square-bullet details list (as under each release on the site) */
.details { display: flex; flex-direction: column; font-size: 12px; line-height: 1.3; color: var(--muted); }
.details li { display: flex; align-items: flex-start; gap: 0.33em; }
.details li::before { content: ''; flex: 0 0 auto; width: 0.75em; height: 0.75em; margin-top: 0.275em; background: var(--fg); }

/* ── Rolling letters on hover (same as the site's buttons) ── */
[data-button-text] { display: inline-block; white-space: nowrap; line-height: 1.2; }
.button-char { display: inline-block; }
@media (hover: hover) and (pointer: fine) {
  .button-char { text-shadow: 0 1.25em currentColor; transition: translate 0.3s var(--roll-ease), text-shadow 0.1s 0.15s ease; }
  [data-button-text] { clip-path: inset(0 -0.15em); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  [data-button]:is(:hover, :focus-visible) .button-char {
    translate: 0 -1.25em 0;
    transition: translate 0.5s calc((var(--char) - 1) * 0.02s) var(--roll-ease),
      text-shadow 0.175s calc((var(--char) - 1) * 24ms + 0.25s) ease;
  }
}

/* ── Buttons ─────────────────────────────────────────────── */
/* Grey tile with black arrow box — the site's "Shop vinyl" */
.nav-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 4px 4px 4px 8px;
  background: var(--fg); color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em;
  white-space: nowrap; border-radius: 0;
  transition: transform 0.35s var(--nav-spring), opacity 0.35s var(--nav-ease);
}
.nav-btn:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .nav-btn:hover { opacity: 0.9; } }
.nav-btn:disabled { opacity: .5; cursor: wait; }
.nav-btn-aside { position: relative; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; overflow: hidden; }
.nav-btn-aside-bg { position: absolute; inset: 0; background: var(--ink); transition: transform 0.65s var(--nav-ease); }
.nav-btn-svg { position: relative; z-index: 1; width: 14px; height: 14px; color: var(--fg); transition: transform 0.65s var(--nav-ease); }
.nav-btn-svg.is-absolute { position: absolute; transform: translate(-160%, 160%); }
@media (hover: hover) and (pointer: fine) {
  .nav-btn:hover .nav-btn-svg { transform: translate(160%, -160%); }
  .nav-btn:hover .nav-btn-svg.is-absolute { transform: translate(0, 0); }
  .nav-btn:hover .nav-btn-aside-bg { transform: scale(0.8); }
}
/* Compact text tile — the site's podcast "Play" */
.nav-btn--sm { height: 26px; padding: 3px 9px; font-size: 12px; line-height: 1; letter-spacing: 0; min-width: 52px; justify-content: center; }
.nav-btn--sm:disabled { opacity: .35; cursor: default; }

/* Square icon tile — the site's sound button */
.tile {
  display: grid; place-items: center; width: 32px; height: 32px; background: var(--card); color: var(--fg);
  transition: background 0.35s var(--nav-ease), transform 0.35s var(--nav-spring), opacity .3s;
}
.tile:hover:not(:disabled) { background: var(--hover); }
.tile:active:not(:disabled) { transform: scale(0.95); }
.tile:disabled { opacity: .35; cursor: default; }
.tile svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; }

/* Dashed pill — the site's "Buy" tag */
.tag {
  position: relative; display: inline-flex; align-items: center; padding: 4px 9px; font-size: 11px; font-weight: 500;
  letter-spacing: 0.02em; line-height: 1; text-transform: uppercase; color: var(--fg); isolation: isolate; white-space: nowrap;
}
.tag::before { content: ''; position: absolute; inset: 0; border: 1px dashed var(--dash); border-radius: 999px; transition: border-color .3s ease; }
.tag::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 999px; background: var(--fg);
  transform: scaleX(0); transform-origin: right; transition: transform 0.6s var(--ease); }
a.tag:hover, button.tag:hover, .tag:focus-visible, .tag[aria-pressed="true"] { color: var(--bg); }
a.tag:hover::before, button.tag:hover::before, .tag:focus-visible::before, .tag[aria-pressed="true"]::before { border-color: var(--fg); }
a.tag:hover::after, button.tag:hover::after, .tag:focus-visible::after, .tag[aria-pressed="true"]::after { transform: scaleX(1); transform-origin: left; }
span.tag { color: var(--muted); }

/* Outline pill — the site's .btn */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 18px;
  border: 1px solid var(--fg); border-radius: 999px; overflow: hidden; isolation: isolate; font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.02em; color: var(--fg); white-space: nowrap; transition: color 0.5s var(--ease);
}
.btn::before { content: ''; position: absolute; inset: -1px; z-index: -1; background: var(--fg); border-radius: inherit;
  transform: translateY(102%); transition: transform 0.6s var(--ease); }
.btn:hover, .btn:focus-visible { color: var(--bg); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn-arrow { display: inline-block; transition: transform 0.6s var(--ease); }
.btn:hover .btn-arrow { transform: translate(2px, -2px) rotate(45deg); }

.text-link { position: relative; color: var(--fg); }
.text-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.text-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* ── Header ──────────────────────────────────────────────── */
.nav { position: relative; z-index: 100; padding: var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
  column-gap: 20px; align-items: center; font-size: 15px; font-weight: 500; }
.nav-logo { display: block; height: 28px; }
.nav-logo img { height: 100%; width: auto; max-width: none; }
.nav-mid { color: var(--muted); font-size: 12px; font-weight: 400; text-align: right; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.count { font-size: 12px; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; margin-right: 6px; }
.count b { color: var(--fg); font-weight: 500; }

/* ── Layout ──────────────────────────────────────────────── */
.promo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; padding: 40px var(--pad) 96px;
  border-top: 1px solid var(--line); }
.promo > * { min-width: 0; }
.cover-col { position: sticky; top: 20px; align-self: start; display: grid; gap: 14px; }
.cover { position: relative; aspect-ratio: 1; overflow: hidden; background: #111; user-select: none; }
.cover img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.cover figcaption { position: absolute; left: 14px; right: 14px; bottom: 12px; color: var(--fg); mix-blend-mode: difference; }
.cover-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cover-meta b { color: var(--fg); font-weight: 500; }
.cover-meta span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.info-col { max-width: 720px; }
.title { display: flex; flex-direction: column; margin-top: -0.12em; font-size: clamp(36px, 4.4vw, 72px); line-height: 0.95;
  letter-spacing: -0.06em; font-weight: 500; text-wrap: balance; }
.title .ep { color: var(--muted); }
.head-details { margin-top: 24px; }
.desc { margin-top: 28px; font-size: 15px; line-height: 1.3; color: var(--fg); max-width: 56ch; white-space: pre-line; }

.block { margin-top: 72px; }
.block-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.block-note { font-size: 12px; color: var(--muted); }

/* ── Tracklist rows (same rhythm as the site's podcast rows) ── */
.tracks { position: relative; isolation: isolate; border-top: 1px solid var(--line); }
.track { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line); }
.track::before { content: ''; position: absolute; inset: 0; background: var(--fg); opacity: 0; transform: scaleY(0);
  transform-origin: bottom; transition: transform 0.6s var(--ease), opacity 0.6s var(--ease); pointer-events: none; z-index: -1; }
.track:hover::before, .track.is-current::before { opacity: 0.05; transform: scaleY(1); }
.t-title { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.t-line { display: flex; align-items: center; gap: 10px; min-width: 0; }
.t-main { font-size: clamp(17px, 1.5vw, 22px); line-height: 1.3; letter-spacing: -0.035em; font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-sub { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-sub .pos { color: var(--fg); }
.t-side { display: flex; align-items: center; gap: 16px; }
.dur { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 34px; text-align: right; }
.track.is-current .dur { color: var(--fg); }
.wave { grid-column: 1 / -1; position: relative; height: 40px; cursor: pointer; }
.wave canvas { display: block; width: 100%; height: 100%; }
.wave .hover-line { position: absolute; top: 0; bottom: 0; left: var(--hover, 0); width: 1px; background: var(--fg); opacity: 0;
  pointer-events: none; transition: opacity .15s; }
.wave.hovering .hover-line { opacity: .5; }

/* Equaliser on the playing row */
.eq { display: none; align-items: flex-end; gap: 2px; height: 12px; flex: none; }
.eq i { width: 2px; height: 100%; background: var(--fg); transform-origin: bottom; animation: eq 0.9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -0.3s; } .eq i:nth-child(3) { animation-delay: -0.6s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }
.track.is-playing .eq { display: inline-flex; }

/* ── Feedback form ───────────────────────────────────────── */
form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field > .label { display: block; }
input[type="text"], select, textarea {
  width: 100%; background: transparent; color: var(--fg); border: 1px solid var(--line); border-radius: 0;
  font: 400 15px/1.3 var(--font); letter-spacing: -0.01em; padding: 12px 14px; transition: border-color .3s ease;
}
input[type="text"]:hover, select:hover, textarea:hover { border-color: var(--dash); }
input[type="text"]:focus, select:focus, textarea:focus { outline: none; border-color: var(--fg); }
select { appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23B5B5B5' stroke-width='1.6' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; }
select option { background: #111; color: var(--fg); }
textarea { resize: vertical; min-height: 120px; }
::placeholder { color: var(--muted); opacity: 1; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
#fb-msg { font-size: 12px; color: var(--muted); }
#fb-msg.err { color: var(--fg); }
#fb-msg.err::before { content: '— '; }

/* Stars — filled in the site grey, empty as outline */
.star { position: relative; display: inline-block; width: var(--star, 28px); height: var(--star, 28px); flex: none; }
.star svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.star .s-empty { fill: none; stroke: var(--muted); stroke-width: 1.2; stroke-linejoin: round; }
.star .s-full { fill: var(--fg); stroke: var(--fg); stroke-width: 1.2; stroke-linejoin: round; clip-path: inset(0 calc(100% - var(--fill, 0%)) 0 0); }
.stars-view { display: inline-flex; gap: 2px; --star: 13px; vertical-align: -1px; }
.stars-input { display: inline-flex; align-items: center; gap: 16px; width: max-content; }
.stars-input .stars-row { display: inline-flex; gap: 6px; cursor: pointer; touch-action: none; padding: 2px 0; }
.stars-input .stars-value { font-size: 12px; color: var(--fg); font-variant-numeric: tabular-nums; min-width: 6ch; }
.stars-input:not([aria-valuenow]) .stars-value, .stars-input.previewing .stars-value { color: var(--muted); }
.stars-input.previewing .s-full { opacity: .6; }
.stars-input:focus-visible { outline-offset: 6px; }

/* ── Downloads ───────────────────────────────────────────── */
.dl-list { border-top: 1px solid var(--line); }
.dl-list li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dl-list .num { font-size: 12px; color: var(--muted); width: 28px; font-variant-numeric: tabular-nums; }
.dl-list .name { flex: 1; min-width: 0; font-size: 15px; font-weight: 500; letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-extra { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.edit-fb { margin-top: 20px; font-size: 12px; }
.more-btn { display: block; margin-top: 10px; font-size: 12px; }
.desc.is-clamped { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Footer (as the site's footer-bottom) ────────────────── */
.foot { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; margin: 0 var(--pad); padding: 16px 0 28px;
  border-top: 1px solid var(--line); font-size: 11px; line-height: 1.3; color: var(--muted); }
.foot a { grid-column: 3; justify-self: end; color: var(--fg); width: fit-content; }
.foot span:nth-child(2) { grid-column: 2; text-align: center; }

/* ── Floating player (as the site's) ─────────────────────── */
.player {
  position: fixed; z-index: 200; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: min(620px, calc(100% - 24px));
  padding: 12px 14px 14px; background: var(--panel); -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  transform: translate(-50%, calc(100% + 40px)); opacity: 0; visibility: hidden;
  transition: transform 0.8s var(--ease), opacity 0.5s ease, visibility 0s linear 0.8s;
}
.player.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform 0.8s var(--ease), opacity 0.5s ease, visibility 0s; }
.player-top { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.player-art { width: 52px; height: 52px; object-fit: cover; background: #222; }
.player.is-playing .player-art { animation: art-breathe 3.2s ease-in-out infinite; }
@keyframes art-breathe { 50% { transform: scale(0.94); } }
.player-meta { min-width: 0; }
.player-kicker { font-size: 9px; margin-bottom: 2px; }
.player-title { font-size: 14px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-artist { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-controls { display: flex; align-items: center; gap: 4px; }
.player-btn { display: grid; place-items: center; width: 34px; height: 34px; color: var(--fg); transition: opacity 0.3s ease, transform 0.3s var(--ease); }
.player-btn:hover:not(:disabled) { opacity: 0.5; }
.player-btn:active { transform: scale(0.9); }
.player-btn:disabled { opacity: .3; cursor: default; }
.player-btn svg { width: 14px; height: 14px; fill: currentColor; }
.player-btn--main { width: 42px; height: 42px; }
.player-btn--main svg { width: 16px; height: 16px; }
.player-btn--main .icon-pause, .player.is-playing .player-btn--main .icon-play { display: none; }
.player.is-playing .player-btn--main .icon-pause { display: block; }
.player-timeline { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; align-items: center; gap: 12px; margin-top: 12px; }
.player-time { font-size: 11px; font-variant-numeric: tabular-nums; color: var(--muted); }
.player-time:last-child { text-align: right; }
.player-bar { position: relative; height: 18px; cursor: pointer; touch-action: none; }
.player-bar::before, .player-bar-fill { content: ''; position: absolute; left: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px;
  transition: height 0.3s var(--ease), margin 0.3s var(--ease); }
.player-bar::before { right: 0; background: var(--faint); }
.player-bar-fill { width: 0; background: var(--fg); }
.player-bar:hover::before, .player-bar:hover .player-bar-fill { height: 4px; margin-top: -2px; }
.player-bar-handle { position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--fg); transform: scale(0); transition: transform 0.3s var(--ease); }
.player-bar:hover .player-bar-handle { transform: scale(1); }

/* ── Loading / error state ───────────────────────────────── */
.state { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 20px; padding: var(--pad); text-align: center; }
.state img { height: 40px; width: auto; }
.state p { font-size: 15px; max-width: 34ch; }

/* ── Private feedback page ───────────────────────────────── */
.score { display: flex; align-items: flex-end; gap: 22px; flex-wrap: wrap; }
.score-num { font-size: clamp(72px, 9vw, 150px); line-height: 0.85; letter-spacing: -0.07em; font-weight: 500; font-variant-numeric: tabular-nums; }
.score-side { display: grid; gap: 10px; padding-bottom: 6px; }
.score-side .stars-view { --star: 20px; gap: 4px; }
.score-side p { font-size: 12px; color: var(--muted); }
.score-side p b { color: var(--fg); font-weight: 500; }
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 40px; border-top: 1px solid var(--line); }
.stats div { padding: 14px 0; display: grid; gap: 4px; }
.stats dt { font-size: 11px; text-transform: uppercase; color: var(--muted); }
.stats dd { font-size: clamp(17px, 1.5vw, 22px); font-weight: 500; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.dist { display: grid; gap: 12px; }
.dist li { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) 80px; align-items: center; gap: 20px; }
.dist .d-label { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dist .d-label b { color: var(--fg); font-weight: 500; }
.dist .d-bar { position: relative; height: 2px; background: var(--faint); }
.dist .d-bar i { position: absolute; inset: 0 auto 0 0; background: var(--fg); }
.dist .d-count { font-size: 12px; text-align: right; font-variant-numeric: tabular-nums; }
.dist .d-count span { color: var(--muted); }
.block-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.comments { border-top: 1px solid var(--line); }
.comment { position: relative; display: grid; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.c-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.c-name { font-size: clamp(17px, 1.5vw, 22px); line-height: 1.3; letter-spacing: -0.035em; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.c-date { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.c-rating { display: flex; align-items: center; gap: 10px; font-size: 12px; font-variant-numeric: tabular-nums; }
.c-rating .c-email { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.comment p { font-size: 15px; line-height: 1.3; max-width: 60ch; white-space: pre-line; }
.empty { padding: 18px 0; font-size: 12px; color: var(--muted); }

/* ── Small screens ───────────────────────────────────────── */
@media (max-width: 991px) {
  .nav { grid-template-columns: auto minmax(0, 1fr); }
  .nav-mid { display: none; }
  .nav-logo { height: 22px; }
}
@media (max-width: 800px) {
  .promo { grid-template-columns: 1fr; gap: 36px; padding-top: 24px; }
  .cover-col { position: static; }
  .block { margin-top: 56px; }
  .foot { grid-template-columns: 1fr 1fr; gap: 6px 30px; }
  .foot span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; text-align: left; }
  .foot a { grid-column: 2; grid-row: 1; justify-self: end; }
  .player { bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding: 10px 10px 12px; }
  .player-top { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; }
  .player-art { width: 44px; height: 44px; }
  .player-timeline { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dist li { grid-template-columns: minmax(0, 1fr) 72px; gap: 8px 12px; }
  .dist .d-bar { grid-column: 1 / -1; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
.report .foot { padding-bottom: 28px; }
.nav-right { justify-self: end; }

/* Sort buttons on the feedback page: the site's small tiles; the chosen one is grey, the others dark */
.sort { background: var(--card); color: var(--fg); }
.sort[aria-pressed="true"] { background: var(--fg); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .sort[aria-pressed="false"]:hover { background: var(--hover); opacity: 1; } }
.block-tools { gap: 6px; }

/* Layout: smaller cover with the title beside it; the rest runs full width underneath */
.promo { grid-template-columns: minmax(220px, 400px) minmax(0, 1fr); gap: 40px; padding: 40px var(--pad) 0; align-items: start; }
.cover-col { position: static; }
.info-col { max-width: none; }
.info-col .desc { max-width: 64ch; }
.wide { padding: 0 var(--pad) 96px; }
.wide > .block:first-child { margin-top: 48px; }
.report .info-col .block:first-of-type { margin-top: 48px; }
@media (max-width: 800px) {
  .promo { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; }
  .cover { max-width: 420px; }
  .wide > .block:first-child { margin-top: 48px; }
}

/* Downloads: WAV per track, Artwork bottom-left, ZIP bottom-right under the WAV column */
.dl-list li .nav-btn--sm { min-width: 52px; }
.dl-extra { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.dl-zip { display: grid; justify-items: end; gap: 6px; margin-left: auto; }
.zip-msg { font-size: 12px; color: var(--muted); }
.dl-buy { flex-basis: 100%; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.dl-buy .edit-fb { margin-top: 0; }
.nav-btn--sm:disabled { opacity: .5; cursor: wait; }
/* Send button stays dim until every line is filled */
#fb-submit.is-waiting { opacity: .45; }
