:root{color:#eef5f6;font-family:Nunito,sans-serif;font-synthesis:none;--composer-height:88px;--viewport-height:100dvh;--viewport-top:0px}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#000}button,input,textarea{font:inherit}a{color:inherit;text-decoration:none}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{cursor:pointer;color:inherit;border:0;background:none}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #97e8ff;outline-offset:4px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}
#home{position:fixed;top:var(--viewport-top);left:0;width:100%;height:var(--viewport-height);overflow:hidden;background:#000}
#home .glass,#home .speech-card{border:0;box-shadow:0 12px 42px #0003;background:#16212bcc;backdrop-filter:blur(22px) saturate(120%);-webkit-backdrop-filter:blur(22px) saturate(120%)}
.home-header{position:absolute;z-index:5;left:max(22px,env(safe-area-inset-left));right:max(22px,env(safe-area-inset-right));top:max(20px,env(safe-area-inset-top));display:flex;justify-content:space-between;align-items:center;pointer-events:none}.home-header>*{pointer-events:auto}.home-header .brand{display:grid;place-items:center;width:38px;height:38px}.home-header .brand img{width:28px;height:28px;object-fit:contain;opacity:.8;filter:invert(1);mix-blend-mode:screen}.home-nav{display:flex;gap:4px;padding:4px;border-radius:999px}.home-nav a{display:flex;align-items:center;gap:6px;padding:10px 14px;border-radius:999px;font-size:12px;font-weight:700;color:#cbd6de;transition:color .2s,background .2s}.home-nav a:hover{color:#fff;background:#ffffff0d}.home-nav svg{width:14px;height:14px;color:#8babb6}
svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-button{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:50%;color:#adc2cf;transition:background .2s,color .2s}.icon-button:hover{background:#ffffff0c;color:#fff}
#home-scene{position:absolute;inset:0;overflow:hidden;opacity:0;transition:opacity .45s ease}#home[data-scene-ready=true] #home-scene{opacity:1}#home-scene canvas{display:block;width:100%;height:100%}#robot-touch{position:absolute;z-index:2;background:transparent;border:0;border-radius:45%;cursor:pointer;touch-action:manipulation}#robot-touch:focus-visible{outline:2px dashed #80d9ee;outline-offset:8px}
#home-speech{position:absolute;z-index:3;pointer-events:none;transform:translateX(-50%);width:min(380px,calc(100% - 36px))}#home-speech .speech-anchor{width:100%;max-height:none}#home .speech-card{padding:16px 19px 14px;border-radius:24px;background:#142832a6;overflow:hidden}#home .speech-card:before,#home .speech-card:after,#home .speech-card strong:after{display:none}#home .speech-card strong{color:#9dc5d4;font-size:9px;letter-spacing:1.6px;padding-bottom:8px}#home-speech .speech-text{font-size:15px;line-height:1.55;overflow:hidden;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;max-height:7.75em;white-space:pre-wrap;overflow-wrap:anywhere}#home-speech .speech-text:focus-visible{outline-offset:-2px}.text-button{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:800;color:#a5e2ed;padding:8px 0 0}.text-button svg{width:18px;height:18px}.text-button:hover{color:#fff}
#home-chat{position:absolute;z-index:6;bottom:calc(8px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(640px,calc(100% - 24px));transform-origin:50% 100%}.home-composer{padding:6px;border-radius:30px;transition:padding .25s,border-radius .25s,background .25s}.composer-heading{display:flex;align-items:center;gap:12px;justify-content:space-between;max-height:0;opacity:0;overflow:hidden;padding:0 12px;transition:max-height .25s,opacity .25s,padding .25s}.composer-heading>span:first-child{font-size:9px;letter-spacing:1.5px;font-weight:800;color:#b8d4dd;display:flex;align-items:center;gap:7px;white-space:nowrap}.composer-heading i{width:5px;height:5px;border-radius:50%;background:#9ee4dc;box-shadow:0 0 9px #71e8cd55}.home-composer:focus-within,.home-composer[data-login=true]{padding-top:10px;border-radius:25px}.home-composer:focus-within .composer-heading,.home-composer[data-login=true] .composer-heading,.home-composer:has([data-error=true]) .composer-heading,.home-composer:has([data-busy=true]) .composer-heading{max-height:54px;opacity:1;padding:2px 12px 6px}
.composer-row{display:flex;align-items:flex-end;gap:2px}#home-form{display:flex;min-width:0;flex:1;gap:6px;align-items:flex-end}#home-input{display:block;resize:none;min-width:0;flex:1;border:0;background:transparent;color:#edf6f9;padding:10px 2px;font-size:16px;line-height:24px;min-height:44px;max-height:144px;scrollbar-width:thin;transition:height .15s}#home-input:focus{outline:none}#home-input::placeholder{color:#8397a4}#home-send{width:40px;height:40px;margin:2px;background:#9bdce420;color:#d4fbff}#home-send:hover{background:#9bdce43c}#home-settings-toggle{margin-left:1px}#home-chat-status{font-size:10px;color:#8298a6;line-height:1.4;overflow-wrap:anywhere}#home-chat-status[data-error=true]{color:#f4c2a4}
#last-question{border-radius:20px 20px 5px 20px;padding:10px 14px;margin:0 5px 8px auto;width:fit-content;max-width:85%;font-size:13px;line-height:1.5;background:#25454ac2!important;overflow:hidden}#last-question>span:first-child{display:block;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:1.5px;color:#95caca;margin-bottom:3px}#last-question-text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:3em;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;color:#d5e5eb}
#home-history{position:absolute;inset:0;z-index:4;background:radial-gradient(ellipse at 15% 40%,#182f3566,transparent 55%),#080f15e8;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);animation:history-enter .25s ease-out}#home[data-history=true] .home-header,#home[data-history=true] #home-speech,#home[data-history=true] #robot-touch,#home[data-history=true] #last-question{visibility:hidden}#home[data-history=true] .composer-heading{max-height:54px;opacity:1;padding:2px 12px 6px}.history-header{position:absolute;top:max(12px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;width:min(640px,calc(100% - 24px));padding:6px;border-radius:30px}.history-header h2{font-size:16px;margin:0;color:#e0edf1}.history-header>div>span{font-size:11px;color:#9bafb9}.history-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;margin-left:auto;margin-right:2px;background:#79bdd218;color:#aadfeb}#home-messages{position:absolute;left:50%;transform:translateX(-50%);width:min(640px,100%);top:calc(max(12px,env(safe-area-inset-top)) + 76px);bottom:calc(var(--composer-height) + 16px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:0 16px 18px}.history-empty{font-size:14px;color:#8ca5b2;text-align:center;margin:25vh 0 0}.history-turn{display:flex;flex-direction:column;align-items:flex-start;gap:9px;margin:0 0 20px;scroll-margin:16px}.history-turn>div{max-width:88%;padding:12px 15px 7px;overflow:hidden;box-shadow:0 4px 18px #0001}.history-question{align-self:flex-end;background:#28515bc4;border-radius:20px 20px 5px 20px}.history-answer{background:#1d2a35de;border-radius:20px 20px 20px 5px}.history-turn h3{font-size:9px;color:#a3dbe4;margin:0 0 5px;font-weight:800;letter-spacing:1px}.history-turn p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;color:#e1ebef;font-size:14px;line-height:1.65}.history-turn footer{display:flex;align-items:center;justify-content:flex-end;gap:5px;margin-top:7px;color:#8eabb9;font-size:10px}.history-turn footer svg{width:15px;height:15px}.history-pending{color:#90a7b1!important;font-size:12px!important}.history-day{align-self:center;border-radius:20px;font-size:10px;font-weight:700;background:#ffffff08;padding:5px 12px;margin:0 auto 14px;width:fit-content;color:#a5b9c3}#history-bottom{position:absolute;right:max(18px,calc((100% - 620px)/2));bottom:calc(var(--composer-height) + 28px);background:#213442e8}
#home-login{padding:8px 12px 4px}#home-login label{display:block;color:#a7c1ce;font-size:12px;margin-bottom:9px}#home-login>div{display:flex;gap:10px}#home-password{width:100%;min-width:0;padding:10px 12px;border:0;border-radius:16px;background:#ffffff08;color:#fff;font-size:16px}#home-login button{background:#96d7e21a}
#home-settings{color:#dfedf2;position:fixed;top:var(--viewport-top);margin:auto;width:min(430px,calc(100% - 32px));max-height:calc(var(--viewport-height) - 40px);padding:24px;border-radius:30px;overflow:auto;background:#17242de8!important}#home-settings::backdrop{background:#0008;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}#home-settings[open]{animation:history-enter .24s ease-out}#home-settings header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.eyebrow{font-size:9px;letter-spacing:2px;color:#85b2c2}#home-settings h2{margin:4px 0 0;font-size:22px;font-weight:700}#home-settings fieldset{border:0;padding:0;margin:0}#home-settings legend{font-size:13px;font-weight:700;margin-bottom:12px;color:#b3cbd4}.scene-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.scene-option{position:relative;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:11px;color:#98b0be}.scene-option input{position:absolute;opacity:0;width:100%;height:100%;cursor:pointer}.scene-preview{display:grid;place-items:center;width:100%;aspect-ratio:1.2;border-radius:19px;transition:background .2s,scale .2s,box-shadow .2s}.scene-preview svg{width:32px;height:32px}.preview-black{background:#030608;color:#6d7b83}.preview-lab{background:linear-gradient(135deg,#374951,#1e3440);color:#afdeec}.preview-forest{background:linear-gradient(135deg,#324335,#162b23);color:#bad4a7}.scene-option:has(input:checked){color:#e4f5fc;font-weight:800}.scene-option:has(input:checked) .scene-preview{box-shadow:0 8px 25px #7bdcf322;scale:.96;background-color:#95dfec20}.scene-option:has(input:focus-visible) .scene-preview{outline:2px solid #97e8ff;outline-offset:3px}#settings-status{font-size:11px;color:#829dab;margin:16px 0 24px;min-height:16px}.settings-sound{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#ffffff04;padding:14px;border-radius:20px}.settings-sound strong{display:block;font-size:13px;font-weight:700}.settings-sound div>span{display:block;font-size:11px;color:#91a8b5;margin-top:3px}.settings-sound button{background:#9bdce414}.sound-waves{display:none}#home-sound[aria-pressed=true] .sound-waves{display:block}#home-sound[aria-pressed=true] .sound-muted{display:none}
#home-loading{position:absolute;z-index:8;left:50%;top:45%;transform:translate(-50%,-50%);display:grid;gap:17px;width:220px;text-align:center}#home-loading>span{font-size:10px;letter-spacing:4px;color:#b3ccd6}#home-loading small{color:#76909b;font-size:10px}#home-progress{appearance:none;border:0;border-radius:999px;width:100%;height:3px;background:#10212a;overflow:hidden}#home-progress::-webkit-progress-bar{background:#10212a}#home-progress::-webkit-progress-value{background:#94dbe9;transition:width .2s}#home-progress::-moz-progress-bar{background:#94dbe9}#home-fallback{position:absolute;left:50%;top:35%;transform:translate(-50%,-50%);border-radius:18px;padding:20px;width:min(380px,calc(100% - 40px));color:#b4c9d3;font-size:14px;line-height:1.7}.home-noscript{position:absolute;left:20px;right:20px;top:40%;padding:22px;border-radius:20px;text-align:center}
@keyframes history-enter{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}
@media(max-width:700px){.home-header{left:14px;right:14px;top:max(12px,env(safe-area-inset-top))}.home-nav a{font-size:11px;padding:9px 11px}.home-header .brand img{width:26px;height:26px}#home-chat{width:calc(100% - 16px);bottom:calc(6px + env(safe-area-inset-bottom))}#home-speech{width:min(330px,calc(100% - 30px))}#home-speech .speech-text{font-size:14px;-webkit-line-clamp:5}.history-turn>div{max-width:91%}.history-header{width:calc(100% - 20px)}#home-messages{padding-left:12px;padding-right:12px}}
@media(max-height:500px){.home-header{top:8px}#home-chat{bottom:4px}#home-speech .speech-text{-webkit-line-clamp:2;max-height:3.1em;font-size:12px}#home .speech-card{padding:10px 14px}#last-question-text{-webkit-line-clamp:1;max-height:1.5em}.home-composer:focus-within .composer-heading{padding-bottom:2px}#home-settings{padding:18px}#home-settings header{margin-bottom:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
#home[data-history=true] #last-question{display:none}
/* Each invitation is its own floating balloon, with no shared menu surface. */
#robot-curiosity{position:absolute;z-index:7;left:50%;top:22%;transform:translateX(-50%)}
#robot-question-toggle{display:grid;place-items:center;width:42px;height:42px;border:1px solid #b1e9fb55;border-radius:50%;font-size:25px;font-weight:800;color:var(--accent);cursor:pointer;box-shadow:0 5px 22px #0003;transition:transform .2s,background .2s}
#robot-question-toggle:hover,#robot-question-toggle[aria-expanded=true]{transform:rotate(-9deg) scale(1.08);background:var(--answer)}
#robot-question-toggle:focus-visible,#robot-questions button:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
#robot-questions{position:absolute;bottom:58px;left:50%;transform:translate(calc(-50% + var(--question-shift,0px)),var(--question-y,0px));display:grid;gap:13px;justify-items:start;width:min(410px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:8px 9px 11px;pointer-events:none}
#robot-questions .question-bubble{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;min-height:45px;max-width:100%;padding:12px 19px;border:1px solid #b1e9fb28;border-radius:25px;color:var(--ink);font:700 14px/1.35 Nunito,sans-serif;cursor:pointer;pointer-events:auto;box-shadow:0 8px 24px #0003;transform-origin:50% 100%;animation:question-float 4.8s ease-in-out infinite}
#robot-questions .question-bubble:after{content:'';position:absolute;bottom:-5px;left:27px;width:9px;height:9px;background:inherit;border-right:1px solid #b1e9fb28;border-bottom:1px solid #b1e9fb28;transform:rotate(45deg);border-bottom-right-radius:3px}
#robot-questions .question-bubble:nth-child(1){margin-left:6px;--float-angle:-1deg}
#robot-questions .question-bubble:nth-child(2){justify-self:end;animation-delay:-1.8s;--float-angle:1deg}
#robot-questions .question-bubble:nth-child(3){margin-left:55px;color:var(--accent);animation-delay:-3.1s;--float-angle:-.6deg}
#robot-questions .question-bubble:hover{background:var(--answer);border-color:#b1e9fb66}
#robot-questions[data-state=closing] .question-bubble{pointer-events:none;animation-play-state:paused}
.mime-icon{width:23px;height:23px;flex:none}
#home[data-history=true] #robot-curiosity,#home[data-exploring=true] #robot-curiosity{visibility:hidden;pointer-events:none}
@keyframes question-float{0%,100%{transform:translateY(0) rotate(var(--float-angle,0deg))}50%{transform:translateY(-5px) rotate(calc(var(--float-angle,0deg) * -1))}}
@media(max-width:450px){#robot-questions{width:min(350px,calc(100vw - 24px));gap:12px}#robot-questions .question-bubble:nth-child(3){margin-left:36px}}
@media(prefers-reduced-motion:reduce){#robot-question-toggle{transition:none}#robot-question-toggle:hover,#robot-question-toggle[aria-expanded=true]{transform:none}#robot-questions .question-bubble{animation:none}}
