:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#e5e8e1;--surface:#f1f3ee;--surface-2:#d9ddd5;--ink:#1e221f;--muted:#687068;--line:#c3c9bf;--focus:#2f6fe0;--t:#f26b3f;--s:#5db3c8;--d:#f0c24b;--o:#e7e2d4;--note-ink:#1b1714;--wood-1:#2a2420;--wood-2:#1c1815;--wood-3:#252019;--head:#2e2823;--edge:#ffffff0f;--nut:#ebe3cf;--fret:#c7c4b8;--string:#dad7cd;--wound:#c6ba9e;--inlay:#d9d1bc}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}:root:not([data-theme=light]){--bg:#161917;--surface:#1f2320;--surface-2:#2a2f2b;--ink:#eceae2;--muted:#979f96;--line:#363c36;--wood-1:#3f2e24;--wood-2:#31221a;--wood-3:#3a2a1c;--head:#27201b;--edge:#ffffff1a}}:root[data-theme=dark]{--bg:#161917;--surface:#1f2320;--surface-2:#2a2f2b;--ink:#eceae2;--muted:#979f96;--line:#363c36;--wood-1:#3f2e24;--wood-2:#31221a;--wood-3:#3a2a1c;--head:#27201b;--edge:#ffffff1a}*,:before,:after{box-sizing:border-box}html{background:var(--bg)}body{font-optical-sizing:auto;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;margin:0;font-family:Bricolage Grotesque,system-ui,sans-serif;font-size:15px;line-height:1.45}button,select{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.app{max-width:1240px;margin:0 auto;padding:22px 24px 56px}.top{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;padding-bottom:18px;display:flex}.brand{letter-spacing:-.01em;align-items:center;gap:10px;font-size:19px;font-weight:600;display:flex}.brand-mark{flex:none;width:24px;height:24px}.controls{flex-wrap:wrap;align-items:center;gap:12px 34px;display:flex}.controls+.controls{margin-top:14px}.field{flex-wrap:wrap;align-items:center;gap:10px 12px;display:inline-flex}.field-label{color:var(--muted);font-size:14px}.seg{background:var(--surface-2);border-radius:999px;gap:2px;padding:3px;display:inline-flex}.seg button{cursor:pointer;background:0 0;border:0;border-radius:999px;padding:5px 13px;font-size:14px;font-weight:500;line-height:1.3}.seg button.on{background:var(--ink);color:var(--bg)}.select{display:inline-block;position:relative}.select select{appearance:none;border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:999px;padding:6px 34px 6px 14px;font-size:14px;font-weight:500;line-height:1.3}.select:after{content:"";pointer-events:none;border-bottom:1.5px solid;border-right:1.5px solid;width:7px;height:7px;position:absolute;top:50%;right:14px;transform:translateY(-70%)rotate(45deg)}.chips{flex-wrap:wrap;gap:6px;display:flex}.chip{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:999px;min-width:40px;padding:5px 12px 6px;font-size:14px;font-weight:500;line-height:1.3;position:relative}.chip:hover{border-color:var(--ink)}.chip.on{border-color:var(--ink);background:var(--ink);color:var(--bg)}.chip.rec:after{content:"";opacity:.55;background:currentColor;border-radius:50%;width:4px;height:4px;position:absolute;bottom:3px;left:50%;transform:translate(-50%)}.toggle{cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:4px 2px;font-size:14px;display:inline-flex}.toggle-knob{border:1px solid var(--line);background:var(--surface-2);border-radius:999px;width:30px;height:18px;transition:background .15s;position:relative}.toggle-knob:after{content:"";background:var(--ink);border-radius:50%;width:12px;height:12px;transition:transform .15s;position:absolute;top:2px;left:2px}.toggle.on .toggle-knob{border-color:var(--ink);background:var(--ink)}.toggle.on .toggle-knob:after{background:var(--bg);transform:translate(12px)}.pegs{flex-wrap:wrap;gap:4px;display:inline-flex}.peg{align-items:center;gap:3px;display:inline-flex}.peg-note{border:1px dashed var(--line);cursor:pointer;background:0 0;border-radius:999px;min-width:34px;padding:4px 8px;font-size:13.5px;font-weight:600;line-height:1.3}.peg-note:hover,.peg.open .peg-note{border-style:solid;border-color:var(--ink)}.peg-step{background:var(--ink);width:22px;height:22px;color:var(--bg);cursor:pointer;border:0;border-radius:50%;font-size:15px;line-height:1}.key{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px 24px;margin:34px 0 16px;display:flex}.key-name{letter-spacing:-.025em;margin:0;font-size:clamp(40px,5.5vw,64px);font-weight:500;line-height:1}.key-notes{flex-wrap:wrap;gap:6px;margin:16px 0 0;padding:0;list-style:none;display:flex}.key-notes li{flex-direction:column;align-items:center;gap:3px;display:flex}.key-note{background:var(--o);min-width:40px;height:30px;color:var(--note-ink);border-radius:999px;place-items:center;padding:0 10px;font-size:14px;font-weight:700;display:inline-grid}.key-degree{color:var(--muted);font-size:12px}.key-chords{color:var(--muted);flex-wrap:wrap;gap:6px 22px;margin:12px 0 0;font-size:14.5px;display:flex}.key-chords b{color:var(--ink);margin-left:6px;font-weight:600}.key-chords i{background:var(--o);border-radius:50%;width:9px;height:9px;margin-right:8px;display:inline-block}[data-role=tonic] .key-note,[data-role=tonic] i{background:var(--t)}[data-role=subdominant] .key-note,[data-role=subdominant] i{background:var(--s)}[data-role=dominant] .key-note,[data-role=dominant] i{background:var(--d)}.view{flex-wrap:wrap;align-items:center;gap:10px 18px;margin-top:10px;display:flex}.linkbtn{color:var(--muted);text-decoration:underline;-webkit-text-decoration-color:var(--line);text-decoration-color:var(--line);text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:4px 2px;font-size:14px}.linkbtn:hover{color:var(--ink);text-decoration-color:currentColor}.chords{flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:14px;display:flex}.chord-list{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.chord{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:999px;align-items:center;gap:7px;padding:5px 12px 6px 10px;font-size:14px;line-height:1.3;display:inline-flex}.chord:hover{border-color:var(--ink)}.chord.on{border-color:var(--ink);background:var(--ink);color:var(--bg)}:where(.chord) i{background:var(--o);border-radius:50%;width:9px;height:9px}.chord small{color:var(--muted);font-size:12.5px}.chord.on small{color:inherit;opacity:.7}.chord b{font-weight:600}.key-notes li[data-dim=true]{opacity:.35}.key-notes li[data-hollow=true] .key-note{color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--muted);background:0 0}.key-notes li[data-hollow=true][data-role=tonic] .key-note{box-shadow:inset 0 0 0 2px var(--t)}.key-notes li[data-hollow=true][data-role=subdominant] .key-note{box-shadow:inset 0 0 0 2px var(--s)}.key-notes li[data-hollow=true][data-role=dominant] .key-note{box-shadow:inset 0 0 0 2px var(--d)}.focus{margin:4px 0 16px}.hint{color:var(--muted);font-size:13.5px}.fb-wrap{margin:0 -24px;padding:0 24px;overflow-x:auto}.fb{width:100%;min-width:880px;height:auto;font-family:inherit;display:block}.fb-wood-1{stop-color:var(--wood-1)}.fb-wood-2{stop-color:var(--wood-2)}.fb-wood-3{stop-color:var(--wood-3)}.fb-head{fill:var(--head)}.fb-edge{fill:none;stroke:var(--edge);stroke-width:1.5px}.fb-inlay{fill:var(--inlay);opacity:.28}.fb-fret{stroke:var(--fret);stroke-width:3px}.fb-fret-shadow{stroke:#000;stroke-width:2px;opacity:.45}.fb-nut{fill:var(--nut)}.fb-string{stroke:var(--string)}.fb-string.wound{stroke:var(--wound)}.fb-num{fill:var(--muted);text-anchor:middle;font-size:12px;font-weight:500}.fb-note{cursor:pointer;transition:opacity .15s}.fb-note circle{fill:var(--o);stroke:#00000059;stroke-width:1px}.fb-note[data-role=tonic] circle{fill:var(--t)}.fb-note[data-role=subdominant] circle{fill:var(--s)}.fb-note[data-role=dominant] circle{fill:var(--d)}.fb-note text{fill:var(--note-ink);text-anchor:middle;dominant-baseline:central;pointer-events:none;font-size:12.5px;font-weight:700}.fb-note[data-dim=true]{opacity:.22}.fb-box{fill:#ffffff0f;stroke:#ffffff4d;stroke-width:1px}.fb-note[data-hollow=true] circle{fill:none;stroke:var(--o);stroke-width:2px}.fb-note[data-hollow=true][data-role=tonic] circle{stroke:var(--t)}.fb-note[data-hollow=true][data-role=subdominant] circle{stroke:var(--s)}.fb-note[data-hollow=true][data-role=dominant] circle{stroke:var(--d)}.fb-note[data-hollow=true] text{fill:var(--o)}.fb-note[data-root=true] circle,.fb-note[data-focus=true] circle{stroke:#fff;stroke-width:2.5px}@media (width<=640px){.app{padding:16px 16px 40px}.fb-wrap{margin:0 -16px;padding:0 16px}.controls{gap:12px 20px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important}}
