:root{--violet:#7558f5;--pink:#e65cca;--cyan:#4dd9df;--ink:#22213b;--muted:#77758d;--line:#e8e5f1;--glass:#ffffffd9}*{box-sizing:border-box}body{margin:0;min-height:100vh;overflow-x:hidden;background:#f8f6ff;color:var(--ink);font-family:Tahoma,"Segoe UI",sans-serif}.aurora{position:fixed;border-radius:50%;filter:blur(90px);opacity:.32;pointer-events:none;animation:drift 12s ease-in-out infinite alternate}.a1{width:520px;height:520px;background:#b8a4ff;top:-230px;right:-130px}.a2{width:460px;height:460px;background:#90f2ec;bottom:-260px;left:-130px;animation-delay:-5s}.noise{position:fixed;inset:0;opacity:.035;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}@keyframes drift{to{transform:translate(70px,45px) scale(1.12)}}.app-shell{min-height:100vh;position:relative}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 max(25px,calc((100vw - 1120px)/2));border-bottom:1px solid #ffffff90;background:#ffffff80;backdrop-filter:blur(18px)}.brand{display:flex;align-items:center;gap:11px}.brand strong{display:block;font-size:18px}.brand>div:last-child>span{display:block;color:var(--muted);font-size:10px;margin-top:4px}.brand i{display:inline-block;width:7px;height:7px;background:#35c982;border-radius:50%;box-shadow:0 0 0 4px #35c98218;margin-left:4px}.mini-orb{width:43px;height:43px;border-radius:15px;background:linear-gradient(145deg,var(--violet),var(--pink));display:flex;gap:5px;align-items:center;justify-content:center;box-shadow:0 9px 22px #7558f540}.mini-orb span{width:5px;height:8px;background:#fff;border-radius:50%;animation:blink 5s infinite}.glass-button{display:flex;align-items:center;gap:7px;border:1px solid #ded9ed;background:#ffffff9c;border-radius:12px;padding:9px 14px;color:#5b5870;cursor:pointer}.glass-button svg{width:16px;fill:none;stroke:currentColor;stroke-width:1.8}.experience{width:min(1120px,calc(100% - 30px));margin:42px auto 20px;display:grid;grid-template-columns:350px 1fr;gap:22px;align-items:stretch}.presence-card,.chat-card{border:1px solid #ffffff;background:var(--glass);backdrop-filter:blur(22px);box-shadow:0 25px 80px #3f2d7e16;border-radius:28px}.presence-card{position:relative;overflow:hidden;text-align:center;padding:25px 25px 22px;min-height:610px;background:linear-gradient(160deg,#ffffffec,#f2edffdc)}.presence-card:before{content:"";position:absolute;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,#9a82ff33,transparent 68%);top:35px;left:35px;animation:breathe 3s ease-in-out infinite}.stars i{position:absolute;width:4px;height:4px;border-radius:50%;background:var(--violet);animation:twinkle 2s infinite}.stars i:nth-child(1){top:80px;left:50px}.stars i:nth-child(2){top:145px;right:45px;animation-delay:.4s}.stars i:nth-child(3){top:235px;left:42px;animation-delay:1s}.stars i:nth-child(4){top:50px;right:100px;animation-delay:1.4s}.stars i:nth-child(5){top:270px;right:70px;animation-delay:.7s}@keyframes twinkle{50%{transform:scale(2.5);opacity:.25}}.creature{height:290px;position:relative;display:grid;place-items:center}.glow{position:absolute;width:185px;height:185px;border-radius:50%;background:#886cf642;filter:blur(28px);animation:breathe 3s ease-in-out infinite}.body{width:165px;height:174px;position:relative;border-radius:48% 52% 45% 55%/52% 45% 55% 48%;background:radial-gradient(circle at 34% 26%,#bdaeff 0 8%,#8064f3 36%,#5c43cf 72%,#4330a2);box-shadow:inset -18px -22px 35px #3a258044,inset 12px 12px 24px #ffffff30,0 25px 45px #563bc652;animation:float 3s ease-in-out infinite}.body:before,.body:after{content:"";position:absolute;width:55px;height:72px;background:#7457e2;border-radius:60% 40% 70% 30%;top:27px;z-index:-1}.body:before{right:-26px;transform:rotate(32deg)}.body:after{left:-26px;transform:rotate(-32deg)}.face{position:absolute;inset:57px 35px auto;display:flex;justify-content:space-between}.eye{width:18px;height:24px;border-radius:50%;background:#1f174b;position:relative;box-shadow:inset 0 -3px 0 #0f0b27;animation:blink 5s infinite}.eye:after{content:"";position:absolute;width:6px;height:7px;border-radius:50%;background:#fff;top:4px;right:4px}.mouth{position:absolute;width:25px;height:12px;border-bottom:4px solid #2b1b65;border-radius:0 0 50% 50%;right:35px;top:36px;transition:.3s}.cheek{position:absolute;width:22px;height:9px;background:#f58acb66;border-radius:50%;top:105px}.c1{right:28px}.c2{left:28px}.shadow{position:absolute;width:135px;height:22px;border-radius:50%;background:#3a27772c;filter:blur(7px);bottom:26px;animation:shadow 3s ease-in-out infinite}.orbit{position:absolute;border:1px solid #8067e94a;border-radius:50%;animation:spin 9s linear infinite}.orbit:after{content:"✦";position:absolute;color:var(--pink);font-size:15px;top:10px;right:8px}.orbit-one{width:230px;height:205px;transform:rotate(20deg)}.orbit-two{width:255px;height:235px;animation-direction:reverse;animation-duration:13s}.orbit-two:after{color:var(--cyan);top:auto;bottom:18px;right:auto;left:11px}@keyframes spin{to{transform:rotate(380deg)}}@keyframes float{50%{transform:translateY(-12px) rotate(1deg)}}@keyframes shadow{50%{transform:scale(.82);opacity:.6}}@keyframes breathe{50%{transform:scale(1.12);opacity:.65}}@keyframes blink{0%,45%,49%,100%{transform:scaleY(1)}47%{transform:scaleY(.08)}}.creature.listening .body{animation:listen .6s ease-in-out infinite alternate}.creature.listening .mouth{height:15px;width:15px;border:3px solid #2b1b65;border-radius:50%;right:39px}.creature.thinking .body{animation:think 1.1s ease-in-out infinite}.creature.thinking .eye.right{transform:translateY(-4px)}.creature.happy .mouth{height:18px;width:34px;background:#2b1b65;border:0;border-radius:5px 5px 20px 20px;right:30px}.creature.happy .mouth:after{content:"";position:absolute;width:18px;height:6px;background:#f58acb;border-radius:50%;bottom:2px;right:8px}@keyframes listen{to{transform:translateY(-6px) scale(1.035)}}@keyframes think{25%{transform:translateX(5px) rotate(2deg)}75%{transform:translateX(-5px) rotate(-2deg)}}.creature-copy{position:relative}.creature-copy>span{display:inline-block;background:#eeeaff;color:#6653d9;border-radius:999px;padding:7px 11px;font-size:10px}.creature-copy h1{font-size:25px;margin:14px 0 7px}.creature-copy p{font-size:13px;color:var(--muted);line-height:1.9;margin:0}.abilities{display:flex;justify-content:center;gap:8px;margin-top:20px}.abilities span{border:1px solid #e3def2;background:#fff9;border-radius:10px;padding:8px;color:#77718a;font-size:10px}.chat-card{display:flex;flex-direction:column;overflow:hidden;min-height:610px}.chat-title{height:74px;padding:0 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.chat-title b{display:block}.chat-title small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.pulse{display:flex;gap:3px;align-items:flex-end}.pulse i{width:3px;height:8px;background:var(--violet);border-radius:3px;animation:wave .8s ease-in-out infinite alternate}.pulse i:nth-child(2){height:16px;animation-delay:.2s}.pulse i:nth-child(3){height:11px;animation-delay:.4s}@keyframes wave{to{height:4px;opacity:.4}}.welcome{margin:auto;width:100%;padding:30px}.welcome>p{text-align:center;color:var(--muted);font-size:12px}.suggestions{display:grid;gap:10px}.suggestions button{display:grid;grid-template-columns:42px 1fr 20px;align-items:center;gap:12px;text-align:right;border:1px solid var(--line);background:#fbfaff;border-radius:16px;padding:13px;cursor:pointer;transition:.25s}.suggestions button:hover{transform:translateX(-5px);border-color:#bdb2f7;box-shadow:0 8px 25px #5d4dcc0c}.suggestions .icon{width:40px;height:40px;border-radius:12px;background:#eeeaff;color:var(--violet);display:grid;place-items:center;font-size:18px}.suggestions span:nth-child(2){font-size:13px}.suggestions small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.suggestions b{color:var(--violet)}.messages{display:none;height:446px;overflow:auto;padding:25px;scroll-behavior:smooth}.message{display:flex;gap:10px;align-items:flex-start;margin-bottom:22px}.message.user{direction:ltr}.avatar{width:36px;height:36px;flex:0 0 36px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,var(--violet),var(--pink));color:#fff;font-size:12px;font-weight:bold;box-shadow:0 6px 15px #7558f52b}.user .avatar{background:#45455b}.message-content{max-width:78%}.message-name{display:block;color:var(--muted);font-size:10px;margin:0 5px 5px}.bubble{background:#f0edff;padding:13px 16px;border-radius:5px 17px 17px 17px;line-height:1.9;white-space:pre-wrap;font-size:13px;animation:appear .35s ease-out}.user .bubble{background:#f0f1f5;border-radius:17px 5px 17px 17px;direction:rtl}@keyframes appear{from{opacity:0;transform:translateY(8px) scale(.97)}}.typing{display:flex;gap:5px;padding:17px}.typing i{width:6px;height:6px;border-radius:50%;background:var(--violet);animation:dots .8s infinite alternate}.typing i:nth-child(2){animation-delay:.18s}.typing i:nth-child(3){animation-delay:.36s}@keyframes dots{to{transform:translateY(-5px);opacity:.3}}.composer{position:relative;margin-top:auto;border-top:1px solid var(--line);padding:16px 18px 27px}.composer textarea{display:block;width:100%;height:58px;max-height:130px;resize:none;border:1px solid #dedbe9;border-radius:17px;padding:17px 54px;outline:0;font:inherit;line-height:1.6;background:#fff}.composer textarea:focus{border-color:#a99cf2;box-shadow:0 0 0 4px #7558f50d}.composer button{position:absolute;top:27px;width:36px;height:36px;border:0;border-radius:11px;cursor:pointer}.composer .plus{right:29px;background:#f1eff8;color:#79748b;font-size:19px}.composer .send{left:29px;background:linear-gradient(145deg,var(--violet),#8f65eb);display:grid;place-items:center}.send svg{width:18px;fill:none;stroke:#fff;stroke-width:1.8}.send:disabled{filter:grayscale(1);opacity:.35}.composer small{position:absolute;right:24px;bottom:6px;color:#aaa7b4;font-size:9px}footer{text-align:center;color:#9691a6;font-size:10px;padding:10px 15px 22px}footer span{color:var(--violet)}@media(max-width:850px){.experience{grid-template-columns:1fr;margin-top:20px}.presence-card{min-height:360px}.creature{height:220px;transform:scale(.8);margin:-30px 0}.creature-copy p,.abilities{display:none}.chat-card{min-height:590px}}@media(max-width:520px){.experience{width:calc(100% - 18px)}.topbar{padding:0 12px}.glass-button{font-size:0}.glass-button svg{width:19px}.presence-card{min-height:330px}.chat-title{padding:0 17px}.messages{padding:17px}.message-content{max-width:82%}.composer small{display:none}.composer{padding-bottom:16px}.welcome{padding:18px}}
.composer{overflow:hidden}.composer textarea{overflow-y:hidden}
.mini-orb{position:relative}.mini-orb em{position:absolute;width:11px;height:5px;border-bottom:2px solid #fff;border-radius:50%;top:24px}.creature{cursor:pointer;outline:none;user-select:none;-webkit-tap-highlight-color:transparent}.creature:focus-visible{filter:drop-shadow(0 0 9px #7558f5)}.touch-hint,.creature-copy,.abilities{display:none!important}.presence-card{display:flex;align-items:center;justify-content:center;padding:18px!important}.creature.playful .body,.creature.auto-spin .body{animation:mascot-spin 1.15s cubic-bezier(.2,.8,.25,1)}.creature.playful .eye.left,.creature.wink .eye.left{animation:mascot-wink 1.15s ease}.creature.playful .orbit-one,.creature.auto-spin .orbit-one{animation:celebrate-orbit .7s linear 2}.creature.playful .orbit-two,.creature.auto-spin .orbit-two{animation:celebrate-orbit .55s linear 2 reverse}.creature.playful .glow,.creature.dance .glow{background:#e65cca55}.creature.boing .body{animation:boing 1.4s cubic-bezier(.25,.8,.25,1)}.creature.boing .shadow{animation:boing-shadow 1.4s ease}.creature.dance .body{animation:dance 1.8s ease-in-out}.creature.dance .body:before{animation:ear-right .35s ease-in-out 5 alternate}.creature.dance .body:after{animation:ear-left .35s ease-in-out 5 alternate}.creature.sleepy .eye{animation:sleepy 2.4s ease!important}.creature.sleepy .mouth{width:14px;height:9px;border:3px solid #2b1b65;border-radius:50%;right:40px}.creature.peek .face{animation:peek 1.8s ease}.creature.peek .body{animation:peek-body 1.8s ease}.creature.celebrate .body{animation:celebrate 1.9s ease}.creature.celebrate .mouth{height:18px;width:34px;background:#2b1b65;border:0;border-radius:5px 5px 20px 20px;right:30px}.creature.celebrate .orbit:after{animation:spark-pop .45s ease-in-out 4 alternate}.creature.squish .body{animation:squish 1.3s ease}.creature.squish .eye{animation:mascot-wink .65s ease 2}
@keyframes mascot-spin{0%{transform:translateY(0) rotate(0) scale(1)}25%{transform:translateY(-28px) rotate(80deg) scale(.92)}60%{transform:translateY(-10px) rotate(350deg) scale(1.08)}82%{transform:translateY(3px) rotate(365deg) scale(.96)}100%{transform:translateY(0) rotate(360deg) scale(1)}}@keyframes mascot-wink{0%,18%,65%,100%{transform:scaleY(1)}30%,55%{transform:scaleY(.08)}}@keyframes celebrate-orbit{to{transform:rotate(380deg) scale(1.14)}}@keyframes boing{0%,100%{transform:translateY(0)}20%{transform:translateY(8px) scaleX(1.12) scaleY(.88)}45%{transform:translateY(-52px) scaleX(.9) scaleY(1.1)}70%{transform:translateY(4px) scaleX(1.08) scaleY(.92)}}@keyframes boing-shadow{45%{transform:scale(.55);opacity:.25}}@keyframes dance{0%,100%{transform:rotate(0)}20%{transform:translateX(16px) rotate(12deg)}40%{transform:translateX(-16px) rotate(-12deg)}60%{transform:translateX(13px) rotate(9deg)}80%{transform:translateX(-10px) rotate(-7deg)}}@keyframes ear-right{to{transform:rotate(58deg) scale(1.12)}}@keyframes ear-left{to{transform:rotate(-58deg) scale(1.12)}}@keyframes sleepy{0%,100%{transform:scaleY(1)}18%,80%{transform:scaleY(.08)}}@keyframes peek{0%,100%{transform:translateX(0)}35%,65%{transform:translateX(-18px)}}@keyframes peek-body{0%,100%{transform:rotate(0)}35%,65%{transform:rotate(-9deg)}}@keyframes celebrate{0%,100%{transform:scale(1)}25%{transform:scale(.82) rotate(-8deg)}50%{transform:scale(1.15) rotate(7deg)}72%{transform:scale(.96) rotate(-3deg)}}@keyframes spark-pop{to{transform:scale(2.2) rotate(90deg);filter:hue-rotate(100deg)}}@keyframes squish{0%,100%{transform:scale(1)}25%{transform:scaleX(1.18) scaleY(.78)}50%{transform:scaleX(.84) scaleY(1.17)}75%{transform:scaleX(1.07) scaleY(.94)}}
@media(max-width:850px){body{overflow-x:hidden}.experience{display:flex!important;flex-direction:column!important;gap:12px!important;margin:12px auto!important}.presence-card{min-height:238px!important;height:238px!important;border-radius:22px!important;overflow:hidden}.creature{height:260px!important;transform:scale(.72)!important;margin:-12px 0!important}.chat-card{min-height:560px!important;border-radius:22px!important}.topbar{height:66px!important}.messages{height:390px!important}}
@media(max-width:520px){.experience{width:calc(100% - 12px)!important}.presence-card{height:205px!important;min-height:205px!important}.creature{transform:scale(.62)!important;margin:-28px 0!important}.chat-card{min-height:calc(100vh - 295px)!important}.chat-title{height:62px!important}.welcome{margin:0 auto!important;padding:14px!important}.suggestions{gap:7px!important}.suggestions button{padding:9px!important;grid-template-columns:36px 1fr 16px!important}.suggestions .icon{width:34px!important;height:34px!important}.composer textarea{font-size:14px!important}.message-content{max-width:86%!important}.brand strong{font-size:15px!important}.brand>div:last-child>span{font-size:9px!important}}
@media(prefers-reduced-motion:reduce){.creature .body,.creature .orbit,.creature .eye,.creature .shadow{animation-duration:.01ms!important;animation-iteration-count:1!important}}

/* Karen Tech mascot v2: matches the Telegram avatar while preserving motion. */
.creature .body{width:178px;height:184px;border-radius:48% 52% 47% 53%;background:radial-gradient(circle at 34% 19%,#cdbfff 0 6%,#9b7df7 30%,#7255e1 65%,#4a32ad 100%);box-shadow:inset -18px -25px 34px #2c1a754f,inset 13px 12px 24px #fff4,0 27px 48px #563bc65c}
.creature .body:before,.creature .body:after{width:48px;height:82px;top:45px;background:linear-gradient(145deg,#8d6df4,#5639c6);border-radius:58% 42% 62% 38%;box-shadow:inset 7px 5px 12px #fff2,0 9px 18px #3e299b35}
.creature .body:before{right:-25px;transform:rotate(14deg)}.creature .body:after{left:-25px;transform:rotate(-14deg)}
.creature .face{z-index:2;inset:67px 48px auto}.creature .face:before{content:"";position:absolute;z-index:-1;right:-32px;top:-27px;width:138px;height:91px;border-radius:44% 44% 42% 42%/48% 48% 44% 44%;background:radial-gradient(circle at 50% 20%,#4c3a87,#261b58 70%,#171039);border:3px solid #b49cf9;box-shadow:0 0 0 5px #d8cbff55,inset 0 8px 14px #fff1,inset 0 -8px 14px #08051e66,0 4px 11px #26156355}
.creature .eye{width:17px;height:24px;background:linear-gradient(#15102f,#09071a);box-shadow:inset 0 -3px 0 #05030f,0 0 0 2px #0f0a2b}.creature .eye:after{width:6px;height:7px;top:3px;right:3px;box-shadow:0 0 5px #fff}
.creature .mouth{width:24px;height:11px;right:29px;top:35px;border-bottom-color:#070514}.creature .cheek{z-index:3;width:21px;height:8px;top:112px;background:#f078c477;box-shadow:0 0 8px #ed71bd44}.creature .cheek.c1{right:39px}.creature .cheek.c2{left:39px}
.creature.listening .mouth,.creature.sleepy .mouth{right:34px;border-color:#0b071f}.creature.happy .mouth,.creature.celebrate .mouth{right:24px;background:#09061c}
.creature.dance .body:before{animation:ear-right-v2 .35s ease-in-out 5 alternate}.creature.dance .body:after{animation:ear-left-v2 .35s ease-in-out 5 alternate}@keyframes ear-right-v2{to{transform:rotate(34deg) scale(1.12)}}@keyframes ear-left-v2{to{transform:rotate(-34deg) scale(1.12)}}
.mini-karen{background:radial-gradient(circle at 34% 18%,#baa9ff,#8061eb 48%,#4b32ad);border-radius:48% 52% 47% 53%}.mini-karen:after{content:"";position:absolute;z-index:0;left:5px;right:5px;top:11px;height:18px;border-radius:45%;background:linear-gradient(#403176,#1c143e);border:1px solid #b7a2fa}.mini-karen .mk-eye,.mini-karen b{z-index:2}.mini-karen .mk-eye{top:16px;background:#080616}.mini-karen b{top:25px;border-bottom-color:#05030f}
@font-face{font-family:"Karen Vazirmatn";src:url("/fonts/Vazirmatn-RD.woff2") format("woff2");font-style:normal;font-weight:100 900;font-display:swap}
html,body,button,input,textarea,select{font-family:"Karen Vazirmatn","Segoe UI",Tahoma,sans-serif}
.brand strong,.chat-title b,.creature-copy h1,.public-announcement b{font-weight:750;letter-spacing:-.025em}
.bubble,.composer textarea,.type-suggestions button{font-weight:430;letter-spacing:-.008em}
.presence-card{display:block!important;padding:22px!important;min-width:0}.presence-card .creature{width:100%;margin:0 auto!important;transform:none!important}.public-announcement{position:relative;display:block;width:100%;max-width:100%;max-height:170px;overflow:auto;margin:0 auto 14px;padding:12px 14px;border:1px solid #dcd5ff;border-radius:16px;background:linear-gradient(135deg,#fff,#eee9ff);box-shadow:0 10px 28px #624bd319;text-align:right;animation:notice-in .45s ease-out;overflow-wrap:anywhere;word-break:break-word}.public-announcement[hidden]{display:none!important}.public-announcement b{display:block;color:#5641bd;font-size:12px;margin-bottom:5px}.public-announcement p{display:block!important;margin:0;color:#625e76;font-size:11px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.creature-copy,.touch-hint,.abilities{display:none!important}@keyframes notice-in{from{opacity:0;transform:translateY(8px)}}@media(max-width:850px){.experience{display:grid!important;grid-template-columns:1fr!important;gap:14px!important}.presence-card{height:auto!important;min-height:300px!important;padding:14px!important}.presence-card .creature{height:220px!important;transform:scale(.76)!important;transform-origin:center center!important;margin:-20px auto!important}.public-announcement{max-height:150px;margin:4px auto 6px;text-align:right}.chat-card{width:100%;min-width:0}}@media(max-width:520px){.experience{width:calc(100% - 16px)!important;margin:10px auto!important}.presence-card{height:auto!important;min-height:260px!important;border-radius:20px!important}.presence-card .creature{height:205px!important;transform:scale(.66)!important;margin:-28px auto!important}.public-announcement{max-height:135px;padding:10px 11px;margin:0 auto 4px}.public-announcement p{font-size:10px;line-height:1.75}.chat-card{min-height:560px!important}.topbar{padding:0 10px!important}.brand{min-width:0}.brand>div:last-child{min-width:0}.brand strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:210px}.glass-button{flex:0 0 auto}}
.public-brand-logos{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;flex:1;padding:0 18px}.public-brand-logos img{display:block;width:auto;height:48px;max-width:150px;object-fit:contain;padding:4px 8px;border:1px solid #e5e0f3;border-radius:12px;background:#ffffffdb;box-shadow:0 7px 20px #513d9b15}@media(max-width:850px){.public-brand-logos{gap:6px;padding:0 6px}.public-brand-logos img{height:40px;max-width:112px}}@media(max-width:520px){.public-brand-logos{justify-content:flex-start;overflow:hidden}.public-brand-logos img{height:34px;max-width:82px;padding:3px 5px;border-radius:9px}}
.download-files{display:grid;gap:9px;margin-top:14px;padding-top:12px;border-top:1px solid #cec5f066}.download-file{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 13px;border-radius:13px;background:#fff;border:1px solid #d9d1f4;color:#5846bd!important;font-size:12px;font-weight:700;text-decoration:none!important;box-shadow:0 7px 18px #5f49bd10;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.download-file:hover,.download-file:focus-visible{transform:translateY(-1px);border-color:#8f7bed;box-shadow:0 10px 24px #5f49bd20;outline:none}.download-file span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.download-file b{flex:0 0 auto;padding:5px 9px;border-radius:8px;background:#7560e9;color:#fff;font-size:10px}@media(max-width:520px){.download-file{padding:10px;font-size:11px}.download-file b{font-size:9px}}

/* Mobile single-screen layout: only the message list scrolls. */
@media(max-width:520px){html,body{width:100%;height:100%;overflow:hidden}body{min-height:100dvh}.app-shell{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}.topbar{flex:0 0 66px}.experience{display:flex!important;flex:1 1 auto;flex-direction:column!important;min-height:0;height:auto!important;width:calc(100% - 12px)!important;margin:6px auto!important;gap:6px!important;overflow:hidden}.presence-card{order:1;display:grid!important;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:5px;direction:ltr;flex:0 0 116px;height:116px!important;min-height:116px!important;padding:7px!important;border-radius:18px!important}.presence-card:has(.public-announcement[hidden]){grid-template-columns:1fr}.presence-card:has(.public-announcement[hidden]) .creature{justify-self:center}.presence-card .stars{display:none}.presence-card .creature{grid-column:1;width:92px!important;height:102px!important;transform:scale(.36)!important;transform-origin:center!important;margin:0!important}.public-announcement{grid-column:2;direction:rtl;max-height:98px!important;overflow:hidden!important;padding:8px 9px;margin:0!important;border-radius:13px}.public-announcement b{font-size:11px;margin-bottom:3px}.public-announcement p{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:9px;line-height:1.65}.chat-card{order:2;flex:1 1 auto;height:auto!important;min-height:0!important;max-height:none!important;border-radius:18px!important}.chat-title{height:52px!important;flex:0 0 52px;padding:0 14px!important}.messages{height:auto!important;min-height:0!important;flex:1 1 auto;padding:12px!important;overflow-y:auto!important;overscroll-behavior:contain}.welcome{flex:1 1 auto;min-height:0;margin:auto!important;overflow-y:auto}.composer{flex:0 0 72px;background:#ffffffed;padding:9px 10px 11px!important}.composer textarea{height:50px!important;max-height:50px!important;padding:13px 45px!important}.composer button{top:16px!important}.composer .plus{right:18px!important}.composer .send{left:18px!important}footer{display:none!important}}
@media(max-width:520px) and (max-height:620px){.presence-card{flex-basis:88px;height:88px!important;min-height:88px!important}.presence-card .creature{height:78px!important;transform:scale(.28)!important}.public-announcement{max-height:74px!important}.public-announcement p{-webkit-line-clamp:2}.chat-title{height:46px!important;flex-basis:46px}}

/* The extra-action button has no active feature, so keep the composer clean. */
.composer .plus{display:none!important}.composer textarea{padding-right:18px}@media(max-width:520px){.composer textarea{padding-right:14px!important}}

/* Visible, compact handoff to Karen's messaging bots. */
.messenger-launcher{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 18px 12px;border-top:1px solid #e7e2f4;background:linear-gradient(135deg,#fbfaff,#f2efff);direction:rtl}.messenger-copy{display:grid;gap:2px;min-width:0}.messenger-copy strong{font-size:12px;font-weight:800;color:#2f2b48;white-space:nowrap}.messenger-copy span{font-size:9px;color:#817b92;white-space:nowrap}.messenger-actions{display:flex;align-items:center;gap:8px}.messenger-link{display:flex;align-items:center;gap:8px;min-width:116px;padding:8px 10px;border:1px solid transparent;border-radius:13px;color:#fff;text-decoration:none;box-shadow:0 8px 20px #33266c18;transition:transform .18s ease,box-shadow .18s ease}.messenger-link:hover,.messenger-link:focus-visible{transform:translateY(-2px);box-shadow:0 11px 26px #33266c28;outline:2px solid #8b7bf0;outline-offset:2px}.messenger-link.bale{background:linear-gradient(135deg,#23a89a,#168b82)}.messenger-link.telegram{background:linear-gradient(135deg,#32a8e0,#2189c8)}.messenger-icon{display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;border-radius:9px;background:#ffffff2e;color:#fff;font-size:16px;font-weight:900;fill:#fff;padding:5px}.messenger-link span:last-child{display:grid;gap:1px}.messenger-link b{font-size:11px;font-weight:800}.messenger-link small{font-size:8px;color:#ffffffe0;white-space:nowrap}
@media(max-width:700px){.messenger-launcher{padding:8px 10px 10px;gap:8px}.messenger-copy{display:none}.messenger-actions{width:100%;gap:7px}.messenger-link{flex:1;justify-content:center;min-width:0;padding:7px 8px;border-radius:12px}.messenger-icon{flex-basis:27px;width:27px;height:27px}.messenger-link b{font-size:11px}.messenger-link small{font-size:7.5px}}
@media(max-width:520px){.messenger-launcher{flex:0 0 55px;height:55px;padding:6px 9px 8px}.messenger-link{height:41px}.messenger-link span:last-child{display:block}.messenger-link small{display:none}.messenger-link b{font-size:12px}.messenger-icon{flex-basis:28px;width:28px;height:28px}}
@media(max-width:360px){.messenger-actions{gap:5px}.messenger-link{gap:5px;padding-inline:6px}.messenger-link b{font-size:11px}}
@media(max-width:520px){
  .glass-button{min-width:72px;justify-content:center;gap:5px;padding:8px 10px!important;font-size:0!important;line-height:1;white-space:nowrap}
  .glass-button::after{content:"پاک کردن";font-size:10px;font-weight:700}
  .glass-button svg{width:15px!important;height:15px;flex:0 0 15px}
  .brand{flex:0 1 auto}
  .brand strong{max-width:125px!important}
}
@media(max-width:360px){
  .topbar{height:66px!important;min-height:66px;display:flex!important;align-items:center;gap:4px!important;padding:0 6px!important}
  .brand{grid-area:auto;min-width:0}
  .brand strong{max-width:102px!important}
  .public-brand-logos{grid-area:auto;flex:0 1 auto!important;justify-content:center!important;overflow:hidden!important;padding:0!important}
  .public-brand-logos img{height:29px!important;max-width:46px!important}
  .glass-button{grid-area:auto;width:auto;min-width:38px;height:34px;padding:6px!important;border-radius:10px}
  .glass-button::after{content:"پاک";font-size:9px}
}
.message.bot .avatar{width:43px;height:43px;flex-basis:43px;background:transparent;box-shadow:none;overflow:visible}.mini-karen{position:relative;width:39px;height:41px;border-radius:48% 52% 46% 54%;background:radial-gradient(circle at 33% 24%,#b9aaff,#8064f3 40%,#5036bc);box-shadow:0 7px 17px #6248cc55,inset 4px 5px 7px #ffffff35}.mk-ear{position:absolute;width:14px;height:20px;top:8px;background:#6e51dd;border-radius:60% 40% 65% 35%;z-index:-1}.mk-ear.e1{right:-7px;transform:rotate(30deg)}.mk-ear.e2{left:-7px;transform:rotate(-30deg)}.mk-eye{position:absolute;width:5px;height:7px;top:14px;border-radius:50%;background:#21174f}.mk-eye:after{content:"";position:absolute;width:2px;height:2px;background:#fff;border-radius:50%;top:1px;right:1px}.mk-eye.x1{right:10px}.mk-eye.x2{left:10px}.mini-karen b{position:absolute;width:9px;height:4px;border-bottom:2px solid #28185c;border-radius:50%;right:15px;top:25px}.message.bot:hover .mini-karen{animation:mini-wave .65s ease}.message.conjuring .mini-karen{animation:mini-arrive .8s cubic-bezier(.2,.8,.2,1),mini-hover 1.2s .8s ease-in-out infinite}.message.conjuring .mk-ear.e1{animation:mini-ear-one .3s ease-in-out infinite alternate}.message.conjuring .mk-ear.e2{animation:mini-ear-two .3s ease-in-out infinite alternate}.message.conjuring .mk-eye{animation:mini-blink .8s infinite}.message.conjuring .avatar:after{content:"";position:absolute;width:55px;height:4px;border-radius:50%;background:linear-gradient(90deg,transparent,#8c72f5,#e56bce,transparent);filter:blur(2px);top:46px;right:-8px;animation:magic-line 1s ease-in-out infinite}.message-content{position:relative}.magic-dust{display:none;position:absolute;inset:-20px -15px;pointer-events:none}.conjuring .magic-dust,.magic-open .magic-dust{display:block}.magic-dust i{position:absolute;width:5px;height:5px;background:#8f74f5;transform:rotate(45deg);animation:dust 1.1s ease-out infinite}.magic-dust i:nth-child(1){right:10%;top:10%;animation-delay:.1s}.magic-dust i:nth-child(2){right:40%;top:0;background:#e65cca;animation-delay:.4s}.magic-dust i:nth-child(3){left:12%;top:35%;background:#4dd9df;animation-delay:.7s}.magic-dust i:nth-child(4){left:38%;bottom:0;animation-delay:.9s}.magic-answer{position:relative;overflow:hidden;animation:magic-reveal .65s cubic-bezier(.2,.8,.2,1)!important;box-shadow:0 10px 35px #7558f51b}.magic-answer:before{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 20%,#ffffffb8 48%,transparent 70%);transform:translateX(120%);animation:shine 1.3s ease-out}.magic-answer:after{content:"▋";color:#7558f5;animation:cursor .55s step-end infinite;margin-right:2px}.message:not(.conjuring) .magic-answer:after{display:none}@keyframes mini-arrive{0%{opacity:0;transform:translateX(70px) rotate(280deg) scale(.3)}70%{transform:translateX(-7px) rotate(370deg) scale(1.12)}100%{opacity:1;transform:translateX(0) rotate(360deg) scale(1)}}@keyframes mini-hover{50%{transform:translateY(-5px) rotate(3deg)}}@keyframes mini-wave{50%{transform:rotate(18deg) scale(1.08)}}@keyframes mini-ear-one{to{transform:rotate(55deg)}}@keyframes mini-ear-two{to{transform:rotate(-55deg)}}@keyframes mini-blink{0%,70%,100%{transform:scaleY(1)}80%{transform:scaleY(.08)}}@keyframes magic-line{50%{transform:scaleX(.65);opacity:.35}}@keyframes dust{0%{opacity:0;transform:translateY(15px) rotate(45deg) scale(.2)}45%{opacity:1}100%{opacity:0;transform:translateY(-28px) rotate(180deg) scale(1.4)}}@keyframes magic-reveal{from{opacity:0;transform:scale(.82) translateX(25px);filter:blur(8px)}to{opacity:1;transform:scale(1);filter:blur(0)}}@keyframes shine{to{transform:translateX(-140%)}}@keyframes cursor{50%{opacity:0}}@media(max-width:520px){.message.bot .avatar{width:36px;height:36px;flex-basis:36px}.mini-karen{transform:scale(.86);transform-origin:top right}.bubble{font-size:12px!important;line-height:1.85!important}.magic-dust{inset:-12px -8px}}
.chat-card{position:relative}
.type-suggestions{position:absolute;z-index:20;right:22px;left:22px;bottom:92px;display:grid;gap:6px;padding:8px;border:1px solid #ded7f7;border-radius:16px;background:#fff;box-shadow:0 18px 45px #30226326}
.type-suggestions[hidden]{display:none}
.type-suggestions button,.followup{width:100%;border:0;border-radius:11px;background:#f7f5ff;color:#332d50;padding:9px 12px;text-align:right;font:inherit;cursor:pointer}
.type-suggestions button:hover,.type-suggestions button:focus-visible,.followup:hover,.followup:focus-visible{background:#eee9ff;outline:2px solid #c4b6ff}
.type-suggestions small,.followup small{display:block;margin-bottom:3px;color:#7c6fd1;font-size:10px}
.answer-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.answer-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 11px;border:1px solid #cbbef8;border-radius:11px;background:#fff;color:#6048cf!important;text-decoration:none!important;font-size:11px;font-weight:700}
.answer-action:hover,.answer-action:focus-visible{border-color:#775ce3;box-shadow:0 6px 16px #6048cf24;outline:none}
.answer-suggestions{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:0 4px 7px;color:#777087}
.answer-suggestions>span{font-size:9px;white-space:nowrap;color:#827a98}
.answer-suggestion-list{display:flex;flex:1 1 180px;flex-wrap:wrap;gap:5px}
.followup{width:auto;max-width:100%;border:1px solid #e3ddf7;border-radius:999px;background:#fbfaff;padding:5px 9px;font-size:10px;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.followup small{display:none}
.answer-feedback{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:12px;color:#777087;font-size:10px}
.answer-feedback button{border:1px solid #dcd5f3;border-radius:9px;background:#fff;color:#6252b7;padding:5px 9px;cursor:pointer;font:inherit}
.answer-feedback button:disabled{opacity:.55}
@media(max-width:700px){.type-suggestions{display:none!important}.answer-action{flex:1 1 auto}.answer-suggestions{margin-bottom:6px;gap:4px}.answer-suggestions>span{font-size:8px}.answer-suggestion-list{gap:4px}.followup{padding:4px 8px;font-size:9px;max-width:calc(100vw - 112px)}}
