:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#f8f0f6;background:#130e16;--pink:#e9a3c8;--sub:#c2b2c1}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 10% 10%,#4e2d48 0,#201624 45%,#100d14 100%);min-height:100dvh}.app{position:relative;min-height:100dvh;max-width:550px;margin:auto;display:flex;flex-direction:column;overflow:hidden;background:#1b141f;box-shadow:0 0 80px #0006}.topbar{height:77px;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#211923;z-index:2}.brand-name{font-family:Georgia,serif;font-style:italic;font-size:31px;font-weight:700;letter-spacing:-1px;color:#fff}.brand-name span{color:#ed9dc6;margin-left:4px}.brand-sub{margin-top:-4px;color:#c4b3c1;font-size:10px;letter-spacing:1.2px;text-transform:uppercase}.header-actions{display:flex;gap:9px}.circle,.small-btn{appearance:none;border:1px solid #ffffff28;background:#ffffff0a;color:#f9e7f3;border-radius:50%;display:grid;place-items:center;cursor:pointer}.circle{width:42px;height:42px;font-size:23px}.circle:active,.small-btn:active{transform:scale(.95)}.stage{position:relative;flex:1;min-height:260px;overflow:hidden;background:#d6cfdb}.portrait{display:block;width:100%;height:100%;min-height:260px;position:absolute;inset:0;object-fit:cover;object-position:center 19%;transition:opacity .26s ease,transform .5s ease;animation:breathe 6s ease-in-out infinite alternate}@keyframes breathe{from{transform:scale(1)}to{transform:scale(1.012)}}.portrait-vignette{position:absolute;inset:0;background:linear-gradient(to bottom,#1c142100 60%,#17101a78 81%,#17101aca 100%);pointer-events:none}.top-hint{position:absolute;top:14px;left:15px;display:flex;gap:7px;align-items:center;padding:9px 12px;border:1px solid #ffffff5b;border-radius:30px;color:#fff;font-size:11px;line-height:1.2;background:#22192991;backdrop-filter:blur(13px);max-width:calc(100% - 30px)}.live-dot{display:inline-block;width:7px;height:7px;flex:none;background:#7fdfaa;border-radius:50%;box-shadow:0 0 9px #7fdfaa}.speech-tag{position:absolute;bottom:28px;left:18px;right:18px;width:max-content;max-width:calc(100% - 36px);padding:12px 16px;background:#201722b8;color:#fff;font-weight:500;font-size:15px;line-height:1.38;border:1px solid #ffcce7a3;border-radius:17px;backdrop-filter:blur(16px);box-shadow:0 10px 36px #180c1f48;max-height:115px;overflow-y:auto}.energy-bars{position:absolute;bottom:12px;right:23px;display:flex;align-items:center;gap:3px;height:22px;opacity:0;transition:opacity .25s}.energy-bars i{width:3px;height:5px;border-radius:8px;background:#fbacd3}.is-speaking .energy-bars,.is-listening .energy-bars{opacity:1}.is-speaking .energy-bars i,.is-listening .energy-bars i{animation:eq .7s ease-in-out infinite alternate}.energy-bars i:nth-child(2){animation-delay:.12s}.energy-bars i:nth-child(3){animation-delay:.27s}.energy-bars i:nth-child(4){animation-delay:.44s}.energy-bars i:nth-child(5){animation-delay:.19s}.energy-bars i:nth-child(6){animation-delay:.32s}.energy-bars i:nth-child(7){animation-delay:.08s}@keyframes eq{to{height:20px}}.controls{background:linear-gradient(145deg,#291e2c,#1c1520);border-top:1px solid #ffffff14;text-align:center;padding:16px 24px calc(12px + env(safe-area-inset-bottom));min-height:170px;z-index:1}.context{font-size:13px;color:#e0c6d6;min-height:18px;margin:0 0 10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.control-row{display:flex;align-items:center;justify-content:center;gap:36px}.small-btn{width:46px;height:46px;font-size:22px}.mic-btn{border:1px solid #ffe2f3;color:#fff;width:73px;height:73px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(140deg,#f19dca,#b154a0);box-shadow:0 0 0 5px #e3a3c51e,0 0 25px #ef82b353;cursor:pointer;transition:transform .15s,box-shadow .3s}.mic-btn:active{transform:scale(.96)}.is-listening .mic-btn{box-shadow:0 0 0 10px #f7aad441,0 0 48px #eb7ca5;animation:pulse 1.5s ease-in-out infinite}.is-busy .mic-btn{opacity:.6}@keyframes pulse{50%{box-shadow:0 0 0 17px #f7aad414,0 0 52px #eb7ca5}}.label-mic{font-size:12px;font-weight:600;color:#f6d7e9;margin-top:8px}.footer-note{font-size:10px;color:#aa97aa;margin:8px 0 0}.inputbar{margin:14px auto 0;border:1px solid #ffffff30;background:#ffffff0c;border-radius:14px;display:flex;align-items:center;max-width:470px;padding:3px}.inputbar[hidden]{display:none}.inputbar input{background:none;border:0;outline:none;flex:1;min-width:0;color:white;font-size:14px;padding:11px}.inputbar button{background:#c76ba6;color:#fff;border:0;border-radius:10px;padding:9px 14px;font-size:20px}.scrim{position:fixed;inset:0;background:#09050bbe;z-index:10;backdrop-filter:blur(4px)}.scrim[hidden]{display:none}.sheet{position:fixed;z-index:11;bottom:0;left:0;right:0;max-width:550px;max-height:min(82dvh,720px);margin:auto;padding:23px 20px calc(22px + env(safe-area-inset-bottom));border-radius:25px 25px 0 0;border:1px solid #ffffff24;background:#241926;overflow:auto;box-shadow:0 -30px 80px #0007}.sheet[hidden]{display:none}.sheet-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:15px}.sheet-heading h2{font-weight:680;letter-spacing:-.5px;font-size:25px;margin:3px 0}.overline{color:#e9a3c8;font-size:10px;letter-spacing:2px;font-weight:700}.xbtn{border:none;background:#ffffff15;color:#fff;border-radius:50%;width:35px;height:35px;font-size:24px}.muted{color:#bbaabd;font-size:12px;line-height:1.5;margin:0 0 16px}.outfits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.outfit{background:#352637;border:2px solid transparent;border-radius:16px;color:#fff;overflow:hidden;text-align:left;display:flex;flex-direction:column;padding:0 0 10px;cursor:pointer}.outfit.active{border-color:#f4b9db;box-shadow:0 0 0 2px #efb2d222}.outfit img{width:100%;aspect-ratio:1/1;object-fit:cover;object-position:center center}.outfit b{font-size:14px;margin:10px 10px 0}.outfit small{color:#c7adbb;font-size:11px;margin:3px 10px}.sheet-foot{font-size:12px;color:#ad9eac;margin:18px 0 0}.history{display:flex;flex-direction:column;gap:12px;max-height:45dvh;overflow:auto;margin-bottom:15px}.message{max-width:88%;padding:12px 14px;border-radius:15px;font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.message.user{align-self:flex-end;background:#84466f;border-bottom-right-radius:5px}.message.cora{align-self:flex-start;background:#3e3042;border-bottom-left-radius:5px}.message b{display:block;font-size:11px;opacity:.77;margin-bottom:4px}.text-control{border:0;background:none;color:#edb3d3;text-decoration:underline;font-size:12px;padding:8px}.setting-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff1f;padding:14px 0}.setting-row span{display:flex;flex-direction:column;gap:5px;max-width:84%}.setting-row b{font-size:14px}.setting-row small{color:#c0afbe;font-size:11px;line-height:1.35}.setting-row input{accent-color:#e89fc7;transform:scale(1.25)}.field-label{display:block;color:#eed9e6;font-size:12px;margin:17px 0 7px}.field{display:block;width:100%;padding:12px 13px;border:1px solid #ffffff34;border-radius:12px;background:#382a3a;color:#fff;font:inherit;font-size:13px}.field::placeholder{color:#b6a1b2}.range{accent-color:#e897c4;width:100%}.primary{background:#db87bb;color:#241426;border:0;border-radius:12px;width:100%;padding:14px;margin:17px 0 10px;font-weight:750;font-size:14px}.footnotes{font-size:11px}.stage{height:calc(100dvh - 268px)}@media(min-width:550px){.app{min-height:min(100dvh,920px)}.stage{height:580px}.scrim{z-index:9}}@media(max-height:610px){.topbar{height:65px}.stage{min-height:170px}.controls{padding-top:9px;min-height:130px}.mic-btn{width:56px;height:56px}.control-row{gap:26px}.small-btn{height:40px;width:40px}.speech-tag{font-size:12px;padding:8px 10px}.footer-note{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

.secondary-primary{background:#47364a;color:#f7d5e9;margin-top:0}

.family-chip{background:#f1c9e2;color:#38203a;border-radius:9px;padding:4px 6px;font-weight:700;white-space:nowrap}.family-chip[hidden]{display:none}.top-hint{flex-wrap:wrap}


/* Flexatar V3 live renderer. The demo scene's layout is cropped to the avatar region. */
.flexatar-crop{display:none;position:absolute;inset:0;overflow:hidden;z-index:0;background:#18141a}
.flexatar-crop canvas{display:block;position:absolute;width:233%;height:auto;max-width:none;max-height:none;left:-110%;top:-31%;background:#16121a}
.stage.flexatar-active .flexatar-crop{display:block}
.stage.flexatar-active #portrait{visibility:hidden}
#flexatarStatus{margin-top:10px}
