:root{--font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", system-ui, sans-serif;--accent: #0a84ff;--green: #30d158;--red: #ff453a;--amber: #ffbe3c;--text: rgba(255, 255, 255, .96);--muted: rgba(235, 235, 245, .6);--hair: rgba(255, 255, 255, .1);--safe-b: env(safe-area-inset-bottom, 0px);--safe-t: env(safe-area-inset-top, 0px);--ambient: radial-gradient(60% 40% at 12% 8%, rgba(70, 95, 255, .42), transparent 70%), radial-gradient(55% 38% at 92% 32%, rgba(48, 209, 120, .24), transparent 70%), radial-gradient(75% 45% at 45% 104%, rgba(160, 80, 255, .32), transparent 70%), #05060c}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;height:100%;background:#000;color:var(--text);overscroll-behavior:none}body{font-family:var(--font);-webkit-font-smoothing:antialiased;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}button{font:inherit;color:inherit;cursor:pointer}.hidden{display:none!important}.icon{width:24px;height:24px;flex:none}#app{position:fixed;inset:0;max-width:520px;margin:0 auto;overflow:hidden;overflow:clip;background:#000}.glass{background:linear-gradient(160deg,#ffffff2b,#ffffff0d 60%);-webkit-backdrop-filter:blur(24px) saturate(170%);backdrop-filter:blur(24px) saturate(170%);border:1px solid rgba(255,255,255,.16);box-shadow:inset 0 1px #ffffff47,inset 0 -1px #ffffff0a,0 10px 34px #00000059}@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){.glass{background:#262834f0}}.ambient,.page{background:var(--ambient)}.view{position:absolute;inset:0;display:none}.view.active{display:block}.page{overflow-y:auto;padding:calc(18px + var(--safe-t)) 16px calc(130px + var(--safe-b))}.large-title{font-size:34px;font-weight:700;letter-spacing:.2px;margin:8px 6px 4px}.group h3{font-size:12.5px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--muted);margin:22px 16px 7px}.list{border-radius:22px;overflow:hidden}.list-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:10px 16px;border-bottom:.5px solid var(--hair);width:100%}.list-row:last-child{border-bottom:0}.list-row.stacked{flex-direction:column;align-items:stretch;gap:10px}.row-label{font-size:16.5px;text-align:left}.row-label small{display:block;font-size:12.5px;color:var(--muted);margin-top:2px}.nav-row{border:0;border-bottom:.5px solid var(--hair);background:none;text-align:left}.nav-row:active{background:#ffffff14}.nav-row .row-label{flex:1}.value{color:var(--muted);font-size:16px}.chevron{width:18px;height:18px;color:#ebebf559}.row-icon{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;background:linear-gradient(145deg,#5e7bff,#8b5cf6);flex:none}.row-icon .icon{width:18px;height:18px}.text-field{background:#ffffff14;border:1px solid rgba(255,255,255,.12);border-radius:12px;color:var(--text);padding:9px 12px;font:16px var(--font);width:56%;outline:none;-webkit-user-select:text;user-select:text}.text-field:focus{border-color:var(--accent)}.text-field::placeholder{color:#ebebf559}.link-field{width:100%;height:90px;resize:none;font-size:13px}.menu-button{display:inline-flex;align-items:center;gap:4px;border:0;border-radius:999px;padding:7px 10px 7px 14px;background:#ffffff1a;font-size:15.5px}.menu-button .icon{width:16px;height:16px;color:var(--muted)}.segmented{display:flex;padding:2px;border-radius:10px;background:#7676803d;min-width:0}.segmented button{flex:1;border:0;border-radius:8px;background:none;padding:6px 12px;font-size:13.5px;font-weight:600;transition:background .2s}.segmented button.selected{background:#ffffff3d;box-shadow:0 2px 8px #00000040}.switch{appearance:none;-webkit-appearance:none;width:51px;height:31px;border-radius:16px;background:#7878805c;position:relative;margin:0;flex:none;transition:background .2s;cursor:pointer}.switch:after{content:"";position:absolute;top:2px;left:2px;width:27px;height:27px;border-radius:50%;background:#fff;box-shadow:0 3px 8px #00000040;transition:left .2s}.switch:checked{background:var(--green)}.switch:checked:after{left:22px}.swatches{display:grid;grid-template-columns:repeat(9,1fr);gap:6px;justify-items:center}.swatch{width:100%;max-width:30px;aspect-ratio:1;border-radius:50%;border:0;background:var(--c);box-shadow:inset 0 0 0 1px #00000040,0 0 12px color-mix(in srgb,var(--c) 45%,transparent)}.swatch.selected{outline:2px solid #fff;outline-offset:3px}.slider{width:100%;accent-color:var(--accent)}.meter{position:relative;height:6px;border-radius:3px;background:#ffffff1a;overflow:hidden}.meter-fill{height:100%;width:0;background:#fff6}.meter-fill.blowing{background:var(--green)}.meter-floor{position:absolute;top:0;bottom:0;width:2px;background:var(--amber)}.link{border:0;background:none;color:var(--accent);font-size:16px;padding:0}.link:disabled{color:var(--muted);cursor:default}.pill-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;padding:11px 20px;background:#ffffff24;font-size:15.5px;font-weight:600;box-shadow:inset 0 1px #fff3}.pill-button .icon{width:18px;height:18px}.pill-button.primary{background:linear-gradient(180deg,#3d9bff,var(--accent));box-shadow:inset 0 1px #ffffff59,0 6px 20px #0a84ff59}.pill-button.ghost{background:none;box-shadow:inset 0 0 0 1px #ffffff40}.pill-button.big{padding:14px 30px;font-size:17px}.pill-button:active,.icon-button:active,.tab:active:not(:disabled){transform:scale(.96)}.pill-button:disabled{opacity:.45}.text-button{border:0;background:none;color:#ffffffbf;font-size:16px;padding:6px 4px}.icon-button{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;padding:0;flex:none}.icon-button .icon{width:22px;height:22px}.button-row{display:flex;gap:10px;margin-top:14px}.ocarina-canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none}.hints{position:absolute;inset:0;pointer-events:none;transition:opacity .6s}.hints.hidden{display:block!important;opacity:0}.hint{position:absolute;font-size:20px;font-weight:500;line-height:1.2;text-align:center;text-shadow:0 0 10px #000}.hint-touch{left:0;right:0}.hint-antenna{left:14px;top:calc(74px + var(--safe-t));font-size:15px;color:var(--muted)}.hint-blow{right:12px;bottom:calc(16px + var(--safe-b));font-size:15px}.hint-arrow{margin:4px auto 0;width:0;height:0;border-left:12px solid transparent;border-right:12px solid transparent;border-top:14px solid var(--amber)}.touch-mode .hint-blow{display:none}.menu{position:absolute;top:calc(12px + var(--safe-t));left:12px;z-index:20;display:flex;flex-direction:column;align-items:flex-start;gap:10px;pointer-events:none}.menu>*{pointer-events:auto}.menu.fixed{top:auto;bottom:calc(14px + var(--safe-b));left:0;right:0;align-items:center}.tabbar{display:flex;gap:2px;padding:5px;border-radius:999px}.tab{width:70px;height:52px;border:0;border-radius:999px;background:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#ffffffc7;font-size:10.5px;font-weight:500;transition:background .2s,color .2s}.tab.active{background:#ffffff2b;color:#fff;box-shadow:inset 0 1px #fff3}.tab:disabled{opacity:.35;cursor:default}.tab.rec .icon{color:var(--red)}.menu:not(.expanded) .main-tabs{display:none}.menu.expanded:not(.fixed) .main-tabs,.menu.expanded:not(.fixed) .record-bar.visible{animation:drop .25s ease}@keyframes drop{0%{opacity:0;transform:translateY(-10px)}}.record-bar{display:none}.record-bar.visible{display:flex}.record-bar .tab{width:64px;height:46px}.menu-toggle{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;padding:0}.menu-toggle .icon{width:26px;height:26px}.menu.fixed .menu-toggle{display:none}.status-pill{position:absolute;top:calc(12px + var(--safe-t));left:50%;transform:translate(-50%);z-index:16;border-radius:999px;padding:9px 16px;font-size:14px;font-weight:600;white-space:nowrap}.status-pill.rec{color:#ff6b60}.guided-active .status-pill{top:calc(176px + var(--safe-t))}.song-button{position:absolute;top:calc(12px + var(--safe-t));right:12px;z-index:5;width:54px;height:54px}.menu-open .hint-antenna{opacity:0}.guide-pill{position:absolute;top:calc(12px + var(--safe-t));left:76px;right:12px;height:54px;z-index:5;display:flex;align-items:center;gap:2px;padding:4px 4px 4px 6px;border-radius:999px}.pill-text{border:0;background:none;text-align:left;padding:2px 8px;min-width:0;flex:1;display:flex;flex-direction:column}.pill-title{font-size:14.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pill-count{font-size:12px;color:var(--muted)}.guided.complete .pill-count{color:var(--green);font-weight:600}.pill-icon{width:38px;height:38px;border:0;border-radius:50%;background:none;display:grid;place-items:center;padding:0;flex:none}.pill-icon .icon{width:20px;height:20px}.pill-icon.on{background:#0a84ff59}.score{position:absolute;left:10px;right:10px;top:calc(76px + var(--safe-t));height:94px;border-radius:26px;overflow:hidden;z-index:4;transition:opacity .25s}.menu-open .score,.menu-open .guide-pill,.menu-open .song-button{opacity:0;pointer-events:none}.guide-pill,.song-button{transition:opacity .25s}.score-viewport{height:100%;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 90%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 90%,transparent)}.score-track{display:flex;align-items:center;gap:8px;height:100%;padding:0 14px;transition:transform .35s cubic-bezier(.2,.8,.2,1)}.note-card{flex:none;height:72px;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:#ffffff0f;border:1px solid rgba(255,255,255,.09);transition:opacity .3s,background .2s,border-color .2s,transform .2s}.note-card .fingering{width:30px;height:32px}.note-card span{font-size:12.5px;font-weight:600}.note-card.rest{background:none;border-style:dashed;color:var(--muted)}.note-card.current{background:#ffbe3c2e;border-color:#ffbe3cbf;box-shadow:0 0 18px #ffbe3c59;transform:scale(1.06)}.note-card.current .covered{fill:var(--amber)}.note-card.done{opacity:.35}.note-card.wrong{border-color:var(--red);animation:shake .3s}@keyframes shake{25%{transform:translate(-3px) scale(1.06)}75%{transform:translate(3px) scale(1.06)}}.fingering circle.covered{fill:#fff}.fingering circle.open{fill:none;stroke:#ffffff8c;stroke-width:1.5}.song-list{overflow-y:auto;display:flex;flex-direction:column;margin-bottom:10px}.song-row{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-items:center;text-align:left;border:0;border-bottom:.5px solid var(--hair);background:none;padding:12px 6px}.song-row .chevron{grid-row:1 / span 2;grid-column:2}.song-group{font-size:12.5px;font-weight:600;text-transform:uppercase;letter-spacing:.4px;color:var(--muted);padding:16px 6px 4px}.song-group:first-child{padding-top:4px}.song-title{font-size:16.5px;font-weight:500}.song-meta{font-size:13px;color:var(--muted)}.song-row.selected .song-title{color:var(--amber)}.alert-overlay,.sheet-overlay,.modal-overlay{position:absolute;inset:0;z-index:100;background:#00000059;display:flex;align-items:center;justify-content:center;animation:fade .2s ease}@keyframes fade{0%{opacity:0}}.alert{width:min(290px,86%);border-radius:26px;padding:20px 16px 14px;text-align:center;background:linear-gradient(160deg,#3c3e4eb8,#1e1e28b8);animation:pop .22s ease}@keyframes pop{0%{transform:scale(1.08);opacity:0}}.alert-title{font-weight:600;font-size:17px;margin-bottom:6px}.alert-body{font-size:14px;line-height:1.35;white-space:pre-line;color:var(--muted);margin-bottom:16px}.alert-buttons{display:flex;gap:8px}.alert-button{flex:1;border:0;border-radius:999px;padding:11px 6px;background:#ffffff1f;font-size:15.5px;font-weight:500}.alert-button:last-child{background:var(--accent);font-weight:600}.alert-button:active{filter:brightness(1.25)}.sheet-overlay{align-items:flex-end}.sheet{width:calc(100% - 16px);max-height:72%;margin-bottom:calc(8px + var(--safe-b));display:flex;flex-direction:column;border-radius:30px;padding:8px 16px 14px;background:linear-gradient(160deg,#3c3e4eb3,#1a1a24bf);animation:slide .28s cubic-bezier(.2,.8,.2,1)}@keyframes slide{0%{transform:translateY(40%);opacity:0}}.sheet-grabber{width:36px;height:5px;border-radius:3px;background:#ffffff4d;margin:2px auto 10px}.sheet-title{text-align:center;font-weight:600;font-size:17px;margin-bottom:8px}.sheet-list{overflow-y:auto;display:flex;flex-direction:column}.sheet-item,.sheet-cancel{border:0;border-bottom:.5px solid var(--hair);background:none;padding:13px;font-size:17px}.sheet-item.selected{color:var(--accent);font-weight:600}.sheet-cancel{margin-top:10px;border:0;border-radius:999px;background:#ffffff1f;font-weight:600}.modal{width:min(440px,calc(100% - 24px));max-height:82%;display:flex;flex-direction:column;border-radius:30px;background:linear-gradient(160deg,#3c3e4eb3,#1a1a24bf);animation:pop .22s ease}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:16px 14px 6px 22px}.modal-head h2{margin:0;font-size:21px}.modal-head .icon-button{width:34px;height:34px}.modal-head .icon-button .icon{width:16px;height:16px}.modal-body{overflow-y:auto;padding:4px 22px 22px;font-size:15.5px;line-height:1.45;-webkit-user-select:text;user-select:text}.modal-body p{color:#ebebf5cc}.diag{font:12px ui-monospace,SF Mono,Menlo,monospace;white-space:pre-wrap;word-break:break-word;background:#0000004d;border-radius:14px;padding:12px}.credits h4{margin:14px 0 2px;font-size:13px;text-transform:uppercase;letter-spacing:.4px;color:var(--muted)}.credits ul{margin:6px 0;padding-left:18px;columns:2}.toast{position:absolute;left:50%;bottom:calc(160px + var(--safe-b));transform:translate(-50%,10px);width:max-content;max-width:86%;z-index:120;padding:10px 18px;border-radius:999px;background:#282834bf;-webkit-backdrop-filter:blur(20px) saturate(170%);backdrop-filter:blur(20px) saturate(170%);border:1px solid rgba(255,255,255,.14);font-size:14.5px;font-weight:500;text-align:center;opacity:0;transition:opacity .3s,transform .3s;pointer-events:none}.toast.show{opacity:1;transform:translate(-50%)}.busy{position:absolute;inset:0;z-index:110;background:#00000059;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;font-size:17px;font-weight:500}.spinner{width:30px;height:30px;border-radius:50%;border:3px solid rgba(255,255,255,.25);border-top-color:#fff;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.hero{margin-top:16px;border-radius:28px;padding:26px 22px 20px;text-align:center}.app-mark{width:78px;height:78px;margin:0 auto;border-radius:22px;display:grid;place-items:center;background:linear-gradient(145deg,#5e7bff,#8b5cf6 60%,#30d158 140%);box-shadow:inset 0 1px #fff6,0 10px 30px #5e7bff66}.app-mark .icon{width:48px;height:48px;color:#fff}.hero-title{font-size:26px;font-weight:700;margin-top:12px}.hero-sub{color:var(--muted);font-size:14px}.hero p{color:#ebebf5cc;font-size:15.5px;line-height:1.45;margin-bottom:0}.about-view .group{margin-top:16px}:focus-visible{outline:2px solid rgba(10,132,255,.85);outline-offset:2px}.footnote{color:var(--muted);font-size:12.5px;line-height:1.45;text-align:center;margin:20px 18px}.overlay{position:absolute;inset:0;z-index:50;display:flex;flex-direction:column}.tutorial-top{display:flex;justify-content:flex-end;padding:calc(10px + var(--safe-t)) 18px 4px}.carousel{flex:1;min-height:0;overflow:hidden;overflow:clip}.carousel-track{display:flex;height:100%;transition:transform .45s cubic-bezier(.2,.8,.2,1);touch-action:pan-y}.card{flex:0 0 calc(100% - 32px);margin:6px 16px;border-radius:32px;padding:26px 22px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;overflow-y:auto}.card h2{font-size:26px;margin:0}.card p{font-size:16.5px;line-height:1.45;margin:0}.card .muted{color:var(--muted);font-size:14.5px}.card-art{width:104px;height:104px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 35% 30%,#ffffff4d,#5e7bff59 60%,#8b5cf640);box-shadow:inset 0 1px #ffffff59;margin-bottom:8px}.card-art .icon{width:52px;height:52px}.big-fingering{width:150px;height:150px;border-radius:36px}.big-fingering .fingering{width:100px;height:104px}.card .fingering circle.covered{fill:#9aa8ff}.scale-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;width:100%;margin:6px 0 12px}.scale-cell{border-radius:16px;padding:8px 4px;display:flex;flex-direction:column;align-items:center;gap:4px;background:#ffffff12;border:1px solid rgba(255,255,255,.1)}.scale-cell .fingering{width:42px;height:44px}.scale-cell span{font-weight:600;font-size:14px}.dots{display:flex;justify-content:center;gap:7px;margin:14px 0}.dots span{width:7px;height:7px;border-radius:4px;background:#ffffff4d;transition:width .3s,background .3s}.dots span.on{width:20px;background:#fff}.tutorial-nav{display:flex;justify-content:space-between;padding:0 20px calc(22px + var(--safe-b))}.tutorial-nav .pill-button{min-width:120px}.globe-view,.globe-canvas-host{position:absolute;inset:0}.globe-canvas-host canvas{width:100%;height:100%;display:block;touch-action:none}.globe-top{position:absolute;top:calc(12px + var(--safe-t));left:12px;right:12px;display:flex;align-items:flex-start;justify-content:space-between;gap:8px;z-index:5}.tab-col{display:flex;flex-direction:column;align-items:center;min-width:0}.name-tab{display:flex;align-items:center;gap:6px;height:44px;max-width:62vw;border-radius:999px;padding:0 14px 0 18px;font-size:15.5px;font-weight:600}.name-tab span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.name-tab .icon{width:16px;height:16px;color:var(--muted)}.filter-list{display:none;flex-direction:column;margin-top:8px;padding:6px;border-radius:22px;min-width:220px;background:linear-gradient(160deg,#3c3e4eb3,#1a1a24bf);animation:pop .18s ease}.filter-list.open{display:flex}.filter{display:flex;align-items:center;justify-content:space-between;border:0;border-radius:14px;background:none;padding:11px 12px;font-size:16px}.filter:active{background:#ffffff1a}.filter .check{width:18px;height:18px;color:var(--accent);visibility:hidden}.filter.selected .check{visibility:visible}.love.loved{color:#ff375f}.love.loved svg path{fill:currentColor}.globe-status{position:absolute;top:46%;left:0;right:0;text-align:center;font-size:17px;color:var(--muted);pointer-events:none}.mini-holes{position:absolute;left:50%;bottom:calc(100px + var(--safe-b));width:78px;height:78px;border-radius:24px;transform:translate(-50%);pointer-events:none}.dot{position:absolute;border-radius:50%;border:1.5px solid rgba(154,168,255,.7);background:#9aa8ff1f;transition:background .1s}.dot.on{background:#9aa8ff;box-shadow:0 0 calc(4px + 12px * var(--amp, 0)) #6f7dff}.dot-TL{left:10px;top:12px;width:22px;height:22px}.dot-BL{left:10px;top:44px;width:22px;height:22px}.dot-TR{right:14px;top:10px;width:14px;height:14px}.dot-BR{right:14px;top:52px;width:14px;height:14px}.splash{position:absolute;inset:0;z-index:200;border:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.splash .app-mark{width:104px;height:104px;border-radius:28px;margin-bottom:14px}.splash .app-mark .icon{width:64px;height:64px}.splash-title{font-size:40px;font-weight:700;letter-spacing:.3px}.splash-sub{color:var(--muted);font-size:15px;letter-spacing:2px;margin-bottom:34px}
