:root { color-scheme: dark; font-family: Inter, Pretendard, "Noto Sans KR", system-ui, sans-serif; --bg:#07110f; --panel:#0d1916; --line:#20332d; --text:#effaf6; --muted:#91a9a1; --mint:#64f5bd; --mint2:#1fd69b; }
* { box-sizing:border-box; }
body { margin:0; min-width:320px; min-height:100vh; color:var(--text); background:radial-gradient(circle at 50% -10%,#153b31 0,transparent 38%),var(--bg); }
button,input { font:inherit; }
button { color:inherit; }
.shell { width:min(1120px,100%); min-height:100vh; margin:auto; padding:24px 32px 28px; display:grid; grid-template-rows:auto 1fr auto auto; gap:28px; }
.topbar { display:flex; justify-content:space-between; align-items:center; }
.brand { display:flex; align-items:center; gap:10px; font-weight:650; letter-spacing:-.02em; }
.brand-mark { display:grid; place-items:center; width:32px; height:32px; color:#07110f; background:var(--mint); border-radius:10px; font-weight:850; }
.connection { display:flex; align-items:center; gap:8px; color:var(--muted); font-size:13px; }
.connection span { width:8px; height:8px; border-radius:50%; background:#dc765f; box-shadow:0 0 12px #dc765f66; }
.connection.ready span { background:var(--mint); box-shadow:0 0 12px #64f5bd88; }
.hero { min-height:520px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; }
.orb-wrap { position:relative; width:158px; height:158px; display:grid; place-items:center; margin-bottom:28px; }
.orb { position:relative; z-index:2; width:102px; height:102px; padding:1px; border-radius:50%; background:linear-gradient(145deg,#b0ffe1,var(--mint2) 46%,#0e8463); box-shadow:0 0 60px #3ce9ae38, inset 0 0 24px #d8ffef88; transition:.35s ease; }
.orb-core { width:100%; height:100%; border-radius:inherit; background:radial-gradient(circle at 35% 25%,#e3fff4 0,#65eeb8 12%,#148769 55%,#092c24 100%); }
.orbit { position:absolute; border:1px solid #64f5bd28; border-radius:50%; }
.orbit-one { inset:10px; }.orbit-two { inset:-8px; border-style:dashed; animation:spin 18s linear infinite; }
.orb.listening { transform:scale(1.09); animation:pulse 1s ease-in-out infinite; }.orb.thinking { animation:float 1.4s ease-in-out infinite; }.orb.speaking { box-shadow:0 0 85px #64f5bd80; animation:speak .48s ease-in-out infinite alternate; }.orb.error { filter:saturate(.2) sepia(.4); }
.state-label { margin:0 0 12px; color:var(--mint); font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
h1 { margin:0; font-size:clamp(40px,6vw,68px); line-height:1.04; letter-spacing:-.055em; font-weight:670; }
h1 span { color:#9db5ad; }
.lede { margin:20px 0 28px; color:var(--muted); font-size:17px; }
.duplex-status { display:flex; gap:8px; flex-wrap:wrap; justify-content:center; margin:-12px 0 22px; }
.duplex-status span { padding:6px 10px; border:1px solid #29453c; border-radius:999px; color:#8fb9aa; background:#0a1713; font-size:11px; letter-spacing:.04em; }
.duplex-status span.respond { color:#061f17; border-color:var(--mint); background:var(--mint); }
.controls { display:flex; align-items:center; gap:24px; }
.talk-button { display:flex; align-items:center; gap:10px; min-width:140px; justify-content:center; padding:14px 22px; border:0; border-radius:999px; color:#062118; background:var(--mint); font-weight:750; cursor:pointer; box-shadow:0 12px 30px #37e7aa22; }
.talk-button:disabled { opacity:.45; cursor:not-allowed; }.talk-button svg { width:21px; fill:currentColor; }
.handsfree { display:flex; align-items:center; gap:9px; color:var(--muted); font-size:14px; cursor:pointer; }.handsfree input { position:absolute; opacity:0; }.switch { width:38px; height:22px; padding:3px; border:1px solid #34534a; border-radius:20px; background:#12231e; }.switch::after { content:""; display:block; width:14px; height:14px; border-radius:50%; background:#759087; transition:.2s; }.handsfree input:checked + .switch::after { transform:translateX(16px); background:var(--mint); }
.support-note { min-height:20px; color:#db9d87; font-size:13px; }
.engine-picker { display:flex; align-items:center; justify-content:center; gap:.65rem; margin-top:1rem; color:#8ca59f; font-size:.82rem; }
.engine-picker select { color:#edf8f5; background:rgba(8,24,21,.88); border:1px solid rgba(111,255,211,.22); border-radius:999px; padding:.55rem .9rem; outline:none; }
.engine-picker select:focus { border-color:#68f7c5; box-shadow:0 0 0 3px rgba(96,255,205,.08); }
.device-picker { display:flex; justify-content:center; align-items:end; flex-wrap:wrap; gap:.7rem; margin-top:.8rem; }
.device-picker label { display:grid; gap:.3rem; color:#8ca59f; font-size:.75rem; text-align:left; }
.device-picker select,.device-picker button { color:#edf8f5; background:rgba(8,24,21,.88); border:1px solid rgba(111,255,211,.22); border-radius:10px; padding:.5rem .65rem; max-width:220px; }
.device-picker button { cursor:pointer; border-color:rgba(104,247,197,.5); }
.conversation { border:1px solid var(--line); border-radius:22px; background:#0b1714cc; overflow:hidden; box-shadow:0 18px 60px #0003; }
.conversation-head { display:flex; justify-content:space-between; align-items:center; padding:18px 20px; border-bottom:1px solid var(--line); }.conversation-head h2 { margin:0; font-size:15px; }.conversation-head button { border:0; background:none; color:var(--muted); cursor:pointer; font-size:12px; }
.messages { max-height:330px; min-height:118px; padding:18px 20px; overflow:auto; display:grid; gap:18px; }
.message { display:grid; grid-template-columns:42px 1fr; gap:12px; align-items:start; }.message span { color:var(--muted); font-size:11px; font-weight:750; padding-top:3px; }.message p { margin:0; max-width:760px; line-height:1.65; }.message.user p { color:#cde1da; }.message.pending p::after { content:""; display:inline-block; width:5px; height:15px; margin-left:4px; background:var(--mint); animation:blink .8s steps(1) infinite; vertical-align:-2px; }
.text-form { display:flex; gap:10px; padding:14px; border-top:1px solid var(--line); }.text-form input { flex:1; min-width:0; padding:12px 14px; border:1px solid #27433a; border-radius:12px; outline:0; color:var(--text); background:#08120f; }.text-form input:focus { border-color:#4bc899; }.text-form button { padding:0 18px; border:1px solid #31574b; border-radius:12px; background:#142a23; cursor:pointer; }
footer { display:flex; justify-content:space-between; color:#567168; font-size:10px; letter-spacing:.09em; }
@keyframes spin { to{transform:rotate(360deg)} } @keyframes pulse { 50%{transform:scale(1.18);filter:brightness(1.18)} } @keyframes float { 50%{transform:translateY(-7px)} } @keyframes speak { to{transform:scale(1.08)} } @keyframes blink { 50%{opacity:0} }
@media(max-width:680px){.shell{padding:18px 16px}.hero{min-height:470px}.controls{flex-direction:column;gap:16px}.conversation{border-radius:16px}.message{grid-template-columns:34px 1fr}footer{gap:12px;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
