
:root{--bg:#11101f;--panel:#1c1a2d;--panel2:#221f36;--stroke:#353248;--cream:#f5f0e5;--faint:#9896ac;--purple:#a797fc;--gold:#e4bd8a;--green:#8ce7cb;--red:#eb9b9f;font-family:'DM Sans',system-ui,-apple-system,Arial,sans-serif;color:var(--cream);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behaviour:smooth}body{margin:0;background:radial-gradient(ellipse 70% 40% at 52% -10%,#29213e 0%,#11101f 72%);min-width:320px;color:var(--cream)}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid #d1c9ff;outline-offset:3px}a{color:var(--purple)}.shell{max-width:1696px;margin:auto;padding:0 clamp(14px,3vw,48px)}.topbar{height:83px;border-bottom:1px solid #353247;display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{display:inline-flex;align-items:center;gap:12px;font-weight:800;font-size:18px;letter-spacing:-.06em;color:var(--cream);text-decoration:none}.brand>span:last-child>span{font-weight:400}.brand small{font-size:12px;font-weight:500;letter-spacing:.02em}.brandicon{background:#c0b4ff;color:#1b1730;border-radius:9px;height:38px;width:38px;display:grid;place-items:center;font-family:Georgia,serif;font-size:27px;font-weight:bold}.branddot{color:#5a4376}.topmeta{display:flex;align-items:center;gap:22px;color:#9794ab;font-size:10px;font-weight:700;letter-spacing:.16em}.pill{border:1px solid #504866;padding:10px 14px;border-radius:50px;color:#dcd0fa;white-space:nowrap}.live-dot{display:inline-block;width:6px;height:6px;background:#89e9c8;border-radius:50%;margin-right:8px;box-shadow:0 0 9px #89e9c8}.iconbtn{border:1px solid var(--stroke);background:#252137;color:#eee;font-size:16px;width:34px;height:34px;border-radius:50%;font-weight:700}.hero{padding:44px 0 31px}.eyebrow,.labelsm{font-size:10px;color:var(--gold);letter-spacing:.22em;font-weight:700}.eyebrow{display:flex;align-items:center;gap:11px}.line{width:28px;height:1px;background:var(--gold)}.hero-title{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-top:11px}.hero h1{font-family:'Space Grotesk',sans-serif;font-size:clamp(54px,6.8vw,107px);line-height:.9;letter-spacing:-.09em;margin:0;font-weight:700}.hero h1 span{color:var(--purple)}.hero h1 sup{font:600 13px 'DM Sans',sans-serif;letter-spacing:0;vertical-align:top;display:inline-block;margin:6px 0 0 12px;color:var(--gold)}.subtitle{margin:18px 0 0;color:#d0cbd7;font-size:13px;letter-spacing:.32em;font-weight:700}.hero-right{text-align:right;color:#beb9ca;font-size:14px;line-height:1.6;padding-bottom:7px}.hero-right span{display:block;color:#66637a;font-size:10px;letter-spacing:.19em;margin-top:16px}.workbench{display:grid;grid-template-columns:minmax(0,1.48fr) minmax(360px,.82fr);gap:17px;align-items:stretch}.mainstage{display:flex;flex-direction:column;gap:15px;min-width:0}.scene{position:relative;flex:1;min-height:535px;overflow:hidden;border:1px solid #4a3b55;border-radius:13px;background:radial-gradient(ellipse at 52% 36%,#463449,#161323 75%);isolation:isolate}.scene>canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none}.scene>canvas.webgl-layer{z-index:1}.scene-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(18,16,30,.45) 0%,transparent 25%,transparent 66%,rgba(16,13,27,.86) 100%);z-index:2}.scene-top,.scene-foot{position:absolute;left:21px;right:21px;display:flex;justify-content:space-between;gap:14px;align-items:center;z-index:3;pointer-events:none}.scene-top{top:23px}.scene-foot{bottom:23px;align-items:end}.scene-live,.scene-info{font-size:10px;letter-spacing:.14em;color:#eee4df;font-weight:800}.scene-live{background:#1d1b2bbf;padding:10px 12px;border:1px solid #696078;border-radius:6px}.scene-live i{display:inline-block;width:6px;height:6px;background:#a0eaca;border-radius:50%;margin-right:8px}.scene-info{color:#c8b2b8}.scene-foot strong{font-size:11px;font-weight:700}.scene-foot small{display:block;color:#b0a3b7;font-size:9px;letter-spacing:.15em;margin-top:8px}.cameralist{display:flex;gap:4px;pointer-events:auto}.cameralist button{height:35px;width:35px;border:1px solid #6f6072;border-radius:5px;color:#e7dae4;background:#251c2da8;font-weight:700;font-size:11px}.cameralist button.active{background:var(--gold);color:#222033;border-color:var(--gold)}.scene-alert{pointer-events:none;position:absolute;z-index:4;top:70px;left:50%;transform:translateX(-50%);max-width:85%;width:max-content;border:1px solid #cda27b;background:#33243deb;padding:13px 17px;color:#f2e9de;font-size:12px;border-radius:8px}.scene-alert[hidden]{display:none}.stage-tools{border:1px solid var(--stroke);border-radius:11px;background:#1b1a2c;padding:22px 25px}.stage-tools p{font-size:13px;color:#bcb8cd;line-height:1.65;margin:10px 0 14px}.stage-tools p strong{color:#f0e4d9}.source-short{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:9px;color:#817d91;letter-spacing:.1em;align-items:center}.linklike{background:none;border:none;color:var(--gold);font-size:10px;font-weight:800;letter-spacing:.1em}.console,.sequencepanel,.challengepanel{border:1px solid var(--stroke);border-radius:11px;background:linear-gradient(148deg,#232034,#1a192b);padding:26px;min-width:0}.console-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;border-bottom:1px solid var(--stroke);padding-bottom:19px}.console h2,.bottomgrid h2{font-family:'Space Grotesk',sans-serif;font-size:25px;letter-spacing:-.04em;margin:7px 0 0;line-height:1.13}.smallstroke{font-size:14px;color:var(--gold);padding-left:7px}.console-indicator{border:1px solid #504461;padding:9px;color:#bbb6ce;border-radius:5px;font-size:9px;font-weight:700;letter-spacing:.07em;white-space:nowrap}.selector-bar{display:flex;align-items:center;justify-content:space-between;margin:22px 0 20px;background:#151426;border:1px solid #353248;border-radius:6px;padding:8px 8px 8px 14px;gap:8px}.selector-bar>span{font-size:10px;font-weight:700;letter-spacing:.08em;color:#a7a3b7}.selector-controls{display:flex;align-items:center;gap:12px}.selector-controls button{height:30px;width:30px;border:none;background:#393449;color:#f4edf6;border-radius:5px;font-size:18px}.selector-controls strong{font-size:11px;white-space:nowrap;letter-spacing:.08em}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px}.metrics>div{border-right:1px solid var(--stroke);padding-bottom:18px}.metrics>div:last-child{border:none;padding-left:9px}.metrics label{font-size:10px;letter-spacing:.1em;color:#b7afc3}.bigmetric{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:clamp(27px,3vw,42px);letter-spacing:-.055em;margin-top:5px}.bigmetric.accent{color:var(--gold)}.bigmetric span{font:600 13px 'DM Sans',sans-serif;letter-spacing:0;margin-left:5px;color:#aea8ba}.difference{border-top:1px solid var(--stroke);padding-top:20px}.difference>div:first-child{display:flex;justify-content:space-between;font-size:11px;letter-spacing:.08em}.difference span{color:#a5a0b4}.difference b{font-size:12px;color:var(--gold)}.tuningtrack{height:6px;background:linear-gradient(90deg,#9180d0,#aea1c2,#86d6b2,#c9a2a8,#a88cce);border-radius:4px;margin:13px 0 6px;position:relative}.tuningtrack span{position:absolute;top:-5px;left:50%;height:16px;width:4px;background:#fff;border-radius:2px;box-shadow:0 0 12px #f8de9d}.rangetext{display:flex;justify-content:space-between;color:#81798d;font-size:9px;letter-spacing:.08em}.control-field{padding-top:25px}.control-title,.rangeends{display:flex;align-items:center;justify-content:space-between}.control-title label{font-size:13px;font-weight:700}.control-title output{color:var(--gold);font-size:12px;font-weight:800}.control-field input,.tempo input{width:100%;accent-color:var(--purple);cursor:pointer;margin:13px 0}.control-field input[type=range]{height:5px}.rangeends{font-size:9px;letter-spacing:.08em;color:#868096}.waveformbox{border:1px solid #453e53;background:#151427;border-radius:7px;margin:27px 0 19px;overflow:hidden}.waveheading{display:flex;justify-content:space-between;gap:10px;padding:13px 15px 0;font-size:9px;letter-spacing:.1em;color:#b5abc4}.waveheading span:last-child{color:var(--gold)}#waveCanvas{display:block;width:100%;height:96px}.buttonrow{display:flex;gap:10px}.buttonrow button,.transport button{border-radius:6px;padding:14px 14px;border:1px solid #514a61;color:var(--cream);font-size:11px;font-weight:800;letter-spacing:.08em;white-space:nowrap}.buttonrow button{flex:1}.primary{background:var(--purple);border-color:var(--purple)!important;color:#171329!important}.primary:hover{background:#c2b6ff}.secondary{background:#353048}.secondary:hover{background:#453d5c}.ghost{background:none}.ghost:hover{background:#302a43}.notice{color:#878398;font-size:11px;line-height:1.6;margin-top:16px}.formula{color:#c3b4fa;white-space:nowrap}.bottomgrid{display:grid;grid-template-columns:minmax(0,1.48fr) minmax(360px,.82fr);gap:17px;margin-top:17px}.sectionhead{display:flex;justify-content:space-between;gap:16px}.sectionhead p{color:#a8a3b6;font-size:12px;line-height:1.6;max-width:470px}.tag{color:#d8b786;border:1px solid #655b60;border-radius:5px;padding:10px;align-self:flex-start;font-size:9px;letter-spacing:.07em;max-width:175px;line-height:1.5}.sequencer{border:1px solid #403b54;background:#161425;border-radius:7px;padding:17px;margin-top:18px}.beatheader{display:flex;justify-content:space-between;gap:10px;font-size:10px;font-weight:800;letter-spacing:.1em;color:#b7aec3}.beatclock{color:#9c8cf5}.steps{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px;margin:16px 0}.step{padding:10px 2px;border:1px solid #514862;border-radius:5px;background:#28233c;color:#eee;min-height:84px;display:flex;flex-direction:column;align-items:center;gap:6px;position:relative}.step .snum{font-size:10px;color:#9992a6}.step .skey{font:700 18px 'Space Grotesk',sans-serif}.step .spart{font-size:9px;letter-spacing:.07em;color:#b6a8d4}.step[data-part=B]{border-color:#5c5054}.step[data-part=B] .spart{color:#e6b984}.step.playing{box-shadow:inset 0 0 0 2px #e2b67e,0 0 18px #be9d7f44;background:#3b334f}.step:hover{border-color:#c6b8ff}.sequence-help{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;color:#898398;font-size:10px;line-height:1.5}.small-square{display:inline-block;width:7px;height:7px;background:#b2a1f7;margin-right:5px}.transport{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:18px}.transport button{padding:15px 17px}.tempo{min-width:130px;margin-left:auto;max-width:185px;flex:1}.tempo label{font-size:10px;display:flex;justify-content:space-between;letter-spacing:.1em;color:#a59eb5}.tempo b{color:var(--gold)}.tempo input{margin:10px 0 0}.challengeintro{font-size:13px;line-height:1.6;color:#a8a3b6;max-width:420px;margin:12px 0 29px}.goal{margin:0 0 25px}.goal-title{display:flex;justify-content:space-between;align-items:baseline;font-size:11px;letter-spacing:.08em;color:#c2bcce;font-weight:700}.goal-title strong{font:700 26px 'Space Grotesk',sans-serif;letter-spacing:-.04em;color:#f3eee8}.goal-title small{font-size:13px;color:#a4a0b6}.progress{height:7px;border-radius:5px;background:#312d44;overflow:hidden;margin:10px 0 7px}.progress>div{width:0%;height:100%;background:linear-gradient(90deg,#9985df,#c3b4ff);transition:width .4s}.goal-caption{display:flex;justify-content:space-between;font-size:9px;color:#8d88a0;letter-spacing:.09em}.goal-caption b{color:#cbbde5}.refpattern{border-top:1px solid var(--stroke);padding:18px 0 13px}.refpattern>span{font-size:10px;color:#c3a6ad;letter-spacing:.1em}.refpattern>div{display:flex;gap:5px;flex-wrap:wrap;margin-top:12px}.refpattern .token{min-width:32px;text-align:center;padding:8px 3px;background:#312b43;border-radius:4px;font-size:11px;color:#e9dfef}.refpattern .token:nth-child(even){background:#403040;color:#f3cc9c}.status{margin:5px 0 16px;color:#e2c08f;font-size:12px;line-height:1.6;min-height:40px}.status.success{color:var(--green)}.export{width:100%;margin-top:11px;background:none;border:1px dashed #675873;border-radius:6px;color:#b0a5bf;padding:12px;font-size:10px;letter-spacing:.12em;font-weight:800}.export:hover{color:#eee;border-style:solid}.footer{padding:29px 0 45px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:15px;color:#6f6b83;font-size:9px;letter-spacing:.1em}.footer span:last-child{color:var(--gold)}dialog{background:#242039;color:#f2edf5;border:1px solid #6d5b7c;border-radius:14px;max-width:min(760px,94vw);max-height:84vh;overflow-y:auto;padding:26px 34px;box-shadow:0 15px 100px #05040cd9}dialog::backdrop{background:#03030cce}.guidehead{display:flex;justify-content:space-between;align-items:center;color:var(--gold);font-size:10px;letter-spacing:.16em}.guidehead button{background:none;color:var(--cream);border:1px solid #685d79;border-radius:5px;padding:7px 10px}dialog h2{font:700 36px 'Space Grotesk',sans-serif;letter-spacing:-.05em;margin:22px 0 8px}dialog h3{color:#e6bf91;font-size:15px;margin:18px 0 10px}dialog p,dialog li{font-size:13px;line-height:1.7;color:#bbb5cd}dialog .guidelead{color:#d6cce8;font-size:15px}dialog .guidefine{border-top:1px solid #454054;margin-top:15px;padding-top:13px;color:#90869f;font-size:11px}.guidecols{display:grid;grid-template-columns:1fr 1fr;gap:26px}dialog a{color:#c4b6fe}dialog ul,dialog ol{padding-left:21px}@media(max-width:1160px){.workbench,.bottomgrid{grid-template-columns:minmax(0,1fr) 375px}.console{padding:19px}.stage-tools{padding:17px}.scene{min-height:520px}.tag{display:none}}@media(max-width:940px){.workbench,.bottomgrid{grid-template-columns:1fr}.scene{height:570px;flex:auto}.topmeta .version{display:none}.console{padding:24px}.console .buttonrow{max-width:560px}.hero{padding-top:33px}.hero-right{display:none}}@media(max-width:560px){.topbar{height:65px}.topmeta{gap:6px}.topmeta .location{display:none}.pill{font-size:8px;padding:7px}.hero{padding:29px 0 23px}.hero h1{font-size:clamp(48px,12vw,72px)}.hero h1 sup{font-size:10px;margin-left:4px}.subtitle{font-size:10px;letter-spacing:.2em}.eyebrow{font-size:8px;letter-spacing:.11em}.scene{height:440px;min-height:440px}.scene-top,.scene-foot{left:12px;right:12px}.scene-top{top:12px}.scene-foot{bottom:12px}.scene-info{display:none}.scene-foot strong{font-size:9px;max-width:200px;display:block}.scene-foot small{font-size:8px}.cameralist button{height:31px;width:27px}.stage-tools{padding:15px}.console,.sequencepanel,.challengepanel{padding:18px}.console h2,.bottomgrid h2{font-size:22px}.metrics .bigmetric{font-size:31px}.steps{gap:4px}.step{min-height:72px}.step .skey{font-size:15px}.step .spart,.step .snum{font-size:8px}.sequence-help{display:block}.sequence-help>div+div{margin-top:5px}.transport button{flex:1;padding:13px 8px;font-size:10px}.tempo{max-width:none;width:100%;flex-basis:100%}.buttonrow button{font-size:9px;padding:13px 5px}.guidecols{grid-template-columns:1fr;gap:4px}dialog{padding:20px}.scene-alert{font-size:11px}.footer{font-size:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behaviour:auto!important;transition:none!important}}
