@font-face{font-family:Bravura;src:url(./bravura-CEAu5fi8.woff2)format("woff2");font-display:swap}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--ink:#211938;--muted:#655d78;--purple:#5037ad;--purple-strong:#412b96;--lavender:#f4f0fa;--line:#e8e1f1;--white:#fff;color:var(--ink);background:var(--lavender);font-synthesis:none;font-family:Inter,system-ui,PingFang SC,Microsoft YaHei,Noto Sans CJK SC,sans-serif}*{box-sizing:border-box}body{margin:0}button,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible,select:focus-visible{outline-offset:3px;outline:3px solid #8871e1}[hidden]{display:none!important}.icon-library{width:0;height:0;position:absolute}.icon{fill:none;stroke:currentColor;stroke-width:1.75px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:21px;height:21px}.topbar{background:#fdfbff;border-bottom:1px solid #e7def0}.topbar-inner,.shell{max-width:1296px;margin:0 auto;padding-inline:40px}.topbar-inner{justify-content:space-between;align-items:center;gap:16px;min-height:72px;display:flex}.brand{color:var(--ink);white-space:nowrap;align-items:center;gap:11px;font-size:1.28rem;font-weight:800;text-decoration:none;display:flex}.brand-icon{color:#fff;background:var(--purple);border-radius:12px;place-items:center;width:40px;height:40px;display:grid}.brand-icon .icon{width:25px;height:25px}.brand small{color:var(--purple);letter-spacing:.11em;margin-left:7px;font-size:.75rem;font-weight:750}.connection{align-items:center;gap:12px;min-width:0;display:flex}.connection-state{color:#5d536e;border:1px solid var(--line);background:#f8f5fc;border-radius:9px;align-items:center;gap:8px;min-width:0;padding:8px 11px;font-size:.875rem;font-weight:650;display:inline-flex}#connection-text{white-space:nowrap;text-overflow:ellipsis;max-width:200px;overflow:hidden}.status-dot{background:#9a91ac;border-radius:50%;flex:none;width:8px;height:8px}.connection-state.connected{color:#245c48;background:#edf8f2;border-color:#dceee4}.connected .status-dot{background:#3c8a6b}.button{white-space:nowrap;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:43px;padding:0 15px;font-size:.9rem;font-weight:700;transition:background .15s,color .15s,border-color .15s;display:inline-flex}.button .icon{width:17px;height:17px}.button-primary,.button-connect{background:var(--purple);color:#fff}.button-primary:hover,.button-connect:hover{background:var(--purple-strong)}.button-secondary{color:var(--purple);background:#fff;border-color:#e4dcf0}.button-secondary:hover:enabled{background:#f4edff;border-color:#d9cdee}.button:disabled{color:#6f657e;background:#f6f3fa;border-color:#eae4f2}.shell{padding-top:36px}.intro{justify-content:space-between;align-items:end;gap:18px;margin-bottom:24px;display:flex}h1,h2,p{margin:0}h1{letter-spacing:-.048em;font-size:clamp(2.125rem,4vw,3rem);font-weight:850;line-height:1.2}h1 span{color:#775acd;margin-left:.08em}.intro p{color:var(--muted);margin-top:10px;line-height:1.55}.intro .button{margin-bottom:1px}.intro-actions{flex-wrap:wrap;gap:8px;display:flex}.studio-grid{grid-template-columns:minmax(0,1fr) minmax(300px,.47fr);align-items:stretch;gap:20px;display:grid}.card{background:var(--white);border:1px solid #e6deef;border-radius:17px;min-width:0;padding:20px;box-shadow:0 3px 11px #37205706}.card-heading{align-items:center;gap:12px;display:flex}.section-icon{width:43px;height:43px;color:var(--purple);background:#eee7fc;border-radius:11px;flex:none;place-items:center;display:grid}.record-icon{background:#f1e9fc}h2{font-size:1.11rem;font-weight:800;line-height:1.3}.card-heading p{color:var(--muted);margin-top:4px;font-size:.875rem}.text-button{color:var(--purple);background:0 0;border:0;padding:5px;font-size:.875rem;font-weight:700}.text-button:hover:enabled{text-underline-offset:3px;text-decoration:underline}.text-button:disabled{color:#746a83}.clear-score{margin-left:auto}.score-paper{background:linear-gradient(#fcfaff,#f8f4fc);border:1px solid #efe8f7;border-radius:12px;align-items:center;min-height:212px;margin-top:17px;display:flex;position:relative;overflow:hidden}.score-state{color:#665b7a;z-index:1;background:#f0e9f9;border-radius:6px;padding:3px 8px;font-size:.75rem;font-weight:700;position:absolute;top:10px;right:12px}.score-state.live{color:var(--purple);background:#eae0fe}.staff{width:100%;min-height:190px;display:block;overflow:visible}.staff-line{stroke:#c9bddb;stroke-width:1px}.staff-brace{fill:none;stroke:#b5a5ce;stroke-width:1.4px}.clef{fill:#6b5890;font:36px Bravura,serif}.score-note{color:#6b51b0}.score-note.active{color:#5335b3}.score-note .note-head{fill:currentColor}.score-note .ledger,.score-note .stem{stroke:currentColor;stroke-width:1.15px}.score-note .accidental{fill:currentColor;font:25px Bravura,serif}.note-readout{align-items:center;gap:12px;min-height:45px;padding-top:11px;display:flex}.note-label{color:var(--muted);flex:none;font-size:.875rem;font-weight:680}.note-names{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.note-chip{color:var(--purple);background:#eee7fb;border-radius:6px;padding:3px 8px;font-size:.9rem;font-weight:800}.empty-note{color:#776b88;font-weight:650}.pitch-guide{color:var(--muted);white-space:nowrap;margin-left:auto;font-size:.813rem}.record-card{flex-direction:column;display:flex}.record-modes{background:#f3eef8;border-radius:10px;grid-template-columns:1fr 1fr;gap:3px;margin-top:17px;padding:4px;display:grid}.record-modes button{color:#635973;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:6px;min-height:33px;font-size:.875rem;font-weight:700;display:inline-flex}.record-modes .icon{width:16px;height:16px}.record-modes button[aria-pressed=true]{color:var(--purple);background:#fff;border-color:#eae2f3;box-shadow:0 1px 3px #4423630b}.record-modes button:disabled{opacity:.65}.record-display{min-height:119px;color:var(--purple-strong);background:#eee6fb;border-radius:11px;flex-direction:column;justify-content:center;place-items:center;gap:5px;margin-top:11px;display:flex;position:relative;overflow:hidden}.record-display.recording{color:#942949;background:#faeaf0}.timer{letter-spacing:-.07em;z-index:1;font:760 2.32rem/1.04 ui-monospace,SFMono-Regular,Consolas,monospace}.timer span{letter-spacing:-.035em;font-size:.62em}.record-status{z-index:1;text-align:center;padding-inline:9px;font-size:.813rem;font-weight:700;position:relative}.wave{opacity:.5;pointer-events:none;justify-content:space-around;align-items:center;width:96%;height:82%;display:flex;position:absolute}.wave i{background:#d9c9f2;border-radius:6px;width:5px;height:33%}.wave i:nth-child(3n){height:50%}.wave i:nth-child(4n){height:70%}.wave i:nth-child(5n){height:91%}.wave i:nth-child(n+5):nth-child(-n+11){opacity:.35}.recording .wave i{background:#efadbf}.record-actions{grid-template-columns:1fr auto;gap:8px;margin-top:11px;display:grid}.record-dot{background:currentColor;border-radius:50%;width:9px;height:9px}.recording-button{background:#a23654}.recording-button:hover{background:#8a2944}.recording-button .record-dot{border-radius:2px}.record-help{color:var(--muted);align-items:start;gap:6px;margin-top:10px;font-size:.813rem;line-height:1.45;display:flex}.record-help .icon{width:15px;height:15px;margin-top:1px}.take-actions{flex-wrap:wrap;gap:6px 14px;margin-top:4px;display:flex}.keyboard-card{margin-top:20px}.range-control{border:1px solid var(--line);white-space:nowrap;background:#f8f5fc;border-radius:9px;align-items:center;gap:7px;margin-left:auto;padding:3px;display:flex}.range-control span{text-align:center;min-width:73px;color:var(--purple-strong);font-size:.86rem;font-weight:700}.icon-button{width:31px;height:31px;color:var(--purple);background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.icon-button:hover:enabled{background:#eae0fa}.icon-button:disabled{opacity:.42}.icon-button .icon{width:17px;height:17px}.keys-scroll{background:#231c36;border-radius:10px;margin-top:16px;overflow-x:auto}.keyboard{--key-height:112px;--key-count:22;height:var(--key-height);min-width:calc(var(--key-count) * 25px);touch-action:none;-webkit-user-select:none;user-select:none;margin:5px;display:flex;position:relative}.key{touch-action:none;border-radius:0 0 4px 4px;justify-content:center;align-items:end;padding:0 0 9px;font-size:.75rem;font-weight:700;display:flex}.key:focus-visible{outline-offset:-4px;z-index:4}.white-key{color:#625674;background:linear-gradient(#fff 69%,#f4f0fa);border:0;border-right:1px solid #ddd4ec;flex:1 1 0;min-width:0;box-shadow:inset 0 -5px #e9e1f3}.white-key:last-of-type{border-right:0}.white-key.middle-c{color:#542fac;background:linear-gradient(#fff 56%,#eae0fd);box-shadow:inset 0 -5px #caafea}.white-key:hover,.white-key.active,.white-key.middle-c.active{color:#29204a;background:#c4a9fb;box-shadow:inset 0 -5px #a484e7}.black-key{z-index:2;width:calc(57% / var(--key-count));color:#f5efff;background:linear-gradient(110deg,#413552,#251d37 80%);border:1px solid #1e182c;border-top:0;height:62%;padding-bottom:7px;position:absolute;top:0;transform:translate(-50%);box-shadow:inset 0 -5px #171120}.black-key:hover,.black-key.active{background:#7354c6;box-shadow:inset 0 -5px #5539a5}.keyboard-footer{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:10px;margin-top:11px;font-size:.813rem;display:flex}.keyboard-footer i{background:#a582de;border-radius:2px;width:9px;height:9px;margin-right:6px;display:inline-block}.shortcut-divider{margin:0 8px}.practice-card,.practice-keyboard{--right-hand:#6643ba;--left-hand:#15756c}.practice-heading{grid-template-columns:auto minmax(0,1fr) auto;display:grid}.practice-import{cursor:pointer;margin-left:auto;position:relative}.practice-import input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.practice-import:focus-within{outline-offset:3px;outline:3px solid #8871e1}.practice-status,.practice-error{color:var(--muted);margin-top:14px}.practice-error{color:#942949}.practice-controls{flex-wrap:wrap;align-items:center;gap:10px;margin-top:16px;display:flex}.practice-controls .button{min-width:104px}.practice-loop[aria-pressed=true]{color:var(--purple-strong);background:#eae0fe;border-color:#b59be7}.practice-measures{margin-left:0}.practice-measures span{min-width:86px}.practice-speed{color:var(--muted);align-items:center;gap:7px;font-size:.85rem;display:inline-flex}.practice-speed select{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:9px;padding:8px}.practice-paper{border:1px solid var(--line);background:#fff;border-radius:10px;max-height:400px;margin-top:14px;overflow:auto}.practice-paper>svg{width:100%;min-width:690px;max-width:1000px;margin-inline:auto;display:block}.practice-paper :is(ellipse,path,polygon,polyline,rect){stroke:currentColor}.practice-paper .placeholder{visibility:hidden}.practice-paper tspan[font-family=Leipzig]{font-family:Bravura,serif}.practice-paper :is(.ending,.fing,.reh,.tempo){font-weight:700}.practice-paper .practice-right{color:var(--right-hand);fill:currentColor}.practice-paper .practice-left{color:var(--left-hand);fill:currentColor}.practice-paper .practice-current-measure>.barLine{color:var(--right-hand)}.practice-paper .measure[role=button]{cursor:pointer}.practice-paper .practice-measure-target{fill:#0000;stroke:none}.practice-paper .measure:hover>.practice-measure-target,.practice-paper .measure:focus-visible>.practice-measure-target,.practice-paper .practice-current-measure>.practice-measure-target{fill:#6643ba13}.practice-keyboard .keyboard{min-width:calc(var(--key-count) * 14px)}.practice-keyboard .white-key{position:relative}.key-guides{pointer-events:none;justify-content:center;gap:2px;display:grid;position:absolute;inset:auto 1px 28%}.black-key .key-guides{bottom:28%}.key-guides .finger{color:#fff;border-radius:4px;min-width:13px;padding:1px 2px;font-size:.73rem}.guide-right.white-key{color:#352260;background:#ded0fa}.guide-left.white-key{color:#174640;background:#c6ede5}.guide-right.black-key,.key-guides .right,.practice-legend .right{background:var(--right-hand)}.guide-left.black-key,.key-guides .left,.practice-legend .left{background:var(--left-hand)}.practice-legend{justify-content:flex-start;gap:6px 20px}.practice-legend span:last-child{margin-left:auto}.footer{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:8px;margin:16px 0 22px;font-size:.813rem;display:flex}dialog{border:1px solid var(--line);width:min(440px,100% - 28px);color:var(--ink);border-radius:17px;padding:20px;box-shadow:0 20px 70px #26184d4a}dialog::backdrop{background:#23183769}.dialog-heading{align-items:center;gap:10px;display:flex}.dialog-heading form{margin-left:auto}dialog>p{color:var(--muted);margin-top:13px;line-height:1.5}dialog>.button{width:100%;margin-top:10px}.device-picker{flex-direction:column;gap:5px;margin-top:12px;font-size:.9rem;font-weight:700;display:flex}.device-picker select{appearance:none;border:1px solid var(--line);color:var(--ink);background:#f8f5fc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%235037ad' stroke-width='1.5'/%3E%3C/svg%3E") right 10px center no-repeat;border-radius:8px;padding:9px 34px 9px 10px}.device-feedback{font-size:.875rem}#disconnect{margin-top:7px}@media (width>=1450px){.shell{padding-top:44px}.score-paper{min-height:233px}.record-display{min-height:135px}.keyboard{--key-height:132px}}@media (width<=900px){.topbar-inner,.shell{padding-inline:24px}.studio-grid{grid-template-columns:minmax(0,1fr) minmax(272px,.53fr);gap:14px}.card{padding:16px}.keyboard-card{margin-top:14px}}@media (width<=690px){.studio-grid{grid-template-columns:1fr}.score-paper{min-height:158px}.staff{min-height:155px}.shell{padding-top:25px}}@media (pointer:coarse){.keyboard,.key{touch-action:pan-x}}@media (width<=465px){.topbar-inner,.shell{padding-inline:12px}.brand small{display:none}.topbar-inner{gap:7px;min-height:60px}.connection{gap:5px}.connection-state{padding:7px;font-size:.77rem}#connection-text{max-width:112px}.button-connect{min-height:39px;padding:0 9px}.intro{flex-wrap:wrap;gap:11px;margin-bottom:15px}.intro p{margin-top:6px}.card{padding:12px}.range-control{gap:0}.range-control span{min-width:61px;font-size:.8rem}.range-control .icon-button{width:24px}.practice-heading{grid-template-columns:auto minmax(0,1fr)}.practice-import{grid-column:2;justify-self:start}.practice-import,.practice-legend span:last-child{margin-left:0}.practice-keyboard .key{font-size:.61rem}}
