@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{color-scheme:dark;--lime:#c0ff62;--pink:#ff51c8;--violet:#bf91ff;--ink:#0b0a10;--line:#302b3e}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 75% 0,#34204450,transparent 45%),var(--ink);color:#f3eef9;font:16px 'Space Grotesk',system-ui,sans-serif;min-height:100vh}header,nav,main,footer,#status{max-width:1280px;margin:auto}header{display:flex;align-items:center;gap:18px;padding:28px 32px}header #connect{margin-left:auto}h1{font-size:clamp(24px,4vw,46px);letter-spacing:-2px;margin:0}h1 span{color:var(--lime)}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--violet);font-weight:700}h2{font-size:clamp(26px,3vw,40px);letter-spacing:-1px;margin:14px 0 24px}h3{color:var(--lime)}p,li{line-height:1.65}nav{display:flex;gap:8px;padding:0 32px 20px;overflow:auto}button,.button{font:inherit;color:inherit;background:#1c1827;border:1px solid #423650;padding:12px 18px;border-radius:9px;cursor:pointer;text-decoration:none;display:inline-block;transition:background .15s,transform .15s}button:hover,.button:hover{background:#30233e;border-color:var(--violet)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--pink);outline-offset:3px}.primary,nav [aria-selected=true]{background:var(--lime);color:#14110a;border-color:var(--lime);font-weight:700}.primary:hover,nav [aria-selected=true]:hover{background:#d2ff8b}button:disabled{opacity:.5;cursor:wait}#status{color:#c9bfd4;padding:12px 32px;background:#15121d;border-block:1px solid var(--line);font-size:14px;min-height:48px}main{padding:38px 32px 70px}.panel{display:none}.panel.active{display:block}.stage{display:grid;grid-template-columns:minmax(320px,1.3fr) minmax(260px,.8fr);gap:60px}#grid{margin:24px auto;display:grid;grid-template-columns:repeat(10,1fr);gap:clamp(3px,.6vw,8px);max-width:580px;aspect-ratio:10/11;background:#121017;border:1px solid #3c3346;border-radius:24px;padding:20px;box-shadow:0 25px 80px #0008}.pad{padding:0;border:1px solid #302a38;border-radius:5px;min-width:0;aspect-ratio:1;background:#211c29}.pad.edge{border-radius:50%;transform:scale(.75)}.pad.off{visibility:hidden}.transport,.toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.knobs{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0}label{display:flex;flex-direction:column;gap:8px;font-size:14px;color:#d4cadd;margin:12px 0}label:has(input[type=checkbox]){flex-direction:row;align-items:center}.button label{margin:0}select,input[type=number],input[type=text],input:not([type]),textarea{background:#17121f;border:1px solid #493954;color:#fff;border-radius:7px;padding:12px;font:inherit;width:100%}input[type=range]{accent-color:var(--lime);width:100%}input[type=checkbox]{accent-color:var(--pink)}#bpm{width:90px}.transport label{flex-direction:row;align-items:center}.muted{color:#a99ab6;font-size:13px}#keyboard{display:grid;grid-template-columns:repeat(27,minmax(24px,1fr));gap:3px;margin-top:35px;overflow:auto;padding-bottom:10px}#keyboard button{padding:8px 1px;min-height:94px;background:linear-gradient(#302538,#1b1622);border-color:#6a4a7c;border-bottom:4px solid var(--violet);font-size:10px;touch-action:none}#keyboard button:active,#keyboard button.held{background:var(--pink);color:#111}#ports{margin-top:30px;border-top:1px solid var(--line)}#slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}.slot,.card{border:1px solid var(--line);background:linear-gradient(135deg,#22182e80,#121016);border-radius:12px;padding:18px}.slot h3,.card h3{margin:8px 0}.slot button,.card button,.card .button{font-size:12px;padding:8px 11px;margin:5px 4px 0 0}.slot.custom{border-color:#91be4e}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:20px;margin-top:28px}.card canvas{width:100%;aspect-ratio:1;background:#0a080e;border-radius:10px}.card p{white-space:pre-wrap;overflow-wrap:anywhere}dialog{color:inherit;background:#19121f;border:1px solid var(--violet);border-radius:18px;padding:28px;width:min(620px,95vw);max-height:90vh;overflow:auto}dialog::backdrop{background:#050309cf;backdrop-filter:blur(8px)}.close{float:right;padding:4px 12px;font-size:24px}hr{border:0;border-top:1px solid var(--line);margin:28px 0}#help{max-width:780px}progress{display:block;width:100%;height:14px;accent-color:var(--lime);margin-top:24px}pre{white-space:pre-wrap;max-height:260px;overflow:auto;color:#cfc0dc;font-size:12px}footer{border-top:1px solid var(--line);padding:24px 32px;display:flex;gap:25px;justify-content:space-between;color:#a593b4;font-size:12px}a{color:var(--violet)}@media(max-width:760px){header{padding:20px 16px;gap:10px}header img{width:40px;height:40px}header .eyebrow{display:none}header button{font-size:12px;padding:10px}nav{padding-inline:16px}nav button{white-space:nowrap;font-size:13px}main{padding:24px 16px}#status{padding-inline:16px}.stage{grid-template-columns:1fr;gap:20px}#grid{padding:12px;max-width:500px}#keyboard{grid-template-columns:repeat(27,30px)}footer{flex-wrap:wrap;padding:20px 16px}.knobs{gap:12px}h2{margin-bottom:16px}}

/* The approved horizontal artwork, with only transparent padding outside the box. */
header .brand-logo{display:block;width:clamp(170px,25vw,340px);height:clamp(32px,4.7vw,64px);object-fit:cover;object-position:center}header h1{line-height:1}header .brand-logo{max-width:100%}@media(max-width:760px){header .brand-logo{width:170px;height:32px}header img:not(.brand-logo){width:32px;height:32px}header{gap:8px}}

.layer-colors{display:flex;align-items:center;gap:8px}.layer-colors label{flex:1;min-width:0}.layer-colors button{white-space:nowrap;padding:11px 10px;margin-top:25px}.keyboard-help{margin:28px 0 10px;color:#c9bdd5;font-size:13px;line-height:1.9}kbd{font:inherit;color:var(--lime)}#keyboard{margin-top:10px}#keyboard button{display:flex;flex-direction:column;justify-content:space-between;align-items:center}#keyboard kbd{font-size:14px;padding-bottom:8px}#keyboard .held kbd{color:#171018}

.knob-control{align-items:center;text-align:center;gap:10px}.rotary{display:block;position:relative;width:70px;height:70px;border-radius:50%;touch-action:none;cursor:ns-resize;background:repeating-conic-gradient(#ffffff08 0deg 3deg,transparent 3deg 9deg),radial-gradient(circle at 32% 25%,#54475d,#1b1621 60%,#09070d);border:2px solid #685574;box-shadow:inset 0 2px 3px #ffffff45,inset 0 -4px 5px #000b,0 5px 8px #000a,0 0 12px #bf91ff18}.rotary::after{content:'';position:absolute;inset:8px;transform:rotate(var(--angle));background:linear-gradient(#c0ff62,#c0ff62) top center/3px 17px no-repeat;filter:drop-shadow(0 0 3px #c0ff62)}.knob-control output{font:600 13px ui-monospace,monospace;color:var(--lime);min-height:18px}.knob-control input{margin:0}.knobs{gap:12px 24px}

#party{width:100%;min-height:52px;font-weight:700}#party.party-active{color:#120e19;background:linear-gradient(110deg,#c0ff62,#58ffca 55%,#bf91ff);border:2px solid #dcffab;box-shadow:0 0 0 3px #c0ff6220,0 0 24px #c0ff6245;animation:party-breathe 2s ease-in-out infinite}#party.party-active:hover{filter:brightness(1.12)}@keyframes party-breathe{50%{box-shadow:0 0 0 5px #c0ff6210,0 0 35px #bf91ff75}}@media(prefers-reduced-motion:reduce){#party.party-active{animation:none}}

.show-selector{padding:14px 16px;border:1px solid #665075;border-radius:12px;background:linear-gradient(120deg,#30203880,#13101c);color:var(--violet);font-size:11px;letter-spacing:.1em}.show-selector input{height:26px;cursor:ew-resize}.show-selector output{color:var(--lime);font-size:13px;letter-spacing:0;line-height:1.5}

.piano-wrap{max-width:600px;margin:-10px auto 18px;display:flex;flex-direction:column}.piano-wrap #keyboard{order:0;display:block;position:relative;height:116px;width:100%;margin:0;padding:0;overflow:visible;background:#09070e;border:1px solid #51425d;border-radius:0 0 8px 8px;box-shadow:0 8px 18px #0007}.piano-wrap .keyboard-help{order:1;font-size:11px;line-height:1.6;margin:12px 0 0}.piano-wrap #keyboard button{position:absolute;left:calc(var(--key-left)*100%/16);margin:0;min-height:0;border-radius:0 0 4px 4px;touch-action:none;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:8px;padding:8px 0}.piano-wrap #keyboard .piano-white{width:calc(100%/16);height:114px;z-index:1;background:linear-gradient(90deg,#c6c1d1,#f1eef6 22%,#e5e1ec 80%,#b5acbe);color:#3a2c49;border:1px solid #6f657b;border-bottom:5px solid #a89eb6}.piano-wrap #keyboard .piano-black{width:calc(.64*100%/16);height:72px;z-index:2;background:linear-gradient(90deg,#09070d,#3c3248 25%,#17121e 80%,#09070d);color:#e8d8ff;border:1px solid #06040a;border-bottom:5px solid #544360;box-shadow:2px 5px 4px #0009}.piano-wrap #keyboard button.held,.piano-wrap #keyboard button:active{background:linear-gradient(#c0ff62,#66e7af);color:#16101f;border-bottom-color:#50a66d;box-shadow:0 0 15px #c0ff6260}.piano-wrap #keyboard kbd{font-size:11px;color:inherit}.piano-wrap #keyboard button span{font-size:8px;opacity:.7}.piano-wrap #keyboard button:focus-visible{z-index:3;outline-offset:-3px}.launchpad-shell{margin-bottom:22px}

.piano-wrap #keyboard .piano-white{background:linear-gradient(95deg,#211929,#44334f 24%,#302339 80%,#17101e);color:#c0ff62;border-color:#6b4f7e;border-bottom-color:#a57bce;box-shadow:inset 0 1px 2px #ffffff20}.piano-wrap #keyboard .piano-black{background:linear-gradient(95deg,#100b16,#2e1c3c 28%,#1a1024 80%,#08060d);color:#d4abff;border-color:#0c0712;border-bottom-color:#775093}.piano-wrap #keyboard button.held,.piano-wrap #keyboard button:active{background:linear-gradient(#c0ff62,#66e7af);color:#16101f;border-bottom-color:#50a66d;box-shadow:0 0 15px #c0ff6260}

.touch-knob-label{border:1px solid #584168;border-radius:12px;padding:14px;background:#21162980}.touch-knob-label output{min-height:20px;color:var(--lime)}

.stage{gap:32px;align-items:start}.stage aside{padding:22px;border:1px solid #4a365b;border-radius:18px;background:linear-gradient(140deg,#281932ab,#120f1bd9);box-shadow:0 14px 38px #0004}.stage aside h2{font-size:clamp(23px,2vw,32px);margin:8px 0 18px}.stage aside .eyebrow{color:#c0ff62}.show-selector{display:grid;grid-template-columns:76px 1fr;align-items:center;gap:6px 14px;margin:12px 0}.show-selector .rotary{grid-column:1;grid-row:1/4;width:66px;height:66px}.show-selector input{grid-column:2;grid-row:2}.show-selector output{grid-column:2}.show-selector #show-position{grid-column:1/-1;border-top:1px solid #62467760;padding-top:8px}.stage aside .knobs{margin:12px 0;gap:6px 20px}.stage aside .knob-control{margin:6px 0;gap:6px}.stage aside .rotary{width:54px;height:54px}.stage aside .show-selector .rotary{width:66px;height:66px}.stage aside .touch-knob-label{display:grid;grid-template-columns:62px 1fr;text-align:left;gap:5px 12px;margin:12px 0 0}.touch-knob-label .rotary{grid-column:1;grid-row:1/4}.touch-knob-label input,.touch-knob-label output{grid-column:2}.stage aside label{margin:8px 0}.stage aside .layer-colors{margin-top:14px}.stage aside select{padding:9px}#play.show-running{box-shadow:0 0 16px #c0ff6255}.launchpad-shell .pad.transport-on,.launchpad-shell .pad.edge.transport-on{background:radial-gradient(ellipse at 40% 25%,#e6ffb0,#9cff35 60%,#4eaa20)!important;border-color:#d6ff9a!important;box-shadow:inset 0 1px 3px #fff9,0 0 15px #9fff68b0!important}.launchpad-shell .pad.transport-on .cap-mark{color:#183508;text-shadow:none}@media(max-width:760px){.stage{gap:22px}.stage aside{padding:16px}.stage aside h2{font-size:25px}}

.launchpad-shell .pad.transport-on,.launchpad-shell .pad.edge.transport-on{background:linear-gradient(145deg,#ffffff15,transparent 45%,#0007),#17141d!important;border:1px solid #050408!important;border-top-color:#ffffff2b!important;border-bottom:2px solid #030305!important;box-shadow:inset 0 1px 1px #ffffff25,inset 0 -2px 3px #000c,0 1px 2px #000b!important}.launchpad-shell .pad.transport-on .cap-mark{color:#8dff45;text-shadow:0 0 4px #8dff45b0,0 0 8px #8dff4555}

.skin-settings{max-width:600px;margin:0 auto 20px;padding:12px 14px;border:1px solid #493756;border-radius:10px;background:#17121f}.skin-settings summary{cursor:pointer;font-size:13px;color:#bf91ff}.skin-settings .button,.skin-settings button{font-size:12px}.launchpad-shell.skin-classic{background:linear-gradient(145deg,#303035,#19191e 40%,#111115)!important;border-color:#424247}.launchpad-shell.skin-custom{background-image:var(--custom-skin)!important;background-size:cover;background-position:center}

.creator-layout{display:grid;grid-template-columns:minmax(280px,1fr) minmax(280px,1fr);gap:36px;max-width:1080px;margin:24px auto}.creator-work,.creator-controls{padding:22px;border:1px solid #513660;border-radius:18px;background:linear-gradient(140deg,#24172eb0,#120e1b)}#creator-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:5px;max-width:400px;aspect-ratio:1;margin:0 auto 18px;touch-action:none}#creator-grid button{padding:0;min-width:0;border-radius:5px;border:1px solid #7c5d8b;box-shadow:inset 0 1px 2px #ffffff25}#creator-grid button:focus-visible{outline:2px solid #fff}#creator-preview{display:block;width:100%;max-width:320px;margin:0 auto 16px;border:1px solid #67447a;border-radius:12px}.creator-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}.creator-controls input[type=color]{height:42px;width:100%;padding:3px;border:1px solid #6b477c;border-radius:7px;background:#191120}.creator-controls .toolbar{margin-top:20px}.creator-controls .toolbar button,.creator-controls .toolbar .button{font-size:12px;padding:10px 12px}.creator-work .toolbar{justify-content:center}.creator-work h3{font-size:16px;color:var(--violet)}#cr-info{color:var(--lime);font-size:13px;min-height:40px}@media(max-width:760px){.creator-layout{grid-template-columns:1fr;gap:18px}.creator-work,.creator-controls{padding:16px}}

.creator-strobe{border:1px solid #785180;border-radius:10px;margin:18px 0;padding:12px}.creator-strobe legend{color:var(--violet);font-size:14px}

@media(min-width:761px){.creator-layout{align-items:start}.creator-work{position:sticky;top:16px;max-height:calc(100vh - 32px);overflow-y:auto;scrollbar-width:thin}.creator-work h3{margin:8px 0 10px}#creator-grid{max-width:min(320px,36vh);gap:4px;margin-bottom:10px}#creator-preview{max-width:min(260px,27vh);margin-bottom:10px}.creator-work .muted{margin:8px 0;font-size:11px}.creator-work .toolbar button{padding:8px 12px;font-size:12px}.creator-work #cr-info{min-height:0;margin:8px 0 0}}

@media(min-width:761px){#live .stage>div:first-child{position:sticky;top:16px;max-height:calc(100vh - 32px);overflow-y:auto;scrollbar-width:thin;padding:4px 8px 12px}#live .launchpad-shell{max-width:min(600px,60vh);margin-top:14px;margin-bottom:20px}#live .piano-wrap{max-width:min(600px,60vh)}#live .skin-settings{max-width:min(600px,60vh);margin-top:12px}#live .transport{justify-content:center}#live .piano-wrap .keyboard-help{font-size:10px}#live .stage>div:first-child>.eyebrow{display:block;text-align:center}}

.launchpad-shell.skin-matrix{background-image:url('skin-matrix.svg')!important}.launchpad-shell.skin-spiral{background-image:url('skin-spiral.svg')!important}
