:root{color-scheme:dark;--bg: #0e1316;--surface: #151b1f;--surface-2: #1b2226;--line: #242d32;--line-strong: #34403f;--ink: #e8ece9;--muted: #8b968f;--green: #5fd39a;--green-ink: #0b1410;--amber: #ffcf6b;--red: #f08a7e;--key-white: #e6eae7;--key-white-ink: #4a5450;--key-black: #262e32;--key-black-ink: #a9b2ad;--focus: #9be8c0;--radius: 14px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;min-width:320px;background:var(--bg);overflow-x:hidden}button,input{font:inherit;color:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default;opacity:.4}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}kbd{font:inherit;font-size:.85em;padding:1px 6px;border:1px solid var(--line-strong);border-bottom-width:2px;border-radius:6px}.pill{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 20px;border:1px solid var(--line-strong);border-radius:999px;background:transparent;color:#cfd6d2;font-size:15px;font-weight:500;transition:background-color .15s,border-color .15s,color .15s}.pill:hover:not(:disabled){background:var(--surface-2);border-color:#46534f}.pill:active:not(:disabled){transform:translateY(1px)}.pill.is-primary{background:var(--green);border-color:var(--green);color:var(--green-ink);font-weight:650}.pill.is-primary:hover:not(:disabled){background:#74dea9;border-color:#74dea9}.pill-icon{width:44px;padding:0;font-size:13px;letter-spacing:-1px}.pill-small{min-height:32px;padding:0 14px;font-size:13px}.pill-large{min-height:52px;padding:0 32px;font-size:17px}.pill-block{width:100%}.pill-danger{color:var(--red);border-color:#4a3431}.pill-danger:hover:not(:disabled){background:#2a1d1b;border-color:#6a4540}.pill-replay:before{content:"↻" / "";font-size:17px;line-height:1}.start{min-height:100%;display:grid;place-items:center;padding:24px 16px;background:radial-gradient(ellipse at 50% 38%,#16201d 0%,var(--bg) 62%)}.start-body{width:min(100%,420px);display:flex;flex-direction:column;align-items:center;gap:22px;text-align:center}.start-title{margin:0;font-size:clamp(22px,5vw,28px);font-weight:600;letter-spacing:-.01em}.start-button{width:200px;height:200px;border-radius:50%;border:0;background:var(--green);color:var(--green-ink);font-size:19px;font-weight:700;box-shadow:0 0 0 10px #5fd39a1f,0 0 60px #5fd39a40;transition:transform .15s,box-shadow .15s}.start-button:hover{transform:scale(1.03);box-shadow:0 0 0 14px #5fd39a24,0 0 70px #5fd39a4d}.start-button:focus-visible{outline-offset:16px}.start-meta{margin:0;color:#b9c2bd;font-size:14px}.start-privacy{margin:0;color:var(--muted);font-size:13px}.listening{display:flex;align-items:center;gap:8px;height:64px}.listening span{width:10px;height:24px;border-radius:99px;background:var(--green);animation:listening 1.1s ease-in-out infinite}.listening span:nth-child(2){animation-delay:.18s}.listening span:nth-child(3){animation-delay:.36s}@keyframes listening{0%,to{height:18px;opacity:.55}50%{height:60px;opacity:1}}.voice-choices{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:12px}.voice-choice{display:flex;flex-direction:column;align-items:center;gap:6px;padding:26px 12px;border:1px solid var(--line-strong);border-radius:var(--radius);background:var(--surface);font-size:17px;font-weight:600;transition:border-color .15s,background-color .15s}.voice-choice span{color:var(--muted);font-size:13px;font-weight:400}.voice-choice:hover{border-color:var(--green);background:var(--surface-2)}.practice{height:100vh;height:100dvh;max-width:960px;margin:0 auto;display:grid;grid-template-rows:auto minmax(220px,1fr) auto;gap:12px;padding:max(12px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom))}.practice-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px}.counter{color:var(--muted);font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}.chip{min-height:36px;padding:0 14px;border:1px solid var(--line-strong);border-radius:999px;background:transparent;color:#b9c2bd;font-size:13px;white-space:nowrap}.chip:hover{background:var(--surface-2)}.stage{position:relative;min-height:0;display:flex;flex-direction:column;justify-content:center}.stage-banners{position:absolute;top:10px;left:66px;right:10px;display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none}.stage-banners>*{pointer-events:auto}.roll{--row-h: 30px;max-height:100%;border-radius:var(--radius);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent;background:var(--surface);border:1px solid var(--line)}.roll-inner{display:flex;height:calc(var(--rows) * var(--row-h))}.roll-keys{flex:0 0 56px;display:flex;flex-direction:column}.roll-octaves{flex:0 0 22px;display:flex;flex-direction:column}.octave{flex:0 0 calc(var(--count) * var(--row-h));display:flex;align-items:center;justify-content:center;background:var(--surface);border-bottom:2px solid var(--line-strong);color:var(--ink);font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}.octave:last-child{border-bottom:0}.octave-alt{background:var(--line-strong)}.key{flex:0 0 var(--row-h);height:var(--row-h);display:flex;align-items:center;padding:0 0 0 8px;border:0;border-bottom:1px solid rgba(0,0,0,.18);font-size:11px;font-weight:500;font-variant-numeric:tabular-nums;text-align:left;transition:background-color .12s,filter .12s}.key:last-child{border-bottom:0}.key-white{background:var(--key-white);color:var(--key-white-ink)}.key-black{background:var(--key-black);color:var(--key-black-ink);border-bottom-color:#1b2125}.key:hover{filter:brightness(.92)}.key-black:hover{filter:brightness(1.25)}.key:active{filter:brightness(.8)}.key.is-target{position:relative;z-index:1;background:var(--green);color:var(--green-ink);font-weight:750;box-shadow:0 0 18px #5fd39a8c}.key:focus-visible{outline-offset:-3px;z-index:2}.key.is-excluded{opacity:.35;text-decoration:line-through}.roll-lanes{position:relative;flex:1;min-width:0;overflow:hidden}.roll-lanes svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:block}.lane-black{fill:#00000029}.lane-excluded{fill:#00000061}.lane-line{stroke:var(--line);stroke-width:1}.lane-octave{stroke:var(--line-strong);stroke-width:1}.lane-target{fill:#5fd39a0d}.band{fill:#5fd39a2e}.band-edge{stroke:var(--green);stroke-width:1.25;stroke-dasharray:5 5;opacity:.85}.voice{fill:none;stroke:var(--amber);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.is-held .band{fill:#5fd39a4d}.is-held .voice{stroke:var(--green)}.voice-head{position:absolute;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;background:var(--amber);box-shadow:0 0 0 4px #ffcf6b2e,0 0 14px #ffcf6b99}.voice-head.is-in-band{background:var(--green);box-shadow:0 0 0 4px #5fd39a33,0 0 16px #5fd39ab3}.voice-edge{position:absolute;right:6px;color:var(--amber);font-size:14px;line-height:1;animation:edge-blink 1s ease-in-out infinite}.voice-edge-above{top:6px}.voice-edge-below{bottom:6px}@media(max-height:340px){.practice{height:auto;min-height:100dvh}}@keyframes edge-blink{50%{opacity:.35}}.paused{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;border-radius:var(--radius);background:#0e1316c7;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.paused-title{margin:0;font-size:24px;font-weight:600}.paused-hint{margin:0;color:var(--muted);font-size:13px}.banner{display:flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:10px 14px;max-width:100%;padding:10px 16px;border-radius:12px;font-size:14px;font-weight:500;box-shadow:0 8px 24px #00000059}.banner-quiet{background:#2b2618;border:1px solid #5a4c26;color:#ffe3a3}.banner-error{background:#2b1c1a;border:1px solid #6a3f39;color:#ffd2cb;text-align:left}.banner-error .pill{color:#ffd2cb;border-color:#6a3f39}.level{position:relative;width:120px;height:8px;border-radius:99px;background:#ffffff1a;overflow:hidden}.level-fill{position:absolute;inset:0 auto 0 0;background:var(--amber);border-radius:inherit}.level-gate{position:absolute;top:-2px;bottom:-2px;width:2px;margin-left:-1px;background:var(--ink)}.practice-footer{display:flex;flex-direction:column;align-items:center;gap:12px}.status{margin:0;min-height:1.4em;font-size:clamp(18px,4.6vw,22px);font-weight:600;text-align:center;color:var(--ink);transition:color .15s}.status-good{color:var(--green)}.status-warn{color:var(--amber)}.hold{width:min(100%,520px);height:8px;border-radius:99px;background:var(--line);overflow:hidden}.hold-fill{display:block;height:100%;background:var(--green);border-radius:inherit;transform-origin:left center;transition:transform .1s linear}.is-held .hold-fill{box-shadow:0 0 12px #5fd39acc}.controls{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}.sheet{width:min(100% - 32px,440px);max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line-strong);border-radius:18px;background:var(--surface);color:var(--ink);box-shadow:0 24px 60px #00000080}.sheet::backdrop{background:#05080a99}.sheet-body{display:flex;flex-direction:column;gap:22px;padding:18px 20px 22px}.sheet-header{display:flex;align-items:center;justify-content:space-between}.sheet-header h2{margin:0;font-size:18px;font-weight:600}.sheet-section{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;border:0;min-width:0}.sheet-section h3,.sheet-section legend{margin:0 0 2px;padding:0;color:var(--muted);font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}.sheet-note{margin:0;color:var(--muted);font-size:13px}.sheet-hold-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.sheet-hold-head label{color:var(--muted);font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}.sheet-hold-head output{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}.sheet-slider{width:100%;min-height:44px;margin:0;accent-color:var(--green);cursor:pointer}.sheet-slider:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.segmented{display:grid;grid-template-columns:1fr 1fr;gap:8px}.segment{min-height:44px;border:1px solid var(--line-strong);border-radius:12px;background:transparent;font-size:15px}.segment[aria-pressed=true]{border-color:var(--green);background:#5fd39a1f;color:var(--green);font-weight:600}.choice{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:12px;padding:12px 14px;border:1px solid var(--line-strong);border-radius:12px;cursor:pointer}.choice:has(input:checked){border-color:var(--green);background:#5fd39a14}.choice:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:2px}.pill-range.is-hidden{visibility:hidden}.sheet-range{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:14px;font-variant-numeric:tabular-nums}.choice input{grid-row:span 2;width:18px;height:18px;margin:0;accent-color:var(--green)}.choice input:focus-visible{outline:none}.choice-label{font-size:15px;font-weight:600}.choice-detail{color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums}@media(max-width:480px){.practice{gap:10px}.roll-keys{flex-basis:48px}.roll{--row-h: 28px}.stage-banners{left:58px}.pill{padding:0 16px}.sheet{margin:auto 0 0;width:100%;max-width:none;border-radius:18px 18px 0 0;border-bottom:0}}@media(max-height:560px){.roll{--row-h: 24px}.practice{grid-template-rows:auto minmax(150px,1fr) auto;gap:8px;padding-top:max(8px,env(safe-area-inset-top));padding-bottom:max(8px,env(safe-area-inset-bottom))}.practice-header,.chip{min-height:32px}.practice-footer{gap:6px}.status{font-size:17px}.pill{min-height:38px}.pill-icon{width:38px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}.listening span{height:36px;opacity:1}}
