:root{--bg:#15120e;--panel:#1f1a14;--panel-2:#2a231a;--line:#3a3126;--fg:#eee4d3;--muted:#9c8f7b;--accent:#e8a33d;--accent-fg:#1a1208;--good:#7bc47f;--warn:#e0c050;--bad:#e06a55;--wood:#3b2a1a;--string:#c9b89a;color:var(--fg);background:var(--bg);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:Noto Sans TC,PingFang TC,system-ui,sans-serif}@media (prefers-color-scheme:light){:root{--bg:#f6f0e6;--panel:#fffaf2;--panel-2:#efe5d4;--line:#d9ccb6;--fg:#2a2118;--muted:#7c6e5a;--accent:#c77d12;--accent-fg:#fff;--good:#3f9146;--warn:#a88a10;--bad:#c4452f;--wood:#e2cfae;--string:#7a6a50;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}}*{box-sizing:border-box}body{background:var(--bg);min-height:100vh;margin:0}.num{font-variant-numeric:tabular-nums}.app{max-width:1000px;margin:0 auto;padding:16px}header{flex-wrap:wrap;align-items:center;gap:24px;margin-bottom:20px;display:flex}header h1{letter-spacing:.05em;margin:0;font-size:20px}nav{flex-wrap:wrap;gap:4px;display:flex}nav button{color:var(--muted);background:0 0;border:1px solid #0000}nav button.on{color:var(--fg);border-color:var(--line);background:var(--panel)}button{font:inherit;color:var(--fg);background:var(--panel-2);border:1px solid var(--line);cursor:pointer;border-radius:8px;padding:6px 12px}button:hover{border-color:var(--muted)}button.primary{background:var(--accent);color:var(--accent-fg);border-color:var(--accent);font-weight:600}button:disabled{opacity:.4;cursor:default}input,select{font:inherit;color:var(--fg);background:var(--panel-2);border:1px solid var(--line);border-radius:6px;padding:4px 8px}input[type=range]{accent-color:var(--accent);padding:0}input[type=checkbox]{accent-color:var(--accent)}.panel{background:var(--panel);border:1px solid var(--line);border-radius:12px;margin-bottom:16px;padding:16px}.row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.muted{color:var(--muted)}h2{margin:0 0 12px;font-size:16px}.bpm{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.bpm-value{justify-content:center;align-items:baseline;gap:4px;min-width:96px;display:flex}.bpm-value .num{font-size:32px;font-weight:700}.bpm-value .unit{color:var(--muted);font-size:12px}.bpm input[type=range]{flex:1;min-width:160px}.beat-dots{gap:10px;display:flex}.beat-dots .dot{background:var(--panel-2);border:1px solid var(--line);border-radius:50%;width:14px;height:14px}.beat-dots .dot.down{border-color:var(--muted)}.beat-dots .dot.on{background:var(--fg)}.beat-dots .dot.down.on{background:var(--accent);border-color:var(--accent)}.fretboard{width:100%;height:auto;display:block}.fretboard-wrap{overflow-x:auto}.fretboard-wrap .fretboard{min-width:640px}.fretboard .fret{stroke:var(--line);stroke-width:2px}.fretboard .nut{stroke:var(--string);stroke-width:5px}.fretboard .string{stroke:var(--string)}.fretboard .inlay{fill:var(--line)}.fretboard .fret-num{fill:var(--muted);text-anchor:middle;font-size:11px}.fretboard .mark circle{fill:var(--panel-2);stroke:var(--muted)}.fretboard .mark text{fill:var(--fg);text-anchor:middle;font-size:11px;font-weight:600}.fretboard .mark.root circle{fill:var(--accent);stroke:var(--accent)}.fretboard .mark.root text{fill:var(--accent-fg)}.fretboard .mark.active circle{fill:var(--fg);stroke:var(--fg)}.fretboard .mark.active text{fill:var(--bg)}.fretboard .mark.done{opacity:.35}.chord-diagram{max-width:100%;height:auto;display:block}.chord-diagram .fret{stroke:var(--line);stroke-width:1.5px}.chord-diagram .nut{stroke:var(--fg);stroke-width:4px}.chord-diagram .string{stroke:var(--string);stroke-width:1px}.chord-diagram .base-fret{fill:var(--muted);text-anchor:end;font-size:10px}.chord-diagram .open-mute{fill:var(--muted);text-anchor:middle;font-size:10px}.chord-diagram .barre,.chord-diagram .finger circle{fill:var(--accent)}.chord-diagram .finger text{fill:var(--accent-fg);text-anchor:middle;font-size:9px;font-weight:700}.chords-stage{flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:24px;margin-bottom:12px;display:flex}.chords-now,.chords-next{flex-direction:column;align-items:center;display:flex}.chords-now{justify-content:center;min-height:220px}.chords-name{font-size:48px;font-weight:700;line-height:1.1}.chords-next-name{font-size:22px;font-weight:600}.chords-controls{margin-bottom:12px}.chords-line{margin-top:12px}.chords-num{width:64px;margin:0 4px}.chords-chip{background:var(--panel-2);border:1px solid var(--line);border-radius:8px;align-items:center;gap:4px;padding:2px 2px 2px 10px;font-weight:600;display:inline-flex}.chords-chip button{color:var(--muted);background:0 0;border:none;padding:2px 8px}.chords-library{grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:8px;margin-top:16px;display:grid}.chords-library button{flex-direction:column;align-items:center;gap:2px;padding:6px 4px;font-weight:600;display:flex}.chords-omc{justify-content:center;align-items:center;gap:16px;margin:12px 0;display:flex}.chords-omc-center{text-align:center;min-width:90px}.chords-count{padding:12px 24px;font-size:18px}.chords-records{border-collapse:collapse;margin-top:12px}.chords-records th,.chords-records td{text-align:left;border-bottom:1px solid var(--line);padding:4px 12px 4px 0}.chords-records th{color:var(--muted);font-weight:400}.songs-head h2{font-size:18px}.songs-strum{grid-template-columns:repeat(8,1fr);gap:4px;max-width:480px;margin:0 auto 16px;display:grid}.songs-slot{background:var(--panel-2);border:1px solid var(--line);border-radius:8px;flex-direction:column;align-items:center;padding:6px 0;display:flex}.songs-slot.rest{background:0 0}.songs-slot.on{border-color:var(--accent);background:var(--accent);color:var(--accent-fg)}.songs-arrow{font-size:26px;font-weight:700;line-height:1.1}.songs-count{color:var(--muted);font-size:11px}.songs-slot.on .songs-count{color:var(--accent-fg)}.songs-controls{margin-bottom:12px}.songs-used{gap:16px}.songs-used-chord{flex-direction:column;align-items:center;gap:2px;display:flex}.songs-sections-head h2{margin:0}.songs-sections-head{margin-bottom:12px}.songs-section{border-top:1px solid var(--line);align-items:flex-start;gap:12px;padding:8px 0;display:flex}.songs-section.dim{opacity:.4}.songs-section.only .songs-section-name{border-color:var(--accent);color:var(--accent)}.songs-section-name{text-align:left;flex:0 0 104px}.songs-bars{flex:1;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:4px;display:grid}.songs-bar{border-left:2px solid var(--line);white-space:nowrap;padding:6px 8px;font-weight:600}.songs-bar.on{background:var(--accent);color:var(--accent-fg);border-left-color:var(--accent);border-radius:4px}@media (width<=520px){.songs-section{flex-direction:column;gap:6px}.songs-section-name{flex:none}}.scales label{align-items:center;gap:4px;display:inline-flex}.scales-now{flex-wrap:wrap;align-items:baseline;gap:12px;margin:12px 0 0;display:flex}.scales-now strong{font-size:28px}.scales-transport{margin-top:12px}.scales-inc{width:4em}.bpm-history svg{width:100%;max-width:480px;height:auto;display:block}.bpm-history rect{fill:var(--accent)}.bpm-history .axis{stroke:var(--line)}.bpm-history-axis{justify-content:space-between;max-width:480px;font-size:12px}.tuner-note{align-items:baseline;gap:12px;display:flex}.tuner-note .name{font-size:64px;font-weight:700;line-height:1}.tuner-stale{opacity:.35}.tuner-meter{border-bottom:1px solid var(--line);height:40px;margin:16px 0 4px;position:relative}.tuner-meter .zone{background:var(--panel-2);width:10%;position:absolute;top:0;bottom:0;left:45%}.tuner-meter .center{border-left:1px solid var(--muted);position:absolute;top:0;bottom:0;left:50%}.tuner-meter .needle{background:var(--warn);border-radius:2px;width:4px;margin-left:-2px;transition:left 80ms linear;position:absolute;top:0;bottom:0}.tuner-meter .needle.ok{background:var(--good)}.tuner-scale{justify-content:space-between;font-size:12px;display:flex}.tuner-ok{color:var(--good);font-weight:700}.tuner-strings{grid-template-columns:repeat(6,1fr);gap:6px;display:grid}.tuner-strings button{padding:10px 0}.tuner-strings button.on{border-color:var(--accent);color:var(--accent);font-weight:700}.ear-options{flex-wrap:wrap;gap:4px 14px;display:flex}.ear-options label{align-items:center;gap:4px;display:flex}.ear-answers{grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:6px;display:grid}.ear-answers button{padding:10px 4px}.ear-answers button.right{border-color:var(--good);color:var(--good);font-weight:700}.ear-answers button.wrong{border-color:var(--bad);color:var(--bad)}.ear-result{min-height:1.5em;margin:12px 0 0}.ear-result .right{color:var(--good)}.ear-result .wrong{color:var(--bad)}.ear-stats{border-collapse:collapse;width:100%;font-size:14px}.ear-stats td{border-bottom:1px solid var(--line);padding:4px 0}.ear-stats td+td{text-align:right}
