#post.wx-mode{display:flex!important;flex-direction:column!important;background:#f6f6f6!important;color:#191919!important;font:15px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif!important}
.wx-app{height:100%;min-height:0;display:flex;flex-direction:column;background:#f6f6f6;color:#191919;overflow:hidden}
.wx-status{height:calc(44px + env(safe-area-inset-top,0px));flex:none;padding:env(safe-area-inset-top,0px) 22px 0;display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:650;background:#f6f6f6}
.wx-status-right{display:flex;align-items:center;gap:5px;font-size:12px}
.wx-head{height:48px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 16px;background:#f6f6f6;border-bottom:1px solid #e8e8e8}
.wx-head h1{font-size:18px;line-height:1;margin:0;font-weight:650}
.wx-head-actions{display:flex;align-items:center;gap:18px}
.wx-head button,.wx-back{border:0;background:none;color:#171717;padding:3px;font-size:24px;line-height:1}
.wx-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.wx-scroll::-webkit-scrollbar{display:none}
.wx-search{padding:9px 12px;background:#f6f6f6}
.wx-search input{width:100%;height:34px;border:0;border-radius:7px;background:#e9e9e9;text-align:center;font:inherit;font-size:14px;outline:0}
.wx-row{min-height:68px;display:flex;align-items:center;gap:12px;padding:9px 14px;background:#fff;border-bottom:1px solid #eee;cursor:pointer}
.wx-avatar{width:48px;height:48px;flex:0 0 48px;border-radius:7px;background:#d8d8d8;display:grid;place-items:center;overflow:hidden;color:#fff;font-size:19px;font-weight:600}
.wx-avatar img{width:100%;height:100%;object-fit:cover}
.wx-row-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.wx-row-title{display:flex;align-items:center;gap:5px;min-width:0;font-size:16px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wx-row-sub{font-size:13px;color:#999;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wx-row-side{align-self:stretch;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:6px;color:#999;font-size:11px;white-space:nowrap}
.wx-unread{min-width:19px;height:19px;border-radius:10px;background:#fa5151;color:#fff;padding:0 5px;display:grid;place-items:center;font-size:11px}
.wx-tabbar{height:calc(62px + env(safe-area-inset-bottom,0px));flex:none;padding:5px 5px env(safe-area-inset-bottom,0px);display:grid;grid-template-columns:repeat(4,1fr);background:#f8f8f8;border-top:1px solid #e7e7e7}
.wx-tab{border:0;background:none;padding:2px 0;color:#222;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:11px}
.wx-tab.active{color:#07c160}
.wx-tab-icon{height:28px;font-size:22px;line-height:24px}
.wx-section-label{padding:9px 14px 6px;color:#777;font-size:13px}
.wx-notice-row{height:60px;display:flex;align-items:center;gap:12px;padding:0 15px;background:#fff;border-bottom:1px solid #eee}
.wx-notice-icon{width:38px;height:38px;border-radius:9px;display:grid;place-items:center;background:#f4a72e;color:white;font-size:21px}
.wx-chevron{margin-left:auto;color:#c7c7cc;font-size:22px}
.wx-profile-card{background:#fff;padding:22px 18px 18px;display:flex;align-items:center;gap:16px;border-bottom:1px solid #eee}
.wx-profile-card .wx-avatar{width:72px;height:72px;flex-basis:72px}
.wx-profile-text{flex:1;min-width:0}
.wx-profile-name{font-size:20px;font-weight:600;overflow-wrap:anywhere}
.wx-profile-id{margin-top:8px;color:#888;font-size:14px}
.wx-gender{display:inline-grid;place-items:center;width:15px;height:15px;border-radius:50%;background:#67aef7;color:#fff;font-size:10px;margin-left:5px;vertical-align:2px}
.wx-gender.f{background:#f183a9}
.wx-info-row{display:flex;align-items:center;min-height:54px;padding:0 16px;background:#fff;border-bottom:1px solid #f0f0f0;gap:12px}
.wx-info-label{width:68px;flex:none;color:#888;font-size:14px}
.wx-info-value{min-width:0;flex:1;font-size:15px;overflow-wrap:anywhere}
.wx-profile-buttons{display:flex;justify-content:center;gap:14px;padding:22px 16px}
.wx-primary-btn{border:0;border-radius:7px;background:#07c160;color:#fff;padding:11px 25px;font-size:15px}
.wx-secondary-btn{border:0;border-radius:7px;background:#fff;color:#222;padding:11px 21px;font-size:15px}
.wx-cover{height:190px;background:#d7dce2 center/cover no-repeat;position:relative}
.wx-cover-title{position:absolute;left:16px;bottom:14px;color:#fff;font-size:18px;font-weight:600;text-shadow:0 1px 4px #0008}
.wx-moment{display:flex;gap:11px;padding:17px 14px;background:#fff;border-bottom:1px solid #f0f0f0}
.wx-moment .wx-avatar{width:42px;height:42px;flex-basis:42px;border-radius:5px}
.wx-moment-body{flex:1;min-width:0}
.wx-moment-author{font-size:15px;font-weight:600;color:#576b95}
.wx-moment-text{margin-top:6px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}
.wx-moment-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:9px;max-width:270px}
.wx-moment-images img{width:100%;aspect-ratio:1;object-fit:cover;background:#eee}
.wx-moment-meta{display:flex;align-items:center;justify-content:space-between;margin-top:9px;color:#aaa;font-size:12px}
.wx-like-button{border:0;background:#f4f4f6;color:#576b95;padding:3px 8px;border-radius:4px;font-size:13px}
.wx-likes{margin-top:9px;background:#f7f7f7;color:#576b95;padding:6px 8px;font-size:13px;overflow-wrap:anywhere}
.wx-comments{background:#f7f7f7;padding:0 8px 6px;color:#333;font-size:13px}
.wx-comment{padding-top:5px;line-height:1.45}
.wx-comment b{color:#576b95;font-weight:500}
.wx-empty{padding:44px 20px;text-align:center;color:#aaa;font-size:14px}
.wx-chat-scroll{padding:14px 12px 18px;background:#ededed}
.wx-chat-time{text-align:center;color:#999;font-size:11px;padding:12px 0}
.wx-chat-system{text-align:center;color:#999;font-size:12px;padding:8px 12px;line-height:1.45}
.wx-chat-row{display:flex;align-items:flex-start;gap:8px;margin:8px 0 14px}
.wx-chat-row.right{flex-direction:row-reverse}
.wx-chat-row .wx-avatar{width:40px;height:40px;flex-basis:40px;border-radius:5px}
.wx-chat-stack{max-width:76%;min-width:0}
.wx-chat-name{font-size:11px;color:#999;margin:0 0 4px}
.wx-chat-bubble{position:relative;background:#fff;border-radius:4px;padding:9px 10px;line-height:1.45;overflow-wrap:anywhere;min-height:36px}
.wx-chat-row.right .wx-chat-bubble{background:#95ec69}
.wx-chat-bubble::before{content:"";position:absolute;top:12px;left:-5px;border-width:5px 6px 5px 0;border-style:solid;border-color:transparent #fff transparent transparent}
.wx-chat-row.right .wx-chat-bubble::before{left:auto;right:-5px;border-width:5px 0 5px 6px;border-color:transparent transparent transparent #95ec69}
.wx-chat-fail{position:absolute;left:-26px;top:50%;transform:translateY(-50%);width:19px;height:19px;border-radius:50%;background:#fa5151;color:#fff;font-weight:700;font-size:13px;line-height:19px;text-align:center}
.wx-chat-quote{padding:5px 7px;margin-bottom:5px;border-left:2px solid #ccc;color:#777;background:#f5f5f5;font-size:12px}
.wx-chat-card{min-width:200px;max-width:245px;padding:12px;border-radius:5px;background:#fff;box-shadow:0 1px 2px #0001}
.wx-chat-card-title{font-weight:600;margin-bottom:6px}
.wx-chat-card-sub{font-size:12px;color:#888}
.wx-chat-voice-message{display:flex;align-items:center;gap:8px;min-width:70px}
.wx-chat-voice-bars{font-size:17px}
.wx-chat-call-screen{position:absolute;inset:0;z-index:5;overflow:hidden;background:#111318;color:#fff}
.wx-call-blur,.wx-call-darken{position:absolute;inset:-24px;width:calc(100% + 48px);height:calc(100% + 48px)}
.wx-call-blur{object-fit:cover;filter:blur(28px) brightness(.5);transform:scale(1.04)}
.wx-call-darken{background:rgba(0,0,0,.42)}
.wx-call-back{position:absolute;z-index:2;top:calc(16px + env(safe-area-inset-top,0px));left:16px;display:grid;width:42px;height:42px;place-items:center;padding:0;border:0;background:transparent;color:#fff;font-size:38px;font-weight:300;line-height:1;text-shadow:0 1px 4px #0006;cursor:pointer}
.wx-call-profile{position:absolute;z-index:1;top:39%;left:0;display:flex;width:100%;flex-direction:column;align-items:center;padding:0 24px;box-sizing:border-box;transform:translateY(-50%)}
.wx-call-person{margin:15px 0 7px;color:#fff;font-size:25px;font-weight:500;text-align:center}
.wx-call-state{color:#d4d8dc;font-size:14px}
.wx-call-avatar{width:96px;height:96px;overflow:hidden;border-radius:13px;background:#71808e}
.wx-call-avatar img{width:100%;height:100%;object-fit:cover}
.wx-call-avatar>span{display:grid;width:100%;height:100%;place-items:center;color:#fff;font-size:34px}
.wx-call-actions{position:absolute;z-index:1;right:0;bottom:calc(42px + env(safe-area-inset-bottom,0px));left:0;display:flex;justify-content:center;gap:92px}
.wx-call-action-wrap{display:flex;flex-direction:column;align-items:center;gap:10px;color:#fff;font-size:14px}
.wx-call-action{display:grid;place-items:center;width:72px;height:72px;padding:0;border:0;border-radius:50%;background:#fa5151;color:#fff;cursor:pointer}
.wx-call-action svg{width:32px;height:32px;fill:#fff;stroke:none}
.wx-call-action-reject svg{transform:rotate(135deg)}
.wx-call-action.accept{background:#07c160}
.wx-call-action-single{position:absolute;left:50%;transform:translateX(-50%)}
.wx-admin{background:#f4f5f8;flex:1;min-height:0;overflow:auto;padding-bottom:24px}
.wx-admin-section{margin:14px 12px 0}
.wx-admin-title{font-size:13px;color:#777;margin:0 3px 7px}
.wx-admin-card{background:#fff;border-radius:12px;overflow:hidden}
.wx-admin-row{min-height:52px;display:flex;align-items:center;gap:10px;padding:10px 13px;border-top:1px solid #f0f0f0}
.wx-admin-row:first-child{border-top:0}
.wx-admin-main{flex:1;min-width:0}
.wx-admin-main b{font-size:14px;font-weight:550;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wx-admin-main small{display:block;margin-top:3px;color:#999;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wx-admin-row button,.wx-admin-add{border:0;background:#f3f3f5;color:#4c67a5;border-radius:7px;padding:7px 10px;font-size:12px}
.wx-admin-add{margin:9px 0 2px;background:#07c160;color:#fff;padding:9px 12px}
.wx-form{padding:14px;background:#f4f5f8;overflow:auto;flex:1;min-height:0}
.wx-form-section{margin-bottom:13px}
.wx-form-section label{display:block;margin:0 0 6px;color:#777;font-size:12px}
.wx-form-section input,.wx-form-section textarea,.wx-form-section select{width:100%;border:1px solid #e0e1e5;border-radius:8px;background:#fff;padding:10px 11px;color:#222;font:inherit;font-size:14px;line-height:1.4;outline:none}
.wx-form-section textarea{min-height:86px;resize:vertical}
.wx-form-actions{display:flex;gap:10px;padding:12px 14px calc(12px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #eee}
.wx-form-actions button{flex:1;border:0;border-radius:8px;padding:11px;background:#e9e9ec;color:#222}
.wx-form-actions button:last-child{background:#07c160;color:#fff}
.wx-select-list{background:#fff;border-radius:10px;overflow:hidden}
.wx-select-row{display:flex;align-items:center;gap:10px;padding:9px 12px;border-bottom:1px solid #eee}
.wx-select-row input{width:18px;height:18px;accent-color:#07c160}
.wx-select-row .wx-avatar{width:34px;height:34px;flex-basis:34px}
.wx-viewer-sheet{position:absolute;inset:0;z-index:8;background:#0006;display:flex;align-items:flex-end}
.wx-viewer-panel{width:100%;max-height:75%;overflow:auto;background:#fff;border-radius:14px 14px 0 0;padding:16px 14px calc(16px + env(safe-area-inset-bottom,0px))}
.wx-viewer-panel h3{margin:0 0 12px;font-size:16px;text-align:center}
.wx-role-pick{width:100%;display:flex;align-items:center;gap:10px;border:0;border-radius:0;background:#fff;text-align:left;padding:10px 2px;border-bottom:1px solid #eee}
.wx-role-pick .wx-avatar{width:38px;height:38px;flex-basis:38px}
.wx-icon-btn{border:0;background:none;padding:5px;font-size:21px}
.wx-admin-note{margin:8px 2px;color:#888;font-size:12px;line-height:1.5}
.wx-inline-actions{display:flex;gap:7px;flex-wrap:wrap}
.wx-inline-actions button{border:0;border-radius:7px;background:#eef0f4;color:#435b8c;padding:7px 9px;font-size:12px}
.wx-admin-danger{color:#d83a3a!important;background:#fff0f0!important}
.wx-footer-safe{padding-bottom:env(safe-area-inset-bottom,0px)}
@media(min-width:521px){#post.wx-mode{max-width:390px!important;box-shadow:0 1px 8px #0002!important}.wx-app{min-height:852px}}

.wx-form-section input[type="checkbox"],.wx-form-section input[type="radio"]{width:18px;height:18px;vertical-align:middle;accent-color:#07c160}
.wx-form-section input[type="file"]{padding:9px;background:#fff}
.wx-admin-row .wx-avatar{border-radius:5px}
.wx-moment-meta .wx-like-button{margin-left:5px}
.wx-tab-icon{position:relative;display:grid;place-items:center}
.wx-tab-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.wx-tab-badge{position:absolute;top:0;left:calc(50% + 8px);width:10px;height:10px;border-radius:50%;background:#f05b5b;box-shadow:0 0 0 1.5px #f8f8f8}

/* The simulator omits the decorative status bar while retaining the device safe area. */
.wx-safe-top{height:env(safe-area-inset-top,0px);flex:none;background:#f6f6f6}

/* Home screen layout only */
.wx-main-app .wx-safe-top,.wx-main-app .wx-head{background:#ededed}
.wx-main-app .wx-head{height:52px;padding:0 16px;position:relative;justify-content:center;border:0}
.wx-main-app .wx-head h1{position:absolute;left:50%;transform:translateX(-50%);font-size:20px;font-weight:600}
.wx-main-app .wx-head-actions{position:absolute;right:15px;top:50%;transform:translateY(-50%);gap:0}
.wx-main-app .wx-head-actions .wx-icon-btn:not(.wx-home-add){width:28px;height:28px;padding:0;display:grid;place-items:center;font-size:18px;line-height:1}
.wx-home-app{background:#ededed}
.wx-home-app .wx-safe-top{background:#ededed}
.wx-home-app .wx-head{height:52px;padding:0 16px;position:relative;justify-content:center;background:#ededed;border:0}
.wx-home-app .wx-head h1{position:absolute;left:50%;transform:translateX(-50%);font-size:20px;font-weight:600}
.wx-home-app .wx-head-actions{position:absolute;right:15px;top:50%;transform:translateY(-50%);gap:0}
.wx-home-app .wx-home-add{width:28px;height:28px;padding:0;border:1.2px solid #222;border-radius:50%;font-size:16px;font-weight:700;line-height:25px;display:grid;place-items:center}
.wx-home-search{padding:4px 8px 12px;background:#ededed}
.wx-home-search-field{box-sizing:border-box;width:100%;min-width:0;height:44px;border-radius:6px;background:#fff;display:flex;align-items:center;justify-content:center;gap:1px}
.wx-home-search-icon{position:relative;top:2px;display:block;width:22px;height:22px;transform:none!important;flex:none;overflow:visible}
.wx-home-search-icon circle,.wx-home-search-icon path{fill:none;stroke:#b8b8b8;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.wx-home-search input{box-sizing:border-box;width:auto;min-width:0;max-width:280px;height:44px;flex:0 1 280px;padding:0 4px;border-radius:0;background:transparent;text-align:left;color:#aaa;font-size:16px}
.wx-home-search input::placeholder{color:#b8b8b8;opacity:1}
.wx-home-list{background:#fff}
.wx-home-row{min-height:82px;padding:11px 12px;gap:12px;border-bottom:1px solid #e9e9e9}
.wx-home-row .wx-avatar{width:54px;height:54px;flex-basis:54px;border-radius:6px}
.wx-home-row .wx-row-main{gap:5px}
.wx-home-row .wx-row-title{font-size:17px;color:#191919;font-weight:500}
.wx-home-row .wx-row-sub{font-size:14px;color:#a3a3a3}
.wx-home-row .wx-row-side{align-self:flex-start;padding-top:2px;font-size:12px;color:#b4b4b4}

/* WeChat-only new conversation sheet */
.wx-new-chat-sheet{background:rgba(0,0,0,.28)}
.wx-new-chat-panel{width:100%;padding:10px 12px calc(14px + env(safe-area-inset-bottom,0px));border-radius:18px 18px 0 0;background:#f4f5f7;box-shadow:0 -4px 24px #00000012}
.wx-new-chat-grabber{width:34px;height:4px;margin:0 auto 13px;border-radius:3px;background:#c8c9cc}
.wx-new-chat-panel h3{margin:0;text-align:center;color:#1d1d1f;font-size:17px;font-weight:600;line-height:1.4}
.wx-new-chat-panel>p{margin:4px 0 14px;text-align:center;color:#999;font-size:12px}
.wx-new-chat-option{width:100%;min-height:64px;margin:0 0 8px;padding:9px 12px;display:flex;align-items:center;gap:12px;border:0;border-radius:12px;background:#fff;text-align:left;color:#222}
.wx-new-chat-icon{width:40px;height:40px;flex:none;display:grid;place-items:center;border-radius:11px;font-size:15px;font-weight:650}
.wx-new-chat-icon.private{background:#e5f7eb;color:#07a94f}
.wx-new-chat-icon.group{background:#edf1fc;color:#5878c4}
.wx-new-chat-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.wx-new-chat-copy b{font-size:15px;font-weight:550}
.wx-new-chat-copy small{font-size:12px;color:#999}
.wx-new-chat-option .wx-chevron{margin-left:auto;font-size:22px}
.wx-new-chat-cancel{width:100%;height:48px;margin-top:2px;border:0;border-radius:12px;background:#fff;color:#555;font-size:15px}

/* WeChat conversation form polish */
.wx-chat-form{background:#f3f4f6}
.wx-chat-form .wx-form-section{margin-bottom:11px;padding:12px 14px;border-radius:12px;background:#fff;box-shadow:0 1px 2px rgba(25,35,50,.04)}
.wx-chat-form .wx-form-section>label:not(.wx-select-row){margin:0 0 8px;color:#70757d;font-size:12px;font-weight:550}
.wx-chat-form .wx-form-section input:not([type="checkbox"]):not([type="radio"]),.wx-chat-form .wx-form-section select{min-height:44px;border-color:#e4e6eb;border-radius:9px;background:#fff;font-size:15px}
.wx-chat-form .wx-chat-members{padding:0;background:transparent;box-shadow:none}
.wx-chat-form .wx-chat-members>label{display:block;margin:0 0 8px;color:#70757d;font-size:12px;font-weight:550}
.wx-chat-form .wx-chat-members .wx-select-list{padding:2px 12px;border:1px solid #eceef1;border-radius:13px;background:#fff;box-shadow:0 1px 2px rgba(25,35,50,.04)}
.wx-chat-form .wx-chat-members .wx-select-row{display:flex!important;align-items:center;gap:12px;min-height:58px;margin:0;padding:8px 2px;border-bottom:1px solid #f0f1f3;color:#292c31;font-size:14px;cursor:pointer}
.wx-chat-form .wx-chat-members .wx-select-row:last-child{border-bottom:0}
.wx-chat-form .wx-chat-members .wx-select-row input{width:18px;height:18px;flex:0 0 18px;margin:0;accent-color:#07c160}
.wx-chat-form .wx-chat-members .wx-select-row .wx-avatar{width:42px!important;height:42px!important;flex:0 0 42px!important;border-radius:10px}

/* WeChat chat screen: closer to the supplied iOS reference. */
.wx-chat-head{height:54px;background:#ededed;border-bottom:1px solid #dcdcdc;position:relative;justify-content:center;padding:0 14px}
.wx-chat-head h1{position:absolute;left:50%;transform:translateX(-50%);max-width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:19px;font-weight:600}
.wx-chat-head>.wx-back{position:absolute;left:13px;top:50%;transform:translateY(-50%);z-index:1;font-size:29px;font-weight:300}
.wx-chat-head .wx-head-actions{position:absolute;right:13px;top:50%;transform:translateY(-50%);z-index:1}
.wx-chat-head .wx-icon-btn{font-size:23px;letter-spacing:1px;padding:5px 2px}
.wx-chat-scroll{padding:12px 12px 18px;background:#ededed}
.wx-chat-row{gap:9px;margin:7px 0 16px}
.wx-chat-row .wx-avatar{width:42px;height:42px;flex-basis:42px;border-radius:5px}
.wx-chat-stack{max-width:78%}
.wx-chat-bubble{padding:9px 13px;line-height:1.45;min-height:40px;font-size:16px;border-radius:5px}
.wx-chat-bubble::before{top:14px}
.wx-chat-composer{height:auto;min-height:74px;flex:none;box-sizing:border-box;display:flex;align-items:center;gap:10px;padding:9px 12px calc(9px + env(safe-area-inset-bottom,0px));background:#f7f7f7;border-top:1px solid #dedede}
.wx-chat-tool{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;padding:0;border:1.5px solid #191919;border-radius:50%;background:transparent;color:#161616;font-size:25px;line-height:1}
.wx-chat-voice{font-size:17px;letter-spacing:-3px}
.wx-chat-input{height:48px;min-width:0;flex:1;box-sizing:border-box;border:1px solid #e6e6e6;border-radius:7px;padding:8px 10px;background:#fff;color:#191919;font:16px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif;outline:none;box-shadow:0 1px 2px #00000008}
.wx-chat-input:focus{border-color:#d4d4d4}
.wx-chat-emoji{font-size:27px;font-weight:400}
.wx-chat-plus{font-size:31px;font-weight:300}
.wx-chat-send{flex:none;border:0;border-radius:6px;background:#07c160;color:#fff;padding:8px 12px;font:inherit;font-size:14px;line-height:1.2}
.wx-chat-send[hidden]{display:none!important}
@media(max-width:360px){.wx-chat-composer{gap:6px;padding-left:8px;padding-right:8px}.wx-chat-tool{width:30px;flex-basis:30px}}

/* Composer icons and proportions follow the supplied reference. */
.wx-chat-composer{min-height:86px;gap:10px;padding:10px 13px calc(10px + env(safe-area-inset-bottom,0px));}
.wx-chat-tool{width:40px;height:40px;flex-basis:40px;border-width:1.8px;font-size:0;}
.wx-chat-tool svg{width:25px;height:25px;display:block;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round;}
.wx-chat-voice svg{width:24px;height:24px;stroke-width:2.1;}
.wx-chat-input{height:60px;border-radius:8px;padding:9px 12px;}
.wx-chat-emoji svg{width:27px;height:27px;stroke-width:2;}
.wx-chat-plus{font-size:31px;}
@media(max-width:360px){.wx-chat-composer{gap:7px;padding-left:9px;padding-right:9px}.wx-chat-tool{width:38px;height:38px;flex-basis:38px}.wx-chat-input{height:54px}}
.wx-chat-voice svg path:first-child{fill:currentColor;stroke:none}.wx-chat-voice svg path:not(:first-child){stroke-width:2.6}.wx-chat-emoji svg circle{fill:currentColor;stroke:none}.wx-chat-plus svg{width:27px;height:27px;stroke-width:2}

/* Refine the voice control and give the message field more width. */
.wx-chat-composer{gap:7px;padding-left:9px;padding-right:9px}
.wx-chat-tool{border-width:2px}
.wx-chat-voice svg{width:27px;height:27px}
.wx-chat-voice svg path:first-child{fill:currentColor;stroke:none}
.wx-chat-voice svg path:not(:first-child){fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round}
@media(max-width:360px){.wx-chat-composer{gap:5px;padding-left:7px;padding-right:7px}}

.wx-chat-voice svg circle:first-child{fill:currentColor;stroke:none}.wx-chat-voice svg path{fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round}

/* Use the user supplied WeChat composer icon assets without drawing a second ring. */
.wx-chat-voice,.wx-chat-emoji{border:0;background:transparent}
.wx-chat-icon-image{display:block;width:46px;height:46px;object-fit:contain}
.wx-chat-plus{border:2px solid #191919}
@media(max-width:360px){.wx-chat-icon-image{width:42px;height:42px}}

/* Keep the three composer controls compact and centered against the input. */
.wx-chat-composer{align-items:center}
.wx-chat-tool{width:36px;height:36px;flex:0 0 36px;align-self:center;box-sizing:border-box}
.wx-chat-icon-image{width:37px;height:37px}
.wx-chat-plus{position:relative;border:0}
.wx-chat-plus::before{content:"";position:absolute;inset:2px;border:1.8px solid #191919;border-radius:50%}
.wx-chat-plus svg{position:relative;width:23px;height:23px}
@media(max-width:360px){.wx-chat-tool{width:34px;height:34px;flex-basis:34px}.wx-chat-icon-image{width:35px;height:35px}.wx-chat-plus::before{inset:1px}}

/* Smaller composer icons, still centered on the same vertical axis. */
.wx-chat-tool{width:30px;height:30px;flex-basis:30px}
.wx-chat-icon-image{width:31px;height:31px}
.wx-chat-plus::before{inset:1px;border-width:1.6px}
.wx-chat-plus svg{width:20px;height:20px}
@media(max-width:360px){.wx-chat-tool{width:28px;height:28px;flex-basis:28px}.wx-chat-icon-image{width:29px;height:29px}.wx-chat-plus svg{width:19px;height:19px}}

.wx-chat-input{height:54px}
@media(max-width:360px){.wx-chat-input{height:50px}}

.wx-chat-title{max-width:100%;border:0;padding:0;background:transparent;color:inherit;font:inherit;line-height:inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.wx-sender-picker .wx-role-pick{gap:12px}
.wx-sender-check{margin-left:auto;color:#07c160;font-size:18px;font-weight:700}
.wx-chat-head h1{font-size:17px}
.wx-chat-head h1{font-size:16px!important}
.wx-chat-head .wx-chat-title{font-size:16px!important;font-family:inherit;font-weight:600}
.wx-chat-head h1{font-size:18px!important}
.wx-chat-head .wx-chat-title{font-size:18px!important}
.wx-chat-head>.wx-back{transform:translateY(-50%) scaleY(1.45);transform-origin:center}
.wx-chat-head>.wx-back{transform:translateY(calc(-50% - 2px)) scaleY(1.45)}
.wx-chat-toast{position:absolute;left:50%;top:50%;z-index:20;transform:translate(-50%,-50%);max-width:82%;padding:9px 14px;border-radius:8px;background:rgba(0,0,0,.68);color:#fff;font-size:14px;line-height:1.35;text-align:center;white-space:nowrap;pointer-events:none;box-shadow:0 2px 8px #0002}

/* Pull-up WeChat emoji tray, using the supplied 263 local emoji assets. */
.wx-chat-emoji-keyboard{border:1.8px solid #191919;border-radius:50%}
.wx-chat-keyboard-icon{width:20px!important;height:20px!important;stroke-width:1.8!important}
.wx-chat-emoji-row .wx-chat-bubble{padding:0;background:transparent;min-height:0;overflow:visible}
.wx-chat-emoji-row .wx-chat-bubble::before{display:none}
.wx-chat-emoji-message{display:inline-block;width:19px;height:19px;object-fit:contain;border-radius:0;vertical-align:middle;position:relative;top:-2px}
.wx-emoji-panel{flex:0 0 min(36vh,320px);min-height:220px;max-height:42vh;display:flex;flex-direction:column;overflow:hidden;background:#f7f7f7;border-top:1px solid #d8d8d8;animation:wx-emoji-rise .16s ease-out}
@keyframes wx-emoji-rise{from{transform:translateY(18px);opacity:.7}to{transform:translateY(0);opacity:1}}
.wx-emoji-category-bar{height:48px;flex:none;display:flex;align-items:center;gap:3px;padding:3px 10px;background:#f7f7f7;border-bottom:1px solid #e3e3e3}
.wx-emoji-category{width:44px;height:42px;flex:0 0 44px;display:grid;place-items:center;padding:5px;border:0;border-radius:5px;background:transparent;color:#171717}
.wx-emoji-category.active{background:#fff}
.wx-emoji-category svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.wx-emoji-category img{width:28px;height:28px;object-fit:contain}
.wx-emoji-search-wrap{flex:none;padding:7px 12px 0}
.wx-emoji-search-input{width:100%;height:34px;box-sizing:border-box;border:0;border-radius:7px;padding:0 10px;background:#e8e8e8;font:14px inherit;outline:0}
.wx-emoji-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.wx-emoji-content::-webkit-scrollbar{display:none}
.wx-emoji-section-title{padding:8px 13px 5px;color:#858585;font-size:13px;line-height:1.2}
.wx-emoji-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px 0;padding:0 8px 9px}
.wx-emoji-cell{height:48px;min-width:0;display:grid;place-items:center;padding:2px;border:0;border-radius:5px;background:transparent;cursor:pointer}
.wx-emoji-cell:active{background:#e7e7e7}
.wx-emoji-cell img{display:block;width:38px;height:38px;object-fit:contain}
.wx-emoji-empty{padding:20px 12px;text-align:center;color:#aaa;font-size:13px}
@media(max-width:360px){.wx-emoji-panel{flex-basis:min(38vh,300px);min-height:200px}.wx-emoji-cell{height:44px}.wx-emoji-cell img{width:34px;height:34px}}
.wx-emoji-panel{box-sizing:border-box;padding-bottom:env(safe-area-inset-bottom,0px)}

/* Composer accepts both text and the chosen emoji images inline. */
.wx-chat-input[contenteditable="true"]{display:block;overflow-y:auto;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.4;outline:none}
.wx-chat-input[contenteditable="true"] img.wx-composer-emoji{display:inline-block;width:19px;height:19px;object-fit:contain;vertical-align:middle;margin:0 2px;position:relative;top:-2px}
.wx-chat-inline-emoji{display:inline-block;width:19px;height:19px;object-fit:contain;vertical-align:middle;margin:0 2px;position:relative;top:-2px}
.wx-emoji-cell img{width:28px!important;height:28px!important}
@media(max-width:360px){.wx-emoji-cell img{width:28px!important;height:28px!important}}

.wx-chat-input[contenteditable="true"].wx-chat-input-single-line{box-sizing:border-box}

/* Keep the emoji tray in the chat's bottom dock so it lifts the composer and shrinks chat history space. */
.wx-chat-dock{position:relative;z-index:1;flex:0 0 auto;display:flex;flex-direction:column;width:100%;min-width:0;min-height:0}
.wx-chat-scroll{flex:1 1 0%;min-height:0}
.wx-chat-dock .wx-emoji-panel{position:relative;inset:auto;flex:0 1 min(36vh,320px);min-height:min(220px,28vh);max-height:42vh;width:100%}
.wx-chat-dock.wx-emoji-open .wx-chat-composer{height:auto!important;min-height:0!important;padding:10px 9px 0!important}

/* Group avatars on the chat list mirror WeChat's compact participant mosaic. */
.wx-home-row .wx-group-avatar{width:54px;height:54px;flex:0 0 54px;box-sizing:border-box;display:grid;grid-template-columns:repeat(var(--wx-avatar-cols,2),1fr);grid-auto-rows:1fr;gap:2px;padding:3px;overflow:hidden;border-radius:6px;background:#e8e8e8}
.wx-group-avatar-cell{min-width:0;min-height:0;display:grid;place-items:center;overflow:hidden;border-radius:3px;background:#d7d7d7;color:#fff;font-size:10px}
.wx-group-avatar-cell img{width:100%;height:100%;object-fit:cover}
.wx-message-menu-backdrop{position:absolute;inset:0;z-index:18;background:rgba(0,0,0,.08)}
.wx-message-menu{position:absolute;box-sizing:border-box;display:flex;align-items:stretch;padding:5px;border-radius:11px;background:#303030;color:#fff;box-shadow:0 4px 18px #0004;animation:wx-menu-pop .12s ease-out}
.wx-message-menu::after{position:absolute;bottom:-6px;left:50%;width:12px;height:12px;content:"";transform:translateX(-50%) rotate(45deg);background:#303030}
.wx-message-menu-item{position:relative;z-index:1;width:59px;min-height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-right:1px solid #ffffff20;background:transparent;color:#fff}
.wx-message-menu-item:last-child{border-right:0}
.wx-message-menu-item span{font-size:18px;line-height:20px}
.wx-message-menu-item small{font-size:10px;white-space:nowrap;color:#eee}
.wx-message-menu-item:active{background:#ffffff20}
.wx-reply-preview{min-height:36px;box-sizing:border-box;display:flex;align-items:center;gap:8px;padding:5px 12px;background:#f5f5f5;border-top:1px solid #e5e5e5;color:#777;font-size:12px}
.wx-reply-preview span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wx-reply-preview b{color:#555;font-weight:550}
.wx-reply-preview button{width:24px;height:24px;border:0;background:transparent;color:#999;font-size:20px;line-height:1}
@keyframes wx-menu-pop{from{opacity:0;transform:translateY(4px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
.wx-message-menu{display:grid;grid-template-columns:repeat(2,78px);grid-auto-rows:34px;padding:4px;gap:1px;border-radius:9px}
.wx-message-menu.wx-message-menu-5{grid-template-columns:repeat(3,78px)}
.wx-message-menu::after{display:none}
.wx-message-menu-item{width:auto;min-height:0;display:flex;align-items:center;justify-content:center;padding:0 3px;border:0;border-radius:5px;font-size:12px;line-height:1.2;white-space:nowrap}
.wx-message-menu-item span{display:none}
.wx-message-menu-item small{display:none}

/* Keep the contextual actions light and anchored tightly above the selected message. */
.wx-message-menu-backdrop{background:transparent}
.wx-message-menu{grid-auto-rows:30px;padding:2px;gap:.5px}
.wx-message-menu.wx-message-menu-5{grid-template-columns:repeat(3,72px)}
.wx-message-menu:not(.wx-message-menu-5){grid-template-columns:repeat(2,72px)}
.wx-message-menu-item{border-radius:3px}
.wx-message-menu-backdrop{position:fixed;inset:0}
.wx-message-menu-backdrop{position:absolute;inset:0}

/* Keep the rejection note from contributing to the message bubble's width. */
.wx-chat-stack{position:relative}
.wx-chat-row-blocked{margin-bottom:34px!important}
.wx-chat-stack>.wx-chat-blocked-note{position:absolute;top:100%;left:50%;right:auto;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 92px);padding:3px 0 0;text-align:center;white-space:nowrap;pointer-events:none}
.wx-chat-row{position:relative}
.wx-chat-stack{position:static}
.wx-chat-row>.wx-chat-blocked-note{position:absolute;top:100%;left:50%;right:auto;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 92px);padding:3px 0 0;text-align:center;white-space:nowrap;pointer-events:none}

/* Quoted replies are shown as separate cards, like the supplied references. */
.wx-chat-row-has-quote .wx-chat-bubble{width:fit-content;max-width:100%;box-sizing:border-box}
.wx-chat-row-has-quote .wx-chat-stack{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.wx-chat-row.right.wx-chat-row-has-quote .wx-chat-stack{align-items:flex-end}
.wx-chat-quote-preview{align-self:flex-start;box-sizing:border-box;width:max-content;max-width:100%;margin-top:7px;padding:8px 11px;border-radius:4px;background:#dedede;color:#777;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.wx-chat-row.right .wx-chat-quote-preview{align-self:flex-end}
.wx-chat-row.right.wx-chat-row-has-quote .wx-chat-bubble{align-self:flex-end}
.wx-chat-quote-preview b{font-weight:500;color:#666}
.wx-chat-quote-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;width:100%;max-height:none;overflow:hidden}
.wx-reply-preview{min-height:44px;margin:7px 12px 9px;padding:8px 12px;border-radius:6px;background:#e5e5e5;color:#777;font-size:14px;line-height:1.45}
.wx-chat-dock>.wx-reply-preview{margin:2px 83px 9px 46px;padding:8px 12px;min-height:44px;border:0;border-radius:6px;background:#e5e5e5;font-size:14px;line-height:1.4}
.wx-chat-dock>.wx-reply-preview span{white-space:normal;overflow-wrap:anywhere;text-overflow:clip;align-self:center}
.wx-chat-dock>.wx-reply-preview button{flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:#aaa;color:#fff;font-size:16px;line-height:22px}
@media(max-width:360px){.wx-chat-dock>.wx-reply-preview{margin-right:73px;margin-left:40px}}

/* Quoted replies are shown as separate cards, like the supplied references. */
.wx-chat-row-has-quote .wx-chat-bubble{width:fit-content;max-width:100%;box-sizing:border-box}
.wx-chat-quote-preview{align-self:flex-start;box-sizing:border-box;width:max-content;max-width:100%;margin-top:7px;padding:8px 11px;border-radius:4px;background:#dedede;color:#777;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.wx-chat-row.right .wx-chat-quote-preview{align-self:flex-end}
.wx-chat-quote-preview b{font-weight:500;color:#666}
.wx-reply-preview{min-height:44px;margin:7px 12px 9px;padding:8px 12px;border-radius:6px;background:#e5e5e5;color:#777;font-size:14px;line-height:1.45}
.wx-chat-dock>.wx-reply-preview button{box-sizing:border-box;display:grid;place-items:center;flex:0 0 20px;width:20px;height:20px;margin:0;padding:0;border:0;border-radius:50%;appearance:none;background:#aaa;color:#fff;line-height:1}
.wx-chat-dock>.wx-reply-preview button svg{display:block;width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.wx-chat-dock>.wx-reply-preview button:active{background:#888}
.wx-chat-dock>.wx-reply-preview span{display:block;-webkit-line-clamp:unset;line-clamp:unset;max-height:none;overflow:visible;white-space:normal;overflow-wrap:anywhere;text-overflow:clip}

/* Message editor: calmer card layout with clearer sender and content sections. */
.wx-message-form{padding:16px 14px 24px;background:#f2f3f6}
.wx-message-form .wx-form-section{margin:0 0 12px;padding:14px;border:1px solid #eceef2;border-radius:14px;background:#fff;box-shadow:0 2px 8px rgba(23,35,52,.035)}
.wx-message-form .wx-form-section>label:not(.wx-select-row){display:block;margin:0 0 9px;color:#454a52;font-size:13px;font-weight:600;letter-spacing:.1px}
.wx-message-form .wx-form-section input:not([type="checkbox"]):not([type="radio"]),.wx-message-form .wx-form-section select,.wx-message-form .wx-form-section textarea{box-sizing:border-box;width:100%;border:1px solid #e6e8ed;border-radius:10px;background:#f9fafb;color:#20242b;font-size:15px;transition:border-color .15s,background .15s}
.wx-message-form .wx-form-section input:not([type="checkbox"]):not([type="radio"]),.wx-message-form .wx-form-section select{min-height:46px;padding:10px 12px}
.wx-message-form .wx-form-section textarea{min-height:112px;padding:12px;line-height:1.55;resize:vertical}
.wx-message-form .wx-form-section input:focus,.wx-message-form .wx-form-section select:focus,.wx-message-form .wx-form-section textarea:focus{border-color:#8fd9ab;background:#fff;outline:none;box-shadow:0 0 0 3px rgba(7,193,96,.1)}
.wx-message-form .wx-form-section>label.wx-select-row{box-sizing:border-box;display:flex;align-items:center;gap:11px;min-height:48px;margin:7px 0 0;padding:8px 11px;border:1px solid #eceef2;border-radius:10px;background:#f9fafb;color:#30343a;font-size:14px}
.wx-message-form .wx-form-section>.wx-select-list{margin-top:7px;padding:0 10px;border:1px solid #eceef2;border-radius:11px;background:#f9fafb}
.wx-message-form .wx-select-list .wx-select-row{min-height:54px;padding:7px 2px;border-bottom-color:#eceef2;color:#30343a;font-size:14px}
.wx-message-form .wx-select-list .wx-select-row:last-child{border-bottom:0}
.wx-message-form .wx-select-row input{width:18px;height:18px;flex:0 0 18px;margin:0;accent-color:#07c160}
.wx-message-form .wx-select-list .wx-avatar{width:36px;height:36px;flex:0 0 36px;border-radius:9px}
.wx-message-form .wx-form-section label:has(input[type="checkbox"]){display:flex;align-items:center;gap:10px;min-height:24px;margin:0;color:#353a42;font-size:14px;font-weight:500}
.wx-message-form .wx-form-section input[type="checkbox"]{width:19px;height:19px;flex:0 0 19px;margin:0;accent-color:#07c160}
.wx-message-form-actions{gap:10px;padding:11px 14px calc(11px + env(safe-area-inset-bottom,0px));border-top:1px solid #e9eaee;background:rgba(255,255,255,.96);box-shadow:0 -4px 14px rgba(22,34,49,.04)}
.wx-message-form-actions button{min-height:46px;border-radius:11px;font-size:15px;font-weight:600}
.wx-message-form-actions button:first-child{background:#f0f1f4;color:#555b63}
.wx-message-form-actions button:last-child{background:#07c160;box-shadow:0 3px 8px rgba(7,193,96,.18)}
.wx-message-sender-section{padding:14px!important}
.wx-message-sender-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.wx-message-sender-option{position:relative;box-sizing:border-box;display:flex!important;align-items:center;gap:9px;min-width:0;min-height:58px;margin:0!important;padding:8px 9px!important;border:1px solid #e8eaee;border-radius:11px;background:#fafbfc;color:#353a42!important;font-size:13px!important;font-weight:500!important;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}
.wx-message-sender-option input[type="radio"]{position:absolute;width:1px!important;height:1px!important;margin:0;opacity:0;pointer-events:none}
.wx-message-sender-option:has(input:checked){border-color:#87d7a2;background:#f0faf4;box-shadow:0 0 0 2px rgba(7,193,96,.07)}
.wx-message-sender-option:focus-within{outline:2px solid rgba(7,193,96,.2);outline-offset:2px}
.wx-message-sender-option .wx-avatar,.wx-message-self-avatar{width:38px!important;height:38px!important;flex:0 0 38px!important;border-radius:10px!important}
.wx-message-self-avatar{display:grid;place-items:center;background:#e4f7eb;color:#08a34f;font-size:13px;font-weight:650}
.wx-message-sender-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wx-message-sender-check{display:none;flex:0 0 18px;width:18px;height:18px;border-radius:50%;background:#07c160;color:#fff;font-size:11px;line-height:18px;text-align:center}
.wx-message-sender-option:has(input:checked) .wx-message-sender-check{display:block}
@media(max-width:350px){.wx-message-sender-grid{grid-template-columns:1fr}}
.wx-chat-dock>.wx-reply-preview button{box-sizing:border-box;display:grid;place-items:center;flex:0 0 20px;width:20px;height:20px;margin:0;padding:0;border:0;border-radius:50%;appearance:none;background:#aaa;color:#fff;line-height:1}
.wx-chat-dock>.wx-reply-preview button svg{display:block;width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.wx-chat-dock>.wx-reply-preview button:active{background:#888}
.wx-message-sender-empty{grid-column:1/-1;padding:16px 12px;border-radius:10px;background:#f8f9fa;color:#8b9098;text-align:center;font-size:13px}
.wx-message-sender-copy{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:2px}
.wx-message-sender-name{width:100%;flex:none;font-size:13px;font-weight:550}
.wx-message-sender-side{padding:2px 6px;border-radius:5px;background:#edf0f3;color:#828992;font-size:10px;line-height:1.2}
.wx-message-sender-option:has(input:checked) .wx-message-sender-side{background:#dff3e7;color:#13894c}
.wx-chat-group-left-role .wx-chat-stack{transform:translateY(-4px)}
.wx-chat-group-no-nickname .wx-chat-stack{transform:none}

.wx-chat-group-right-role .wx-chat-stack{display:flex;flex-direction:column;align-items:flex-end;transform:none!important}
.wx-chat-quote-preview{display:block;width:max-content;max-height:none;overflow:visible}
.wx-quote-text{-webkit-line-clamp:unset;line-clamp:unset;max-height:none;overflow:visible}
.wx-chat-dock>.wx-reply-preview>.wx-quote-text,.wx-chat-dock>.wx-reply-preview>span>.wx-quote-text{display:inline}

/* Message editor layouts for WeChat payment, voice and call records. */
.wx-special-form{padding:16px!important}
.wx-special-form>label{display:block;margin:0 0 8px;color:#555d66;font-size:13px;font-weight:600}
.wx-special-money-input{display:flex;align-items:center;gap:10px;min-height:54px;margin-bottom:18px;padding:0 14px;border:1px solid #e5e8ec;border-radius:10px;background:#fff}
.wx-special-money-input>span{font-size:24px;font-weight:650;color:#30343a}
.wx-special-money-input input{flex:1!important;min-width:0!important;min-height:46px!important;padding:6px 0!important;border:0!important;background:transparent!important;font-size:22px!important;font-weight:600;text-align:right}
.wx-special-money-input input:focus{outline:0!important;box-shadow:none!important}
.wx-special-money-input>b{font-size:15px;font-weight:500}
.wx-special-form>textarea{box-sizing:border-box;width:100%;min-height:86px!important;padding:12px!important;border:1px solid #e5e8ec!important;border-radius:10px!important;background:#fff!important;font-size:15px!important;line-height:1.5}
.wx-redpacket-preview-amount{margin:26px 0 16px;text-align:center;font-size:44px;font-weight:650;color:#333}
.wx-redpacket-preview-button{display:grid;place-items:center;min-height:48px;border-radius:9px;background:#ed633d;color:#fff;font-size:16px;font-weight:600}
.wx-voice-form .wx-special-check{display:flex;align-items:center;gap:9px;margin:17px 0;padding:12px 0;border-top:1px solid #eff0f2;border-bottom:1px solid #eff0f2;color:#30343a;font-size:15px;font-weight:500}
.wx-voice-form .wx-special-check input{width:19px;height:19px;margin:0;accent-color:#07c160}
.wx-voice-form textarea{min-height:86px!important}
.wx-transfer-form .wx-select-list{max-height:180px;overflow:auto;margin-bottom:15px}
.wx-call-form>.wx-form-section{margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.wx-call-form>.wx-form-section>label{margin:0 0 8px}
.wx-call-form>.wx-form-section{margin-bottom:16px}
.wx-call-form>.wx-form-section:last-child{margin-bottom:0}
.wx-chat-row-money .wx-chat-bubble{width:245px;max-width:100%;min-height:0;padding:0;background:transparent!important;overflow:visible}
.wx-chat-row-money .wx-chat-bubble::before{top:17px}
.wx-chat-row-money:not(.right) .wx-chat-bubble::before{border-right-color:#f6a13a}
.wx-chat-row-money.right .wx-chat-bubble::before{border-left-color:#f6a13a}
.wx-money-card{box-sizing:border-box;width:100%;padding:12px 13px 8px;border-radius:6px;background:#f6a13a;color:#fff;box-shadow:0 1px 2px #0001}
.wx-money-card-main{display:flex;align-items:center;gap:11px;min-height:48px}
.wx-money-card-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:5px;background:#df4b32;color:#ffdf9b;font-size:24px;font-weight:700}
.wx-transfer-icon{border:2px solid #fff;border-radius:50%;background:transparent;color:#fff;font-size:23px}
.wx-money-card-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.wx-money-card-copy b{overflow:hidden;color:#fff;font-size:16px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.wx-money-card-copy small{color:#fff9;font-size:11px}
.wx-money-card-footer{margin-top:8px;padding-top:6px;border-top:1px solid #ffffff35;color:#fff9;font-size:11px}
.wx-chat-row-voice .wx-chat-stack{display:flex;flex-direction:column;gap:8px}
.wx-chat-row-voice .wx-voice-bubble{display:flex;align-items:center;flex-direction:row-reverse;gap:1px;width:fit-content;min-width:78px;max-width:190px;padding:9px 12px 9px 2px}
.wx-chat-row-voice.right .wx-voice-bubble{align-self:flex-end;flex-direction:row;padding:9px 2px 9px 12px}
.wx-chat-row-voice.right .wx-voice-icon{transform:rotate(180deg)}
.wx-voice-seconds{font-size:14px;white-space:nowrap}
.wx-voice-icon{display:block;width:26px;height:26px;flex:0 0 26px;color:#17191c}
.wx-chat-row-voice .wx-voice-transcript{width:fit-content;max-width:100%;padding:9px 12px;background:#fff;color:#262626}
.wx-chat-row-voice.right .wx-voice-transcript{align-self:flex-end}
.wx-chat-row-voice .wx-voice-transcript::before{display:none}
.wx-chat-row-call .wx-call-record{display:flex;align-items:center;gap:9px;width:fit-content;min-width:136px;padding:8px 11px;white-space:nowrap}
.wx-call-record-icon{display:inline-flex;width:19px;height:19px;flex:none}
.wx-call-record-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.wx-chat-row-call .wx-chat-fail{left:-26px}
.wx-message-menu.wx-message-menu-6{grid-template-columns:repeat(3,72px)}

/* WeChat message refinements */
.wx-chat-row-redpacket .wx-chat-bubble{width:218px}
.wx-chat-row.right .wx-voice-transcript{background:#fff!important}
.wx-chat-image-message{position:relative;width:fit-content;max-width:100%;line-height:0}
.wx-chat-image-message img{display:block;max-width:210px;max-height:260px;border-radius:4px;object-fit:cover}
.wx-chat-row-image .wx-chat-stack{min-width:0}
.wx-transfer-recipient-picker{margin:0 0 17px;padding:12px;border:1px solid #e8ebef;border-radius:12px;background:linear-gradient(180deg,#fff,#f8faf9)}
.wx-transfer-recipient-picker>label{margin:0 0 3px!important;color:#343a40!important;font-size:14px!important;font-weight:650!important}
.wx-transfer-recipient-picker>small{display:block;margin:0 0 9px;color:#9299a2;font-size:11px}
.wx-transfer-recipient-picker .wx-select-list{max-height:156px;margin:0!important;padding:3px 10px!important;border:1px solid #edf0f1!important;border-radius:10px!important;background:#fff!important}
.wx-transfer-recipient-picker .wx-select-row{min-height:50px!important;gap:9px!important;padding:6px 3px!important;border-bottom-color:#f0f2f3!important;cursor:pointer}
.wx-transfer-recipient-picker .wx-select-row:has(input:checked){color:#078d49;background:#f0fbf5}
.wx-transfer-recipient-picker .wx-select-row input{width:17px!important;height:17px!important;flex:0 0 17px!important;margin:0!important;accent-color:#07c160}
.wx-transfer-recipient-picker .wx-select-row .wx-avatar{width:34px!important;height:34px!important;flex:0 0 34px!important;border-radius:9px!important}
.wx-message-menu.wx-message-menu-7{grid-template-columns:repeat(3,72px)}
.wx-money-card-complete{background:#f9dfbd!important;color:#fff!important;box-shadow:none!important}
.wx-money-card-complete .wx-money-card-icon{background:#ee826e;color:#ffe5b5}
.wx-money-card-complete .wx-money-card-footer{border-top-color:#fff5;color:#fff9}
.wx-money-card-complete .wx-money-card-copy b{color:#fff}
.wx-money-card-complete .wx-money-card-copy small{color:#fff9}
.wx-money-card-complete .wx-transfer-icon{background:transparent;border-color:#fff;color:#fff}
.wx-money-card-complete .wx-redpacket-claimed-icon{position:relative;border-radius:5px 5px 7px 7px;background:#ec806c;color:#ffe9b7}
.wx-redpacket-claimed-icon:before{position:absolute;top:-3px;left:0;right:0;height:8px;border-radius:50%;background:#f7b19e;content:""}
.wx-chat-row-money:not(.right) .wx-money-complete-bubble::before{border-right-color:#f9dfbd!important}
.wx-chat-row-money.right .wx-money-complete-bubble::before{border-left-color:#f9dfbd!important}
.wx-chat-row-call:not(.right) .wx-call-record-icon{order:-1}
.wx-system-template-section select{background:#f9fafb}
.wx-system-redpacket-emoji{width:10px;height:10px;margin:0 2px;vertical-align:-1px;object-fit:contain}
.wx-system-redpacket-highlight{color:#f2ad69}
.wx-chat-row-link .wx-chat-bubble,.wx-chat-row-file .wx-chat-bubble,.wx-chat-row-card .wx-chat-bubble{background:#fff!important}
.wx-chat-row.right .wx-link-bubble::before,.wx-chat-row.right .wx-file-bubble::before,.wx-chat-row.right .wx-contact-card-bubble::before{border-left-color:#fff!important}
.wx-chat-row:not(.right) .wx-link-bubble::before,.wx-chat-row:not(.right) .wx-file-bubble::before,.wx-chat-row:not(.right) .wx-contact-card-bubble::before{border-right-color:#fff!important}
.wx-link-bubble,.wx-file-bubble,.wx-contact-card-bubble{box-sizing:border-box;width:248px;max-width:100%;padding:0!important;overflow:visible!important}
.wx-link-card{display:grid;grid-template-columns:minmax(0,1fr) 66px;grid-template-rows:auto auto;gap:8px 10px;box-sizing:border-box;width:100%;padding:12px 13px 8px;border-radius:5px;background:#fff;color:#272a2f}
.wx-link-card-copy{grid-column:1;grid-row:1;min-width:0}
.wx-link-card-copy>b{display:block;overflow:hidden;font-size:15px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.wx-link-card-copy>p{display:-webkit-box;grid-column:1;grid-row:2;overflow:hidden;margin:7px 0 0;color:#858b93;font-size:13px;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.wx-link-card-image{grid-column:2;grid-row:1/3;width:66px;height:66px;border-radius:3px;object-fit:cover}
.wx-link-card-footer{display:flex;grid-column:1/-1;align-items:center;gap:6px;min-width:0;margin-top:2px;padding-top:7px;border-top:1px solid #eceef1;color:#858b93}
.wx-link-card-footer img,.wx-link-app-fallback{width:16px;height:16px;flex:0 0 16px;border-radius:3px;object-fit:cover}
.wx-link-app-fallback{display:grid;place-items:center;background:#dbe9ff;color:#5286cb;font-size:12px}
.wx-link-card-footer small{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.wx-file-bubble{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:82px!important;padding:12px 15px!important;background:#fff!important}
.wx-file-card-copy{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}
.wx-file-card-copy>b{overflow:hidden;color:#25282d;font-size:15px;font-weight:550;text-overflow:ellipsis;white-space:nowrap}
.wx-file-card-copy>small{color:#92979d;font-size:12px}
.wx-file-type-icon{position:relative;display:grid;place-items:center;flex:0 0 42px;width:42px;height:54px;padding-top:3px;box-sizing:border-box;background:var(--file-icon-color);clip-path:polygon(0 0,68% 0,100% 27%,100% 100%,0 100%);color:#fff;font-size:17px;font-weight:650}
.wx-file-type-icon:before{position:absolute;top:0;right:0;width:13px;height:14px;background:linear-gradient(45deg,#ffffff55 0 49%,#00000016 50%);content:""}
.wx-file-type-icon:has(+span){font-size:14px}
.wx-contact-card-message{display:flex;align-items:center;gap:11px;padding:12px 13px 11px}
.wx-contact-card-message .wx-avatar{width:48px;height:48px;flex:0 0 48px;border-radius:5px}
.wx-contact-card-message-copy{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}
.wx-contact-card-message-copy>b{overflow:hidden;color:#272a2f;font-size:15px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.wx-contact-card-message-copy>small{overflow:hidden;color:#90959c;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.wx-contact-card-message-footer{padding:7px 13px;border-top:1px solid #eceef1;color:#92979d;font-size:11px}
.wx-contact-card-form .wx-select-list{max-height:200px;overflow:auto}
.wx-contact-card-editor-preview{display:flex;align-items:center;gap:12px;margin-top:12px;padding:12px;border:1px solid #e9edf0;border-radius:11px;background:#fff}
.wx-contact-card-editor-preview .wx-avatar{width:48px;height:48px;flex:0 0 48px;border-radius:6px}
.wx-contact-card-editor-preview>div{display:flex;flex-direction:column;gap:5px;min-width:0}
.wx-contact-card-editor-preview b{overflow:hidden;color:#292d32;font-size:15px;text-overflow:ellipsis;white-space:nowrap}
.wx-contact-card-editor-preview small,.wx-contact-card-empty{color:#9399a1;font-size:12px}
.wx-file-windows-option{display:flex!important;align-items:center;gap:9px;margin:7px 0 0!important;color:#424950!important;font-size:14px!important}
.wx-file-windows-option input{width:18px!important;height:18px;accent-color:#07c160}
.wx-link-card-no-image .wx-link-card-copy{grid-column:1/-1}

.wx-contact-card-role-picker,.wx-contact-card-edit-fields{margin:0 0 14px;padding:13px;border:1px solid #e9edf1;border-radius:13px;background:#fff}
.wx-contact-card-role-picker> b,.wx-contact-card-edit-fields> b{display:block;margin:0 0 4px;color:#323840;font-size:14px;font-weight:650}
.wx-contact-card-role-picker>small{display:block;margin-bottom:10px;color:#949aa2;font-size:11px;line-height:1.5}
.wx-contact-card-role-picker .wx-select-list{max-height:190px;overflow:auto;padding:3px 9px;border:1px solid #eef0f2;border-radius:10px;background:#fafbfc}
.wx-contact-card-role-picker .wx-select-row{min-height:52px;padding:6px 3px;border-bottom-color:#eceff2;color:#353a40;font-size:14px;cursor:pointer}
.wx-contact-card-role-picker .wx-select-row:has(input:checked){border-radius:8px;background:#eef9f2;color:#087f43;font-weight:600}
.wx-contact-card-role-picker .wx-select-row input{width:17px;height:17px;flex:0 0 17px;margin:0;accent-color:#07c160}
.wx-contact-card-role-picker .wx-select-row .wx-avatar{width:38px;height:38px;flex:0 0 38px;border-radius:9px}
.wx-contact-card-edit-fields>.wx-form-section{margin:11px 0 0;padding:0;border:0;background:transparent;box-shadow:none}
.wx-contact-card-edit-fields>.wx-form-section>label:not(.wx-select-row){margin-bottom:6px}
.wx-contact-card-editor-preview{margin-top:0}
.wx-contact-card-editor-preview .wx-avatar{width:46px;height:46px;flex:0 0 46px;border-radius:6px}
.wx-group-nickname-editor{margin:0 0 12px;padding:13px;border:1px solid #e7ebef;border-radius:13px;background:#fff}
.wx-group-nickname-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:9px}
.wx-group-nickname-heading b{color:#343a40;font-size:14px;font-weight:650}
.wx-group-nickname-heading small{color:#9299a1;font-size:11px}
.wx-group-nickname-row{display:flex!important;align-items:center;gap:9px;min-height:48px;margin:0!important;padding:7px 0!important;border-top:1px solid #f0f1f3;color:#333a40!important;font-size:13px!important}
.wx-group-nickname-row .wx-avatar{width:34px;height:34px;flex:0 0 34px;border-radius:8px}
.wx-group-nickname-row>span:not(.wx-avatar){flex:0 0 66px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wx-group-nickname-row input{box-sizing:border-box;flex:1!important;width:0!important;min-width:0;min-height:36px!important;padding:7px 9px!important;border:1px solid #e6e9ed!important;border-radius:8px!important;background:#f9fafb!important;font-size:13px!important}
.wx-group-nickname-row input:focus{border-color:#8fd9ab!important;background:#fff!important;outline:none;box-shadow:0 0 0 3px rgba(7,193,96,.09)}
.wx-group-nickname-empty{padding:12px 0;border-top:1px solid #f0f1f3;color:#999;font-size:12px}
.wx-message-form .wx-role-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:250px;overflow:auto;margin:8px 0 0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
.wx-message-form .wx-role-choice-grid .wx-role-choice-card{position:relative;box-sizing:border-box;display:flex!important;align-items:center;gap:9px;min-width:0;min-height:68px;margin:0!important;padding:9px 27px 9px 9px!important;border:1px solid #e6e9ed!important;border-radius:13px!important;background:#fafbfc!important;color:#363b42!important;font-size:13px!important;cursor:pointer}
.wx-message-form .wx-role-choice-grid .wx-role-choice-card:has(input:checked){border-color:#83d7a0!important;background:#f0faf4!important;box-shadow:0 0 0 2px rgba(7,193,96,.06)}
.wx-message-form .wx-role-choice-grid .wx-role-choice-card:focus-within{outline:2px solid rgba(7,193,96,.18);outline-offset:2px}
.wx-message-form .wx-role-choice-grid .wx-role-choice-card>input[type=radio],.wx-message-form .wx-role-choice-grid .wx-role-choice-card>input[type=checkbox]{position:absolute;width:1px!important;height:1px!important;margin:0!important;opacity:0;pointer-events:none}
.wx-message-form .wx-role-choice-grid .wx-role-choice-card>.wx-avatar{width:38px!important;height:38px!important;flex:0 0 38px!important;border-radius:10px!important}
.wx-message-form .wx-role-choice-copy{display:flex;flex:1;flex-direction:column;gap:5px;min-width:0}
.wx-message-form .wx-role-choice-copy>b{overflow:hidden;color:#343940;font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.wx-message-form .wx-role-choice-side{align-self:flex-start;padding:2px 7px;border-radius:5px;background:#edf0f3;color:#848d97;font-size:10px;line-height:1.2}
.wx-message-form .wx-role-choice-side.right{background:#e2f5e9;color:#16874c}
.wx-message-form .wx-role-choice-check{position:absolute;top:50%;right:9px;display:none;place-items:center;width:20px;height:20px;transform:translateY(-50%);border-radius:50%;background:#07c160;color:#fff;font-size:12px;font-weight:700}
.wx-message-form .wx-role-choice-grid .wx-role-choice-card:has(input:checked) .wx-role-choice-check{display:grid}
.wx-message-form .wx-special-check{justify-content:space-between;min-height:42px}
.wx-message-form .wx-file-windows-option{justify-content:space-between;min-height:42px;padding:6px 0;border-top:1px solid #eff0f2}
.wx-message-form .wx-special-check input[type=checkbox],.wx-message-form .wx-file-windows-option input[type=checkbox]{position:relative;flex:0 0 48px!important;width:48px!important;height:28px!important;margin:0!important;padding:0!important;appearance:none;-webkit-appearance:none;border:0!important;border-radius:999px!important;background:#dfe2e6!important;box-shadow:none!important;cursor:pointer;transition:background .18s ease}
.wx-message-form .wx-special-check input[type=checkbox]::after,.wx-message-form .wx-file-windows-option input[type=checkbox]::after{position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;content:"";transition:transform .18s ease}
.wx-message-form .wx-special-check input[type=checkbox]:checked,.wx-message-form .wx-file-windows-option input[type=checkbox]:checked{background:#2dc653!important}
.wx-message-form .wx-special-check input[type=checkbox]:checked::after,.wx-message-form .wx-file-windows-option input[type=checkbox]:checked::after{transform:translateX(20px)}
@media(max-width:350px){.wx-message-form .wx-role-choice-grid{grid-template-columns:1fr}}
.wx-chat-background-setting{margin-top:14px!important}
.wx-chat-background-hint{margin:-3px 0 10px;color:#9298a0;font-size:11px}
.wx-chat-background-setting input[type=file]{cursor:pointer}
.wx-chat-background-setting .wx-inline-actions{margin-top:10px}
.wx-image-picker-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:0 13px;border:1px solid #dfe7e2;border-radius:9px;background:#f5faf7;color:#13884d;font:inherit;font-size:13px;font-weight:600;line-height:1;cursor:pointer}
.wx-image-picker-button>span{font-size:17px;line-height:1}
.wx-image-picker-button:active{background:#e9f7ee}
.wx-contact-profile-head{height:50px;background:#fff;border:0;padding:0 16px}
.wx-contact-profile-head h1{display:none}
.wx-contact-profile-head .wx-back{font-size:28px;font-weight:300}
.wx-contact-profile-page{background:#ededed;padding:0}
.wx-contact-profile-page>section{margin:0}
.wx-contact-hero{box-sizing:border-box;display:flex;align-items:flex-start;gap:16px;min-height:0;padding:24px;background:#fff}
.wx-contact-hero>.wx-avatar{width:64px;height:64px;flex:0 0 64px;border-radius:7px}
.wx-contact-hero-info{min-width:0;flex:1;margin-top:-2px}
.wx-contact-hero-info h2{display:flex;align-items:center;gap:4px;margin:0 0 7px;color:#181818;font-size:19px;font-weight:650;line-height:1.35}
.wx-contact-hero-info p{overflow:hidden;margin:2px 0;color:#686868;font-size:14px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}
.wx-contact-hero-info .wx-gender{width:15px;height:15px;flex:0 0 15px;margin:0 0 0 3px;font-size:10px}
.wx-contact-section-gap{height:10px;background:#ededed}
.wx-contact-friend-info{background:#fff}
.wx-contact-section-title{display:flex;align-items:center;justify-content:space-between;width:100%;height:51px;padding:0 16px;border:0;border-bottom:1px solid #f0f0f0;background:#fff;color:#181818;text-align:left;font:inherit;font-size:15px}
.wx-contact-tag-row{display:flex;align-items:center;gap:24px;min-height:52px;padding:0 16px;background:#fff;color:#777;font-size:14px}
.wx-contact-tag-row>b{color:#222;font-size:15px;font-weight:450}
.wx-contact-tag-row>b i{color:#aaa;font-style:normal}
.wx-contact-moments-row{box-sizing:border-box;display:flex;align-items:center;gap:10px;width:100%;min-height:88px;padding:0 16px;border:0;background:#fff;color:#181818;text-align:left;font:inherit;font-size:15px}
.wx-contact-moment-thumbs{display:flex;flex:1;align-items:center;gap:4px;min-width:0;overflow:hidden}
.wx-contact-moment-thumbs img{width:48px;height:48px;flex:0 0 48px;object-fit:cover;background:#eee}
.wx-contact-moment-thumbs small{color:#aaa;font-size:12px}
.wx-contact-moments-row .wx-chevron{margin-left:2px}
.wx-contact-action-row{height:56px;border-top:1px solid #f0f0f0;background:#fff}
.wx-contact-action-row button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:100%;border:0;background:#fff;color:#526b99;font:inherit;font-size:16px}
.wx-contact-action-row button:active{background:#f7f8fa}
.wx-contact-action-row svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.wx-personal-moments-page{background:#fff;color:#171717}
.wx-personal-moments-page>.wx-personal-profile{margin:0;background:#fff}
.wx-personal-cover{position:relative;height:320px;background-color:#667080;background-position:center;background-size:cover}
.wx-personal-cover:after{position:absolute;right:0;bottom:0;left:0;height:96px;background:linear-gradient(transparent,rgba(0,0,0,.42));content:"";pointer-events:none}
.wx-personal-back{position:absolute;z-index:2;top:12px;left:12px;width:38px;height:42px;padding:0;border:0;background:transparent;color:#fff;font-size:34px;line-height:1;text-shadow:0 1px 5px #0008}
.wx-personal-name{position:absolute;z-index:1;right:104px;bottom:15px;left:auto;max-width:calc(100% - 120px);overflow:hidden;color:#fff;font-size:20px;font-weight:650;text-align:right;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 1px 5px #0009}
.wx-personal-avatar-edit{position:absolute;z-index:2;right:16px;bottom:-23px;display:grid;width:76px;height:76px;place-items:center;overflow:hidden;padding:0;border:0;border-radius:7px;background:transparent;box-shadow:none;color:#777;font:600 24px inherit;cursor:pointer}
.wx-personal-avatar-edit img{width:100%;height:100%;border-radius:4px;object-fit:cover}
.wx-personal-signature{box-sizing:border-box;min-height:88px;padding:34px 18px 20px;text-align:right;color:#777;font-size:15px;line-height:1.5;white-space:pre-wrap}
.wx-personal-pinned{display:grid;grid-template-columns:54px minmax(0,1fr) 14px;align-items:center;gap:8px;margin:0 16px;padding:18px 0 24px;border-bottom:1px solid #eee;color:#171717}
.wx-personal-pinned>b{font-size:17px}
.wx-personal-pinned-grid{display:flex;gap:5px;min-width:0;overflow-x:auto;scrollbar-width:none}
.wx-personal-pinned-grid::-webkit-scrollbar{display:none}
.wx-personal-pin-item{display:block;flex:0 0 78px;width:78px;height:78px;padding:0;overflow:hidden;border:0;border-radius:3px;background:transparent;cursor:pointer}
.wx-personal-pin-gallery{display:grid;width:100%;height:100%;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:2px}
.wx-personal-pin-gallery img{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:cover}
.wx-personal-pin-count-1{grid-template-columns:1fr;grid-template-rows:1fr}
.wx-personal-pin-count-2{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:1fr}
.wx-personal-pin-text{display:grid;width:100%;height:100%;place-items:center;box-sizing:border-box;padding:7px;overflow:hidden;background:#f0f0f0;color:#666;font-size:12px;line-height:1.4;text-align:center;overflow-wrap:anywhere}
.wx-personal-pin-text-long{place-items:center stretch;text-align:left}
.wx-personal-pinned-arrow{color:#aaa;font-size:24px}
.wx-personal-timeline{padding:0 0 22px;background:#fff}
.wx-personal-moment{display:grid;grid-template-columns:58px minmax(0,1fr);gap:12px;padding:20px 16px 7px;color:#1d1d1f}
.wx-personal-moment-date{display:flex;align-items:baseline;gap:3px;padding-top:1px;white-space:nowrap}
.wx-personal-moment-date>b{font-size:21px;font-weight:550}
.wx-personal-moment-date>small{font-size:11px}
.wx-personal-moment-content{min-width:0}
.wx-personal-moment-main{display:grid;grid-template-columns:94px minmax(0,1fr);align-items:start;gap:8px}
.wx-personal-moment-thumb{display:block;width:94px;height:94px;object-fit:cover;background:#f0f0f0}
.wx-personal-moment-text{min-width:0;overflow-wrap:anywhere;font-size:17px;line-height:1.5;white-space:pre-wrap}
.wx-personal-moment-text-only{min-height:56px}
.wx-personal-moment-extra{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;margin-top:6px}
.wx-personal-moment-extra img{width:100%;aspect-ratio:1;object-fit:cover;background:#f0f0f0}
.wx-personal-empty{padding:56px 18px;color:#aaa;font-size:14px;text-align:center}
.wx-personal-cover{cursor:pointer}
.wx-personal-visibility-note{margin:32px 16px 18px;padding:14px 0;border-top:1px solid #e9e9e9;color:#333;font-size:15px;text-align:center}
.wx-personal-sort-link{display:flex;justify-content:space-between;align-items:center;margin:0 16px;padding:14px 0;border-bottom:1px solid #eee;color:#666;font-size:14px;cursor:pointer}
.wx-personal-sort-link span,.wx-personal-sort-setting span{color:#aaa;font-size:22px}
.wx-personal-sort-setting{display:flex;width:100%;justify-content:space-between;align-items:center;padding:12px 0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.wx-personal-sort-page{padding:8px 14px;background:#f6f6f6}
.wx-personal-sort-row{display:grid;grid-template-columns:52px minmax(0,1fr) 34px 34px;gap:8px;align-items:center;margin:8px 0;padding:10px;border-radius:10px;background:#fff}
.wx-personal-sort-thumb{display:block;width:52px;height:52px;border-radius:5px;background:#eee;overflow:hidden}
.wx-personal-sort-thumb img{width:100%;height:100%;object-fit:cover}
.wx-personal-sort-text{overflow:hidden;color:#333;font-size:14px;text-overflow:ellipsis;white-space:nowrap}
.wx-personal-sort-row button{width:32px;height:32px;border:1px solid #e4e5e8;border-radius:8px;background:#fff;color:#555;font-size:17px}
.wx-personal-sort-row button:disabled{opacity:.35}
.wx-personal-moment-location,.wx-moment-location{margin-top:5px;color:#6b88ad;font-size:12px}
.wx-photo-grid{display:grid;width:92px;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:29px;gap:2px;margin:8px 0 0;overflow:hidden}
.wx-photo-grid img{display:block;width:100%;height:100%;object-fit:cover;background:#eee}
.wx-photo-count-1{width:92px;grid-template-columns:92px;grid-auto-rows:92px}
.wx-photo-count-2{grid-template-columns:repeat(2,45px);grid-auto-rows:45px}
.wx-photo-count-3{grid-template-columns:repeat(3,29px);grid-auto-rows:29px}
.wx-photo-count-4{grid-template-columns:repeat(2,45px);grid-auto-rows:45px}
.wx-photo-count-6{grid-template-columns:repeat(3,29px);grid-template-rows:repeat(3,29px);grid-auto-rows:29px}
.wx-photo-count-6 img:first-child{grid-column:span 2;grid-row:span 2}
.wx-photo-count-9{grid-template-columns:repeat(3,29px);grid-template-rows:repeat(3,29px);grid-auto-rows:29px}
.wx-personal-photo-grid img{border-radius:2px}
.wx-photo-grid img{aspect-ratio:1/1;object-fit:cover}
.wx-personal-moment-date{flex-wrap:wrap;align-content:flex-start}
.wx-personal-moment-location{flex:0 0 100%;margin-top:4px;overflow-wrap:anywhere;white-space:normal}
.wx-moment-meta{align-items:flex-start}
.wx-moment-time-block{display:flex;flex-direction:column;align-items:flex-start;gap:2px}
.wx-moment-location{margin-top:0}
.wx-personal-moment-content-has-text{padding-top:3px}
.wx-personal-moment-location{margin-top:1px;transform:translateY(-2px);font-size:10px;line-height:1.2}
.wx-moment-time-block{gap:0}
.wx-moment-location{margin-top:-1px;font-size:10px;line-height:1.2}
.wx-personal-moment{cursor:pointer}
.wx-moment-detail-scroll{background:#fff;padding-bottom:16px}
.wx-detail-post{display:flex;gap:10px;padding:18px 14px 12px;background:#fff}
.wx-detail-post>.wx-avatar{width:40px;height:40px;flex-basis:40px;border-radius:5px}
.wx-detail-post-body{min-width:0;flex:1}
.wx-detail-author{display:block;color:#576b95;font-size:16px;font-weight:650;line-height:1.35;overflow-wrap:anywhere}
.wx-detail-text{margin-top:6px;font-size:17px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.wx-detail-photo-grid{width:246px;max-width:100%;margin-top:9px}
.wx-detail-photo-grid.wx-photo-count-1{width:160px;grid-template-columns:160px;grid-auto-rows:160px}
.wx-detail-photo-grid.wx-photo-count-2{grid-template-columns:repeat(2,80px);grid-auto-rows:80px}
.wx-detail-photo-grid.wx-photo-count-3{grid-template-columns:repeat(3,78px);grid-auto-rows:78px}
.wx-detail-photo-grid.wx-photo-count-4{grid-template-columns:repeat(2,80px);grid-auto-rows:80px}
.wx-detail-photo-grid.wx-photo-count-6{grid-template-columns:repeat(3,78px);grid-template-rows:repeat(2,78px);grid-auto-rows:78px}
.wx-detail-photo-grid.wx-photo-count-6 img:first-child{grid-column:auto;grid-row:auto}
.wx-detail-photo-grid.wx-photo-count-9{grid-template-columns:repeat(3,52px);grid-template-rows:repeat(3,52px);grid-auto-rows:52px}
.wx-detail-photo-grid img{border-radius:2px}
.wx-detail-location{margin-top:5px;color:#6b88ad;font-size:12px}
.wx-detail-post-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:10px;color:#aaa;font-size:12px}
.wx-detail-post-more{padding:4px 12px;border-radius:5px;background:#f7f7f7;color:#576b95;letter-spacing:3px}
.wx-detail-interactions{margin:0 12px 14px;background:#f7f7f7;border-radius:6px;overflow:hidden}
.wx-detail-like-row{display:flex;align-items:flex-start;gap:12px;padding:10px 12px}
.wx-detail-heart{flex:0 0 34px;width:34px;height:34px;border:0;background:transparent;color:#576b95;font-size:30px;line-height:1;cursor:pointer}
.wx-detail-like-avatars{display:flex;flex:1;flex-wrap:wrap;gap:8px}
.wx-detail-like-avatar>.wx-avatar{width:34px;height:34px;flex-basis:34px;border-radius:4px}
.wx-detail-comments{padding:0 12px 8px}
.wx-detail-comment{display:flex;align-items:flex-start;gap:9px;padding:11px 0;border-top:1px solid #e7e7e7}
.wx-detail-comment>.wx-avatar{width:38px;height:38px;flex-basis:38px;border-radius:4px}
.wx-detail-comment-body{flex:1;min-width:0}
.wx-detail-comment-body>b{color:#576b95;font-size:14px;font-weight:600}
.wx-detail-comment-body>p{margin:3px 0 0;font-size:14px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.wx-detail-comment>time{flex:none;color:#999;font-size:11px}
.wx-detail-comment-image{display:block;max-width:120px;max-height:120px;margin-top:6px;object-fit:cover}
.wx-detail-composer{position:relative;display:flex;flex:none;align-items:center;gap:7px;padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px));border-top:1px solid #e6e6e6;background:#f8f8f8}
.wx-detail-comment-role{flex:none;padding:0;border:0;background:transparent}
.wx-detail-comment-role>.wx-avatar{width:30px;height:30px;flex-basis:30px;border-radius:4px}
.wx-detail-composer>input{flex:1;min-width:0;height:40px;padding:0 11px;border:1px solid #eee;border-radius:6px;background:#fff;font:14px inherit;outline:none}
.wx-detail-emoji,.wx-detail-image-button{flex:none;width:31px;height:34px;padding:0;border:0;background:transparent;color:#222;font-size:26px;line-height:1;cursor:pointer}
.wx-detail-image-button{font-size:25px}
.wx-detail-send{padding:6px 8px;border:0;border-radius:5px;background:#07c160;color:#fff;font-size:13px}
.wx-detail-pending-image{position:absolute;right:12px;bottom:54px;width:44px;height:44px;border:2px solid white;border-radius:4px;object-fit:cover;box-shadow:0 1px 5px #0003}
.wx-detail-photo-grid.wx-photo-count-1{display:block;width:fit-content;max-width:min(100%,280px);grid-template-columns:none;grid-auto-rows:auto}
.wx-detail-photo-grid.wx-photo-count-1 img{width:auto;height:auto;max-width:100%;max-height:280px;aspect-ratio:auto;object-fit:contain}
.wx-detail-photo-grid.wx-photo-count-9{grid-template-columns:repeat(3,78px);grid-template-rows:repeat(3,78px);grid-auto-rows:78px}
.wx-detail-photo-grid.wx-photo-count-5,.wx-detail-photo-grid.wx-photo-count-7,.wx-detail-photo-grid.wx-photo-count-8{width:246px;grid-template-columns:repeat(3,78px);grid-auto-rows:78px}
.wx-detail-photo-grid.wx-photo-count-5 img,.wx-detail-photo-grid.wx-photo-count-7 img,.wx-detail-photo-grid.wx-photo-count-8 img{width:78px;height:78px;aspect-ratio:1/1;object-fit:cover}
.wx-detail-like-row{align-items:center;gap:9px;padding:5px 12px}
.wx-detail-heart{flex-basis:28px;width:28px;height:28px;font-size:22px}
.wx-detail-like-avatar>.wx-avatar{width:30px;height:30px;flex-basis:30px}
.wx-detail-heart{transform:translateX(-3px)}
.wx-detail-post-more{border:0;cursor:pointer;font:inherit;font-weight:700;letter-spacing:3px}
.wx-moment-role-pick-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px;border-bottom:1px solid #eee}
.wx-moment-role-pick-row .wx-role-pick{min-width:0;border:0}
.wx-moment-role-pick-row .wx-role-pick>span:not(.wx-avatar){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wx-moment-role-pick-row .wx-role-pick small{margin-left:auto;color:#999;font-size:12px}
.wx-moment-role-edit{padding:7px 4px;border:0;background:transparent;color:#6883ad;font-size:12px;white-space:nowrap;cursor:pointer}
.wx-moment-alias-editor>p{margin:-4px 0 12px;color:#999;font-size:12px;text-align:center}
.wx-moment-alias-editor>input{box-sizing:border-box;width:100%;height:42px;padding:0 11px;border:1px solid #e2e2e2;border-radius:7px;font:14px inherit;outline:none}
.wx-moment-alias-editor .wx-inline-actions{justify-content:flex-end;margin-top:14px}
.wx-detail-reply-prefix{color:#576b95}
.wx-detail-reply-indicator{position:absolute;left:54px;bottom:calc(100% + 1px);display:flex;align-items:center;gap:5px;max-width:calc(100% - 68px);padding:4px 8px;border-radius:5px 5px 0 0;background:#fff;color:#777;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wx-detail-reply-indicator button{flex:none;padding:0 2px;border:0;background:transparent;color:#999;font-size:16px;line-height:1;cursor:pointer}
.wx-detail-comment{cursor:pointer}
.wx-detail-reply-prefix{color:#171717;margin:0;padding:0;letter-spacing:0}
.wx-detail-reply-name{color:#576b95}
.wx-detail-post{padding-bottom:5px}
.wx-detail-post-meta{margin-top:4px}
.wx-detail-photo-grid{margin-top:6px}
.wx-detail-interactions{margin-top:0;margin-bottom:14px}
.wx-detail-time-location{display:flex;min-width:0;align-items:center;gap:8px}
.wx-detail-location{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wx-personal-moment-date{justify-content:center;text-align:center}
.wx-personal-moment-location{text-align:center}
.wx-moment-edit-form{padding:9px 12px 14px;background:#f4f5f8}
.wx-moment-edit-form>.wx-form-section{margin:0 0 8px;padding:10px 11px;border:1px solid #eceef2;border-radius:11px;background:#fff;box-shadow:0 1px 3px rgba(20,30,45,.035)}
.wx-moment-edit-form>.wx-form-section>label:not(.wx-select-row){margin:0 0 5px;color:#606873;font-size:12px;font-weight:600}
.wx-moment-edit-form>.wx-form-section input:not([type=checkbox]):not([type=radio]),.wx-moment-edit-form>.wx-form-section select,.wx-moment-edit-form>.wx-form-section textarea{box-sizing:border-box;min-height:38px;padding:8px 10px;border-color:#e5e8ed;border-radius:8px;background:#fafbfc;font-size:14px}
.wx-moment-edit-form>.wx-form-section textarea{min-height:64px;line-height:1.45}
.wx-moment-edit-form>.wx-form-section:has(>.wx-select-list)>.wx-select-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;max-height:132px;margin:0;padding:0;overflow:auto;background:transparent}
.wx-moment-edit-form>.wx-form-section>.wx-select-list>.wx-select-row{box-sizing:border-box;min-width:0;min-height:44px;gap:6px;padding:5px 7px;border:1px solid #e9ebef;border-radius:8px;background:#fafbfc;font-size:12px}
.wx-moment-edit-form>.wx-form-section>.wx-select-list>.wx-select-row:has(input:checked){border-color:#8bd2a5;background:#f0faf4}
.wx-moment-edit-form>.wx-form-section>.wx-select-list>.wx-select-row input{width:15px;height:15px;flex:none;margin:0}
.wx-moment-edit-form>.wx-form-section>.wx-select-list>.wx-select-row .wx-avatar{width:30px;height:30px;flex:0 0 30px;border-radius:7px}
.wx-moment-edit-form .wx-image-picker-button{min-height:34px}
.wx-moment-edit-form .wx-inline-actions{gap:6px;margin-top:6px}
.wx-moment-edit-form .wx-form-section label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px;min-height:22px;margin:0;color:#4d5560;font-size:13px}
.wx-moment-edit-form .wx-form-section input[type=checkbox]{width:17px;height:17px;margin:0;accent-color:#07c160}
@media(max-width:350px){.wx-moment-edit-form>.wx-form-section:has(>.wx-select-list)>.wx-select-list{grid-template-columns:1fr}}
.wx-role-feed-camera{position:absolute;z-index:2;top:12px;right:14px;display:grid;width:40px;height:40px;place-items:center;padding:0;border:0;background:transparent;color:#fff;cursor:pointer}
.wx-role-feed-camera svg{width:34px;height:29px;fill:#fff;transform:scaleY(.88)}
.wx-role-feed-list{background:#fff}
.wx-role-feed-post{display:flex;align-items:flex-start;gap:12px;padding:20px 16px 17px;border-bottom:1px solid #ededed;background:#fff;color:#171717;cursor:pointer}
.wx-role-feed-post>.wx-avatar{width:42px;height:42px;flex:0 0 42px;border-radius:5px}
.wx-role-feed-body{flex:1;min-width:0}
.wx-role-feed-author{color:#576b95;font-size:16px;font-weight:650;line-height:1.35;overflow-wrap:anywhere}
.wx-role-feed-text{margin-top:6px;font-size:17px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.wx-role-feed-photo-grid{width:246px;max-width:100%;grid-template-columns:repeat(3,78px);grid-auto-rows:78px;gap:3px;margin-top:9px}
.wx-role-feed-photo-grid img{display:block;width:100%;height:100%;aspect-ratio:1/1;border-radius:2px;object-fit:cover}
.wx-role-feed-photo-grid.wx-photo-count-1{display:block;width:fit-content;max-width:min(100%,210px);grid-template-columns:none;grid-auto-rows:auto}
.wx-role-feed-photo-grid.wx-photo-count-1 img{width:auto;height:auto;max-width:100%;max-height:210px;aspect-ratio:auto;object-fit:contain}
.wx-role-feed-photo-grid.wx-photo-count-2{grid-template-columns:repeat(2,78px);grid-auto-rows:78px}
.wx-role-feed-photo-grid.wx-photo-count-4{grid-template-columns:repeat(2,78px);grid-auto-rows:78px}
.wx-role-feed-photo-grid.wx-photo-count-5,.wx-role-feed-photo-grid.wx-photo-count-6,.wx-role-feed-photo-grid.wx-photo-count-7,.wx-role-feed-photo-grid.wx-photo-count-8,.wx-role-feed-photo-grid.wx-photo-count-9{grid-template-columns:repeat(3,78px);grid-auto-rows:78px}
.wx-role-feed-photo-grid.wx-photo-count-6{grid-template-rows:repeat(2,78px)}
.wx-role-feed-photo-grid.wx-photo-count-6 img:first-child{grid-column:auto;grid-row:auto}
.wx-role-feed-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:5px;color:#aaa;font-size:13px}
.wx-role-feed-meta>span{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}
.wx-role-feed-meta small{font-size:12px;color:#8094ae}
.wx-role-feed-meta button{flex:none;min-width:36px;padding:6px 9px;border:0;border-radius:5px;background:#f6f6f7;color:#586e98;font-size:12px;font-weight:700;letter-spacing:3px;cursor:pointer}
.wx-role-feed-likes{display:flex;align-items:flex-start;gap:7px;margin-top:8px;padding:7px 8px;background:#f7f7f7;color:#576b95;font-size:14px;line-height:1.5}
.wx-role-feed-likes>div{display:flex;flex:1;flex-wrap:wrap;gap:5px 8px;min-width:0;font-weight:600}
.wx-role-feed-like{display:inline-flex;align-items:center;gap:4px;min-width:0}
.wx-role-feed-like img{width:17px;height:17px;border-radius:3px;object-fit:cover}
.wx-role-feed-like b,.wx-role-feed-comment b{color:#576b95;font-weight:550}
.wx-role-feed-comments{padding:0 8px 7px;background:#f7f7f7;color:#333;font-size:13px;line-height:1.5}
.wx-role-feed-comment{overflow-wrap:anywhere}
.wx-role-feed-reply{color:#171717}
.wx-role-feed-reply-name{color:#576b95;font-weight:700}

/* WeChat-only dark appearance, controlled by the current world's 微信设置. */
.wx-app.wx-dark{background:#111214!important;color:#f2f2f7!important;color-scheme:dark}
.wx-app.wx-dark .wx-status,.wx-app.wx-dark .wx-head,.wx-app.wx-dark .wx-safe-top{background:#17181a!important;color:#f2f2f7!important;border-color:#303136!important}
.wx-app.wx-dark .wx-scroll,.wx-app.wx-dark .wx-admin,.wx-app.wx-dark .wx-form{background:#111214!important;color:#f2f2f7!important}
.wx-app.wx-dark .wx-row,.wx-app.wx-dark .wx-notice-row,.wx-app.wx-dark .wx-contact-profile-page,.wx-app.wx-dark .wx-contact-friend-info,.wx-app.wx-dark .wx-contact-moments-row,.wx-app.wx-dark .wx-profile-card,.wx-app.wx-dark .wx-admin-card,.wx-app.wx-dark .wx-form-section,.wx-app.wx-dark .wx-select-row,.wx-app.wx-dark .wx-group-nickname-row{background:#1c1d20!important;color:#f2f2f7!important;border-color:#34363a!important}
.wx-app.wx-dark .wx-row-sub,.wx-app.wx-dark .wx-admin-main small,.wx-app.wx-dark .wx-section-label,.wx-app.wx-dark .wx-form-section>label,.wx-app.wx-dark .wx-chat-background-hint,.wx-app.wx-dark .wx-contact-hero-info p{color:#a1a1aa!important}
.wx-app.wx-dark .wx-search,.wx-app.wx-dark .wx-chat-dock,.wx-app.wx-dark .wx-compose,.wx-app.wx-dark .wx-tabbar,.wx-app.wx-dark .wx-form-actions{background:#17181a!important;border-color:#34363a!important}
.wx-app.wx-dark input:not([type=checkbox]),.wx-app.wx-dark textarea,.wx-app.wx-dark select,.wx-app.wx-dark .wx-home-search-field{background:#242529!important;color:#f2f2f7!important;border-color:#414349!important}
.wx-app.wx-dark .wx-home-search-field input{color:#f2f2f7!important}
.wx-app.wx-dark .wx-chat-scroll{background-color:#111214!important}
.wx-app.wx-dark .wx-chat-bubble,.wx-app.wx-dark .wx-chat-row-link .wx-chat-bubble,.wx-app.wx-dark .wx-chat-row-file .wx-chat-bubble,.wx-app.wx-dark .wx-chat-row-card .wx-chat-bubble{background:#292a2e!important;color:#f2f2f7!important}
.wx-app.wx-dark .wx-chat-row.right .wx-chat-bubble{background:#235b34!important;color:#f7fff8!important}
.wx-app.wx-dark .wx-chat-quote-preview,.wx-app.wx-dark .wx-reply-preview,.wx-app.wx-dark .wx-chat-system,.wx-app.wx-dark .wx-role-feed-likes,.wx-app.wx-dark .wx-role-feed-comments{background:#242529!important;color:#dddde3!important;border-color:#393a40!important}
.wx-app.wx-dark .wx-chat-input{background:#242529!important;color:#f2f2f7!important}
.wx-app.wx-dark .wx-tab{color:#a1a1aa!important}
.wx-app.wx-dark .wx-tab.active{color:#08c160!important}
.wx-app.wx-dark .wx-chevron,.wx-app.wx-dark .wx-icon-btn{color:#c4c4cc!important}
.wx-app.wx-dark .wx-admin-title,.wx-app.wx-dark .wx-admin-section,.wx-app.wx-dark .wx-empty,.wx-app.wx-dark .wx-contact-hero-info h2{color:#f2f2f7!important}
.wx-app.wx-dark .wx-admin-row{border-color:#34363a!important}
.wx-app.wx-dark .wx-dark-setting{display:flex;align-items:center;justify-content:space-between}
.wx-app.wx-dark .wx-dark-setting input{width:42px;height:24px;accent-color:#20c45a}
.wx-app.wx-dark .wx-contact-section-gap{background:#111214!important}
.wx-app.wx-dark .wx-moment-card,.wx-app.wx-dark .wx-moment-comment,.wx-app.wx-dark .wx-moment-detail-interactions{background:#1c1d20!important;color:#f2f2f7!important;border-color:#34363a!important}
/* Keep text that was explicitly dark in the light theme readable in dark mode. */
.wx-app.wx-dark .wx-head button,.wx-app.wx-dark .wx-back{color:#fff!important}
.wx-app.wx-dark :is(.wx-home-row .wx-row-title,.wx-secondary-btn,.wx-comments,.wx-form-actions button,.wx-new-chat-option,.wx-emoji-category,.wx-redpacket-preview-amount,.wx-voice-transcript,.wx-group-nickname-row,.wx-contact-tag-row>b,.wx-personal-moments-page,.wx-personal-pinned,.wx-personal-visibility-note,.wx-personal-sort-text,.wx-detail-emoji,.wx-detail-reply-prefix,.wx-role-feed-post,.wx-role-feed-comments,.wx-role-feed-reply){color:#fff!important}

.li .ic.page-group-icon{padding:2px;overflow:hidden;background:#f0f1f3!important}
.page-group-avatar{display:grid;width:100%;height:100%;grid-template-columns:repeat(var(--page-avatar-cols,3),minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:1px;overflow:hidden;border-radius:7px}
.page-group-avatar>span{display:flex;min-width:0;min-height:0;align-items:center;justify-content:center;overflow:hidden;background:#d9dde3;color:#667085;font-size:10px;line-height:1}
.page-group-avatar img{display:block;width:100%;height:100%;object-fit:cover}

/* WeChat sticker messages reuse the shared LINE sticker repository. */
.wx-chat-sticker-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(86px,1fr));gap:9px}
.wx-sticker-option{display:flex;min-width:0;min-height:92px;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:7px;border:1px solid #e6e8ed;border-radius:11px;background:#fafbfc;color:#646b76}
.wx-sticker-option.selected{border-color:#07c160;background:#effaf3;box-shadow:0 0 0 2px #07c16018}
.wx-sticker-option img{width:70px;height:70px;object-fit:contain}
.wx-sticker-option small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.wx-sticker-empty{grid-column:1/-1;padding:14px;border-radius:10px;background:#f6f7f9;color:#858b94;font-size:13px;line-height:1.55}
.wx-sticker-selected-preview{display:flex;align-items:center;gap:12px;margin:0 0 12px;padding:10px 13px;border-radius:12px;background:#fff;color:#737983;font-size:12px}
.wx-sticker-selected-preview img{width:92px;height:92px;object-fit:contain}
.wx-chat-sticker-message{position:relative;width:fit-content;max-width:100%;line-height:0}
.wx-chat-sticker-message img{display:block;width:auto;height:auto;max-width:150px;max-height:150px;object-fit:contain}
.wx-chat-sticker-row .wx-chat-stack{max-width:76%;min-width:0}
.wx-chat-sticker-row .wx-chat-name{margin-bottom:4px}

.wx-sticker-picker-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.wx-sticker-picker-heading label{margin:0!important}.wx-sticker-picker-heading button{flex:none;padding:7px 10px;border:1px solid #bde8cc;border-radius:9px;background:#f0faf4;color:#168548;font-size:12px}
.sim-world-mark-wechat{background:linear-gradient(145deg,#39cd7a,#07a94e)!important}

/* Four-column sticker selection shared by WeChat and LINE. */
.wx-chat-sticker-picker-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.wx-sticker-option{min-height:82px;padding:5px;gap:4px}
.wx-sticker-option img{width:100%;max-width:62px;height:auto;aspect-ratio:1;object-fit:contain}
.line-sticker-repo-grid{display:grid;width:100%;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.line-sticker-repo-option{display:flex;min-width:0;min-height:82px;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:6px;border:1px solid #e6e8ed;border-radius:11px;background:#fafbfc;color:#646b76}
.line-sticker-repo-option:active{border-color:#07c160;background:#effaf3}
.line-sticker-repo-option img{display:block;width:100%;max-width:64px;aspect-ratio:1;object-fit:contain}
.line-sticker-repo-option small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
.line-sticker-repo-empty{grid-column:1/-1;padding:14px;border-radius:10px;background:#f6f7f9;color:#858b94;font-size:13px;line-height:1.55;text-align:center}
@media(max-width:340px){.line-sticker-repo-grid{gap:6px}.line-sticker-repo-option{min-height:70px;padding:4px}}

/* Keep the WeChat home/contact search icon and placeholder centered as one unit. */
.wx-home-search-field{gap:5px}
.wx-home-search-icon{top:0;align-self:center}
.wx-home-search input{width:2.2em;min-width:2.2em;max-width:calc(100% - 30px);height:44px;flex:0 1 auto;padding:0;line-height:44px;text-align:center}
.wx-home-search-field:focus-within input,.wx-home-search-field.has-query input{width:calc(100% - 30px);min-width:0;flex:1 1 auto;text-align:left}

/* Four-column layout for the WeChat add-message sticker picker. */
.wx-sticker-picker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.wx-sticker-picker-grid .wx-sticker-option{min-width:0;min-height:82px;padding:5px;gap:4px}
.wx-sticker-picker-grid .wx-sticker-option img{width:100%;max-width:62px;height:auto;aspect-ratio:1;object-fit:contain}
