:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#07121e;color:#e9faf7}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 50% 0%,#142c39 0%,#081521 52%,#06101a 100%)}
.shell{max-width:1180px;margin:auto;padding:20px 24px 40px}.topbar{display:flex;align-items:center;justify-content:space-between;max-width:1100px;margin:0 auto 16px}.brand{font-weight:800;font-size:20px;letter-spacing:-.04em;display:flex;align-items:center;gap:9px}.brand small{font-size:9px;letter-spacing:.16em;color:#7ccbbc;vertical-align:middle}.brand-mark{color:#80efcc;font-size:27px}.connection{font-size:12px;color:#8ba6aa;display:flex;align-items:center;gap:7px}.connection i{width:7px;height:7px;border-radius:50%;background:#6a8890}.connection.online i{background:#73efba;box-shadow:0 0 10px #73efba}
.stage{position:relative;min-height:480px;border:1px solid #1c3945;background:linear-gradient(145deg,rgba(11,31,43,.95),rgba(5,18,29,.94));border-radius:28px;display:flex;align-items:center;flex-direction:column;justify-content:center;overflow:hidden;padding:30px 24px 25px;box-shadow:0 30px 80px #0005}
.stage:before,.stage:after{content:"";position:absolute;border-radius:50%;pointer-events:none}.stage:before{width:450px;height:450px;background:radial-gradient(circle,#49d9bc17,transparent 66%);top:-80px}.stage:after{width:220px;height:220px;background:radial-gradient(circle,#44bddb0c,transparent 70%);bottom:-100px;right:5%}.stars{position:absolute;inset:0;opacity:.35;background-image:radial-gradient(#65acb0 1px,transparent 1px),radial-gradient(#72cbbc 1px,transparent 1px);background-size:83px 79px,131px 103px;background-position:9px 4px,54px 40px;pointer-events:none}
.avatar-wrap{position:relative;width:212px;height:230px;display:flex;justify-content:center;align-items:center}.avatar{position:relative;width:180px;height:174px;animation:float 3.4s ease-in-out infinite;z-index:2}.avatar-shadow{position:absolute;bottom:0;width:146px;height:18px;border-radius:50%;background:#050e17;filter:blur(8px);opacity:.8}.antenna{position:absolute;width:9px;height:27px;background:#75c5bf;left:86px;top:-25px;border-radius:4px;z-index:-1}.antenna span{position:absolute;top:-11px;left:-5px;width:19px;height:19px;border-radius:50%;background:#9af8d9;box-shadow:0 0 22px #68f5c888}.ears{position:absolute;width:18px;height:75px;top:46px;background:#436576;border-radius:9px}.left-ear{left:-11px}.right-ear{right:-11px}.face-frame{position:absolute;inset:0;border:9px solid #92efe0;border-radius:35px;background:#75c8c3;box-shadow:0 15px 0 #316a77,0 20px 25px #0005,inset 0 2px 3px #effff9}.face-glass{position:absolute;inset:8px;border-radius:21px;background:linear-gradient(155deg,#17394c,#0b2233);box-shadow:inset 0 3px 10px #06121b}.eyes{display:flex;position:absolute;left:21px;right:21px;top:38px;justify-content:space-between}.eye{width:31px;height:27px;background:#a7ffdd;border-radius:8px;box-shadow:0 0 15px #78f2c64a;animation:blink 5s infinite}.eye:after{content:"";display:block;width:7px;height:7px;background:#ecfff7;border-radius:2px;position:relative;left:18px;top:3px}.cheek{position:absolute;top:79px;width:11px;height:5px;background:#408d97;border-radius:3px}.left-cheek{left:13px}.right-cheek{right:13px}.mouth{position:absolute;left:50%;top:90px;transform:translateX(-50%);width:43px;height:8px;background:#9bf5d7;border-radius:2px 2px 8px 8px;transition:height .12s}.avatar.speaking .mouth{animation:talk .27s ease-in-out infinite alternate}.avatar.thinking .eye{animation:wonder .8s ease-in-out infinite alternate}.avatar.error .eye{height:9px;transform:rotate(7deg)}
.state-chip{z-index:1;color:#8de7cb;font-size:10px;font-weight:800;letter-spacing:.17em;padding:7px 11px;border:1px solid #32665e;border-radius:50px;background:#102d31;margin-top:8px}.caption{z-index:1;font-size:clamp(20px,3.2vw,30px);font-weight:720;letter-spacing:-.035em;text-align:center;max-width:850px;margin:15px 0 0;line-height:1.25}.subcaption{z-index:1;font-size:12px;color:#78969d;margin:10px 0 0;text-align:center}
.phone-panel{max-width:680px;margin:28px auto 0;padding:0 4px}.eyebrow{color:#83d0bd;letter-spacing:.14em;font-size:10px;font-weight:800}.panel-heading h1{font-size:24px;letter-spacing:-.04em;margin:5px 0 12px}.notice{font-size:13px;color:#99b8b9;line-height:1.4;min-height:18px}.notice.error{color:#ffc1a9}.listen{width:100%;border:0;border-radius:15px;background:#91efcb;color:#08231f;padding:16px;font-weight:800;font-size:16px;cursor:pointer}.listen.active{background:#f2bc94}.listen:disabled{opacity:.6;cursor:not-allowed}.mic-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;font-size:13px;margin-right:8px;border:1px solid #286d60;border-radius:50%}.hint{font-size:12px;color:#809da1;text-align:center}.text-form{display:flex;gap:9px;margin-top:22px}.text-form input,.copy-row input{width:100%;background:#102432;border:1px solid #31505b;color:#e5fbf2;border-radius:12px;padding:14px;font:inherit}.text-form button,.copy-row button{border:0;border-radius:12px;background:#284d53;color:#e2fff6;padding:0 18px;font-size:18px;cursor:pointer}.details{margin:22px 0;padding:17px;border:1px solid #24404c;border-radius:15px;color:#a5c4c4;font-size:13px;line-height:1.5}.details summary{color:#d8f4e9;cursor:pointer;font-weight:700}.copy-row{display:flex;gap:7px}.copy-row input{font-size:12px}.copy-row button{font-size:12px}.disclosure{font-size:11px;line-height:1.5;color:#698990}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.tv .shell{max-width:none;padding:2vh 4vw}body.tv .phone-panel{display:none}body.tv .stage{height:86vh;min-height:400px}body.tv .avatar-wrap{transform:scale(1.45);margin-bottom:50px}body.tv .caption{font-size:clamp(24px,3.3vw,48px)}body.tv .subcaption{font-size:16px}
@keyframes float{50%{transform:translateY(-7px)}}@keyframes blink{0%,45%,48%,100%{transform:scaleY(1)}46%,47%{transform:scaleY(.1)}}@keyframes talk{0%{height:6px;width:43px}100%{height:24px;width:35px;border-radius:6px 6px 14px 14px}}@keyframes wonder{to{transform:translateY(-5px)}}
@media(max-width:640px){.shell{padding:14px 14px 32px}.topbar{margin-bottom:12px}.stage{min-height:345px;padding:20px 15px}.avatar-wrap{transform:scale(.78);margin:-22px 0 -18px}.phone-panel{margin-top:21px}.panel-heading h1{font-size:21px}.caption{font-size:20px}}
@media(prefers-reduced-motion:reduce){.avatar,.eye,.mouth{animation:none!important}}
.intro{color:#a6c5c2;font-size:14px;line-height:1.5}.subject-label{display:block;color:#b8d5cf;font-size:12px;font-weight:700;margin:18px 0 7px}.subject{width:100%;background:#102432;color:#e5fbf2;border:1px solid #31505b;border-radius:12px;padding:12px;font:inherit}.suggestions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.suggestions button{border:1px solid #35665f;border-radius:999px;background:#14332f;color:#c5f4df;padding:9px 13px;cursor:pointer;font:inherit;font-size:12px}.conversation{display:flex;flex-direction:column;gap:12px}.conversation:empty{display:none}.bubble{border-radius:16px;padding:14px 16px;max-width:95%;font-size:14px;line-height:1.55}.bubble strong{font-size:11px;color:#8de7cb}.bubble p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 0}.bubble.user{align-self:flex-end;background:#254b49}.bubble.assistant{align-self:flex-start;background:#102b38;border:1px solid #254852}.text-form button:disabled{opacity:.5;cursor:wait}

body:not(.tv) .stage{min-height:260px;padding:20px}body:not(.tv) .stage .caption{font-size:16px;max-height:3em;overflow:hidden}body:not(.tv) .stage .avatar-wrap{transform:scale(.7);margin:-26px 0 -30px}
