* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #1a1a2e; color: #eee; min-height: 100vh; display: flex; justify-content: center; align-items: center; }
.container { max-width: 420px; width: 100%; padding: 24px; }
.header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
h1 { font-size: 24px; font-weight: 600; }
.status { padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 600; text-transform: uppercase; }
.status.disconnected { background: #444; color: #aaa; }
.status.connecting { background: #553; color: #ffa; }
.status.connected { background: #253; color: #5f5; }
.controls { margin-bottom: 20px; }
.btn { width: 100%; padding: 14px; border: none; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; transition: opacity 0.2s; }
.btn:hover { opacity: 0.85; }
.btn-primary { background: #4a6cf7; color: #fff; }
.btn-danger { background: #f74a4a; color: #fff; }
.mode-display { text-align: center; font-size: 13px; color: #888; margin-bottom: 16px; }
.transcript { background: #16213e; border-radius: 8px; padding: 16px; min-height: 200px; max-height: 400px; overflow-y: auto; margin-bottom: 16px; }
.transcript .hint { color: #666; font-style: italic; }
.mode-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mode-btn { padding: 10px; background: #16213e; border: 1px solid #333; border-radius: 6px; color: #ccc; font-size: 13px; cursor: pointer; transition: background 0.2s; }
.mode-btn:hover { background: #1a2744; border-color: #4a6cf7; }
.log-panel { margin-top: 16px; background: #0d1117; border: 1px solid #333; border-radius: 8px; overflow: hidden; }
.log-header { display: flex; justify-content: space-between; align-items: center; padding: 6px 12px; background: #161b22; font-size: 12px; font-weight: 600; color: #888; text-transform: uppercase; letter-spacing: 0.5px; }
.log-clear { background: none; border: 1px solid #444; border-radius: 4px; color: #888; font-size: 11px; padding: 2px 8px; cursor: pointer; }
.log-clear:hover { border-color: #666; color: #ccc; }
.log-output { padding: 8px 12px; max-height: 200px; overflow-y: auto; font-family: 'SF Mono', 'Fira Code', monospace; font-size: 11px; line-height: 1.6; }
.log-output div { word-break: break-all; }
.log-time { color: #555; margin-right: 6px; }
.log-info { color: #8b949e; }
.log-warn { color: #d29922; }
.log-error { color: #f85149; }
