:root{font-family:Inter,"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;color:#303342;background:#f7f8fb;font-synthesis:none;font-weight:400;--purple:#7765dc;--muted:#989ba9;--line:#edeef3}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #b8aaff;outline-offset:4px}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #b8aaff;outline-offset:2px}button{border:0;background:none}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.topbar{height:84px;display:flex;align-items:center;padding:0 38px;border-bottom:1px solid #e9ebf1;gap:72px;background:#fff}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#292c3b;font-size:22px;font-weight:700;white-space:nowrap}.brand>span:last-child{display:flex;align-items:center}.brand-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:13px;background:#7c6ade;color:white;box-shadow:0 4px 9px #7765dc1a}.brand-mark svg{width:26px;height:26px;fill:currentColor;stroke-width:.7}.brand-caption{font-size:13px;letter-spacing:1px;font-weight:400;color:#888b9a}.brand-divider{height:18px;width:1px;background:#e2e3ec;margin:0 14px}.topbar nav{display:flex;height:100%;gap:34px;align-items:center}.topbar nav button{font-size:13px;color:#9295a3;height:100%;padding:0;position:relative;display:flex;gap:6px;align-items:center}.topbar nav button svg{width:14px;height:14px;transform:rotate(-45deg)}.topbar nav .nav-active{color:#7363d3;font-weight:600}.nav-active:after{content:"";height:3px;border-radius:3px;background:var(--purple);position:absolute;bottom:0;left:16px;right:16px}.top-actions{margin-left:auto;display:flex;align-items:center;gap:24px}.engine{display:flex;align-items:center;gap:7px;font-size:11px;color:#8a8e9e;white-space:nowrap}.engine i,.live-badge i,.online-dot,.chat-title-dot{width:6px;height:6px;background:#75b9a6;border-radius:50%;display:inline-block}.icon-button{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;color:#8a8e9f}.icon-button:hover{background:#f0eef9;color:var(--purple)}.workspace{display:flex;min-height:calc(100dvh - 84px)}.rail{width:76px;border-right:1px solid #e9ebf1;display:flex;flex-direction:column;align-items:center;gap:17px;padding:28px 0 24px;flex-shrink:0;background:#fcfcfe}.rail-button{width:40px;height:40px;border-radius:12px;color:#a1a4b4;display:grid;place-items:center}.rail-button:hover{background:#f1eff9;color:var(--purple)}.rail-button.selected{background:#eeebfc;color:var(--purple)}.rail-spacer{flex:1;min-height:80px}.user-avatar{width:32px;height:32px;background:#e9e6f5;color:#8d80b6;border:3px solid #fff;box-shadow:0 0 0 1px #eeecf5;border-radius:50%;display:grid;place-items:center;font-size:11px;margin-top:8px}.experience{padding:25px 34px 15px;min-width:0;flex:1;max-width:1700px;margin:0 auto}.section-label{display:flex;align-items:center;gap:18px;margin-bottom:20px;font-size:14px;font-weight:600}.small-muted{font-size:11px;color:#a2a5b2;font-weight:400;letter-spacing:.4px}.studio{display:grid;grid-template-columns:minmax(400px,1fr) 397px;min-height:670px;height:calc(100dvh - 190px);max-height:1000px;border:1px solid #e9eaf1;border-radius:20px;overflow:hidden;background:white;box-shadow:0 6px 26px #3d406004}.stage{position:relative;overflow:hidden;background:radial-gradient(ellipse at 57% 44%,#e7f2fc88 0,transparent 51%),linear-gradient(135deg,#f2f5fc,#f8f9fe 55%,#f2f1fb);isolation:isolate}.stage-intro{position:absolute;left:38px;top:37px;z-index:3;pointer-events:none}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:600;color:#9398ae;display:flex;align-items:center;gap:7px}.eyebrow>span{width:5px;height:5px;background:#9c8cdd;border-radius:50%}h1{font-size:38px;font-weight:600;letter-spacing:1px;line-height:1.45;margin:18px 0 12px;color:#333749}h1 span{color:#7d6dc1}.stage-intro p{font-size:11px;color:#9ba0b1;letter-spacing:1px}.stage-top-controls{position:absolute;right:24px;top:24px;display:flex;gap:10px;align-items:center;z-index:4}.live-badge{background:#ffffffc7;border:1px solid #fff;display:flex;gap:6px;align-items:center;font-size:10px;padding:7px 11px;border-radius:6px;color:#8c94a6}.orbital{border:1px solid #dbe3f066;position:absolute;left:50%;top:53%;border-radius:50%;z-index:-1;transform:translate(-50%,-50%)}.orbital-one{width:600px;height:600px}.orbital-two{width:430px;height:430px;border-style:dashed;border-color:#dae2f064}.orbital-dot{position:absolute;background:#c6b9ef;width:6px;height:6px;border:3px solid #f5f5fd;box-sizing:content-box;border-radius:50%;z-index:-1}.dot-one{left:18%;top:43%}.dot-two{right:10%;top:64%;background:#b2d7ea}.floating-note{position:absolute;right:30px;top:29%;font-size:11px;padding:12px 16px;border:1px solid #fff;border-radius:12px 12px 12px 2px;background:#ffffffb0;box-shadow:0 4px 15px #b2b9d20b;transform:rotate(3deg);z-index:3;color:#8d8ca7;animation:noteFloat 6s ease-in-out infinite}.note-spark{color:#ad99d8;font-size:17px;margin-right:8px}.robot-position{position:absolute;width:min(67%,410px);aspect-ratio:2/3;left:51%;bottom:84px;transform:translateX(-50%);z-index:2}.robot{position:absolute;inset:0;transform-origin:50% 95%;filter:drop-shadow(0 15px 18px #6370b019)}.robot img{position:absolute;width:100%;height:100%;object-fit:contain;user-select:none;pointer-events:none}.robot[data-mode="speaking"] .robot[data-mode="speaking"] .robot[data-mode="listening"] .robot[data-mode="thinking"] .floor-glow{position:absolute;bottom:-4%;left:4%;width:92%;height:10%;background:radial-gradient(ellipse,#aab9d047,transparent 69%);filter:blur(4px)}.stage-caption{position:absolute;bottom:46px;text-align:center;left:0;right:0}.name-label{font-size:16px;letter-spacing:2px;font-weight:600;display:flex;gap:7px;align-items:center;justify-content:center}.name-label span{font-size:8px;background:#e8e2f7;color:#9a8cc2;border:1px solid #dbd4ec;letter-spacing:0;border-radius:4px;padding:1px 4px;font-weight:500}.stage-caption>span{display:block;font-size:10px;color:#a3a7b7;letter-spacing:.6px;margin-top:7px}.stage-bottom{position:absolute;bottom:14px;left:25px;right:25px;display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:.7px;color:#a2a8ba}.stage-bottom>span:first-child{display:flex;align-items:center;gap:6px}.stage-bottom>span:nth-child(2){margin-left:8px}.online-dot{width:4px;height:4px}.stage-index{font-size:8px;color:#b4b8c6;font-variant-numeric:tabular-nums}.conversation{display:flex;flex-direction:column;background:#fff;min-height:0;border-left:1px solid #e9eaf1}.chat-heading{display:flex;align-items:center;justify-content:space-between;padding:25px 25px 20px;border-bottom:1px solid #f1f2f6}.chat-heading h2{font-size:17px;margin:0;font-weight:600;display:flex;align-items:center;gap:8px}.chat-title-dot{width:5px;height:5px}.chat-heading p{font-size:10px;color:#a3a5b2;margin:8px 0 0;letter-spacing:.3px}.chat-heading .icon-button svg{width:18px;height:18px}.chat-heading .muted{opacity:.45;text-decoration:line-through;background:#f3f3f7}.messages{padding:24px 24px 10px;flex:1;overflow:auto;scroll-behavior:smooth;min-height:180px;scrollbar-width:thin;scrollbar-color:#e0ddeb transparent}.message{display:flex;align-items:flex-start;gap:9px;margin-bottom:21px}.message-avatar{width:28px;height:28px;border-radius:9px;background:#efecfa;color:#9180d2;display:grid;place-items:center;flex-shrink:0}.message-avatar svg{width:16px;height:16px;fill:currentColor;stroke-width:.6}.message-meta{font-size:10px;font-weight:500;color:#747889;display:flex;align-items:center;gap:8px;padding:1px 0 9px}.message-meta span{font-size:9px;font-weight:400;color:#b2b4be}.message-content{min-width:0;flex:1}.bubble{background:#f6f7fa;font-size:12px;line-height:1.95;padding:13px 15px;border-radius:0 12px 12px 12px;overflow-wrap:anywhere;white-space:pre-wrap;color:#73798a}.wave-hand{font-size:14px;display:inline-block;transform:rotate(12deg)}.message.user{padding-left:30px;justify-content:flex-end}.message.user .bubble{background:#f0edfc;color:#736597;border-radius:12px 0 12px 12px;max-width:95%}.message.error .bubble{background:#fff5ef;color:#ab7251}.message-actions{margin-top:5px;display:flex;gap:8px}.message-actions button{font-size:10px;color:#a29ab6;padding:3px 0}.message-actions button:hover{color:var(--purple)}.suggestions{margin:22px 0 10px 37px}.suggestions>p{font-size:10px;color:#aaaeba;margin:0 0 12px}.suggestions>button{width:100%;border:1px solid #edecf3;background:#fff;border-radius:9px;display:flex;align-items:center;gap:9px;padding:9px 10px;margin-bottom:9px;font-size:11px;text-align:left;color:#828596;transition:.2s}.suggestions>button:hover{transform:translateX(3px);border-color:#d6ceef;background:#fcfbff}.suggestion-icon{width:27px;height:27px;border-radius:7px;display:grid;place-items:center}.suggestion-icon svg{width:15px;height:15px}.purple{background:#f3effd;color:#aa91d9}.blue{background:#edf4fd;color:#88addc}.green{background:#edf7f4;color:#8dbbac}.suggestion-arrow{width:13px;height:13px;margin-left:auto;color:#b4b4c0}.voice-area{text-align:center;padding:15px 20px 10px;background:linear-gradient(0deg,#fcfbff,#fff)}.voice-caption{font-size:11px;line-height:1.5;color:#a4a0b5;min-height:17px;max-height:46px;overflow:auto}.voice-control{display:flex;align-items:center;justify-content:center;gap:23px;margin:15px 0 12px}.mic-button{width:64px;height:64px;background:linear-gradient(145deg,#9684e7,#7562d9);border-radius:50%;display:grid;place-items:center;color:#fff;box-shadow:0 0 0 7px #f6f3fe,0 5px 13px #8a73d738;transition:.2s;flex-shrink:0}.mic-button:hover{transform:scale(1.05);box-shadow:0 0 0 9px #f2edff,0 5px 16px #8a73d74d}.mic-button svg{width:25px;height:25px;stroke-width:1.6}.stop-square{display:none;width:17px;height:17px;background:white;border-radius:4px}body[data-state="listening"] .mic-button{animation:micPulse 2s ease-in-out infinite}body[data-state="thinking"] .mic-button svg,body[data-state="speaking"] .mic-button svg{display:none}body[data-state="thinking"] .stop-square,body[data-state="speaking"] .stop-square{display:block}.waveform{display:flex;align-items:center;justify-content:center;gap:4px;width:49px;height:30px}.waveform i{width:2px;height:6px;border-radius:3px;background:#d4c9f2;transition:height .2s}.waveform i:nth-child(2),.waveform i:nth-child(6){height:11px}.waveform i:nth-child(3),.waveform i:nth-child(5){height:18px}.waveform i:nth-child(4){height:25px}.waveform.right{transform:scaleX(-1)}body[data-state="speaking"] .waveform i,body[data-state="listening"] .waveform i{animation:wave .8s ease-in-out infinite alternate}.waveform i:nth-child(2n){animation-delay:-.2s!important}.waveform i:nth-child(3n){animation-delay:-.5s!important}.voice-label{font-size:12px;color:#8f80bd;padding:3px;font-weight:500}.voice-hint{font-size:9px;color:#b2adbf;margin-top:7px;letter-spacing:.2px}.interrupt-button{font-size:11px;color:var(--purple);border:1px solid #e4ddf8;border-radius:8px;padding:5px 10px;margin:0 0 0 8px}.composer-area{padding:7px 24px 15px}.input-divider{position:relative;text-align:center;font-size:9px;color:#bab9c5;margin:7px 0 13px}.input-divider:before{content:"";height:1px;background:#f1eff6;position:absolute;left:0;right:0;top:50%}.input-divider span{position:relative;background:white;padding:0 11px}.composer{display:flex;align-items:center;border:1px solid #e9e6f1;padding:6px 7px 6px 12px;border-radius:10px;gap:7px;background:#fdfcfe}.composer:focus-within{border-color:#b7a8e6;box-shadow:0 0 0 3px #f8f5ff}.composer textarea{border:0;resize:none;background:transparent;outline:none;font-size:11px;line-height:21px;min-height:25px;max-height:80px;width:100%;padding:2px 0;color:#6b6584}.composer textarea::placeholder{color:#b2adbf}.composer button{background:#eae4f9;width:29px;height:29px;border-radius:8px;color:#a391cd;display:grid;place-items:center;flex-shrink:0}.composer button:hover{background:var(--purple);color:#fff}.composer button svg{width:16px;height:16px}.composer-footnote{text-align:center;font-size:8px;color:#c0bccb;margin-top:10px;letter-spacing:.2px}.workspace-footer{display:flex;align-items:center;justify-content:space-between;margin-top:15px;font-size:10px;color:#a5a7b4;letter-spacing:.3px}.workspace-footer>span{display:flex;align-items:center;gap:6px}.workspace-footer svg{width:12px;height:12px;color:#aaa3c3}.workspace-footer button{font-size:10px;color:#aaa5b9;display:flex;align-items:center;gap:6px}.workspace-footer button i{width:5px;height:5px;border-radius:50%;background:#c9bfde}.workspace-footer button.connected i{background:#83baa6}.workspace-footer button.connected{color:#9aa8a1}.toast{position:fixed;z-index:20;left:50%;bottom:28px;transform:translateX(-50%);background:#363244;color:#fff;padding:12px 20px;border-radius:12px;font-size:12px;max-width:90vw;box-shadow:0 8px 24px #30224526}.toast[hidden]{display:none}dialog{border:1px solid #eeebf5;border-radius:22px;padding:0;color:#464154;width:500px;max-width:calc(100vw - 30px);box-shadow:0 20px 100px #24203622;max-height:90dvh}dialog::backdrop{background:#34304a44;backdrop-filter:blur(6px)}.dialog-shell{padding:30px}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.dialog-heading h2{font-size:22px;line-height:1.5;margin:9px 0 0;font-weight:600}.dialog-description{font-size:12px;color:#a09aaf;margin:12px 0 24px}.dialog-shell label{display:block;font-size:12px;color:#787187;margin-bottom:8px}.dialog-shell input[type="password"],.dialog-shell input[type="text"],.dialog-shell select{width:100%;border:1px solid #e4dfed;border-radius:9px;height:40px;background:#fdfcfe;padding:0 12px;font-size:12px;color:#777084}.key-field{position:relative}.key-field input{padding-right:55px!important}.key-field button{position:absolute;right:10px;top:0;height:40px;color:#9689b5;font-size:11px}.field-hint{font-size:10px;line-height:1.8;color:#a9a2b6;margin:8px 0 12px}.checkbox-label{display:flex!important;align-items:center;gap:7px;font-size:11px!important;margin:15px 0!important}.checkbox-label input{accent-color:var(--purple);margin:0}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:23px 0 20px}.two-fields input[type="range"]{width:100%;accent-color:var(--purple);height:29px}.two-fields label span{float:right;font-size:10px;color:#a595c3}.connection-test{display:flex;align-items:center;gap:12px;padding-top:12px}.secondary-button{border:1px solid #ded6f0;font-size:11px;border-radius:8px;padding:9px 13px;color:#8b7ca7}.connection-test>span{font-size:11px;line-height:1.6;color:#a39aaf}.dialog-actions{display:flex;align-items:center;justify-content:space-between;margin-top:25px;padding-top:20px;border-top:1px solid #f0edf5}.primary-button{display:flex;align-items:center;justify-content:center;gap:10px;background:var(--purple);color:white;border-radius:9px;padding:11px 17px;font-size:12px}.primary-button:hover{background:#6855cf}.primary-button svg{width:16px;height:16px}.text-button{font-size:11px;color:#a79daf}.guide-steps{list-style:none;padding:0;margin:26px 0}.guide-steps li{display:flex;gap:15px;margin-bottom:22px}.guide-steps li>span{color:#afa0d4;background:#f2eefb;border-radius:9px;width:31px;height:31px;display:grid;place-items:center;font-size:11px;flex-shrink:0}.guide-steps h3{font-size:13px;font-weight:500;margin:2px 0 7px}.guide-steps p,.guide-note{font-size:11px;line-height:1.9;color:#a39bac;margin:0}.guide-note{background:#f7f5fb;padding:13px;border-radius:10px}.guide-done{width:100%;margin-top:20px}.thinking-dots{display:flex;align-items:center;gap:4px;height:22px}.thinking-dots i{height:5px;width:5px;background:#b2a6cf;border-radius:50%;animation:thinking 1s infinite alternate}.thinking-dots i:nth-child(2){animation-delay:.2s}.thinking-dots i:nth-child(3){animation-delay:.4s}.studio:fullscreen{width:100vw;height:100dvh;max-height:none;border:0;border-radius:0;background:white}.studio:fullscreen .robot-position{width:min(70%,480px)}
@keyframes noteFloat{0%,100%{transform:rotate(3deg) translateY(0)}50%{transform:rotate(1deg) translateY(-6px)}}@keyframes wave{0%{transform:scaleY(.4)}100%{transform:scaleY(1.15)}}@keyframes micPulse{0%,100%{box-shadow:0 0 0 7px #f4efff,0 0 0 7px #e5dcff00}50%{box-shadow:0 0 0 9px #f4efff,0 0 0 17px #e5dcff44}}@keyframes thinking{from{opacity:.25;transform:translateY(0)}to{opacity:1;transform:translateY(-3px)}}
@media(min-width:1450px){.experience{padding:28px 45px 18px}.studio{grid-template-columns:minmax(450px,1fr) 430px}.stage-intro{left:46px;top:46px}.robot-position{width:min(65%,455px);bottom:92px}.chat-heading{padding:28px 30px 23px}.messages{padding:27px 30px 10px}.voice-area{padding-bottom:17px}.composer-area{padding:7px 30px 20px}.bubble{font-size:13px}.suggestions>button{font-size:12px;padding:11px}.stage-intro h1{font-size:44px}}
@media(max-height:840px) and (min-width:1000px){.studio{min-height:590px}.robot-position{width:350px;bottom:76px}.stage-intro h1{font-size:32px}.stage-intro{left:30px;top:28px}.stage-intro p{font-size:10px}.floating-note{top:31%;right:20px}.suggestions{margin-top:15px}.messages{padding-top:20px}.voice-area{padding-top:8px}.voice-control{margin:10px 0}.mic-button{width:56px;height:56px}}
@media(max-width:1100px){.topbar{gap:40px;padding:0 24px}.experience{padding:22px}.studio{grid-template-columns:minmax(330px,1fr) 360px}.stage-intro{left:26px}.stage-intro h1{font-size:32px}.floating-note{display:none}.robot-position{width:90%;max-width:360px;left:50%}.stage-top-controls{right:16px;top:20px}.stage-top-controls .live-badge{display:none}.chat-heading{padding:23px 20px}.messages{padding:22px 20px 10px}.suggestions{margin-left:0}.rail{width:64px}}
@media(max-width:800px){.topbar{height:68px;padding:0 20px}.topbar nav,.engine,.brand-divider,.brand-caption{display:none}.top-actions{gap:5px}.brand{font-size:20px}.brand-mark{width:32px;height:32px;border-radius:10px}.rail{display:none}.experience{padding:18px 16px 16px}.section-label{margin-bottom:15px}.studio{grid-template-columns:minmax(240px,1fr) minmax(300px,1fr);height:700px;min-height:600px}.stage-intro{left:22px;top:28px}.stage-intro h1{font-size:29px}.stage-intro p{max-width:140px;line-height:1.8}.stage-intro .eyebrow{font-size:7px}.stage-bottom>span:nth-child(2),.stage-index{display:none}.robot-position{width:115%;max-width:360px;bottom:115px}.stage-caption{bottom:65px}.conversation{min-height:0}.chat-heading h2{font-size:15px}.chat-heading p{font-size:9px}.chat-heading{padding:22px 17px}.messages{padding:20px 16px 10px}.bubble{font-size:11px}.composer-area{padding:7px 16px 14px}.message-avatar{width:24px;height:24px}.message{gap:7px}}
@media(max-width:600px){.section-label .small-muted{display:none}.studio{display:flex;flex-direction:column;height:auto;overflow:visible}.stage{min-height:420px;border-radius:19px 19px 0 0}.stage-intro{left:24px;top:25px}.stage-intro h1{font-size:27px}.stage-intro p{display:none}.stage-top-controls .live-badge{display:flex}.stage-top-controls{top:18px}.robot-position{width:245px;height:368px;bottom:29px;left:60%}.stage-caption{left:24px;bottom:45px;text-align:left;right:auto}.name-label{justify-content:flex-start;font-size:14px}.stage-caption>span{font-size:8px}.stage-bottom{bottom:13px}.orbital-one{width:370px;height:370px}.orbital-two{width:280px;height:280px}.conversation{border-left:0;border-top:1px solid #ededf5;min-height:620px;border-radius:0 0 19px 19px}.messages{min-height:210px;max-height:390px}.chat-heading{padding:21px}.suggestions{margin-left:31px}.voice-area{padding:14px}.composer-area{padding:7px 21px 16px}.workspace-footer{font-size:8px;gap:10px}.workspace-footer button{font-size:9px}.workspace-footer>span{max-width:67%}.dialog-shell{padding:24px}.dialog-heading h2{font-size:20px}.studio:fullscreen{overflow-y:auto}.studio:fullscreen .robot-position{width:245px}.studio:fullscreen .conversation{flex:1}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important}.robot,.robot-head,.floating-note{animation:none!important}.mic-button,.thinking-dots i,.waveform i{animation:none!important}}

@media(max-height:840px) and (min-width:801px){.topbar{height:72px}.workspace{min-height:calc(100dvh - 72px)}.experience{padding-top:19px;padding-bottom:12px}.section-label{margin-bottom:16px}.studio{min-height:530px;height:calc(100dvh - 165px)}.robot-position{width:300px;bottom:74px}.stage-intro h1{font-size:30px}.stage-intro{top:27px}.chat-heading{padding:19px 23px 16px}.chat-heading h2{font-size:16px}.chat-heading p{margin-top:6px}.messages{padding:17px 21px 6px}.message{margin-bottom:14px}.bubble{padding:10px 12px;font-size:11px;line-height:1.85}.message-meta{padding-bottom:7px}.suggestions{margin:13px 0 4px 37px}.suggestions>p{margin-bottom:8px;font-size:9px}.suggestions>button{padding:6px 8px;margin-bottom:7px;font-size:10px}.suggestion-icon{width:22px;height:22px}.voice-area{padding:8px 18px}.voice-caption{font-size:10px}.voice-control{margin:9px 0 7px;gap:21px}.mic-button{width:51px;height:51px}.mic-button svg{width:22px;height:22px}.voice-label{font-size:11px}.voice-hint{margin-top:4px;font-size:8px}.composer-area{padding:3px 21px 12px}.input-divider{margin:6px 0 10px}.composer-footnote{margin-top:8px}.workspace-footer{margin-top:12px}}

@media(min-width:601px) and (max-width:800px){.robot-position{width:300px;max-width:92%;bottom:105px}.stage-intro p{font-size:10px;max-width:none}.stage-intro h1{font-size:27px;margin-top:15px}.stage-caption{bottom:59px}}

/* Performance-driven face: eye saccades lead the damped head motion. */
.robot.natural-avatar{animation:none;transform:none;filter:drop-shadow(0 15px 18px #6370b019)}
.natural-avatar canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:0}
.natural-avatar.avatar-ready canvas{opacity:1}
.natural-avatar.avatar-ready .robot-fallback{visibility:hidden}
.greet-button{position:absolute;left:28px;bottom:53px;z-index:4;display:flex;align-items:center;gap:6px;padding:8px 11px;border:1px solid #ded9ed;border-radius:9px;background:#ffffffa8;color:#9485af;font-size:10px;transition:background .2s}
.greet-button:hover{background:white;color:#7560aa}
.greet-button svg{width:13px;height:13px}
@media(max-width:1100px){.greet-button{left:18px;bottom:100px}}
@media(min-width:601px) and (max-width:800px){.greet-button{bottom:45px;left:20px;padding:7px;font-size:9px}}
@media(max-width:600px){.greet-button{left:24px;bottom:105px}}

/* Focus the workspace on the character and conversation. Keep bound controls
   in the DOM so the voice and settings handlers can still initialize. */
.topbar,
.rail,
.section-label,
.stage-intro,
.stage-top-controls,
.floating-note,
.greet-button,
.stage-caption,
.stage-bottom,
.workspace-footer > span {
  display: none;
}
.workspace { min-height: 100dvh; }
.experience { max-width: none; padding: 18px 22px 12px; }
.studio {
  grid-template-columns: minmax(0, 1fr) clamp(360px, 31vw, 480px);
  height: calc(100dvh - 66px);
  min-height: 560px;
  max-height: none;
}
.robot-position {
  width: min(72%, calc((100dvh - 118px) * 2 / 3), 600px);
  height: auto;
  max-width: none;
  left: 50%;
  top: 50%;
  bottom: auto;
  transform: translate(-50%, -50%);
}
.floor-glow {
  position: absolute;
  bottom: -4%;
  left: 4%;
  width: 92%;
  height: 10%;
  background: radial-gradient(ellipse, #aab9d047, transparent 69%);
  filter: blur(4px);
}
.workspace-footer { justify-content: flex-end; margin-top: 8px; line-height: 16px; }
.workspace-footer button { padding: 0; }
@media (min-width: 601px) and (max-width: 900px) {
  .experience { padding: 14px 14px 12px; }
  .studio { grid-template-columns: minmax(0, 1fr) minmax(300px, 44%); height: calc(100dvh - 62px); }
}
@media (max-width: 600px) {
  .experience { padding: 12px; }
  .studio { height: auto; min-height: 0; }
  .stage { min-height: 440px; }
  .robot-position { width: min(78%, 270px); }
}

.chat-heading-actions { display: flex; align-items: center; gap: 3px; flex-shrink: 0; }
.fullscreen-toggle .exit-fullscreen,
.fullscreen-toggle[aria-pressed="true"] .enter-fullscreen { display: none; }
.fullscreen-toggle[aria-pressed="true"] .exit-fullscreen { display: block; }
.chat-heading { gap: 8px; }
.conversation[hidden], .minimized-controls[hidden] { display: none; }
.studio.chat-minimized { grid-template-columns: minmax(0, 1fr); }
.minimized-controls {
  max-width: calc(100% - 28px); flex-wrap: wrap;
  position: absolute; top: 20px; right: 20px; z-index: 5;
  display: flex; align-items: center; gap: 8px;
  padding: 5px; border: 1px solid #e5e1f0; border-radius: 13px;
  background: #fffffff0; box-shadow: 0 4px 16px #7267920a;
}
.restore-chat { display: flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 8px; color: #80709e; font-size: 12px; }
.restore-chat:hover { background: #f3effa; }
.restore-chat svg { width: 18px; height: 18px; }
.mini-mic { background: #f1ecfc; color: var(--purple); }
.mini-mic.is-active svg { display: none; }
.mini-mic.is-active .stop-square { display: block; width: 12px; height: 12px; background: currentColor; border-radius: 3px; }
@media (max-width: 600px) {
  .studio.chat-minimized .stage { min-height: max(440px, calc(100dvh - 60px)); border-radius: 19px; }
  .minimized-controls { top: 14px; right: 14px; }
}

.mini-voice-status { font-size: 10px; color: #9690a7; white-space: nowrap; }
body[data-state="listening"] .mini-voice-status { color: #5b9f8c; }
body[data-state="starting"] .mic-button { box-shadow: 0 0 0 7px #f6f3fe; }

/* Exhibition voice settings keep the labels readable in the compact dialog. */
#settingsDialog .checkbox-label { align-items: flex-start; line-height: 1.7; }
#settingsDialog .checkbox-label input { flex-shrink: 0; margin-top: 3px; }
#settingsDialog .idle-greeting-hint { margin-top: -8px; }
#settingsDialog .two-fields label span { font-variant-numeric: tabular-nums; }

/* Keep the compact interface readable without changing its pale visual theme. */
.chat-heading > div:first-child { min-width: 0; }
.chat-heading h2, .chat-heading p, .voice-caption, .voice-hint, .suggestions > button { overflow-wrap: anywhere; }
.bubble { color: #626b7d; }
.chat-heading p, .voice-caption, .voice-hint, .suggestions > p, .message-meta span,
.composer-footnote, .input-divider, .dialog-description, .field-hint, .guide-steps p, .guide-note,
.connection-test > span { color: #747080; }
.voice-label, .workspace-footer button, .workspace-footer button.connected,
.message-actions button, .text-button, .mini-voice-status { color: #74628e; }
.composer textarea::placeholder { color: #797184; }
.two-fields label span { color: #79638f; }

/* A quiet, always-available camera control remains outside the chat panel. */
.workspace-footer { align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.workspace-footer .camera-control {
  min-height: 28px; padding: 5px 9px; gap: 6px;
  border: 1px solid #e4deef; border-radius: 8px; background: #fcfbff;
  color: #665477; line-height: 16px; white-space: nowrap;
}
.workspace-footer .camera-control:hover { border-color: #c7b8e4; background: #f3effa; }
.workspace-footer .camera-control > svg { width: 14px; height: 14px; color: currentColor; }
.camera-indicator { display: inline-flex; align-items: center; gap: 4px; color: #726b7e; font-size: 9px; }
.camera-indicator::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #a8a0b5; flex-shrink: 0; }
.camera-control[aria-pressed="true"] { border-color: #bedacf; background: #f4faf7; }
.camera-control[aria-pressed="true"] .camera-indicator { color: #3d715c; }
.camera-control[aria-pressed="true"] .camera-indicator::before { background: #53967a; }
.camera-control[data-state="error"] .camera-indicator { color: #9a503a; }
.camera-control[data-state="error"] .camera-indicator::before { background: #b7674e; }
.camera-settings { min-width: 0; margin: 20px 0 16px; padding: 14px 16px 16px; border: 1px solid #e7e1f0; border-radius: 12px; background: #fcfbfe; }
.camera-settings legend { padding: 0 6px; font-size: 12px; font-weight: 500; color: #645675; }
.camera-settings legend svg { width: 15px; height: 15px; margin-right: 4px; vertical-align: -3px; }
#settingsDialog .camera-settings > .checkbox-label { margin-top: 0 !important; margin-bottom: 8px !important; }
.camera-settings .field-hint { margin: 7px 0 13px; }
.camera-start-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.camera-start-row button { flex-shrink: 0; background: #fff; }
.camera-status { flex: 1; min-width: 120px; color: #6b6279; font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .workspace-footer { gap: 8px 12px; }
  .workspace-footer .camera-control { font-size: 10px; }
  .camera-settings { padding: 12px; }
}

/* Small text still needs readable contrast in suggestions, errors and mini mode. */
.suggestions > button { color: #646c7e; }
.secondary-button, .restore-chat { color: #74628e; }
.message.error .bubble { color: #915d40; }
body[data-state="listening"] .mini-voice-status { color: #3e7864; }
