:root{color:#e8eef2;background:#090d16;font-family:Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input{font:inherit;color:inherit}button{cursor:pointer;border:0;border-radius:10px;padding:8px 12px;background:#ea580c;color:#fff}button.ghost{background:#1e293b}#link,#send-asr{background:#7dd3fc;color:#0c4a6e}#link.connected{background:#ef4444;color:#fff}input{width:100%;background:#0f172a;border:1px solid #334155;border-radius:8px;padding:8px 10px}label{display:block;margin:8px 0 4px;color:#94a3b8;font-size:12px}.top{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid #1e293b;background:#0c121e}.brand{display:flex;gap:12px;align-items:center}.logo{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(135deg,#fb923c,#e11d48)}h1{margin:0;font-size:16px}p{margin:2px 0 0;color:#94a3b8;font-size:12px}.status{padding:6px 10px;border-radius:999px;background:#1e293b;font-size:12px}.status.on{color:#86efac}main{display:grid;grid-template-columns:1.2fr .8fr;gap:20px;padding:20px}.stage,.panel{min-height:0}.stage{display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 20%,#1f2937,#0b1020 70%);border:1px solid #1e293b;border-radius:28px;padding:28px}.cat{width:420px;position:relative;padding-top:36px}.ears{position:absolute;left:54px;right:54px;top:0;display:flex;justify-content:space-between}.ear{width:78px;height:90px;background:#f8fafc;clip-path:polygon(18% 100%,50% 0,88% 100%);position:relative}.ear:after{content:"";position:absolute;top:18px;right:16px;bottom:10px;left:16px;background:#fb7185;clip-path:polygon(20% 100%,50% 8%,84% 100%)}.face{background:radial-gradient(circle at 50% 20%,#fff,#e6ebf2 70%);border-radius:120px 120px 90px 90px;padding:28px 24px 18px;display:flex;align-items:center;justify-content:center;gap:18px;box-shadow:0 24px 50px #00000073}.eye{width:148px;height:148px;border-radius:50%;background:#05070a;box-shadow:inset 0 0 0 8px #17191d;display:grid;place-items:center;overflow:hidden}.muzzle{width:36px;display:flex;flex-direction:column;align-items:center}.nose{width:16px;height:10px;background:#fb7185;border-radius:0 0 8px 8px}.mouth{width:22px;height:10px;border-bottom:2px solid #fb7185;border-radius:0 0 12px 12px;margin-top:2px}.collar{height:14px;margin:10px 18px 0;border-radius:999px;background:linear-gradient(90deg,#fb7185,#fda4af,#fb7185)}.record{width:64px;height:64px;padding:0;border-radius:50%;margin:12px auto 0;display:grid;place-items:center;background:#111827;border:2px solid #334155}.record:disabled{cursor:default;opacity:1}.record span{width:26px;height:26px;border-radius:50%;background:#ef4444;display:block}.record.connecting span{width:22px;height:22px;border-radius:50%;background:transparent;border:3px solid rgba(239,68,68,.35);border-top-color:#ef4444;animation:spin .7s linear infinite}.record.live span{width:20px;height:20px;border-radius:4px;background:#fb923c;animation:none}.record-live{height:22px;margin-top:8px;color:#94a3b8;font-size:13px;line-height:22px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bubble{width:min(560px,100%);margin-top:18px;background:#0f172a;border:1px solid #334155;border-radius:16px;padding:12px 14px}.bubble-head{display:flex;justify-content:space-between;color:#94a3b8;font-size:12px;margin-bottom:6px}#voice-text{font-size:14px}.card{background:#0f172a;border:1px solid #1e293b;border-radius:16px;padding:12px;margin-bottom:12px}.row{display:flex;gap:8px;margin-top:8px;align-items:center;flex-wrap:wrap}#utterance{flex:1 1 auto;min-width:0;width:auto}#link,#send-asr,#pause,#fail,#skip{min-width:52px;height:36px;padding:0 12px;flex:0 0 auto;display:inline-grid;place-items:center}.chips{display:flex;flex-wrap:wrap;gap:6px}.chips button{background:#1e293b;font-size:12px}.check{display:flex;align-items:center;gap:6px;margin:0 0 8px;cursor:pointer;-webkit-user-select:none;user-select:none}.check input{width:auto;margin:0;accent-color:#f0abfc}.log{height:320px;overflow:auto;font-family:ui-monospace,Consolas,monospace;font-size:12px}.log div{padding:4px 0;border-bottom:1px solid #1e293b}.log:not(.show-intent) .intent{display:none}.down{color:#fcd34d}.up{color:#86efac}.asr{color:#7dd3fc}.intent{color:#f0abfc}button.busy{position:relative;color:transparent}button.busy:after{content:"";position:absolute;width:14px;height:14px;margin:-7px 0 0 -7px;left:50%;top:50%;border-radius:50%;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;animation:spin .7s linear infinite}.pupil{width:72px;height:72px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#5eead4,#0f766e);position:relative}.pupil:after{content:"";position:absolute;width:18px;height:18px;border-radius:50%;background:#020617;left:28px;top:24px}.happy{width:90px;height:46px;border-top:8px solid #fbbf24;border-radius:80px 80px 0 0;box-shadow:0 0 16px #f59e0b}.sleep{width:90px;height:20px;border-top:7px solid #818cf8;border-radius:80px 80px 0 0}.think{width:78px;height:78px;border-radius:50%;border:4px solid #a78bfa;border-right-color:transparent;animation:spin 1s linear infinite}.bars{display:flex;gap:4px;align-items:end;height:64px}.bars span{width:8px;background:#c084fc;animation:bar .8s ease-in-out infinite}.bars span:nth-child(2){animation-delay:.15s;height:40px}.bars span:nth-child(3){animation-delay:.3s}@keyframes spin{to{transform:rotate(360deg)}}@keyframes bar{50%{height:58px}}@media (max-width: 980px){main{grid-template-columns:1fr}.cat{width:100%}}
