:root{--space-0:0;--space-1:.25rem;--space-2:.5rem;--space-3:.75rem;--space-4:1rem;--space-5:1.5rem;--space-6:2rem;--space-7:3rem;--space-8:4rem;--font-text:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--font-mono:ui-monospace, "SF Mono", Menlo, Consolas, monospace;--font-display:var(--font-text);--text-xs:.75rem;--text-sm:.875rem;--text-md:1rem;--text-lg:1.125rem;--text-xl:1.375rem;--text-2xl:1.75rem;--text-3xl:2.25rem;--leading-tight:1.2;--leading-normal:1.5;--weight-regular:400;--weight-medium:500;--weight-bold:600;--radius-xs:4px;--radius-sm:6px;--radius-md:10px;--radius-lg:14px;--radius-xl:20px;--radius-full:999px;--shadow-1:0 1px 2px #00000014;--shadow-2:0 2px 8px #0000001f;--shadow-3:0 8px 24px #0000002e;--dur-fast:.15s;--dur-base:.25s;--dur-slow:.4s;--ease-out:cubic-bezier(.2, 0, 0, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--tap-min:44px;--focus-width:3px;--focus-offset:2px;--measure:46rem}@media (prefers-reduced-motion:reduce){:root{--dur-fast:1ms;--dur-base:1ms;--dur-slow:1ms}}:where(a,button,input,select,textarea,summary,[tabindex],[role=button],[role=switch],[role=checkbox]):focus-visible{outline:var(--focus-width) solid var(--color-focus,currentColor);outline-offset:var(--focus-offset)}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@font-face{font-family:Readout;src:url(/assets/barlow-condensed-600-Bih7BdwW.woff)format("woff");font-weight:600;font-style:normal;font-display:swap}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#1a1311;--surface:#241a17;--surface-2:#31241f;--line:#45352e;--text:#ede5d9;--muted:#a8988a;--accent:#d6ae5e;--accent-ink:#1a1311;--ok:#62d394;--ok-soft:#62d39438;--danger:#f08a76;--danger-soft:#f08a761f;--font:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-display:"Readout", "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;--tap:48px;--radius:14px;--gutter:16px}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#eceee9;--surface:#f8f9f6;--surface-2:#dde2da;--line:#c3cac0;--text:#1d1816;--muted:#5b554f;--accent:#8a6516;--accent-ink:#fff;--ok:#16804a;--ok-soft:#16804a2e;--danger:#b03a26;--danger-soft:#b03a2614}*,:before,:after{box-sizing:border-box}html,body{height:100%}body{background:var(--bg);color:var(--text);font:16px/1.45 var(--font);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;margin:0;overflow:hidden}[hidden]{display:none!important}:focus-visible{outline:var(--focus-width) solid var(--accent);outline-offset:2px}a{color:var(--accent);text-underline-offset:2px}.muted{color:var(--muted)}.icon{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px}.app{grid-template-rows:auto 1fr auto;grid-template-areas:"top""main""nav";height:100dvh;display:grid}.topbar{padding:calc(env(safe-area-inset-top) + 6px) calc(env(safe-area-inset-right) + var(--gutter)) 6px calc(env(safe-area-inset-left) + var(--gutter));grid-area:top;justify-content:space-between;align-items:center;gap:12px;display:flex}.topbar__title{font:600 1.75rem/1.1 var(--font-display);letter-spacing:.01em;outline:none;margin:0}.topbar__actions{gap:4px;display:flex}.icon-btn{min-width:44px;min-height:44px;color:var(--muted);font:600 .9375rem var(--font);cursor:pointer;background:0 0;border:0;border-radius:12px;place-items:center;padding:0 10px;display:inline-grid}.icon-btn:hover{color:var(--text)}.nav{z-index:10;background:var(--surface);border-top:1px solid var(--line);padding:0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);grid-area:nav;display:flex}.nav__brand{display:none}.nav__item{min-height:58px;color:var(--muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;font-size:.75rem;font-weight:600;text-decoration:none;display:flex;position:relative}.nav__item[aria-current=page]{color:var(--text)}.nav__item[aria-current=page]:before{content:"";background:var(--accent);border-radius:0 0 3px 3px;height:3px;position:absolute;top:-1px;left:30%;right:30%}.main{overscroll-behavior:contain;flex-direction:column;grid-area:main;min-width:0;min-height:0;display:flex;overflow-y:auto}.view{width:100%;max-width:560px;padding:8px calc(env(safe-area-inset-right) + var(--gutter)) 18px calc(env(safe-area-inset-left) + var(--gutter));flex-direction:column;flex:1 0 auto;gap:18px;margin:0 auto;display:flex}.actions{z-index:1;background:linear-gradient(to bottom, transparent, var(--bg) 12px);gap:10px;margin-top:auto;margin-bottom:-18px;padding:12px 0 18px;display:grid;position:sticky;bottom:0}.actions--split{grid-template-columns:1fr 2fr}.actions--split .alert{grid-column:1/-1}@media (width>=768px){.app{grid-template:"nav top""nav main"1fr/236px 1fr}.nav{border-top:0;border-right:1px solid var(--line);flex-direction:column;gap:4px;padding:20px 12px}.nav__brand{font:600 1.375rem/1.2 var(--font-display);letter-spacing:.01em;color:var(--accent);padding:4px 14px 20px;display:block}.nav__item{border-radius:12px;flex-direction:row;flex:none;justify-content:flex-start;gap:12px;min-height:48px;padding:0 14px;font-size:.9375rem}.nav__item:hover{color:var(--text)}.nav__item[aria-current=page]{background:var(--surface-2)}.nav__item[aria-current=page]:before{border-radius:0 3px 3px 0;width:3px;height:auto;inset:12px auto 12px 0}.topbar{padding-top:16px}.topbar__title{font-size:2rem}.view{padding-top:8px}}.btn{min-height:var(--tap);min-width:var(--tap);border:1px solid var(--line);background:var(--surface);color:var(--text);font:600 1rem var(--font);cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;border-radius:12px;padding:0 18px}.btn:disabled{opacity:.4;cursor:default}.btn--square{padding:0;font-size:1.5rem;line-height:1}.btn--primary{background:var(--accent);min-height:60px;color:var(--accent-ink);border-color:#0000;font-size:1.125rem}.btn--primary[aria-pressed=true]{border-color:var(--line);background:var(--surface-2);color:var(--text)}.seg{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);grid-auto-columns:1fr;grid-auto-flow:column;gap:4px;padding:4px;display:grid}.seg button{min-height:44px;color:var(--muted);font:600 .9375rem var(--font);cursor:pointer;touch-action:manipulation;background:0 0;border:0;border-radius:10px;padding:0 4px}.seg button[aria-checked=true]{background:var(--surface-2);color:var(--text);box-shadow:inset 0 -2px 0 var(--accent)}.stepper{justify-content:space-between;align-items:center;gap:12px;display:flex}.stepper__label{color:var(--muted);font-size:.9375rem}.stepper__controls{align-items:center;gap:6px;display:flex}.stepper__value{text-align:center;min-width:4.5ch;font:600 1.25rem var(--font-display);letter-spacing:.02em;font-variant-numeric:tabular-nums}.alert{background:var(--danger-soft);color:var(--danger);border-radius:12px;margin:0;padding:12px 14px;font-size:.9375rem}.icon-btn--small{min-width:36px;min-height:36px;padding:0 6px}.icon-btn--small .icon{width:20px;height:20px}.icon-btn--large{border:1px solid var(--line);min-width:52px;min-height:56px;color:var(--text)}.icon-btn--toggle{border:1px solid var(--line);min-width:52px;min-height:56px}.icon-btn--toggle[aria-pressed=true]{border-color:var(--accent);color:var(--accent)}.icon--bold{stroke-width:3px}.icon--fill{fill:currentColor;stroke:none}.btn--quiet{background:0 0;border-color:#0000;min-width:40px;min-height:48px}.link-btn{color:var(--accent);font:600 inherit var(--font);font-size:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline;text-decoration-thickness:1px}.sheet{background:var(--surface);width:100%;max-width:100%;max-height:86dvh;color:var(--text);overscroll-behavior:contain;border:0;border-radius:20px 20px 0 0;margin:auto auto 0;padding:0;overflow:hidden auto;box-shadow:0 -12px 40px #00000059}.sheet[open]{flex-direction:column;animation:.18s ease-out sheet-in;display:flex}.sheet::backdrop{background:#0a06058c}:root[data-theme=light] .sheet::backdrop{background:#1d181659}@keyframes sheet-in{0%{opacity:0;transform:translateY(24px)}}.sheet__head{z-index:1;padding:14px 10px 6px var(--gutter);background:var(--surface);justify-content:space-between;align-items:center;gap:8px;display:flex;position:sticky;top:0}.sheet__head:before{content:"";background:var(--line);border-radius:2px;width:36px;height:4px;margin-left:-18px;position:absolute;top:6px;left:50%}.sheet__title{font:600 1.5rem/1.1 var(--font-display);letter-spacing:.01em;margin:0}.sheet__body{padding:0 var(--gutter) calc(env(safe-area-inset-bottom) + 16px)}.sheet__group+.sheet__group{border-top:1px solid var(--line)}@media (width>=640px){.sheet{border-radius:18px;max-width:440px;max-height:80dvh;margin:auto;box-shadow:0 20px 60px #00000073}.sheet__head:before{display:none}}.row{width:100%;min-height:60px;color:var(--text);font:inherit;text-align:left;background:0 0;border:0;align-items:center;gap:14px;padding:10px 0;display:flex}button.row{cursor:pointer;touch-action:manipulation}.row--stacked{flex-direction:column;align-items:stretch;gap:8px}.row__text{flex:1;gap:2px;min-width:0;display:grid}.row__label{font-weight:600}.row__hint{color:var(--muted);margin:0;font-size:.8125rem;line-height:1.35}.row__chevron{width:18px;height:18px;color:var(--muted)}.row--menu[aria-expanded=true] .row__label{color:var(--accent)}.switch{background:var(--surface-2);width:46px;height:28px;box-shadow:inset 0 0 0 1px var(--line);border-radius:14px;flex:none;transition:background .15s;position:relative}.switch__knob{background:var(--muted);border-radius:50%;width:22px;height:22px;transition:transform .15s,background .15s;position:absolute;top:3px;left:3px}.row--switch[aria-checked=true] .switch{background:var(--accent);box-shadow:none}.row--switch[aria-checked=true] .switch__knob{background:var(--accent-ink);transform:translate(18px)}.seg--compact{flex:none;padding:3px}.seg--compact button{min-height:38px;padding:0 14px}.field{border:1px solid var(--line);background:var(--bg);min-width:0;min-height:44px;color:var(--text);font:inherit;border-radius:10px;flex:1;padding:0 12px;font-size:.9375rem}.field--select{flex:none;max-width:12rem}.field-line{gap:8px;display:flex}.field-line .field{width:0}.panel__head{justify-content:space-between;align-items:center;margin:-4px -4px -2px 0;display:flex}.panel__title{font:600 1.25rem/1.1 var(--font-display);letter-spacing:.01em;margin:0}@media (prefers-reduced-motion:reduce){.sheet[open]{animation:none}.switch,.switch__knob{transition:none}}.tuner__display{flex-direction:column;align-items:center;display:flex}.gauge{width:100%;max-width:380px;max-height:26dvh;overflow:visible}.gauge__track{fill:none;stroke:var(--line);stroke-width:2px}.gauge__zone{fill:none;stroke:var(--ok-soft);stroke-width:26px}.gauge.is-in-tune .gauge__zone{stroke:var(--ok);opacity:.45}.gauge__tick{stroke:var(--muted);stroke-width:1.5px;stroke-linecap:round;opacity:.55}.gauge__tick--major{stroke-width:2.5px;opacity:.9}.gauge__labels text{fill:var(--muted);font:600 12px var(--font)}.gauge__needle line{stroke:var(--accent);stroke-width:4px;stroke-linecap:round}.gauge__needle circle{fill:var(--accent)}.gauge.is-in-tune .gauge__needle line{stroke:var(--ok)}.gauge.is-in-tune .gauge__needle circle{fill:var(--ok)}.gauge.is-idle .gauge__needle{opacity:.3}.gauge.is-idle .gauge__needle line{stroke:var(--muted)}.gauge.is-idle .gauge__needle circle{fill:var(--muted)}.readout{text-align:center;flex-direction:column;align-items:center;margin-top:-6px;transition:opacity .2s;display:flex}.note{font-family:var(--font-display);align-items:baseline;font-weight:600;line-height:1;display:flex}.note__letter{font-size:clamp(3.25rem,min(21vw,11dvh),6.5rem)}.note__octave{color:var(--muted);margin-left:2px;font-size:clamp(1.5rem,min(8vw,4.5dvh),2.5rem)}.readout__meta{font-variant-numeric:tabular-nums;gap:14px;min-height:1.5em;font-size:1.0625rem;display:flex}.readout__solfege{color:var(--muted)}.readout__cents{font-weight:600}.readout__hint{min-height:1.45em;color:var(--muted);margin:4px 0 0}.readout.is-in-tune .note__letter,.readout.is-in-tune .readout__hint,.readout.is-in-tune .readout__cents{color:var(--ok)}.readout.is-in-tune .readout__hint{font-weight:700}.readout.is-off .readout__cents{color:var(--accent)}.readout.is-stale{opacity:.55}.readout.is-idle .note__letter{color:var(--line)}.tuner__strings{gap:8px;display:grid}.strings{grid-template-columns:repeat(6,1fr);gap:6px;display:grid}.string{border:1px solid var(--line);background:var(--surface);min-height:72px;color:var(--text);font:600 1.375rem var(--font-display);cursor:pointer;touch-action:manipulation;border-radius:12px;flex-direction:column;justify-content:space-between;align-items:center;padding:8px 0 6px;display:flex;position:relative}.string__line{width:70%;height:var(--gauge,2px);background:var(--muted);opacity:.6;border-radius:2px}.string__number{color:var(--muted);font:600 .75rem var(--font)}.string.is-target{border-color:var(--accent)}.string.is-target .string__line{background:var(--accent);opacity:1}.string.is-in-tune{border-color:var(--ok)}.string.is-in-tune .string__line{background:var(--ok)}.string[aria-pressed=true]{background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--accent)}.tuner__a4{color:var(--accent);font:600 1rem var(--font-display);letter-spacing:.02em;text-align:center;margin:-6px 0 0}.strings__info{min-height:1.45em;color:var(--muted);text-align:center;margin:0;font-size:.875rem}.beats{justify-content:center;align-items:center;gap:16px;min-height:44px;padding-top:8px;display:flex}.beat{border:2px solid var(--line);background:0 0;border-radius:50%;width:18px;height:18px}.beat--strong{border-color:var(--accent);width:28px;height:28px}.beat--medium{width:22px;height:22px}.beat.is-on{background:var(--text);border-color:var(--text)}.beat--strong.is-on{background:var(--accent);border-color:var(--accent)}.tempo{flex-direction:column;align-items:center;display:flex}.tempo__value{font:600 clamp(6rem, 34vw, 10rem) / .9 var(--font-display);font-variant-numeric:tabular-nums}.tempo__unit{color:var(--muted);font-weight:600}.tempo-row{grid-template-columns:auto 1fr auto;align-items:center;gap:12px;display:grid}.slider{appearance:none;cursor:pointer;touch-action:pan-y;background:0 0;width:100%;height:44px;margin:0}.slider::-webkit-slider-runnable-track{background:var(--line);border-radius:2px;height:4px}.slider::-webkit-slider-thumb{appearance:none;background:var(--accent);width:30px;height:30px;box-shadow:0 0 0 4px var(--bg);border:0;border-radius:50%;margin-top:-13px}.slider::-moz-range-track{background:var(--line);border-radius:2px;height:4px}.slider::-moz-range-thumb{background:var(--accent);width:30px;height:30px;box-shadow:0 0 0 4px var(--bg);border:0;border-radius:50%}.hint-keys{color:var(--muted);text-align:center;margin:0;font-size:.875rem;display:none}@media (hover:hover) and (pointer:fine){.hint-keys{display:block}}.btn--tap{min-height:60px;font-size:1.125rem}.btn--tap.is-hit{animation:.18s ease-out tap-hit}@keyframes tap-hit{0%{background:var(--surface-2);border-color:var(--accent)}}.scores__lead{margin:0 0 8px;font-size:1.0625rem}.scores__result:empty{display:none}.library-view{flex-direction:column;flex:1 0 auto;gap:14px;display:flex}.library__empty p{margin:0 0 8px}.library{border-top:1px solid var(--line);margin:0;padding:0;list-style:none}.library__item{border-bottom:1px solid var(--line);align-items:center;gap:4px;display:flex}.library__open{min-width:0;min-height:60px;color:var(--text);flex-direction:column;flex:1;justify-content:center;padding:10px 0;text-decoration:none;display:flex}.library__title{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.library__meta{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;overflow:hidden}.library__rename{border:1px solid var(--accent);background:var(--surface);min-width:0;min-height:44px;color:var(--text);font:inherit;border-radius:10px;flex:1;margin:8px 0;padding:0 12px}.view--scores.is-player{flex:1 1 0;gap:0;max-width:none;min-height:0;padding-bottom:12px}.player{flex-direction:column;flex:1;gap:8px;min-height:0;display:flex}.player__bar{align-items:center;gap:4px;min-width:0;margin:0 -10px;display:flex}.btn--ghost{color:var(--accent);background:0 0;border-color:#0000;padding:0 10px}.player__heading{flex:1;min-width:0}.player__heading p{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.player__title{font:600 1.375rem/1.15 var(--font-display);letter-spacing:.01em}.player__artist{color:var(--muted);font-size:.8125rem}.player__notice{color:var(--muted);flex-wrap:wrap;align-items:baseline;gap:2px 10px;margin:-2px 0 0;font-size:.8125rem;display:flex}.player__stage{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);flex:1;min-height:180px;position:relative;overflow:hidden}.player__score{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;position:absolute;inset:0;overflow:auto}.player__surface{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;min-height:100%;position:relative}:root{--finger-1:#3b7fd4;--finger-2:#2f9a57;--finger-3:#e07b24;--finger-4:#c93d6a;--finger-5:#7d5bc6}.fingering{z-index:2;pointer-events:none;position:absolute;overflow:visible}.fingering__dot{pointer-events:auto;cursor:pointer}.fingering__hit{fill:#0000}.fingering__disc{stroke:var(--surface);stroke-width:1px}.fingering__dot.is-forced .fingering__disc{stroke:var(--text);stroke-width:1.5px}.fingering text{fill:#fff;text-anchor:middle;dominant-baseline:central;pointer-events:none;font-family:system-ui,sans-serif;font-weight:700}.fingering--1 .fingering__disc{fill:var(--finger-1)}.fingering--2 .fingering__disc{fill:var(--finger-2)}.fingering--3 .fingering__disc{fill:var(--finger-3)}.fingering--4 .fingering__disc{fill:var(--finger-4)}.fingering--5 .fingering__disc{fill:var(--finger-5)}.fingering-menu{z-index:50;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);gap:6px;padding:6px;display:flex;position:fixed;box-shadow:0 6px 24px #00000040}.fingering-menu[hidden]{display:none}.fingering-menu button{min-width:40px;min-height:40px;font:inherit;color:#fff;cursor:pointer;border:0;border-radius:999px;font-weight:700}.fingering-menu button[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:2px}.fingering-menu__finger.fingering--1{background:var(--finger-1)}.fingering-menu__finger.fingering--2{background:var(--finger-2)}.fingering-menu__finger.fingering--3{background:var(--finger-3)}.fingering-menu__finger.fingering--4{background:var(--finger-4)}.fingering-menu__finger.fingering--5{background:var(--finger-5)}.fingering-menu__auto{background:var(--surface-2);padding:0 12px;color:var(--text)!important;border-radius:10px!important;font-weight:600!important}.player__status{background:var(--surface-2);color:var(--muted);white-space:nowrap;border-radius:12px;margin:0;padding:10px 16px;font-size:.9375rem;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.player .at-selection div{background:#d6ae5e4d}.player .at-cursor-bar{background:#ede5d90f}.player .at-cursor-beat{background:var(--accent);width:3px}.player .at-highlight *{fill:var(--accent);stroke:var(--accent)}:root[data-theme=light] .player .at-selection div{background:#8a651638}:root[data-theme=light] .player .at-cursor-bar{background:#1d18160d}.player__controls{gap:6px;display:grid}.player__row{align-items:center;gap:8px;display:flex}.player__row--selection{min-height:36px}.player__sel-label{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:.875rem;overflow:hidden}.player__sel-label.is-set{color:var(--text);font-weight:600}.player__time{color:var(--muted);font:600 1rem var(--font-display);letter-spacing:.02em;font-variant-numeric:tabular-nums}.btn--small{min-height:44px;padding:0 12px;font-size:.9375rem}.toggle{border:1px solid var(--line);min-height:44px;color:var(--muted);font:600 .9375rem var(--font);cursor:pointer;touch-action:manipulation;background:0 0;border-radius:999px;padding:0 14px}.toggle[aria-pressed=true]{border-color:var(--accent);background:var(--surface-2);color:var(--text)}.player__row--transport{gap:6px}.btn--play{flex:1;justify-content:center;align-items:center;gap:8px;min-width:0;min-height:56px;display:inline-flex}.btn--play .icon{width:20px;height:20px}.player__speed{border:1px solid var(--line);border-radius:12px;gap:0;padding:2px}.player__speed .stepper__value{min-width:3.6ch;font:600 1.25rem var(--font-display)}@media (height<=760px){.btn--play{min-height:50px}}.app:has(.view--scores.is-player:not([hidden])) .topbar{display:none}@media (width>=768px){.view--scores.is-player{padding-top:18px}.player__controls{width:100%;max-width:640px;margin:0 auto}}@media (width<=767px),(height<=700px){.view--scores.is-player{padding-top:calc(env(safe-area-inset-top) + 6px)}.player__stage{min-height:140px}}.media{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);gap:8px;padding:10px;display:grid}.media__picker,.media__linked,.media__task{gap:8px;min-width:0;display:grid}.media__row{align-items:center;gap:8px;min-width:0;display:flex}.media__row--wrap,.media__actions{flex-wrap:wrap}.media__row--end{justify-content:flex-end}.media__input{border:1px solid var(--line);background:var(--bg);min-width:0;min-height:44px;color:var(--text);font:inherit;border-radius:10px;flex:1;padding:0 12px;font-size:.9375rem}.media__row>.media__input{width:0}.media__results{gap:4px;max-height:232px;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.media__results:empty{display:none}.media__result{width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;align-items:center;gap:10px;padding:6px;display:flex}.media__result:hover{background:var(--surface-2)}.media__result[aria-pressed=true]{border-color:var(--accent)}.media__result img{object-fit:cover;border-radius:6px;flex:none;width:96px;height:54px}.media__result-text{min-width:0;display:grid}.media__result-title{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.9375rem;font-weight:600;display:-webkit-box;overflow:hidden}.media__result-channel{color:var(--muted);font-size:.8125rem}.media__frame:empty{display:none}.media__video{aspect-ratio:16/9;background:#000;border-radius:10px;width:100%;max-width:calc(1.77778*min(28vh,260px));margin:0 auto;position:relative;overflow:hidden}.media__video iframe{border:0;width:100%;height:100%;position:absolute;inset:0}.media__audio{width:100%;display:block}.media__title{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;margin:0;font-size:.9375rem;overflow:hidden}.media__help,.media__message{color:var(--muted);margin:0;font-size:.875rem}.media__message:empty{display:none}.media__message.is-problem{color:var(--danger)}.media__progress{font-variant-numeric:tabular-nums;margin:0;font-weight:600}.media__tap{min-height:72px;font-size:1.25rem}.media__tap.is-hit{animation:.18s ease-out tap-hit}.media__level{background:var(--surface-2);border-radius:4px;flex:1;height:8px;overflow:hidden}.media__level-bar{background:var(--ok);width:0;height:100%;transition:width .1s linear;display:block}.media__key summary{min-height:32px;color:var(--muted);cursor:pointer;font-size:.875rem}.media__key[open]{gap:6px;display:grid}:root{--added:#5ccfc0}:root[data-theme=light]{--added:#0f7a6c}.additions{z-index:2;pointer-events:none;position:absolute;overflow:visible}.additions__ring{pointer-events:auto;cursor:pointer}.additions__hit{fill:#0000}.additions__circle{fill:none;stroke:var(--added);stroke-width:1.5px}.additions--passing .additions__circle{stroke-dasharray:3 2}.embellish__kind[aria-pressed=true]{border-color:var(--added)}.bar-marks{z-index:2;pointer-events:none;position:absolute;overflow:visible}.bar-marks__bar{fill:var(--accent);fill-opacity:.14;stroke:var(--accent);stroke-opacity:.7;stroke-width:1.5px;stroke-dasharray:5 4}.rhythm,.embellish{overscroll-behavior:contain;max-height:55vh;overflow-y:auto}.rhythm__again{justify-self:start}.rhythm__bar{font-variant-numeric:tabular-nums;min-width:44px;padding:0 10px}.rhythm__sources{color:var(--muted);gap:2px;margin:4px 0 0;padding:0;font-size:.875rem;list-style:none;display:grid}.rhythm__source{overflow-wrap:anywhere}.rhythm__source.is-used{color:var(--text)}.rhythm__source.is-used span{color:var(--ok)}.rhythm__more[open],.rhythm__sources-box[open]{gap:8px;display:grid}.rhythm__answer{resize:vertical;width:100%;min-height:72px;padding:8px 12px}.btn--accent{background:var(--accent);color:var(--accent-ink);border-color:#0000}.btn--link{align-items:center;text-decoration:none;display:inline-flex}.card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:16px}.card p{margin:0 0 10px}.card p:last-child{margin-bottom:0}.card__title{font-weight:700}.card--ok{border-color:var(--ok)}.card--guide{border-color:var(--accent)}.status-line{border:1px dashed var(--line);border-radius:var(--radius);color:var(--muted,inherit);margin:0;padding:12px 16px}.steps{margin:0 0 10px;padding-left:1.4em}.steps li{margin-bottom:6px}.toast{z-index:20;left:50%;top:calc(env(safe-area-inset-top) + 4px);width:min(calc(100% - 2 * var(--gutter)), 480px);border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2);min-height:46px;color:var(--text);align-items:center;gap:12px;padding:4px 4px 4px 16px;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 8px 24px #00000040}.toast__text{cursor:default;flex:1;font-size:.9375rem}.toast__action{background:var(--accent);min-height:44px;color:var(--accent-ink);font:600 .9375rem var(--font);cursor:pointer;border:0;border-radius:11px;padding:0 14px}@media (width>=768px){.toast{width:min(440px,100% - 284px);top:10px;left:auto;right:24px;transform:none}}@media (height<=760px){.view{gap:12px}.gauge{max-height:22dvh}.string{min-height:56px;padding:6px 0 4px}.btn--primary,.btn--tap{min-height:52px}.tempo__value{font-size:clamp(4rem,16dvh,8.5rem)}}@media (prefers-reduced-motion:reduce){.readout{transition:none}.btn--tap.is-hit{animation:none}}:root{--color-bg:var(--bg);--color-surface:var(--surface);--color-surface-2:var(--surface-2);--color-fg:var(--text);--color-fg-muted:var(--muted);--color-line:var(--line);--color-accent:var(--accent);--color-on-accent:var(--accent-ink);--color-ok:var(--ok);--color-danger:var(--danger);--color-focus:var(--accent);--font-text:var(--font)}
