:root{--bg:#060a13;--surface:#0f172ab8;--surface-strong:#0d1525f5;--border:#94a3b824;--border-strong:#94a3b840;--text:#e9eefc;--muted:#93a4c3;--faint:#62718d;--cyan:#22d3ee;--cyan-soft:#67e8f9;--teal:#2dd4bf;--violet:#a78bfa;--green:#34d399;--amber:#fbbf24;--rose:#fb7185;--radius-xl:26px;--radius-lg:20px;--radius-md:14px;--font-sans:"Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;--font-mono:ui-monospace, "SFMono-Regular", "Cascadia Code", Menlo, Consolas, monospace;--ease:cubic-bezier(.22, .8, .26, 1)}*,:before,:after{box-sizing:border-box}html{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;-webkit-text-size-adjust:100%;scroll-behavior:smooth}body{background:var(--bg);min-width:320px;min-height:100dvh;color:var(--text);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;margin:0;padding:0;font-size:14px;line-height:1.5;overflow-x:hidden}#root{min-height:100dvh}button,input,select{font:inherit;color:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed}a{color:var(--cyan-soft)}audio{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;accent-color:var(--cyan)}::selection{color:#fff;background:#22d3ee47}:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;position:absolute!important}.app-shell{z-index:0;max-width:1320px;min-height:100dvh;padding:calc(clamp(18px, 2.6vw, 32px) + env(safe-area-inset-top)) calc(clamp(14px, 2.8vw, 32px) + env(safe-area-inset-right)) calc(38px + env(safe-area-inset-bottom)) calc(clamp(14px, 2.8vw, 32px) + env(safe-area-inset-left));isolation:isolate;margin:0 auto;position:relative}.ambient{z-index:-2;filter:blur(110px);pointer-events:none;border-radius:50%;position:fixed}.ambient-a{background:#0ea5e933;width:620px;height:620px;top:-300px;left:-220px}.ambient-b{background:#7c3aed2b;width:700px;height:700px;top:-260px;right:-280px}.ambient-grid{z-index:-1;pointer-events:none;background-image:linear-gradient(#94a3b809 1px,#0000 1px),linear-gradient(90deg,#94a3b809 1px,#0000 1px);background-size:64px 64px;position:fixed;inset:0;-webkit-mask-image:radial-gradient(circle at 50% 0,#000 0%,#0000 68%);mask-image:radial-gradient(circle at 50% 0,#000 0%,#0000 68%)}.app-header{justify-content:space-between;align-items:center;gap:18px;margin-bottom:clamp(18px,2.6vw,30px);display:flex}.brand{align-items:center;gap:13px;min-width:0;display:flex}.brand-mark{filter:drop-shadow(0 12px 26px #22d3ee29);flex:none;width:46px;height:46px}.brand-text{flex-direction:column;gap:2px;min-width:0;display:flex}.brand-name{letter-spacing:.015em;white-space:nowrap;font-size:19px;font-weight:650}.brand-sub{letter-spacing:.17em;text-transform:uppercase;color:var(--faint);white-space:nowrap;font-size:9.5px;font-weight:600}.header-actions{flex:none;align-items:center;gap:9px;display:flex}.net-chip{border:1px solid var(--border);color:var(--muted);letter-spacing:.02em;white-space:nowrap;background:#0f172a73;border-radius:999px;align-items:center;gap:7px;padding:7px 11px;font-size:11px;display:inline-flex}.net-dot{background:var(--green);border-radius:50%;width:6px;height:6px;box-shadow:0 0 9px #34d399e6}.net-chip.is-offline{color:#fde68a;border-color:#fbbf243d}.net-chip.is-offline .net-dot{background:var(--amber);box-shadow:0 0 9px #fbbf24cc}.btn{min-height:38px;color:var(--text);letter-spacing:.01em;white-space:nowrap;transition:background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease), filter .18s var(--ease);background:0 0;border:1px solid #0000;border-radius:11px;justify-content:center;align-items:center;gap:8px;padding:9px 15px;font-size:12.5px;font-weight:600;line-height:1.2;display:inline-flex}.btn:disabled{opacity:.45}.btn:not(:disabled):active{transform:translateY(1px)}.btn-primary{color:#f0fdff;background:linear-gradient(135deg,#0e7490 0%,#0891b2 55%,#0ea5e9 100%);border-color:#67e8f961;box-shadow:0 14px 32px -18px #22d3eee6}.btn-primary:hover:not(:disabled){filter:brightness(1.08)}.btn-ghost{border-color:var(--border);color:var(--text);background:#0f172a66}.btn-ghost:hover:not(:disabled){border-color:var(--border-strong);background:#1e293ba6}.btn-quiet{color:var(--muted)}.btn-danger{color:#fecdd3;background:#fb718521;border-color:#fb718561}.btn-danger:hover:not(:disabled){background:#fb718538}.btn-small{border-radius:9px;min-height:34px;padding:7px 12px;font-size:11.5px}.btn-install{color:#d9fbff;background:linear-gradient(135deg,#22d3ee29,#a78bfa24);border-color:#22d3ee42}.btn-install:hover:not(:disabled){background:linear-gradient(135deg,#22d3ee3d,#a78bfa33);border-color:#22d3ee6b}.btn-mic{border-color:var(--border);color:var(--text);background:#1e293b8c;min-height:38px}.btn-mic:hover:not(:disabled){background:#22d3ee12;border-color:#22d3ee59}.btn-mic.is-on{color:#a5f3fc;background:#22d3ee14;border-color:#22d3ee5c;box-shadow:inset 0 0 22px #22d3ee0f}.icon-btn{border:1px solid var(--border);width:38px;height:38px;color:var(--muted);transition:color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);background:#0f172a7a;border-radius:11px;flex:none;justify-content:center;align-items:center;display:inline-flex}.icon-btn:hover:not(:disabled){color:var(--text);border-color:var(--border-strong);background:#1e293bb8}.icon-btn:disabled{opacity:.4}.icon-btn-accent{color:var(--cyan-soft);border-color:#22d3ee4d}.icon-btn-danger:hover:not(:disabled){color:#fecdd3;background:#fb71851a;border-color:#fb718566}.spinner{border:2px solid #ffffff38;border-top-color:currentColor;border-radius:50%;flex:none;width:16px;height:16px;animation:.8s linear infinite spin;display:inline-block}.spinner-large{border-width:2.5px;width:28px;height:28px}.app-main{grid-template-columns:minmax(0,1fr) 374px;align-items:start;gap:22px;display:grid}.studio{flex-direction:column;gap:18px;min-width:0;display:flex}.card{border:1px solid var(--border);border-radius:var(--radius-xl);-webkit-backdrop-filter:blur(18px);background:linear-gradient(#111b2ed6,#090f1ce6);box-shadow:0 32px 90px -42px #000000f2}.section-kicker{letter-spacing:.2em;text-transform:uppercase;color:var(--faint);font-size:9px;font-weight:700;display:block}.stage{padding:22px 24px 24px;position:relative;overflow:hidden}.stage:before{content:"";pointer-events:none;background:radial-gradient(70% 100% at 50% 0,#22d3ee1f,#0000 72%);height:250px;position:absolute;inset:0 0 auto}.stage-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:4px;display:flex;position:relative}.mic-state{color:var(--muted);align-items:center;gap:9px;min-height:28px;font-size:12px;display:flex}.mic-state-label{white-space:nowrap}.status-dot{background:var(--faint);border-radius:50%;flex:none;width:7px;height:7px;position:relative}.status-active{background:var(--green);box-shadow:0 0 12px #34d399d9}.status-active:after{content:"";animation:pulse-ring 2.2s var(--ease) infinite;border:1px solid #34d39966;border-radius:50%;position:absolute;inset:-4px}.status-requesting{background:var(--amber);animation:1s ease-in-out infinite blink}.status-denied,.status-error{background:var(--rose);box-shadow:0 0 10px #fb718580}.engine-chip{border:1px solid var(--border);color:var(--faint);font-family:var(--font-mono);letter-spacing:.02em;white-space:nowrap;border-radius:6px;padding:3px 7px;font-size:9.5px}.mic-actions{flex-wrap:wrap;align-items:center;gap:9px;min-width:0;display:flex}.device-select{border:1px solid var(--border);max-width:255px;height:38px;color:var(--muted);transition:border-color .18s var(--ease);background:#0f172a7a;border-radius:11px;align-items:center;gap:7px;padding:0 10px;display:flex;position:relative}.device-select:focus-within{border-color:#22d3ee66}.device-select:after{content:"";border-right:1.5px solid var(--faint);border-bottom:1.5px solid var(--faint);pointer-events:none;width:5px;height:5px;position:absolute;top:50%;right:10px;transform:translateY(-70%)rotate(45deg)}.device-select svg{color:var(--faint);flex:none}.device-select select{appearance:none;width:100%;max-width:200px;color:var(--text);text-overflow:ellipsis;cursor:pointer;background:0 0;border:0;outline:none;padding:0 16px 0 0;font-size:11.5px}.device-select select:disabled{color:var(--faint);cursor:not-allowed}.inline-alert{border:1px solid;border-radius:12px;align-items:flex-start;gap:10px;margin:12px 0;padding:11px 13px;font-size:11.5px;line-height:1.55;display:flex;position:relative}.inline-alert>svg{flex:none;margin-top:1px}.inline-alert strong{margin-bottom:2px;font-size:12px;display:block}.inline-alert p{margin:0}.alert-warning{color:#fde68a;background:#fbbf2412;border-color:#fbbf243b}.alert-error{color:#fecdd3;background:#fb718512;border-color:#fb718542}.alert-close{color:currentColor;opacity:.7;background:0 0;border:0;width:26px;height:26px;margin:-3px -4px 0 auto}.alert-close:hover:not(:disabled){color:currentColor;background:#ffffff0f;border-color:#0000}.hint-line{color:var(--faint);margin:10px 2px 0;font-size:10.5px;line-height:1.55}.pitch-display{padding:16px 4px 2px;position:relative}.pitch-main{grid-template-columns:minmax(0,1.08fr) minmax(240px,.92fr);align-items:center;gap:26px;display:grid}.note-stage{flex-direction:column;justify-content:center;min-height:172px;padding:8px 0 4px;display:flex;position:relative}.note-glow{filter:blur(20px);opacity:0;width:310px;height:230px;transition:opacity .45s var(--ease);pointer-events:none;background:radial-gradient(closest-side,#22d3ee42,#a78bfa1c,#0000 72%);position:absolute;top:50%;left:-48px;transform:translateY(-50%)}.note-glow.is-visible{opacity:1}.note-stage.tone-close .note-glow{background:radial-gradient(closest-side,#fbbf243d,#fb718514,#0000 72%)}.note-stage.tone-off .note-glow{background:radial-gradient(closest-side,#fb71853d,#a78bfa14,#0000 72%)}.note-value{font-variant-numeric:tabular-nums;letter-spacing:-.055em;background:linear-gradient(#f8fbff 0%,#cffafe 55%,#67e8f9 100%);color:#0000;filter:drop-shadow(0 12px 36px #22d3ee2e);transition:filter .3s var(--ease);-webkit-user-select:none;user-select:none;-webkit-background-clip:text;background-clip:text;align-items:baseline;gap:2px;font-size:clamp(78px,9vw,116px);font-weight:650;line-height:.86;display:flex;position:relative}.note-stage.tone-close .note-value{filter:drop-shadow(0 12px 36px #fbbf2429);background-image:linear-gradient(#fffdf5 0%,#fde68a 60%,#fbbf24 100%)}.note-stage.tone-off .note-value{filter:drop-shadow(0 12px 36px #fb718529);background-image:linear-gradient(#fff7f8 0%,#fecdd3 55%,#fb7185 100%)}.note-stage.is-empty .note-value{color:var(--faint);filter:none;letter-spacing:0;background:0 0;font-weight:300}.note-letter{display:inline-block}.note-octave{letter-spacing:-.02em;-webkit-text-fill-color:#9deaf4;color:#9deaf4;font-size:.42em;font-weight:550}.note-stage.tone-close .note-octave{-webkit-text-fill-color:#fde68a;color:#fde68a}.note-stage.tone-off .note-octave{-webkit-text-fill-color:#fda4af;color:#fda4af}.note-placeholder{opacity:.45}.note-idle-art{justify-content:center;align-items:center;width:clamp(120px,13vw,152px);height:clamp(120px,13vw,152px);margin-left:24px;display:flex;position:relative}.idle-orbit{border:1px solid #94a3b821;border-radius:50%;position:absolute}.orbit-1{background:radial-gradient(circle,#22d3ee12,#0000 66%);inset:0}.orbit-2{border-style:dashed;border-color:#22d3ee24;inset:18px}.idle-bars{align-items:center;gap:6px;height:64px;display:flex}.idle-bars i{width:7px;height:24px;transition:background .3s var(--ease);background:linear-gradient(#67e8f99e,#a78bfa47);border-radius:99px;display:block}.idle-bars i:nth-child(2){height:38px}.idle-bars i:nth-child(3){height:58px}.idle-bars i:nth-child(4){height:38px}.note-idle-art.is-active .idle-bars i{animation:1.35s ease-in-out infinite idle-eq}.note-idle-art.is-active .idle-bars i:nth-child(2){animation-delay:.14s}.note-idle-art.is-active .idle-bars i:nth-child(3){animation-delay:.28s}.note-idle-art.is-active .idle-bars i:nth-child(4){animation-delay:.42s}.note-idle-art.is-active .idle-bars i:nth-child(5){animation-delay:.56s}.note-idle-art.is-active .idle-bars i{background:linear-gradient(#67e8f9e6,#a78bfa8c)}.note-idle-art.is-active .orbit-2{animation:18s linear infinite orbit-spin}.pitch-state{max-width:430px;min-height:18px;color:var(--muted);align-items:center;gap:9px;margin-top:18px;font-size:12px;line-height:1.4;display:flex;position:relative}.state-dot{background:var(--faint);border-radius:50%;flex:none;width:5px;height:5px}.listen-bars{flex:none;align-items:center;gap:2px;height:13px;display:inline-flex}.listen-bars i{background:linear-gradient(180deg, var(--cyan-soft), var(--teal));border-radius:2px;width:2.5px;height:5px;animation:1.15s ease-in-out infinite eq}.listen-bars i:nth-child(2){height:10px;animation-delay:.16s}.listen-bars i:nth-child(3){height:7px;animation-delay:.32s}.listen-bars i:nth-child(4){height:11px;animation-delay:.48s}.readout{border:1px solid var(--border);background:linear-gradient(#080e1a8f,#080e1a52);border-radius:18px;flex-direction:column;padding:6px 18px;display:flex;box-shadow:inset 0 1px #ffffff06}.readout-item{border-bottom:1px solid #94a3b813;justify-content:space-between;align-items:center;gap:16px;padding:11px 0;display:flex}.readout-item:last-child{border-bottom:0}.readout-label{color:var(--faint);letter-spacing:.14em;text-transform:uppercase;font-size:10px;font-weight:600}.readout-value{color:var(--text);font-family:var(--font-mono);font-variant-numeric:tabular-nums;transition:color .2s var(--ease);align-items:baseline;gap:5px;font-size:24px;font-weight:600;line-height:1;display:inline-flex}.readout-value small{color:var(--faint);font-family:var(--font-sans);letter-spacing:.04em;font-size:9.5px;font-weight:500}.readout-item.tone-in-tune .readout-value{color:#6ee7b7}.readout-item.tone-close .readout-value{color:#fcd34d}.readout-item.tone-off .readout-value{color:#fda4af}.tuner{margin-top:24px;padding:0 4px}.tuner-track{border:1px solid var(--border);background:linear-gradient(90deg,#fb71851c 0%,#fbbf2414 25%,#34d3991f 43%,#34d3992e 50%,#34d3991f 57%,#fbbf2414 75%,#fb71851c 100%);border-radius:12px;height:42px;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff08}.tuner-zone{background:#34d3990e;border-left:1px solid #34d39933;border-right:1px solid #34d39933;position:absolute;inset:0 40%}.tuner-center{background:#e2e8f061;width:1px;position:absolute;top:0;bottom:0;left:50%}.tuner-tick{background:#94a3b824;width:1px;position:absolute;top:0;bottom:0}.tuner-tick.is-center{background:0 0}.tuner-needle{background:var(--cyan-soft);width:2px;transition:left 90ms linear, background .2s var(--ease);border-radius:3px;position:absolute;top:5px;bottom:5px;transform:translate(-50%);box-shadow:0 0 14px #67e8f9d9}.tuner-needle span{background:inherit;border-radius:1.5px;width:7px;height:7px;position:absolute;top:-4px;left:50%;transform:translate(-50%)rotate(45deg)}.tuner.tone-close .tuner-needle{background:var(--amber);box-shadow:0 0 14px #fbbf24cc}.tuner.tone-off .tuner-needle{background:var(--rose);box-shadow:0 0 14px #fb7185cc}.tuner-legend{color:var(--faint);letter-spacing:.04em;justify-content:space-between;align-items:center;margin-top:8px;font-size:10px;display:flex}.tuner-zero-label{color:var(--muted);font-weight:600}.display-foot{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-top:15px;padding:0 4px;display:flex}.level-meter{color:var(--faint);align-items:center;gap:8px;min-width:196px;font-size:10px;display:flex}.level-label{letter-spacing:.1em}.level-track{background:#94a3b81f;border-radius:99px;width:108px;height:5px;overflow:hidden}.level-fill{background:linear-gradient(90deg, var(--cyan), var(--teal));border-radius:99px;height:100%;transition:width 80ms linear}.level-fill.is-hot{background:linear-gradient(90deg, var(--amber), var(--rose))}.level-value{min-width:46px;font-family:var(--font-mono);font-variant-numeric:tabular-nums}.tuning-reference{color:var(--faint);font-family:var(--font-mono);letter-spacing:.05em;white-space:nowrap;font-size:10px}.curve-card{border:1px solid var(--border);background:#070c1775;border-radius:19px;margin-top:18px;padding:15px 15px 8px}.curve-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:8px;padding:0 4px;display:flex}.curve-title h2,.curve-title h3{letter-spacing:.01em;margin:2px 0 0;font-size:15px;font-weight:600}.curve-tools{flex-wrap:wrap;align-items:center;gap:15px;display:flex}.live-badge{color:var(--faint);font-family:var(--font-mono);letter-spacing:.06em;white-space:nowrap;align-items:center;gap:6px;font-size:9.5px;display:inline-flex}.live-badge i{background:var(--faint);border-radius:50%;width:5px;height:5px}.live-badge.is-live{color:#a7f3d0}.live-badge.is-live i{background:var(--green);animation:2s ease-in-out infinite blink;box-shadow:0 0 8px #34d399e6}.curve-legend{color:var(--faint);white-space:nowrap;align-items:center;gap:5px;font-size:9.5px;display:inline-flex}.curve-legend i{border-radius:50%;width:5px;height:5px;margin-left:6px;display:inline-block}.dot-in-tune{background:var(--green)}.dot-close{background:var(--amber)}.dot-off{background:var(--rose)}.curve-canvas-wrap{border-radius:11px;width:100%;position:relative;overflow:hidden}.curve-canvas-wrap canvas{display:block}.curve-overlay{pointer-events:none;position:absolute;inset:0}.record-panel{border:1px solid var(--border);background:linear-gradient(90deg,#0f172ab3,#0a101e75);border-radius:18px;flex-wrap:wrap;align-items:center;gap:18px;margin-top:18px;padding:14px 16px;display:flex}.record-panel.is-recording{background:linear-gradient(90deg,#4c05194d,#0a101e80);border-color:#fb71853d}.record-button{color:#ffe4e6;letter-spacing:.015em;min-height:48px;transition:background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);background:#fb71851f;border:1px solid #fb718559;border-radius:14px;justify-content:center;align-items:center;gap:10px;padding:0 20px;font-size:13.5px;font-weight:650;display:inline-flex;box-shadow:0 12px 32px -20px #fb7185cc}.record-button:hover:not(:disabled){background:#fb718533;border-color:#fb71858c}.record-button:active:not(:disabled){transform:translateY(1px)}.record-button:disabled{opacity:.5}.record-icon{color:var(--rose);flex:none;justify-content:center;align-items:center;display:inline-flex}.record-panel.is-recording .record-button{color:#fff;background:linear-gradient(135deg,#e11d48,#be123c);border-color:#ffffff2e;animation:2.4s ease-in-out infinite record-glow}.record-panel.is-recording .record-icon{color:#fff}.record-readout{flex-direction:column;gap:2px;min-width:155px;display:flex}.record-time{color:var(--text);font-family:var(--font-mono);font-variant-numeric:tabular-nums;letter-spacing:.01em;font-size:27px;font-weight:500;line-height:1.05}.record-sub{color:var(--faint);font-size:10.5px;line-height:1.4}.record-privacy{color:var(--faint);white-space:nowrap;align-items:center;gap:6px;margin-left:auto;font-size:10px;display:flex}.record-alert{margin-top:10px}.take-card{animation:slide-up .4s var(--ease);padding:20px 22px}.take-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.take-head h2{margin:3px 0 2px;font-size:17px;font-weight:620}.take-name{color:var(--muted);margin:0;font-size:11.5px}.take-status{white-space:nowrap;border:1px solid;border-radius:999px;flex:none;align-items:center;gap:6px;padding:6px 10px;font-size:10.5px;font-weight:600;display:inline-flex}.take-status.is-saved{color:#a7f3d0;background:#34d39914;border-color:#34d3994d}.take-status.is-saving{color:#fde68a;background:#fbbf2414;border-color:#fbbf244d}.take-status.is-error{color:#fecdd3;background:#fb718514;border-color:#fb71854d}.audio-player{background:0 0;border-radius:10px;width:100%;min-height:38px;margin-top:14px}.take-meta{color:var(--faint);flex-wrap:wrap;align-items:center;gap:6px 15px;margin-top:9px;font-size:10.5px;display:flex}.take-meta span{align-items:center;gap:6px;display:inline-flex}.take-meta span+span:before{content:"";background:var(--faint);border-radius:50%;width:2px;height:2px}.take-error{margin-top:12px}.take-actions{flex-wrap:wrap;align-items:center;gap:9px;margin-top:15px;display:flex}.studio-footnote{color:var(--faint);align-items:flex-start;gap:8px;padding:0 6px;font-size:10.5px;line-height:1.55;display:flex}.studio-footnote svg{color:#a78bfab3;flex:none;margin-top:1px}.history{border-radius:24px;flex-direction:column;max-height:calc(100dvh - 44px);display:flex;position:sticky;top:22px;overflow:hidden}.history-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:12px;padding:19px 19px 13px;display:flex}.history-title{align-items:flex-start;gap:11px;min-width:0;display:flex}.history-icon{width:34px;height:34px;color:var(--cyan-soft);background:#22d3ee14;border:1px solid #22d3ee29;border-radius:10px;flex:none;place-items:center;display:grid}.history-title h2{margin:1px 0 2px;font-size:14.5px;font-weight:620}.history-title p{color:var(--faint);margin:0;font-size:10px}.history-list{scrollbar-width:thin;scrollbar-color:#94a3b840 transparent;flex:1;min-height:130px;padding:11px 11px 6px;overflow-y:auto}.history-list::-webkit-scrollbar{width:6px}.history-list::-webkit-scrollbar-thumb{background:#94a3b838;border-radius:99px}.history-item{transition:background .18s var(--ease), border-color .18s var(--ease);border:1px solid #0000;border-radius:14px;align-items:center;gap:2px;display:flex}.history-item+.history-item{margin-top:3px}.history-item:hover{background:#1e293b7a;border-color:#94a3b81a}.history-open{min-width:0;color:inherit;text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:11px;padding:10px 4px 10px 10px;display:flex}.history-thumb{color:#7dd3fc;background:linear-gradient(135deg,#22d3ee1a,#a78bfa1f);border:1px solid #94a3b817;border-radius:10px;flex:none;place-items:center;width:36px;height:36px;display:grid}.history-info{flex-direction:column;gap:3px;min-width:0;display:flex}.history-name{max-width:190px;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:550;overflow:hidden}.history-meta{color:var(--faint);flex-wrap:wrap;align-items:center;gap:5px 8px;font-size:9.5px;display:flex}.history-range{color:#7dd3fc;font-family:var(--font-mono);border:1px solid #22d3ee2e;border-radius:5px;padding:0 4px}.history-open-hint{color:var(--faint);margin-left:auto;display:flex}.history-download{opacity:0;width:30px;height:30px;transition:opacity .18s var(--ease), color .18s var(--ease);background:0 0;border:0;margin-right:4px}.history-item:hover .history-download,.history-download:focus-visible{opacity:1}.history-skeleton{opacity:.5;align-items:center;gap:10px;padding:12px 10px;display:flex}.history-skeleton>span{background:#94a3b81a;border-radius:10px;width:36px;height:36px}.history-skeleton div{flex-direction:column;flex:1;gap:6px;display:flex}.history-skeleton i{background:#94a3b81a;border-radius:4px;height:8px;display:block}.history-skeleton i:last-child{width:58%}.history-empty{text-align:center;flex-direction:column;align-items:center;gap:8px;padding:40px 22px;display:flex}.empty-art{border:1px solid var(--border);width:58px;height:58px;color:var(--cyan-soft);background:linear-gradient(135deg,#22d3ee1a,#a78bfa1a);border-radius:18px;place-items:center;margin-bottom:4px;display:grid}.history-empty h3{margin:0;font-size:13.5px;font-weight:600}.history-empty p{max-width:225px;color:var(--faint);margin:0;font-size:10.5px;line-height:1.6}.history-foot{border-top:1px solid var(--border);background:#070c1766;padding:13px 18px 15px}.storage-line{color:var(--muted);align-items:center;gap:7px;font-size:10px;display:flex}.storage-line svg{color:var(--faint);flex:none}.storage-track{background:#94a3b81f;border-radius:99px;height:3px;margin:9px 0 7px;overflow:hidden}.storage-track span{background:linear-gradient(90deg, var(--cyan), var(--violet));min-width:1px;height:100%;transition:width .4s var(--ease);border-radius:99px;display:block}.history-foot p{color:var(--faint);margin:0;font-size:9px;line-height:1.55}.app-footer{color:var(--faint);flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;margin-top:28px;padding:0 10px;font-size:10px;display:flex}.app-footer span{align-items:center;gap:6px;display:inline-flex}.footer-dot{background:var(--faint);border-radius:50%;width:3px;height:3px}.toast{z-index:1000;border:1px solid var(--border-strong);-webkit-backdrop-filter:blur(18px);width:max-content;max-width:min(430px,100vw - 32px);animation:toast-in .3s var(--ease);background:#0d1525f7;border-radius:14px;align-items:flex-start;gap:10px;padding:12px 13px;font-size:11.5px;line-height:1.55;display:flex;position:fixed;top:22px;right:22px;box-shadow:0 26px 70px -24px #000000f2}.toast-icon{flex:none;margin-top:1px}.toast-success{border-color:#34d39947}.toast-success .toast-icon{color:var(--green)}.toast-error{border-color:#fb718552}.toast-error .toast-icon{color:var(--rose)}.toast-info{border-color:#22d3ee40}.toast-info .toast-icon{color:var(--cyan-soft)}.toast-message{color:var(--text);flex:1}.toast-close{background:0 0;border:0;flex:none;width:25px;height:25px;margin:-2px -2px 0 0}.modal-backdrop{z-index:500;-webkit-backdrop-filter:blur(14px);background:#02060ebd;place-items:center;padding:22px;animation:.2s ease-out fade-in;display:grid;position:fixed;inset:0;overflow-y:auto}.modal{width:min(900px,100%);max-height:calc(100dvh - 44px);animation:modal-in .32s var(--ease);scrollbar-width:thin;scrollbar-color:#94a3b840 transparent;background:linear-gradient(#111b2ffb,#080e1afe);border:1px solid #94a3b833;border-radius:26px;overflow-y:auto;box-shadow:0 40px 120px -30px #000000eb}.modal::-webkit-scrollbar{width:7px}.modal::-webkit-scrollbar-thumb{background:#94a3b838;border-radius:99px}.detail-modal{padding:24px 26px 26px}.detail-head{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.detail-title-block{min-width:0}.detail-name-row{align-items:center;gap:5px;display:flex}.detail-name-row h2{overflow-wrap:anywhere;letter-spacing:-.02em;max-width:560px;margin:3px 0 0;font-size:24px;font-weight:650;line-height:1.25}.detail-name-row .icon-btn{opacity:.65;background:0 0;border:0;flex:none;width:30px;height:30px}.detail-name-row .icon-btn:hover{opacity:1}.detail-date{color:var(--faint);align-items:center;gap:8px;margin:7px 0 0;font-size:10.5px;display:flex}.saved-inline{color:#6ee7b7;border:1px solid #34d39940;border-radius:99px;padding:1px 7px;font-size:9px}.rename-form{align-items:center;gap:6px;margin-top:4px;display:flex}.rename-form input{width:min(380px,58vw);height:38px;color:var(--text);background:#070c17bf;border:1px solid #22d3ee5c;border-radius:10px;padding:0 12px;font-size:16px;font-weight:600}.detail-head-actions{flex:none;align-items:center;gap:8px;display:flex}.delete-confirm{color:#fecdd3;background:#fb718514;border:1px solid #fb718547;border-radius:12px;margin-bottom:14px;padding:13px 15px;font-size:11.5px}.delete-confirm p{margin:0 0 10px}.delete-actions{justify-content:flex-end;gap:8px;display:flex}.detail-loading{min-height:290px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:14px;font-size:11.5px;display:flex}.detail-error{min-height:290px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.detail-error h3{color:var(--text);margin:4px 0 0;font-size:17px}.detail-error p{margin:0 0 8px;font-size:11.5px}.detail-audio-card,.detail-curve-card{border:1px solid var(--border);background:#070c1773;border-radius:18px;margin-top:14px;padding:16px 17px}.detail-audio-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.detail-audio-head h3{margin:0 0 3px;font-size:14px;font-weight:600}.detail-audio-head p{color:var(--faint);margin:0;font-size:10.5px;line-height:1.5}.format-chip{border:1px solid var(--border);color:var(--muted);font-family:var(--font-mono);white-space:nowrap;border-radius:6px;flex:none;padding:3px 7px;font-size:9px}.audio-player--detail{margin-top:12px}.detail-stats{grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin-top:14px;display:grid}.stat{background:#0f172a8c;border:1px solid #94a3b814;border-radius:10px;min-width:0;padding:9px 10px}.stat span{color:var(--faint);letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px;font-size:8.5px;display:block}.stat strong{color:var(--text);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:550;display:block;overflow:hidden}.detail-curve-card .curve-head{margin-bottom:10px}.detail-curve-card .curve-title h3{font-size:14px}.curve-note{color:var(--faint);margin:9px 3px 0;font-size:10px;line-height:1.55}.settings-modal{width:min(620px,100%);padding:24px 26px}.settings-head{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px;display:flex}.settings-head h2{letter-spacing:-.02em;margin:2px 0 0;font-size:23px;font-weight:650}.settings-section{border-top:1px solid var(--border);padding:17px 0}.settings-section:first-child{border-top:0;padding-top:2px}.settings-section-head{align-items:flex-start;gap:11px;margin-bottom:12px;display:flex}.settings-icon{width:33px;height:33px;color:var(--cyan-soft);background:#22d3ee12;border:1px solid #22d3ee24;border-radius:9px;flex:none;place-items:center;display:grid}.settings-section-head h3{margin:1px 0 3px;font-size:13px;font-weight:600}.settings-section-head p{color:var(--faint);margin:0;font-size:10px;line-height:1.55}.setting-control{margin-left:44px}.setting-label-row{color:var(--muted);justify-content:space-between;align-items:baseline;margin-bottom:3px;font-size:11px;display:flex}.setting-value{color:#a5f3fc;font-family:var(--font-mono);font-variant-numeric:tabular-nums;font-size:11.5px}input[type=range]{width:100%;height:22px;accent-color:var(--cyan);cursor:pointer;margin:0}.setting-extras{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:3px;display:flex}.preset-row{gap:6px;display:flex}.preset{border:1px solid var(--border);color:var(--muted);font-family:var(--font-mono);transition:all .18s var(--ease);background:#0f172a73;border-radius:8px;padding:4px 9px;font-size:9.5px}.preset:hover{border-color:var(--border-strong)}.preset.is-active{color:#a5f3fc;background:#22d3ee17;border-color:#22d3ee59}.setting-note{color:var(--faint);margin:0;font-size:9.5px;line-height:1.55}.storage-summary{grid-template-columns:repeat(3,1fr);gap:9px;margin:0 0 12px 44px;display:grid}.storage-summary>div{background:#0f172a80;border:1px solid #94a3b814;border-radius:10px;min-width:0;padding:10px 11px}.storage-summary span{color:var(--faint);margin-bottom:3px;font-size:9px;display:block}.storage-summary strong{text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;font-weight:550;display:block;overflow:hidden}.settings-section>.btn{margin-left:44px}.danger-zone{border-top:1px dashed #94a3b81f;margin:16px 0 0 44px;padding-top:12px}.danger-text{color:#fda4af!important}.clear-confirm p{color:#fecdd3;margin:0 0 8px;font-size:10.5px}.install-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-left:44px;display:flex}.install-row strong{margin-bottom:3px;font-size:11.5px;font-weight:550;display:block}.compat-grid{flex-wrap:wrap;gap:7px;margin-left:44px;display:flex}.compat-item{border:1px solid;border-radius:999px;align-items:center;gap:5px;padding:4px 9px;font-size:10px;display:inline-flex}.compat-item.is-ok{color:#a7f3d0;background:#34d3990f;border-color:#34d39940}.compat-item.is-missing{color:#fecdd3;background:#fb71850f;border-color:#fb718540}.settings-about{padding-bottom:0}.settings-section .inline-alert{margin:12px 0 0 44px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes blink{0%,to{opacity:1}50%{opacity:.35}}@keyframes pulse-ring{0%{opacity:.8;transform:scale(.8)}80%,to{opacity:0;transform:scale(1.8)}}@keyframes eq{0%,to{transform:scaleY(.55)}50%{transform:scaleY(1.25)}}@keyframes idle-eq{0%,to{transform:scaleY(.62)}50%{transform:scaleY(1.08)}}@keyframes orbit-spin{to{transform:rotate(360deg)}}@keyframes record-glow{0%,to{box-shadow:0 12px 34px -18px #e11d48d9}50%{box-shadow:0 12px 44px -12px #e11d48a6}}@keyframes slide-up{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes toast-in{0%{opacity:0;transform:translateY(-8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes toast-up{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-in{0%{opacity:0;transform:translateY(16px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=1180px){.app-main{grid-template-columns:minmax(0,1fr) 338px}.pitch-main{grid-template-columns:minmax(0,1.05fr) minmax(220px,.95fr);gap:20px}.note-value{font-size:clamp(72px,8.4vw,98px)}.readout-value{font-size:22px}}@media (width<=960px){.app-shell{max-width:840px}.app-main{grid-template-columns:1fr;gap:18px}.history{max-height:none;position:static}.history-list{max-height:430px}.detail-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=700px){.app-shell{padding:calc(16px + env(safe-area-inset-top)) calc(12px + env(safe-area-inset-right)) calc(26px + env(safe-area-inset-bottom)) calc(12px + env(safe-area-inset-left))}.app-header{gap:10px;margin-bottom:17px}.brand-mark{width:40px;height:40px}.brand{gap:10px}.brand-name{font-size:16.5px}.brand-sub{letter-spacing:.12em;font-size:8px}.header-actions{gap:6px}.net-chip{display:none}.btn-install{padding:8px 11px;font-size:11.5px}.header-settings{width:36px;height:36px}.stage{border-radius:22px;padding:17px 15px 18px}.stage-head{align-items:flex-start}.mic-state{flex-wrap:wrap;gap:6px;min-height:24px;font-size:11px}.engine-chip{font-size:8.5px}.mic-actions{width:100%}.device-select{flex:1;min-width:0;max-width:none;height:36px}.device-select select{flex:1;min-width:0;max-width:none;font-size:11px}.btn-mic{flex:none;min-height:36px;padding:8px 12px;font-size:11.5px}.pitch-display{padding-top:12px}.pitch-main{grid-template-columns:1fr;gap:8px}.note-stage{min-height:132px;padding:4px 0 0}.note-idle-art{width:112px;height:112px;margin-left:10px}.idle-bars{gap:5px;height:52px}.idle-bars i{width:6px;height:20px}.idle-bars i:nth-child(2){height:31px}.idle-bars i:nth-child(3){height:47px}.idle-bars i:nth-child(4){height:31px}.note-glow{width:260px;height:190px;left:-30px}.note-value{font-size:clamp(64px,20vw,90px)}.pitch-state{margin-top:9px;font-size:11px}.readout{flex-direction:row;gap:0;padding:4px 8px}.readout-item{border-bottom:0;border-left:1px solid #94a3b814;flex-direction:column;flex:1;align-items:flex-start;gap:4px;padding:8px 9px}.readout-item:first-child{border-left:0;padding-left:4px}.readout-value{font-size:19px}.readout-label{letter-spacing:.1em;font-size:8.5px}.tuner{margin-top:15px;padding:0}.tuner-track{height:36px}.display-foot{margin-top:12px;padding:0}.level-meter{min-width:0;font-size:9.5px}.level-track{width:82px}.tuning-reference{font-size:9px}.curve-card{border-radius:16px;margin-top:14px;padding:12px 9px 6px}.curve-head{padding:0 5px}.curve-tools{gap:8px}.curve-legend{display:none}.live-badge{font-size:8.5px}.curve-title h2{font-size:13.5px}.record-panel{border-radius:16px;gap:10px 13px;margin-top:14px;padding:12px}.record-button{flex:1;min-width:0;min-height:46px;padding:0 14px;font-size:12.5px}.record-readout{text-align:right;flex:none;align-items:flex-end;min-width:0}.record-time{font-size:22px}.record-sub{max-width:148px;font-size:9px}.record-privacy{display:none}.take-card{border-radius:22px;padding:17px 16px}.take-head{flex-direction:column;gap:8px}.take-head h2{font-size:15.5px}.take-actions{gap:7px}.take-actions .btn{flex:1;min-width:0;padding:8px 10px;font-size:11.5px}.take-actions .btn-quiet{flex:none}.studio-footnote{padding:0 4px;font-size:9.5px}.history{border-radius:22px}.history-list{max-height:380px;padding:9px 9px 4px}.history-name{max-width:178px}.history-download{opacity:.7}.app-footer{justify-content:flex-start;gap:6px;margin-top:20px;font-size:9px}.modal-backdrop{padding:9px 9px calc(9px + env(safe-area-inset-bottom));align-items:flex-end}.modal{border-radius:20px;max-height:calc(100dvh - 18px)}.detail-modal,.settings-modal{padding:17px 15px 20px}.detail-head{flex-direction:column;gap:10px;margin-bottom:14px}.detail-name-row h2{font-size:20px}.detail-head-actions{justify-content:flex-end;width:100%}.detail-head-actions .btn-ghost{order:-1;margin-right:auto}.rename-form input{width:100%;min-width:0}.detail-audio-card,.detail-curve-card{border-radius:15px;padding:13px 12px}.detail-audio-head{flex-direction:column;gap:6px}.detail-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.stat{padding:8px 9px}.settings-head h2{font-size:20px}.setting-control,.storage-summary,.settings-section>.btn,.danger-zone,.install-row,.compat-grid,.settings-section .inline-alert{margin-left:0}.storage-summary{gap:6px}.storage-summary>div{padding:8px}.storage-summary strong,.settings-section-head p{font-size:9.5px}.toast{top:auto;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));width:auto;max-width:none;animation:toast-up .3s var(--ease);left:12px}}@media (width<=420px){.brand-sub{display:none}.brand-name{font-size:15.5px}.btn-install{width:36px;height:36px;min-height:36px;padding:0}.install-label{display:none}.note-value{font-size:62px}.readout-value{font-size:17px}.readout-value small{font-size:8px}.readout-item{padding:7px}.record-readout .record-sub{display:none}.record-time{font-size:20px}.history-name{max-width:150px}.detail-head-actions .btn-ghost{gap:0;padding:8px 10px;font-size:0}.take-meta{gap:5px 10px;font-size:9.5px}}@media (hover:none){.history-download{opacity:.68}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}
