:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-synthesis:none;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;color:#efedf5;--surface:#191920;--surface-raised:#22222b;--border:#30303c;--muted:#95939f;--lavender:#c8b4ff;--mint:#9ed9c4;--radius:16px;background:#111117;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{min-width:320px}body{background:radial-gradient(at 50% -25%,#22202e 0%,#111117 60%);min-width:320px;margin:0}button,input,select{font:inherit}button,select,label.button,summary{-webkit-tap-highlight-color:transparent}button,select{color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button,a,summary,input,select{outline-offset:5px}:focus-visible{outline:2px solid var(--lavender)}[hidden]{display:none!important}.icon-definitions{width:0;height:0;position:absolute;overflow:hidden}.icon{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:19px;height:19px}.sr-only,.file-input{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app-shell{max-width:1504px;margin:0 auto;padding:28px 48px 20px}.app-header{justify-content:space-between;align-items:center;gap:24px;min-height:44px;margin-bottom:38px;display:flex}.brand{color:#f4f1fa;letter-spacing:-.7px;align-items:center;gap:12px;font-size:23px;font-weight:650;text-decoration:none;display:inline-flex}.brand-mark{align-items:center;gap:3px;width:28px;height:30px;display:flex;transform:rotate(180deg)}.brand-mark i{background:var(--lavender);border-radius:3px;width:4px;height:12px}.brand-mark i:nth-child(2){background:#a490d5;height:25px}.brand-mark i:nth-child(3){background:#dbcbfc;height:18px}.brand-mark i:nth-child(4){background:#8d7daa;height:8px}.connection{align-items:center;gap:22px;display:flex}.connection-copy{color:var(--muted);align-items:center;gap:7px;font-size:12px;display:flex}.connection-dot{background:#888295;border-radius:50%;width:6px;height:6px}.connection.connected .connection-dot{background:var(--mint);box-shadow:0 0 7px #9ed9c433}.button{white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:9px;min-height:44px;padding:0 16px;font-size:13px;font-weight:550;line-height:1.2;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.button-subtle{border-color:var(--border);color:#d2cfdb;background:#ffffff04}.button-subtle:hover{background:#ffffff09;border-color:#4b455a}.song-bar{justify-content:space-between;align-items:center;gap:24px;min-height:62px;margin-bottom:24px;display:flex}.song-heading{flex:1;min-width:0}h1{letter-spacing:-.8px;overflow-wrap:anywhere;margin:0 0 8px;font-size:29px;font-weight:570;line-height:1.2}#song-meta{color:var(--muted);margin:0;font-size:12px;line-height:1.5}.song-actions{flex-shrink:0;align-items:center;gap:10px;display:flex}.song-picker{position:relative}select{appearance:none;cursor:pointer;background:0 0;border:0;border-radius:8px}.song-picker select{border:1px solid var(--border);background:#1a1921;width:204px;min-height:44px;padding:0 35px 0 14px;font-size:13px}select option{color:#efedf5;background:#22212a}.chevron{pointer-events:none;color:#888391;width:17px;height:17px;position:absolute;top:50%;right:9px;transform:translateY(-50%)}.import-button{cursor:pointer;position:relative}.import-button:focus-within{outline:2px solid var(--lavender);outline-offset:3px}.player{border-radius:var(--radius);background:var(--surface);border:1px solid #34313e;overflow:hidden;box-shadow:0 24px 80px #00000020}.instrument{background:#121219;padding:0 18px}.stage{background:#121219;height:clamp(260px,40vh,490px);min-height:240px;position:relative;overflow:hidden}#waterfall{width:100%;height:100%;display:block}.stage-topline{pointer-events:none;justify-content:space-between;align-items:center;gap:12px;display:flex;position:absolute;inset:18px 4px auto}.stage-badge{letter-spacing:.15px;color:#aba4bb;background:#1e1c29e8;border:1px solid #34303f;border-radius:6px;align-items:center;gap:7px;padding:6px 9px;font-size:10px;font-weight:550;display:inline-flex}.stage-badge>span{background:#a598bc;border-radius:50%;width:5px;height:5px}.hand-legend{color:#8f8a9d;align-items:center;gap:18px;font-size:10px;display:flex}.hand-legend>span{align-items:center;gap:6px;display:flex}.hand-legend i{border-radius:2px;width:6px;height:6px}.left-dot{background:var(--mint)}.right-dot{background:var(--lavender)}.strike-line{pointer-events:none;background:#cfbcff99;height:1px;position:absolute;bottom:0;left:0;right:0;box-shadow:0 0 13px #b89bed88}.empty-overlay{color:var(--muted);background:#121219aa;place-items:center;font-size:14px;display:grid;position:absolute;inset:0}.keyboard{isolation:isolate;touch-action:none;-webkit-user-select:none;user-select:none;background:#0a0a0e;border-radius:0 0 5px 5px;height:140px;padding:0;position:relative;overflow:hidden}.piano-key{cursor:pointer;color:#78717f;touch-action:none;outline-offset:-4px;background:linear-gradient(#cac7d0 0%,#f3f0f4 19%,#e9e6ee 94%);border-top:0;border-bottom:5px solid #aaa5af;border-left:0;border-right:1px solid #96919c;border-radius:0 0 4px 4px;justify-content:center;align-items:flex-end;height:100%;padding:0 0 15px;font-size:10px;font-weight:500;transition:background 50ms,border-color 50ms;display:flex;position:absolute;top:0}.piano-key.black{z-index:2;color:#777080;background:linear-gradient(90deg,#1c1b24,#272631 65%,#15151d);border:1px solid #09090d;border-top:0;border-bottom:6px solid #09090e;border-radius:0 0 5px 5px;height:64%;padding-bottom:11px;font-size:9px;box-shadow:2px 3px 3px #07070a50}.piano-key.active,.piano-key.is-active,.piano-key.pressed,.piano-key[aria-pressed=true]{color:#54416e;background:linear-gradient(#a78ada,#dcf 38%,#c7aaf3);border-bottom-color:#8266ad}.piano-key.black.active,.piano-key.black.is-active,.piano-key.black.pressed,.piano-key.black[aria-pressed=true]{color:#f0e5ff;background:linear-gradient(#8464b9,#b597e2);border-bottom-color:#543778}.piano-key.left.active,.piano-key.left.is-active,.piano-key.left.pressed,.piano-key[data-hand=left].active{color:#355d4f;background:linear-gradient(#83b8a7,#c4ecdd 38%,#9dd4bf);border-bottom-color:#5d9983}.piano-key.black[data-hand=left].active{color:#e1fff3;background:linear-gradient(#4f8b78,#8cc9b4);border-bottom-color:#315b4d}.piano-key .key-label{pointer-events:none}.key-shortcut{color:#8a8490;font-size:9px}.transport{align-items:center;gap:27px;height:78px;padding:0 23px;display:flex}.playback-buttons{align-items:center;gap:12px;display:flex}.icon-button{color:#a7a1b2;background:0 0;border:0;border-radius:9px;justify-content:center;align-items:center;min-width:44px;height:44px;padding:0;display:inline-flex}.icon-button:hover{color:#eee9f7;background:#ffffff06}.button-play{color:#282033;background:var(--lavender);border-color:var(--lavender);min-width:112px;font-weight:650;box-shadow:0 3px 15px #b99bed0a}.button-play .icon{fill:currentColor;stroke-width:1.4px;width:17px;height:17px}.button-play:hover{background:#d3c1ff;border-color:#d3c1ff}.timeline{flex:1;align-items:center;gap:16px;min-width:50px;display:flex}.time{color:#c5bece;font-variant-numeric:tabular-nums;min-width:32px;font-size:11px}.time-total{color:#77717f}input[type=range]{--progress:0%;appearance:none;cursor:pointer;width:100%;min-width:0;height:44px;accent-color:var(--lavender);touch-action:pan-y;background:0 0;margin:0}input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(to right, #c8b4ff var(--progress), #3b3546 var(--progress));border-radius:3px;height:3px}input[type=range]::-moz-range-track{background:#3b3546;border-radius:3px;height:3px}input[type=range]::-moz-range-progress{background:var(--lavender);height:3px}input[type=range]::-webkit-slider-thumb{appearance:none;background:#d7c5fb;border:0;border-radius:50%;width:11px;height:11px;margin-top:-4px;box-shadow:0 0 0 3px #c8b4ff0a}input[type=range]::-moz-range-thumb{background:#d7c5fb;border:0;border-radius:50%;width:11px;height:11px}.practice-controls{background:#1d1b24;border-top:1px solid #2a2732;justify-content:space-between;align-items:center;gap:16px;padding:11px 26px;display:flex}.practice-options{align-items:center;gap:20px;display:flex}.setting{color:#8d8799;align-items:center;gap:12px;font-size:11px;display:flex}.select-wrap{display:inline-flex;position:relative}.select-wrap select{color:#d4cddd;min-height:44px;padding:0 25px 0 5px;font-size:12px;font-weight:550}.select-wrap .chevron{width:14px;height:14px;right:2px}.control-divider{background:#37303f;width:1px;height:18px}.practice-toggles{align-items:center;gap:8px;display:flex}.button-toggle{color:#9d96a9;gap:8px;min-height:44px;padding:0 11px;font-size:11px}.button-toggle .icon{width:16px;height:16px}.button-toggle:hover{color:#d8cfe6;background:#ffffff05}.button-toggle[aria-pressed=true]{color:#d3c0ef;background:#aa83de0d;border-color:#b69bd21c}.loop-controls{background:#211e29;border-top:1px solid #363040;grid-template-columns:1fr 1fr;gap:4px 28px;padding:15px 27px 18px;display:grid}.loop-heading{color:#b3a7c1;grid-column:1/-1;justify-content:space-between;align-items:center;gap:16px;font-size:11px;display:flex}#loop-label{color:#d9c6f4;font-variant-numeric:tabular-nums}.loop-controls label{color:#94889f;align-items:center;gap:12px;font-size:10px;display:flex}.below-player{justify-content:space-between;align-items:start;gap:28px;padding:15px 2px 0;display:flex;position:relative}.status{color:#8d869b;min-height:20px;margin:0;font-size:11px;line-height:1.7}.status.error,.status[data-error=true]{color:#f2b1b5}.help{color:#948ba2;flex-shrink:0;font-size:11px}.help summary{cursor:pointer;align-items:center;gap:6px;min-height:24px;list-style:none;display:flex}.help summary::-webkit-details-marker{display:none}.help summary .icon{width:13px;height:13px}.help summary:hover{color:#d2c4e6}.help-content{z-index:5;color:#b8abc9;background:#211d2b;border:1px solid #40374e;border-radius:12px;width:min(460px,100%);padding:14px 20px;line-height:1.7;position:absolute;top:45px;right:0;box-shadow:0 12px 32px #00000050}.help-content p{margin:7px 0 12px}.help-content strong{color:#e1d3f1;font-weight:550}body.focus-mode .app-header,body.focus-mode .song-bar,body.focus-mode .below-player{display:none}:root:fullscreen .app-header{display:none}:root:fullscreen .song-bar{display:none}:root:fullscreen .below-player{display:none}body.focus-mode .app-shell{max-width:none;padding:max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom))}:root:fullscreen .app-shell{max-width:none;padding:max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom))}body.focus-mode .stage{height:calc(100svh - 310px);max-height:none}:root:fullscreen .stage{height:calc(100svh - 310px);max-height:none}body.focus-mode .player{border-color:#272331}:root:fullscreen .player{border-color:#272331}@media (width>=1600px){.app-shell{padding-top:38px}.app-header{margin-bottom:46px}.stage{height:min(47vh,570px)}}@media (width<=1100px){.app-shell{padding:22px 26px 20px}.app-header{margin-bottom:24px}.connection-copy{max-width:170px}.connection{gap:14px}.song-bar{margin-bottom:18px}h1{font-size:25px}.song-picker select{width:172px}.instrument{padding:0 12px}.keyboard{height:118px}.transport{gap:18px;height:68px;padding:0 17px}.practice-controls{padding:8px 18px}.practice-options{gap:14px}.setting{gap:8px}.practice-toggles{gap:2px}.button-toggle{padding:0 8px}.stage{height:max(260px,100svh - 450px);max-height:520px}}@media (height<=850px) and (width>=761px){.app-shell{padding-top:16px;padding-bottom:12px}.app-header{margin-bottom:16px}.song-bar{min-height:54px;margin-bottom:16px}h1{margin-bottom:5px;font-size:25px}.stage{height:max(240px,100svh - 528px)}.keyboard{height:118px}.transport{height:64px}.practice-controls{padding-top:5px;padding-bottom:5px}.below-player{padding-top:11px}}@media (width<=760px){.app-shell{padding:18px 16px 24px}.app-header{gap:12px;margin-bottom:24px}.brand{gap:9px;font-size:21px}.connection-copy{display:none}.connection .button{gap:6px;padding:0 11px;font-size:11px}.connection .icon{width:16px;height:16px}.song-bar{flex-direction:column;align-items:flex-start;gap:17px;margin-bottom:18px}.song-actions{width:100%}.song-picker{flex:1}.song-picker select{width:100%}.import-button{padding:0 14px;font-size:12px}.stage{height:37vh;min-height:250px}.stage-topline{top:12px;inset-inline:2px}.hand-legend{gap:11px;font-size:9px}.stage-badge{padding:5px 7px;font-size:9px}.instrument{padding:0 7px}.keyboard{height:100px}.piano-key{padding-bottom:10px;font-size:8px}.piano-key.black{padding-bottom:8px;font-size:7px}.transport{flex-wrap:wrap;gap:12px;height:auto;min-height:68px;padding:10px 12px}.playback-buttons{gap:2px}.button-play{min-width:88px;padding:0 12px}.timeline{gap:8px}.time{min-width:27px;font-size:10px}.fullscreen-button{display:none}.practice-controls{flex-wrap:wrap;gap:0;padding:6px 13px}.practice-options{justify-content:space-between;gap:10px;width:100%}.practice-toggles{border-top:1px solid #302a38;justify-content:space-between;width:100%;padding-top:3px}.setting{gap:8px;font-size:10px}.select-wrap select{font-size:11px}.button-toggle{flex:1}.loop-controls{grid-template-columns:1fr;gap:2px;padding:15px}.below-player{flex-wrap:wrap;gap:6px;padding-top:12px}.status{width:100%;font-size:10px}.help{font-size:10px}.help summary{min-height:32px}.help-content{width:100%;margin-top:7px;padding:9px 14px;position:static}body.focus-mode .stage{height:calc(100svh - 290px)}:root:fullscreen .stage{height:calc(100svh - 290px)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}
