.demo{--screen:#fff7f1;--ink:#3a1e2c;--soft:#6b5059;--bubble:#fff;--line:#96505a21;--me:#b33a5e;--on-me:#fff8f2;--chip:#fbe1e4;--chip-ink:#9e3b5a;--glow-1:#ffe2d3;--glow-2:#ffd6e1;--head:#fffaf699;width:100%;max-width:380px;margin-inline:auto;position:relative}.demo-screen{height:418px;color:var(--ink);background:radial-gradient(120% 60% at 0% 0%, var(--glow-1) 0%, transparent 60%), radial-gradient(120% 60% at 100% 0%, var(--glow-2) 0%, transparent 55%), var(--screen);border:1px solid var(--line);border-radius:28px;flex-direction:column;font-size:.86rem;display:flex;position:relative;overflow:hidden;box-shadow:inset 0 1px #fffc,0 40px 80px -36px #781e468c,0 18px 36px -22px #781e4659}.demo-status{display:none}.demo-head{border-bottom:1px solid var(--line);background:var(--head);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);align-items:center;gap:10px;padding:14px 16px 12px;display:flex}.demo-head div{flex:1;line-height:1.2;display:grid}.demo-head strong{font-family:var(--font-display);font-size:1.12rem;font-weight:560}.demo-head span{color:var(--soft);font-size:.72rem}.demo-head .demo-sub{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.demo-live{white-space:nowrap;align-items:center;gap:5px;font-weight:650;font-size:.68rem!important;display:inline-flex!important}.demo-live>span{font-size:inherit!important;color:inherit!important}.demo-live b{background:#1fa595;border-radius:50%;width:7px;height:7px;transition:background .3s;box-shadow:0 0 0 3px #1fa5952e}.demo.is-thinking .demo-live b{background:#e5517a;animation:.9s ease-in-out infinite demo-blink;box-shadow:0 0 0 3px #e5517a33}.demo.is-thinking .demo-orb{animation:1.2s ease-in-out infinite demo-orb}@keyframes demo-orb{50%{filter:brightness(1.12)saturate(1.15);transform:scale(1.12)}}.demo .stamp{letter-spacing:.02em;color:var(--soft);background:var(--line);border-radius:999px;align-self:center;margin:0 0 2px;padding:3px 10px;font-size:.66rem;font-weight:650;animation:.3s both demo-pop}.demo .stamp.night{color:#fff;background:linear-gradient(120deg,#3a2a5e,#6b3a78)}@property --demo-a{syntax:"<angle>";inherits:false;initial-value:0deg}@media (max-width:979px){.demo{isolation:isolate}.demo:before{content:"";z-index:-1;background:conic-gradient(from var(--demo-a), #ffa48c, #e5517a, #8e5cf7, #ffb27a, #ffa48c);filter:blur(18px);opacity:.42;border-radius:34px;position:absolute;inset:6px -4px -6px}}@media (max-width:979px) and (prefers-reduced-motion:no-preference){.demo:before{animation:9s linear infinite demo-spin}}@keyframes demo-spin{to{--demo-a:360deg}}@media (max-width:979px) and (prefers-color-scheme:dark){.demo:before{opacity:.3}}.demo-thread{flex-direction:column;flex:1;justify-content:flex-end;gap:8px;padding:12px 14px;transition:opacity .5s;display:flex;overflow:hidden}.demo-thread.fade{opacity:0}.demo .b{border-radius:18px;max-width:84%;margin:0;padding:9px 13px;line-height:1.42;animation:.38s cubic-bezier(.2,.9,.3,1.2) both demo-pop}.demo .b-me{background:var(--me);color:var(--on-me);border-bottom-right-radius:6px;align-self:flex-end}.demo .b-lou{background:var(--bubble);border:1px solid var(--line);border-bottom-left-radius:6px;align-self:flex-start;box-shadow:0 6px 16px -12px #781e4666}.demo .tag{color:var(--soft);align-self:flex-start;align-items:center;gap:6px;margin:2px 0 -2px 4px;font-size:.68rem;font-weight:650;animation:.3s both demo-pop;display:inline-flex}.demo .tag:before{content:"";background:linear-gradient(141deg,#ffa48c,#e5517a 50%,#8e5cf7);border-radius:50%;width:12px;height:12px}.demo .dots{background:var(--bubble);border:1px solid var(--line);border-radius:18px 18px 18px 6px;align-self:flex-start;gap:4px;padding:12px 14px;animation:.3s both demo-pop;display:inline-flex}.demo .dots i{background:linear-gradient(141deg,#ffa48c,#e5517a,#8e5cf7);border-radius:50%;width:7px;height:7px;animation:1s ease-in-out infinite demo-dot}.demo .dots i:nth-child(2){animation-delay:.15s}.demo .dots i:nth-child(3){animation-delay:.3s}.demo .note-card{background:linear-gradient(var(--bubble), var(--bubble)) padding-box, linear-gradient(120deg, #ffa48c, #e5517a, #8e5cf7) border-box;border:1px solid #0000;border-radius:18px;align-self:flex-start;width:86%;padding:12px 13px;animation:.45s cubic-bezier(.2,.9,.3,1.2) both demo-pop;box-shadow:0 12px 26px -16px #781e4680}.demo .note-card p{margin:0}.demo .nc-title{letter-spacing:.02em;font-size:.8rem;font-weight:750;margin-bottom:8px!important}.demo .nc-chips{flex-wrap:wrap;gap:5px;display:flex;margin-bottom:10px!important}.demo .nc-chips span{background:var(--chip);color:var(--chip-ink);border-radius:999px;padding:4px 9px;font-size:.72rem;font-weight:650}.demo .nc-chips .nc-when{background:var(--line);color:var(--soft)}.demo .nc-btn{color:#fff8f2;background:#9e3b5a;border-radius:999px;place-items:center;height:36px;font-size:.8rem;font-weight:700;transition:background .4s,transform .2s;display:grid;position:relative;overflow:hidden}.demo .nc-btn>span{grid-area:1/1;transition:opacity .3s,transform .35s}.demo .nc-done{opacity:0;transform:translateY(10px)}.demo .note-card.is-press .nc-btn{transform:scale(.95)}.demo .note-card.is-done .nc-btn{background:#0e766b}.demo .note-card.is-done .nc-label{opacity:0;transform:translateY(-10px)}.demo .note-card.is-done .nc-done{opacity:1;transform:none}.demo-input{background:var(--bubble);border:1px solid var(--line);border-radius:999px;align-items:center;gap:8px;margin:0 12px;padding:6px 6px 6px 14px;display:flex}.demo-field{white-space:nowrap;text-overflow:ellipsis;flex:1;align-items:center;min-height:22px;display:flex;position:relative;overflow:hidden}.demo-field .ph{color:var(--soft);opacity:.8}.demo-field [data-typed]:empty+.caret,.demo-field [data-typed]:not(:empty)~.ph{display:none}.demo .caret{background:#b33a5e;width:1.5px;height:16px;margin-left:1px;animation:1s step-end infinite demo-blink}.demo-send{color:#fff;background:linear-gradient(141deg,#ffa48c,#e5517a 50%,#8e5cf7);border-radius:50%;place-items:center;width:32px;height:32px;transition:transform .2s;display:grid}.demo-send.is-press{transform:scale(.86)}.demo-send svg{width:18px;height:18px}.demo-ai{text-align:center;color:var(--soft);margin:6px 0 10px;font-size:.64rem}@media (prefers-color-scheme:dark){.demo{--screen:#070305;--ink:#fbefe9;--soft:#b8a0a8;--bubble:#1b1018;--line:#ffd6de1f;--me:#ff93a9;--on-me:#2b0f1c;--chip:#ff93a929;--chip-ink:#ffb0bf;--glow-1:#e0663f38;--glow-2:#e5517a38;--head:#0e080c99}}.demo .w{opacity:0;animation:.35s forwards demo-word}@media (min-width:980px){.demo{background:linear-gradient(150deg,#3a2a33,#1d1419 40%,#120b0f);border-radius:54px;max-width:340px;padding:11px;box-shadow:inset 0 0 0 1.5px #ffffff1f,inset 0 0 0 4px #00000080,0 70px 110px -50px #6e1e3ca6,0 26px 44px -26px #6e1e3c66}.demo-screen{height:clamp(560px,74vh,660px);box-shadow:none;border:0;border-radius:44px;font-size:.9rem}.demo-status{justify-content:space-between;align-items:center;padding:14px 26px 4px;font-size:.85rem;font-weight:650;display:flex}.demo-island{background:#000;border-radius:99px;width:96px;height:28px}.demo-icons{align-items:flex-end;gap:3px;display:inline-flex}.demo-icons i{background:var(--ink);border-radius:1px;width:4px}.demo-icons i:first-child{height:6px}.demo-icons i:nth-child(2){height:9px}.demo-icons i:nth-child(3){border-radius:3px;width:20px;height:10px}.demo-head{padding-top:10px}.demo-thread{gap:10px;padding:16px}.demo-input{margin:0 14px}.demo-ai{margin-bottom:18px}}@media (min-width:980px) and (prefers-color-scheme:dark){.demo{box-shadow:inset 0 0 0 1.5px #ffd6de3d,inset 0 0 0 4px #0009,0 0 0 1px #ffd6de14,0 60px 120px -40px #e5517a80}}@keyframes demo-pop{0%{opacity:0;transform:translateY(8px)scale(.96)}}@keyframes demo-word{to{opacity:1}}@keyframes demo-dot{0%,80%,to{opacity:.5;transform:translateY(0)}40%{opacity:1;transform:translateY(-4px)}}@keyframes demo-blink{50%{opacity:0}}@media (prefers-reduced-motion:reduce){.demo .b,.demo .note-card,.demo .dots,.demo .tag{animation:none}}
