#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;background:linear-gradient(180deg,#35475a,#19232c);color:#fff;display:flex;flex-direction:column;align-items:center;padding:calc(74px + env(safe-area-inset-top,0px)) 20px 40px}
.wx-call-back{align-self:flex-start;border:0;background:none;color:#fff;font-size:25px}
.wx-call-person{margin:54px 0 10px;font-size:24px;font-weight:500}
.wx-call-state{color:#d4d8dc;font-size:15px}
.wx-call-avatar{width:112px;height:112px;border-radius:50%;overflow:hidden;background:#71808e;margin-top:28px}
.wx-call-avatar img{width:100%;height:100%;object-fit:cover}
.wx-call-actions{margin-top:auto;display:flex;gap:65px}
.wx-call-action{border:0;background:#fa5151;color:#fff;width:66px;height:66px;border-radius:50%;font-size:24px}
.wx-call-action.accept{background:#07c160}
.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{width:100%;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{width:2.4em;min-width:0;max-width:none;height:44px;flex:none;border-radius:0;background:transparent;text-align:left;color:#aaa;font-size:20px}
.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}
