:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, sans-serif; background: #0a1726; color: #f4f8fb; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; background: radial-gradient(circle at top right, #164b6e, transparent 45%), #0a1726; }
.shell { width: min(680px, calc(100% - 40px)); padding: 56px 0; }
.eyebrow { color: #75d7c8; font-size: .73rem; font-weight: 800; letter-spacing: .13em; }
h1 { margin: 8px 0; font-size: clamp(3rem, 10vw, 5.5rem); letter-spacing: -.07em; }
.intro { max-width: 510px; color: #c4d3df; font-size: 1.1rem; line-height: 1.6; }
.card { margin-top: 30px; padding: 28px; border: 1px solid #2a4458; border-radius: 20px; background: rgba(9, 28, 44, .72); box-shadow: 0 20px 60px rgba(0, 0, 0, .2); }
.voice-picker { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 250px); align-items: center; gap: 16px; margin-bottom: 24px; color: #75d7c8; font-size: .95rem; font-weight: 800; letter-spacing: .02em; }
.voice-picker select { width: 100%; appearance: none; border: 1px solid #4b7186; border-radius: 12px; padding: 14px 42px 14px 16px; background-color: #102c40; background-image: linear-gradient(45deg, transparent 50%, #75d7c8 50%), linear-gradient(135deg, #75d7c8 50%, transparent 50%); background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; color: #f4f8fb; font: inherit; font-size: 1rem; font-weight: 700; letter-spacing: 0; cursor: pointer; }
.voice-picker select:focus-visible { outline: 3px solid rgba(117, 215, 200, .45); outline-offset: 2px; }
.voice-picker option { background: #102338; color: #f4f8fb; }
.status-row { display: flex; align-items: center; gap: 12px; font-weight: 650; }
.indicator { width: 11px; height: 11px; border-radius: 99px; background: #6b7c8c; }
.indicator[data-state='connecting'] { background: #f6bd60; animation: pulse 1s infinite; }
.indicator[data-state='connected'] { background: #75d7c8; box-shadow: 0 0 0 7px rgba(117, 215, 200, .12); }
.indicator[data-state='error'] { background: #ff7676; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
button { border: 0; border-radius: 10px; padding: 13px 18px; background: #75d7c8; color: #082032; font: inherit; font-weight: 750; cursor: pointer; }
button[disabled] { opacity: .45; cursor: not-allowed; }
#disconnect { background: #2d4658; color: #fff; }
.hint { color: #aec0cf; font-size: .9rem; line-height: 1.5; }
@keyframes pulse { 50% { opacity: .4; } }
@media (max-width: 480px) { .shell { width: min(100% - 30px, 680px); padding: 36px 0; } .card { padding: 22px; } .voice-picker { grid-template-columns: 1fr; gap: 9px; } .actions { display: grid; grid-template-columns: 1fr; } .actions button { width: 100%; } }