:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#e7edf4;background:#101b29;font-synthesis:none;font-size:16px;color-scheme:dark}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid #77e9c6;outline-offset:3px}button:disabled{cursor:default}header{height:86px;border-bottom:1px solid #ffffff12;display:flex;align-items:center;justify-content:space-between;padding:0 4%}.brand{text-decoration:none;color:#fff;font-weight:650;font-size:23px;letter-spacing:-1px;display:flex;align-items:center;gap:12px}.brand-icon{color:#74dfbe;font-size:34px}.beta{font-size:10px;letter-spacing:1.5px;color:#8392a4;border:1px solid #ffffff20;border-radius:4px;padding:5px;margin-left:12px}.connection{font-size:13px;color:#a3b1c0}main{max-width:1600px;margin:auto;display:grid;grid-template-columns:330px minmax(0,1fr);min-height:calc(100vh - 86px)}aside{padding:38px 24px 20px 32px;border-right:1px solid #ffffff12}.eyebrow{color:#78d9b9;font-size:11px;font-weight:700;letter-spacing:2px}h1{font-family:Georgia,serif;font-weight:400;font-size:33px;line-height:1.3;letter-spacing:-.8px;margin:19px 0 14px}h1 em{font-style:normal;color:#92a1b4}.intro{font-size:14px;line-height:1.8;color:#95a5b8;margin-bottom:32px}.library-heading{display:flex;justify-content:space-between;align-items:center}.library-heading h2{font-size:15px;font-weight:600}.library-heading span{font-size:12px;color:#8d9caf}.search{width:100%;background:#172435;border:1px solid #ffffff13;border-radius:7px;padding:11px 13px;margin:8px 0 16px;font-size:14px;color:#fff}nav{display:grid;gap:5px}.song{display:flex;align-items:center;gap:12px;text-align:left;width:100%;border:1px solid transparent;background:transparent;color:#9facbd;border-radius:7px;padding:12px 9px}.song:hover{background:#ffffff05}.song.selected{background:#24443f70;border-color:#68d6b34d;color:#ddfff2}.song-number{font-size:12px;opacity:.6}.song-copy{min-width:0;flex:1}.song strong{font-size:13px;font-weight:550;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.song small{font-size:11px;color:#8d9cac;display:block;margin-top:5px}.song-symbol{color:#70d4b5;font-size:20px}.library-note{font-size:12px;line-height:1.8;color:#7f90a4;margin:24px 8px}.practice{padding:38px 40px 22px;min-width:0}.piece-header{display:flex;justify-content:space-between;align-items:center;gap:20px}.piece-header h2{font-size:28px;letter-spacing:-.6px;font-weight:550;margin:12px 0 8px}.piece-header p{font-size:13px;color:#98a8bb;margin:0}.hand{display:flex;flex-direction:column;text-align:center;font-size:18px;border:1px solid #ffffff20;border-radius:8px;padding:10px 14px;color:#8edabe}.hand span{font-size:10px;color:#9baabd;margin-top:4px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:26px 0 22px}.segmented{background:#0b1420;padding:4px;border:1px solid #ffffff0d;border-radius:8px;display:flex}.segmented button{border:0;background:transparent;color:#91a1b4;padding:9px 15px;font-size:13px;border-radius:5px}.segmented .active{background:#29384b;color:#f1f5f9}.tempo{display:flex;gap:9px;align-items:center;font-size:12px;color:#91a1b4}.tempo strong{color:#eef4f8;font-weight:500}input[type=range]{accent-color:#73dcb8;width:95px}.instrument{background:#0b141f;border:1px solid #ffffff16;border-radius:10px;padding:0 16px 10px;overflow:hidden;box-shadow:0 16px 50px #00000020}.roll-top{display:flex;justify-content:space-between;padding:16px 0;font-size:12px;color:#b4c7d7;gap:12px}.roll-top span:last-child{font-size:9px;letter-spacing:1.4px;border:1px solid #70dbb544;border-radius:4px;padding:3px 6px;color:#80d6ba}.roll{height:310px;position:relative;overflow:hidden;background:linear-gradient(#111e2a,#172535)}.lane{position:absolute;top:0;bottom:0;border-right:1px solid #ffffff09}.beat-line{position:absolute;width:100%;height:1px;background:#ffffff09}.falling{position:absolute;background:linear-gradient(180deg,#68deba,#43b997);border:1px solid #a5f5da77;box-shadow:0 0 18px #52d0a41a;border-radius:5px;color:#102c26;display:flex;align-items:flex-end;justify-content:center;padding-bottom:5px;font-size:11px;font-weight:700;z-index:2}.falling.sharp{background:#b59afa}.falling.next{box-shadow:0 0 17px #5df4c24d}.strike-line{position:absolute;bottom:0;left:0;right:0;height:3px;background:#a5ffe0;box-shadow:0 0 13px #70eac6;z-index:5}.roll-hint{position:absolute;top:25px;left:0;right:0;text-align:center;z-index:3;pointer-events:none}.roll-hint>span{font-size:30px;color:#719c98}.roll-hint p{font-size:14px;color:#b8c7d5}.roll-hint small{font-size:12px;color:#8698ab}.keyboard{height:150px;position:relative;touch-action:manipulation;-webkit-user-select:none;user-select:none}.key{position:absolute;top:0;border:0;display:flex;align-items:flex-end;justify-content:center;padding:0 0 13px;border-radius:0 0 5px 5px;touch-action:manipulation}.white{height:100%;background:linear-gradient(#e6e6e3,#fffef8 85%,#cecfcb);border:1px solid #79808a;box-shadow:inset 0 -5px #00000010;color:#74808a;z-index:1}.black{height:62%;background:linear-gradient(90deg,#111a26,#293344 55%,#101824);border:1px solid #060d15;box-shadow:inset 0 -6px #0005,2px 5px 3px #00000030;color:#8090a1;z-index:3}.key span{font-size:10px;pointer-events:none}.white.target{background:linear-gradient(#d8f4e9,#b6e9d7);color:#1b6550}.black.target{background:#307c69;color:#c8ffeb}.key.pressed{background:#67dfb7;color:#122d25;box-shadow:inset 0 4px 8px #0004}.keyboard-caption{display:flex;justify-content:space-between;color:#7b8da3;font-size:10px;padding:12px 2px 0}.transport{display:flex;gap:12px;align-items:center;padding:24px 0}.reset{background:#1a2a3d;border:1px solid #ffffff20;border-radius:7px;width:44px;height:44px;color:#a6b6c8;font-size:24px}.start{border:0;background:#87e5c5;color:#143a30;font-weight:650;padding:14px 24px;border-radius:7px;font-size:14px;min-width:150px}.start:hover{background:#a8f3d9}.progress{flex:1;margin-left:15px}.progress>div{display:flex;justify-content:space-between;color:#90a2b7;font-size:11px;margin-bottom:8px;gap:10px}progress{height:5px;width:100%;appearance:none;border:0;border-radius:5px;background:#293648}progress::-webkit-progress-bar{background:#293648;border-radius:5px}progress::-webkit-progress-value{background:#7cddbc;border-radius:5px}progress::-moz-progress-bar{background:#7cddbc}.tips{border-top:1px solid #ffffff13;border-bottom:1px solid #ffffff13;padding:22px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.tips>div{display:flex;gap:10px}.tips>div>span{font-size:11px;color:#6cc5a8;margin-top:3px}.tips p{font-size:11px;line-height:1.7;color:#8e9fb4;margin:0}.tips strong{display:block;color:#c6d3df;font-size:12px;font-weight:550;margin-bottom:5px}footer{font-size:11px;color:#6f8198;display:flex;justify-content:space-between;gap:10px;margin-top:22px}.mic-panel{display:flex;align-items:center;gap:15px;font-size:13px;color:#a3b9cc;margin-bottom:18px}.mic-panel button{border:1px solid #7ddbbb88;background:#183a34;color:#c4f9e6;padding:10px 14px;border-radius:6px}.notice{background:#60472855;border:1px solid #dfbc6c66;color:#ffe0a9;font-size:14px;padding:14px;border-radius:7px}@media(min-width:1500px){.roll{height:380px}.practice{padding:44px 54px}}@media(max-width:1050px){main{grid-template-columns:260px minmax(0,1fr)}aside{padding:28px 16px}.practice{padding:30px 22px}.toolbar{align-items:flex-start;flex-wrap:wrap}.tips{gap:12px}.tips>div{gap:6px}.brand .beta{display:none}.song{padding:11px 6px;gap:8px}h1{font-size:28px}.piece-header h2{font-size:24px}.roll{height:290px}footer{flex-wrap:wrap}.tempo{font-size:12px}.start{padding:14px 16px;min-width:130px}.progress{margin-left:0}}@media(max-width:720px){header{height:65px;padding:0 18px}.brand{font-size:21px}.connection{font-size:11px}main{display:flex;flex-direction:column}aside{padding:23px 18px 10px;border:0}h1,.intro,.library-note,aside>.eyebrow{display:none}.library-heading h2{margin:0}.search{margin:12px 0}nav{display:flex;overflow-x:auto;padding-bottom:8px;gap:8px}.song{min-width:190px;width:190px;padding:12px}.song-symbol{display:none}.practice{padding:22px 18px}.piece-header h2{font-size:23px}.piece-header p{font-size:11px}.toolbar{gap:12px;margin:20px 0}.tempo{width:100%;justify-content:space-between}.tempo input{flex:1;max-width:220px}.roll{height:260px}.instrument{padding:0 7px 8px}.roll-top{font-size:11px}.roll-hint small{display:block;font-size:11px;max-width:210px;margin:auto}.keyboard{height:130px}.key span{font-size:8px}.transport{gap:8px;flex-wrap:wrap}.progress{flex-basis:100%;margin-top:8px}.start{flex:1}.tips{grid-template-columns:1fr;gap:15px}.tips p{font-size:12px}.tips strong{font-size:13px}.mic-panel{flex-wrap:wrap}footer{font-size:10px}.falling{font-size:8px;padding-bottom:5px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}.view-controls{display:flex;align-items:center;gap:12px}.view-toggle{background:#1a2a3d;border:1px solid #ffffff25;border-radius:7px;padding:11px 14px;color:#d9e9f3;font-size:13px;white-space:nowrap;min-height:44px}.view-toggle:hover{border-color:#85e2c1}.view-toggle[aria-pressed=true]{background:#24443f;color:#b9f5df}.focus-mode header{height:52px}.focus-mode header .beta,.focus-mode header .connection,.focus-mode aside,.focus-mode .tips,.focus-mode footer,.focus-mode .piece-header .eyebrow,.focus-mode .hand{display:none}.focus-mode main{display:block;max-width:none;min-height:calc(100dvh - 52px)}.focus-mode .practice{width:100%;max-width:1800px;margin:auto;padding:18px 24px}.focus-mode .piece-header h2{font-size:24px;margin:0 0 6px}.focus-mode .piece-header p{font-size:12px}.focus-mode .toolbar{margin:16px 0}.focus-mode .roll{height:clamp(180px,calc(100dvh - 430px),650px)}.focus-mode .keyboard{height:150px}.focus-mode .transport{padding:16px 0 0}.focus-mode .roll-top{padding:12px 0}.focus-mode .instrument{border-radius:8px}.focus-mode .mic-panel{margin-bottom:12px}@media(max-width:720px){.view-controls{gap:6px}.view-controls .hand{display:none}.view-toggle{padding:10px;font-size:12px}.focus-mode .practice{padding:16px 10px}.focus-mode .piece-header h2{font-size:19px}.focus-mode .roll{height:clamp(180px,calc(100dvh - 460px),650px)}.focus-mode .keyboard{height:130px}.focus-mode .toolbar{margin:12px 0}}@media(min-width:901px)and (max-height:850px){header{height:60px}.practice{padding-top:22px}.piece-header h2{font-size:23px;margin-top:8px}.toolbar{margin:18px 0}.roll{height:190px}.keyboard{height:115px}.transport{padding:18px 0}aside{padding-top:24px}}@media(min-width:721px)and (max-width:900px){main{display:flex;flex-direction:column}aside{padding:20px 24px 8px;border:0}aside>h1,aside>.intro,aside>.eyebrow,.library-note{display:none}.library-heading h2{margin:0}.search{margin:12px 0}nav{display:flex;overflow-x:auto;gap:8px;padding-bottom:8px}.song{min-width:205px;width:205px;padding:12px}.practice{padding:22px 24px}.keyboard{height:145px}.roll{height:280px}}.focus-mode .roll{height:clamp(120px,calc(100dvh - 510px),650px)}.focus-mode:has(.mic-panel) .roll{height:clamp(120px,calc(100dvh - 565px),650px)}@media(max-width:720px){.focus-mode .roll{height:clamp(120px,calc(100dvh - 550px),650px)}.focus-mode:has(.mic-panel) .roll{height:clamp(120px,calc(100dvh - 635px),650px)}}.lesson-options{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-8px 0 18px}.keyboard-size{font-size:12px;color:#9aadc0;display:flex;align-items:center;gap:10px}.keyboard-size select{font:inherit;min-height:42px;background:#1a2a3d;color:#d9e9f3;border:1px solid #ffffff25;border-radius:6px;padding:9px 28px 9px 12px;appearance:none;background-image:linear-gradient(45deg,transparent 50%,#9aadc0 50%),linear-gradient(135deg,#9aadc0 50%,transparent 50%);background-position:calc(100% - 14px) 18px,calc(100% - 10px) 18px;background-size:4px 4px;background-repeat:no-repeat}.segmented button:disabled{opacity:.4}.two-hand-help{display:flex;gap:14px;align-items:center;flex-wrap:wrap;font-size:11px;line-height:1.6;color:#91a7bb;margin:0 0 12px}.left-legend{color:#ffd58b}.right-legend{color:#7de4be}.falling.left-hand{background:linear-gradient(#ffdc99,#dfa953);border-color:#ffebbf99;color:#4e3312}.key.left-target{background:linear-gradient(#fff0cc,#edc67b);color:#6e4714}.focus-mode .lesson-options{margin:-4px 0 14px}.focus-mode .roll{height:clamp(110px,calc(100dvh - 565px),650px)}.focus-mode:has(.two-hand-help) .roll{height:clamp(110px,calc(100dvh - 598px),650px)}.focus-mode:has(.mic-panel) .roll{height:clamp(110px,calc(100dvh - 620px),650px)}@media(max-width:720px){.lesson-options{flex-wrap:wrap;margin-top:0}.keyboard-size{width:100%;justify-content:space-between}.focus-mode .roll{height:clamp(110px,calc(100dvh - 655px),650px)}.focus-mode:has(.two-hand-help) .roll{height:clamp(110px,calc(100dvh - 730px),650px)}.focus-mode:has(.mic-panel) .roll{height:clamp(110px,calc(100dvh - 735px),650px)}.falling,.key span{font-size:8px}}
