@font-face{font-family:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(./bricolage-grotesque-vietnamese-wght-normal-BUzh504Q.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(./bricolage-grotesque-latin-ext-wght-normal-CcLUaPy7.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(./bricolage-grotesque-latin-wght-normal-DLoelf7F.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg: #1f2b27;--panel: #2a3833;--line: #3d4e47;--ink: #eef0e6;--muted: #9db0a5;--wood-hi: #43271b;--wood-lo: #2c1911;--fret: #c4c1b6;--nut: #efe9d6;--string: #d9d3c2;--inlay: rgba(232, 224, 196, .38);--root: #f4a63a;--note: #efe8d3;--dot-ink: #1d1712;--pass: #8fa6ff;--clash: #ff6b6b;--safe-ring: #4fc3a8;--heard-ok: #3dff7a;--heard-bad: #ff4545;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--ink)}body{font-family:Bricolage Grotesque Variable,Bricolage Grotesque,system-ui,sans-serif;min-height:100dvh;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}main{max-width:1700px;margin:0 auto;padding:16px;display:grid;gap:20px}header{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:end}.field{display:grid;gap:4px;font-size:.8rem;color:var(--muted)}select,.seg button{font:inherit;font-size:1rem;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:8px;min-height:44px;padding:0 12px}select{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:34px;min-width:120px;background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);background-position:calc(100% - 17px) 55%,calc(100% - 12px) 55%;background-size:5px 5px;background-repeat:no-repeat}.seg{display:flex}.seg button{border-radius:0;cursor:pointer}.seg button:first-of-type{border-radius:8px 0 0 8px}.seg button:last-of-type{border-radius:0 8px 8px 0;border-left:0}.seg button[aria-pressed=true]{background:var(--root);border-color:var(--root);color:var(--dot-ink);font-weight:600}select:focus-visible,.seg button:focus-visible{outline:2px solid var(--root);outline-offset:2px}.neck-wrap{overflow-x:auto;border-radius:12px;background:var(--panel);padding:12px 8px 4px;-webkit-overflow-scrolling:touch}.neck{display:block;width:100%;min-width:1000px;height:auto}.neck .headstock{fill:#17201d;stroke:var(--line)}.neck .fret{stroke:var(--fret);stroke-width:3}.neck .nut{fill:var(--nut)}.neck .inlay{fill:var(--inlay)}.neck .string{stroke:var(--string);stroke-linecap:round;opacity:.9}.neck .string-name{fill:var(--muted);font-size:15px;font-weight:600;dominant-baseline:central;text-anchor:middle}.neck .fret-no{fill:var(--muted);font-size:13px;text-anchor:middle;opacity:.6}.neck .fret-no.mark{opacity:1;font-weight:600}.neck .dot circle{fill:var(--note);stroke:#00000073;stroke-width:1.5}.neck .dot.home circle{fill:var(--root)}.neck .dot.safe circle{fill:var(--note);stroke:var(--safe-ring);stroke-width:4}.neck .dot.pass circle{fill:var(--pass);stroke:#0000008c;stroke-width:1.5}.neck .dot.pass text{font-size:12px;fill:var(--dot-ink)}.neck .box{fill:#4fc3a817;stroke:#4fc3a88c;stroke-width:2}.neck .dot.faded circle{opacity:.18;stroke:none}.neck .dot text{fill:var(--dot-ink);font-size:14px;font-weight:700;text-anchor:middle;dominant-baseline:central;font-variant-numeric:tabular-nums}.neck .heard circle{fill:none;stroke-linecap:round}.neck .heard.ok{color:var(--heard-ok)}.neck .heard.bad{color:var(--heard-bad)}.neck .heard circle,.neck .heard path{stroke:currentColor}.neck .heard .h-best circle{stroke-width:6;fill:currentColor;fill-opacity:.22;filter:drop-shadow(0 0 6px currentColor)}.neck .heard .h-other circle{stroke-width:3;opacity:.55}.neck .heard path{stroke-width:5;fill:none}.neck .heard.ended{opacity:.35;transition:opacity .6s}.listen{display:grid;gap:10px}.listen-top{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:end}.level{width:160px;height:10px;border-radius:5px;background:var(--panel);border:1px solid var(--line);overflow:hidden}.level i{display:block;height:100%;background:var(--root);transition:width .05s linear}.verdict{margin:0;font-size:1.25rem;font-weight:600;min-height:1.6em}.verdict.ok{color:var(--heard-ok)}.verdict.bad{color:var(--heard-bad)}.verdict small{display:block;font-size:.95rem;font-weight:400;color:var(--muted)}.err{margin:0;color:#ffb4a8;max-width:70ch;line-height:1.5}.positions{display:grid;gap:8px}.positions .seg button{min-width:48px}.tick{color:var(--safe-ring);font-weight:700}.seg button[aria-pressed=true] .tick{color:var(--dot-ink)}.pos-info{margin:0;max-width:70ch;line-height:1.5;color:var(--muted)}.pos-info b{color:var(--ink)}.check.inline{display:inline-flex;margin-left:6px;vertical-align:middle;color:var(--ink)}.play{display:grid;gap:14px}.play-top{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:end}.go{font:inherit;font-size:1.1rem;font-weight:700;min-height:44px;min-width:96px;padding:0 20px;border-radius:8px;cursor:pointer;border:0;background:var(--root);color:var(--dot-ink)}.go[aria-pressed=true]{background:var(--panel);color:var(--ink);border:1px solid var(--root)}.stepper{display:flex;align-items:center}.stepper button{font:inherit;font-size:1.3rem;width:44px;min-height:44px;background:var(--panel);border:1px solid var(--line);color:var(--ink);cursor:pointer}.stepper button:first-child{border-radius:8px 0 0 8px}.stepper button:last-child{border-radius:0 8px 8px 0}.stepper output{min-width:56px;min-height:44px;display:grid;place-items:center;border-block:1px solid var(--line);font-weight:600;font-variant-numeric:tabular-nums}.check{display:flex;align-items:center;gap:8px;min-height:44px;font-size:.95rem;cursor:pointer}.check input{width:20px;height:20px;accent-color:var(--root)}.chords{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px}.chords button{width:100%;font:inherit;color:var(--ink);background:var(--panel);border:2px solid var(--line);border-radius:10px;min-height:84px;display:grid;place-items:center;align-content:center;gap:8px;cursor:pointer}.chords button b{font-size:2rem;font-weight:700}.chords button[aria-current=true]{border-color:var(--root);background:#34443d}.beats{display:flex;gap:6px}.beats i{width:10px;height:10px;border-radius:50%;background:var(--line)}.beats i[data-main]{width:12px;height:12px}.beats i:not([data-main]){width:7px;height:7px;align-self:center}.beats i.on{background:var(--root)}button:focus-visible,input:focus-visible{outline:2px solid var(--root);outline-offset:2px}.readout h1{margin:0 0 10px;font-size:1.5rem;font-weight:600}.readout h1 b{color:var(--root)}.readout h1 small{margin-left:16px;font-size:1rem;font-weight:400;color:var(--muted)}.readout dl{margin:0 0 12px;display:grid;gap:8px;max-width:560px}.readout dl div{display:flex;align-items:baseline;gap:16px;padding:8px 12px;border-radius:8px;background:var(--panel)}.readout dt{flex:0 0 210px;display:flex;align-items:center;gap:10px;color:var(--muted)}.readout dd{margin:0;font-size:1.25rem;font-weight:700}.readout dt i{width:18px;height:18px;border-radius:50%;background:var(--note);flex:none}.r-home dt i{background:var(--root)}.r-safe dt i{border:4px solid var(--safe-ring)}.r-pass dt i{width:14px;height:14px;margin:2px;background:var(--pass)}.readout p{margin:0;max-width:62ch;color:var(--muted);line-height:1.5}.chips{list-style:none;margin:0 0 12px;padding:0;display:flex;flex-wrap:wrap;gap:8px}.chips li{min-width:52px;text-align:center;padding:8px 10px;border-radius:8px;background:var(--panel);border:1px solid var(--line);font-size:1.1rem}.chips li.root{background:var(--root);border-color:var(--root);color:var(--dot-ink)}@media(max-width:600px){main{padding:12px}select{flex:1}.field{flex:1 1 40%}.readout dt{flex-basis:150px}}.tap{font:inherit;font-weight:600;min-height:44px;min-width:120px;padding:0 16px;border-radius:8px;cursor:pointer;color:var(--ink);background:var(--panel);border:1px solid var(--root)}.tap:active{background:var(--root);color:var(--dot-ink)}.linkish{font:inherit;color:var(--safe-ring);background:none;border:0;padding:0 4px;min-height:32px;cursor:pointer;text-decoration:underline}.neck .dot.clash circle{stroke:var(--clash);stroke-width:4;stroke-dasharray:5 3}.neck .dot.clash:not(.faded) circle{fill:#5a2b2b}.neck .dot.clash text{fill:#ffd9d9}.r-clash dt i{border:3px dashed var(--clash);background:#5a2b2b}.beats{flex-wrap:wrap;justify-content:center;max-width:100%}.chords li{display:grid;gap:6px;align-content:start}.len{display:flex;align-items:center;justify-content:center}.len button{font:inherit;font-size:1.2rem;width:44px;min-height:44px;background:var(--panel);border:1px solid var(--line);color:var(--ink);cursor:pointer}.len button:first-child{border-radius:8px 0 0 8px}.len button:last-child{border-radius:0 8px 8px 0}.len button:disabled{opacity:.35;cursor:default}.len output{min-width:76px;min-height:44px;display:grid;place-items:center;border-block:1px solid var(--line);font-size:.9rem;font-variant-numeric:tabular-nums}.len-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}.len-bar .tap[aria-pressed=true]{background:var(--root);color:var(--dot-ink)}.neck .ahead{fill:none;stroke-width:4;animation:ahead-pulse .7s ease-in-out infinite alternate;pointer-events:none}.neck .ahead.home{stroke:var(--root)}.neck .ahead.safe{stroke:#fff}@keyframes ahead-pulse{0%{opacity:.5}to{opacity:1}}@media(prefers-reduced-motion:reduce){.neck .ahead{animation:none}}.r-ahead dt i{background:none;border:3px solid #fff}
