:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-bg:#121212;--color-surface:#1e1e1e;--color-surface-raised:#2a2a2a;--color-border:#333;--color-text:#e0e0e0;--color-text-muted:#9e9e9e;--color-accent:#00e676;--color-accent-contrast:#0b1f12;--color-accent-text:#00e676;--color-accent-soft:#00e6761f;--color-accent-glow:#00e67659;--color-error:#ff5252;--color-warning:#ffb300;--color-overlay:#0a0a0aeb;--color-backdrop:#000000bf;--color-shadow:#00000080;--color-player-bg:#000;--color-diagram-string:#8a8a8a;--color-diagram-fret:#4a4a4a;--color-key-white:#e0e0e0;--color-key-black:#121212;--color-key-line:#5a5a5a;--radius:10px;--gap:1.25rem;--font:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--transition:.15s ease}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--color-bg:#f4f5f4;--color-surface:#fff;--color-surface-raised:#eef0ee;--color-border:#d4d8d4;--color-text:#1b1d1b;--color-text-muted:#5c615c;--color-accent:#00e676;--color-accent-contrast:#0b1f12;--color-accent-text:#00873e;--color-accent-soft:#00c8641f;--color-accent-glow:#00aa554d;--color-error:#d32f2f;--color-warning:#e69a00;--color-overlay:#f4f5f4f0;--color-backdrop:#00000073;--color-shadow:#00000026;--color-player-bg:#e2e5e2;--color-diagram-string:#8f958f;--color-diagram-fret:#cfd3cf;--color-key-white:#fff;--color-key-black:#1b1d1b;--color-key-line:#b9beb9}body{transition:background-color var(--transition), color var(--transition)}*,:before,:after{box-sizing:border-box}html{touch-action:manipulation;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}body{background:var(--color-bg);min-height:100dvh;color:var(--color-text);font-family:var(--font);margin:0;line-height:1.5}h1,h2{margin:0}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.btn{border:1px solid var(--color-border);border-radius:var(--radius);background:var(--color-surface-raised);color:var(--color-text);font:inherit;cursor:pointer;transition:background var(--transition), color var(--transition), border-color var(--transition);padding:.65rem 1.2rem;font-weight:600}.btn:hover{border-color:var(--color-accent)}.btn:focus-visible,.url-form__input:focus-visible,.chord-card__main:focus-visible,.chord-card__edit:focus-visible,.link-btn:focus-visible,.capo-suggestion:focus-visible,.chord-toolbar__select:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}.btn:disabled{opacity:.45;cursor:not-allowed;border-color:var(--color-border)}.btn--primary{background:var(--color-accent);border-color:var(--color-accent);color:var(--color-accent-contrast)}.btn--primary:hover{filter:brightness(1.1)}.btn--danger{border-color:var(--color-error);color:var(--color-error)}.btn--danger:hover{border-color:var(--color-error);background:var(--color-surface)}.support-wall{z-index:300;background:var(--color-overlay);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.support-wall[hidden]{display:none}.support-wall__card{background:var(--color-surface);border:1px solid var(--color-accent);border-radius:var(--radius);text-align:center;width:min(100%,460px);box-shadow:0 0 40px var(--color-accent-soft);flex-direction:column;align-items:center;gap:1rem;padding:2rem 1.5rem;display:flex}.support-wall__icon{width:56px;height:56px}.support-wall__title{font-size:1.4rem}.support-wall__text{color:var(--color-text-muted);margin:0}.support-wall__button{min-width:220px}.support-wall__steps{text-align:left;color:var(--color-text-muted);font-size:.9rem}.support-wall__steps[hidden]{display:none}.support-wall__steps p{color:var(--color-text);margin:0 0 .5rem}.support-wall__steps ol{margin:0;padding-left:1.25rem}.boot-error{z-index:200;border:1px solid var(--color-error);border-radius:var(--radius);background:var(--color-surface);color:var(--color-text);white-space:pre-line;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text;box-shadow:0 8px 24px var(--color-shadow);padding:1rem 1.25rem;font-weight:600;position:fixed;inset:auto 1rem 1rem}.boot-error[hidden]{display:none}.topbar{z-index:10;align-items:center;gap:.75rem var(--gap);padding:1rem var(--gap);background:var(--color-surface);border-bottom:1px solid var(--color-border);flex-wrap:wrap;display:flex;position:sticky;top:0}.brand-heading{font-size:1.4rem;line-height:1}.brand{color:var(--color-text);font:inherit;letter-spacing:.02em;cursor:pointer;transition:opacity var(--transition);background:0 0;border:none;border-radius:6px;margin:-.15rem -.25rem;padding:.15rem .25rem;font-weight:700}.brand:hover{opacity:.8}.brand:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}.brand__accent{color:var(--color-accent-text)}.url-form{flex:280px;gap:.5rem;min-width:0;display:flex}.url-form__input{border:1px solid var(--color-border);border-radius:var(--radius);background:var(--color-bg);min-width:0;color:var(--color-text);font:inherit;flex:1;padding:.65rem .9rem}.upload-btn{white-space:nowrap}.theme-toggle{flex-shrink:0;align-items:center;gap:.35rem;height:2.75rem;padding:0 .8rem;display:inline-flex}.theme-toggle__icon{fill:none;width:1.2rem;height:1.2rem;stroke:var(--color-text-muted);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;opacity:.55;transition:opacity var(--transition), stroke var(--transition)}.theme-toggle__separator{color:var(--color-text-muted);font-weight:400}:root[data-theme=light] .theme-toggle__icon--sun,:root:not([data-theme=light]) .theme-toggle__icon--moon{stroke:var(--color-accent-text);opacity:1}.language-toggle{letter-spacing:.04em;flex-shrink:0;align-items:center;gap:.35rem;height:2.75rem;padding:0 .8rem;font-size:.85rem;display:inline-flex}.language-toggle__option{color:var(--color-text-muted);opacity:.55;transition:opacity var(--transition), color var(--transition)}.language-toggle__option.is-current{color:var(--color-accent-text);opacity:1;font-weight:700}.language-toggle__separator{color:var(--color-text-muted);font-weight:400}.upload-btn:has(+#audio-file:focus-visible){outline:2px solid var(--color-accent);outline-offset:2px}.url-error{color:var(--color-error);flex-basis:100%;margin:0;font-size:.9rem}.layout{gap:var(--gap);padding:var(--gap);grid-template-columns:1fr;display:grid}@media (width>=900px){.layout{grid-template-columns:minmax(0,3fr) minmax(320px,2fr)}}@media (width>=900px) and (height>=820px){body{flex-direction:column;height:100dvh;display:flex}.layout{flex:1;min-height:0}.panel--chords{overflow-y:auto}.panel--chords>:not(.chord-grid){flex-shrink:0}.panel--chords .chord-grid{min-height:200px}}.panel{gap:var(--gap);padding:var(--gap);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);flex-direction:column;min-height:0;display:flex}.panel__header{justify-content:space-between;align-items:center;display:flex}.panel--player{overflow-y:auto}.panel--player>*{flex-shrink:0}.song-info{margin-top:calc(var(--gap) * -.5);flex-wrap:wrap;gap:.4rem;display:flex}.song-info__chip{border:1px solid var(--color-border);background:var(--color-surface-raised);white-space:nowrap;cursor:help;border-radius:999px;align-items:baseline;gap:.25rem;padding:.2rem .6rem;font-size:.8rem;display:inline-flex}.song-info__label{color:var(--color-text-muted)}.song-info__value{color:var(--color-text);font-weight:600}.panel__title{text-transform:uppercase;letter-spacing:.08em;color:var(--color-text-muted);font-size:1rem;font-weight:600}.player-frame{aspect-ratio:16/9;background:var(--color-player-bg);border-radius:var(--radius);width:100%;position:relative;overflow:hidden}.player-frame iframe,.player-frame #yt-player{width:100%;height:100%;position:absolute;inset:0}.player-placeholder{text-align:center;color:var(--color-text-muted);place-items:center;padding:1rem;display:grid;position:absolute;inset:0}.player-placeholder[hidden]{display:none}.audio-view{z-index:1;background:radial-gradient(circle at 50% 35%, var(--color-accent-soft), transparent 60%), var(--color-surface-raised);flex-direction:column;justify-content:center;align-items:center;gap:.75rem;padding:1.5rem;display:flex;position:absolute;inset:0}.audio-view[hidden]{display:none}.audio-view__icon{color:var(--color-accent-text);font-size:3rem;line-height:1}.audio-view__title{text-align:center;overflow-wrap:anywhere;max-width:100%;margin:0;font-weight:600}.audio-view audio{width:min(100%,480px)}.analysis{flex-direction:column;gap:.6rem;display:flex}.analysis__row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.analysis__status{min-height:1.4em;color:var(--color-text-muted);margin:0;font-size:.9rem}.analysis__progress{appearance:none;background:var(--color-surface-raised);border:none;border-radius:999px;width:100%;height:6px;overflow:hidden}.analysis__progress[hidden]{display:none}.analysis__progress::-webkit-progress-bar{background:var(--color-surface-raised)}.analysis__progress::-webkit-progress-value{background:var(--color-accent)}.analysis__progress::-moz-progress-bar{background:var(--color-accent)}.live-btn{align-items:center;gap:.5rem;display:inline-flex}.live-btn__dot{background:var(--color-text-muted);border-radius:50%;width:.6rem;height:.6rem}.live-btn[aria-pressed=true]{border-color:var(--color-accent);color:var(--color-accent-text)}.live-btn[aria-pressed=true] .live-btn__dot{background:var(--color-accent);animation:1.2s ease-in-out infinite pulse}@keyframes pulse{50%{opacity:.3}}@media (prefers-reduced-motion:reduce){.live-btn[aria-pressed=true] .live-btn__dot{animation:none}}.instrument-selector{flex-direction:column;gap:.75rem;display:flex}.instrument-selector__options{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:.5rem;display:grid}.instrument-btn{justify-content:center;align-items:center;gap:.5rem;display:inline-flex}.instrument-btn__icon{width:1.25em;height:1.25em;-webkit-mask:var(--icon) center / contain no-repeat;-webkit-mask:var(--icon) center / contain no-repeat;mask:var(--icon) center / contain no-repeat;background-color:currentColor;flex:none}.instrument-btn[aria-checked=true]{background:var(--color-accent);border-color:var(--color-accent);color:var(--color-accent-contrast)}.time-display{font-variant-numeric:tabular-nums;color:var(--color-accent-text);font-weight:600}.chord-grid{scroll-behavior:smooth;flex:1;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));align-content:start;gap:.75rem;min-height:240px;max-height:70vh;padding:.6rem;scroll-padding-block:.6rem;display:grid;position:relative;overflow-y:auto}@media (width>=900px) and (height>=820px){.chord-grid{max-height:none}}.chord-grid__empty{text-align:center;color:var(--color-text-muted);grid-column:1/-1;margin:0;padding:2rem 1rem}.chord-card{border:2px solid var(--color-border);border-radius:var(--radius);background:var(--color-surface-raised);transition:transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);position:relative}.chord-card:hover{border-color:var(--color-text-muted)}.chord-card__main{border-radius:inherit;width:100%;color:var(--color-text);font:inherit;cursor:pointer;background:0 0;border:none;flex-direction:column;align-items:center;gap:.35rem;padding:1rem .5rem;display:flex}.chord-card__edit{width:1.7rem;height:1.7rem;color:var(--color-text-muted);cursor:pointer;opacity:.45;transition:opacity var(--transition), border-color var(--transition), color var(--transition);background:0 0;border:1px solid #0000;border-radius:6px;font-size:.95rem;line-height:1;position:absolute;top:.3rem;right:.3rem}.chord-card:hover .chord-card__edit,.chord-card__edit:focus-visible{opacity:1}.chord-card__edit:hover{border-color:var(--color-accent);color:var(--color-accent-text)}.chord-card--edited{border-style:dashed}.chord-card--edited .chord-card__edit{opacity:1;color:var(--color-accent-text)}.chord-card__hint{color:var(--color-accent-text);margin-top:-.3rem;font-size:.75rem;font-weight:600}.chord-card__name{font-size:1.75rem;font-weight:700}.chord-card__shape{color:var(--color-text-muted);text-align:center;font-family:ui-monospace,Consolas,monospace;font-size:.85rem}.chord-card__diagram{justify-content:center;width:100%;display:flex}.cd{width:100%;max-width:120px;height:auto;display:block}.cd--keys{max-width:132px}.cd-fret{stroke:var(--color-diagram-fret);stroke-width:1.5px}.cd-string{stroke:var(--color-diagram-string)}.cd-nut{fill:var(--color-text)}.cd-label{fill:var(--color-text-muted);font:600 11px var(--font)}.cd-muted{fill:none;stroke:var(--color-text-muted);stroke-width:1.8px;stroke-linecap:round}.cd-open{fill:none;stroke:var(--color-text-muted);stroke-width:1.8px}.cd-open--root{stroke:var(--color-accent);stroke-width:2.2px}.cd-dot{fill:var(--color-accent)}.cd-fifth{fill:var(--color-surface-raised);stroke:var(--color-accent);stroke-width:2px}.cd-root{fill:var(--color-accent-contrast)}.cd-capo{fill:var(--color-text-muted);opacity:.85}.cd-key{stroke:var(--color-key-line);stroke-width:1px}.cd-key--white{fill:var(--color-key-white)}.cd-key--black{fill:var(--color-key-black)}.cd-key--on{fill:var(--color-accent)}.chord-card__time{color:var(--color-text-muted);font-variant-numeric:tabular-nums;font-size:.75rem}.chord-card.active{border-color:var(--color-accent);background:var(--color-accent-soft);box-shadow:0 0 18px var(--color-accent-glow);transform:scale(1.04)}.chord-card.active .chord-card__name{color:var(--color-accent-text)}.btn--small{padding:.3rem .65rem;font-size:.85rem}.link-btn{color:var(--color-accent-text);font:inherit;cursor:pointer;background:0 0;border:none;border-radius:4px;padding:.2rem .3rem;font-size:.85rem;text-decoration:underline}.link-btn[hidden]{display:none}.chord-toolbar{border:1px solid var(--color-border);border-radius:var(--radius);background:var(--color-surface-raised);flex-wrap:wrap;align-items:center;gap:.6rem 1.25rem;padding:.6rem .75rem;font-size:.85rem;display:flex}.chord-toolbar__group{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.chord-toolbar__pair{align-items:center;gap:.4rem;display:inline-flex}.chord-toolbar__group[hidden]{display:none}.chord-toolbar__note{color:var(--color-text-muted);margin:0;font-size:.85rem}.chord-toolbar__note[hidden]{display:none}.chord-toolbar__group--end{margin-left:auto}.chord-toolbar__label{color:var(--color-text-muted);font-weight:600}.chord-toolbar__value{text-align:center;font-variant-numeric:tabular-nums;min-width:6.5rem;font-weight:600}.chord-toolbar__select{border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);font:inherit;border-radius:6px;padding:.3rem .5rem}.chord-toolbar__select:disabled{opacity:.45}.chord-toolbar__static{border:1px dashed var(--color-border);background:var(--color-surface);color:var(--color-text);white-space:nowrap;cursor:default;border-radius:6px;padding:.2rem .5rem;font-size:.78rem;font-weight:600}.chord-toolbar__static--muted{color:var(--color-text-muted);font-weight:400}.chord-toolbar__suggestions{flex-wrap:wrap;gap:.3rem;display:inline-flex}.capo-suggestion{border:1px dashed var(--color-accent-text);color:var(--color-accent-text);font:inherit;cursor:pointer;background:0 0;border-radius:999px;padding:.15rem .55rem;font-size:.78rem}.capo-suggestion[aria-pressed=true]{background:var(--color-accent-soft);border-style:solid;font-weight:600}.capo-suggestion:disabled{opacity:.45;cursor:not-allowed}.chord-editor{border:1px solid var(--color-accent);border-radius:var(--radius);background:var(--color-surface);width:min(100% - 2rem,520px);color:var(--color-text);padding:1.5rem}.chord-editor::backdrop{background:var(--color-backdrop)}.chord-editor__title{font-size:1.2rem}.chord-editor__context{color:var(--color-text-muted);margin:.25rem 0 0;font-size:.85rem}.chord-editor__preview{text-align:center;color:var(--color-accent-text);margin:.75rem 0;font-size:2.25rem;font-weight:700}.chord-editor__label{text-transform:uppercase;letter-spacing:.08em;color:var(--color-text-muted);margin:.75rem 0 .4rem;font-size:.8rem;font-weight:600}.chord-editor__options{grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:.35rem;display:grid}.chord-editor__options--roots{grid-template-columns:repeat(6,1fr)}.editor-option{padding:.4rem .3rem;font-size:.85rem}.editor-option[aria-checked=true]{background:var(--color-accent);border-color:var(--color-accent);color:var(--color-accent-contrast)}.chord-editor__all{color:var(--color-text-muted);cursor:pointer;align-items:center;gap:.5rem;margin-top:1rem;font-size:.9rem;display:flex}.chord-editor__all[hidden]{display:none}.chord-editor__all input{width:1.05rem;height:1.05rem;accent-color:var(--color-accent)}.chord-editor__actions{flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:1.25rem;display:flex}.chord-editor__spacer{flex:1}.modal{z-index:100;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.modal[hidden]{display:none}.modal__backdrop{background:var(--color-backdrop);position:absolute;inset:0}.modal__dialog{align-items:center;gap:var(--gap);background:var(--color-surface);border:1px solid var(--color-accent);border-radius:var(--radius);text-align:center;flex-direction:column;width:min(100%,440px);padding:2rem 1.5rem 1.5rem;display:flex;position:relative}.modal__title{font-size:1.2rem}.modal__close{color:var(--color-text-muted);cursor:pointer;background:0 0;border:none;font-size:1.75rem;line-height:1;position:absolute;top:.5rem;right:.75rem}.modal__close:hover{color:var(--color-accent-text)}.promo-slot{border:2px dashed var(--color-border);border-radius:var(--radius);width:100%;color:var(--color-text-muted);flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;gap:.15rem;margin-inline:auto;display:flex;overflow:hidden}.promo-slot__label{text-transform:uppercase;letter-spacing:.1em;font-size:.7rem}.promo-slot__size{opacity:.7;font-size:.85rem}.promo-slot--live{border:none;display:block}.promo-slot--banner{max-width:320px;height:50px;margin-top:var(--gap)}.promo-slot--banner .promo-slot__size--desktop{display:none}@media (width>=768px){.promo-slot--banner{max-width:728px;height:90px}.promo-slot--banner .promo-slot__size--desktop{display:inline}.promo-slot--banner .promo-slot__size--mobile{display:none}}.promo-slot--rect{max-width:300px;min-height:250px}.promo-slot--modal{aspect-ratio:336/280;max-width:336px}.guide-btn{white-space:nowrap;flex-shrink:0;align-items:center;gap:.45rem;text-decoration:none;display:inline-flex}.guide-btn__icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:1.15rem;height:1.15rem}.guide-btn[aria-current=page]{border-color:var(--color-accent);color:var(--color-accent-text)}.layout[hidden],.guide[hidden],.tools[hidden]{display:none}.guide [hidden],.tools [hidden]{display:none!important}@media (width>=900px) and (height>=820px){:root:is([data-view=guide],[data-view=tools],[data-view=privacy]) body{height:auto}}.guide{width:100%;max-width:1120px;padding:2.5rem var(--gap) 4rem;flex-direction:column;gap:4rem;margin:0 auto;display:flex}.guide a.btn,.tools a.btn{justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.guide h3{margin:0;font-size:1.05rem}.guide__section{flex-direction:column;gap:1.5rem;scroll-margin-top:6rem;display:flex}.guide__head{flex-direction:column;gap:.5rem;display:flex}.guide__eyebrow{letter-spacing:.12em;text-transform:uppercase;color:var(--color-text-muted);margin:0;font-size:.75rem;font-weight:700}.guide__hero-title{letter-spacing:-.01em;outline:none;font-size:clamp(2rem,1.4rem + 2.4vw,3rem);line-height:1.1}.guide__title,.guide__subtitle{font-size:clamp(1.45rem,1.2rem + 1vw,1.9rem);line-height:1.2}.guide__lead{max-width:62ch;color:var(--color-text-muted);margin:0;font-size:1.05rem}.guide__actions{flex-wrap:wrap;gap:.75rem;display:flex}.guide-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);padding:1.25rem}.guide-card p{color:var(--color-text-muted);margin:.4rem 0 0}.guide__features{gap:var(--gap);grid-template-columns:repeat(auto-fit,minmax(240px,1fr));display:grid}.guide-feature__icon{background:var(--color-accent-soft);border-radius:12px;place-items:center;width:2.75rem;height:2.75rem;margin-bottom:.9rem;display:grid}.guide-feature__icon svg{fill:none;width:1.4rem;height:1.4rem;stroke:var(--color-accent-text);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.guide-steps{gap:var(--gap);counter-reset:guide-step;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));margin:0;padding:0;list-style:none;display:grid}.guide-step{counter-increment:guide-step;padding-left:4rem;position:relative}.guide-step:before{content:counter(guide-step);background:var(--color-accent);width:2rem;height:2rem;color:var(--color-accent-contrast);border-radius:50%;place-items:center;font-weight:700;display:grid;position:absolute;top:1.1rem;left:1.1rem}.guide-step strong{color:var(--color-text)}.guide-transpose{gap:var(--gap);grid-template-columns:repeat(auto-fit,minmax(300px,1fr));align-items:start;display:grid}.guide-steps--stack{grid-template-columns:1fr}.guide-transpose__example{margin:0}.guide-transpose__caption{color:var(--color-text-muted);margin-bottom:1rem;font-size:.95rem}.guide-transpose__rows{gap:.75rem;margin:0;display:grid}.guide-transpose__row{grid-template-columns:7.5rem 1fr;align-items:center;gap:.75rem;display:grid}.guide-transpose__row dt{font-weight:600}.guide-transpose__row dd{grid-template-columns:repeat(4,1fr);gap:.4rem;margin:0;display:grid}.guide-transpose__row dd span{border:1px solid var(--color-border);background:var(--color-surface-raised);text-align:center;border-radius:8px;padding:.5rem .25rem;font-weight:700}.guide-transpose__row--up dd span{border-color:var(--color-accent);color:var(--color-accent-text)}@media (width<=480px){.guide-transpose__row{grid-template-columns:1fr;gap:.35rem}}.guide-read{align-items:center;gap:2rem;display:grid}@media (width>=900px){.guide-read{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)}}.guide-read__text{flex-direction:column;gap:1.5rem;display:flex}.guide-legend{flex-direction:column;gap:1rem;margin:0;padding:0;list-style:none;display:flex}.guide-legend li{grid-template-columns:2.25rem minmax(0,1fr);align-items:center;gap:.9rem;display:grid}.guide-legend strong{font-size:.95rem;display:block}.guide-legend span:not(.guide-legend__icon){color:var(--color-text-muted);font-size:.85rem;display:block}.guide-legend__icon{justify-self:center;width:1.5rem;height:1.5rem}.guide-legend__icon--text{width:auto;height:auto;color:var(--color-text-muted);font-size:.8rem;font-weight:700}.guide-examples{grid-template-columns:repeat(3,minmax(0,1fr));gap:.9rem;display:grid}.guide-chord{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius);flex-direction:column;align-items:center;gap:.6rem;margin:0;padding:1.1rem .75rem;display:flex}.guide-chord__name{font-size:1.5rem;font-weight:700;line-height:1.1}.guide-chord__diagram{justify-content:center;width:100%;display:flex}.guide-examples .cd{max-width:140px}.guide-chord__caption{color:var(--color-text-muted);font-size:.8rem}.guide-note{border-left:3px solid var(--color-accent);border-radius:0 var(--radius) var(--radius) 0;background:var(--color-accent-soft);max-width:70ch;margin:0;padding:.9rem 1.1rem;font-size:.95rem}.guide-instruments{flex-direction:column;gap:1.5rem;display:flex}.guide-instrument{align-items:center;gap:1rem;display:grid}@media (width>=760px){.guide-instrument{grid-template-columns:180px minmax(0,1fr);gap:1.5rem}}.guide-instrument__info p{color:var(--color-text-muted);margin:.3rem 0 0;font-size:.85rem}.guide-instrument__chords{grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem;display:grid}@media (width>=560px){.guide-instrument__chords{grid-template-columns:repeat(4,minmax(0,1fr))}}.guide__columns{gap:4rem 2.5rem;display:grid}@media (width>=900px){.guide__columns{grid-template-columns:repeat(2,minmax(0,1fr))}}.guide-list{flex-direction:column;gap:.9rem;margin:0;padding:0;list-style:none;display:flex}.guide-list li{color:var(--color-text-muted);padding-left:2.1rem;position:relative}.guide-list li:before{border-radius:50%;place-items:center;width:1.4rem;height:1.4rem;font-size:.8rem;font-weight:700;line-height:1;display:grid;position:absolute;top:.1rem;left:0}.guide-list--tips li:before{content:"✓";background:var(--color-accent-soft);color:var(--color-accent-text)}.guide-list--limits li:before{content:"!";border:1px solid var(--color-border);background:var(--color-surface-raised);color:var(--color-text-muted)}.guide-coffee{background:var(--color-surface);border:1px solid var(--color-accent);border-radius:var(--radius);box-shadow:0 0 40px var(--color-accent-soft);grid-template-columns:auto minmax(0,1fr);align-items:center;gap:1.25rem 1.5rem;padding:2rem;display:grid}.guide-coffee__body{flex-direction:column;gap:.4rem;display:flex}.guide-coffee__icon{background:var(--color-accent-soft);border-radius:50%;align-self:start;place-items:center;width:3.5rem;height:3.5rem;display:grid}.guide-coffee__icon svg{fill:none;width:1.9rem;height:1.9rem;stroke:var(--color-accent-text);stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round}.guide-coffee__button,.guide-coffee__soon{grid-column:2;justify-self:start}.guide-coffee__soon{color:var(--color-text-muted);margin:0;font-size:.9rem;font-style:italic}@media (width<=560px){.guide-coffee{grid-template-columns:minmax(0,1fr);padding:1.5rem}.guide-coffee__button,.guide-coffee__soon{grid-column:1}}.guide__footer{justify-content:center;display:flex}:root:is([data-view=guide],[data-view=tools],[data-view=privacy]) .topbar :is(.url-form,.upload-btn,#audio-file,.url-error){display:none}:root:is([data-view=guide],[data-view=tools],[data-view=privacy]) .topbar #tools-link{margin-left:auto}.privacy{gap:2.25rem;max-width:820px}.privacy__updated{color:var(--color-text-muted);margin:0;font-size:.85rem}.privacy__section{flex-direction:column;gap:.6rem;display:flex}.privacy__section h2{font-size:1.05rem}.privacy__section p{max-width:70ch;color:var(--color-text-muted);margin:0;line-height:1.6}.privacy__section a{color:var(--color-accent-text)}.site-footer{padding:.6rem var(--gap) .9rem;color:var(--color-text-muted);flex-wrap:wrap;flex-shrink:0;justify-content:center;gap:.5rem;font-size:.8rem;display:flex}.site-footer a{color:inherit}.site-footer a:hover,.site-footer a:focus-visible{color:var(--color-accent-text)}.tools{width:100%;max-width:1120px;padding:2.5rem var(--gap) 4rem;flex-direction:column;gap:2rem;margin:0 auto;display:flex}.tools__head{gap:1.5rem;display:grid}.tools__title{outline:none}.tools-nav__list{flex-wrap:wrap;gap:.75rem;margin:0;padding:0;list-style:none;display:flex}.tools-nav__item{border:1px solid var(--color-border);border-radius:var(--radius);background:var(--color-surface);min-block-size:3.25rem;color:var(--color-text);transition:border-color var(--transition);align-items:center;gap:.75rem;padding:.6rem 1rem;line-height:1.25;text-decoration:none;display:flex}.tools-nav__item:hover,.tools-nav__item[aria-current]{border-color:var(--color-accent)}.tools-nav__item:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}.tools-nav__item strong,.tools-nav__text{display:block}.tools-nav__text{color:var(--color-text-muted);font-size:.85rem}.tools-nav__icon{fill:none;width:1.75rem;height:1.75rem;stroke:var(--color-accent-text);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.tools-nav__soon{border:1px dashed var(--color-border);border-radius:var(--radius);color:var(--color-text-muted);align-items:center;padding:.6rem 1rem;font-size:.85rem;display:flex}.tools__body{gap:var(--gap);align-items:start;display:grid}@media (width>=900px){.tools__body{grid-template-columns:minmax(0,1fr) 300px}.tools__promo{position:sticky;top:6rem}}.tuner{scroll-margin-top:6rem;container-type:inline-size}.tuner__header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.tuner__title{margin:0;font-size:1.35rem}.tuner__subtitle{color:var(--color-text-muted);margin:.25rem 0 0;font-size:.95rem}.tuner__mic{flex-shrink:0;min-block-size:2.75rem}.tuner__mic:not([aria-pressed=true]) .live-btn__dot{background:currentColor}.tuner__mic[aria-pressed=true]{background:0 0}.tuner__controls{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:1rem;display:grid}.tuner__controls-start{grid-column:2}.tuner__controls-mode{grid-column:3;justify-self:end;align-items:flex-end}.tuner__controls-mode .segmented__option{white-space:nowrap}@container (width<=680px){.tuner__controls{grid-template-columns:1fr;justify-items:center}.tuner__controls-start,.tuner__controls-mode{grid-column:1;justify-self:center;align-items:center}}.metronome__controls{justify-content:center;display:flex}.tuner__error{color:var(--color-error);margin:0;font-size:.9rem}.tuner__options{flex-wrap:wrap;gap:1rem 2rem;display:flex}.tuner__field{flex-direction:column;gap:.5rem;display:flex}.tuner__instruments{grid-template-columns:repeat(3,minmax(0,1fr))}.tuner__label{letter-spacing:.1em;text-transform:uppercase;color:var(--color-text-muted);font-size:.75rem;font-weight:700}.segmented{border:1px solid var(--color-border);border-radius:var(--radius);background:var(--color-bg);align-self:flex-start;display:inline-flex;overflow:hidden}.segmented__option{min-block-size:2.75rem;color:var(--color-text-muted);font:inherit;cursor:pointer;transition:background-color var(--transition), color var(--transition);background:0 0;border:none;padding:.5rem 1rem}.segmented__option+.segmented__option{border-left:1px solid var(--color-border)}.segmented__option:hover{color:var(--color-text)}.segmented__option[aria-checked=true]{background:var(--color-accent-soft);color:var(--color-accent-text);font-weight:600}.segmented__option:focus-visible{outline:2px solid var(--color-accent);outline-offset:-2px}.tuner__display{--tuner-color:var(--color-text-muted);border:1px solid var(--color-border);border-radius:var(--radius);background:var(--color-bg);text-align:center;flex-direction:column;align-items:center;gap:.35rem;padding:1.25rem 1rem 1.5rem;display:flex}.tuner__display[data-state=far]{--tuner-color:var(--color-error)}.tuner__display[data-state=near]{--tuner-color:var(--color-warning)}.tuner__display[data-state=in-tune]{--tuner-color:var(--color-accent)}.tuner__target,.tuner__frequency{min-height:1.5em;color:var(--color-text-muted);font-variant-numeric:tabular-nums;margin:0;font-size:.9rem}.tuner__note{transition:color var(--transition);margin:0;font-size:clamp(3rem,2.2rem + 4vw,4.5rem);font-weight:700;line-height:1}.tuner__display[data-state=in-tune] .tuner__note,.tuner__display[data-state=in-tune] .tuner__hint{color:var(--color-accent-text)}.tuner__note sub{color:var(--color-text-muted);vertical-align:baseline;margin-left:.05em;font-size:.4em;font-weight:600}.tuner-meter{background:linear-gradient(var(--color-diagram-fret), var(--color-diagram-fret)) right center / 2px 40% no-repeat, repeating-linear-gradient(90deg, var(--color-diagram-fret) 0 2px, transparent 2px 10%) left center / 100% 40% no-repeat;width:min(100%,460px);height:3rem;margin-top:.5rem;position:relative}.tuner-meter__zone{background:var(--color-accent-soft);box-shadow:inset 0 0 0 1px var(--color-accent-glow);border-radius:6px;position:absolute;inset:0 45%}.tuner-meter__track{transform:translateX(calc(var(--cents,0) * 1%));transition:transform .12s linear;position:absolute;inset:0}.tuner-meter__needle{background:var(--tuner-color);width:4px;transition:background-color var(--transition);border-radius:2px;position:absolute;top:-.3rem;bottom:-.3rem;left:calc(50% - 2px)}.tuner__display:is([data-state=idle],[data-state=listening]) .tuner-meter__needle{opacity:.4}.tuner-meter__labels{width:min(100%,460px);color:var(--color-text-muted);font-variant-numeric:tabular-nums;justify-content:space-between;font-size:.75rem;display:flex}.tuner__hold{background:var(--color-border);border-radius:2px;width:min(100%,460px);height:4px;margin-top:.25rem;position:relative;overflow:hidden}.tuner__hold:after{content:"";background:var(--color-accent);transform:scaleX(var(--hold,0));transform-origin:0;transition:transform .1s linear;position:absolute;inset:0}.tuner__hint{min-height:1.5em;margin:.35rem 0 0;font-weight:600}.tuner__strings-head{justify-content:space-between;align-items:center;gap:1rem;display:flex}.tuner__auto[aria-pressed=true]{font-weight:700;text-decoration:none}.tuner-strings{grid-template-columns:repeat(var(--string-count,6), minmax(0, 1fr));border:1px solid var(--color-border);border-radius:var(--radius);background:var(--color-surface-raised);gap:.25rem;padding:.5rem;display:grid}.tuner-string{border-radius:var(--radius);min-width:0;min-height:11rem;color:var(--color-text);font:inherit;cursor:pointer;transition:background-color var(--transition), border-color var(--transition);background:0 0;border:1px solid #0000;flex-direction:column;align-items:center;gap:.5rem;padding:.5rem .15rem;display:flex}.tuner-string:hover{background:var(--color-accent-soft)}.tuner-string:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}.tuner-string[aria-pressed=true]{border-color:var(--color-accent);background:var(--color-accent-soft)}.tuner-string__peg{border:2px solid var(--color-border);background:var(--color-surface);width:2.75rem;height:2.75rem;transition:border-color var(--transition), color var(--transition);border-radius:50%;justify-content:center;align-items:baseline;padding-top:.7rem;font-size:1.05rem;font-weight:700;line-height:1;display:inline-flex}.tuner-string__peg sub{color:var(--color-text-muted);font-size:.6em}.tuner-string__line{width:var(--gauge,2px);background:var(--color-diagram-string);border-radius:999px;flex:1;min-height:4rem}.tuner-string[data-sounding] .tuner-string__peg{border-color:var(--color-accent)}.tuner-string[data-sounding] .tuner-string__line{background:var(--color-accent);animation:80ms linear infinite alternate tuner-vibrate}@keyframes tuner-vibrate{0%{transform:translate(-1px)}to{transform:translate(1px)}}@media (prefers-reduced-motion:reduce){.tuner-string[data-sounding] .tuner-string__line{animation:none}.tuner-meter__track,.tuner__hold:after{transition:none}}.tuner-string__check{border:2px solid var(--color-border);color:#0000;width:1.75rem;height:1.75rem;transition:background-color var(--transition), border-color var(--transition);border-radius:50%;place-items:center;display:grid}.tuner-string__check svg{fill:none;stroke:currentColor;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;width:1rem;height:1rem}.tuner-string[data-tuned] .tuner-string__peg{border-color:var(--color-accent);color:var(--color-accent-text)}.tuner-string[data-tuned] .tuner-string__check{border-color:var(--color-accent);background:var(--color-accent);color:var(--color-accent-contrast)}.tuner__footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem 1rem;display:flex}.tuner__progress{margin:0;font-weight:600}.tuner__privacy{color:var(--color-text-muted);margin:0;font-size:.85rem}.tuner__tuning{min-block-size:2.75rem;max-width:100%}.tuner__help{max-width:28ch;color:var(--color-text-muted);margin:0;font-size:.8rem}.metronome__display{gap:.6rem}.metronome__tempo{align-items:center;gap:.75rem;display:flex}.metronome__step{width:3rem;height:3rem;padding:0;font-size:1.5rem;line-height:1}.metronome__bpm{border:none;border-bottom:2px solid var(--color-border);width:4.5ch;color:var(--color-text);font:inherit;text-align:center;font-variant-numeric:tabular-nums;appearance:textfield;background:0 0;padding:0;font-size:clamp(3rem,2.2rem + 4vw,4.5rem);font-weight:700;line-height:1.1}.metronome__bpm::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.metronome__bpm::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.metronome__bpm:focus-visible{border-bottom-color:var(--color-accent);outline:none}.metronome__unit,.metronome__elapsed{color:var(--color-text-muted);margin:0;font-size:.9rem}.metronome__elapsed{font-variant-numeric:tabular-nums;min-height:1.4em}.metronome__slider-field{width:min(100%,460px)}.metronome__slider,.metronome__volume input{width:100%;accent-color:var(--color-accent)}.metronome-dots{flex-wrap:wrap;justify-content:center;gap:.6rem;min-height:2.25rem;margin-top:.25rem;display:flex}.metronome-dot{border:2px solid var(--color-border);background:var(--color-surface);border-radius:50%;width:1.5rem;height:1.5rem;transition:background-color 60ms linear,border-color 60ms linear,transform 60ms linear}.metronome-dot[data-accent]{width:2.1rem;height:2.1rem}.metronome-dot[data-active]{border-color:var(--color-accent)}.metronome-dot[data-active][data-flash]{background:var(--color-accent);transform:scale(1.12)}.metronome-dots[data-muted] .metronome-dot[data-active][data-flash]{border-color:var(--color-text-muted);background:0 0;transform:none}@media (prefers-reduced-motion:reduce){.metronome-dot{transition:none}.metronome-dot[data-active][data-flash]{transform:none}}.metronome__status{text-align:center}.metronome__tap{min-block-size:2.75rem}.metronome__check,.metronome__volume{align-items:center;gap:.5rem;min-block-size:2rem;display:flex}.metronome__check input{width:1.1rem;height:1.1rem;accent-color:var(--color-accent)}.metronome__volume input{width:9rem}.metronome__practice{padding-top:var(--gap);border-top:1px solid var(--color-border);flex-wrap:wrap;align-items:flex-end;gap:1rem 2rem;display:flex}.metronome__fields{flex-wrap:wrap;gap:.75rem 1.25rem;display:flex}.metronome__fields label{color:var(--color-text-muted);flex-direction:column;gap:.35rem;font-size:.85rem;display:flex}.metronome__fields input{width:6rem;border:1px solid var(--color-border);border-radius:var(--radius);background:var(--color-bg);min-block-size:2.75rem;color:var(--color-text);font:inherit;padding:.4rem .6rem}.tuned-modal{border:1px solid var(--color-accent);border-radius:var(--radius);background:var(--color-surface);width:min(100% - 2rem,440px);color:var(--color-text);text-align:center;padding:2rem 1.5rem 1.5rem}.tuned-modal:modal{overscroll-behavior:contain}.tuned-modal::backdrop{background:var(--color-backdrop);overscroll-behavior:contain;overflow:hidden}.tuned-modal__form{align-items:center;gap:var(--gap);flex-direction:column;display:flex}.tuned-modal__icon{background:var(--color-accent);width:3.5rem;height:3.5rem;color:var(--color-accent-contrast);border-radius:50%;place-items:center;display:grid}.tuned-modal__icon svg{fill:none;stroke:currentColor;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;width:2rem;height:2rem}.tuned-modal__text{color:var(--color-text-muted);margin:0}.tuned-modal__actions{flex-wrap:wrap;justify-content:center;gap:.75rem;display:flex}.chord-library{scroll-margin-top:6rem}.chord-library[hidden]{display:none}.chord-library__header{flex-direction:column;gap:.25rem;display:flex}.chord-library__options{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:1rem 2rem;display:grid}.chord-library__field--wide{grid-column:1/-1}.chord-library__roots{grid-template-columns:repeat(auto-fill,minmax(3.25rem,1fr));gap:.4rem;display:grid}.chord-library__root{border:1px solid var(--color-border);border-radius:var(--radius);background:var(--color-surface-raised);min-height:2.75rem;color:var(--color-text);font:inherit;cursor:pointer;flex-direction:column;justify-content:center;align-items:center;padding:.25rem;font-weight:700;display:flex}.chord-library__root:hover{border-color:var(--color-accent)}.chord-library__root[aria-checked=true]{background:var(--color-accent);border-color:var(--color-accent);color:var(--color-accent-contrast)}.chord-library__latin{opacity:.8;font-size:.7rem;font-weight:400}.chord-library__summary{border-radius:var(--radius);background:var(--color-surface-raised);flex-wrap:wrap;align-items:center;gap:1rem 2rem;padding:1rem;display:flex}.chord-library__name{color:var(--color-accent-text);margin:0;font-size:2.5rem;font-weight:800;line-height:1}.chord-library__fullname{color:var(--color-text-muted);margin:.25rem 0 0}.chord-library__facts{flex-wrap:wrap;gap:.5rem 2rem;margin:0;display:flex}.chord-library__facts dt{color:var(--color-text-muted);font-size:.8rem}.chord-library__facts dd{margin:0;font-size:1.15rem;font-weight:600}.chord-library__play{margin-inline-start:auto}.chord-library__count{margin:0;font-size:1.05rem}.chord-library__hint{color:var(--color-text-muted);margin:-.5rem 0 0;font-size:.9rem}.chord-library__list{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.chord-library__card{border:1px solid var(--color-border);border-radius:var(--radius);background:var(--color-surface-raised);text-align:center;flex-direction:column;align-items:center;gap:.4rem;padding:.75rem .5rem;display:flex}.chord-library__diagram{justify-content:center;width:100%;display:flex}.chord-library__card-title{margin:0;font-weight:600}.chord-library__card-notes{color:var(--color-text-muted);margin:0;font-size:.85rem}.guide-tools{gap:var(--gap);grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));display:grid}.guide-tool{flex-direction:column;gap:.75rem;display:flex}.guide-tool h3{margin:0}.guide-tool__steps{color:var(--color-text-muted);gap:.5rem;margin:0;padding-inline-start:1.25rem;display:grid}.guide-tool__steps strong{color:var(--color-text)}.guide-tool__open{align-self:flex-start;margin-top:auto}@media (pointer:coarse){input:not([type=checkbox],[type=radio],[type=range],[type=file]),select,textarea{font-size:max(16px,1em)!important}}
