:root[data-client-variant=wechat]{--ref-accent:#07c160;--ref-bg:#ededed;--ref-panel:#fff;--ref-nav:56px}.chat-heading .conversation-avatar,.chat-heading .chat-title p{display:none}.chat-heading .chat-title{text-align:center;padding-right:30px}.chat-heading .chat-title h2{font-size:17px;font-weight:500}.message-row{max-width:90%}.message-bubble{background:#fff;border-radius:5px;position:relative}.message-bubble:before{content:'';position:absolute;left:-6px;top:15px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:7px solid #fff}.own .message-bubble{background:#95ec69}.own .message-bubble:before{left:auto;right:-6px;border-right:0;border-left:7px solid #95ec69}.message-content{min-width:0}.message-avatar,.avatar{border-radius:5px}.own .message-meta{opacity:.7}.ref-tabs{background:#f7f7f7}.ref-tab[aria-current=true] svg{stroke-width:2.2;fill:#07c16016}.panel-heading{padding-left:20px}.ref-wechat-menu{background:#4c4c4c;color:#fff;display:grid;grid-template-columns:repeat(4,1fr);padding:8px 4px;gap:4px}.ref-wechat-menu .ref-menu-item{display:flex;flex-direction:column;justify-content:center;gap:7px;color:white;font-size:12px;min-height:65px;padding:8px 3px}.ref-wechat-menu .ref-menu-item:hover{background:#666}.ref-wechat-menu .ref-menu-item svg{width:24px;height:24px}.ref-top-menu{position:fixed;right:10px;left:auto;top:60px;bottom:auto;margin:0;width:190px;max-width:190px;background:#4c4c4c;color:#fff;border-radius:6px}.ref-top-menu .ref-sheet-head{display:none}.ref-top-menu .ref-row{background:transparent;border-color:#ffffff15;color:#fff;font-size:14px;min-height:50px;padding:10px 16px;gap:15px}.ref-top-menu .ref-row>svg{color:#fff}.ref-top-menu .ref-row-after{display:none}.ref-top-menu .ref-row-label strong{font-size:14px}.ref-top-menu .ref-sheet-body{padding:0}.ref-top-menu::backdrop{background:transparent}.ref-revoked{align-self:center!important;margin:auto}.ref-revoked .message-bubble:before{display:none}.ref-member-grid .ref-avatar{border-radius:5px}.ref-profile-card{padding-top:38px;padding-bottom:25px}.ref-profile-card .ref-avatar{border-radius:10px}.ref-pin-bar{display:none}.ref-dark{--ref-bg:#111;--ref-panel:#191919;--ref-text:#ddd;--ref-line:#2c2c2c}.ref-dark .message-bubble{background:#2c2c2c}.ref-dark .message-bubble:before{border-right-color:#2c2c2c}.ref-dark .own .message-bubble{background:#3eb575}.ref-dark .own .message-body{color:#081b12}.ref-dark .own .message-bubble:before{border-left-color:#3eb575}.ref-dark .ref-tabs{background:#191919}:root[data-platform=ios] .ref-tabs{border-top-color:#d5d5d5;background:#fafafaf2}:root[data-platform=ios] .panel-heading h1{font-weight:600}

/* Private chats do not repeat the contact name above every bubble. */
:root[data-conversation-type=direct] .sender-name{display:none}

/* WeChat desktop skin; the mobile skin above remains the fallback. */
html[data-client-variant=wechat][data-platform=desktop][data-desktop-original-first=true]{--ref-nav:0px;--ref-desktop-rail:#e6e6e6;--ref-desktop-list:#f4f4f4;--ref-desktop-chat:#f5f5f5;font-family:"Microsoft YaHei UI","Microsoft YaHei","Noto Sans CJK SC",sans-serif}
html[data-client-variant=wechat][data-platform=desktop][data-desktop-original-first=true] .ref-tabs{background:var(--ref-desktop-rail)}
html[data-client-variant=wechat][data-platform=desktop][data-desktop-original-first=true] .ref-tab{color:#666}
html[data-client-variant=wechat][data-platform=desktop][data-desktop-original-first=true] .ref-tab:hover{background:#d9d9d9}
html[data-client-variant=wechat][data-platform=desktop][data-desktop-original-first=true] .ref-tab[aria-current=true]{color:var(--ref-accent-ink);background:#d5d5d5}
html[data-client-variant=wechat][data-platform=desktop][data-desktop-original-first=true] .conversation-panel,html[data-client-variant=wechat][data-platform=desktop][data-desktop-original-first=true] .panel-heading{background:var(--ref-desktop-list)}
html[data-client-variant=wechat][data-platform=desktop][data-desktop-original-first=true] .chat-panel,html[data-client-variant=wechat][data-platform=desktop][data-desktop-original-first=true] .chat-heading{background:var(--ref-desktop-chat)}
html[data-client-variant=wechat][data-platform=desktop][data-desktop-original-first=true] #composer{background:var(--ref-panel)}
html[data-client-variant=wechat][data-platform=desktop][data-desktop-original-first=true] #composer .ref-icon{color:var(--ref-text)}
html[data-client-variant=wechat][data-platform=desktop][data-desktop-original-first=true] #composer .ref-icon:hover{background:var(--ref-hover)}
html[data-client-variant=wechat][data-platform=desktop][data-desktop-original-first=true] #composer .send-button{background:var(--ref-field);color:var(--ref-accent-ink);border:1px solid var(--ref-line)}
html[data-client-variant=wechat][data-platform=desktop][data-desktop-original-first=true] #composer .send-button:hover:not(:disabled){background:var(--ref-hover)}
html[data-client-variant=wechat][data-platform=desktop][data-desktop-original-first=true] #composer .send-button:disabled{color:var(--ref-secondary);opacity:1}
html[data-client-variant=wechat][data-platform=desktop][data-desktop-original-first=true] .wechat-desktop-settings-tab[aria-current=true]{background:var(--ref-selected);color:var(--ref-accent-ink)}
html[data-client-variant=wechat][data-platform=desktop][data-desktop-original-first=true] .wechat-desktop-settings-tab:hover{background:var(--ref-hover)}
html[data-client-variant=wechat][data-platform=desktop][data-desktop-original-first=true][data-theme=dark]{--ref-desktop-rail:#202020;--ref-desktop-list:#252525;--ref-desktop-chat:#171717}
html[data-client-variant=wechat][data-platform=desktop][data-desktop-original-first=true][data-theme=dark] .ref-tab{color:var(--ref-secondary)}
html[data-client-variant=wechat][data-platform=desktop][data-desktop-original-first=true][data-theme=dark] .ref-tab:hover,html[data-client-variant=wechat][data-platform=desktop][data-desktop-original-first=true][data-theme=dark] .ref-tab[aria-current=true]{background:#303030}
