*{box-sizing:border-box} :root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#e8f0fb;background:#080c14;font-size:14px;--muted:#95a6bd;--line:#8cb5ed38}body{margin:0;min-height:100dvh;background:radial-gradient(ellipse at 74% 14%,#25304c88,transparent 48%),radial-gradient(ellipse at 16% 95%,#283f5d99,transparent 46%),#080c14}button,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default}button:focus-visible,textarea:focus-visible{outline:2px solid #c4e8ff;outline-offset:4px}.stage{max-width:920px;margin:auto;padding:30px 24px 20px;min-height:100dvh;display:flex;flex-direction:column;justify-content:center;gap:17px}.brand{display:flex;align-items:center;gap:12px;font-size:10px;letter-spacing:2px;color:#a1aec4}.brand b{font-size:27px;color:#e9f3ff;letter-spacing:-4px;font-style:italic}.brand i{color:#657b9c;font-style:normal}.edition{margin-left:auto;letter-spacing:1.4px}.edition span{color:#d6ebff}.window{isolation:isolate;position:relative;display:flex;flex-direction:column;border-radius:27px;border:1px solid #8fb6dc59;min-height:565px;height:min(690px,calc(100dvh - 125px));background:linear-gradient(150deg,#24334a70,#0c1422e8 36%,#141e31ed 75%,#283f5770);box-shadow:0 28px 90px #0009,inset 0 1px 0 #d7edff35,0 0 38px #93caff0e;overflow:hidden}.head{display:flex;align-items:center;padding:22px 24px 17px;gap:14px}.orb{height:52px;width:52px;flex:none;border-radius:50%;display:grid;place-items:center;position:relative;background:radial-gradient(circle at 40% 30%,#d3d2ff9c,#789be04a 35%,#1f2946 68%);border:1px solid #b7d6ffb0;box-shadow:0 0 20px #88a6ff55,inset 0 0 12px #c6d8fc44}.orb:after{content:'';position:absolute;width:65px;height:25px;border:1px solid #b8b9ffc0;border-radius:50%;transform:rotate(-30deg);box-shadow:0 0 8px #a9c8ff55}.orb span{font-size:30px;text-shadow:0 0 14px #e8eaff}.identity{min-width:0}.identity h1{font-size:28px;line-height:1.05;letter-spacing:-1.4px;margin:0 0 7px}.identity h1 span{color:#c4c7f8}.identity p{font-size:9px;letter-spacing:2px;color:#a1b5d1;margin:0}.header-tools{display:flex;gap:8px;margin-left:auto;align-items:center}.chip,.icon,.suggestions button,#intensity{border:1px solid var(--line);background:#a9c6ec0b;border-radius:12px;padding:9px 12px;color:#bcd3ed}.icon{font-size:21px;line-height:1;padding:8px 11px}.chip[aria-pressed=true]{color:#ecf7ff;background:#a3d3ff18}.status{padding:0 24px 13px;border-bottom:1px solid #a0c0f01c;font-size:9px;letter-spacing:1.2px;color:#b4c6db;display:flex;align-items:center;gap:8px}.status-dot{width:6px;height:6px;border-radius:50%;background:#e0b77f;box-shadow:0 0 8px #e0b77f80}.status[data-online=true] .status-dot{background:#7be0bc}.thread{flex:1;min-height:0;overflow:auto;padding:24px;display:flex;flex-direction:column;gap:16px;scrollbar-color:#59718c #111b2a;position:relative}.welcome{margin:auto;text-align:center;padding:12px 0 28px}.sigil{display:block;color:#d4e9ff;font-size:54px;line-height:1;text-shadow:0 0 32px #8cacff}.welcome h2{font-size:clamp(24px,4vw,36px);letter-spacing:-1.5px;margin:18px 0 6px;font-weight:550}.welcome p{font-size:14px;color:#a9bcd5;margin:0 0 24px}.welcome small{font-size:9px;letter-spacing:2px;color:#8099b8}.bubble{max-width:86%;border:1px solid #87b4e13b;background:linear-gradient(130deg,#36516b6b,#1d293c9c);padding:12px 15px;border-radius:16px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;align-self:flex-start}.bubble.user{align-self:flex-end;background:linear-gradient(120deg,#3b4d7777,#26364fbb);border-color:#adbdf348}.bubble small{display:block;font-size:9px;color:#a5bdd8;letter-spacing:1.1px;margin-bottom:5px}.bottom{padding:0 24px 16px;position:relative}.suggestions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}.suggestions button{flex:1;text-align:left;font-size:11px;display:flex;justify-content:space-between;gap:8px;align-items:center;white-space:nowrap}.suggestions button:hover,.chip:hover,.icon:hover{background:#8aaff128}.suggestions button span{color:#b6cef2}.composer-zone{position:relative;isolation:isolate}.composer{position:relative;border:1px solid #9acdfbb0;border-radius:20px;padding:17px 17px 11px;background:radial-gradient(ellipse at 0% 100%,#9fcded26,transparent 26%),radial-gradient(ellipse at 100% 0%,#b8d8f633,transparent 28%),linear-gradient(140deg,#18263a,#111a29 65%,#1c2a42);box-shadow:0 0 0 4px #9ec5ed09,inset 0 0 20px #b0daff14,0 0 25px #6eaffc2e,0 2px 2px #a2ddff36}.composer:focus-within{border-color:#e4f5ff;box-shadow:0 0 0 4px #9ec5ed15,0 0 28px #6eaffc52,inset 0 0 15px #9ccaff14}.ice{position:absolute;top:-9px;left:12px;right:12px;height:23px;pointer-events:none;filter:drop-shadow(0 0 5px #c1dfff77)}.ice svg{width:100%;height:100%}.composer:after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.83' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");opacity:.24;mask-image:linear-gradient(110deg,#000,transparent 25%,transparent 75%,#000)}textarea{position:relative;z-index:1;width:100%;resize:vertical;max-height:140px;min-height:54px;color:#f2f7ff;background:transparent;border:0;line-height:1.6;padding:0 2px;outline:none!important}textarea::placeholder{color:#a1b1c8}.composer-actions{display:flex;align-items:center;gap:12px}.hint{font-size:10px;color:#9baec6}.hint span{color:#607ba3}.count{font-size:10px;color:#99acc4;margin-left:auto;white-space:nowrap;font-variant-numeric:tabular-nums}.send{height:39px;width:39px;border-radius:50%;border:1px solid #def3ff;color:#183758;background:linear-gradient(130deg,#f4fbff,#a4d0f8);display:grid;place-items:center;box-shadow:0 0 18px #acd5ff59}.send:disabled{opacity:.52}.send:hover:not(:disabled){background:#fff}.foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:13px;font-size:9px;letter-spacing:.8px;color:#8ea3c0}.foot b{color:#b6c9e3}.foot #notice{letter-spacing:0;text-align:center}.foot #intensity{font-size:10px;padding:4px 8px;border-radius:7px;white-space:nowrap}.stage-foot{text-align:center;color:#7790ad;font-size:9px;letter-spacing:2px}.stage-foot span{color:#bad0ed;margin:0 6px}#snow{position:absolute;z-index:3;pointer-events:none;left:0;bottom:0;width:100%;height:260px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}[hidden]{display:none!important}.window[data-frost=false] .ice{display:none}.window[data-frost=false] .composer:after{opacity:0}@media(max-width:540px){.stage{padding:14px 10px;gap:10px;justify-content:flex-start}.brand{font-size:9px;letter-spacing:1px}.edition{font-size:8px}.window{height:calc(100dvh - 95px);min-height:475px;border-radius:20px}.head{padding:18px 14px 13px;gap:11px}.orb{height:38px;width:38px}.orb:after{width:48px;height:18px}.orb span{font-size:22px}.identity h1{font-size:23px}.identity p{font-size:7px;letter-spacing:1.2px}.header-tools{gap:5px}.chip{padding:8px}.icon{padding:7px 8px}.snow-label{display:none}.status{padding:0 14px 10px;font-size:8px;letter-spacing:.5px}.thread{padding:16px 14px}.bottom{padding:0 13px 12px}.suggestions{gap:6px;margin-bottom:20px}.suggestions button{font-size:10px;padding:7px 9px;flex:1 1 45%;white-space:normal}.suggestions button:last-child{display:none}.composer{padding:14px 12px 10px}.hint{font-size:9px;max-width:125px}.count{font-size:9px}.foot{font-size:8px;letter-spacing:0}.bubble{max-width:92%}.stage-foot{font-size:8px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}#snow{display:none}}

/* PWA safe area, keyboard and touch layout */
html{overscroll-behavior:none}body{min-height:100vh;min-height:100dvh}.stage{height:100dvh;height:var(--viewport-height,100dvh);min-height:0;max-height:100dvh;padding-top:max(20px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom))}.window{flex:1;min-height:0;max-height:740px;height:auto}.stage-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:5px;letter-spacing:0}.stage-foot .privacy{font-size:10px;color:#b4c5d9}.stage-foot button{font-size:11px;padding:7px 11px}.header-tools button,.send{min-height:44px;min-width:44px}.foot #intensity{min-height:32px}textarea{font-size:16px;resize:none}.composer:focus-within{outline:1px solid #bfe3ff}.bubble.pending{opacity:.65}.status[data-online=false] .status-dot{background:#e0b77f}.foot #notice{line-height:1.35;flex:1;overflow-wrap:anywhere}.foot>span:first-child{white-space:nowrap}.chip{touch-action:manipulation}.stage-foot span{margin:0}.stage-foot .privacy{max-width:100%;line-height:1.4}@media(max-width:540px){.stage{padding-top:max(9px,env(safe-area-inset-top));padding-bottom:max(6px,env(safe-area-inset-bottom));gap:7px}.stage-foot{gap:3px}.stage-foot .privacy{font-size:9px}.stage-foot button{padding:5px 9px}.brand{min-height:22px}.head{padding-top:12px;padding-bottom:10px}.header-tools button{min-width:40px;min-height:40px}.foot #notice{font-size:10px}.hint{display:none}.send{flex:none}.composer-actions{gap:6px}.suggestions{margin-bottom:16px}.thread{min-height:0}.welcome{padding:4px 0}.welcome h2{font-size:23px;margin:10px 0}.welcome p{margin-bottom:12px}.welcome .sigil{font-size:40px}}@media(max-height:480px){.stage-foot,.brand,.suggestions,.welcome{display:none!important}.stage{padding:2px;gap:0}.head{padding:8px}.status{padding:0 10px 6px}.window{border-radius:10px}.bottom{padding:0 10px 5px}.foot{margin-top:5px}}
