@font-face { font-family: 'Space Grotesk'; src: url(../fonts/space-grotesk.woff2) format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(../fonts/jetbrains-mono-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --bg: #06070a; --bg2: #0b0d13; --panel: rgba(255, 255, 255, .035); --panel2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .075); --line2: rgba(255, 255, 255, .14);
  --text: #e9edf5; --muted: #8b93a7; --dim: #596075;
  --a: #3ee8ff; --b: #b58bff; --ok: #7dffb2; --warn: #ffb86b;
  --r: 18px; --ease: cubic-bezier(.2, .8, .2, 1);
  --sans: 'Space Grotesk', 'PingFang SC', 'Microsoft YaHei UI', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --pulse: 0;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 15px/1.55 var(--sans); letter-spacing: .01em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
:focus-visible { outline: 2px solid var(--a); outline-offset: 2px; }

.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(62, 232, 255, .10), transparent 60%),
    radial-gradient(760px 520px at 100% 110%, rgba(181, 139, 255, .10), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--bg); }
.bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(1200px 600px at 50% 40%, transparent, var(--bg) 80%); }

/* ───── 顶栏 ───── */
.topbar { position: sticky; top: 0; z-index: 20; height: 56px; display: flex; align-items: center; gap: 28px; padding: 0 clamp(16px, 3vw, 32px);
  background: rgba(6, 7, 10, .72); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--a); font-weight: 700; letter-spacing: .14em; font-size: 15px; }
.brand span { color: var(--text); } .brand b { color: var(--a); font-weight: 700; }
.topbar nav { display: flex; gap: 4px; flex: 1; }
.topbar nav a { padding: 7px 14px; border-radius: 999px; color: var(--muted); font-size: 14px; transition: color .2s, background .2s; white-space: nowrap; }
.topbar nav a:hover { color: var(--text); }
.topbar nav a.on { color: var(--text); background: var(--panel2); box-shadow: inset 0 0 0 1px var(--line); }
.lang { background: none; border: 1px solid var(--line2); border-radius: 999px; padding: 5px 14px; font-size: 13px; color: var(--muted); cursor: pointer; transition: .2s; }
.lang:hover { color: var(--text); border-color: var(--a); }
#view { padding: 16px clamp(12px, 2vw, 24px) 24px; max-width: 1560px; margin: 0 auto; }
.foot { text-align: center; color: var(--dim); font-size: 12px; padding: 24px 16px 32px; }
.rotate-hint { display: none; }

.btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line2); background: var(--panel); color: var(--text); font-weight: 500; cursor: pointer; transition: transform .25s var(--ease), background .2s, border-color .2s, box-shadow .25s; }
.btn:hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, .28); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--a); border-color: var(--a); color: #021114; box-shadow: 0 8px 30px -8px rgba(62, 232, 255, .6); }
.btn-primary:hover { box-shadow: 0 10px 38px -6px rgba(62, 232, 255, .8); border-color: var(--a); }
.kicker { font: 500 12px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--a); margin: 0 0 14px; }

/* ───── 打碟台 ───── */
.console { --jog: clamp(150px, 13.6vw, 200px); display: grid; grid-template-columns: minmax(0, 1fr) 292px minmax(0, 1fr); gap: 12px; align-items: stretch; }
.deck, .mixer { position: relative; border-radius: var(--r); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); border: 1px solid var(--line);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .05); }
.deck { --c: var(--a); display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 14px; min-width: 0; }
.deck-b { --c: var(--b); }
.d-head { display: flex; align-items: center; gap: 10px; min-width: 0; height: 40px; }
.d-badge { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font: 700 14px var(--mono); color: #05070a; background: var(--c); box-shadow: 0 0 22px -4px var(--c); }
.d-meta { flex: 1; min-width: 0; }
.d-title { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-artist { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-tempo { text-align: right; display: grid; grid-template-columns: auto auto; column-gap: 5px; align-items: baseline; }
.d-bpm { font-size: 22px; line-height: 1; color: var(--c); }
.d-bpm-l { font: 500 10px var(--mono); color: var(--dim); letter-spacing: .1em; }
.d-pitch { grid-column: 1 / 3; font-size: 11px; color: var(--muted); }
.wave-wrap { position: relative; height: 60px; border-radius: 10px; background: rgba(0, 0, 0, .35); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.wave { width: 100%; height: 100%; display: block; }
.playhead { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 10px var(--c); }
.overview { position: relative; height: 16px; border-radius: 6px; background: rgba(0, 0, 0, .3); cursor: pointer; overflow: hidden; touch-action: none; }
.ov-canvas { width: 100%; height: 100%; display: block; }
.ov-head { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--c); box-shadow: 0 0 8px var(--c); will-change: transform; }
.d-body { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 4px 0; }

/* 转盘 */
.jog { position: relative; width: var(--jog); height: var(--jog); border-radius: 50%; flex: none; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.jog.touch { cursor: grabbing; }
.jog-ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(255, 255, 255, .05), var(--c) 25%, rgba(255, 255, 255, .05) 50%, var(--c) 75%, rgba(255, 255, 255, .05));
  opacity: .25; transition: opacity .1s; -webkit-mask: radial-gradient(circle, transparent 66%, #000 67.5%); mask: radial-gradient(circle, transparent 66%, #000 67.5%); }
.jog.touch .jog-ring { opacity: 1 !important; }
.platter { position: absolute; inset: 6%; border-radius: 50%; will-change: transform;
  background: radial-gradient(circle at 50% 50%, #15181f 0 30%, transparent 31%), repeating-radial-gradient(circle at 50% 50%, #0d0f14 0 2px, #12151c 2px 4px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 10px 30px -10px rgba(0, 0, 0, .9); }
.platter .grooves { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 200deg, transparent, rgba(255, 255, 255, .06) 10%, transparent 22%, transparent 55%, rgba(255, 255, 255, .05) 65%, transparent 78%); }
.platter .mark { position: absolute; left: 50%; top: 2%; width: 3px; height: 22%; margin-left: -1.5px; border-radius: 2px; background: var(--c); box-shadow: 0 0 10px var(--c); }
.jog-center { position: absolute; inset: 31%; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle, #1a1e27, #0e1016); box-shadow: inset 0 0 0 1px var(--line2); pointer-events: none; }
.jc-time { font-size: 13px; color: var(--text); }
.jc-beat { font-size: 11px; color: var(--c); letter-spacing: .06em; }

/* 推子 / 旋钮 */
.ctl { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; touch-action: none; user-select: none; -webkit-user-select: none; outline: none; }
.ctl:focus-visible .rail, .ctl:focus-visible .knob-body { outline: 2px solid var(--a); outline-offset: 3px; border-radius: 10px; }
.lbl { font: 500 9.5px/1 var(--mono); letter-spacing: .12em; color: var(--dim); }
.readout { font: 500 10px var(--mono); color: var(--muted); }
.rail { position: relative; cursor: pointer; }
.groove { position: absolute; background: rgba(255, 255, 255, .07); border-radius: 3px; overflow: hidden; }
.fill { position: absolute; background: var(--c, var(--a)); opacity: .85; }
.thumb { position: absolute; left: 0; top: 0; will-change: transform; }
.ctl-v .rail { width: 38px; height: 100%; }
.ctl-v .groove { left: 17px; width: 4px; top: 9px; bottom: 9px; }
.ctl-v .fill { left: 0; right: 0; }
.ctl-v .thumb { width: 38px; height: 18px; border-radius: 5px; background: linear-gradient(180deg, #2a2f3b, #171a22); box-shadow: 0 4px 12px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.ctl-v .thumb::after { content: ''; position: absolute; left: 6px; right: 6px; top: 8px; height: 2px; border-radius: 1px; background: var(--c, var(--a)); box-shadow: 0 0 8px var(--c, var(--a)); }
.ctl-h { width: 100%; }
.ctl-h .rail { width: 100%; height: 34px; }
.ctl-h .groove { top: 15px; height: 4px; left: 9px; right: 9px; }
.ctl-h .fill { top: 0; bottom: 0; }
.ctl-h .thumb { width: 18px; height: 34px; border-radius: 5px; background: linear-gradient(90deg, #2a2f3b, #171a22); box-shadow: 0 4px 12px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.ctl-h .thumb::after { content: ''; position: absolute; top: 6px; bottom: 6px; left: 8px; width: 2px; background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, .8); }
.ctl.active .thumb { box-shadow: 0 0 0 1px var(--c, var(--a)), 0 0 18px -2px var(--c, var(--a)); }
.pitch { height: var(--jog); }
.pitch .rail { height: calc(100% - 14px); }
.knob-body { position: relative; width: 44px; height: 44px; cursor: ns-resize; }
.k-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.k-track, .k-val { fill: none; stroke-width: 3.2; stroke-linecap: round; }
.k-track { stroke: rgba(255, 255, 255, .09); }
.k-val { stroke: var(--c, var(--a)); filter: drop-shadow(0 0 3px var(--c, var(--a))); }
.k-cap { position: absolute; inset: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #2c313d, #14171e 70%); box-shadow: 0 3px 8px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.k-cap .thumb { left: 50%; top: 3px; width: 2px; height: 9px; margin-left: -1px; border-radius: 1px; background: #fff; transform-origin: 1px 11px; }
.ctl-knob.active .k-cap { box-shadow: 0 0 0 1px var(--c, var(--a)), 0 0 16px -2px var(--c, var(--a)); }

/* 按钮 */
.transport { display: grid; grid-template-columns: 1fr 1.25fr 1fr 1fr; gap: 8px; }
.pad { height: 42px; border-radius: 11px; border: 1px solid var(--line2); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); font: 600 12px var(--mono); letter-spacing: .1em; color: var(--muted); cursor: pointer;
  transition: transform .15s var(--ease), color .2s, border-color .2s, box-shadow .2s, background .2s; display: grid; place-items: center; }
.pad:hover { color: var(--text); border-color: rgba(255, 255, 255, .26); }
.pad:active { transform: scale(.96); }
.pad[aria-pressed="true"] { color: #05070a; background: var(--c); border-color: var(--c); box-shadow: 0 0 24px -4px var(--c); }
.pad small { font-size: 9px; margin-left: 3px; opacity: .7; }
.ic-play { width: 0; height: 0; border-left: 12px solid currentColor; border-top: 7.5px solid transparent; border-bottom: 7.5px solid transparent; margin-left: 3px; transition: .15s; }
.pad-play[aria-pressed="true"] .ic-play { width: 12px; height: 14px; border: 0; margin: 0; background: linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px, currentColor 8px); }
.pad-play { color: var(--text); }
.pad.pending { animation: pend 1s ease-in-out infinite; }
@keyframes pend { 50% { border-color: var(--c); } }
.pad-cue { color: var(--warn); }
.flash-ok { animation: fok .6s var(--ease); } .flash-bad { animation: fbad .5s; }
@keyframes fok { 0% { background: var(--c); color: #05070a; box-shadow: 0 0 30px var(--c); } }
@keyframes fbad { 25%, 75% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }
.hotcues { display: grid; grid-template-columns: auto repeat(4, 1fr); gap: 6px; align-items: center; }
.hc-l { font: 500 9.5px var(--mono); letter-spacing: .12em; color: var(--dim); padding-right: 4px; }
.pad-hot { height: 30px; border-radius: 8px; font-size: 11px; }
.pad-hot.set { color: #1a0f02; background: var(--warn); border-color: var(--warn); box-shadow: 0 0 16px -4px var(--warn); }

/* 混音台 */
.mixer { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px 14px; }
.energy { display: flex; align-items: center; gap: 10px; font: 500 10px var(--mono); letter-spacing: .12em; color: var(--muted); text-transform: uppercase; height: 22px; }
.energy span { white-space: nowrap; }
.energy-bar { flex: 1; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.energy-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--a), var(--b) 70%, #ff6fb5); transform-origin: left; transform: scaleX(0); will-change: transform; }
.beats { display: grid; gap: 5px; }
.bl { display: grid; grid-template-columns: 16px repeat(4, 1fr); gap: 5px; align-items: center; }
.bl b { font: 700 10px var(--mono); color: var(--dim); }
.bl i { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .07); transition: background .06s, box-shadow .06s; }
.bl-a i.on { background: var(--a); box-shadow: 0 0 10px var(--a); }
.bl-b i.on { background: var(--b); box-shadow: 0 0 10px var(--b); }
.bl i:first-of-type { border-left: 2px solid rgba(255, 255, 255, .25); }
.channels { flex: 1; display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; align-items: stretch; }
.strip { display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 4px; }
.strip-a { --c: var(--a); } .strip-b { --c: var(--b); }
.faders { display: grid; grid-template-columns: 6px 38px 38px 6px; gap: 6px; align-items: stretch; padding: 0 4px; }
.vol-a { --c: var(--a); } .vol-b { --c: var(--b); }
.vol { height: 100%; min-height: 150px; }
.vol .rail { height: calc(100% - 14px); }
.vu { position: relative; border-radius: 3px; background: rgba(255, 255, 255, .05); overflow: hidden; margin-bottom: 14px; }
.vu i { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; transform-origin: bottom; transform: scaleY(0); background: linear-gradient(0deg, var(--ok), var(--a) 60%, var(--warn) 85%, #ff5f7a); will-change: transform; }
.xf-row { display: grid; grid-template-columns: 14px 1fr 14px; gap: 8px; align-items: center; }
.xf-row b { font: 700 11px var(--mono); color: var(--dim); text-align: center; }
.xfader { --c: #fff; }

/* 课程提示：当前步要动的控件发光 */
.coach-hint { position: relative; }
.coach-hint::before { content: ''; position: absolute; inset: -6px; border-radius: 14px; border: 1.5px solid var(--ok); box-shadow: 0 0 18px var(--ok); pointer-events: none; animation: hint 1.4s ease-in-out infinite; z-index: 2; }
.jog.coach-hint::before { border-radius: 50%; }
@keyframes hint { 50% { opacity: .25; transform: scale(1.04); } }

/* 曲库 */
.studio { display: grid; gap: 14px; }
.library { border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); padding: 16px 18px; }
.lib-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.lib-head h2 { margin: 0; font-size: 16px; letter-spacing: .06em; }
.lib-head p { margin: 0; color: var(--muted); font-size: 13px; }
.lib-cols { display: none; }
.lib-rows { display: grid; gap: 2px; margin-top: 10px; }
.track { display: grid; grid-template-columns: 1fr 70px 56px 44px 44px; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; transition: background .15s; }
.track:hover { background: var(--panel2); }
.t-title { font-weight: 600; font-size: 14px; } .t-artist { color: var(--muted); font-size: 12px; }
.t-bpm, .t-len { color: var(--muted); font-size: 12px; text-align: right; }
.ld { height: 30px; border-radius: 8px; border: 1px solid var(--line2); background: transparent; font: 700 12px var(--mono); cursor: pointer; transition: .15s; }
.ld-a { color: var(--a); } .ld-b { color: var(--b); }
.ld-a:hover { background: var(--a); color: #05070a; border-color: var(--a); } .ld-b:hover { background: var(--b); color: #05070a; border-color: var(--b); }
.tip { color: var(--dim); font-size: 12.5px; margin: 12px 0 0; }

/* ───── 首页 ───── */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; min-height: min(560px, 70vh); padding: 24px clamp(4px, 2vw, 24px) 40px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.04; letter-spacing: -.02em; margin: 0 0 22px; font-weight: 700; }
.hero-sub { color: var(--muted); font-size: clamp(15px, 1.3vw, 18px); max-width: 520px; margin: 0 0 32px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; }
.orb { position: absolute; inset: 0; }
.orb i { position: absolute; inset: calc(var(--k) * 9%); border-radius: 50%; border: 1px solid rgba(62, 232, 255, calc(.5 - var(--k) * .08)); animation: spin calc(18s + var(--k) * 6s) linear infinite; }
.orb i::after { content: ''; position: absolute; top: -3px; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--a); box-shadow: 0 0 14px var(--a); }
.orb i:nth-child(even) { border-color: rgba(181, 139, 255, .3); animation-direction: reverse; }
.orb i:nth-child(even)::after { background: var(--b); box-shadow: 0 0 14px var(--b); }
@keyframes spin { to { transform: rotate(360deg); } }
.eq { position: absolute; inset: 38% 26%; display: flex; align-items: center; gap: 3%; }
.eq i { flex: 1; height: 100%; border-radius: 3px; background: linear-gradient(0deg, var(--a), var(--b)); transform-origin: center; animation: eq 1.1s calc(var(--k) * -73ms) ease-in-out infinite alternate; opacity: .9; }
@keyframes eq { 0% { transform: scaleY(.12); } 100% { transform: scaleY(1); } }
.map { padding: 8px clamp(4px, 2vw, 24px) 24px; }
.map-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; }
.map-head h2 { margin: 0 0 4px; font-size: 26px; letter-spacing: -.01em; }
.map-head p { margin: 0; color: var(--muted); }
.map-prog { color: var(--a); font-size: 14px; }
.map-track { position: relative; }
.map-line { position: absolute; left: 0; right: 0; top: 35px; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.map-line i { display: block; height: 100%; background: linear-gradient(90deg, var(--a), var(--b)); transform-origin: left; transition: transform .8s var(--ease); }
.cards { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lesson-card { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, #11141b, #0b0d12);
  transition: transform .35s var(--ease), border-color .25s, box-shadow .35s; animation: rise .6s calc(var(--i) * 60ms) var(--ease) backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.lesson-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .22); box-shadow: 0 20px 50px -24px rgba(62, 232, 255, .35); }
.lc-top { display: flex; justify-content: space-between; align-items: center; }
.lc-n { font-size: 13px; color: var(--dim); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line2); }
.lc-state { font: 500 11px var(--mono); letter-spacing: .08em; color: var(--dim); text-transform: uppercase; }
.lc-title { margin: 8px 0 0; font-size: 17px; line-height: 1.3; }
.lc-desc { margin: 0; color: var(--muted); font-size: 13px; }
.lesson-card.done .lc-n { background: var(--a); color: #05070a; box-shadow: 0 0 18px -4px var(--a); }
.lesson-card.done .lc-state { color: var(--warn); letter-spacing: .2em; }
.lesson-card.next { border-color: rgba(62, 232, 255, .45); box-shadow: 0 0 0 1px rgba(62, 232, 255, .25), 0 20px 60px -30px rgba(62, 232, 255, .6); }
.lesson-card.next .lc-n { color: var(--a); box-shadow: inset 0 0 0 1px var(--a); }
.lesson-card.next .lc-state { color: var(--a); }

/* ───── 课程页 ───── */
.lesson { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 14px; align-items: start; }
.coach { position: sticky; top: 72px; max-height: calc(100vh - 88px); overflow: auto; padding: 18px 18px 20px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); scrollbar-width: thin; }
.back { display: inline-block; color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.back:hover { color: var(--text); }
.coach h1 { font-size: 22px; line-height: 1.25; margin: 0 0 8px; }
.c-intro { color: var(--muted); font-size: 13.5px; margin: 0 0 14px; }
.c-prog { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.c-bar { flex: 1; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.c-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--a), var(--ok)); transform-origin: left; transform: scaleX(0); transition: transform .5s var(--ease); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.step { display: grid; grid-template-columns: 18px 1fr; gap: 10px; padding: 10px 12px; border-radius: 12px; transition: background .3s, opacity .3s; }
.s-dot { width: 12px; height: 12px; margin-top: 5px; border-radius: 50%; border: 1.5px solid var(--dim); transition: .3s var(--ease); }
.s-text { margin: 0; font-size: 14px; color: var(--muted); }
.step[data-state="todo"] { opacity: .55; }
.step[data-state="active"] { background: rgba(62, 232, 255, .07); box-shadow: inset 0 0 0 1px rgba(62, 232, 255, .25); }
.step[data-state="active"] .s-dot { border-color: var(--a); box-shadow: 0 0 0 4px rgba(62, 232, 255, .15), 0 0 12px var(--a); animation: dot 1.4s ease-in-out infinite; }
.step[data-state="active"] .s-text { color: var(--text); font-weight: 500; }
@keyframes dot { 50% { box-shadow: 0 0 0 7px rgba(62, 232, 255, 0), 0 0 12px var(--a); } }
.step[data-state="done"] .s-dot { background: var(--ok); border-color: var(--ok); box-shadow: 0 0 10px var(--ok); transform: scale(.85); }
.step[data-state="done"] .s-text { color: var(--dim); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .15); }
.s-hint { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }
.s-extra:empty { display: none; }
.choices { display: grid; gap: 6px; margin-top: 10px; }
.choice { text-align: left; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line2); background: var(--panel); cursor: pointer; font-size: 13.5px; transition: .15s; }
.choice:hover { border-color: var(--a); color: #fff; }
.choice.wrong { border-color: #ff5f7a; color: #ff9aac; animation: fbad .4s; }
.s-fb { margin: 6px 0 0; font-size: 12.5px; color: #ff9aac; min-height: 0; }
.s-fb:empty { display: none; }
.ack { margin-top: 10px; height: 38px; padding: 0 18px; }
.stage { min-width: 0; }
.complete-wrap { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; background: rgba(4, 5, 8, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .3s both; }
@keyframes fade { from { opacity: 0; } }
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.complete { position: relative; width: min(420px, calc(100vw - 32px)); text-align: center; padding: 34px 28px 28px; border-radius: 24px; border: 1px solid var(--line2); background: linear-gradient(180deg, #121622, #0b0d13); box-shadow: 0 40px 120px -30px rgba(62, 232, 255, .45); animation: pop .5s var(--ease) both; }
@keyframes pop { from { transform: scale(.9) translateY(10px); opacity: 0; } }
.complete h2 { font-size: 34px; margin: 10px 0 4px; }
.complete p { color: var(--muted); margin: 0 0 24px; }
.complete .cta { justify-content: center; }
.stars { display: flex; justify-content: center; gap: 10px; }
.stars i { width: 34px; height: 34px; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); background: rgba(255, 255, 255, .12); }
.stars i.on { background: var(--warn); animation: star .5s var(--d) var(--ease) both; filter: drop-shadow(0 0 8px var(--warn)); }
@keyframes star { from { transform: scale(0) rotate(-40deg); } }

/* ───── 出处 ───── */
.credits { max-width: 820px; margin: 24px auto; }
.credits h1 { font-size: 34px; margin: 0 0 8px; }
.credits .lead { color: var(--muted); margin: 0 0 24px; }
.credit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.credit { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); }
.credit b { display: block; } .credit span { color: var(--muted); font-size: 13px; }
.credit .lic { font: 500 11px var(--mono); color: var(--ok); border: 1px solid rgba(125, 255, 178, .3); padding: 3px 8px; border-radius: 999px; }
.credit a { color: var(--a); font-size: 13px; white-space: nowrap; }

/* ───── 响应式 ───── */
@media (max-width: 1180px) {
  .lesson { grid-template-columns: 1fr; }
  .coach { position: relative; top: 0; max-height: none; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-line { display: none; }
}
@media (max-width: 900px) {
  .topbar { gap: 12px; } .topbar nav a { padding: 6px 10px; }
  .console { --jog: 118px; grid-template-columns: minmax(0, 1fr) 214px minmax(0, 1fr); gap: 8px; }
  .deck, .mixer { padding: 10px; gap: 6px; }
  .d-head { height: 34px; } .d-badge { width: 24px; height: 24px; font-size: 12px; } .d-bpm { font-size: 17px; }
  .wave-wrap { height: 44px; }
  .knob-body { width: 36px; height: 36px; } .k-cap { inset: 7px; }
  .pad { height: 36px; font-size: 10px; letter-spacing: .04em; } .pad-hot { height: 26px; }
  .transport { gap: 5px; } .hc-l { display: none; } .hotcues { grid-template-columns: repeat(4, 1fr); }
  .faders { grid-template-columns: 5px 32px 32px 5px; gap: 4px; padding: 0; } .ctl-v .rail { width: 32px; } .ctl-v .thumb { width: 32px; } .ctl-v .groove { left: 14px; }
  .hero { grid-template-columns: 1fr; min-height: 0; } .hero-art { max-width: 280px; }
}
@media (max-width: 640px) {
  .rotate-hint { display: block; margin: 10px 16px 0; padding: 8px 12px; border-radius: 10px; font-size: 13px; color: var(--a); background: rgba(62, 232, 255, .08); border: 1px solid rgba(62, 232, 255, .2); }
  body:not([data-route="studio"]):not([data-route="lesson"]) .rotate-hint { display: none; }
  .brand span { display: none; }
  .console { --jog: 150px; grid-template-columns: 1fr; }
  .mixer { order: 2; } .deck-b { order: 3; }
  .cards { grid-template-columns: 1fr; }
  .track { grid-template-columns: 1fr 50px 40px 40px; } .t-len { display: none; }
  .credit { grid-template-columns: 1fr auto; } .credit .lic { display: none; }
  .hero h1 { font-size: 40px; }
}
/* ───── 录制 ───── */
.rec { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 12px; border-radius: 999px; border: 1px solid var(--line2); background: none; color: var(--muted); font: 600 12px var(--mono); letter-spacing: .08em; cursor: pointer; transition: .2s; }
.rec i { width: 9px; height: 9px; border-radius: 50%; background: #ff4d6d; opacity: .7; }
.rec:hover { color: var(--text); border-color: #ff4d6d; }
.rec.on { color: #fff; border-color: #ff4d6d; background: rgba(255, 77, 109, .16); box-shadow: 0 0 22px -6px #ff4d6d; }
.rec.on i { opacity: 1; animation: recblink 1s steps(2) infinite; }
@keyframes recblink { 50% { opacity: .2; } }
.rec:disabled { opacity: .35; cursor: not-allowed; }
body:not([data-route="studio"]) .rec:not(.on) { display: none; }
.complete.export { width: min(460px, calc(100vw - 32px)); }
.complete.export audio { width: 100%; margin: 4px 0 8px; }
.ex-status { min-height: 1.4em; font-size: 13px; color: var(--a) !important; margin: 0 0 10px !important; }
.cta.col { flex-direction: column; align-items: stretch; }
.cta.col .btn { justify-content: center; }
.btn-ghost { border-color: transparent; background: none; color: var(--muted); }
.btn:disabled { opacity: .6; cursor: progress; }

/* ───── 我的歌曲（本地导入）───── */
.mine { margin: -2px -4px 18px; padding: 14px 14px 12px; border-radius: 14px; border: 1px dashed rgba(62, 232, 255, .28); background: rgba(62, 232, 255, .03); transition: border-color .2s, background .2s, box-shadow .2s; }
body.dragging .mine { border-color: var(--a); background: rgba(62, 232, 255, .09); box-shadow: 0 0 0 4px rgba(62, 232, 255, .12), 0 0 40px -10px var(--a); }
.btn-import { height: 34px; padding: 0 16px; font-size: 13px; margin-left: auto; border-color: rgba(62, 232, 255, .45); color: var(--a); }
.btn-import:hover { background: var(--a); color: #041014; }
.drop-hint { margin: 8px 2px 0; font-size: 12.5px; color: var(--dim); }
.track.local { grid-template-columns: 1fr 230px 56px 44px 44px 36px; }
.mini.tap { min-width: 50px; font-size: 10.5px; letter-spacing: .06em; }
.track.busy { grid-template-columns: 1fr; color: var(--a); font-size: 13px; }
.tag { font: 600 9.5px var(--mono); letter-spacing: .1em; color: var(--a); border: 1px solid rgba(62, 232, 255, .35); border-radius: 5px; padding: 1px 5px; margin-right: 8px; vertical-align: 2px; }
.t-tempo { display: flex; gap: 4px; align-items: center; justify-content: flex-end; }
.bpm-in { width: 76px; height: 30px; border-radius: 8px; border: 1px solid var(--line2); background: rgba(0, 0, 0, .3); color: var(--text); font-size: 12.5px; padding: 0 6px; text-align: right; }
.bpm-in:focus { border-color: var(--a); outline: none; }
.mini { height: 30px; min-width: 32px; border-radius: 8px; border: 1px solid var(--line2); background: transparent; color: var(--muted); font: 600 12px var(--mono); cursor: pointer; }
.mini:hover { color: var(--text); border-color: var(--a); }
.ld-del { color: var(--dim); font-size: 12px; }
.ld-del:hover { color: #ff4d6d; border-color: #ff4d6d; }
.library > .lib-head { margin-top: 2px; }
@media (max-width: 640px) {
  .track.local { grid-template-columns: 1fr auto 40px 40px 32px; }
  .track.local .t-len { display: none; }
  .t-tempo .mini { display: none; }
  .rec { padding: 0 10px; } .rec .rec-t { display: none; } .rec.on .rec-t { display: inline; }
}

/* ───── 机型切换 ───── */
.model-bar { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; padding: 8px 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); }
.mb-seg { display: flex; gap: 3px; padding: 3px; border-radius: 11px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px var(--line); }
.mb-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 5px 13px 6px; border-radius: 8px; border: 0; background: none; color: var(--muted); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.mb-btn b { font: 600 9px var(--mono); letter-spacing: .16em; color: var(--dim); transition: color .2s; }
.mb-btn span { font-size: 13px; white-space: nowrap; }
.mb-btn:hover { color: var(--text); }
.mb-btn[aria-selected="true"] { background: var(--panel2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line2), 0 8px 22px -12px var(--a); }
.mb-btn[aria-selected="true"] b { color: var(--a); }
.mb-info { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; }
.mb-sub { margin: 0; font-size: 13px; color: var(--muted); white-space: nowrap; }
.mb-sub b { color: var(--text); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips span { font: 500 11px var(--sans); color: var(--muted); padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line2); white-space: nowrap; }
.model-note { margin: 0; padding: 12px 16px; border-radius: 12px; background: rgba(62, 232, 255, .04); border: 1px solid rgba(62, 232, 255, .14); color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.model-note b { color: var(--text); }

/* 各机型专属控件：默认都藏起来 */
.hot-x, .loop-len, .range, .rpm, .tonearm, .trim-wrap, .automix, .curve, .fx-unit, .pad-play .ss { display: none; }
.console[data-model="standard"] .extras { display: none; }
.extras { display: grid; gap: 8px; }
.d-pitch-row { grid-column: 1 / 3; display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.mini-pad { height: 42px; min-width: 26px; padding: 0 6px; }
.x-l { font: 600 9px var(--mono); letter-spacing: .12em; color: var(--dim); white-space: nowrap; margin-right: 2px; text-transform: uppercase; }
.seg { flex: 1; height: 26px; padding: 0 6px; border-radius: 6px; border: 1px solid var(--line2); background: none; color: var(--muted); font: 600 9.5px var(--mono); letter-spacing: .06em; cursor: pointer; transition: .15s; }
.seg:hover { color: var(--text); }
.seg[aria-pressed="true"] { background: var(--a); color: #041014; border-color: var(--a); }

/* ── 入门控制器：圆润、小转盘、大号打击垫、一键过渡 ── */
.console[data-model="starter"] { --jog: clamp(128px, 11vw, 158px); }
.console[data-model="starter"] .deck, .console[data-model="starter"] .mixer { border-radius: 28px; background: linear-gradient(180deg, #1b1f28, #12151c); border-color: rgba(255, 255, 255, .09); }
.console[data-model="starter"] .pad { border-radius: 14px; }
.console[data-model="starter"] .transport .pad { height: 46px; }
.console[data-model="starter"] .pad-sync { color: var(--a); border-color: rgba(62, 232, 255, .55); font-size: 13px; }
.console[data-model="starter"] .deck-b .pad-sync { color: var(--b); border-color: rgba(181, 139, 255, .55); }
.console[data-model="starter"] .pad-hot { height: 42px; border-radius: 12px; background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04)); font-size: 13px; }
.console[data-model="starter"] .jog-ring { -webkit-mask: radial-gradient(circle, transparent 60%, #000 62%); mask: radial-gradient(circle, transparent 60%, #000 62%); }
.automix { position: relative; overflow: hidden; display: none; align-items: center; justify-content: center; width: 100%; height: 40px; border-radius: 12px; border: 1px solid rgba(62, 232, 255, .45); background: none; color: var(--a); font: 600 12px var(--mono); letter-spacing: .08em; cursor: pointer; transition: color .2s, border-color .2s; }
.automix i { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(62, 232, 255, .28), rgba(181, 139, 255, .4)); transform-origin: left; transform: scaleX(0); }
.automix > span { position: relative; }
.automix.on { color: #fff; border-color: var(--b); }
.automix.wait { animation: pend 1s ease-in-out infinite; } .automix.wait > span { opacity: .6; }
.console[data-model="starter"] .automix { display: flex; }

/* ── 俱乐部专业：金属黑、直角、大转盘带屏、8 色热点、效果器 ── */
.console[data-model="club"] { --jog: clamp(156px, 14vw, 206px); }
.console[data-model="club"] .deck, .console[data-model="club"] .mixer { border-radius: 8px; background: linear-gradient(180deg, #131417, #0a0b0d); border-color: rgba(255, 255, 255, .07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 30px 80px -40px #000; backdrop-filter: none; -webkit-backdrop-filter: none; }
.console[data-model="club"] .pad { border-radius: 5px; }
.console[data-model="club"] .d-badge { border-radius: 4px; }
.console[data-model="club"] .d-bpm { font-size: 25px; }
.console[data-model="club"] .jog-center { inset: 22%; background: radial-gradient(circle, #0b1820, #05090c 70%); box-shadow: inset 0 0 0 2px rgba(62, 232, 255, .4), inset 0 0 26px rgba(62, 232, 255, .16); }
.console[data-model="club"] .deck-b .jog-center { box-shadow: inset 0 0 0 2px rgba(181, 139, 255, .45), inset 0 0 26px rgba(181, 139, 255, .16); }
.console[data-model="club"] .jc-time { font-size: 16px; } .console[data-model="club"] .jc-beat { font-size: 12px; }
.console[data-model="club"] .platter { background: radial-gradient(circle, #1a1d23 0 30%, transparent 31%), repeating-conic-gradient(from 0deg, #15171c 0 2deg, #0f1115 2deg 4deg); }
.console[data-model="club"] .range, .console[data-model="club"] .loop-len, .console[data-model="club"] .trim-wrap, .console[data-model="club"] .fx-unit { display: flex; }
.console[data-model="club"] .hot-x { display: grid; }
.console[data-model="club"] .transport { grid-template-columns: 1fr 1.2fr 1fr 1fr auto; }
.console[data-model="club"] .hotcues { grid-template-columns: auto repeat(8, 1fr); gap: 4px; }
.console[data-model="club"] .pad-hot { font-size: 10px; height: 28px; }
.console[data-model="club"] .hotcues .pad-hot.set { color: #0b0c0e; }
.console[data-model="club"] .hotcues .pad-hot.set:nth-child(2) { background: #ff5f7a; border-color: #ff5f7a; box-shadow: 0 0 14px -4px #ff5f7a; }
.console[data-model="club"] .hotcues .pad-hot.set:nth-child(3) { background: #ffb86b; border-color: #ffb86b; box-shadow: 0 0 14px -4px #ffb86b; }
.console[data-model="club"] .hotcues .pad-hot.set:nth-child(4) { background: #ffe066; border-color: #ffe066; box-shadow: 0 0 14px -4px #ffe066; }
.console[data-model="club"] .hotcues .pad-hot.set:nth-child(5) { background: #7dffb2; border-color: #7dffb2; box-shadow: 0 0 14px -4px #7dffb2; }
.console[data-model="club"] .hotcues .pad-hot.set:nth-child(6) { background: #3ee8ff; border-color: #3ee8ff; box-shadow: 0 0 14px -4px #3ee8ff; }
.console[data-model="club"] .hotcues .pad-hot.set:nth-child(7) { background: #6f9bff; border-color: #6f9bff; box-shadow: 0 0 14px -4px #6f9bff; }
.console[data-model="club"] .hotcues .pad-hot.set:nth-child(8) { background: #b58bff; border-color: #b58bff; box-shadow: 0 0 14px -4px #b58bff; }
.console[data-model="club"] .hotcues .pad-hot.set:nth-child(9) { background: #ff7ae0; border-color: #ff7ae0; box-shadow: 0 0 14px -4px #ff7ae0; }
.console[data-model="club"] .vu i { -webkit-mask: repeating-linear-gradient(0deg, #000 0 4px, transparent 4px 6px); mask: repeating-linear-gradient(0deg, #000 0 4px, transparent 4px 6px); }
.range { font: 600 10px var(--mono); padding: 2px 6px; border-radius: 4px; border: 1px solid var(--line2); background: none; color: var(--muted); cursor: pointer; align-items: center; }
.range:hover { color: var(--text); border-color: var(--c); }
.loop-len { align-items: center; gap: 3px; }
.loop-len b { min-width: 28px; text-align: center; font-size: 12px; color: var(--c); }
.trim-wrap { justify-content: center; padding-bottom: 4px; margin-bottom: 2px; border-bottom: 1px solid var(--line); }
.fx-unit { flex-direction: column; gap: 6px; padding: 8px; border-radius: 6px; background: rgba(0, 0, 0, .4); box-shadow: inset 0 0 0 1px var(--line); }
.fx-row { display: flex; align-items: center; gap: 4px; }
.fx-row > b { min-width: 30px; text-align: center; font-size: 12px; color: var(--a); }
.fx-row .mini-pad { height: 28px; min-width: 24px; font-size: 10px; }
.fx-row .ctl-knob { margin: -4px 2px; } .fx-row .ctl-knob .knob-body { width: 34px; height: 34px; } .fx-row .ctl-knob .k-cap { inset: 6px; }
.fx-on, .fx-q { height: 28px; padding: 0 9px; font-size: 10px; }
.fx-on[aria-pressed="true"] { background: #ff5f7a; border-color: #ff5f7a; color: #fff; box-shadow: 0 0 18px -4px #ff5f7a; }
.fx-q[aria-pressed="true"] { background: var(--warn); border-color: var(--warn); color: #1a0f02; }

/* ── 经典黑胶：唱机底座、频闪点、唱片标签、唱臂；没有波形/BPM/SYNC ── */
.console[data-model="vinyl"] { --jog: clamp(186px, 16.5vw, 232px); }
.console[data-model="vinyl"] .deck { border-radius: 10px; background: linear-gradient(155deg, #2a2b30, #18191c 55%, #202125); border-color: rgba(255, 255, 255, .09); }
.console[data-model="vinyl"] .mixer { border-radius: 10px; background: linear-gradient(180deg, #17181b, #0e0f11); }
.console[data-model="vinyl"] .wave-wrap, .console[data-model="vinyl"] .overview, .console[data-model="vinyl"] .d-bpm, .console[data-model="vinyl"] .d-bpm-l,
.console[data-model="vinyl"] .pad-cue, .console[data-model="vinyl"] .pad-sync, .console[data-model="vinyl"] .pad-loop, .console[data-model="vinyl"] .hotcues,
.console[data-model="vinyl"] .beats, .console[data-model="vinyl"] .jc-beat, .console[data-model="vinyl"] .pad-play .ic-play { display: none; }
.console[data-model="vinyl"] .rpm, .console[data-model="vinyl"] .pad-play .ss { display: grid; }
.console[data-model="vinyl"] .trim-wrap, .console[data-model="vinyl"] .curve { display: flex; }
.console[data-model="vinyl"] .tonearm { display: block; }
.console[data-model="vinyl"] .transport { grid-template-columns: 1.8fr 1fr 1fr; }
.console[data-model="vinyl"] .pad-play .ss { font-size: 11px; letter-spacing: .14em; }
.console[data-model="vinyl"] .d-body { padding: 10px 0 8px; }
.console[data-model="vinyl"] .jog-ring { opacity: 1 !important; background: repeating-conic-gradient(#c7cad1 0 1.4deg, transparent 1.4deg 4deg); -webkit-mask: radial-gradient(circle, transparent 94%, #000 95%); mask: radial-gradient(circle, transparent 94%, #000 95%); }
.console[data-model="vinyl"] .platter { inset: 5%; background: radial-gradient(circle, transparent 0 33%, #0a0a0c 34% 36%, transparent 37%), repeating-radial-gradient(circle, #0b0b0d 0 1.5px, #141417 1.5px 3px); box-shadow: 0 0 0 3px #2b2c31, 0 14px 30px -10px #000; }
.console[data-model="vinyl"] .platter .mark { display: none; }
.console[data-model="vinyl"] .jog-center { inset: 34%; background: radial-gradient(circle, #0b0b0d 0 7%, var(--c) 8% 100%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4); }
.console[data-model="vinyl"] .jc-time { color: #06080b; font-weight: 600; font-size: 11px; transform: translateY(15px); }
.console[data-model="vinyl"] .deck-b .d-body { flex-direction: row-reverse; } /* 唱臂都在右边，B 台的变速推子挪到左边让位 */
.rpm[aria-pressed="true"] { background: var(--c); color: #05070a; border-color: var(--c); }
.tonearm { position: absolute; right: -9%; top: -6%; width: 16px; height: 74%; pointer-events: none; z-index: 2; }
.tonearm::before { content: ''; position: absolute; left: -5px; top: -6px; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d9dce2, #7c8089 60%, #3b3d43); box-shadow: 0 4px 10px rgba(0, 0, 0, .6); }
.tonearm i { position: absolute; left: 6px; top: 6px; width: 4px; height: 100%; border-radius: 2px; background: linear-gradient(90deg, #f1f2f5, #9a9ea7); transform-origin: 2px 0; transform: rotate(4deg); transition: transform .7s var(--ease); box-shadow: 2px 3px 6px rgba(0, 0, 0, .5); }
.tonearm i::after { content: ''; position: absolute; left: -5px; bottom: -14px; width: 12px; height: 18px; border-radius: 3px; background: linear-gradient(180deg, #d0d3da, #6e727b); transform: rotate(-24deg); }
.deck.spin .tonearm i { transform: rotate(26deg); }
.curve { align-items: center; gap: 4px; }

@media (max-width: 900px) {
  .model-bar { padding: 6px; } .mb-btn { padding: 4px 9px; } .mb-btn span { font-size: 12px; } .mb-info .chips { display: none; }
  .console[data-model="club"] .transport { grid-template-columns: repeat(4, 1fr); } .console[data-model="club"] .loop-len { grid-column: 1 / -1; justify-content: center; }
  .console[data-model="vinyl"], .console[data-model="club"] { --jog: 128px; } .console[data-model="starter"] { --jog: 112px; }
}
@media (max-width: 640px) { .mb-seg { width: 100%; } .mb-btn { flex: 1; align-items: center; } .mb-sub { white-space: normal; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
