@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,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:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Space Grotesk Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/space-grotesk-vietnamese-wght-normal-D0rl6rjA.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Space Grotesk Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/space-grotesk-latin-ext-wght-normal-D9tNdqV9.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,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:Space Grotesk Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/space-grotesk-latin-wght-normal-BhU9QXUp.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg:#0c0d10;--surface:#15171c;--surface-2:#1d2027;--surface-3:#262a33;--line:#ffffff12;--line-strong:#ffffff24;--text:#f3f2ef;--text-2:#b4b6bd;--muted:#7c808b;--accent:#ff6b3d;--accent-soft:#ff6b3d29;--accent-ink:#1a0b05;--rhythm:#35d6bd;--rhythm-soft:#35d6bd26;--warn:#ffc15e;--good:#4ade80;--early:#6aa8ff;--late:#ffb15e;--shadow:0 10px 30px #00000059;--radius:18px;--radius-sm:12px;--font:"Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--font-num:"Space Grotesk Variable", var(--font);--tap:44px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}@media (prefers-color-scheme:light){:root:not([data-theme=dark]){--bg:#f6f5f2;--surface:#fff;--surface-2:#f0efeb;--surface-3:#e5e3de;--line:#14141e14;--line-strong:#14141e29;--text:#16171b;--text-2:#4a4d55;--muted:#80838c;--accent:#f0531f;--accent-soft:#f0531f1f;--accent-ink:#fff;--rhythm:#0f9e8a;--rhythm-soft:#0f9e8a1f;--warn:#c98200;--good:#16a34a;--early:#2f6fd6;--late:#c87300;--shadow:0 10px 30px #1e1e281a;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}}:root[data-theme=light]{--bg:#f6f5f2;--surface:#fff;--surface-2:#f0efeb;--surface-3:#e5e3de;--line:#14141e14;--line-strong:#14141e29;--text:#16171b;--text-2:#4a4d55;--muted:#80838c;--accent:#f0531f;--accent-soft:#f0531f1f;--accent-ink:#fff;--rhythm:#0f9e8a;--rhythm-soft:#0f9e8a1f;--warn:#c98200;--good:#16a34a;--early:#2f6fd6;--late:#c87300;--shadow:0 10px 30px #1e1e281a;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*,:before,:after{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;overscroll-behavior:none;font-size:15px;line-height:1.45}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;background:0 0;border:0;padding:0}button:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}h1,h2,h3,h4,p{margin:0}.app{grid-template-rows:auto 1fr auto auto;max-width:560px;height:100dvh;margin:0 auto;display:grid;position:relative;overflow:hidden}.topbar{padding:calc(env(safe-area-inset-top) + 10px) 18px 6px;justify-content:space-between;align-items:center;display:flex}.brand{font-family:var(--font-num);letter-spacing:-.01em;align-items:center;gap:8px;font-size:18px;font-weight:700;display:flex}.brand-mark{background:var(--accent);width:14px;height:14px;box-shadow:0 0 0 4px var(--accent-soft);border-radius:50%}.content{-webkit-overflow-scrolling:touch;scrollbar-width:none;overflow:hidden auto}.content::-webkit-scrollbar{display:none}.view{flex-direction:column;gap:14px;padding:8px 16px 24px;display:flex}.view-intro{color:var(--text-2);padding:0 2px;font-size:14px}.dock{border-top:1px solid var(--line);background:var(--bg);grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:10px 20px;display:grid}.dock-side{min-height:var(--tap);justify-self:start;align-items:center;gap:10px;padding-right:8px;display:flex}.tap-ring{background:var(--surface-2);border:1px solid var(--line);border-radius:50%;place-items:center;width:48px;height:48px;display:grid}.tap-ring.hit{animation:.25s ease-out tap-hit}@keyframes tap-hit{0%{background:var(--accent);color:var(--accent-ink);transform:scale(.92)}}.dock-label{font-family:var(--font-num);color:var(--text-2);font-variant-numeric:tabular-nums;font-size:15px;font-weight:600}.play-btn{background:var(--accent);width:74px;height:74px;color:var(--accent-ink);box-shadow:0 8px 24px -6px var(--accent), inset 0 1px 0 #ffffff40;border-radius:50%;place-items:center;transition:transform .12s,box-shadow .2s;display:grid}.play-btn svg{margin-left:3px}.play-btn.playing svg{margin-left:0}.play-btn:active{transform:scale(.94)}.play-btn.playing{background:var(--text);color:var(--bg);box-shadow:0 8px 24px -10px #00000080}.dock-clock{flex-direction:column;justify-self:end;align-items:flex-end;line-height:1.15;display:flex}.dock-clock-main{font-family:var(--font-num);font-variant-numeric:tabular-nums;font-size:20px;font-weight:600}.dock-clock-sub{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:12px}.tabbar{padding:4px 8px max(6px, calc(env(safe-area-inset-bottom) - 14px));background:var(--surface);border-top:1px solid var(--line);grid-template-columns:repeat(4,1fr);display:grid}.tabbar button{color:var(--muted);letter-spacing:.02em;border-radius:12px;flex-direction:column;align-items:center;gap:3px;padding:8px 0 6px;font-size:11px;font-weight:600;transition:color .15s;display:flex}.tabbar button.on{color:var(--accent)}.metronome-view{justify-content:space-evenly;gap:14px;min-height:100%;padding-top:4px}.phase-banner{justify-content:flex-end;gap:6px;min-width:0;display:flex;overflow:hidden}.mode-chip{color:var(--text-2);background:var(--surface-2);border:1px solid var(--line);border-radius:99px;flex:none;padding:4px 10px;font-size:11.5px;font-weight:600}.phase-pill{background:var(--accent-soft);color:var(--accent);border-radius:99px;padding:5px 14px;font-size:13px;font-weight:700}.phase-pill.gap{background:color-mix(in srgb, var(--warn) 16%, transparent);color:var(--warn)}.beat-row{grid-template-columns:repeat(var(--n), minmax(0, 1fr));gap:clamp(4px,1.6vw,8px);height:104px;display:grid}.beat{flex-direction:column;justify-content:flex-end;align-items:stretch;gap:6px;min-width:0;padding:0;display:flex;position:relative}.beat-bar{background:var(--surface-3);border-radius:10px;transition:background 60ms,box-shadow 60ms,height .2s;display:block}.beat.lvl-2 .beat-bar{background:color-mix(in srgb, var(--accent) 38%, var(--surface-3));height:72px}.beat.lvl-1 .beat-bar{height:46px}.beat.lvl-0 .beat-bar{border:1.5px dashed var(--line-strong);background:0 0;height:18px}.beat.active .beat-bar{background:var(--accent);box-shadow:0 0 22px -2px var(--accent)}.beat.active.lvl-0 .beat-bar{border-color:var(--accent);box-shadow:none;background:0 0}.beat-row.is-gap .beat.active .beat-bar{box-shadow:none;outline:2px solid var(--warn);outline-offset:-2px;background:0 0}.beat-subs{pointer-events:none;justify-content:space-around;padding:0 2px;display:flex;position:absolute;bottom:22px;left:0;right:0}.beat-subs i{background:var(--text);opacity:.35;border-radius:50%;width:4px;height:4px}.beat-subs i:first-child,.beat.lvl-0 .beat-subs{opacity:0}.beat-subs:has(i:only-child){display:none}.beat-num{font-family:var(--font-num);color:var(--muted);text-align:center;height:16px;font-size:12px;font-weight:600}.beat.active .beat-num{color:var(--text)}.dial-area{width:clamp(230px,100dvh - 400px,min(84vw,340px));margin:0 auto;position:relative}.dial-wrap{aspect-ratio:1;width:100%;position:relative}.round-btn.nudge{position:absolute;bottom:0}.round-btn.nudge.minus{left:-6px}.round-btn.nudge.plus{right:-6px}.dial{touch-action:none;cursor:grab;width:100%;height:100%;overflow:visible}.dial:active{cursor:grabbing}.dial-track{fill:none;stroke:var(--surface-2);stroke-width:6px}.dial-progress{fill:none;stroke:var(--accent);stroke-width:6px;stroke-linecap:round;transition:stroke-dasharray .15s}.dial-face{fill:var(--surface);stroke:var(--line);stroke-width:1px}.tick{stroke:var(--text);stroke-opacity:.18;stroke-width:2px;stroke-linecap:round}.tick.major{stroke-opacity:.4;stroke-width:2.5px}.dial-knob{fill:var(--accent)}.dial-pulse{fill:none;stroke:var(--accent);stroke-width:3px;pointer-events:none;transform-box:fill-box;transform-origin:50%;animation:.42s ease-out forwards dial-pulse}.dial-pulse.strong{stroke-width:5px}@keyframes dial-pulse{0%{opacity:.9;transform:scale(.85)}to{opacity:0;transform:scale(1.12)}}.dial-center{pointer-events:none;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:26%}.dial-center>*{pointer-events:auto}.bpm-value,.bpm-input{font-family:var(--font-num);letter-spacing:-.04em;font-variant-numeric:tabular-nums;font-size:clamp(56px,18vw,80px);font-weight:600;line-height:1}.bpm-input{text-align:center;background:var(--surface-2);border:1px solid var(--accent);width:3.2ch;color:var(--text);-moz-appearance:textfield;border-radius:12px;padding:0}.bpm-input::-webkit-inner-spin-button{-webkit-appearance:none}.bpm-input::-webkit-outer-spin-button{-webkit-appearance:none}.bpm-unit{letter-spacing:.18em;color:var(--muted);margin-top:4px;font-size:12px;font-weight:700}.tempo-name{color:var(--text-2);margin-top:2px;font-size:13px;font-style:italic}.round-btn{background:var(--surface-2);border:1px solid var(--line);border-radius:50%;flex:none;place-items:center;width:52px;height:52px;transition:transform .1s,background .15s;display:grid}.round-btn:active{background:var(--surface-3);transform:scale(.92)}.tile-row{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.tile{border-radius:var(--radius);background:var(--surface);border:1px solid var(--line);justify-content:center;align-items:center;gap:8px;min-height:48px;padding:6px 8px;transition:background .15s,transform .1s;display:flex}.tile:active{background:var(--surface-2);transform:scale(.97)}.tile-value{height:26px;color:var(--text);place-items:center;display:grid}.tile-value.meter{font-family:var(--font-num);font-size:17px;font-weight:600}.tile-label{white-space:nowrap;text-overflow:ellipsis;color:var(--muted);font-size:12.5px;font-weight:500;overflow:hidden}.glyph{color:currentColor}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;gap:14px;padding:16px;display:flex}.card-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.card-head h3,.tool-head h3{letter-spacing:-.005em;font-size:15px;font-weight:650}.hint{color:var(--muted);font-size:13px;line-height:1.5}.segmented{background:var(--surface-2);border:1px solid var(--line);border-radius:12px;gap:2px;padding:3px;display:flex}.segmented button{color:var(--text-2);white-space:nowrap;border-radius:9px;flex:1;min-height:38px;padding:9px 10px;font-size:13.5px;font-weight:600;transition:background .15s,color .15s}.segmented-sm button{min-height:32px;padding:6px 10px;font-size:12.5px}.segmented button.on{background:var(--surface-3);color:var(--text);box-shadow:0 1px 3px #0003}.switch{background:var(--surface-3);border-radius:99px;flex:none;width:50px;height:30px;transition:background .2s;position:relative}.switch span{background:#fff;border-radius:50%;width:24px;height:24px;transition:transform .2s cubic-bezier(.3,1.4,.6,1);position:absolute;top:3px;left:3px;box-shadow:0 2px 6px #0000004d}.switch.on{background:var(--accent)}.switch.on span{transform:translate(20px)}.stepper{background:var(--surface-2);border:1px solid var(--line);border-radius:12px;align-items:center;display:inline-flex}.stepper button{width:40px;height:38px;color:var(--text-2);border-radius:11px;place-items:center;display:grid}.stepper button:active{background:var(--surface-3)}.stepper output{text-align:center;min-width:64px;font-family:var(--font-num);font-variant-numeric:tabular-nums;font-size:14.5px;font-weight:600}.slider{flex-direction:column;gap:8px;display:flex}.slider-head{color:var(--text-2);justify-content:space-between;font-size:14px;display:flex}.slider-value{font-family:var(--font-num);color:var(--text);font-variant-numeric:tabular-nums;font-weight:600}.slider input{appearance:none;background:0 0;width:100%;height:28px;margin:0}.slider input::-webkit-slider-runnable-track{background:linear-gradient(to right, var(--accent) var(--pct), var(--surface-3) var(--pct));border-radius:99px;height:6px}.slider input::-moz-range-track{background:linear-gradient(to right, var(--accent) var(--pct), var(--surface-3) var(--pct));border-radius:99px;height:6px}.slider input::-webkit-slider-thumb{-webkit-appearance:none;background:#fff;border-radius:50%;width:24px;height:24px;margin-top:-9px;box-shadow:0 2px 8px #00000059}.slider input::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:24px;height:24px;box-shadow:0 2px 8px #00000059}.btn{background:var(--surface-2);border:1px solid var(--line);border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 16px;font-size:14px;font-weight:600;transition:transform .1s,background .15s;display:inline-flex}.btn:active{transform:scale(.97)}.btn.accent{background:var(--accent);color:var(--accent-ink);border-color:#0000}.btn:disabled{opacity:.45;pointer-events:none}.icon-btn{width:var(--tap);height:var(--tap);color:var(--text-2);border-radius:12px;flex:none;place-items:center;display:grid}.icon-btn:active{background:var(--surface-2)}.text-btn{color:var(--accent);padding:6px 4px;font-size:13.5px;font-weight:600}.sheet-row{justify-content:space-between;align-items:center;gap:12px;min-height:44px;font-size:14.5px;display:flex}.sheet-row>span:first-child{flex-direction:column;display:flex}.sheet-row small{color:var(--muted);font-size:12.5px}.field-label{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-bottom:-6px;font-size:12px;font-weight:600}.chip-row{flex-wrap:wrap;gap:8px;display:flex}.chip{border:1px solid var(--line-strong);color:var(--text-2);border-radius:99px;min-height:38px;padding:8px 14px;font-size:13.5px;font-weight:600}.chip.on{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.chip.rhythm.on{border-color:var(--rhythm);color:var(--rhythm);background:var(--rhythm-soft)}.sheet-backdrop{z-index:50;background:#00000080;justify-content:center;align-items:flex-end;animation:.18s ease-out fade;display:flex;position:fixed;inset:0}.sheet{background:var(--surface);border:1px solid var(--line);width:100%;max-width:560px;max-height:86dvh;box-shadow:var(--shadow);padding-bottom:env(safe-area-inset-bottom);border-bottom:0;border-radius:24px 24px 0 0;flex-direction:column;animation:.26s cubic-bezier(.2,.9,.3,1) rise;display:flex}.sheet-grip{background:var(--line-strong);border-radius:99px;width:38px;height:5px;margin:8px auto 0}.sheet-head{justify-content:space-between;align-items:center;padding:6px 10px 4px 20px;display:flex}.sheet-head h2{font-size:18px;font-weight:700}.sheet-body{flex-direction:column;gap:16px;padding:6px 20px 22px;display:flex;overflow-y:auto}@keyframes fade{0%{opacity:0}}@keyframes rise{0%{opacity:.4;transform:translateY(40%)}}.choice-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;display:grid}.choice{background:var(--surface-2);min-height:64px;color:var(--text-2);border:1.5px solid #0000;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:10px 6px;font-size:13px;font-weight:600;display:flex}.choice.meter{font-family:var(--font-num);font-size:22px}.choice.on{border-color:var(--accent);color:var(--text);background:var(--accent-soft)}.layer-toggle{justify-content:space-between;align-items:center;gap:12px;padding:0 2px;display:flex}.layer-toggle div{flex-direction:column;display:flex}.layer-toggle strong{font-size:16px}.layer-toggle span{color:var(--muted);font-size:13px}.exercise{background:radial-gradient(120% 90% at 100% 0%, var(--rhythm-soft), transparent 60%), var(--surface);gap:8px}.exercise-top{justify-content:space-between;align-items:center;display:flex}.eyebrow{text-transform:uppercase;letter-spacing:.08em;color:var(--rhythm);font-size:11.5px;font-weight:700}.exercise-head{align-items:center;gap:4px;margin:0 -10px;display:flex}.exercise-title{text-align:center;letter-spacing:-.02em;flex:1;font-size:20px;font-weight:700;line-height:1.2}.exercise-desc{color:var(--text-2);font-size:13.5px}.idea-toggle{color:var(--rhythm);align-self:flex-start;align-items:center;gap:4px;padding:4px 0;font-size:13.5px;font-weight:600;display:inline-flex}.idea-toggle svg{transition:transform .2s}.idea-toggle.open svg{transform:rotate(180deg)}.idea{border-left:3px solid var(--rhythm);background:var(--rhythm-soft);border-radius:10px;padding:10px 12px;font-size:13.5px;line-height:1.55}.lessons-btn{align-items:center;gap:6px;display:inline-flex}.eyebrow .level{vertical-align:1px;margin-left:8px}.exercise-count{font-family:var(--font-num);background:var(--surface-2);border-radius:10px;padding:8px 12px;font-size:14px;font-weight:500}.exercise-count span{font-family:var(--font);text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-right:6px;font-size:11px;font-weight:700}.exercise-meta{color:var(--muted);justify-content:space-between;font-size:12.5px;display:flex}.best{color:var(--good);font-weight:700;font-family:var(--font-num)}.level{gap:3px;display:inline-flex}.level i{background:var(--surface-3);border-radius:50%;width:6px;height:6px}.level i.on{background:var(--rhythm)}.lesson-group{flex-direction:column;gap:4px;display:flex}.lesson-group h4{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:6px 0 4px;font-size:12px}.lesson{background:var(--surface-2);text-align:left;border:1.5px solid #0000;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:11px 14px;display:flex}.lesson.on{border-color:var(--rhythm)}.lesson-main{flex-direction:column;display:flex}.lesson-title{font-size:14.5px;font-weight:600}.lesson-sub{color:var(--muted);font-size:12.5px}.step-grid{grid-template-columns:repeat(var(--per-row), minmax(0, 1fr));gap:10px 8px;display:grid}.step-beat{grid-template-columns:repeat(var(--spb), minmax(0, 1fr));background:var(--surface-2);border-radius:12px;gap:3px;padding:4px;display:grid}.cell{border-radius:9px;flex-direction:column;align-items:center;gap:4px;min-height:52px;padding:6px 0 4px;transition:background 80ms;display:flex}.cell-dot{aspect-ratio:1;border:1.5px solid var(--line-strong);border-radius:8px;width:min(26px,100%);transition:transform 80ms,background .1s}.cell.c-1 .cell-dot{background:color-mix(in srgb, var(--rhythm) 55%, transparent);border-color:#0000}.cell.c-2 .cell-dot{background:var(--rhythm);box-shadow:0 0 0 2px color-mix(in srgb, var(--rhythm) 35%, transparent);border-color:#0000}.cell-label{font-family:var(--font-num);color:var(--muted);font-size:11px;font-weight:600}.cell.on-beat .cell-label{color:var(--text)}.cell.now{background:var(--surface-3)}.cell.now.c-1 .cell-dot,.cell.now.c-2 .cell-dot{background:var(--rhythm);box-shadow:0 0 16px -2px var(--rhythm);transform:scale(1.12)}.grid-tools{flex-direction:column;gap:10px;display:flex}.grid-tools-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.poly{flex-direction:column;gap:14px;padding:6px 0;display:flex}.poly-lane{align-items:center;gap:14px;display:flex}.poly-tag{width:32px;height:32px;font-family:var(--font-num);background:var(--accent-soft);color:var(--accent);border-radius:10px;flex:none;place-items:center;font-weight:700;display:grid}.poly-tag.rhythm{background:var(--rhythm-soft);color:var(--rhythm)}.poly-track{border-bottom:1.5px solid var(--line-strong);flex:1;height:28px;margin-right:18px;position:relative}.poly-dot{background:var(--surface-3);border-radius:50%;width:18px;height:18px;margin-left:-9px;transition:transform 80ms,background 80ms;position:absolute;bottom:-9px}.poly-dot.beat.now{background:var(--accent);transform:scale(1.25)}.poly-dot.rhythm.now{background:var(--rhythm);transform:scale(1.25)}.tap-pad{background:var(--surface-2);border:1.5px solid var(--line-strong);touch-action:none;border-radius:16px;place-items:center;min-height:120px;transition:border-color .15s;display:grid;position:relative;overflow:hidden}.tap-pad.idle{border-style:dashed}.tap-pad.r-perfect{border-color:var(--good)}.tap-pad.r-good{border-color:var(--rhythm)}.tap-pad.r-ok,.tap-pad.r-extra{border-color:var(--late)}.pad-text{text-align:center;pointer-events:none;flex-direction:column;align-items:center;gap:2px;padding:0 16px;display:flex;position:relative}.pad-text strong{font-size:18px}.pad-rating{font-family:var(--font-num);animation:.2s ease-out pop;font-size:24px!important}.r-perfect .pad-rating{color:var(--good)}.r-good .pad-rating{color:var(--rhythm)}.r-ok .pad-rating,.r-extra .pad-rating{color:var(--late)}.pad-text small{color:var(--muted);font-size:13px;font-family:var(--font-num)}.pad-ripple{background:radial-gradient(circle, var(--rhythm-soft), transparent 70%);pointer-events:none;animation:.35s ease-out forwards ripple;position:absolute;inset:0}@keyframes ripple{0%{opacity:1;transform:scale(.6)}to{opacity:0;transform:scale(1.4)}}@keyframes pop{0%{transform:scale(.85)}}.score{flex-direction:column;gap:12px;display:flex}.score-stats{grid-template-columns:1.4fr repeat(4,1fr);align-items:end;gap:6px;display:grid}.stat{flex-direction:column;align-items:center;display:flex}.stat-value{font-family:var(--font-num);font-variant-numeric:tabular-nums;font-size:20px;font-weight:600;line-height:1.1}.stat.big .stat-value{color:var(--rhythm);font-size:32px}.stat-value small{margin-left:1px;font-size:.55em}.stat-label{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;font-size:11px}.timing-strip{background:var(--surface-2);border-radius:10px;height:34px;position:relative;overflow:hidden}.timing-strip .zone{position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%)}.timing-strip .zone.good{background:color-mix(in srgb, var(--rhythm) 12%, transparent)}.timing-strip .zone.perfect{background:color-mix(in srgb, var(--good) 20%, transparent)}.timing-strip .center{background:var(--good);border-radius:2px;width:2px;margin-left:-1px;position:absolute;top:4px;bottom:4px;left:50%}.timing-strip .dot{background:var(--good);border-radius:50%;width:10px;height:10px;margin:-5px 0 0 -5px;position:absolute;top:50%}.timing-strip .dot.r-good{background:var(--rhythm)}.timing-strip .dot.r-ok{background:var(--late)}.strip-label{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:10px;position:absolute;bottom:2px}.strip-label.l{left:8px}.strip-label.r{right:8px}.tendency{text-align:center;color:var(--text-2);font-size:13.5px;font-weight:500}.tool{gap:12px}.tool-head{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.tool-head p{color:var(--muted);margin-top:2px;font-size:13px}.tool.enabled{border-color:var(--line-strong)}.tool-body{border-top:1px solid var(--line);flex-direction:column;gap:6px;padding-top:6px;display:flex}.ramp-meter{color:var(--muted);flex-direction:column;gap:6px;margin-top:6px;font-size:12.5px;display:flex}.ramp-bar{background:var(--surface-3);border-radius:99px;height:6px;overflow:hidden}.ramp-bar span{background:var(--accent);height:100%;transition:width .3s;display:block}.gap-preview{gap:4px;margin-top:6px;display:flex}.gap-preview i{background:var(--accent);border-radius:4px;flex:1;height:10px}.gap-preview i.mute{border:1.5px dashed var(--warn);background:0 0}.preset-form{gap:8px;display:flex}.preset-form input{border:1px solid var(--line-strong);background:var(--surface-2);min-width:0;min-height:42px;color:var(--text);font:inherit;border-radius:12px;flex:1;padding:0 14px;font-size:16px}.preset-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.preset-list li{background:var(--surface-2);border-radius:12px;align-items:center;gap:4px;display:flex}.preset-main{text-align:left;flex-direction:column;flex:1;min-width:0;padding:10px 14px;display:flex}.preset-name{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.preset-sub{color:var(--muted);font-size:12.5px}.calibrate{flex-direction:column;gap:12px;display:flex}.shortcuts{grid-template-columns:auto 1fr;gap:8px 16px;margin:0;font-size:14px;display:grid}.shortcuts dt{font-family:var(--font-num);background:var(--surface-2);border:1px solid var(--line);text-align:center;border-radius:6px;padding:1px 8px;font-weight:600}.shortcuts dd{color:var(--text-2);margin:0}.about{text-align:center;color:var(--muted);padding:4px 12px 8px;font-size:12.5px}.flash{pointer-events:none;z-index:40;background:var(--accent);opacity:.18;animation:.18s ease-out forwards flash;position:fixed;inset:0}.flash.strong{opacity:.35}@keyframes flash{to{opacity:0}}@media (width>=600px){.app{border-left:1px solid var(--line);border-right:1px solid var(--line)}}@media (height<=700px){.beat-row{height:84px}.beat.lvl-2 .beat-bar{height:56px}.beat.lvl-1 .beat-bar{height:36px}.metronome-view{gap:10px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}.topbar-end{align-items:center;gap:8px;min-width:0;display:flex}.lang-toggle{border:1px solid var(--line-strong);letter-spacing:.04em;min-width:40px;height:30px;color:var(--text-2);border-radius:8px;flex:none;padding:0 8px;font-size:12px;font-weight:700}.help-btn{border:1.5px solid var(--line-strong);width:32px;height:32px;color:var(--rhythm);border-radius:50%;flex:none;margin-left:auto;font-weight:700}.layer-toggle>div{flex:1;min-width:0}.welcome{border-color:color-mix(in srgb, var(--accent) 45%, transparent);background:radial-gradient(120% 100% at 0% 0%, var(--accent-soft), transparent 65%), var(--surface);gap:10px}.welcome h3{font-size:17px}.guide-steps{color:var(--text-2);flex-direction:column;gap:6px;margin:0;padding-left:20px;font-size:14px;display:flex}.guide-steps li::marker{color:var(--accent);font-weight:700}.coach-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.guide-sec{border-bottom:1px solid var(--line);flex-direction:column;gap:8px;padding-bottom:14px;display:flex}.guide-sec:last-child{border-bottom:0}.guide-sec h4{font-size:15px}.guide-sec p{color:var(--text-2);font-size:14px;line-height:1.55}.mini-grid{flex-wrap:wrap;gap:6px;display:flex}.mini-beat{background:var(--surface-2);border-radius:9px;gap:2px;padding:4px;display:flex}.mini-cell{flex-direction:column;align-items:center;gap:2px;width:26px;display:flex}.mini-cell .cell-dot{border-radius:5px;width:18px}.mini-cell small{font-family:var(--font-num);color:var(--muted);font-size:10px}.cell-dot.c-1{background:color-mix(in srgb, var(--rhythm) 55%, transparent);border-color:#0000}.cell-dot.c-2{background:var(--rhythm);border-color:#0000}.grid-legend{color:var(--muted);flex-direction:column;gap:4px;font-size:12.5px;display:flex}.legend-keys{gap:14px;display:flex}.legend-keys span{color:var(--text-2);align-items:center;gap:6px;display:inline-flex}.legend-keys .cell-dot{border-radius:4px;width:14px;display:inline-block}.count-along{background:var(--surface-2);border-radius:14px;flex-direction:column;gap:8px;padding:12px 14px;display:flex}.ca-head{justify-content:space-between;align-items:center;display:flex}.ca-beat{font-family:var(--font-num);color:var(--muted);font-size:12.5px}.ca-syllables{grid-template-columns:repeat(var(--spb), 1fr);text-align:center;gap:4px;display:grid}.syl{font-family:var(--font-num);color:var(--muted);opacity:.55;border-radius:10px;padding:4px 0;font-size:clamp(20px,6.5vw,30px);font-weight:600;transition:background 60ms,color 60ms}.syl.c-1,.syl.c-2{color:var(--rhythm);opacity:1}.syl.c-2{font-weight:800}.syl.now{background:var(--surface-3);opacity:1}.syl.now.c-1,.syl.now.c-2{background:var(--rhythm);color:var(--bg)}.ca-tip{color:var(--muted);text-align:center;font-size:12.5px}.notice{color:var(--warn);background:color-mix(in srgb, var(--warn) 12%, transparent);border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;font-size:13.5px;display:flex}.coach{color:var(--text-2);text-align:center;font-size:13.5px}div.coach{border-radius:12px;flex-direction:column;align-items:center;gap:10px;padding:12px;display:flex}div.coach.warn{background:color-mix(in srgb, var(--warn) 12%, transparent)}div.coach.good{background:color-mix(in srgb, var(--good) 12%, transparent)}div.coach .coach-actions{justify-content:center}.lesson-idea{color:var(--muted);margin-bottom:4px;font-size:12.5px;line-height:1.5}.plan-picker{flex-direction:column;gap:12px;display:flex}.skill-list{flex-direction:column;gap:6px;display:flex}.skill-opt,.style-opt{text-align:left;background:var(--surface-2);border:1.5px solid #0000;border-radius:12px;flex-direction:column;gap:2px;padding:11px 14px;display:flex;position:relative;overflow:hidden}.skill-opt strong,.style-opt strong{font-size:14.5px}.skill-opt span,.style-opt span{color:var(--muted);font-size:12.5px}.skill-opt.on,.style-opt.on{border-color:var(--rhythm);background:var(--rhythm-soft)}.style-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.style-progress{background:var(--good);height:3px;position:absolute;bottom:0;left:0}.style-desc{color:var(--text-2);font-size:13.5px}.btn.wide{width:100%;min-height:48px}.plan{background:radial-gradient(120% 90% at 100% 0%, var(--rhythm-soft), transparent 60%), var(--surface);gap:10px}.plan-steps{gap:5px;display:flex}.plan-dot{background:var(--surface-3);border-radius:99px;flex:1;height:8px;min-height:0}.plan-dot.done{background:var(--good)}.plan-dot.now{outline:2px solid var(--rhythm);outline-offset:2px}.plan-dot:disabled{opacity:.45;cursor:default}.plan-title{text-align:center;flex-direction:column;flex:1;align-items:center;display:flex}.plan-step-num{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:12px;font-weight:600}.icon-btn:disabled{opacity:.3;pointer-events:none}.icon-btn.ready{color:var(--accent-ink);background:var(--accent)}.plan-chips{flex-wrap:wrap;gap:6px;display:flex}.chip-static{background:var(--surface-2);color:var(--text-2);border-radius:99px;padding:4px 10px;font-size:12px;font-weight:600}.plan-goal{color:var(--muted);font-size:12.5px}.plan-complete{background:color-mix(in srgb, var(--good) 12%, transparent);border-radius:12px;flex-direction:column;gap:10px;padding:12px;font-size:14px;display:flex}.step-grid.ro .cell{cursor:default}.variant-list{flex-direction:column;gap:6px;display:flex}.variant{text-align:left;background:var(--surface-2);border:1.5px solid #0000;border-radius:12px;flex-direction:column;gap:8px;padding:10px 12px;display:flex}.variant.on{border-color:var(--rhythm);background:var(--rhythm-soft)}.variant-head{justify-content:space-between;gap:8px;font-size:14px;display:flex}.variant-tag{color:var(--good);white-space:nowrap;font-size:12px;font-weight:700}.variant .mini-beat{background:var(--surface-3)}
