:root{--blue:#405bd3;--blue-dark:#3047b9;--ink:#17191c;--muted:#92969d;--line:#e6e6e6;--paper:#ededed;color-scheme:light}
body{background:#dce0e6}.primary,.secondary{border-radius:5px;min-height:44px;box-shadow:none}.icon{width:44px;height:44px;border-radius:4px;flex-shrink:0}.icon:hover{background:#dfe1e6}#app{max-width:460px;box-shadow:0 0 25px #18223517}.top{height:62px;padding:7px 8px;display:grid;grid-template-columns:84px minmax(0,1fr) 84px;gap:0;background:#edededf5;border-bottom:1px solid #dedede;position:relative}.header-left{display:flex;align-items:center;height:44px}.header-actions{display:flex;justify-content:flex-end;align-items:center}.top .title{text-align:center;min-width:0}.top h1{font-size:19px;margin:0;font-weight:600;line-height:1.35;letter-spacing:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top.chat h1{font-size:17px}.top small{color:#9a9ca1;font-size:10px;margin-top:3px}.connection{width:44px;height:44px;display:grid;place-items:center}.connection i{width:9px;height:9px;background:var(--blue);border:2px solid #f4f6ff;border-radius:50%;box-shadow:0 0 0 2px #405bd31a}.header-spacer{width:44px}.top .back{margin-left:0}.bottom{height:65px;background:#f8f8f8;border-top:1px solid #d8d8d8;padding:4px 0 max(5px,env(safe-area-inset-bottom))}.tab{gap:3px;color:#202225;min-height:44px}.tab svg{width:26px;height:26px}.tab.active:before{display:none}.badge{top:0;background:#ed4e4e;border:2px solid #f8f8f8;padding:0 3px;line-height:15px}
.list{padding:0;background:white}.list-row{gap:13px;padding:13px 16px;border-bottom:1px solid #ededed;border-radius:0;min-height:76px}.list-row:hover,.list-row.pinned{background:#f4f4f4}.list-row strong{font-size:16px;font-weight:500}.list-row p{font-size:12px;color:#989a9f;margin:6px 0 0}.list-row time{font-size:10px;color:#aaa}.row-end{align-self:flex-start;text-align:right;max-width:45px;flex-shrink:0}.row-end small{display:block;font-size:9px;color:#babcc2;margin-top:18px}.friend-star{font-size:10px;color:#b1b8c9}.draft-label{color:#df5b52}.avatar-holder{position:relative;flex-shrink:0}.avatar{width:50px;height:50px;border-radius:5px;object-position:center;cursor:pointer}.avatar.large{width:76px;height:76px;border-radius:6px}.avatar.service{background:#405bd3;color:white}.avatar-unread{position:absolute;top:-6px;right:-6px;background:#ed4e4e;color:white;border-radius:12px;min-width:18px;text-align:center;line-height:18px;font-size:10px;font-weight:400;padding:0 4px}.muted-unread{width:8px;height:8px;background:#ed4e4e;border-radius:50%;position:absolute;top:-3px;right:-3px}.section-label{font-size:12px;color:#8d9096;margin:15px 16px 6px;letter-spacing:0}.panel{background:white;margin:9px 0 14px;padding:0 16px;border:0;border-radius:0}.setting-row{gap:14px;padding:13px 0;border-bottom:1px solid #ededed;min-height:53px;font-size:15px}.setting-row>span{min-width:0;overflow-wrap:anywhere}.setting-row small{font-size:11px;color:#a3a5aa;text-align:right;max-width:130px}.setting-row svg{color:#405bd3;width:22px;height:22px;flex-shrink:0}.setting-row svg:last-child{width:15px;color:#babcc1}.contact-shortcuts{margin-top:0}.contact-shortcuts .setting-row{min-height:57px}.request-row{margin:10px 0;padding:16px;background:white;border:0;border-radius:0;width:100%;min-height:56px}.request-row small{display:block;font-size:11px;color:#999;margin-top:5px}.empty{padding:45px 25px;color:#999}.hint{margin:14px 16px;color:#999}.small-note{color:#9a9ca1;margin:18px 15px;line-height:1.8}.locked{color:#999;line-height:1.7}
.chat-content{padding:10px 12px 24px;background:#ededed}.date-line{color:#aaa;margin:10px 0 20px}.message{gap:10px}.message .avatar{width:39px;height:39px;border-radius:4px}.bubble-wrap{max-width:calc(100% - 61px)}.bubble{padding:10px 13px;border:1px solid #e3e3e3;border-radius:4px;box-shadow:none;position:relative}.bubble:before{content:'';width:8px;height:8px;background:white;border-left:1px solid #e3e3e3;border-bottom:1px solid #e3e3e3;transform:rotate(45deg);position:absolute;left:-5px;top:14px}.own .bubble{background:#d5ddfb;border-color:#cbd5f3;border-radius:4px}.own .bubble:before{left:auto;right:-5px;background:#d5ddfb;border:0;border-top:1px solid #cbd5f3;border-right:1px solid #cbd5f3}.voice{gap:12px;min-width:157px;color:#3a3f4c;min-height:46px}.voice.playing{background:#f6f8ff}.voice time{color:#999}.bars i{background:#7f8fae}.voice-meta{padding:2px 3px;color:#a1a3a8;min-height:24px}.voice-meta button{font-size:15px;color:#a0a3aa;padding:0 8px;min-width:44px;min-height:25px}.transcript{color:#73777e;padding:8px 9px;background:#ffffff91;border-radius:4px;border:0;margin-top:5px}.quote{border-left:3px solid #c3c9d9;color:#94989f}.quote button{float:right;min-width:25px}.system-message{color:#a5a7ac;margin:16px 20px}.contact-card{border:1px solid #ddd;border-radius:4px;min-width:0;min-height:65px}.contact-card .avatar{border-radius:4px}.contact-card small{color:#aaa}.mini-label{color:#a4a8af}.time-card{background:#fff;color:#272c35;border-radius:5px;width:100%;border:1px solid #dfe2e9}.time-card p{font-size:12px;color:#9a9ea7;line-height:1.8;opacity:1}.time-card span{color:var(--blue);border:0}.chat-photo{padding:0;display:block;max-width:100%;border-radius:5px;overflow:hidden}.chat-photo img{display:block;width:100%;max-width:280px;max-height:270px;object-fit:cover}.chat-video{max-width:100%;width:280px;border-radius:4px}.photo-caption{font-size:12px;color:#8f949c;line-height:1.6;margin-top:5px}.assistant-tools{background:#f7f8fa;border:1px solid #dfe2e8;border-radius:5px;padding:12px;margin:12px 0;font-size:12px}.assistant-tools small{color:#9399a5;display:block;line-height:1.7}.assistant-tools>div{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}.assistant-tools button{min-height:44px;background:white;border:1px solid #e1e5ef;border-radius:4px;padding:7px 10px;color:#52679e;font-size:12px}
.composer{background:#f6f6f6;border-top:1px solid #dedede;padding:7px 6px max(8px,env(safe-area-inset-bottom))}.compose-row{gap:3px}.compose-row textarea{height:44px;max-height:126px;border:1px solid #dedee1;background:#fff;border-radius:4px;padding:10px 8px;font-size:14px}.send{height:44px;padding:0 10px;border-radius:4px;flex-shrink:0}.compose-row .icon{width:36px;height:44px;min-width:36px}.emoji-button{font-size:27px;font-weight:300}.reply-hints{display:block;padding:1px 3px 8px;max-height:151px;overflow:auto}.reply-heading{display:flex;align-items:center;justify-content:space-between;color:#aaa;font-size:10px;gap:6px}.reply-heading small{font-size:10px}.reply-heading .soft{color:#8b97b3;font-size:11px;min-height:26px;padding:0;white-space:normal}.reply-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.reply-grid button{font-size:11px;min-height:44px;border:1px solid #dce2f3;color:#566a9e;background:#fafbff;border-radius:5px;padding:5px 7px;overflow-wrap:anywhere;white-space:normal;line-height:1.6}.reply-grid button.selected{border-color:#8197dc;background:#eaf0ff}.draft-tools{text-align:right;font-size:10px;padding:0 6px 5px;color:#7185b2}.draft-tools button{min-height:26px}.queue-hint{font-size:10px;color:#a2a8b2;padding:0 7px 5px}.idea-row{display:block}.idea-row strong{display:block;font-size:13px;margin-bottom:5px}.idea-row span{display:block;font-size:12px;color:#9299a7;font-weight:400}
.cover{height:188px;background:linear-gradient(150deg,#223f4d,#637984 70%,#b1b7b3);overflow:visible;padding:28px 20px}.cover:before,.cover:after{display:none}.cover strong{font-size:22px;letter-spacing:1px}.cover p{font-size:11px;opacity:.72;line-height:1.8;max-width:260px}.cover-avatar{position:absolute;bottom:-15px;right:18px;border:3px solid #fff;border-radius:7px}.cover-avatar .avatar{width:65px;height:65px}.feed{padding:25px 0;background:white;min-height:calc(100% - 188px)}.post{padding:18px 15px;border:0;border-bottom:1px solid #eee;border-radius:0;margin:0}.post-head .avatar{border-radius:4px}.post-name{font-size:14px;color:#526a9b;font-weight:600;padding:0;min-height:24px}.post-head small{color:#aaa;margin-top:3px}.post-text{font-size:14px;line-height:1.85;margin:10px 0 10px 49px}.post-photo{padding:0;display:block;margin-left:49px;width:calc(100% - 49px);text-align:left}.post-image{max-height:230px;border-radius:3px}.post-actions{padding:8px 0 0 49px;color:#798aa8}.post-actions button{min-height:34px}.post-actions svg{width:17px;height:17px}.comments{background:#f4f4f4;padding:8px 10px;margin:8px 0 0 49px;border-radius:0}.comments button{color:#526a9b}.photo-full{border-radius:5px;display:block}.saved-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:15px}.saved-photos button{padding:0;min-width:0}.saved-photos img{width:100%;display:block}
.profile-hero{padding:29px 20px;gap:16px;margin:0 0 12px;width:100%;text-align:left}.profile-hero>span{flex:1;min-width:0}.profile-hero h2{font-weight:600;overflow-wrap:anywhere}.profile-hero p{color:#aaa;overflow-wrap:anywhere}.profile-hero>svg{color:#bbb;width:16px}.about{padding:8px 19px;color:#92969e;line-height:1.9;overflow-wrap:anywhere}.setting-row select{border:1px solid #ddd;border-radius:4px;padding:7px;font-size:12px;max-width:100px}.register{background:#f7f8fa;padding:32px 26px 24px}.reg-brand{margin:10px 0 26px}.reg-brand img{height:75px;width:75px;filter:none}.reg-brand h1{font-size:31px;letter-spacing:5px;text-indent:5px;font-weight:600}.register label.field input{border-color:#ddd;border-radius:4px;min-height:46px}.avatars button{border-radius:7px}.avatars .avatar{border-radius:5px;pointer-events:none}.reg-footer{color:#a1a8b4}.modal-backdrop{background:#10182366;padding:10px}.modal{border-radius:12px;padding:22px;max-height:88dvh;box-shadow:0 15px 50px #101b3540;overscroll-behavior:contain}.modal h2{font-size:19px;font-weight:600;line-height:1.4;padding-right:22px}.modal p{font-size:13px;color:#8e959f}.modal .close{color:#9399a3;font-size:25px;line-height:28px;min-width:36px;min-height:36px;margin:-9px -10px 0 0}.modal input,.modal textarea,.modal select{border-color:#ddd;border-radius:4px}.modal .actions{gap:8px}.checkline{margin:9px 0;min-height:38px}.emoji-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.emoji-grid button{font-size:26px;min-height:52px;background:#f5f5f5;border-radius:5px}.extras-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:17px}.extras-grid button{min-height:75px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#f6f6f7;border-radius:5px;font-size:11px}.extras-grid svg{color:#7d899c}.day-actions button{display:block}#toast{border-radius:6px;font-size:12px;max-width:min(85vw,420px);line-height:1.8}
.catalog-summary{background:#f8f9fc;border:1px solid #e0e4ef;border-radius:5px;color:#455779}.catalog-summary small{color:#939db0;opacity:1}.catalog-summary progress::-webkit-progress-bar{background:#e0e5f0}.catalog-summary progress::-webkit-progress-value{background:#6c85bf}.catalog-tools select{border-color:#ddd;border-radius:4px;min-height:44px}.catalog-status{max-width:70px}.catalog-status small{line-height:1.6}.search{border-color:#ddd;border-radius:5px;min-height:44px}.dossier,.relationship{border-radius:5px}.intro-banner{padding:23px 20px;background:#f7f8fb;border-bottom:1px solid #e7e9ee}.intro-banner span{letter-spacing:0}.starter-list{padding:0}.personality{font-size:12px!important}
.account-screen{height:100%;padding:38px 24px;overflow:auto;background:#f8f9fb}.account-brand{text-align:center;margin:15px 0 30px}.account-brand img{width:73px;height:73px}.account-brand h1{font-size:28px;margin:16px 0 7px;letter-spacing:4px}.account-brand p{font-size:12px;color:#929aaa}.account-slots{display:grid;gap:13px}.slot-row{background:white;border:1px solid #dfe4ee;border-radius:7px;padding:17px 14px;display:flex;gap:13px;align-items:center;text-align:left;min-height:86px}.slot-row>span:nth-child(2){flex:1;min-width:0}.slot-row strong{display:block;font-size:15px;font-weight:600}.slot-row small{display:block;font-size:11px;color:#9aa4b4;margin-top:8px;line-height:1.5}.slot-row>svg{width:16px;color:#aeb5c2}.slot-number{width:34px;height:34px;background:#ecf0f9;color:#758bbb;display:grid;place-items:center;border-radius:50%;font-size:14px}.account-screen>.about{padding:12px 0;margin-top:20px}
.brand-stage{position:fixed;inset:0;background:radial-gradient(ellipse at 50% 44%,#182a3d,#080f18 68%);z-index:100;display:flex;flex-direction:column;align-items:center;justify-content:center;color:white;overflow:hidden}.company-mark{width:142px;height:142px;opacity:0;transform:scale(.83);animation:brandReveal 1.2s ease .7s forwards;filter:drop-shadow(0 0 20px #80b9e92a)}.company-name{font-size:24px;letter-spacing:7px;text-indent:7px;margin-top:15px;opacity:0;animation:brandText .8s ease 1.3s forwards}.brand-stage p{font-size:10px;letter-spacing:3px;color:#8196aa;opacity:0;animation:brandText .8s ease 1.5s forwards}.brand-stage small{font-size:11px;color:#64798e;margin-top:39px;opacity:0;animation:brandText .8s ease 1.9s forwards}.brand-drop{position:absolute;top:calc(50% - 230px);width:17px;height:23px;background:#bfdef7;border-radius:50% 50% 50% 0;transform:rotate(-45deg);opacity:0;animation:dropIn .9s cubic-bezier(.4,.2,.6,1) forwards}.brand-ripples{position:absolute;top:calc(50% - 37px);width:120px;height:30px}.brand-ripples i{display:block;border:1px solid #82b9e0;border-radius:50%;position:absolute;inset:0;opacity:0;animation:ripple 1.6s ease-out .65s forwards}.brand-ripples i+ i{animation-delay:.9s}.brand-skip{position:absolute;right:max(22px,env(safe-area-inset-right));top:max(22px,env(safe-area-inset-top));color:#96a5b4;border:1px solid #60728760;border-radius:4px;padding:9px 16px;font-size:12px;min-height:44px}
@keyframes brandReveal{to{opacity:1;transform:scale(1)}}@keyframes brandText{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@keyframes dropIn{0%{opacity:0;transform:translateY(-40px) rotate(-45deg)}25%{opacity:1}90%{opacity:1}100%{opacity:0;transform:translateY(178px) rotate(-45deg) scale(.5)}}@keyframes ripple{0%{opacity:0;transform:scale(.1)}20%{opacity:.5}100%{opacity:0;transform:scale(3.4)}}
@media(max-width:360px){.top{grid-template-columns:78px minmax(0,1fr) 78px}.top h1{font-size:17px}.compose-row .icon{width:31px;min-width:31px}.compose-row textarea{font-size:13px}.send{padding:0 8px}.reply-grid button{font-size:10px;padding:5px 4px}.list-row{padding:12px}.list-row strong{font-size:15px}.modal{padding:18px}.relationship>div{flex-wrap:wrap}.setting-row{font-size:14px}}
@media(max-height:700px){.top{height:62px;padding-top:7px}.bottom{height:65px}.register{padding-top:18px}.reg-brand{margin:2px 0 16px}.reg-brand img{width:60px;height:60px}.reg-brand h1{font-size:26px;margin:10px 0 5px}.reply-grid button{min-height:44px}.reg-footer{padding-top:18px}}
@media(prefers-reduced-motion:reduce){.brand-drop,.brand-ripples{display:none}.company-mark,.company-name,.brand-stage p,.brand-stage small{animation:none;opacity:1;transform:none}.voice.playing .bars i{animation:none}}
.menu-backdrop{position:fixed;inset:0;background:transparent;z-index:20}.quick-menu{position:absolute;top:58px;right:max(10px,calc((100vw - 460px)/2 + 10px));width:205px;background:#3a3d43;color:white;border-radius:5px;padding:0 14px;box-shadow:0 6px 22px #151a2827}.quick-menu:before{content:'';width:11px;height:11px;position:absolute;right:16px;top:-5px;background:#3a3d43;transform:rotate(45deg)}.quick-menu .setting-row{border-bottom-color:#54575d;min-height:55px;position:relative}.quick-menu .setting-row svg{color:white}.quick-menu .setting-row small{color:#aeb4bf;font-size:10px}.quick-menu .setting-row:last-child{border:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.compose-row .icon{width:44px;min-width:44px}.send{min-width:44px}.voice-meta button,.draft-tools button,.reply-heading .soft{min-height:44px;min-width:44px}
#app[aria-busy=true]{pointer-events:none;opacity:.75}

.message-date{text-align:center;color:#a2a5ad;font-size:11px;padding:8px}.contact-shortcuts [data-action="requests"] small{background:#e84b4b;color:white;border-radius:12px;min-width:19px;text-align:center;padding:2px 5px}.clock-mode{padding:12px;background:#f2f5fc;color:#52679e;border-radius:5px;margin:14px 0}.wallet-balance{padding:25px 20px;background:#eef2fc}.wallet-balance h2{font-size:35px;margin:10px 0;color:#354875}.wallet-balance h2 span{font-size:13px}.wallet-balance small,.wallet-balance p{font-size:12px;color:#7d8aa5}.shop-list{padding:0 15px}.shop-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 0;border-bottom:1px solid #e6e8ee}.shop-item>div{min-width:0}.shop-item p,.shop-item small{font-size:11px;color:#8e96a6;line-height:1.8}.shop-item strong{font-size:14px}.order-row{padding:15px;border-bottom:1px solid #eee}.order-row p,.order-row small{font-size:12px;color:#969da9;line-height:1.8}.coverage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:18px;gap:12px}.coverage-grid>div{background:#f4f6fb;padding:15px;border-radius:5px}.coverage-grid strong{display:block;font-size:25px;color:#4f6597}.coverage-grid small{display:block;font-size:12px;color:#8793ad}.gift-list{margin-bottom:10px}
.ending-banner{background:#eef3ff;color:#173f77;border-bottom:1px solid #dce5f7}
.ending-banner .ending-status{font-weight:650;color:#173f77}
