:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #0b1020; color: #f8fafc; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top, #1f2937 0, #0b1020 45%, #050816 100%); }
.app { width: min(100%, 520px); min-height: 100vh; margin: 0 auto; padding: 24px; display: grid; grid-template-rows: auto 1fr auto; gap: 24px; }
.topbar { display: flex; align-items: center; justify-content: space-between; }
.label { margin: 0 0 4px; color: #93c5fd; font-size: 12px; text-transform: uppercase; letter-spacing: 0; }
h1 { margin: 0; font-size: 34px; line-height: 1; }
.dot { width: 14px; height: 14px; border-radius: 50%; background: #f97316; box-shadow: 0 0 0 6px rgba(249,115,22,.16); }
.dot.ok { background: #22c55e; box-shadow: 0 0 0 6px rgba(34,197,94,.16); }
.talk { display: grid; place-items: center; align-content: center; gap: 18px; text-align: center; }
.talkButton { width: min(68vw, 260px); aspect-ratio: 1; border: 0; border-radius: 50%; background: linear-gradient(145deg, #ef4444, #2563eb); box-shadow: 0 28px 80px rgba(37,99,235,.35), inset 0 0 0 12px rgba(255,255,255,.08); cursor: pointer; }
.talkButton span { display: block; width: 42%; aspect-ratio: 1; margin: auto; border-radius: 50%; background: rgba(255,255,255,.92); }
.talkButton.active { filter: saturate(1.25); transform: scale(.98); }
#statusText { min-height: 24px; margin: 0; color: #cbd5e1; }
.panel { display: grid; gap: 10px; padding: 16px; border: 1px solid rgba(148,163,184,.26); border-radius: 8px; background: rgba(15,23,42,.72); }
label { font-size: 13px; color: #cbd5e1; }
textarea { width: 100%; resize: vertical; border: 1px solid rgba(148,163,184,.35); border-radius: 8px; padding: 12px; background: #020617; color: #f8fafc; font: inherit; }
button:not(.talkButton) { height: 44px; border: 0; border-radius: 8px; background: #38bdf8; color: #082f49; font-weight: 700; cursor: pointer; }
pre { min-height: 44px; margin: 0; white-space: pre-wrap; color: #d1fae5; font: 13px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; }
@media (max-width: 380px) { .app { padding: 18px; } h1 { font-size: 30px; } }
