
#home-space{color-scheme:light;--qs-bg:#fff;--qs-text:#17181b;--qs-line:#ededed;--qs-muted:#999;--qs-blue:#4f698c;max-width:420px;margin:auto;color:var(--qs-text);font:16px/1.5 Arial,"Microsoft YaHei",sans-serif}
#home-space *{box-sizing:border-box}#home-space button,#home-space input,#home-space textarea,#home-space select{font:inherit}#home-space button{color:inherit;border:0;background:none;cursor:pointer;min-height:44px;padding:8px}#home-space button:disabled{opacity:.35;cursor:default}#home-space [hidden]{display:none!important}#home-space .qs-phone{background:#fff;border:1px solid #eee;position:relative}#home-space .qs-scroll{height:690px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;position:relative}#home-space .qs-scroll::-webkit-scrollbar{display:none}#home-space .qs-head{height:58px;position:sticky;top:0;display:flex;align-items:center;padding:0 12px;gap:6px;z-index:8;background:transparent}#home-space .qs-head.solid{background:#fff;border-bottom:1px solid #f0f0f0}#home-space .qs-title{flex:1;text-align:center;font-size:18px;font-weight:500}#home-space .qs-head:not(.solid) .qs-title{visibility:hidden}#home-space .qs-icon{width:42px;display:grid;place-items:center;position:relative}#home-space .qs-head:not(.solid) .qs-icon{background:#0000000f;border-radius:50%;color:#fff;min-height:36px;width:36px;margin:0 3px}#home-space svg{width:23px;height:23px;stroke-width:1.8}#home-space i{font-style:normal;font-size:25px;line-height:1;display:inline-flex;align-items:center;justify-content:center;min-width:23px;min-height:23px}
#home-space .qs-cover{height:236px;margin-top:-58px;padding:148px 17px 20px;background:radial-gradient(ellipse at 10% 6%,#fff 3%,transparent 50%),radial-gradient(ellipse at 90% 18%,#f8faff 5%,transparent 50%),linear-gradient(135deg,#e3eefc,#f0f3fc 55%,#e8f7ff);background-size:cover;background-position:center;position:relative}#home-space .qs-cover:after{content:"";position:absolute;inset:90px 0 0;pointer-events:none;background:linear-gradient(transparent,#ffffffd9 75%,#fff)}#home-space .qs-identity{display:flex;align-items:center;gap:15px;position:relative;z-index:1}#home-space .qs-avatar{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;background:#eae8ef;color:#626177;font-size:18px;overflow:hidden}#home-space .qs-avatar.qq{background:#ede5ea;color:#94697f}#home-space .qs-avatar.cc{background:#e2e8f0;color:#6c809a}#home-space .qs-avatar.kk{background:#ece7de;color:#897b68}#home-space .qs-identity .qs-avatar{width:66px;height:66px;font-size:28px}#home-space .qs-identity button{padding:0;min-height:0}#home-space .qs-nickname{font-size:24px;font-weight:500}#home-space .qs-categories{display:grid;grid-template-columns:repeat(5,1fr);padding:7px 8px 22px;background:#fff}#home-space .qs-categories button{display:flex;flex-direction:column;align-items:center;gap:7px;padding:8px 3px;font-size:14px}#home-space .qs-categories button[aria-pressed=true]{color:#4d739d}#home-space .qs-categories svg{width:25px;height:25px}
#home-space .qs-post{padding:20px 17px 18px;border-bottom:1px solid #e9e9e9;background:#fff}#home-space .qs-post:first-child{padding-top:12px}#home-space .qs-author{display:flex;align-items:center;gap:10px;margin-bottom:9px}#home-space .qs-author button{padding:0;min-height:0}#home-space .qs-author-name{font-size:18px;font-weight:500;color:#4d6789}#home-space .qs-author .qs-more{margin-left:auto;min-width:44px;min-height:44px;font-size:23px;color:#777}#home-space .qs-post p{margin:0 0 14px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:17px;line-height:1.6}#home-space .qs-time{color:#999;font-size:13px;margin-top:14px}#home-space .qs-post-photo{display:block;width:auto;max-width:100%;max-height:310px;object-fit:contain;margin:8px 0 12px}#home-space .qs-post h3{font-size:18px;margin:8px 0;font-weight:500}#home-space .qs-album-link{font-size:12px;background:#f6f6f6;padding:4px 7px;display:inline-flex;gap:6px;align-items:center;max-width:100%}#home-space .qs-album-link svg{width:16px;height:16px}#home-space .qs-nav{height:68px;background:#f8f8fa;border-top:1px solid #eee;display:grid;grid-template-columns:repeat(3,1fr);padding:4px 0 7px}#home-space .qs-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:13px}#home-space .qs-nav button[aria-current=page]{color:#141418}#home-space .qs-nav button:not([aria-current=page]){color:#8e8e96}#home-space .qs-activity{position:relative;display:inline-flex}#home-space .qs-activity svg{width:26px;height:26px}
#home-space .qs-page-head{height:58px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 16px;background:#fff;position:sticky;top:0;z-index:8}#home-space .qs-page-head strong{font-size:18px;font-weight:500}#home-space .qs-page-head button{min-width:44px}#home-space .qs-empty{padding:50px 20px;text-align:center;color:#999;font-size:14px}#home-space .qs-panel{padding:18px;background:#fff}#home-space .qs-options{display:grid;gap:0}#home-space .qs-option{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;padding:17px 4px;border-bottom:1px solid #eee}#home-space .qs-quiet{font-size:12px;color:#999}#home-space .qs-compose{background:#f1f1f3;min-height:690px}#home-space .qs-compose .qs-page-head{background:#f1f1f3}#home-space .qs-publish{background:#66c2fa!important;color:#fff!important;border-radius:4px;padding:7px 17px!important;min-height:32px!important}#home-space .qs-write{background:#fff;border-radius:8px;margin:16px;padding:16px}#home-space .qs-write textarea{border:0;outline:0;background:#fff;width:100%;resize:none;min-height:165px;font-size:18px;line-height:1.6;color:#222;padding:0}#home-space .qs-write textarea::placeholder{color:#aaa}#home-space .qs-upload{background:#f7f7f7!important;width:108px;height:108px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#999!important;font-size:14px!important}#home-space .qs-photo-grid{display:flex;gap:8px;flex-wrap:wrap}#home-space .qs-photo-grid img{width:108px;height:108px;object-fit:cover}#home-space .qs-permission{margin:16px;background:#fff;border-radius:8px;padding:8px 16px}#home-space .qs-permission label{display:flex;align-items:center;justify-content:space-between;min-height:52px;gap:8px}#home-space .qs-permission select{border:0;background:#fff;color:#888;min-width:0;max-width:55%;padding:8px}#home-space .qs-albums{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:16px}#home-space .qs-albums button{padding:0;text-align:left}#home-space .qs-album-cover{background:#f2f3f5;width:100%;aspect-ratio:1;display:grid;place-items:center;overflow:hidden;margin-bottom:7px;color:#aaa}#home-space .qs-album-cover img{width:100%;height:100%;object-fit:cover}#home-space .qs-albums h3{font-size:14px;font-weight:500;margin:4px 0}#home-space .qs-messages{padding:0 17px}#home-space .qs-message{display:grid;grid-template-columns:50px minmax(0,1fr) 32px;width:100%;align-items:center;gap:10px;padding:16px 0;border-bottom:1px solid #eee;text-align:left}#home-space .qs-message small{font-size:13px;color:#999;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#home-space .qs-meta{display:flex;flex-direction:column;align-items:flex-end;gap:7px;font-size:11px;color:#aaa}#home-space .qs-unread{width:20px;height:20px;border-radius:50%;background:#f6533d;color:white;text-align:center;font-size:13px;line-height:20px}#home-space .qs-char{font:500 italic 17px/1 Georgia,serif;color:#779974;margin-left:5px}#home-space .qs-bubble{background:#f1f1f4;margin:24px 24px 24px 16px;padding:14px;border-radius:4px 12px 12px;font-size:16px}#home-space .qs-toast{position:absolute;bottom:78px;left:16px;right:16px;background:#252529;color:#fff;padding:10px 14px;border-radius:6px;font-size:13px;z-index:20;text-align:center}#home-space .qs-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}#home-space .qs-choices button{border:1px solid #eee;padding:15px}#home-space .qs-choices button[aria-pressed=true]{border-color:#88b58a;background:#f8fbf8}#home-space .qs-collection-name{text-align:center;margin:22px 0;font-size:14px;color:#777}#home-space .qs-big-char{text-align:center;font:500 italic 46px Georgia,serif;color:#719a70;margin:32px 0}#home-space .qs-stub{padding:16px;border-bottom:1px solid #eee;font-size:14px;color:#888}#home-space .qs-cover-pick{display:grid;gap:15px}#home-space .qs-cover-pick input{max-width:100%;font-size:14px}

#home-space{max-width:none;min-height:100%;background:#fff}body[data-space-ui="true"] .hub{background:#fff}body[data-space-ui="true"] .hub-header,body[data-space-ui="true"] .hub-search-wrap{display:none}body[data-space-ui="true"] .hub-content{padding:0 0 82px;scroll-padding-top:58px}body[data-space-ui="true"] .hub-tabs{background:#f8f8fa;border-top:1px solid #eee}#home-space .qs-avatar img{width:100%;height:100%;object-fit:cover}#home-space .space-status{position:sticky;bottom:0;padding:12px;margin:0;background:#fff;color:#b33926;font-size:14px;z-index:12}#home-space .space-title,#home-space .space-album-name{width:100%;border:0;border-bottom:1px solid #eee;background:white;padding:8px 0 12px;font:inherit;margin-bottom:14px}#home-space .space-load{display:block;width:100%;padding:18px;color:#888}#home-space .space-scroll-room{height:175px}#home-space .space-full-photo{width:100%;height:auto}#home-space .qs-post-photo{cursor:default}.hub-tabs .space-nav-icon{display:inline-block;width:23px;height:23px;border:2px solid currentColor;border-top-color:transparent;border-radius:50%;position:relative;transform:rotate(-25deg)}.hub-tabs .space-nav-icon:after{content:'';position:absolute;right:-2px;top:0;border-left:6px solid currentColor;border-top:4px solid transparent;border-bottom:4px solid transparent;transform:rotate(20deg)}.conversation-unread{width:20px!important;height:20px!important;min-width:20px;background:#f6533d!important;color:#fff;line-height:20px;text-align:center;font-size:13px;border-radius:20px!important}

body[data-space-ui="true"] .hub-tabs button[aria-current="page"]{color:#17181b}

/* v89: QQ-like compact feed and separate full-text detail. */
body[data-space-ui="true"] .hub-tabs{display:none!important}
body[data-space-ui="true"] .hub-content{padding:0!important}
#home-space{font-family:Arial,"Microsoft YaHei",sans-serif}
#home-space .qs-cover{height:180px;padding:94px 17px 16px}
#home-space .qs-identity{gap:13px}
#home-space .qs-identity .qs-avatar{width:66px;height:66px}
#home-space .qs-nickname{font-size:22px;font-weight:600}
#home-space .qs-categories{padding:2px 8px 12px}
#home-space .qs-categories button{gap:5px;padding:7px 3px;font-size:14px;line-height:20px}
#home-space .qs-categories svg{width:23px;height:23px}
#home-space .qs-post{padding:18px 17px 14px}
#home-space .qs-avatar{width:40px;height:40px}
#home-space .qs-author{gap:9px;margin-bottom:7px}
#home-space .qs-author-name{font-size:17px;font-weight:600}
#home-space .qs-author .qs-more{margin-left:auto;min-height:32px;width:32px;min-width:32px}
#home-space .qs-more svg{width:21px;height:21px}
#home-space .qs-post p{font-size:16px;line-height:1.5;margin:0;white-space:pre-wrap}
#home-space .qs-post h3{font-size:17px;margin:4px 0 6px}
#home-space .space-clamped{display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden;cursor:pointer}
#home-space .space-read-more{display:block;color:#4d6789;padding:1px 0 0;min-height:28px;font-size:16px}
#home-space .space-post-footer{display:flex;align-items:center;justify-content:space-between;margin-top:6px;min-height:36px}
#home-space .qs-time{font-size:12px;margin:0;color:#999}
#home-space .space-actions{display:flex;gap:12px}
#home-space .space-actions button{padding:4px;min-height:36px;width:36px}
#home-space .space-actions svg{width:25px;height:25px;stroke-width:1.5}
#home-space .space-comment{display:flex;align-items:center;gap:9px;background:#f6f6f6;border-radius:9px;width:100%;padding:7px 10px;min-height:41px;text-align:left;color:#999;font-size:14px;margin-top:5px}
#home-space .space-comment .qs-avatar{width:27px;height:27px;font-size:12px}
#home-space [aria-disabled="true"]{cursor:default}
#home-space .space-detail{display:flex;flex-direction:column;background:#fff;height:100%}.qs-head-spacer{width:44px;flex:none}
#home-space .space-detail .qs-page-head{flex:none;border-bottom:1px solid #ededed}
#home-space .space-detail-scroll{flex:1;min-height:0;overflow-y:auto}
#home-space .space-detail .qs-post{border:0;padding-top:19px}
#home-space .space-detail>.space-comment{flex:none;width:calc(100% - 32px);margin:8px 16px max(10px,env(safe-area-inset-bottom))}
/* v90: white/cool-blue messaging; spatial buttons have explicit square metrics. */
:root{--home-bg:#fff;--home-panel:#fff;--home-soft:#f3f5f9;--home-text:#202329;--home-muted:#9298a1;--home-accent:#159ee8;--home-line:#edf0f4}
body{background:#edf0f5;color:#202329}.shell{background:#f3f5f9}.hub{background:#fff}
body[data-section-view="chat"] .hub-header{background:#f2f5fc;grid-template-columns:44px 1fr;gap:12px;padding:14px 17px 10px;min-height:74px}
body[data-section-view="chat"] .hub-header>div{visibility:visible;position:relative}
body[data-section-view="chat"] #hub-eyebrow{display:none}
body[data-section-view="chat"] #hub-title{font:500 19px/1.4 system-ui,sans-serif;letter-spacing:0;margin:0}
.hub-self-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;overflow:hidden;background:#e8edf6;color:#64748b}
.hub-self-avatar img{width:100%;height:100%;object-fit:cover}
.hub-state{display:block;margin-top:1px;font-size:11px;color:#8a929c}.hub-state.ok:before{content:'●';color:#27cc88;margin-right:4px}
body[data-section-view="chat"] .hub-search-wrap{background:#f2f5fc;padding:5px 16px 12px}
body[data-section-view="chat"] .hub-search-wrap input{background:#fff;border:0;border-radius:8px;height:36px;text-align:center;color:#252930}
body[data-section-view="chat"] .hub-content{padding-left:16px;padding-right:16px}
.conversation-row{grid-template-columns:44px minmax(0,1fr) auto;gap:12px;min-height:78px;padding:12px 0;border-bottom:0}
.conversation-list .conversation-avatar{width:44px;height:44px}
.conversation-list .room-avatar-member{width:20px;height:20px;font-size:9px}
.conversation-copy strong{font-size:16px;font-weight:500;margin-bottom:5px;color:#161a20}
.conversation-copy small{font-size:13px;color:#979ba1}
.conversation-meta{display:flex;flex-direction:column;align-items:flex-end;gap:8px;padding-top:2px;font-size:10px;color:#b3b6bc;min-width:34px}
.conversation-unread{display:block;margin:0!important;width:18px!important;height:18px!important;min-width:18px!important;line-height:18px!important;font-size:12px!important}
.hub-tabs{background:#f5f6fb;border-color:#edf0f5}.hub-tabs button{color:#5d6570}.hub-tabs button[aria-current="page"]{color:#149ee7}
.hub-tabs .space-nav-icon{width:23px;height:23px;border:0;border-radius:50%;background:currentColor;transform:none;position:relative}
.hub-tabs .space-nav-icon:after{content:'✦';font:15px/1 system-ui;color:#fff;border:0;right:1px;top:1px;transform:rotate(18deg)}
body[data-screen="conversation"] .topbar{background:#f2f5fc;color:#202329}
body[data-screen="conversation"] .chat{background:#f3f5f9;color:#202329}
body[data-screen="conversation"] .bubble{background:#fff;color:#202329}
body[data-screen="conversation"] .message.me .bubble{background:#dceeff;color:#202329}
body[data-screen="conversation"] .composer{background:linear-gradient(transparent,#f3f5f9 24%)}
body[data-screen="conversation"] .composer textarea{background:#fff;color:#202329;border-color:#e6eaf0;box-shadow:none}
body[data-screen="conversation"] .composer #send,body[data-screen="conversation"] .composer button[type="submit"]{background:#159ee8;color:#fff}
body[data-screen="conversation"] .service-state{display:inline-flex;width:auto;background:transparent;color:#65717f}
body[data-screen="conversation"] .resident{background:#edf1f8;color:#65717f}
body[data-screen="conversation"] .conversation-back{color:#242a33}
#home-space .qs-head{height:52px;display:grid;grid-template-columns:40px minmax(0,1fr) 40px 40px;gap:6px;padding:0 12px}
#home-space .qs-head .qs-icon,#home-space .qs-head:not(.solid) .qs-icon{display:grid;place-items:center;box-sizing:border-box;flex:none;width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;padding:0;margin:0 auto;border:0;border-radius:50%;line-height:1}
#home-space .qs-head .qs-icon svg{display:block;width:20px;height:20px;overflow:visible}
#home-space .qs-title{font-size:16px;font-weight:700;position:absolute;left:50%;transform:translateX(-50%);max-width:52%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}
#home-space .qs-head .qs-icon:nth-last-child(2){grid-column:3}
#home-space .qs-head .qs-icon:last-child{grid-column:4}
#home-space .qs-cover{height:168px;margin-top:-52px;padding:87px 17px 12px}
#home-space .qs-nickname{display:block;font-size:22px;line-height:1.4}
#home-space .space-visits{font-size:12px;line-height:1.8;white-space:nowrap;color:#262b33}
#home-space .qs-categories{padding:0 8px 10px}
#home-space .qs-categories button{gap:4px;padding:6px 3px;font-size:13px}
#home-space .qs-categories svg{width:21px;height:21px;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#home-space .space-actions{gap:10px}
#home-space .space-actions button{display:grid;place-items:center;width:32px;min-height:32px;padding:4px}
#home-space .space-actions svg{width:21px;height:21px}
#home-space .space-counts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:8px 12px 12px}
#home-space .space-counts button{padding:4px 0;display:flex;flex-direction:column;gap:7px;align-items:center;border-right:1px solid #f2f3f5}
#home-space .space-counts button:last-child{border-right:0}
#home-space .space-counts span{font-size:13px;color:#9b9ea3}
#home-space .space-counts strong{font-size:21px;font-weight:700;line-height:1.2}
#home-space .space-stream-title{font-size:17px;margin:12px 17px 4px;font-weight:700}
body[data-screen="conversation"] .composer .attach,body[data-screen="conversation"] .composer .sticker-button{background:#e8edf4;color:#657487}
body[data-screen="conversation"] .composer #send:disabled{background:#cbdce9;color:#fff}
body[data-screen="conversation"] .history-navigation,body[data-screen="conversation"] .history-dialog,body[data-screen="conversation"] .history-dialog header{background:#fff;border-color:#e6ebf2;color:#26313f}
.app-splash{background:#fff}
#hub-more{display:none}body[data-section-view="chat"] .hub-header{grid-template-columns:44px 1fr 32px}body[data-section-view="chat"] #hub-more{display:grid;width:32px;height:32px;font-size:29px;line-height:1;color:#202329;padding:0}
body[data-screen="conversation"] .empty .home-mark,body[data-screen="conversation"] .context-ring,body[data-screen="conversation"] .chat-latest:before{background:#e9eef5;color:#7d8c9e;border-color:#dce4ee}
body[data-screen="conversation"] .empty h2{color:#536174}body[data-screen="conversation"] .empty p,body[data-screen="conversation"] .composer p{color:#919dad}

/* v91: scoped settings cleanup; preserve navigation and working controls. */
.hub-tabs .space-nav-icon{width:28px;height:24px;border:0;background:transparent;border-radius:0;transform:none}
.hub-tabs .space-nav-icon:before,.hub-tabs .space-nav-icon:after{content:'';position:absolute;width:16px;height:16px;border:1.8px solid currentColor;border-radius:50%;background:transparent;transform:none;top:3px;box-sizing:border-box}
.hub-tabs .space-nav-icon:before{left:1px}.hub-tabs .space-nav-icon:after{left:10px;right:auto}
body[data-screen="conversation"] .context-ring{background:transparent;border:0;box-shadow:none}
body[data-screen="conversation"] .context-ring:after{background:#f2f5fc}
.app-sidebar{background:#fff;color:#202329;box-shadow:8px 0 30px #26313f18}
.app-sidebar .sidebar-home-mark{background:#edf2fa;color:#5f7a99}
.app-sidebar nav button{background:transparent;color:#343d49}.app-sidebar nav button[aria-current="page"]{background:#edf3fc;color:#168dcc}
#device-drawer{background:#f3f5f9;color:#202329}#device-drawer>header{align-items:center}
#device-drawer .eyebrow{display:none}#device-drawer h2{font-size:21px;margin:5px 0 18px}
#device-drawer button{background:#eaf0f7;color:#34465b;border:0;border-radius:9px;padding:9px 12px}
#device-sessions{background:#fff;border-radius:12px;padding:15px;margin-top:12px}
#device-sessions summary{cursor:pointer;font-size:16px}#device-count{color:#8b95a3;font-size:13px}
#device-drawer .device-item{background:#fff;border-color:#e6ebf2;border-radius:8px}
#device-drawer .device-item small,#device-drawer .notification-card p{color:#8993a1}
#device-drawer .notification-card{background:#fff;border-radius:12px;margin-top:16px;padding:16px}
.pair-review{background:#f3f5f9;color:#202329}.pair-review>header{background:#fff;padding:12px 17px}
.pair-review>header strong{font-size:17px;font-weight:500}.pair-review button{background:#eaf0f7;color:#536b85}
.pair-review .pair-close{background:transparent;color:#333}.pair-tabs{background:#fff;padding:10px 17px}
.pair-tabs button{background:transparent;color:#828d9b}.pair-tabs button[aria-current="true"]{background:#e9f3fb;color:#168dcc}
.pair-review .pair-hero,.pair-review .pair-activity,.pair-review .pair-memory,.pair-review .pair-mcp,.pair-review .pair-acquaintance{background:#fff;border-color:#e6ebf2;color:#202329}
.pair-review .pair-muted,.pair-review small{color:#8b95a3}.pair-review input,.pair-review textarea{background:#fff;border-color:#e0e6ee;color:#202329}
.pair-model-row{margin:16px 17px 0;background:#fff;border-radius:10px}.pair-model-row:has(button[hidden]){display:none}
.pair-review .pair-model-row .model-label{display:block;width:100%;text-align:left;padding:14px;font-size:14px;color:#34465b;background:transparent}
.pair-review .pair-model-row .model-label:before{content:'回复模型';display:block;font-size:12px;color:#8993a1;margin-bottom:5px}
body[data-screen="conversation"] .model-panel{position:fixed;top:20%;bottom:auto;left:max(16px,calc((100vw - 500px)/2));right:max(16px,calc((100vw - 500px)/2));max-height:65dvh;overflow:auto;background:#fff;color:#202329;border-color:#e0e6ee;z-index:28}
.model-panel button{background:#edf2f8;color:#526980}.model-panel button[aria-pressed="true"],.model-panel .model-apply{background:#159ee8;color:#fff}
body[data-screen="conversation"] .session-actions{background:#fff;color:#202329;border-color:#e0e6ee}

.pair-review .pair-numbers strong{color:#435b76}.pair-review .pair-numbers span,.pair-review .pair-memory time,.pair-review .pair-memory p,.pair-review .pair-mcp span,.pair-review .pair-mcp small{color:#8491a0}
.pair-review .pair-editor{background:#fff}.pair-review .pair-editor label{color:#617389}.pair-review .pair-timeline{border-color:#dde5ee}.pair-review .pair-memory:before{background:#8eabc5;box-shadow:0 0 0 4px #f3f5f9}

.pair-review .pair-edit-days{color:#71869e}.pair-review,#device-drawer,.app-sidebar{font-family:Arial,"Microsoft YaHei",sans-serif}

/* v92: settings is a list; interaction statistics have their own swipe page. */
.pair-review>header{display:grid;grid-template-columns:40px 1fr 40px;padding:8px 12px;min-height:58px;position:sticky;top:0;z-index:2;text-align:center}
.pair-review>header strong{font-size:18px;font-weight:500}.pair-review .pair-back{background:transparent;color:#26313d;font-size:34px;line-height:1;padding:0;width:36px;height:40px}
.pair-review[data-page="menu"] .pair-content{padding:18px 16px}.chat-settings-identity{background:#fff;padding:22px 18px;border-radius:10px;margin-bottom:20px;font-size:18px}
.chat-settings-list{background:#fff;border-radius:10px;overflow:hidden}
.pair-review .chat-settings-row{display:flex;align-items:center;gap:12px;text-align:left;width:100%;min-height:62px;padding:16px 18px;background:#fff;color:#202329;border-radius:0;border-bottom:1px solid #edf0f4;font-size:16px}
.pair-review .chat-settings-row:last-child{border-bottom:0}.chat-settings-row small{margin-left:auto;max-width:52%;font-size:12px;overflow-wrap:anywhere;text-align:right}
.chat-settings-row .row-arrow{margin-left:auto;color:#a5aab2;font-size:25px;font-weight:300}.chat-settings-row small:not(:empty)+.row-arrow{margin-left:0}
.pair-review .settings-separate{margin-top:20px;border-radius:10px}.pair-review .chat-settings-row:disabled{opacity:.55}
body[data-screen="conversation"] .pair-review #model-panel{position:static;inset:auto;max-height:none;overflow:visible;margin:0;border:0;border-radius:10px;background:#fff;box-shadow:none;width:100%;padding:16px;box-sizing:border-box}
.pair-review #model-panel .model-panel-head{display:none}.pair-review #model-panel button{background:#edf2f8;color:#526980}.pair-review #model-panel button[aria-pressed="true"],.pair-review #model-panel .selected,.pair-review #model-panel .model-apply{background:#159ee8;color:#fff}
.pair-review #model-panel p{color:#8491a0}.pair-review[data-page="model"] .pair-content{padding:18px 16px}

.pair-review #model-panel .model-options,.pair-review #model-panel .effort-options{display:grid;gap:0}
.pair-review #model-panel .model-options button,.pair-review #model-panel .effort-options button{display:flex;align-items:center;justify-content:space-between;min-height:48px;width:100%;padding:12px 2px;text-align:left;border:0;border-bottom:1px solid #edf0f4;border-radius:0;font-size:15px;background:#fff;color:#26313d}
.pair-review #model-panel .model-options button[aria-pressed="true"],.pair-review #model-panel .effort-options button[aria-pressed="true"]{color:#159ee8;background:#fff}
.pair-review #model-panel button[aria-pressed="true"]:after{content:'✓';margin-left:12px}.pair-review #model-panel .model-apply{display:block;width:100%;margin-top:22px;min-height:44px;font-size:15px}

/* v95: real space reactions, retaining the flat QQ-style feed. */
#home-space .space-actions button[aria-pressed="true"]{color:#168fd8}
#home-space .space-likes{display:flex;align-items:center;gap:6px;color:#526b88;font-size:14px;line-height:1.6;margin:6px 0;overflow-wrap:anywhere}#home-space .space-likes svg{width:16px;height:16px;flex:none}
#home-space .space-comments{font-size:14px;line-height:1.6;color:#252a30}#home-space .space-comment-line{display:flex;align-items:baseline;gap:8px}#home-space .space-comment-line>button:first-child{padding:2px 0;text-align:left;background:none;color:inherit;white-space:pre-wrap;overflow-wrap:anywhere;flex:1;font-size:inherit;line-height:inherit}#home-space .space-comment-line strong{color:#526b88;font-weight:500}#home-space .space-delete-comment{color:#8b949f;background:none;padding:2px;font-size:12px}
#home-space .space-comment-form{padding:18px}#home-space .space-comment-form textarea{display:block;box-sizing:border-box;width:100%;min-height:160px;border:0;background:#f4f6fa;border-radius:8px;padding:14px;font:inherit;resize:vertical}#home-space .space-comment-form>button{float:right;margin-top:16px;background:#159ee8;color:white;padding:10px 24px;border-radius:6px}

#home-space .space-comment-line>button{min-height:0}#home-space .space-comment-line{padding:3px 0}

/* Local candidate: reference-only reposts and an in-site inbox. */
#home-space .space-reference{margin:12px 0;padding:12px;background:#f4f6fa;border-radius:8px;border-left:3px solid #d7e2ef;overflow-wrap:anywhere;min-width:0}
#home-space .space-reference strong{display:block;font-size:14px}
#home-space .space-reference p{font-size:14px;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}
#home-space .space-reference-link{text-align:left;color:#4d6789;padding:0;max-width:100%;overflow-wrap:anywhere}
#home-space .is-unavailable{color:#777;font-size:14px}
#home-space .space-notice-badge{position:absolute;top:0;right:0;min-width:18px;padding:0 4px;border-radius:10px;background:#e34950;color:white;font:12px/18px Arial}
#home-space .space-notice-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:4px 16px;font-size:14px}
#home-space .space-notice-tools button[aria-pressed=true]{color:#0878b6}
#home-space .space-inbox-help{margin:0;padding:4px 16px 12px;font-size:12px;color:#727780}
#home-space .space-notice{display:flex;flex-wrap:wrap;align-items:center;border-bottom:1px solid #edf0f4;padding:8px 12px;gap:4px;background:white}
#home-space .space-notice.is-unread{background:#f1f7ff;border-left:3px solid #159ee8;padding-left:9px}
#home-space .space-notice-open{flex:1 1 210px;display:flex;align-items:center;gap:10px;text-align:left;min-width:0}
#home-space .space-notice-open>span{min-width:0;overflow-wrap:anywhere;font-size:14px}
#home-space .space-notice-open small{display:block;color:#737b87;font-size:12px;margin-top:4px}
#home-space .space-notice-read{margin-left:auto;color:#4d6789;font-size:13px}
#home-space .space-repost-form{padding:18px}
#home-space .space-repost-policy{font-size:14px;color:#596777;overflow-wrap:anywhere}
#home-space .space-repost-form textarea{display:block;width:100%;min-height:160px;resize:vertical;border:1px solid #dce3ec;border-radius:8px;padding:12px;background:#f7f9fc}
#home-space .space-repost-form>button{display:block;margin:16px 0 0 auto;background:#159ee8;color:white;border-radius:6px;padding:10px 20px}
#home-space .space-actions{gap:4px}#home-space .space-actions button{width:44px;min-height:44px}
@media(max-width:360px){#home-space .space-post-footer{flex-wrap:wrap;gap:4px}#home-space .space-actions{margin-left:auto}#home-space .qs-page-head{padding-left:8px;padding-right:8px}}

/* Space-only bottom sheets; no inline script/style and no hidden owner controls. */
#home-space[data-page="detail"]{height:100%;min-height:100%}
#home-space[data-page="feed"]{min-height:calc(100% + 180px)}
#home-space .space-pinned{display:inline-block;color:#4f7590;background:#edf5fb;font-size:11px;border-radius:4px;padding:1px 5px;margin:0 0 7px}
#home-space .space-reference{border-left:0;background:#f5f5f5;border-radius:8px;padding:11px 12px;margin:10px 0}
#home-space .space-reference p{font-size:15px;line-height:1.65}
#home-space .space-reference-link{display:inline;padding:0;min-height:0;color:#4d6789;font-size:inherit;font-weight:600;text-align:left;vertical-align:baseline}
.space-sheet{box-sizing:border-box;position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:560px;max-height:88dvh;padding:0;border:0;border-radius:18px 18px 0 0;background:#fff;color:#242a33;overflow:auto;overscroll-behavior:contain;font:15px/1.5 Arial,"Microsoft YaHei",sans-serif;box-shadow:0 -6px 40px #253a5420}
.space-sheet::backdrop{background:#14203440}
.space-sheet *{box-sizing:border-box}
.space-sheet button,.space-sheet input,.space-sheet textarea{font:inherit}
.space-sheet button{border:0;min-height:44px;cursor:pointer;background:transparent;color:inherit}
.space-sheet button:disabled{opacity:.4;cursor:default}
.space-sheet-panel{padding:6px 16px max(14px,env(safe-area-inset-bottom));}
.space-sheet-panel>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 10px}
.space-sheet-panel>header strong{font-size:16px;font-weight:600}
.space-sheet-panel>header button{width:44px;font-size:24px;color:#8a919a}
.space-sheet-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:5px 0 10px}
.space-sheet-actions button{display:flex;flex-direction:column;align-items:center;gap:10px;padding:0;font-size:12px;overflow-wrap:anywhere}
.space-sheet-actions span{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:#f4f6f8;font-size:24px;color:#3c4957}
.space-sheet .is-danger,.space-sheet .space-sheet-danger{color:#bd4545}
.space-sheet-cancel,.space-sheet-danger{display:block;width:100%;border-radius:9px;background:#f5f6f8!important;margin:8px 0 0}
.space-sheet-hint{font-size:11px;line-height:1.5;color:#89919a;margin:0 0 10px;text-align:center}
.space-sheet-question{margin:5px 0 18px;color:#626d79;overflow-wrap:anywhere}
.space-sheet textarea{display:block;width:100%;min-height:100px;max-height:40dvh;resize:vertical;padding:12px;background:#f4f6f8;border:0;border-radius:10px;outline-color:#159ee8;color:#242a33;line-height:1.6}
.space-sheet-title{width:100%;padding:10px 4px;border:0;border-bottom:1px solid #edf0f4;margin-bottom:12px;color:#242a33;background:white}
.space-sheet-send-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
.space-sheet-send-row small{color:#8a919a;font-size:11px}
.space-sheet .space-sheet-send{background:#159ee8;color:#fff;padding:8px 24px;border-radius:8px}
.space-sheet-reference{margin-top:10px;padding:10px 12px;background:#f5f5f5;border-radius:8px;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;color:#666}
.space-sheet-reference strong{color:#4d6789;font-weight:600}
.space-sheet-status{color:#b33926;font-size:13px;margin:10px 0 0;overflow-wrap:anywhere}
.space-sheet [hidden]{display:none!important}
@media(min-width:700px){.space-sheet{bottom:18px;border-radius:18px}.space-sheet textarea{min-height:120px}}

/* Human-facing space wallpaper: the hub stays still while its content scrolls. */
body[data-space-ui="true"] .hub[data-space-wallpaper="true"]{
  background-color:#fff;
  background-image:linear-gradient(rgba(255,255,255,var(--space-wallpaper-overlay)),rgba(255,255,255,var(--space-wallpaper-overlay))),var(--space-wallpaper-image);
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] .hub-content,
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space,
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .qs-cover{
  background:transparent;
}
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .qs-cover::after{background:none}
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .qs-identity{
  width:auto;max-width:100%;padding:0;border-radius:0;background:transparent;
}
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .qs-nickname,
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .space-visits{
  color:#172332;text-shadow:0 1px 3px #fff,0 -1px 3px #fff,1px 0 3px #fff,-1px 0 3px #fff;
}
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .qs-post,
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .qs-categories{
  background:transparent;
}
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .qs-head.solid,
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .qs-page-head{
  /* The wallpaper and its strength overlay already live on the hub. A second
     white header layer would make this strip noticeably more opaque. */
  background:transparent;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  border-color:rgba(39,53,70,.12);
}
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .qs-head .qs-icon,
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .qs-page-head button[data-action="back"]{
  color:#1b2938;background:rgba(255,255,255,.58);border-radius:50%;
  box-shadow:0 1px 5px rgba(24,36,49,.16);
}
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .qs-head.solid .qs-title,
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .qs-page-head strong{
  color:#172332;text-shadow:0 1px 3px #fff,0 -1px 3px #fff,1px 0 3px #fff,-1px 0 3px #fff;
}
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .qs-page-head button[data-action="back"]{
  min-width:40px;min-height:40px;
}
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .qs-page-head button:not([data-action="back"]):not(.qs-publish){
  color:#172332;text-shadow:0 1px 3px #fff,0 -1px 3px #fff;
}
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .qs-panel{
  background:rgba(255,255,255,.9);
}
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .space-detail,
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .qs-compose{
  background:transparent;
}
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .space-counts{
  margin:8px 12px 0;
  border-radius:12px;
  background:transparent;
}
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .space-stream-title{
  display:table;
  padding:5px 10px;
  border-radius:10px;
  background:transparent;
}
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .qs-write,
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .qs-permission,
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .qs-empty,
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .space-load,
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .space-notice-tools,
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .space-inbox-help,
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .space-repost-form{
  background:rgba(255,255,255,.88);
}
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .qs-albums button{
  padding:8px;
  border-radius:10px;
  background:rgba(255,255,255,.88);
}
#home-space .space-wallpaper-control{padding:16px 4px 18px;border-bottom:1px solid #eee}
#home-space .space-wallpaper-control label{display:flex;justify-content:space-between;gap:16px;font-size:15px}
#home-space .space-wallpaper-control output{font-variant-numeric:tabular-nums;color:#4d6789}
#home-space .space-wallpaper-control input{display:block;width:100%;margin:14px 0 6px;accent-color:#159ee8}
#home-space .space-wallpaper-control p{margin:0;color:#7c8794;font-size:12px}

/* Equal circle dimensions and no baseline gap around the back SVG. */
#home-space .qs-page-head:has(button[data-action="back"]){display:grid;grid-template-columns:44px minmax(0,1fr) 44px}
#home-space .qs-page-head strong{min-width:0;text-align:center;overflow-wrap:anywhere}
#home-space .qs-page-head button[data-action="back"]{display:grid;place-items:center;flex:none;width:40px;height:40px;min-width:40px;min-height:40px;padding:0;aspect-ratio:1;border-radius:50%;background:#ffffff94;justify-self:start}
#home-space .qs-page-head button[data-action="back"] svg{display:block;width:24px;height:24px;margin:0}
#home-space[data-page="detail"] .qs-page-head button[data-action="back"] svg{width:18px;height:18px}
body[data-screen="hub"][data-section-view="chat"]:not([data-space-ui="true"]) .hub-header{grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;min-height:60px;padding:max(8px,env(safe-area-inset-top)) 17px 8px;align-items:center}
body[data-screen="hub"][data-section-view="chat"]:not([data-space-ui="true"]) #sidebar-open{width:44px;height:44px;min-height:44px}
body[data-screen="hub"][data-section-view="chat"]:not([data-space-ui="true"]) .hub-self-avatar{width:34px;height:34px;font-size:19px}
body[data-screen="hub"][data-section-view="chat"]:not([data-space-ui="true"]) #hub-title{font-size:15px;line-height:1.25}
body[data-screen="hub"][data-section-view="chat"]:not([data-space-ui="true"]) .hub-state{font-size:9px;line-height:1.3;margin-top:0}
body[data-screen="hub"][data-section-view="chat"]:not([data-space-ui="true"]) #hub-more{width:44px;height:44px;min-height:44px;font-size:25px}
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .qs-post,
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .space-counts,
body[data-space-ui="true"] .hub[data-space-wallpaper="true"] #home-space .space-stream-title{color:#172332;text-shadow:0 1px 2px #fff,0 -1px 2px #fff}
