:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#07110f;--panel:#101a18;--panel-2:#16221f;--line:#d2f4e81f;--text:#effaf6;--muted:#9eb8ae;--muted-2:#6f877d;--green:#42d7a7;--green-2:#1fa87d;--amber:#f2b84b;--danger:#ff625f;--shadow:0 24px 80px #0000005c;font-family:Avenir Next,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0;overflow-x:hidden}body{color:var(--text);background:radial-gradient(circle at 20% 8%,#42d7a724,#0000 32rem),radial-gradient(circle at 86% 0,#f2b84b1f,#0000 28rem),linear-gradient(#081310 0%,#050908 100%);width:100%}button,textarea{font:inherit}button{cursor:pointer;border:0}button:disabled{cursor:not-allowed;opacity:.44}.shell{width:min(1120px,100%);min-height:100vh;margin:0 auto;padding:24px 22px 48px;overflow-x:hidden}.topbar{justify-content:space-between;align-items:center;padding:6px 0 22px;display:flex}.brand{align-items:center;gap:12px;display:flex}.brand img{border-radius:12px;width:42px;height:42px;box-shadow:0 10px 28px #42d7a72e}.brand strong,.brand span{display:block}.brand strong{font-size:19px;line-height:1.15}.brand span{color:var(--muted);margin-top:3px;font-size:12px}.icon-button{width:42px;height:42px;color:var(--text);border:1px solid var(--line);background:#ffffff0f;border-radius:12px;justify-content:center;align-items:center;display:inline-flex}.workspace{grid-template-columns:minmax(0,.86fr) minmax(360px,1.14fr);align-items:start;gap:22px;width:100%;display:grid}.workspace.intro-only{grid-template-columns:minmax(360px,520px)}.workspace.intro-only .recorder{max-width:520px}.hero{grid-column:1/-1;padding:24px 4px 4px}h1{letter-spacing:0;max-width:760px;margin:12px 0 10px;font-size:clamp(36px,7vw,76px);line-height:.96}.hero p{max-width:620px;color:var(--muted);margin:0;font-size:17px;line-height:1.75}.recorder,.result-panel,.drawer-card{border:1px solid var(--line);box-shadow:var(--shadow);background:linear-gradient(#16221ff0,#0b1210f0);border-radius:8px;min-width:0}.recorder{min-height:520px;padding:22px;position:sticky;top:18px;overflow:hidden}.recorder:before{content:"";pointer-events:none;background-color:#0000;background-image:linear-gradient(90deg,#ffffff06 1px,#0000 1px),linear-gradient(0deg,#ffffff05 1px,#0000 1px);background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:38px 38px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;position:absolute;inset:0}.recorder-head,.wave,.controls,.secondary-controls{z-index:1;position:relative}.recorder-head{color:var(--muted);justify-content:space-between;align-items:center;font-size:14px;display:flex}.recorder-head strong{color:var(--text);font-size:18px}.wave{justify-content:center;align-items:center;gap:5px;height:148px;margin:72px 0 44px;display:flex}.wave i{background:linear-gradient(180deg, var(--green), #42d7a72e);border-radius:999px;width:5px;min-height:8px;transition:height .12s}.is-recording .wave i{box-shadow:0 0 18px #42d7a738}.controls{justify-content:center;min-height:116px;display:flex}.record-button{background:radial-gradient(circle at 35% 25%, #7af2ce, var(--green) 44%, var(--green-2) 100%);color:#05100d;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:12px;width:176px;height:176px;font-weight:800;display:flex;box-shadow:0 20px 64px #42d7a747}.record-button.stop{background:radial-gradient(circle at 35% 25%, #ffaaa8, var(--danger) 50%, #a92a2a 100%);color:#fff}.stop-dot{background:currentColor;border-radius:7px;width:28px;height:28px}.processing{width:176px;height:176px;color:var(--green);background:#42d7a714;border:1px solid #42d7a74d;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex}.processing svg{animation:1s linear infinite spin}.secondary-controls{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:28px;display:flex}.secondary-controls button,.result-actions button,.raw-toggle{min-height:42px;color:var(--text);border:1px solid var(--line);background:#ffffff0f;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:0 14px;display:inline-flex}.hidden-file{display:none}.result-panel{width:100%;padding:22px}.panel-title{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;display:flex}.panel-title span,.panel-title small{color:var(--muted);font-size:13px}.panel-title strong{margin-top:5px;font-size:24px;display:block}textarea{resize:vertical;border:1px solid var(--line);width:100%;min-height:330px;color:var(--text);word-break:break-word;background:#04090885;border-radius:8px;outline:none;padding:18px;font-size:16px;line-height:1.75}textarea::placeholder{color:var(--muted-2)}textarea:focus{border-color:#42d7a78c;box-shadow:0 0 0 3px #42d7a714}.result-actions{grid-template-columns:repeat(4,minmax(0,auto));justify-content:start;gap:10px;margin-top:14px;display:grid}.result-actions button.primary{background:var(--green);color:#05100d;border-color:#0000;font-weight:800}.raw-toggle{width:100%;color:var(--muted);justify-content:flex-start;margin-top:16px}.raw-toggle svg{transition:transform .16s}.raw-toggle svg.open{transform:rotate(180deg)}.raw-text{white-space:pre-wrap;color:#d3e5df;border:1px solid var(--line);background:#ffffff0b;border-radius:8px;max-height:240px;margin:12px 0 0;padding:14px;line-height:1.72;overflow:auto}.history-drawer{z-index:20;background:#00000085;justify-content:flex-end;padding:18px;display:flex;position:fixed;inset:0}.drawer-card{width:min(420px,100%);padding:18px;overflow:hidden}.drawer-head{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.history-list{gap:10px;max-height:calc(100vh - 112px);display:grid;overflow:auto}.history-list button{border:1px solid var(--line);min-height:68px;color:var(--text);text-align:left;background:#ffffff0b;border-radius:8px;align-items:center;gap:12px;padding:12px;display:flex}.history-list span,.history-list strong,.history-list small{display:block}.history-list small,.empty-history{color:var(--muted)}.empty-history{text-align:center;padding:28px 8px}.toast{z-index:30;color:#06110e;background:#effaf6f0;border-radius:8px;padding:11px 16px;font-weight:700;position:fixed;bottom:26px;left:50%;transform:translate(-50%);box-shadow:0 12px 40px #00000052}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=820px){html,body,#root{min-height:100%}.shell{width:100%;padding:16px 14px 28px}.workspace{flex-direction:column;gap:14px;width:100%;min-width:0;display:flex}.workspace.intro-only .recorder{max-width:none}.topbar{padding:2px 0 12px}.brand img{width:38px;height:38px}.brand strong{font-size:18px}.icon-button{width:40px;height:40px}.hero{order:1;width:100%;min-width:0;padding:2px 2px 0}h1{overflow-wrap:break-word;max-width:100%;margin:8px 0;font-size:clamp(32px,10.4vw,43px);line-height:1.02}.hero p{color:#effaf6b3;max-width:100%;font-size:14px;line-height:1.55}.recorder{order:2;width:100%;min-height:340px;margin:4px 0 0;padding:16px;position:relative;top:auto}.wave{gap:4px;height:74px;margin:28px 0 18px}.wave i{width:4px}.record-button,.processing{gap:9px;width:128px;height:128px}.controls{min-height:132px}.secondary-controls{margin-top:16px}.secondary-controls button,.result-actions button,.raw-toggle{min-height:40px;padding:0 12px;font-size:14px}.result-panel{order:3;width:100%;max-width:100%;padding:16px}.panel-title{align-items:flex-end;margin-bottom:12px;display:flex}.panel-title strong{font-size:22px;line-height:1.25}textarea{min-height:240px;padding:15px;font-size:15px;line-height:1.72}.result-actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.result-actions button{width:100%}}@media (width<=380px){h1{font-size:32px}.hero p{font-size:13px}.recorder{min-height:326px}.wave{margin:24px 0 16px}.record-button,.processing{width:118px;height:118px}}
