@font-face { font-family: Unbounded; src: url(fonts/unbounded.woff2) format('woff2'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: Outfit; src: url(fonts/outfit.woff2) format('woff2'); font-weight: 300 700; font-display: swap; }

/* the three colours of whichever beat is up; registered so the whole page fades between beats */
@property --a1 { syntax: '<color>'; inherits: true; initial-value: #ff4d2e; }
@property --a2 { syntax: '<color>'; inherits: true; initial-value: #ffc21a; }
@property --a3 { syntax: '<color>'; inherits: true; initial-value: #8a2be2; }

:root {
  --ink: #07070a;
  --milk: #f6f3ee;
  --muted: rgba(246, 243, 238, 0.64);
  --line: rgba(255, 255, 255, 0.13);
  --glass: linear-gradient(140deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045));
  --display: Unbounded, 'Arial Black', system-ui, sans-serif;
  --body: Outfit, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 26px;
  transition: --a1 0.9s ease, --a2 0.9s ease, --a3 0.9s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--milk);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.has-player { padding-bottom: 104px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.02; margin: 0; letter-spacing: -0.03em; }
p { margin: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--a2); outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { width: min(1240px, 100% - clamp(32px, 8vw, 96px)); margin-inline: auto; }
.grad { background: linear-gradient(100deg, var(--a1), var(--a2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--milk); color: var(--ink); padding: 8px 14px; border-radius: 10px; z-index: 60; }
.skip:focus { left: 8px; }

/* ---------- living background ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--ink); --lvl: 0; }
.bg::before {
  content: ''; position: absolute; inset: -25%;
  background:
    radial-gradient(42% 42% at 78% 22%, color-mix(in oklab, var(--a1) 62%, transparent), transparent 70%),
    radial-gradient(40% 40% at 16% 38%, color-mix(in oklab, var(--a3) 66%, transparent), transparent 70%),
    radial-gradient(38% 38% at 58% 88%, color-mix(in oklab, var(--a2) 40%, transparent), transparent 70%);
  opacity: calc(0.62 + 0.3 * var(--lvl));
  animation: drift 26s ease-in-out infinite alternate;
}
.bg::after {
  content: ''; position: absolute; inset: 0; opacity: 0.2; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift {
  from { transform: translate3d(-3%, -2%, 0) rotate(0deg) scale(1); }
  to { transform: translate3d(4%, 3%, 0) rotate(14deg) scale(1.12); }
}

/* ---------- glass ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  backdrop-filter: blur(26px) saturate(160%);
}

/* ---------- header ---------- */
.top {
  position: sticky; top: 14px; z-index: 20;
  width: min(1240px, 100% - 28px); margin: 14px auto 0;
  display: flex; align-items: center; gap: 20px;
  padding: 10px 10px 10px 16px; border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: 0.02em;
  background: linear-gradient(120deg, var(--a1), var(--a2)); color: var(--ink);
  padding: 7px 12px; border-radius: 999px; line-height: 1;
}
.brand-name { font-size: 15px; color: var(--muted); }
.nav { display: flex; gap: 6px; margin-left: auto; margin-right: 4px; }
.nav a { text-decoration: none; font-size: 15px; color: var(--muted); padding: 8px 14px; border-radius: 999px; transition: background 0.2s, color 0.2s; }
.nav a:hover { color: var(--milk); background: rgba(255, 255, 255, 0.1); }
.cart-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 7px 7px 18px; cursor: pointer; font-weight: 600; font-size: 15px; transition: background 0.2s;
}
.cart-btn:hover { background: rgba(255, 255, 255, 0.18); }
.count { min-width: 30px; height: 30px; display: grid; place-items: center; border-radius: 999px; background: rgba(255, 255, 255, 0.14); font-size: 14px; transition: background 0.3s, color 0.3s; }
.count.some { background: linear-gradient(120deg, var(--a1), var(--a2)); color: var(--ink); font-weight: 700; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center;
  padding-block: clamp(36px, 5vw, 72px) clamp(40px, 6vw, 88px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.07);
  font-size: 14px; font-weight: 500; margin-bottom: 26px;
}
.eyebrow i { width: 9px; height: 9px; border-radius: 50%; background: var(--a1); box-shadow: 0 0 0 5px color-mix(in oklab, var(--a1) 30%, transparent); }
h1 { font-size: clamp(38px, 5.3vw, 80px); }
.lede { margin-top: 24px; max-width: 44ch; font-size: clamp(17px, 1.5vw, 20px); font-weight: 300; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { list-style: none; margin: 44px 0 0; padding: 26px 0 0; display: flex; flex-wrap: wrap; gap: 18px 40px; border-top: 1px solid var(--line); }
.facts li { display: grid; }
.facts strong { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.03em; }
.facts span { font-size: 14px; color: var(--muted); }
.hero-copy > * { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.07s; }
.hero-copy > :nth-child(3) { animation-delay: 0.14s; }
.hero-copy > :nth-child(4) { animation-delay: 0.21s; }
.hero-copy > :nth-child(5) { animation-delay: 0.28s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.09); color: var(--milk);
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.2s, transform 0.2s, box-shadow 0.3s;
}
.btn:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-2px); }
.btn.primary {
  border: 0; color: var(--ink); font-weight: 700;
  background: linear-gradient(110deg, var(--a1), var(--a2));
  box-shadow: 0 14px 36px -12px var(--a1), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn.primary:hover { box-shadow: 0 20px 44px -10px var(--a1), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn.small { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn.added { background: var(--milk); border-color: var(--milk); color: var(--ink); }
.icon-btn { width: 40px; height: 40px; flex: none; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.08); font-size: 22px; line-height: 1; cursor: pointer; }
.icon-btn:hover { background: rgba(255, 255, 255, 0.18); }

.play {
  flex: none; width: 58px; height: 58px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--milk); color: var(--ink); display: grid; place-items: center;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.7);
  transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.2, 1.4), background 0.2s;
}
.play:hover { transform: scale(1.09); }
.play svg { width: 26px; height: 26px; fill: currentColor; grid-area: 1 / 1; }
.play .i-pause, .play.on .i-play { display: none; }
.play.on .i-pause { display: block; }
.play.on, .play.big { background: linear-gradient(120deg, var(--a1), var(--a2)); }
.play.big { width: 68px; height: 68px; box-shadow: 0 14px 40px -10px var(--a1); }
.play.small { width: 46px; height: 46px; }
.play.small svg { width: 22px; height: 22px; }

/* ---------- now playing deck ---------- */
.deck { --lvl: 0; animation: rise 0.9s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.deck-stage { position: relative; aspect-ratio: 1.42 / 1; }
.cover {
  position: absolute; left: 0; top: 0; height: 100%; aspect-ratio: 1; z-index: 2;
  border-radius: 30px; overflow: hidden;
  box-shadow: 0 40px 90px -30px #000, 0 0 calc(60px + 90px * var(--lvl)) calc(-18px + 14px * var(--lvl)) var(--a1), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  transform: rotate(-2.5deg) scale(calc(1 + 0.025 * var(--lvl)));
  transition: transform 0.12s ease-out;
}
.cover svg, .cover img, .card-art svg, .card-art img, .thumb svg, .thumb img, .vinyl-label svg, .vinyl-label img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vinyl {
  position: absolute; right: 0; top: 5%; height: 90%; aspect-ratio: 1; border-radius: 50%;
  background:
    conic-gradient(from 20deg, rgba(255, 255, 255, 0.16), transparent 11%, transparent 39%, rgba(255, 255, 255, 0.16) 50%, transparent 61%, transparent 89%, rgba(255, 255, 255, 0.16)),
    repeating-radial-gradient(circle, #101014 0 2px, #26262e 2px 4px);
  box-shadow: 0 30px 60px -20px #000, 0 0 50px -12px var(--a1), inset 0 0 0 2px rgba(255, 255, 255, 0.16);
  animation: spin 2.6s linear infinite; animation-play-state: paused;
  transition: translate 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.deck.playing .vinyl { animation-play-state: running; translate: 9% 0; }
.vinyl-label { position: absolute; inset: 31%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 5px #0b0b0e; }
.vinyl-label::after { content: ''; position: absolute; inset: 44%; border-radius: 50%; background: var(--ink); }
@keyframes spin { to { rotate: 360deg; } }

.deck-panel {
  position: relative; z-index: 3; margin: -34px 4% 0 8%; padding: 20px 22px; border-radius: var(--r);
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 18px; align-items: center;
}
.kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--a2); }
.deck-title h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 4px 0 2px; }
.deck-title p { color: var(--muted); font-size: 15px; }
.deck-title b { color: var(--a1); font-weight: 600; }
.deck-panel .stats, .deck-panel .wave, .deck-foot { grid-column: 1 / -1; }
.deck-panel .wave { height: 64px; }
.deck-foot, .card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.stats { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stats div { padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.08); }
.stats dt { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.stats dd { margin: 2px 0 0; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.03em; white-space: nowrap; }
.stats small { font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); margin-left: 4px; }
.wave { display: block; width: 100%; height: 48px; cursor: pointer; }
.price { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.03em; }
.price.ask { font-family: var(--body); font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding-block: clamp(40px, 6vw, 84px); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; margin-bottom: 28px; }
h2 { font-size: clamp(30px, 4vw, 54px); }
.section-head p { color: var(--muted); font-weight: 300; }
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { min-height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.06); cursor: pointer; font-weight: 500; font-size: 15px; color: var(--muted); transition: background 0.2s, color 0.2s; }
.chip:hover { background: rgba(255, 255, 255, 0.14); color: var(--milk); }
.chip[aria-pressed='true'] { background: var(--milk); border-color: var(--milk); color: var(--ink); font-weight: 600; }

/* ---------- the crate: genre tabs, search, tracklist ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.tabs { flex: 1 1 100%; display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs .chip { flex: none; }
.chip b { margin-left: 8px; font-weight: 500; font-size: 13px; opacity: 0.55; }
.search { flex: 1 1 260px; position: relative; display: block; }
.search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; translate: 0 -50%; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.search input, .sort select {
  width: 100%; min-height: 48px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06); font-size: 16px; transition: border-color 0.2s, background 0.2s;
}
.search input { padding: 0 18px 0 46px; }
.sort select { padding: 0 40px 0 18px; cursor: pointer; appearance: none; color-scheme: dark;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f6f3ee' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.sort select option { background: #16161a; }
.search input:focus, .sort select:focus { outline: none; border-color: var(--a2); background-color: rgba(255, 255, 255, 0.1); }
.search input::placeholder { color: rgba(246, 243, 238, 0.4); }

/* genre shelves */
.shelves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.shelf {
  position: relative; overflow: hidden; text-align: left; cursor: pointer; display: grid; gap: 4px; align-content: end;
  min-height: 168px; padding: 18px 20px; border-radius: 24px; border: 1px solid var(--line); color: var(--milk);
  background:
    radial-gradient(120% 120% at 100% 0%, color-mix(in oklab, var(--c1) 46%, transparent), transparent 62%),
    radial-gradient(90% 90% at 0% 100%, color-mix(in oklab, var(--c3) 40%, transparent), transparent 70%),
    rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
}
.shelf:hover { transform: translateY(-4px); }
.shelf[aria-pressed='true'] { border-color: var(--c2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 0 1px var(--c2), 0 26px 50px -26px var(--c1); }
.shelf-arts { position: absolute; top: 16px; right: 16px; display: flex; }
.shelf-arts i { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; margin-left: -16px; box-shadow: 0 6px 16px -4px #000, 0 0 0 2px rgba(7, 7, 10, 0.55); rotate: 6deg; }
.shelf-arts i:nth-child(2) { rotate: -4deg; }
.shelf-arts i:nth-child(1) { rotate: -10deg; }
.shelf-arts svg, .shelf-arts img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shelf strong { font-family: var(--display); font-weight: 800; font-size: clamp(18px, 1.8vw, 23px); letter-spacing: -0.03em; line-height: 1.05; }
.shelf-about { font-size: 14px; font-weight: 300; color: var(--muted); }
.shelf-meta { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.shelf-meta b { color: var(--milk); font-weight: 600; margin-right: -4px; }
.shelf-meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--c2); }

.list { --cols: 26px 52px minmax(150px, 1.5fr) 88px 104px 56px minmax(120px, 1.2fr) var(--buy, 96px); border-radius: var(--r); padding: 6px 10px 12px; }
.group + .group { margin-top: 10px; border-top: 1px solid var(--line); }
.group-head { display: flex; align-items: baseline; gap: 12px; padding: 20px 10px 6px; }
.group-head h3 { font-size: 20px; }
.group-head span { font-size: 14px; color: var(--muted); }
.list-head, .row { display: grid; grid-template-columns: var(--cols); gap: 16px; align-items: center; padding: 7px 10px; }
.list-head { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(246, 243, 238, 0.42); padding-block: 8px 6px; }
.row { border-radius: 16px; transition: background 0.2s; }
.row:hover, .row.current { background: rgba(255, 255, 255, 0.075); }
.row-n { font-family: var(--display); font-weight: 700; font-size: 12px; color: rgba(246, 243, 238, 0.36); font-variant-numeric: tabular-nums; }
.row.current .row-n { color: var(--c2); }
.row-art { position: relative; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer; background: none; box-shadow: 0 6px 16px -6px #000; }
.row-art > svg, .row-art > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.row-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(7, 7, 10, 0.5); opacity: 0; transition: opacity 0.2s; }
.row-play svg { width: 24px; height: 24px; fill: #fff; grid-area: 1 / 1; }
.row-art .i-pause, .row-art.on .i-play { display: none; }
.row-art.on .i-pause { display: block; }
.row:hover .row-play, .row.current .row-play, .row-art:focus-visible .row-play { opacity: 1; }
.row.playing .row-art { box-shadow: 0 0 0 2px var(--c2), 0 8px 22px -6px var(--c1); }
.row-title { min-width: 0; }
.row-title h4 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row.current h4 { color: var(--c2); }
.row-title p { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-title .m { display: none; }
.row-bpm, .row-key, .row-len { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.row-bpm b { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: -0.02em; color: var(--milk); margin-right: 3px; }
.row .wave { height: 30px; }
.row-buy { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.row-buy .price { font-size: 16px; }
.btn.add { min-height: 38px; padding: 0 18px; }
.btn.add:hover { transform: none; }
.see-all { display: block; width: calc(100% - 20px); margin: 8px 10px 6px; min-height: 44px; border-radius: 14px; border: 1px dashed rgba(255, 255, 255, 0.22); background: none; cursor: pointer; font-weight: 500; font-size: 14px; color: var(--muted); transition: background 0.2s, color 0.2s; }
.see-all:hover { background: rgba(255, 255, 255, 0.07); color: var(--milk); }
.empty { padding: 36px 12px; text-align: center; color: var(--muted); font-weight: 300; }
@media (hover: none) { .row-play { opacity: 1; background: rgba(7, 7, 10, 0.28); } }

.more-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 16px; padding: 16px 18px; border-radius: 22px; text-decoration: none; font-weight: 300; color: var(--muted); }
.more-row strong { color: var(--milk); font-weight: 600; margin-right: 4px; }
.more-row > span:nth-child(2) { flex: 1 1 260px; }
.more-plus { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 24px; font-weight: 300; background: linear-gradient(120deg, var(--a1), var(--a2)); color: var(--ink); }

/* ---------- save app ---------- */
.install-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 14px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 700; font-size: 15px; color: var(--ink); background: linear-gradient(110deg, var(--a1), var(--a2)); box-shadow: 0 10px 26px -12px var(--a1), inset 0 1px 0 rgba(255, 255, 255, 0.45); transition: transform 0.2s; }
.install-btn:hover { transform: translateY(-1px); }
.install-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sheet { width: min(420px, 100vw - 28px); border: 1px solid var(--line); border-radius: 30px; padding: 26px; color: var(--milk); background: linear-gradient(160deg, rgba(44, 44, 52, 0.94), rgba(14, 14, 18, 0.96)); }
.sheet::backdrop { background: rgba(0, 0, 0, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet h2 { font-size: 22px; }
.sheet ol { margin: 18px 0 22px; padding-left: 22px; display: grid; gap: 10px; color: var(--muted); }
.sheet strong { color: var(--milk); font-weight: 600; }
.sheet .btn { width: 100%; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { border-radius: var(--r); padding: 30px; }
.step-n { font-family: var(--display); font-weight: 800; font-size: 54px; line-height: 1; letter-spacing: -0.05em; background: linear-gradient(120deg, var(--a1), var(--a2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { font-size: 24px; margin: 18px 0 10px; }
.steps p { color: var(--muted); font-weight: 300; }

/* ---------- remake + forms ---------- */
.remake { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(24px, 4vw, 56px); border-radius: 36px; }
.remake-copy p { margin-top: 20px; color: var(--muted); font-weight: 300; max-width: 42ch; font-size: 18px; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; }
.opt { font-weight: 300; color: var(--muted); }
.form input:not([type='checkbox']), .form textarea {
  width: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line);
  background: rgba(7, 7, 10, 0.45); font-size: 16px; font-weight: 400; resize: vertical; transition: border-color 0.2s, background 0.2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--a2); background: rgba(7, 7, 10, 0.65); }
.form input::placeholder, .form textarea::placeholder { color: rgba(246, 243, 238, 0.38); }
.form input[type='date'] { color-scheme: dark; }
.form .check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.form .check input { width: 20px; height: 20px; accent-color: var(--a1); }
.form-note { font-size: 14px; color: var(--a2); min-height: 1.2em; }

/* ---------- footer ---------- */
.foot { display: flex; align-items: center; gap: 16px; padding-block: 32px 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; font-weight: 300; }

/* ---------- player ---------- */
.player {
  position: fixed; left: 0; right: 0; bottom: 14px; z-index: 30;
  width: min(1100px, 100% - 28px); margin-inline: auto;
  display: grid; grid-template-columns: auto auto auto minmax(0, 1fr) auto auto; gap: 16px; align-items: center;
  padding: 10px 14px 10px 10px; border-radius: 26px;
  background: linear-gradient(140deg, rgba(40, 40, 48, 0.82), rgba(16, 16, 20, 0.82));
  animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.thumb { width: 54px; height: 54px; flex: none; border-radius: 14px; overflow: hidden; }
.player-info { display: grid; line-height: 1.25; min-width: 0; }
.player-info strong { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-info span { font-size: 13px; color: var(--muted); white-space: nowrap; }
.player .wave { height: 40px; }
.player-time { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- order drawer ---------- */
.drawer {
  margin: 14px 14px 14px auto; height: calc(100dvh - 28px); max-height: none; width: min(440px, 100vw - 28px); max-width: none;
  border: 1px solid var(--line); border-radius: 30px; padding: 22px; color: var(--milk); overflow-y: auto;
  background: linear-gradient(160deg, rgba(44, 44, 52, 0.9), rgba(14, 14, 18, 0.94));
  -webkit-backdrop-filter: blur(30px) saturate(160%); backdrop-filter: blur(30px) saturate(160%);
}
.drawer[open] { animation: slide 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer::backdrop { background: rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer h2 { font-size: 28px; }
.cart-items { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.cart-items li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 12px; align-items: center; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line); border-radius: 20px; padding: 8px 10px 8px 8px; }
.cart-items li > div:nth-child(2) { display: grid; line-height: 1.3; }
.cart-items strong { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: -0.02em; }
.cart-items li > div span { font-size: 13px; color: var(--muted); }
.cart-items .price.ask { font-size: 12px; max-width: 70px; text-align: right; line-height: 1.2; }
.cart-empty { color: var(--muted); padding: 24px 0; font-weight: 300; }
.cart-total { font-weight: 500; padding: 14px 0 2px; border-top: 1px solid var(--line); }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .hero, .remake { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .nav, .brand-name { display: none; }
  .install-btn { margin-left: auto; }
  .top { gap: 8px; }
  .top:not(:has(.install-btn:not([hidden]))) .cart-btn { margin-left: auto; }
  .deck { max-width: 560px; }
}
@media (max-width: 820px) {
  .list { --cols: 52px minmax(0, 1fr) auto; padding: 4px 4px 8px; }
  .list-head, .row-n, .row-bpm, .row-key, .row-len, .row .wave { display: none; }
  .shelves { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(clamp(32px, 8vw, 96px) / -2); padding: 4px calc(clamp(32px, 8vw, 96px) / 2) 10px; scrollbar-width: none; }
  .shelves::-webkit-scrollbar { display: none; }
  .shelf { flex: 0 0 min(72vw, 260px); scroll-snap-align: center; min-height: 156px; }
  .row { gap: 12px; padding: 7px 8px; }
  .row-title .m { display: inline; }
  .row-title p span + span::before { content: '\00b7'; margin: 0 6px; opacity: 0.6; }
  .row-buy .price { display: none; }
  .btn.add { padding: 0 14px; }
  .sort { flex: 1 1 100%; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .install-btn span { display: none; }
  .install-btn { padding: 0; width: 44px; justify-content: center; }
  .cart-btn { padding-left: 14px; }
  .deck-panel { margin: -26px 0 0; padding: 16px; }
  .play.big { width: 58px; height: 58px; }
  .stats div { padding: 8px 10px; }
  .stats dd { font-size: 15px; }
  .facts { gap: 16px 28px; }
  .player { grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 10px; padding: 8px 10px 8px 8px; border-radius: 22px; }
  .player .wave { grid-column: 1 / -1; grid-row: 2; height: 30px; }
  .player-time { display: none; }
  .thumb { width: 46px; height: 46px; border-radius: 12px; }
  body.has-player { padding-bottom: 136px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
