.lp{--lp-body:radial-gradient(120% 70% at 50% 0%,#2a2a2e 0%,#161618 55%,#0f0f11 100%);--lp-ink:#eef0f6;--lp-soft:#9a9aa2;--lp-key:linear-gradient(180deg,#3a3a3e,#2a2a2d);--lp-key-edge:#121214;--lp-key-drop:#0c0c0d;--lp-key-hi:rgba(255,255,255,.10);--lp-tray:#0b0b0c;--lp-tray-shadow:inset 0 3px 10px rgba(0,0,0,.95),0 1px 0 rgba(255,255,255,.07);--lp-pad:linear-gradient(180deg,#38383b,#29292c);--lp-pad-edge:#111113;--lp-pad-drop:#0a0a0b;--lp-pad-label:#8d8d95;--lp-off-wave:#7a7f93;--lp-bezel:#1a1a1c;--lp-red:#ff2d55;position:fixed;inset:0;display:flex;flex-direction:column;padding:calc(env(safe-area-inset-top) + 10px) 16px calc(env(safe-area-inset-bottom) + 12px);background:var(--lp-body);color:var(--lp-ink);font-family:var(--font-lp-mono),ui-monospace,monospace;overflow:hidden;user-select:none;-webkit-user-select:none;touch-action:manipulation}html[data-theme=light] .lp{--lp-body:radial-gradient(120% 70% at 50% 0%,#f4f4f2 0%,#e2e2df 60%,#d6d6d2 100%);--lp-ink:#1c1c1e;--lp-soft:#55555a;--lp-key:linear-gradient(180deg,#fbfbfa,#e4e4e1);--lp-key-edge:#b9b9b5;--lp-key-drop:#a9a9a5;--lp-key-hi:#fff;--lp-tray:#c9c9c5;--lp-tray-shadow:inset 0 3px 8px rgba(0,0,0,.25),0 1px 0 #fff;--lp-pad:linear-gradient(180deg,#f2f2f0,#dcdcd8);--lp-pad-edge:#a8a8a4;--lp-pad-drop:#9c9c98;--lp-pad-label:#6b6b70;--lp-off-wave:#8a8a90;--lp-bezel:#e8e8e5}.lp-head,.lp-title{display:flex;align-items:center;gap:8px}.lp-title{flex:1;font:700 18px var(--font-lp-display),system-ui;letter-spacing:2px}.lp-title i{width:9px;height:9px;border-radius:50%;background:var(--lp-red);box-shadow:0 0 10px var(--lp-red)}.lp-key{border-radius:10px;background:var(--lp-key);border:1px solid var(--lp-key-edge);color:var(--lp-ink);box-shadow:0 3px 0 var(--lp-key-drop),0 6px 12px rgba(0,0,0,.3),inset 0 1px 0 var(--lp-key-hi);display:flex;align-items:center;justify-content:center;transition:transform .05s,box-shadow .05s}.lp-key:active{transform:translateY(2px);box-shadow:0 1px 0 var(--lp-key-drop),inset 0 1px 0 var(--lp-key-hi)}.lp-key:disabled{opacity:.45}.lp-icon{width:40px;height:38px}.lp-icon svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.lp-lcd{height:38px;border-radius:8px;padding:0 12px;display:flex;align-items:baseline;gap:5px;line-height:38px;background:#050607;border:1px solid #000;box-shadow:inset 0 2px 6px rgba(0,0,0,.9),0 1px 0 var(--lp-key-hi)}.lp-lcd b{font-size:17px;color:#ff9e2c;text-shadow:0 0 8px rgba(255,158,44,.7)}.lp-lcd span{font-size:10px;color:#8a6a40;margin-right:6px;letter-spacing:1px}.lp-screen{position:relative;flex:1;min-height:0;margin-top:12px;border-radius:18px;padding:6px;color:#eef3ff;container-type:size;display:flex;align-items:center;justify-content:center;background:radial-gradient(60% 50% at 50% 50%,rgba(90,70,255,.16),transparent 70%),radial-gradient(rgba(255,255,255,.05) 1px,transparent 1.2px) 0 0 /16px 16px,#06070b;box-shadow:inset 0 3px 14px rgba(0,0,0,.95),inset 0 0 0 1px #000,0 1px 0 var(--lp-key-hi)}.lp-hud{position:absolute;top:10px;font-size:10px;line-height:1.5;letter-spacing:1.5px;color:#9aa3c0;z-index:1;pointer-events:none}.lp-hud b{color:#eef3ff}.lp-hud.l{left:12px}.lp-hud.r{right:12px;text-align:right;color:var(--lp-red)}.lp-ring{position:relative;width:min(100cqw,100cqh);aspect-ratio:1}.lp-ring svg{width:100%;height:100%;overflow:visible}.lp-center,.lp-ring svg{position:absolute;inset:0}.lp-center{display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none}.lp-beat{font:600 46px var(--font-lp-display),system-ui;line-height:1;text-shadow:0 0 24px rgba(160,140,255,.6)}.lp-beat.count{color:var(--lp-red);text-shadow:0 0 24px rgba(255,45,85,.7)}.lp-of{font-size:9px;letter-spacing:2px;color:#9aa3c0;margin-top:6px;text-align:center}.lp-tray{margin:12px 0;padding:9px;border-radius:14px;background:var(--lp-tray);box-shadow:var(--lp-tray-shadow)}.lp-pads{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.lp-pad{--c:#888;position:relative;aspect-ratio:1;border-radius:8px;overflow:hidden;background:var(--lp-pad);border:1px solid var(--lp-pad-edge);box-shadow:0 3px 0 var(--lp-pad-drop),0 5px 8px rgba(0,0,0,.35),inset 0 1px 0 var(--lp-key-hi);transition:transform .05s}.lp-pad:active{transform:translateY(2px)}.lp-pad .n,.lp-pad .tag{position:absolute;top:7px;font-size:10px;font-weight:700;letter-spacing:1px}.lp-pad .n{left:8px}.lp-pad .n,.lp-pad .tag{color:var(--lp-pad-label)}.lp-pad .tag{right:7px;font-size:9px}.lp-pad .wave{position:absolute;left:10%;top:36%;width:80%;height:44%}.lp-pad .wave svg{position:absolute;inset:0;width:100%;height:100%}.lp-pad .wave .played{clip-path:inset(0 calc((1 - var(--t, 0)) * 100%) 0 0)}.lp-pad .wave .dim{opacity:.35}.lp-pad .ph{position:absolute;top:0;bottom:0;width:1.5px;left:calc(var(--t, 0) * 100%);background:#000}.lp-pad.off .wave{color:var(--lp-off-wave)}.lp-pad.off .ph{background:var(--lp-off-wave)}.lp-pad.lit{background:var(--c);border-color:color-mix(in srgb,var(--c) 70%,#000);box-shadow:0 3px 0 color-mix(in srgb,var(--c) 55%,#000),0 5px 8px rgba(0,0,0,.3)}.lp-pad.lit .wave{color:#0a0a0c}.lp-pad.lit .n,.lp-pad.lit .tag,.lp-pad.rec .n,.lp-pad.rec .tag{color:rgba(0,0,0,.72)}.lp-pad.beat{animation:lp-press .18s ease-out}@keyframes lp-press{0%{transform:translateY(2px)}to{transform:none}}.lp-pad.rec{background:var(--lp-red);border-color:#9a0a28;box-shadow:0 3px 0 #9a0a28,0 5px 8px rgba(0,0,0,.3)}.lp-pad.rec .wave{color:#0a0a0c}.lp-pad.armed{box-shadow:0 3px 0 var(--lp-pad-drop),inset 0 0 0 2px var(--lp-red);animation:lp-blink .5s steps(2) infinite}@keyframes lp-blink{50%{box-shadow:0 3px 0 var(--lp-pad-drop),inset 0 0 0 2px transparent}}.lp-pad.selected:after{content:"";position:absolute;left:50%;bottom:5px;width:14px;height:3px;margin-left:-7px;border-radius:2px;background:currentColor;opacity:.6}.lp-dock{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:22px}.lp-side{width:72px;height:44px;flex-direction:column;gap:3px}.lp-dock>.lp-side:first-child{justify-self:end}.lp-dock>.lp-side:last-child{justify-self:start}.lp-side span{font-size:10px;letter-spacing:2px;color:var(--lp-soft);font-weight:700}.lp-side em{width:18px;height:3px;border-radius:2px;background:color-mix(in srgb,var(--lp-red) 18%,var(--lp-key-drop))}.lp-side em.on{background:#ff4d4d;box-shadow:0 0 6px #ff4d4d}.lp-well{position:relative;z-index:41;width:100px;height:100px;border-radius:50%;display:grid;place-items:center;background:var(--lp-tray);box-shadow:var(--lp-tray-shadow)}.lp-well svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.lp-well .track{fill:none;stroke:color-mix(in srgb,var(--lp-red) 18%,#000);stroke-width:3}.lp-well .led{fill:none;stroke:var(--lp-red);stroke-width:3;stroke-linecap:round;filter:drop-shadow(0 0 3px var(--lp-red))}.lp-rec{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;background:var(--lp-red);border:1px solid #b3123a;box-shadow:0 4px 0 #8a0d2c,0 6px 10px rgba(0,0,0,.35);transition:transform .05s,box-shadow .05s}.lp-rec.on,.lp-rec:active{transform:translateY(3px);box-shadow:0 1px 0 #8a0d2c}.lp-rec:disabled{opacity:.45}.lp-rec i{width:22px;height:22px;border-radius:50%;background:#0a0a0c;transition:border-radius .15s}.lp-rec.on i{border-radius:4px;width:20px;height:20px}.lp-fx{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.lp-fx-key{height:64px;flex-direction:column;gap:4px;font-size:11px;font-weight:700;letter-spacing:1.5px}.lp-fx-key.on{background:var(--c,#ff2d55);color:#000;border-color:color-mix(in srgb,var(--c,#ff2d55) 60%,#000)}.lp-fx-key svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.lp-row{display:flex;align-items:center;gap:12px;margin-top:16px;font-size:12px;letter-spacing:1px;font-weight:700}.lp-row input[type=range]{flex:1;accent-color:var(--c,#ff2d55)}.lp-chooser{display:flex;gap:8px;margin-bottom:14px;padding:5px}.lp-chooser,.lp-fx{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.lp-chip{flex:1;min-width:0;height:36px;padding:0;border-radius:8px;display:grid;place-items:center;font:700 14px/1 var(--font-lp-mono),ui-monospace,monospace;background:var(--c);color:#000;opacity:.45}.lp-chip.on{opacity:1;outline:2px solid var(--c);outline-offset:3px}.lp-chip:disabled{background:transparent;border:1px dashed;opacity:.25}.lp-themes{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.lp-theme{border:1px solid var(--lp-key-edge,rgba(127,127,127,.35));height:72px;flex-direction:column;gap:8px;font-size:11px;font-weight:700;letter-spacing:1.5px}.lp-theme.on{outline:2px solid var(--lp-ink,currentColor);outline-offset:2px}.lp-swatch{display:grid;grid-template-columns:repeat(8,12px);gap:3px}.lp-swatch i{height:12px;border-radius:3px}.lp-tour{position:fixed;inset:0;z-index:50;pointer-events:none;font-family:var(--font-lp-mono),ui-monospace,monospace}.lp-tour-dim{position:absolute;inset:0;background:rgba(0,0,0,.62)}.lp-tour-hole{position:absolute;box-shadow:0 0 0 9999px rgba(0,0,0,.62),0 0 0 3px #fff,0 0 24px 6px rgba(255,255,255,.45);animation:lp-tour-pulse 1.4s ease-in-out infinite}@keyframes lp-tour-pulse{50%{box-shadow:0 0 0 9999px rgba(0,0,0,.62),0 0 0 3px #fff,0 0 36px 10px rgba(255,255,255,.6)}}.lp-tour-card{position:absolute;left:16px;right:16px;max-width:420px;margin:0 auto;pointer-events:auto;background:#0b0c12;color:#eef0f6;border:1px solid #2a2d3a;border-radius:16px;padding:16px 18px;box-shadow:0 12px 40px rgba(0,0,0,.6)}.lp-tour-card b{display:block;font:700 17px var(--font-lp-display),system-ui;letter-spacing:.5px;margin:8px 0 6px}.lp-tour-card p{font-size:14px;line-height:1.45;color:#c4c8d6;margin:0}.lp-tour-dots{display:flex;gap:5px}.lp-tour-dots i{width:18px;height:3px;border-radius:2px;background:#2f3342}.lp-tour-dots i.on{background:#ff2d55;box-shadow:0 0 6px #ff2d55}.lp-tour-actions{display:flex;justify-content:space-between;align-items:center;margin-top:14px}.lp-tour-skip{font-size:12px;letter-spacing:1px;color:#9aa3c0;padding:8px 0 8px 12px}.lp-tour-go{height:44px;padding:0 22px;border-radius:10px;background:#ff2d55;color:#fff;font-weight:700;letter-spacing:1px;box-shadow:0 3px 0 #9a0a28}@media (prefers-reduced-motion:reduce){.lp-tour-hole{animation:none}}.lp-count{position:fixed;inset:0;z-index:40;pointer-events:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:rgba(6,7,11,.78);color:#fff}.lp-count span{font-size:13px;letter-spacing:3px;color:#c4c8d6}.lp-count div{font:800 min(52vw,280px)/1 var(--font-lp-display),system-ui;color:var(--lp-red);text-shadow:0 0 40px rgba(255,45,85,.7)}.lp-count div.pop{animation:lp-count .5s cubic-bezier(.2,1.4,.4,1)}@keyframes lp-count{0%{transform:scale(1.5);opacity:.3}}.lp-count span:last-child{position:absolute;bottom:calc(env(safe-area-inset-bottom) + 150px)}.lp.rec-on{box-shadow:inset 0 0 0 4px var(--lp-red),inset 0 0 60px rgba(255,45,85,.45);animation:lp-recpulse 1s ease-in-out infinite}@keyframes lp-recpulse{50%{box-shadow:inset 0 0 0 4px var(--lp-red),inset 0 0 90px rgba(255,45,85,.7)}}.lp-recbar{position:fixed;z-index:30;top:calc(env(safe-area-inset-top) + 8px);left:50%;transform:translateX(-50%);pointer-events:none;display:flex;align-items:center;gap:8px;padding:8px 16px;border-radius:999px;background:var(--lp-red);color:#fff;font-weight:800;font-size:14px;letter-spacing:3px;white-space:nowrap}.lp-recbar i{width:10px;height:10px;border-radius:50%;background:#fff;animation:lp-blinkdot 1s steps(2) infinite}.lp-recbar em{font-style:normal;font-weight:600;font-size:10px;letter-spacing:1px;opacity:.85}@keyframes lp-blinkdot{50%{opacity:.2}}.lp-added{position:fixed;z-index:30;left:50%;top:38%;transform:translate(-50%,-50%);pointer-events:none;padding:16px 26px;border-radius:16px;background:#7dff5a;color:#0a0a0c;font:800 22px var(--font-lp-display),system-ui;letter-spacing:1px;white-space:nowrap;box-shadow:0 4px 0 #3f8a2b,0 20px 40px rgba(0,0,0,.5);animation:lp-added 1.6s ease-out forwards}@keyframes lp-added{0%{transform:translate(-50%,-50%) scale(.6);opacity:0}15%{transform:translate(-50%,-50%) scale(1.05);opacity:1}25%,80%{transform:translate(-50%,-50%) scale(1);opacity:1}to{opacity:0}}@media (prefers-reduced-motion:reduce){.lp-count div.pop,.lp-recbar i,.lp.rec-on{animation:none}.lp-added{animation-duration:1.6s;animation-name:lp-fade}}@keyframes lp-fade{0%,80%{opacity:1}to{opacity:0}}.lp-lib{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}.lp-lib-row{display:flex;align-items:center;gap:10px;padding:4px 6px 4px 12px;border-radius:12px;border:1px solid var(--lp-key-edge,rgba(127,127,127,.25))}.lp-lib-row.open{border-color:#ff2d55;box-shadow:inset 4px 0 0 #ff2d55}.lp-lib-main{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:8px 0;text-align:left;background:none;border:0;color:inherit}.lp-lib-main b{font-size:16px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lp-lib-main span{font-size:12px;opacity:.65}.ui-menu{z-index:95}.lp-center.big .lp-beat{display:none}.lp-big{width:92px;height:92px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.1);border:2px solid rgba(255,255,255,.35)}.lp-big svg{position:static;inset:auto;width:44px;height:44px;fill:#fff}.lp-big.paused{background:#fff;border-color:#fff;box-shadow:0 0 28px rgba(255,255,255,.45)}.lp-big.paused svg{fill:#0a0a0c}.lp-screen:active .lp-big{transform:scale(.94)}.lp-fx .lp-fx-key:first-child{grid-column:1/-1;height:44px;flex-direction:row;gap:8px}