.launcher{width:100%;height:100%;overflow-y:auto;padding:24px 16px}.launcher-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(400px,100%),1fr));max-width:1232px;margin:0 auto;gap:16px}.launcher-card{height:136px;max-width:400px;width:100%;display:flex;align-items:center;gap:12px;padding:12px;border-radius:12px;background:#fff;box-shadow:0 1px 4px #0000001a;cursor:pointer;-webkit-user-select:none;user-select:none;transition:transform .12s ease,box-shadow .12s ease}.launcher-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.launcher-card:active{transform:translateY(0);box-shadow:0 1px 4px #0000001a}.launcher-card-avatar{width:72px;height:72px;object-fit:contain;flex-shrink:0}.launcher-card-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.launcher-card-title{font-size:15px;font-weight:600;color:#1a1a1a;line-height:1.3}.launcher-card-subtitle{font-size:12px;color:#888;line-height:1.4;word-break:break-all}.e2e-test-container{max-width:800px;margin:0 auto;padding:20px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.e2e-test-container h1{text-align:center;color:#333;margin-bottom:24px}.control-panel{display:flex;justify-content:space-between;align-items:center;padding:16px;background:#f5f5f5;border-radius:8px;margin-bottom:16px}.status{display:flex;align-items:center;gap:8px;font-size:14px}.status-dot{width:10px;height:10px;border-radius:50%;background:#ccc}.status-dot.disconnected{background:#ccc}.status-dot.connecting{background:#f59e0b;animation:pulse 1s infinite}.status-dot.connected{background:#10b981}.status-dot.listening{background:#3b82f6;animation:pulse .5s infinite}.status-dot.processing{background:#8b5cf6;animation:pulse .8s infinite}.status-dot.speaking{background:#ec4899;animation:pulse .6s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.buttons{display:flex;gap:8px}.btn{padding:10px 20px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.primary{background:#3b82f6;color:#fff}.btn.primary:hover:not(:disabled){background:#2563eb}.btn.danger{background:#ef4444;color:#fff}.btn.danger:hover:not(:disabled){background:#dc2626}.btn.warning{background:#f59e0b;color:#fff}.btn.warning:hover:not(:disabled){background:#d97706}.btn.record{background:#10b981;color:#fff}.btn.record:hover:not(:disabled){background:#059669}.btn.recording{background:#ef4444;color:#fff;animation:pulse .5s infinite}.error-banner{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fef2f2;border:1px solid #fee2e2;border-radius:6px;color:#dc2626;margin-bottom:16px}.error-banner button{background:none;border:none;color:#dc2626;cursor:pointer;font-size:14px}.chat-area{height:400px;overflow-y:auto;border:1px solid #e5e7eb;border-radius:8px;padding:16px;margin-bottom:16px;background:#fafafa}.message{margin-bottom:16px;padding:12px 16px;border-radius:8px;max-width:80%}.message.user{background:#dbeafe;margin-left:auto}.message.assistant{background:#fff;border:1px solid #e5e7eb;margin-right:auto}.message.current{opacity:.8;border-style:dashed}.message-role{font-size:12px;color:#6b7280;margin-bottom:4px}.message-text{font-size:14px;line-height:1.5;white-space:pre-wrap;word-break:break-word}.input-area{display:flex;gap:8px}.input-area input{flex:1;padding:12px 16px;border:1px solid #e5e7eb;border-radius:6px;font-size:14px;outline:none;transition:border-color .2s}.input-area input:focus{border-color:#3b82f6}.input-area input:disabled{background:#f5f5f5}.chat-landing{display:flex;flex-direction:column;align-items:center;height:100dvh;background:#f5f5f5;padding:40px 24px 32px;box-sizing:border-box}.chat-landing-title{margin:0 0 32px;font-size:24px;font-weight:700;color:#222;text-align:center}.chat-landing-body{display:flex;flex-direction:column;align-items:center;gap:24px;max-width:400px;width:100%}.chat-landing-avatar{width:100px;height:100px;object-fit:contain}.chat-landing-btn{height:48px;padding:0 40px;border:none;border-radius:24px;background:#1677ff;color:#fff;font-size:17px;cursor:pointer;transition:background .2s}.chat-landing-btn:hover{background:#4096ff}.chat-landing-desc{margin:0;font-size:14px;line-height:1.7;color:#888;text-align:center}.chat-landing-error{padding:8px 14px;border-radius:8px;background:#fff2f0;border:1px solid #ffccc7;color:#cf1322;font-size:13px;text-align:center}.chat-page{display:flex;flex-direction:column;height:100dvh;background:#f5f5f5;font-family:inherit}.chat-header{flex-shrink:0;display:flex;align-items:center;justify-content:center;position:relative;height:52px;background:#fff;border-bottom:1px solid #e8e8e8;box-shadow:0 1px 4px #0000000f}.chat-title{margin:0;font-size:18px;font-weight:600;color:#222}.chat-audio-toggle{position:absolute;right:12px;top:50%;transform:translateY(-50%);width:36px;height:36px;border:none;border-radius:18px;background:transparent;color:#555;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s ease,color .2s ease}.chat-audio-toggle:hover{background:#f0f0f0;color:#222}.chat-audio-toggle:focus-visible{outline:2px solid #1677ff;outline-offset:2px}.chat-error{flex-shrink:0;padding:8px 16px;background:#fff2f0;border-bottom:1px solid #ffccc7;color:#cf1322;font-size:13px;cursor:pointer;display:flex;justify-content:space-between;align-items:center}.chat-error-dismiss{font-size:16px;line-height:1;opacity:.6}.chat-messages{flex:1;overflow-y:auto;padding:16px 12px;display:flex;flex-direction:column;gap:12px}.chat-empty{flex:1;display:flex;align-items:center;justify-content:center;color:#aaa;font-size:14px}.chat-row{display:flex;align-items:flex-start;gap:8px;max-width:80%}.chat-row--user{align-self:flex-end;flex-direction:row-reverse}.chat-row--assistant{align-self:flex-start;flex-direction:row}.chat-avatar{width:36px;height:36px;object-fit:contain;object-position:center;flex-shrink:0}.chat-bubble{padding:10px 14px;border-radius:16px;font-size:15px;line-height:1.5;word-break:break-word;white-space:pre-wrap}.chat-bubble--user{background:#1677ff;color:#fff;border-bottom-right-radius:4px}.chat-bubble--error{background:#fff2f0;color:#cf1322;border:1px solid #ffccc7;font-size:13px}.chat-bubble--assistant{background:#fff;color:#222;border-top-left-radius:4px;box-shadow:0 1px 3px #00000014}.chat-bubble--streaming{opacity:.85}.chat-breathing-indicator{display:inline-block;width:1em;height:1em;background:currentColor;border-radius:50%;opacity:.4;animation:breathing 1.2s ease-in-out infinite;vertical-align:middle}@keyframes breathing{0%,to{transform:scale(.6);opacity:.3}50%{transform:scale(1);opacity:.6}}.chat-footer{flex-shrink:0;background:#fff;border-top:1px solid #e8e8e8;padding:10px 12px;padding-bottom:max(10px,env(safe-area-inset-bottom))}.chat-input-area{display:flex;align-items:center;gap:8px;min-width:0}.chat-input{flex:1;min-width:0;height:40px;padding:0 14px;border:1px solid #d9d9d9;border-radius:20px;font-size:15px;outline:none;background:#fafafa;transition:border-color .2s}.chat-input:focus{border-color:#1677ff;background:#fff}.chat-input:disabled{color:#aaa;cursor:not-allowed}.chat-send-btn{flex-shrink:0;height:40px;padding:0 18px;border:none;border-radius:20px;background:#1677ff;color:#fff;font-size:15px;cursor:pointer;transition:background .2s,opacity .2s;white-space:nowrap}.chat-send-btn:hover:not(:disabled){background:#4096ff}.chat-send-btn:disabled{opacity:.5;cursor:not-allowed}.chat-send-btn--interrupt{background:#ff4d4f}.chat-send-btn--interrupt:hover{background:#ff7875}.chat-disconnected-tip{flex:1;height:40px;display:flex;align-items:center;padding:0 14px;border:1px solid #ffccc7;border-radius:20px;font-size:14px;color:#cf1322;background:#fff2f0}.chat-send-btn--reconnect{background:#222}.chat-send-btn--reconnect:hover{background:#444}.chat-mode-btn{flex-shrink:0;width:40px;height:40px;border:1px solid #d9d9d9;border-radius:8px;background:#fafafa;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;color:#555;transition:background .2s,color .2s}.chat-mode-btn:hover{background:#f0f0f0;color:#222}.chat-voice-talk-btn{flex:1;height:40px;border:1px solid #d9d9d9;border-radius:20px;background:#fafafa;font-size:15px;color:#555;cursor:pointer;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:none;transition:background .15s,color .15s,border-color .15s}.chat-voice-talk-btn:hover{background:#f0f0f0}.chat-voice-talk-btn--recording{background:#e6f0ff;color:#1677ff;border-color:#1677ff}.chat-bubble--listening{opacity:.7;display:flex;align-items:center;gap:6px}.chat-listening-indicator{display:inline-block;width:8px;height:8px;background:#fff;border-radius:50%;flex-shrink:0;animation:listening-pulse 1s ease-in-out infinite}@keyframes listening-pulse{0%,to{opacity:.3;transform:scale(.8)}50%{opacity:1;transform:scale(1.2)}}
