/* Visual refinements to the original full-screen desktop demo. */
html,body,.desktop-app{height:100%;height:100dvh}
.scene-shade{background:linear-gradient(180deg,rgba(8,9,14,.2),transparent 35%,rgba(8,9,14,.25))}
.back-website-button,.app-status{border-color:rgba(255,255,255,.14);box-shadow:0 4px 16px #0002}
.utility-toolbar{gap:8px;padding:8px;background:rgba(20,17,25,.8);border-color:rgba(255,255,255,.15)}
.toggle-button{border-color:rgba(255,255,255,.2);background:rgba(28,23,33,.85);box-shadow:none;border-radius:12px}
.toggle-button.is-active{background:var(--ui-accent-soft)}
.input-section{background:rgba(23,20,29,.92);border-color:rgba(255,255,255,.24);box-shadow:0 12px 40px #0004}
.text-input-wrapper{min-width:0;flex:1}#text-input{font-size:16px;line-height:1.5;resize:none}
.composer-footer{color:rgba(255,255,255,.75);text-shadow:0 1px 5px #000}
.chat-log-panel{background:rgba(23,20,29,.97);border-color:rgba(255,255,255,.2);border-radius:16px}
.chat-log-entry{border-color:rgba(255,255,255,.13);border-radius:12px;padding:12px}
.chat-log-text{font-size:14px;line-height:1.65}
.companion-panel,.companion-header{background:#1c1822}
.settings-section{border-color:rgba(255,255,255,.13);border-radius:14px}
.demo-dialog{border-radius:20px;border-color:rgba(255,255,255,.22)}
@media(max-width:760px){
 .back-website-button{width:auto;max-width:46vw;min-height:38px;left:max(10px,env(safe-area-inset-left))}
 .app-status{left:auto;right:max(10px,env(safe-area-inset-right));max-width:48vw;min-height:38px;align-items:center}
 .utility-toolbar{top:max(60px,calc(env(safe-area-inset-top) + 52px));right:10px;grid-template-columns:repeat(2,40px);grid-auto-rows:40px;gap:6px;padding:6px}
 .utility-toolbar .toolbar-slot{display:none}
 .utility-toolbar .toggle-button{width:40px;height:40px;min-width:40px;min-height:40px}
 .ui-container{width:calc(100vw - 20px);max-width:none;bottom:max(12px,env(safe-area-inset-bottom))}
 .right-buttons>.toolbar-slot{display:none}
 .input-section{min-height:60px;padding:7px;gap:4px;border-radius:18px}
 .left-buttons,.right-buttons{gap:3px;padding:0}
 .plus-upload,.round-input-button,.send-button{width:40px;min-width:40px;height:40px;min-height:40px}
 #text-input{font-size:16px;padding:7px 4px}
 .composer-footer{font-size:9px;padding:0 5px;gap:8px;flex-wrap:wrap}
 .chat-log-panel{top:max(60px,calc(env(safe-area-inset-top) + 52px));height:min(52dvh,440px);width:calc(100vw - 20px);z-index:23}
 .subtitle-container{bottom:145px;width:calc(100vw - 28px);font-size:13px;line-height:1.55}
 .speech-status{bottom:150px}
 .companion-panel{height:100dvh;padding-bottom:max(24px,env(safe-area-inset-bottom))}
 .nino-figure{max-width:86vw;bottom:150px;height:min(63dvh,530px)}
}
@media(max-width:360px){.composer-footer{font-size:8px}.plus-upload,.round-input-button,.send-button{width:36px;min-width:36px;height:36px;min-height:36px}}
@media(max-height:500px) and (orientation:landscape){.utility-toolbar{grid-template-columns:repeat(4,36px);grid-auto-rows:36px;top:55px}.utility-toolbar .toggle-button{width:36px;min-width:36px;height:36px;min-height:36px}.utility-toolbar .toolbar-slot{display:none}.app-status .avatar-camera-hint{display:none}.ui-container{bottom:8px}.nino-figure{height:70dvh;bottom:80px}}

/* Demo controls use a muted crimson glass surface while following theme tokens. */
.back-website-button,.app-status{background:rgba(32,13,21,.78);border-color:rgba(255,158,177,.24);backdrop-filter:blur(14px)}
.utility-toolbar{background:rgba(29,12,20,.84);border-color:rgba(255,158,177,.25);backdrop-filter:blur(16px)}
.toggle-button{background:rgba(43,18,29,.9);border-color:rgba(255,158,177,.2)}
.toggle-button:hover,.toggle-button:focus-visible{border-color:rgba(255,158,177,.55)}
.input-section,.chat-log-panel{background:rgba(27,13,20,.94);border-color:rgba(255,158,177,.28);box-shadow:0 18px 54px rgba(0,0,0,.38),inset 0 1px rgba(255,255,255,.045)}
.companion-panel,.companion-header{background:linear-gradient(145deg,#26131d,#180e15)}
.settings-section,.demo-dialog{border-color:rgba(255,158,177,.24);background-color:#1c1017}
@media(max-width:760px){.back-website-button,.app-status{background:rgba(28,12,19,.88)}.chat-log-panel{border-radius:16px}}
