/* Nachbau der App-Oberfläche (1:1 nach Screenshot, skaliert auf Containerbreite) */
.appwin{background:#0c0c0e;border:1px solid #2a2b33;border-radius:12px;overflow:hidden;box-shadow:0 40px 100px -30px rgba(0,0,0,.95),0 0 0 1px rgba(255,255,255,.03)}
.appbar{height:28px;background:#1d1c1f;display:flex;align-items:center;gap:8px;padding:0 12px;position:relative;border-bottom:1px solid #000}
.appbar i{width:12px;height:12px;border-radius:50%;background:#4a4a4f}
.appbar b{position:absolute;left:0;right:0;text-align:center;font-weight:500;font-size:12px;color:#8f9199;font-family:var(--font-body);pointer-events:none}
.appview{position:relative;overflow:hidden;width:100%;background:#0c0c0e}
.appin{position:absolute;left:0;top:0;width:1440px;height:850px;transform-origin:0 0;font-family:var(--font-body);color:#d7d8dc;font-size:11px;font-weight:600}
.appin *{box-sizing:border-box}
.a-top{height:100px;display:flex;align-items:center;gap:4px;padding:0 7px;background:#16151a;border-bottom:1px solid #050506;position:relative}
.a-top .tb{height:51px;display:flex;align-items:center;justify-content:center;background:#23272c;border-radius:3px;color:#e8e9ec;font-size:14px;font-weight:600;letter-spacing:.02em;border:0;cursor:pointer;font-family:inherit;padding:0}
.a-top .tb.on{background:#ef7233;color:#fff}
.a-top .sp{width:9px;flex:0 0 9px}
.a-top .mon{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:10px;color:#8f9199;letter-spacing:.06em}
.a-top .sel{white-space:nowrap;height:27px;background:#101013;border:1px solid #2b2c33;border-radius:3px;color:#d7d8dc;display:flex;align-items:center;justify-content:space-between;padding:0 8px;font-size:13px;font-weight:500}
.a-top .sel::after{content:"⌄";font-size:12px;margin-left:12px;color:#8f9199;transform:translateY(-3px)}
.a-body{display:flex;height:750px}
.a-side{width:152px;flex:0 0 152px;background:#131216;border-right:1px solid #050506;padding:8px 6px;display:flex;flex-direction:column;gap:6px}
.a-lb{text-align:center;color:#8f9199;font-size:9px;letter-spacing:.14em;font-weight:500;margin-top:4px}
.a-song{height:52px;background:#050506;border:1px solid #24252b;display:flex;align-items:center;justify-content:center;color:#fff;font-size:14px;font-weight:700}
.a-go{display:grid;grid-template-columns:1fr 1.6fr;gap:6px}
.a-go i{font-style:normal;height:46px;display:flex;align-items:center;justify-content:center;background:#23272c;border-radius:3px;font-size:15px;font-weight:700;color:#fff}
.a-go i:last-child{background:#8a4420}
.a-lay{display:grid;grid-template-columns:1fr 1fr;gap:4px}
.a-lay i{font-style:normal;height:46px;display:flex;align-items:center;justify-content:center;background:#23272c;border-radius:3px;font-size:13px;font-weight:700;color:#e8e9ec;text-align:center;line-height:1.1;overflow:hidden}
.a-lay i.on{background:#ef7233;color:#fff}
.a-fd{display:grid;grid-template-columns:1fr 1fr;gap:3px}
.a-fd i{font-style:normal;text-align:center;background:#23272c;border-radius:2px;padding:2px 0;font-size:9px;font-weight:600;color:#cfd1d6}
.a-fd i.on{grid-column:1/3;background:#ef7233;color:#fff}
.a-mg{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-top:2px}
.a-mg i{font-style:normal;height:40px;display:flex;align-items:center;justify-content:center;background:#23272c;border-radius:3px;font-size:16px;font-weight:700;color:#e8e9ec}
.a-main{flex:1;min-width:0;position:relative;background:#0c0c0e}
/* Mixer */
.a-strips{position:absolute;inset:0;display:flex;gap:3px;padding:3px 3px 8px}
.s{flex:1 1 0;min-width:0;background:#0f0f12;border:1px solid #1c1c21;border-top:3px solid #ef7233;padding:3px 3px 3px;display:flex;flex-direction:column;gap:3px;position:relative}
.s.sel{border-color:#ef7233;border-top-color:#ef7233}
.s.fx{flex:0 0 140px}
.s.main{border-top-color:#d8575a;flex:0 0 84px}
.s-h{height:15px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:10px;white-space:nowrap;padding-right:6px;font-weight:700;position:relative}
.s-h u{position:absolute;right:2px;top:3px;width:8px;height:8px;border-radius:50%;border:1px solid #55565e;background:#0a0a0c}
.s-in{height:17px;background:#08080a;border:1px solid #26272d;border-radius:2px;color:#b8bac1;font-size:9px;font-weight:500;display:flex;align-items:center;padding:0 4px;justify-content:space-between;white-space:nowrap;overflow:hidden}
.s-in::after{content:"⌄";font-size:9px;color:#8f9199}
.s-r{display:flex;gap:4px}
.s-b{flex:1;height:15px;font-style:normal;display:flex;align-items:center;justify-content:center;background:#202227;border-radius:2px;color:#6d6f78;font-size:9px;font-weight:600}
.s-b.t{color:#cfd1d6;background:#2a2c32}
.s-b.on{background:#ef7233;color:#fff}
.s-b.m{background:#d8575a;color:#fff;height:17px;font-size:10px;font-weight:700}
.s-b.so{background:#2a2c32;color:#cfd1d6;height:17px;font-size:10px;font-weight:700}
.s-b.g{background:#6a4fb8;color:#fff}
.s-b.lr{flex:0 0 17px;background:#2a2c32;color:#cfd1d6}
.s-b.lr.red{background:#d8575a;color:#fff}
.s-kn{height:28px;display:flex;align-items:center;justify-content:space-between;padding:0 2px}
.kn{width:20px;height:20px;border-radius:50%;background:radial-gradient(circle at 38% 30%,#3a3c44,#0d0d10 72%);box-shadow:0 0 0 1px #08080a;position:relative;flex:0 0 20px}
.kn::after{content:"";position:absolute;left:9px;top:2px;width:2px;height:8px;background:#e8e9ec;border-radius:1px;transform-origin:1px 8px;transform:rotate(var(--r,-30deg))}
.kn.or{box-shadow:0 0 0 2px #0f0f12,0 0 0 4px #ef7233}
.kn.or::after{background:#e8e9ec}
.s-pg{display:flex;flex-direction:column;gap:3px;margin-top:1px}
.s-pg i{font-style:normal;height:35px;background:#0b0b0e;border:1px solid #28292f;border-radius:2px;display:flex;align-items:center;justify-content:center;color:#5b5d66;font-size:12px;font-weight:400}
.s-pan{height:14px;position:relative;margin:1px 2px}
.s-pan::before{content:"";position:absolute;left:0;right:0;top:6px;height:2px;background:#2f3138}
.s-pan i{position:absolute;top:1px;width:6px;height:12px;background:#d4d5da;border-radius:2px;left:calc(var(--p,50%) - 3px)}
.s-pan i.w{height:4px;top:5px;background:#ef7233;border-radius:0;width:var(--w,20px);left:calc(var(--p,50%) - var(--w,20px)/2)}
.s-fad{position:relative;flex:1;min-height:150px;margin-top:2px}
.s-sc{position:absolute;left:0;top:6px;bottom:8px;width:44%;font-size:7px;font-weight:500;color:#8f9199}
.s-sc span{position:absolute;left:0;transform:translateY(-50%);display:block;width:100%;text-align:right;padding-right:6px}
.s-sc span::after{content:"";position:absolute;right:0;top:50%;width:4px;height:1px;background:#555862}
.s-sc span.z{color:#ef7233}.s-sc span.z::after{background:#ef7233;width:100%;right:-100%;opacity:.6}
.s-trk{position:absolute;left:50%;top:6px;bottom:8px;width:3px;background:#050507;margin-left:-1px;border-radius:2px}
.s-cap{position:absolute;left:calc(50% - 14px);width:28px;height:30px;border-radius:2px;background:repeating-linear-gradient(to bottom,#d8d9dd 0 2px,#8c8e95 2px 4px);box-shadow:0 2px 5px rgba(0,0,0,.7),inset 0 0 0 1px rgba(255,255,255,.25);animation:cap 7s ease-in-out infinite alternate}
.s-cap.red{background:repeating-linear-gradient(to bottom,#e58587 0 2px,#a8484b 2px 4px)}
@keyframes cap{from{top:var(--a)}to{top:var(--b)}}
.s-mt{position:absolute;right:1px;top:6px;bottom:8px;width:5px;background:#0a0a0d;overflow:hidden}
.s-mt b{position:absolute;left:0;right:0;bottom:0;background:linear-gradient(to top,#4fae52 0 55%,#d9b52a 75%,#d8575a 92%);animation:mt 1.7s ease-in-out infinite alternate}
@keyframes mt{from{height:8%}to{height:62%}}
.s-db{height:17px;background:#fff;color:#111;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;border-radius:1px}
.s-num{text-align:center;font-size:8px;color:#8f9199;font-weight:500;height:10px}
.s.main .s-h{color:#fff}.s.main .big{height:17px;background:#d8575a;color:#fff;border-radius:2px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:11px}
.s-talk{height:42px;background:#432e2b;border:1px solid #5a403c;border-radius:2px;display:flex;align-items:center;justify-content:center;color:#a98f89;font-size:13px;font-weight:700;letter-spacing:.04em}
.s-zl{text-align:center;font-size:8px;letter-spacing:.14em;color:#8f9199;font-weight:500;margin:1px 0 0}
.s-zg{display:grid;grid-template-columns:1fr 1fr;gap:3px}
.s-zg i{font-style:normal;height:15px;display:flex;align-items:center;justify-content:center;background:#2a2c32;border-radius:2px;font-size:9px;color:#cfd1d6;font-weight:600}
.s-zg i.y{background:#e8c82c;color:#222}
/* Rack */
.a-rack{position:absolute;inset:0;display:none;flex-direction:column;background:#0f0f12}
.a-rack.show{display:flex}
.a-strips.hide{display:none}
.rk-top{height:36px;display:flex;align-items:center;gap:6px;padding:0 10px;border-bottom:3px solid #ef7233;flex:0 0 auto}
.rk-top i{font-style:normal;height:25px;display:flex;align-items:center;justify-content:center;background:#23272c;border-radius:2px;color:#e8e9ec;font-size:13px;font-weight:600}
.rk-top .nm{width:216px;justify-content:space-between;padding:0 8px;background:#101013;border:1px solid #2b2c33;font-weight:500}
.rk-top span{color:#8f9199;font-size:11px;margin-left:10px;font-weight:600}
.rk-t{height:34px;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:700;color:#fff;border-bottom:1px solid #050506}
.rk-body{flex:1;display:flex;min-height:0;padding:0 0 0 0}
.rk-in{width:160px;flex:0 0 160px;padding:8px 10px;display:flex;flex-direction:column;align-items:center;gap:8px;margin-left:6px}
.rk-in .lbl{font-size:9px;color:#8f9199;letter-spacing:.14em;font-weight:500;width:100%;text-align:center}
.rk-in .sel{width:100%;height:20px;background:#08080a;border:1px solid #26272d;border-radius:2px;color:#cfd1d6;font-size:11px;font-weight:500;display:flex;align-items:center;padding:0 6px}
.kn.big{width:50px;height:50px;flex:0 0 50px}.kn.big::after{left:24px;top:5px;height:20px;width:3px;transform-origin:1.5px 20px}
.rk-in .row{display:flex;gap:4px;align-items:center;justify-content:center;width:100%}
.rk-in .bt{height:22px;min-width:0;flex:1;background:#23272c;border-radius:2px;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:#e8e9ec;padding:0 6px}
.rk-in .bt.d{color:#555862;background:#1a1b1f}
.rk-in .note{font-size:9px;color:#8f9199;font-weight:500}
.rk-mid{width:190px;flex:0 0 190px;padding:8px 6px;display:flex;flex-direction:column;gap:8px}
.rk-fx{display:grid;grid-template-columns:1fr 1fr;gap:4px}
.rk-fx div{background:#0b0b0e;border:1px solid #26272d;padding:3px 5px;font-size:8px;color:#8f9199;font-weight:600;height:36px}
.rk-fx div em{display:block;font-style:normal;height:6px;background:#050506;margin-top:3px}
.rk-slot{height:52px;background:#0b0b0e;border:1px solid #26272d;border-radius:2px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;color:#5b5d66;font-size:10px;letter-spacing:.1em;font-weight:600;flex:0 0 52px;margin-top:1px}
.rk-plug{flex:1;margin:8px 6px;background:#0b0b0e;border:1px solid #26272d;display:flex;align-items:center;justify-content:center;color:#6d6f78;font-size:12px;font-weight:500;min-width:0}
.rk-snd{width:114px;flex:0 0 114px;padding:6px 8px;display:grid;grid-template-columns:1fr 1fr;gap:2px 6px;align-content:start}
.rk-snd .lbl{grid-column:1/3;font-size:9px;color:#8f9199;letter-spacing:.14em;font-weight:500;text-align:center;margin-bottom:2px}
.rk-snd .sn{display:flex;flex-direction:column;align-items:center;font-size:8px;font-weight:600;height:56px}
.rk-snd .sn b{font-weight:600;color:#59b6c8}.rk-snd .sn.f b{color:#6fcf8c}
.rk-snd .kn{width:30px;height:30px;flex:0 0 30px}.rk-snd .kn::after{left:14px;top:3px;height:12px;transform-origin:1px 12px}
.rk-out{width:166px;flex:0 0 166px;padding:6px 10px;display:flex;flex-direction:column;gap:8px;position:relative}
.rk-out .lbl{font-size:9px;color:#8f9199;letter-spacing:.14em;font-weight:500;text-align:center}
.rk-out .lr{height:22px;background:#23272c;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:#e8e9ec}
.rk-out .g12{display:grid;grid-template-columns:repeat(6,1fr);gap:3px}
.rk-out .g12 i{font-style:normal;height:19px;display:flex;align-items:center;justify-content:center;background:#23272c;font-size:10px;font-weight:600;color:#cfd1d6}
.rk-out .g12 i.on{background:#8b6fd6;color:#fff}
.rk-out .ms{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.rk-out .ms i{font-style:normal;height:24px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;background:#2a2c32;color:#cfd1d6}
.rk-out .ms i.m{background:#d8575a;color:#fff}
.rk-out .rf{position:relative;flex:1;min-height:280px}.rk-out .rf .s-fad{position:absolute;inset:0}
.rk-meter{position:absolute;bottom:0;width:7px;background:#0a0a0d;overflow:hidden;top:0}
.rk-meter b{position:absolute;left:0;right:0;bottom:0;background:linear-gradient(to top,#4fae52 0 55%,#d9b52a 75%,#d8575a 92%);animation:mt 1.7s ease-in-out infinite alternate}
.a-cap-note{display:flex;justify-content:center;gap:8px;margin:18px 0 0;flex-wrap:wrap}
.a-cap-note button{font-family:var(--font-mono);font-size:12px;letter-spacing:.1em;text-transform:uppercase;padding:9px 14px;border-radius:7px;background:rgba(24,23,28,.8);color:var(--muted);border:1px solid var(--line);cursor:pointer}
.a-cap-note button.on{color:var(--accent-ink);background:var(--accent);border-color:var(--accent)}
@media(prefers-reduced-motion:reduce){.s-cap,.s-mt b,.rk-meter b{animation:none}}
