/* ============ 微信：仿微信原生 UI（灰白底 / 微信绿 / 方形头像） ============ */
.wechat{position:absolute;inset:var(--status-h) 0 var(--kb,0px) 0;z-index:13;background:#ededed;display:flex;flex-direction:column;overflow:hidden;color:#191919}
.wx-screen{flex:1;min-height:0;display:flex;flex-direction:column}

/* 顶部导航 */
.wx-navbar{height:47px;flex:0 0 47px;background:#f7f7f7;border-bottom:1px solid #dcdcdc;display:flex;align-items:center;gap:6px;padding:0 16px;position:relative}
.wx-nav-back{width:34px;height:34px;display:grid;place-items:center;color:#191919;padding:0;margin-right:auto;z-index:1}
.wx-nav-back svg{width:23px;height:23px;stroke-width:1.8}
.wx-navbar h2{position:absolute;left:0;right:0;top:0;bottom:0;display:flex;align-items:center;justify-content:center;margin:0;font-size:17px;font-weight:600;letter-spacing:.5px;pointer-events:none}
.wx-add{width:34px;height:34px;display:grid;place-items:center;color:#191919;padding:0}
.wx-add svg{width:24px;height:24px;stroke-width:1.6}

/* 视图容器 */
.wx-views{position:relative;flex:1;min-height:0}
.wx-view{position:absolute;inset:0;display:none;flex-direction:column;min-height:0}
.wx-view.is-active{display:flex}
.wx-searchbar{height:44px;flex:0 0 44px;width:100%;border:0;background:#ededed;display:flex;align-items:center;justify-content:center;gap:6px;color:#9a9a9a;font-size:13px}
.wx-search-ico{display:grid;place-items:center}
.wx-search-ico svg{width:14px;height:14px}

/* 搜索视图 */
.wx-searchview{position:absolute;inset:0;z-index:4;background:#ededed;display:flex;flex-direction:column}
.wx-searchbar-top{height:47px;flex:0 0 47px;background:#f7f7f7;border-bottom:1px solid #dcdcdc;display:flex;align-items:center;gap:8px;padding:0 12px}
.wx-search-back{width:26px;height:34px;display:grid;place-items:center;padding:0;flex:0 0 auto}
.wx-search-back svg{width:23px;height:23px;stroke-width:1.8}
.wx-search-input{flex:1;min-width:0;height:32px;background:#fff;border-radius:7px;display:flex;align-items:center;gap:6px;padding:0 9px}
.wx-search-input svg{width:15px;height:15px;color:#9a9a9a;flex:0 0 auto}
.wx-search-input input{flex:1;min-width:0;border:0;outline:none;background:transparent;font-size:14px;color:#191919}
.wx-search-input input::placeholder{color:#b0b0b0}
.wx-search-clear{padding:0;color:#576b95;font-size:13px;flex:0 0 auto}
.wx-search-result{flex:1;min-height:0;overflow-y:auto;scrollbar-width:none}
.wx-search-result::-webkit-scrollbar{display:none}
.wx-search-tip{padding:30px 20px;text-align:center;color:#b0b0b0;font-size:12px;line-height:1.9}
.wx-result-label{padding:12px 14px 6px;color:#888;font-size:12px}
.wx-result-item{display:flex;align-items:center;gap:11px;padding:10px 14px;background:#fff;border-bottom:1px solid #f2f2f2;cursor:pointer}
.wx-result-item:active{background:#f5f5f5}
.wx-result-item .wx-avatar{width:40px;height:40px;flex-basis:40px;border-radius:5px;font-size:17px}
.wx-result-main{flex:1;min-width:0}
.wx-result-name{font-size:14px;color:#191919;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wx-result-snippet{font-size:12px;color:#9a9a9a;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wx-result-time{font-size:10px;color:#b2b2b2;flex:0 0 auto;align-self:flex-start;margin-top:2px}
.wx-result-item mark{background:transparent;color:#f5a000}

/* 会话列表 */
.wx-chatlist,.wx-contactlist{flex:1;min-height:0;overflow-y:auto;background:#fff;scrollbar-width:none}
.wx-chatlist::-webkit-scrollbar,.wx-contactlist::-webkit-scrollbar,.wx-messages::-webkit-scrollbar,.wx-moments::-webkit-scrollbar{display:none}
.wx-chat{display:flex;align-items:center;gap:11px;padding:11px 14px;background:#fff;border-bottom:1px solid #f2f2f2;cursor:pointer;position:relative}
.wx-chat:active{background:#f5f5f5}
.wx-avatar{width:46px;height:46px;flex:0 0 46px;border-radius:6px;overflow:hidden;background:#d9d9d9;display:grid;place-items:center;color:#fff;font-size:20px}
.wx-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.wx-avatar .wx-ava-ph{font-size:22px;font-weight:400}
.wx-chat-main{flex:1;min-width:0}
.wx-chat-top{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.wx-chat-name{font-size:15px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wx-chat-time{margin-left:auto;font-size:10px;color:#b2b2b2;white-space:nowrap;flex:0 0 auto}
.wx-chat-preview{font-size:12px;color:#9a9a9a;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wx-chat-unread{position:absolute;right:14px;bottom:13px;min-width:17px;height:17px;padding:0 5px;border-radius:9px;background:#f54e4e;color:#fff;font-size:10px;line-height:17px;text-align:center}
.wx-empty{padding:60px 20px;text-align:center;color:#b0b0b0;font-size:13px;line-height:1.9}

/* 通讯录 */
.wx-letter{padding:5px 14px;background:#f7f7f7;color:#888;font-size:11px}
.wx-contact{display:flex;align-items:center;gap:11px;padding:9px 14px;background:#fff;border-bottom:1px solid #f2f2f2;cursor:pointer}
.wx-contact:active{background:#f5f5f5}
.wx-contact .wx-avatar{width:38px;height:38px;flex-basis:38px;border-radius:5px;font-size:17px}
.wx-contact-name{font-size:14px}
.wx-contact-body{flex:1;min-width:0}
.wx-contact .wx-contact-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wx-req-meta{font-size:11px;color:#9a9a9a;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wx-req-meta.rejected{color:#c07878}

/* 朋友圈：整页纯白，不再出现上下两种颜色 */
.wx-moments{flex:1;min-height:0;overflow-y:auto;background:#fff;scrollbar-width:none}
.wx-moment-cover{width:100%;height:190px;padding:0;border:0;display:block;background:linear-gradient(160deg,#8fb6e8,#b9d2f0 55%,#dce9f8);position:relative;overflow:hidden;cursor:pointer;text-align:right}
.wx-moment-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
/* 封面更换提示：仅正中间一个淡淡的小图标 */
.wx-cover-ph{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#ffffff3d;color:#fff;opacity:.75;z-index:1}
.wx-cover-ph svg{width:22px;height:22px}
.wx-moment-profile{position:relative;background:#fff;height:66px;padding:0 16px}
.wx-moment-ava{position:absolute;right:16px;top:-26px;width:60px;height:60px;padding:0;border:3px solid #fff;border-radius:9px;box-shadow:0 2px 10px #0002;overflow:hidden;cursor:pointer;background:#d9d9d9}
.wx-moment-ava .wx-avatar{width:100%;height:100%;border-radius:0}
.wx-moment-ava img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
/* 昵称贴头像左侧、垂直居中于头像，不重叠 */
.wx-moment-name{position:absolute;right:84px;top:-6px;max-width:calc(100% - 110px);padding:0;border:0;background:none;font-size:16px;font-weight:600;color:#191919;cursor:pointer;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* 签名在头像正下方，右对齐 */
.wx-moment-sign{position:absolute;right:16px;top:40px;max-width:calc(100% - 32px);font-size:12px;color:#9a9a9a;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wx-moment-tip{text-align:center;color:#b0b0b0;font-size:12px;padding:34px 20px;line-height:1.9}

/* 朋友圈：签名下方的「新消息」提醒条（仿微信） */
.wx-mo-notice{display:flex;align-items:center;gap:8px;width:max-content;max-width:calc(100% - 28px);margin:10px auto 2px;padding:8px 10px;background:#fff;border-radius:6px;box-shadow:0 1px 4px #0000000d;cursor:pointer;text-align:left}
.wx-mo-notice:active{background:#f7f7f7}
.wx-mo-notice[hidden]{display:none}
.wx-mo-notice-ava{width:30px;height:30px;flex:0 0 30px;border-radius:4px;object-fit:cover;background:#e6e6e6;display:grid;place-items:center;font-size:13px;color:#fff}
.wx-mo-notice-txt{flex:1;min-width:0;font-size:12.5px;color:#576b95;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wx-mo-notice-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#fa5151}
.wx-mo-notice-arrow{color:#b8b8b8;font-size:16px;line-height:1}
/* 赞/评提醒详情列表（仿微信消息页） */
.wx-mo-notify{position:absolute;inset:0;z-index:14;background:#ededed;display:flex;flex-direction:column;color:#191919}
.wx-mo-notify[hidden]{display:none}
.wx-notify-back{position:relative;z-index:1;width:30px;height:30px;margin-left:-6px;padding:0;border:0;background:none;display:grid;place-items:center;color:#191919}
.wx-notify-back svg{width:20px;height:20px;stroke-width:1.9}
.wx-mo-notify-list{flex:1;min-height:0;overflow-y:auto;padding-top:10px}
.wx-mo-nt{display:flex;gap:11px;align-items:flex-start;width:100%;padding:12px 14px;border:0;border-bottom:1px solid #f0f0f0;background:#fff;text-align:left;cursor:pointer}
.wx-mo-nt:active{background:#f7f7f7}
.wx-mo-nt-ava{width:40px;height:40px;flex:0 0 40px;border-radius:5px;overflow:hidden;background:#e6e6e6;display:grid;place-items:center;font-size:17px;color:#fff}
.wx-mo-nt-ava img{width:100%;height:100%;object-fit:cover;display:block}
.wx-mo-nt-body{flex:1;min-width:0}
.wx-mo-nt-name{font-size:14px;color:#576b95;font-weight:500}
.wx-mo-nt-act{font-size:13px;color:#333;line-height:1.6;word-break:break-word}
.wx-mo-nt-quote{margin-top:4px;padding:6px 8px;background:#f7f7f7;border-left:2px solid #d8d8d8;font-size:12px;color:#888;line-height:1.5}
.wx-mo-nt-time{display:block;margin-top:5px;font-size:11px;color:#b2b2b2}
.wx-mo-nt-empty{text-align:center;color:#b0b0b0;font-size:12px;padding:60px 20px;line-height:1.9}

/* ---------- 朋友圈动态流（仿微信：左头像 + 名字 + 内容） ---------- */
/* 签名和动态之间只留空白，不用分隔线 */
#wxMomentFeed{background:#fff;padding-top:14px}
.wx-mo-item{display:flex;gap:11px;padding:16px 14px 14px;border-top:1px solid #f2f2f2}
#wxMomentFeed .wx-mo-item:first-child{border-top:0}
.wx-mo-side{flex:0 0 42px;width:42px}
.wx-mo-ava{width:42px;height:42px;border-radius:6px;overflow:hidden;display:grid;place-items:center;background:#e6e6e6;font-size:17px;color:#fff;flex:0 0 42px}
.wx-mo-ava img{width:100%;height:100%;object-fit:cover;display:block}
.wx-mo-main{flex:1;min-width:0}
.wx-mo-name{font-size:14.5px;font-weight:600;color:#576b95;line-height:1.4;margin-bottom:3px}
.wx-mo-text{font-size:14.5px;color:#191919;line-height:1.5;word-break:break-word;white-space:pre-wrap}
/* 九宫格：1张大图、2-4张两列、5-9张三列 */
.wx-mo-grid{display:grid;gap:4px;margin-top:8px;width:100%;max-width:246px}
.wx-mo-g1{grid-template-columns:1fr}
.wx-mo-g1 .wx-mo-img{width:180px;height:180px;object-fit:cover}
.wx-mo-g2,.wx-mo-g4{grid-template-columns:repeat(2,1fr)}
.wx-mo-g3,.wx-mo-g5,.wx-mo-g6,.wx-mo-g7,.wx-mo-g8,.wx-mo-g9{grid-template-columns:repeat(3,1fr)}
.wx-mo-img{width:100%;aspect-ratio:1;object-fit:cover;display:block;border-radius:3px;background:#f0f0f0;cursor:pointer}
.wx-mo-meta{display:flex;align-items:center;gap:10px;margin-top:8px;min-height:20px;padding-right:6px}
.wx-mo-time{font-size:11px;color:#b2b2b2;flex:1}
.wx-mo-act{width:26px;height:26px;display:grid;place-items:center;color:#8a8a8a;background:#f5f5f5;border-radius:5px;padding:0}
.wx-mo-act svg{width:16px;height:16px;stroke-width:1.7}
.wx-mo-act:active{background:#e6e6e6}
/* 点赞后爱心变粉并填充 */
.wx-mo-act.liked{color:#ff5b7f;background:#fff0f3}
.wx-mo-act.liked svg{fill:#ff5b7f;stroke:#ff5b7f}
.wx-mo-like.liked .wx-mo-like-ico svg{fill:#ff5b7f;stroke:#ff5b7f}
/* 互动区：微信式浅灰底 */
.wx-mo-interact{background:#f5f5f5;border-radius:4px;margin-top:8px;padding:6px 8px}
.wx-mo-like{display:flex;align-items:flex-start;gap:5px;font-size:12.5px;color:#576b95;line-height:1.5;margin-bottom:2px}
.wx-mo-like-ico{display:inline-flex;flex:0 0 auto;margin-top:1px}
.wx-mo-like-ico svg{width:13px;height:13px;stroke:#576b95;stroke-width:1.8}
.wx-mo-comment{font-size:12.5px;color:#333;line-height:1.6;word-break:break-word}
.wx-mo-comment b{color:#576b95;font-weight:500}
/* 评论输入框 */
.wx-mo-cbox{display:flex;gap:6px;margin-top:7px;margin-right:6px}
.wx-mo-cbox input{flex:1;min-width:0;border:0;background:#f2f2f2;border-radius:5px;padding:7px 10px;font-size:13px;color:#191919;font-family:inherit;outline:0}
.wx-mo-cbox button{border:0;background:#07c160;color:#fff;font-size:12.5px;border-radius:5px;padding:0 12px}

/* ---------- 朋友圈发表页（仿微信） ---------- */
.wx-post{position:absolute;inset:0;z-index:13;background:#ededed;display:flex;flex-direction:column;color:#191919}
.wx-post[hidden]{display:none}
.wx-post-head{height:47px;flex:0 0 47px;background:#f7f7f7;border-bottom:1px solid #dcdcdc;display:flex;align-items:center;padding:0 14px;position:relative}
.wx-post-head h2{position:absolute;left:0;right:0;text-align:center;margin:0;font-size:16px;font-weight:600;pointer-events:none}
.wx-post-cancel,.wx-post-send{position:relative;z-index:1;font-size:15px;padding:6px 2px}
.wx-post-cancel{color:#333}
.wx-post-send{margin-left:auto;color:#07c160;font-weight:500}
.wx-post-send:active,.wx-post-cancel:active{opacity:.6}
.wx-post-body{flex:1;min-height:0;overflow-y:auto;padding:14px}
.wx-post-text{width:100%;min-height:96px;border:0;outline:0;resize:none;background:transparent;font-size:16px;line-height:1.6;color:#191919;font-family:inherit;padding:0}
.wx-post-text::placeholder{color:#b2b2b2}
.wx-post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:8px}
.wx-post-cell{position:relative;aspect-ratio:1;border-radius:5px;overflow:hidden;background:#eee}
.wx-post-cell img{width:100%;height:100%;object-fit:cover;display:block}
.wx-post-rm{position:absolute;right:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#000000a8;color:#fff;font-size:14px;line-height:18px;padding:0;display:grid;place-items:center}
.wx-post-add{width:80px;height:80px;border-radius:5px;background:#f2f2f2;color:#a0a0a0;display:grid;place-items:center;margin-top:8px;padding:0}
.wx-post-add[hidden]{display:none}
.wx-post-add svg{width:30px;height:30px;stroke-width:1.4}
.wx-post-tip{color:#b2b2b2;font-size:11.5px;margin-top:12px}

/* 右上角朋友圈伙伴按钮 */
.wx-buddy-post{width:34px;height:34px;display:grid;place-items:center;padding:0;color:#576b95}
.wx-buddy-post[hidden]{display:none}
.wx-buddy-post svg{width:22px;height:22px;stroke-width:1.7}

/* 我的：资料直接在本页填写，不弹窗 */
.wx-me{flex:1;min-height:0;overflow-y:auto;background:#ededed;scrollbar-width:none;padding-bottom:24px}
.wx-me-head{display:flex;align-items:center;gap:14px;background:#fff;padding:20px 16px;min-height:92px}
.wx-me-head-ava{width:60px;height:60px;padding:0;border:0;border-radius:8px;overflow:hidden;cursor:pointer;position:relative;flex:0 0 60px;background:#d9d9d9}
.wx-me-head-ava .wx-avatar{width:100%;height:100%;border-radius:0}
.wx-me-head-ava img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.wx-me-fields{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.wx-me-field{display:flex;align-items:center;gap:6px;min-width:0;margin:0}
.wx-me-field-label{flex:0 0 40px;font-size:11px;color:#9a9a9a}
.wx-me-ipt{flex:1;min-width:0;border:0;border-bottom:1px solid transparent;background:transparent;padding:2px 0;font-size:12px;color:#191919;outline:none;line-height:1.35;border-radius:0}
.wx-me-ipt:focus{border-bottom-color:#07c160}
.wx-me-ipt::placeholder{color:#c4c4c4}
.wx-me-ipt-name{font-size:17px;font-weight:600}
.wx-me-group{margin-top:9px;background:#fff}
.wx-me-row{display:flex;align-items:center;justify-content:space-between;width:100%;padding:13px 16px;border:0;border-bottom:1px solid #f2f2f2;font-size:14px;background:#fff;text-align:left;cursor:pointer;color:#191919}
.wx-me-row:last-child{border-bottom:0}
.wx-me-row:active{background:#f7f7f7}
.wx-me-row span:last-child{color:#b8b8b8;font-size:12px}
.wx-me-switch{margin-top:9px}
.wx-switch-account{justify-content:center;color:#191919;font-size:15px}

/* 底部 tabbar */
/* 底部 tabbar 加高，预留全局小黑条安全区，文字不再被压住（内容区高度保持 42px） */
.wx-tabbar{height:66px;flex:0 0 66px;background:#f7f7f7;border-top:1px solid #dcdcdc;display:grid;grid-template-columns:repeat(4,1fr);padding-bottom:calc(24px + env(safe-area-inset-bottom))}
.wx-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#8a8a8a;font-size:10px;padding:0}
.wx-tab.is-active{color:#07c160}
.wx-tabico{display:grid;place-items:center;height:23px}
.wx-tabico svg{width:22px;height:22px;stroke-width:1.6}
.wx-tab.is-active svg{stroke:#07c160}

/* 聊天窗口（覆盖全屏） */
.wx-chatroom{position:absolute;inset:0;z-index:2;background:#ededed;display:flex;flex-direction:column}
.wx-room-head{height:47px;flex:0 0 47px;background:#ededed;border-bottom:1px solid #dcdcdc;display:flex;align-items:center;padding:0 12px;position:relative}
.wx-room-back{width:34px;height:34px;display:grid;place-items:center;padding:0;z-index:1}
.wx-room-back svg{width:24px;height:24px;stroke-width:1.8}
.wx-room-head h2{position:absolute;left:0;right:0;text-align:center;margin:0;font-size:16px;font-weight:600;pointer-events:none}
.wx-room-more{margin-left:auto;font-size:20px;color:#555;letter-spacing:1px;z-index:1}
.wx-messages{flex:1;min-height:0;overflow-y:auto;padding:14px 12px;scrollbar-width:none}
.wx-msg{display:flex;gap:9px;margin-bottom:16px;align-items:flex-start}
.wx-msg.mine{flex-direction:row-reverse}
.wx-msg .wx-avatar{width:38px;height:38px;flex-basis:38px;border-radius:5px;font-size:16px}
.wx-bubble{max-width:70%;padding:9px 12px;background:#fff;border-radius:5px;font-size:14px;line-height:1.5;word-break:break-word;position:relative}
.wx-msg.mine .wx-bubble{background:#95ec69}
.wx-bubble:after{content:"";position:absolute;top:12px;left:-5px;border:5px solid transparent;border-right-color:#fff;border-left:0}
.wx-msg.mine .wx-bubble:after{left:auto;right:-5px;border-right-color:transparent;border-left-color:#95ec69;border-right:0}
.wx-compose{flex:0 0 auto;background:#f7f7f7;border-top:1px solid #dcdcdc;display:flex;align-items:center;gap:8px;padding:9px 10px 4px}
.wx-compose-input{flex:1;min-width:0;min-height:34px;max-height:90px;border:0;border-radius:5px;background:#fff;padding:7px 10px;font-size:14px;line-height:20px;resize:none;outline:none}
.wx-send{height:34px;padding:0 15px;border-radius:4px;background:#07c160;color:#fff;font-size:14px;flex:0 0 auto}
.wx-send:active{background:#06ad56}

/* ============ 语音输入：左键切换 + 按住说话 ============ */
.wx-voice-toggle{width:34px;height:34px;flex:0 0 34px;border-radius:6px;background:transparent;color:#4f4f4f;display:grid;place-items:center;padding:0;transition:background .16s,color .16s}
.wx-voice-toggle:active{background:#e4e4e4}
.wx-voice-toggle svg{width:20px;height:20px;stroke-width:1.7}
.wx-voice-toggle.is-on{background:#e4e4e4;color:#191919}
.wx-voice-toggle span{display:contents}
.wx-hold{flex:1;min-width:0;height:34px;border-radius:5px;background:#fff;font-size:14px;color:#333;letter-spacing:.5px;transition:background .15s;touch-action:none;-webkit-user-select:none;user-select:none}
.wx-hold.is-pressing{background:#e6e6e6}
.wx-hold[hidden]{display:none}
.wx-compose-input[hidden]{display:none}

/* 录音浮层 */
.wx-rec{position:absolute;inset:47px 0 0;z-index:5;display:flex;align-items:center;justify-content:center;pointer-events:none}
.wx-rec[hidden]{display:none}
.wx-rec-card{min-width:150px;padding:22px 26px 18px;border-radius:16px;background:#4a4a4acc;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);color:#fff;display:flex;flex-direction:column;align-items:center;gap:11px;box-shadow:0 14px 40px #00000030}
.wx-rec-wave{display:flex;align-items:center;gap:3px;height:26px}
.wx-rec-wave i{width:3px;height:7px;border-radius:2px;background:#ffffffd0;animation:wx-rec 1s ease-in-out infinite}
.wx-rec-wave i:nth-child(2){animation-delay:.1s}.wx-rec-wave i:nth-child(3){animation-delay:.2s}
.wx-rec-wave i:nth-child(4){animation-delay:.3s}.wx-rec-wave i:nth-child(5){animation-delay:.15s}
.wx-rec-wave i:nth-child(6){animation-delay:.25s}.wx-rec-wave i:nth-child(7){animation-delay:.35s}
.wx-rec-wave i:nth-child(8){animation-delay:.2s}.wx-rec-wave i:nth-child(9){animation-delay:.05s}
@keyframes wx-rec{0%,100%{height:6px;opacity:.5}50%{height:24px;opacity:1}}
.wx-rec-time{font-size:17px;font-weight:500;letter-spacing:1px;font-variant-numeric:tabular-nums}
.wx-rec-hint{margin:0;font-size:11px;color:#ffffffc4;letter-spacing:.5px}
.wx-rec.is-cancel .wx-rec-card{background:#c3423fcc}
.wx-rec.is-cancel .wx-rec-wave i{animation-play-state:paused;background:#ffffff90}

/* ============ 快捷工具条：四个圆形简笔按钮 ============ */
.wx-quickbar{flex:0 0 auto;background:#f7f7f7;display:flex;align-items:center;justify-content:center;gap:12px;padding:3px 12px 10px}
.wx-qbtn{position:relative;width:26px;height:26px;border-radius:50%;background:#e9e9e9;color:#5f5f5f;display:grid;place-items:center;padding:0;transition:background .16s,color .16s,transform .12s}
.wx-qbtn::after{content:'';position:absolute;inset:-6px;border-radius:50%}
.wx-qbtn svg{width:15px;height:15px;stroke-width:1.75}
.wx-qbtn:active{transform:scale(.9)}
.wx-qbtn.is-on{background:#07c160;color:#fff}
.wx-qbtn[disabled]{opacity:.4}

/* 展开面板（快捷短语 / 表情 / 更多） */
.wx-tools{flex:0 0 auto;background:#f7f7f7;max-height:280px;overflow-y:auto;padding:4px 14px 18px;scrollbar-width:none}
.wx-tools[hidden]{display:none}
.wx-tools::-webkit-scrollbar{display:none}
.wx-tools-tip{padding:10px 2px 8px;font-size:11px;color:#a5a5a5;letter-spacing:.3px}
.wx-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.wx-quick-item{height:36px;border-radius:9px;background:#fff;color:#3b3b3b;font-size:13px;box-shadow:inset 0 0 0 1px #00000008}
.wx-quick-item:active{background:#e9e9e9}
.wx-emoji-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:6px;padding-top:6px}
.wx-emoji-grid button{height:34px;border-radius:8px;font-size:21px;line-height:1}
.wx-emoji-grid button:active{background:#e8e8e8}

/* ============ 功能面板（闪电）：转账 / 图片 / 位置 / 礼物 / 通话 ============ */
.wx-fn-grid{display:flex;justify-content:center;gap:2px;padding-top:8px}
.wx-fn-item{flex:1 1 0;min-width:0;max-width:62px;display:flex;flex-direction:column;align-items:center;gap:6px;padding:6px 0 5px;border-radius:10px;font-size:10.5px;color:#6a6a6a;letter-spacing:.2px;white-space:nowrap}
.wx-fn-item .wx-fn-ico{width:40px;height:40px;border-radius:50%;background:#fff;color:#4c4c4c;display:grid;place-items:center;box-shadow:inset 0 0 0 1px #00000008;transition:background .15s}
.wx-fn-item svg{width:20px;height:20px;stroke-width:1.5}
.wx-fn-item:active .wx-fn-ico{background:#ececec}
/* 连发进行中：按钮和图标一起高亮，点开面板一眼能看出状态 */
.wx-fn-item.is-on{color:#07c160}
.wx-fn-item.is-on .wx-fn-ico{background:#e7f8ee;color:#07c160;box-shadow:inset 0 0 0 1px #07c16033}

/* ============ 引用条：长按气泡选「引用」后挂在输入栏上方 ============ */
.wx-quotebar{flex:0 0 auto;display:flex;align-items:center;gap:8px;background:#f7f7f7;padding:8px 12px 0}
.wx-quotebar[hidden]{display:none}
.wx-quotebar-txt{flex:1;min-width:0;padding:6px 9px;border-left:2px solid #07c160;background:#00000008;border-radius:0 4px 4px 0;font-size:12px;color:#8a8a8a;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wx-quotebar-x{flex:0 0 auto;width:22px;height:22px;border-radius:50%;background:#e4e4e4;color:#777;display:grid;place-items:center;padding:0}
.wx-quotebar-x svg{width:12px;height:12px;stroke-width:2.2}

/* ============ 消息长按菜单（贴着气泡上方的小浮条，不遮输入栏） ============ */
.wx-msheet{position:absolute;inset:0;z-index:32;background:transparent}
.wx-msheet[hidden]{display:none}
.wx-msheet-pop{position:absolute;display:flex;align-items:stretch;padding:7px 4px;border-radius:13px;background:#3c3c42;box-shadow:0 12px 32px #00000038;transform:translateX(-50%);animation:wxPopIn .15s cubic-bezier(.2,.9,.3,1)}
.wx-msheet-pop:after{content:"";position:absolute;left:var(--arrow-x,50%);bottom:-5px;width:12px;height:12px;margin-left:-6px;background:#3c3c42;border-radius:0 0 3px 0;transform:rotate(45deg)}
.wx-msheet-pop.is-below{animation-name:wxPopDown}
.wx-msheet-pop.is-below:after{bottom:auto;top:-5px;border-radius:3px 0 0 0}
.wx-msheet-row{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:54px;padding:3px 8px;border:0;background:none;border-radius:9px;color:#fff;font-size:11px;line-height:1.2;letter-spacing:.2px;white-space:nowrap}
.wx-msheet-row:active{background:#ffffff1f}
.wx-msheet-ico{width:21px;height:21px;display:grid;place-items:center;color:#fff}
.wx-msheet-ico svg{width:20px;height:20px;stroke-width:1.7}
.wx-msheet-row.is-danger{color:#ff8077}
.wx-msheet-row.is-danger .wx-msheet-ico{color:#ff8077}
@keyframes wxPopIn{from{opacity:0;transform:translateX(-50%) scale(.88)}to{opacity:1;transform:translateX(-50%) scale(1)}}
@keyframes wxPopDown{from{opacity:0;transform:translateX(-50%) translateY(-6px) scale(.88)}to{opacity:1;transform:translateX(-50%) translateY(0) scale(1)}}

/* 气泡里的引用片段 */
.wx-bubble .wx-quote{display:block;margin:-1px 0 6px;padding:5px 8px;border-radius:4px;background:#0000000d;font-size:12.5px;line-height:1.5;color:#8d8d8d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.wx-bubble .wx-quote i{font-style:normal;color:#6d6d6d}
.wx-msg.mine .wx-bubble .wx-quote{background:#ffffff9e}

/* 旁白输入（多行） */
.wx-narr-input{width:100%;height:74px;border:0;outline:none;background:transparent;font-size:13.5px;color:#2a2a2a;padding:8px 0 6px;resize:none;line-height:1.62;font-family:inherit;overflow-y:auto;border-bottom:1px solid #0000000f}
.wx-narr-input::placeholder{color:#b5b5b5}

/* 旁白消息：居中灰字，不带头像与气泡 */
.wx-narration{padding:1px 46px 3px;text-align:center;font-size:12px;color:#9c9c9c;line-height:1.68;letter-spacing:.2px}

/* 名片卡片 */
.wx-bubble.wx-namecard{display:flex;align-items:center;gap:10px;background:#fff!important;padding:11px 12px;min-width:198px;max-width:216px;color:#191919}
.wx-namecard-ava{width:40px;height:40px;flex:0 0 40px;border-radius:5px;overflow:hidden;background:#ececec;display:grid;place-items:center;font-size:15px;color:#8b8b8b}
.wx-namecard-ava img{width:100%;height:100%;object-fit:cover;display:block}
.wx-namecard-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.wx-namecard-main b{font-size:14px;font-weight:500;color:#191919;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wx-namecard-main i{font-style:normal;font-size:11.5px;color:#9a9a9a}
.wx-namecard-tag{font-size:9.5px;color:#9a9a9a;align-self:flex-start;padding-top:2px;white-space:nowrap;letter-spacing:.2px}

/* 名片列表 */
.wx-nc-list{background:#fff;border-radius:12px;overflow:hidden;box-shadow:inset 0 0 0 1px #00000008;max-height:178px;overflow-y:auto}
.wx-nc-row{display:flex;align-items:center;gap:10px;width:100%;padding:9px 12px;text-align:left}
.wx-nc-row+.wx-nc-row{box-shadow:inset 0 1px 0 #00000008}
.wx-nc-row:active{background:#f4f4f4}
.wx-nc-ava{width:34px;height:34px;flex:0 0 34px;border-radius:5px;overflow:hidden;background:#ececec;display:grid;place-items:center;font-size:13px;color:#8b8b8b}
.wx-nc-ava img{width:100%;height:100%;object-fit:cover;display:block}
.wx-nc-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.wx-nc-main b{font-size:13.5px;font-weight:400;color:#191919;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wx-nc-main i{font-style:normal;font-size:11px;color:#9d9d9d}
.wx-nc-go{font-size:11.5px;color:#07c160;flex:0 0 auto}

/* 亲密付卡片 */
.wx-bubble.wx-kscard{background:linear-gradient(140deg,#fff8e8,#fffdf7)!important;padding:0;min-width:198px;max-width:216px;overflow:hidden}
.wx-kscard-top{display:flex;align-items:center;gap:6px;padding:11px 12px 0}
.wx-kscard-top b{font-size:13px;font-weight:500;color:#8a6410}
.wx-kscard-top i{font-style:normal;font-size:9.5px;color:#96700f;background:#fdf0cf;border-radius:4px;padding:1px 5px}
.wx-kscard-amt{padding:6px 12px 10px;font-size:11px;color:#a8946a}
.wx-kscard-amt em{font-style:normal;font-size:19px;font-weight:500;color:#8a6410;margin-left:3px;font-variant-numeric:tabular-nums}
.wx-kscard-foot{padding:7px 12px;font-size:9.5px;color:#bda97a;background:#fffcf2;border-top:1px solid #00000008}
/* 待接受的亲属卡：底部一条「接受绑定」 */
.wx-kscard-top i.is-pending{background:#fbeadb;color:#b4702c}
.wx-bubble.wx-kscard-offer{box-shadow:0 0 0 1px #eddab0 inset}
.wx-kscard-act{display:block;padding:9px 12px;text-align:center;font-size:12.5px;font-weight:500;color:#8a6410;background:#fdf1d4;border-top:1px solid #0000000a;cursor:pointer}
.wx-kscard-act:active{background:#f9e8c4}
/* 亲密付消费小票 */
.wx-bubble.wx-kspay{background:linear-gradient(140deg,#fff8e8,#fffdf7)!important;padding:11px 12px;min-width:172px;max-width:200px}
.wx-kspay-top{display:flex;align-items:baseline;gap:7px}
.wx-kspay-tag{font-size:9.5px;color:#96700f;background:#fdf0cf;border-radius:4px;padding:1px 5px}
.wx-kspay-top b{font-size:17px;font-weight:500;color:#8a6410;font-variant-numeric:tabular-nums}
.wx-kspay i{display:block;margin-top:5px;font-style:normal;font-size:11px;color:#a8946a}

/* 二级面板统一返回头 */
.wx-sub-head{display:flex;align-items:center;gap:5px;padding:5px 0 7px}
.wx-sub-back{width:28px;height:28px;display:grid;place-items:center;padding:0;border-radius:50%;color:#3f3f3f;flex:0 0 28px}
.wx-sub-back svg{width:19px;height:19px;stroke-width:1.9}
.wx-sub-back:active{background:#e8e8e8}
.wx-sub-title{font-size:12px;color:#8a8a8a;letter-spacing:.4px}

/* ============ 亲密付整页（照微信「亲属卡」赠送页的版式） ============ */
.wx-kn{position:absolute;inset:0;z-index:9;background:#ededed;display:flex;flex-direction:column}
.wx-kn[hidden]{display:none}
.wx-kn-head{height:47px;flex:0 0 47px;background:#ededed;border-bottom:1px solid #dcdcdc;display:flex;align-items:center;padding:0 12px;position:relative}
.wx-kn-back{width:34px;height:34px;display:grid;place-items:center;padding:0;z-index:1}
.wx-kn-back svg{width:24px;height:24px;stroke-width:1.8}
.wx-kn-head h2{position:absolute;left:0;right:0;text-align:center;margin:0;font-size:16px;font-weight:600;pointer-events:none}
.wx-kn-body{flex:1;min-height:0;overflow-y:auto;padding:14px 14px 20px;scrollbar-width:none}
.wx-kn-body::-webkit-scrollbar{display:none}
.wx-kn-card{background:#fff;border-radius:10px;overflow:hidden}
.wx-kn-peer{display:flex;align-items:center;gap:12px;padding:18px 16px 16px}
.wx-kn-ava{width:50px;height:50px;flex:0 0 50px;border-radius:6px;overflow:hidden;background:#ececec;display:grid;place-items:center;font-size:19px;color:#8b8b8b}
.wx-kn-ava img{width:100%;height:100%;object-fit:cover;display:block}
.wx-kn-peer-main{flex:1;min-width:0}
.wx-kn-peer-main b{display:block;font-size:16px;font-weight:500;color:#191919;line-height:1.3}
.wx-kn-peer-main i{display:block;font-style:normal;margin-top:4px;font-size:12px;color:#9a9a9a}
.wx-kn-hr{height:1px;background:#0000000d;margin:0 16px}
.wx-kn-row{display:flex;align-items:center;width:100%;min-height:52px;padding:0 16px;font-size:15px;color:#191919;text-align:left;background:#fff}
.wx-kn-row+.wx-kn-row{box-shadow:inset 0 1px 0 #0000000d}
.wx-kn-row span{flex:1;min-width:0}
.wx-kn-row em{font-style:normal;font-size:15px;color:#8a8a8a;font-variant-numeric:tabular-nums}
.wx-kn-row.is-static em{color:#191919}
.wx-kn-amounts{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:0 16px 16px}
.wx-kn-amt{height:38px;border-radius:6px;background:#f7f7f7;color:#4a4a4a;font-size:14px;font-variant-numeric:tabular-nums;box-shadow:inset 0 0 0 1px #00000000;transition:background .14s,color .14s,box-shadow .14s}
.wx-kn-amt.is-on{background:#fff8e8;color:#a97b12;font-weight:500;box-shadow:inset 0 0 0 1px #e2b552}
.wx-kn-pay-form{background:#fff;border-radius:10px;padding:14px 16px 16px;margin-top:10px}
.wx-kn-pay-form input{width:100%;border:0;outline:none;background:#f7f7f7;border-radius:6px;padding:10px 12px;font-size:14px;color:#2a2a2a;margin-bottom:8px;font-family:inherit}
.wx-kn-pay-form input::placeholder{color:#b5b5b5}
.wx-kn-pay-form input::-webkit-inner-spin-button,.wx-kn-pay-form input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.wx-kn-pay-form button{width:100%;height:38px;border-radius:6px;background:#f5c451;color:#5a3f04;font-size:14px;font-weight:500}
.wx-kn-pay-form button:active{background:#eebc3f}
.wx-kn-oncard{margin:0 0 12px}
.wx-kn-oncard .wx-kn-top{display:flex;align-items:center;gap:8px;padding:18px 16px 6px}
.wx-kn-oncard .wx-kn-top b{font-size:16px;font-weight:600;color:#8a6410}
.wx-kn-oncard .wx-kn-top i{font-style:normal;font-size:10px;color:#9a7014;background:#fdf0cf;border-radius:4px;padding:2px 6px}
.wx-kn-unlink{margin-left:auto;font-size:12px;color:#b39a63;padding:2px 0 2px 8px;letter-spacing:.2px}
.wx-kn-unlink:active{color:#8a6410}
.wx-kn-big{padding:2px 16px 16px}
.wx-kn-big span{display:block;font-size:12px;color:#a8946a}
.wx-kn-big b{display:block;margin-top:4px;font-size:30px;font-weight:600;color:#8a6410;font-variant-numeric:tabular-nums;letter-spacing:-.5px}
.wx-kn-stats{display:flex;border-top:1px solid #0000000d}
.wx-kn-stats div{flex:1;padding:12px 16px 14px}
.wx-kn-stats div+div{box-shadow:inset 1px 0 0 #0000000d}
.wx-kn-stats span{display:block;font-size:11.5px;color:#a8946a}
.wx-kn-stats b{display:block;margin-top:3px;font-size:16px;font-weight:500;color:#7a5a10;font-variant-numeric:tabular-nums}
.wx-kn-tip{padding:14px 6px 0;margin:0;font-size:11.5px;color:#9c9c9c;line-height:1.7}
.wx-kn-foot{flex:0 0 auto;padding:10px 14px 16px;background:#ededed}
.wx-kn-primary{width:100%;height:46px;border-radius:8px;background:#07c160;color:#fff;font-size:16px;font-weight:500}
.wx-kn-primary:active{background:#06ad56}
.wx-kn-primary[disabled]{opacity:.45}
.wx-kn-secondary{width:100%;height:44px;border-radius:8px;background:#fff;color:#191919;font-size:15px;margin-top:8px}
.wx-kn-secondary:active{background:#f2f2f2}

/* 位置：自己填地点 */
.wx-loc-form{background:#fff;border-radius:12px;padding:12px 14px 14px;box-shadow:inset 0 0 0 1px #00000008}
.wx-loc-input{width:100%;border:0;outline:none;font-size:13.5px;color:#2a2a2a;padding:9px 0;border-bottom:1px solid #0000000f;background:transparent}
.wx-loc-input::placeholder{color:#b5b5b5}
.wx-loc-tip{font-size:10.5px;color:#a8a8a8;line-height:1.55;padding:9px 0 0}
.wx-loc-send{width:100%;height:40px;border-radius:10px;background:#07c160;color:#fff;font-size:14px;margin-top:12px}
.wx-loc-send:active{background:#06ad56}

/* 自传表情包 */
.wx-emoji-grid button.wx-sticker{padding:0;overflow:hidden;background:#fff}
.wx-sticker img{width:100%;height:100%;object-fit:contain;display:block}
.wx-sticker-add{border:1px dashed #cccccc;background:transparent!important;color:#adadad;display:grid;place-items:center}
.wx-sticker-add svg{width:17px;height:17px;stroke-width:1.6}

/* 礼物网格 */
.wx-gift-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding-top:4px}
.wx-gift-item{background:#fff;border-radius:12px;padding:12px 6px 10px;display:flex;flex-direction:column;align-items:center;gap:4px;box-shadow:inset 0 0 0 1px #00000008}
.wx-gift-item:active{background:#f6f6f6}
.wx-gift-emoji{font-size:25px;line-height:1.15}
.wx-gift-name{font-size:12px;color:#3c3c3c}
.wx-gift-price{font-size:10.5px;color:#bd8b52}

/* ============ 新增消息卡片：转账 / 位置 / 礼物 ============ */
.wx-bubble.wx-paycard{background:#fdf0dd!important;padding:0;width:210px;overflow:hidden;color:#8a5a1e;border-radius:8px}
.wx-paycard-top{display:flex;align-items:center;gap:10px;padding:12px 12px 11px}
.wx-paycard-ico{width:30px;height:30px;border-radius:50%;background:#f6a13b;color:#fff;display:grid;place-items:center;font-size:15px;font-weight:600;flex:0 0 30px}
.wx-paycard-main{display:flex;flex-direction:column;gap:2px;min-width:0}
.wx-paycard-main b{font-size:16px;font-weight:600;color:#6b4310;letter-spacing:.3px}
.wx-paycard-main i{font-style:normal;font-size:11px;color:#a98052;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wx-paycard-foot{padding:7px 12px;font-size:10px;color:#b08a5c;background:#f9e4c6;letter-spacing:.4px}
.wx-bubble.wx-loccard{background:#fff!important;padding:0;width:210px;overflow:hidden;border-radius:8px}
.wx-loccard-main{padding:11px 12px 9px}
.wx-loccard-main b{display:block;font-size:13px;font-weight:500;color:#2b2b2b;margin-bottom:4px;line-height:1.35}
.wx-loccard-main i{font-style:normal;font-size:11px;color:#9c9c9c;display:block;line-height:1.4}
.wx-loccard-map{height:76px;background:linear-gradient(135deg,#e8efe6,#dfe9f0);position:relative;overflow:hidden}
.wx-loccard-map:before{content:'';position:absolute;inset:0;background-image:linear-gradient(90deg,#ffffff88 1px,transparent 1px),linear-gradient(#ffffff88 1px,transparent 1px),linear-gradient(45deg,transparent 46%,#ffffff99 47%,#ffffff99 49%,transparent 50%);background-size:26px 26px,26px 26px,70px 70px}
.wx-loccard-pin{position:absolute;left:50%;top:47%;width:16px;height:16px;margin:-8px 0 0 -8px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#e64545;box-shadow:0 2px 5px #00000038}
.wx-loccard-pin:after{content:'';position:absolute;left:5px;top:5px;width:6px;height:6px;border-radius:50%;background:#fff}
.wx-loccard-foot{padding:6px 12px 7px;font-size:10px;color:#b4b4b4;border-top:1px solid #0000000a}

/* ============ 发送位置整页（仿微信原生「发送位置」） ============ */
.wx-lm{position:absolute;inset:0;z-index:12;background:#ededed;display:flex;flex-direction:column;color:#191919}
.wx-lm[hidden]{display:none}
.wx-lm-head{height:47px;flex:0 0 47px;background:#f7f7f7;border-bottom:1px solid #dcdcdc;display:flex;align-items:center;padding:0 12px;position:relative}
.wx-lm-cancel{display:flex;align-items:center;gap:1px;padding:0;z-index:1;color:#191919;font-size:15px}
.wx-lm-cancel svg{width:22px;height:22px;stroke-width:1.9}
.wx-lm-cancel em{font-style:normal}
.wx-lm-head h2{position:absolute;left:0;right:0;text-align:center;margin:0;font-size:16px;font-weight:600;pointer-events:none}
.wx-lm-send{position:relative;z-index:1;margin-left:auto;padding:6px 2px 6px 12px;color:#07c160;font-size:15px;font-weight:500}
.wx-lm-send:active{opacity:.6}
/* 搜索框 */
.wx-lm-search{flex:0 0 auto;display:flex;align-items:center;gap:7px;margin:10px 12px;height:36px;background:#fff;border-radius:7px;padding:0 10px;box-shadow:inset 0 0 0 1px #00000008}
.wx-lm-search>span[svg]{width:17px;height:17px}
.wx-lm-search svg{width:17px;height:17px;stroke:#9a9a9a;stroke-width:2}
.wx-lm-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:14px;color:#191919;font-family:inherit}
.wx-lm-search input::placeholder{color:#b2b2b2}
.wx-lm-search input::-webkit-search-cancel-button{display:none}
.wx-lm-search-clear{width:18px;height:18px;padding:0;display:grid;place-items:center;background:#c9c9c9;color:#fff;border-radius:50%}
.wx-lm-search-clear svg{width:11px;height:11px;stroke:#fff;stroke-width:2.4}
.wx-lm-search-clear[hidden]{display:none}
/* 示意地图（纯 CSS，无境外地图源、无真实地理数据） */
.wx-lm-map{position:relative;flex:1 1 42%;min-height:150px;overflow:hidden;background:#e9efe6;box-shadow:inset 0 1px 0 #0000000d}
.wx-lm-grid{position:absolute;inset:0;background-image:linear-gradient(90deg,#ffffff9e 1px,transparent 1px),linear-gradient(#ffffff9e 1px,transparent 1px);background-size:34px 34px}
.wx-lm-road{position:absolute;background:#fff;box-shadow:0 0 0 1px #e0e6dc}
.wx-lm-road-h{left:0;right:0;top:52%;height:13px;transform:rotate(-6deg)}
.wx-lm-road-v{top:0;bottom:0;left:34%;width:11px;transform:rotate(8deg)}
.wx-lm-road-d{top:-20%;left:-10%;width:150%;height:9px;transform:rotate(34deg);transform-origin:center;top:76%}
.wx-lm-park{position:absolute;right:-8%;top:-12%;width:46%;height:52%;background:#d3e8c6;border-radius:40% 0 42% 0;transform:rotate(-12deg)}
.wx-lm-river{position:absolute;left:-12%;bottom:-24%;width:80%;height:54%;background:#cfe2ef;border-radius:50%;transform:rotate(-18deg)}
/* 大头针 */
.wx-lm-pin{position:absolute;left:50%;top:46%;transform:translate(-50%,-100%);display:flex;flex-direction:column;align-items:center;z-index:2;pointer-events:none}
.wx-lm-pin-bubble{display:block;background:#fff;color:#333;font-size:11px;line-height:1;padding:5px 8px;border-radius:5px;box-shadow:0 2px 7px #00000030;white-space:nowrap;max-width:150px;overflow:hidden;text-overflow:ellipsis;margin-bottom:5px;position:relative}
.wx-lm-pin-bubble:after{content:'';position:absolute;left:50%;bottom:-4px;width:8px;height:8px;background:#fff;transform:translateX(-50%) rotate(45deg)}
.wx-lm-pin-drop{width:20px;height:20px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#e64545;box-shadow:0 3px 6px #00000045;position:relative}
.wx-lm-pin-drop:after{content:'';position:absolute;left:6px;top:6px;width:8px;height:8px;border-radius:50%;background:#fff}
.wx-lm-reloc{position:absolute;right:12px;bottom:12px;width:36px;height:36px;border-radius:6px;background:#fff;display:grid;place-items:center;box-shadow:0 2px 8px #00000026;z-index:3}
.wx-lm-reloc svg{width:20px;height:20px;stroke:#5a5a5a;stroke-width:1.8}
.wx-lm-reloc:active{background:#f2f2f2}
/* 地点列表 */
.wx-lm-panel{flex:1 1 50%;min-height:0;overflow-y:auto;background:#fff;scrollbar-width:none}
.wx-lm-panel::-webkit-scrollbar{display:none}
.wx-lm-current{display:flex;align-items:flex-start;gap:10px;padding:14px 14px 13px;border-bottom:1px solid #f0f0f0}
.wx-lm-current .wx-lm-cico{flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:#eaf7ef;display:grid;place-items:center;margin-top:1px}
.wx-lm-current .wx-lm-cico svg{width:19px;height:19px;stroke:#07c160;stroke-width:2}
.wx-lm-cmain{min-width:0;flex:1}
.wx-lm-cmain b{display:block;font-size:15px;font-weight:500;color:#191919;line-height:1.35}
.wx-lm-cmain i{display:block;font-style:normal;font-size:11.5px;color:#9a9a9a;margin-top:3px;line-height:1.4}
.wx-lm-sub{padding:11px 14px 7px;font-size:11px;color:#a5a5a5;letter-spacing:.3px}
.wx-lm-list{padding:0 0 20px}
.wx-lm-row{display:flex;align-items:center;gap:11px;width:100%;text-align:left;padding:11px 14px;background:#fff;position:relative}
.wx-lm-row+ .wx-lm-row{box-shadow:inset 0 1px 0 #f2f2f2}
.wx-lm-row:active{background:#f7f7f7}
.wx-lm-row.is-on{background:#f4fbf6}
.wx-lm-rico{flex:0 0 20px;width:20px;height:20px;display:grid;place-items:center}
.wx-lm-rico svg{width:17px;height:17px;stroke:#b6b6b6;stroke-width:1.8}
.wx-lm-row.is-on .wx-lm-rico svg{stroke:#07c160}
.wx-lm-rmain{flex:1;min-width:0}
.wx-lm-rmain b{display:block;font-size:14px;font-weight:500;color:#2b2b2b;line-height:1.35}
.wx-lm-rmain i{display:block;font-style:normal;font-size:11px;color:#a0a0a0;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wx-lm-row.is-on .wx-lm-rmain b{color:#07a457}
.wx-lm-rdist{flex:0 0 auto;font-size:11px;color:#b0b0b0}
/* 礼物卡：浅色、干净的一张卡片。不铺底色，只留一层浅灰边框和一块浅色图标 */
.wx-bubble.wx-giftcard{background:#fff!important;padding:0;width:208px;overflow:hidden;
  border-radius:11px;border:1px solid #eceef1;box-shadow:0 8px 20px -18px rgba(29,42,54,.75)}
.wx-gc-top{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 11px 0}
.wx-gc-tag{font-size:8.5px;letter-spacing:1.4px;color:#8e99a5;background:#f4f6f8;
  border-radius:5px;padding:2.5px 6px;line-height:1.2}
.wx-gc-price{font-size:11px;color:#9aa5b0;font-variant-numeric:tabular-nums;letter-spacing:0}
.wx-gc-main{display:flex;align-items:center;gap:9px;padding:7px 11px 11px}
.wx-gc-ico{width:34px;height:34px;flex:0 0 auto;border-radius:10px;display:grid;place-items:center;
  font-size:18px;line-height:1;background:#f6f7f9}
.wx-gc-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.wx-gc-txt em{font-style:normal;font-size:9.5px;color:#9aa5b0;letter-spacing:.3px}
.wx-gc-txt b{font-size:12.5px;font-weight:500;color:#2b3440;letter-spacing:.2px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wx-giftcard.is-food .wx-gc-tag{color:#a2713f;background:#fbf3e8}
.wx-giftcard.is-food .wx-gc-ico{background:#fbf3e8}
.wx-giftcard.is-gift .wx-gc-tag{color:#8a7a62;background:#f7f3ea}
.wx-giftcard.is-gift .wx-gc-ico{background:#f7f3ea}

/* ============ 掷骰子卡片 / 心情卡 / 心情选择面板 ============ */
.wx-bubble.wx-dicecard{background:#fff!important;padding:0;width:96px;overflow:hidden;border-radius:9px;color:#2b2b2b}
.wx-dice-one{display:flex;flex-direction:column;align-items:center;gap:5px;padding:15px 12px 12px}
.wx-dice-face{font-size:52px;line-height:1;color:#3a3a3a;text-shadow:0 1px 3px #00000018}
.wx-dice-num{font-size:11px;color:#7a7a7a}
.wx-dice-foot{padding:6px 10px 7px;font-size:10px;color:#8a6a2e;text-align:center;background:#fbf5e9;border-top:1px solid #00000008;letter-spacing:.3px}
/* 掷骰中：6 个骰面叠在一起快速切换，制造滚动感 */
.wx-dice-roll{position:relative;height:52px;width:52px;margin:15px auto 12px;overflow:hidden}
.wx-dice-roll span{position:absolute;left:0;top:0;width:52px;height:52px;font-size:52px;line-height:52px;text-align:center;color:#3a3a3a;opacity:0;animation:wxDiceSpin 1.2s steps(1) infinite}
.wx-dice-roll span:nth-child(1){animation-delay:0s}
.wx-dice-roll span:nth-child(2){animation-delay:.2s}
.wx-dice-roll span:nth-child(3){animation-delay:.4s}
.wx-dice-roll span:nth-child(4){animation-delay:.6s}
.wx-dice-roll span:nth-child(5){animation-delay:.8s}
.wx-dice-roll span:nth-child(6){animation-delay:1s}
@keyframes wxDiceSpin{0%,16.6%{opacity:1;transform:translateY(0) rotate(0)}16.7%,100%{opacity:0;transform:translateY(-6px) rotate(25deg)}}
.wx-bubble.wx-moodcard{background:#fff!important;padding:0;width:168px;overflow:hidden;border-radius:10px;text-align:center;color:#3a3a3a}
.wx-mood-emoji{font-size:44px;line-height:1;padding:18px 0 6px}
.wx-mood-label{font-size:15px;font-weight:500;color:#2b2b2b;padding:0 12px}
.wx-mood-text{font-size:11.5px;color:#9a9a9a;padding:6px 14px 15px;line-height:1.5}
.wx-mood-foot{padding:6px 12px 7px;font-size:9.5px;color:#b0b0b0;letter-spacing:.4px;background:#fafafa;border-top:1px solid #0000000a}
.wx-mood-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:4px 2px 8px}
.wx-mood-item{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 2px 10px;border-radius:10px;background:#fff;font-size:10.5px;color:#6a6a6a;box-shadow:inset 0 0 0 1px #00000008}
.wx-mood-item .wx-mood-emoji{font-size:28px;padding:0;line-height:1}
.wx-mood-item:active{background:#f2f2f2}

/* ============ 转账页（微信式：对方信息 + 大金额 + 数字键盘） ============ */
/* ============ 转账：仿微信原生（对方信息 + 金额卡 + 数字键盘） ============ */
.wx-transfer{position:absolute;inset:0;z-index:35;background:#fff;display:flex;flex-direction:column;color:#191919}
.wx-transfer[hidden]{display:none}
.wx-tr-head{flex:0 0 auto;height:50px;display:flex;align-items:center;padding:0 6px}
.wx-tr-back{width:40px;height:40px;display:grid;place-items:center;padding:0;color:#191919}
.wx-tr-back svg{width:23px;height:23px;stroke-width:2}
.wx-tr-main{flex:1;min-height:0;overflow-y:auto;padding:2px 0 0}
.wx-tr-peer{display:flex;align-items:center;gap:12px;padding:4px 18px 18px}
.wx-tr-peer-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.wx-tr-peer-text b{font-size:16.5px;font-weight:500;color:#191919;letter-spacing:.2px;line-height:1.32}
.wx-tr-peer-text i{font-style:normal;font-size:12.5px;color:#9b9b9b;letter-spacing:.2px}
.wx-tr-ava{width:46px;height:46px;flex:0 0 46px;border-radius:5px;overflow:hidden;background:#ececec;display:grid;place-items:center;font-size:17px;color:#8f8f8f}
.wx-tr-ava img{width:100%;height:100%;object-fit:cover;display:block}
.wx-tr-card{background:#fff;border-radius:10px;margin:0 12px;padding:16px 16px 2px;box-shadow:inset 0 0 0 1px #0000000d}
.wx-tr-label{display:block;font-size:13.5px;color:#8c8c8c;letter-spacing:.2px}
.wx-tr-amount{display:flex;align-items:center;gap:4px;height:66px;border-bottom:1px solid #ededed}
.wx-tr-amount span{font-size:25px;font-weight:500;color:#191919;line-height:1}
.wx-tr-amount b{font-size:37px;font-weight:500;color:#191919;font-variant-numeric:tabular-nums;letter-spacing:.5px;line-height:1;min-width:2px}
.wx-tr-caret{width:1.5px;height:33px;background:#07c160;margin-left:2px;animation:wxCaret 1.05s step-end infinite}
@keyframes wxCaret{0%,100%{opacity:1}50%{opacity:0}}
.wx-tr-note{width:100%;border:0;outline:none;background:transparent;font-size:15px;color:#191919;padding:15px 0 16px;text-align:left}
.wx-tr-note::placeholder{color:#b2b2b2}
.wx-tr-foot{flex:0 0 auto;background:#f2f2f2;padding:6px 5px calc(6px + 10px)}
.wx-tr-pad{display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(4,50px);gap:5px}
.wx-tr-key{background:#fff;border-radius:5px;font-size:23px;color:#191919;display:grid;place-items:center;font-variant-numeric:tabular-nums;box-shadow:0 1px 0 #00000012;transition:background .1s}
.wx-tr-key:active{background:#dcdcdc}
.wx-tr-key.is-zero{grid-column:1/3}
.wx-tr-key.is-dot{grid-column:3}
.wx-tr-key.is-del{grid-column:4;grid-row:1;color:#4a4a4a}
.wx-tr-key.is-del svg{width:21px;height:21px;stroke-width:1.8}
.wx-tr-send{grid-column:4;grid-row:2/5;background:#07c160;color:#fff;border-radius:6px;font-size:17px;font-weight:500;letter-spacing:1px;display:grid;place-items:center;transition:background .14s}
.wx-tr-send:active{background:#06ad56}
.wx-tr-send:disabled{background:#bfe8ce;color:#ffffff}


/* 表情包消息 */
.wx-bubble.wx-stickerbubble{background:transparent!important;padding:0;box-shadow:none}
.wx-bubble.wx-stickerbubble:after{display:none}
.wx-bubble.wx-stickerbubble img{display:block;width:104px;height:104px;object-fit:contain}

/* ============ 语音通话浮层 ============ */
.wx-call{position:absolute;inset:0;z-index:40;background:linear-gradient(180deg,#2b2f2b,#1c1e1c 58%,#131513);display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:86px 0 56px;color:#fff}
.wx-call[hidden]{display:none}
.wx-call-top{display:flex;flex-direction:column;align-items:center;gap:13px}
.wx-call-ava{width:86px;height:86px;border-radius:50%;overflow:hidden;background:#ffffff14;display:grid;place-items:center;font-size:30px;color:#ffffffd0}
.wx-call-ava img{width:100%;height:100%;object-fit:cover}
.wx-call-name{font-size:19px;font-weight:500;letter-spacing:.6px}
.wx-call-state{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:12.5px;color:#ffffffa6;letter-spacing:.6px;min-height:36px}
.wx-call-state b{font-weight:400;font-size:13px;font-variant-numeric:tabular-nums;letter-spacing:.8px}
.wx-call-hang{width:60px;height:60px;border-radius:50%;background:#e0483c;display:grid;place-items:center;color:#fff;box-shadow:0 10px 26px #e0483c45;transition:background .14s}
.wx-call-hang svg{width:27px;height:27px;stroke-width:1.7;transform:rotate(135deg)}
.wx-call-hang:active{background:#c53d32}

/* ============ 语音 / 图片气泡 ============ */
.wx-bubble.wx-voice{display:flex;align-items:center;gap:9px;min-width:76px;padding:9px 12px;cursor:pointer;user-select:none}
.wx-voice-ico{display:flex;align-items:center;gap:2.5px;height:15px;color:#4a4a4a}
.wx-voice-ico i{width:2px;border-radius:1px;background:currentColor;opacity:.6}
.wx-voice-ico i:nth-child(1){height:6px}.wx-voice-ico i:nth-child(2){height:13px}
.wx-voice-ico i:nth-child(3){height:9px}.wx-voice-ico i:nth-child(4){height:15px}
.wx-msg.mine .wx-bubble.wx-voice{flex-direction:row-reverse}
.wx-msg.mine .wx-voice-dur{margin-left:0;margin-right:auto}
.wx-voice-dur{font-size:12px;color:#5f5f5f;letter-spacing:.3px;margin-left:auto}
.wx-bubble.wx-voice.is-playing .wx-voice-ico i{animation:wx-voice-play .9s ease-in-out infinite}
.wx-bubble.wx-voice.is-playing .wx-voice-ico i:nth-child(2){animation-delay:.12s}
.wx-bubble.wx-voice.is-playing .wx-voice-ico i:nth-child(3){animation-delay:.24s}
.wx-bubble.wx-voice.is-playing .wx-voice-ico i:nth-child(4){animation-delay:.36s}
@keyframes wx-voice-play{0%,100%{transform:scaleY(.45)}50%{transform:scaleY(1.15)}}
/* 语音条 + 长按转出来的文字 */
.wx-voice-wrap{display:flex;flex-direction:column;align-items:flex-start;max-width:100%}
.wx-msg.mine .wx-voice-wrap{align-items:flex-end}
.wx-bubble.wx-voice.is-silent .wx-voice-ico{opacity:.42}
.wx-voice-transcript{margin-top:5px;max-width:224px;padding:6px 9px;border-radius:6px;background:#fff;box-shadow:0 1px 3px #00000012;font-size:12px;line-height:1.55;color:#3d3d3d;word-break:break-word;user-select:text}
.wx-bubble.wx-img{padding:0;background:transparent!important;border-radius:6px;overflow:hidden;line-height:0;box-shadow:0 1px 3px #00000010}
.wx-bubble.wx-img:after{display:none}
.wx-bubble.wx-img img{display:block;max-width:150px;max-height:200px;width:auto;height:auto;border-radius:6px;object-fit:cover;background:#e4e4e4}

/* 新建会话弹窗 */
.wx-dialog{width:300px;border:0;border-radius:14px;padding:22px 20px;background:#fff;box-shadow:0 20px 60px #0003;color:#191919;text-align:center}
.wx-dialog::backdrop{background:#0006}
.wx-dialog h2{margin:0 0 16px;font-size:17px;font-weight:600}
.wx-new-avatar{width:64px;height:64px;border-radius:8px;background:#e9e9e9;display:grid;place-items:center;margin:0 auto 18px;overflow:hidden;color:#b5b5b5;position:relative;border:1px dashed #cfcfcf}
.wx-new-avatar svg{width:28px;height:28px}
.wx-new-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.wx-field{display:block;text-align:left;font-size:12px;color:#7a7a7a;margin:12px 0}
.wx-field input{display:block;width:100%;margin-top:6px;border:0;border-bottom:1px solid #e2e2e2;padding:8px 2px;font-size:14px;color:#191919;outline:none;background:transparent}
.wx-field input:focus{border-bottom-color:#07c160}
.wx-dialog-actions{display:flex;gap:10px;margin-top:20px}
.wx-dialog-actions button{flex:1;padding:11px;border-radius:7px;font-size:14px}
.wx-dialog-actions #wxNewSave{background:#07c160;color:#fff}
.wx-dialog-actions #wxNewCancel{background:#f0f0f0;color:#555}

/* 添加朋友：资料卡 / 验证消息 / 等待验证 */
.wx-addfriend{position:absolute;inset:0;z-index:5;background:#ededed;display:flex;flex-direction:column;min-height:0}
.wx-addfriend[hidden]{display:none}
.wx-af-head{height:47px;flex:0 0 47px;background:#f7f7f7;border-bottom:1px solid #dcdcdc;display:flex;align-items:center;padding:0 12px}
.wx-af-back{width:34px;height:34px;display:grid;place-items:center;padding:0}
.wx-af-back svg{width:24px;height:24px;stroke-width:1.8}
.wx-af-head h2{margin:0;position:absolute;left:0;right:0;text-align:center;font-size:16px;font-weight:600;pointer-events:none}
.wx-af-body{flex:1;min-height:0;overflow-y:auto;scrollbar-width:none;padding:18px 14px}
.wx-af-body::-webkit-scrollbar{display:none}
.wx-af-card{background:#fff;border-radius:8px;padding:18px 16px}
.wx-af-profile{display:flex;align-items:center;gap:14px;padding-bottom:18px;border-bottom:1px solid #f0f0f0}
.wx-af-avatar{width:66px;height:66px;flex:0 0 66px;border-radius:6px;overflow:hidden;background:#d9d9d9;display:grid;place-items:center;color:#fff;font-size:28px}
.wx-af-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.wx-af-info{flex:1;min-width:0}
.wx-af-name{font-size:18px;font-weight:600;color:#191919;margin-bottom:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wx-af-line{font-size:12px;color:#9a9a9a;line-height:1.8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wx-af-field{display:block;margin-top:18px;font-size:12px;color:#8a8a8a}
.wx-af-field input{display:block;width:100%;box-sizing:border-box;margin-top:8px;border:0;border-bottom:1px solid #e4e4e4;border-radius:0;background:transparent;padding:8px 2px;font-size:14px;color:#191919;outline:none}
.wx-af-field input:focus{border-bottom-color:#07c160}
.wx-af-field input::placeholder{color:#c4c4c4}
.wx-af-send{display:block;width:100%;margin-top:22px;padding:12px;border:0;border-radius:7px;background:#07c160;color:#fff;font-size:15px;cursor:pointer}
.wx-af-send:active{background:#06ad56}
.wx-af-send[hidden],.wx-af-spinner[hidden],.wx-af-withdraw[hidden],.wx-af-line[hidden]{display:none}
.wx-af-withdraw{display:block;width:100%;margin-top:12px;padding:11px;border:1px solid #ddd;border-radius:7px;background:#fff;color:#666;font-size:14px;cursor:pointer}
.wx-af-withdraw:active{background:#f5f5f5}
.wx-af-wait{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:110px 24px;color:#8a8a8a}
.wx-af-wait[hidden]{display:none}
.wx-af-spinner{width:38px;height:38px;border:3px solid #d8e8dc;border-top-color:#07c160;border-radius:50%;animation:afspin .8s linear infinite;margin-bottom:20px}
@keyframes afspin{to{transform:rotate(360deg)}}
.wx-af-wait p{font-size:14px;margin:0 0 10px}
.wx-af-cancel{margin-top:16px;padding:10px 22px;border:1px solid #d7d7d7;border-radius:7px;background:#fff;color:#555;font-size:14px;cursor:pointer}
.wx-af-attempt{margin-top:16px;padding:9px 12px;background:#f5f8f5;border-radius:6px;font-size:12px;color:#6f9a7c;line-height:1.5}
.wx-af-attempt[hidden]{display:none}

/* 添加朋友：资料卡内显示上一轮申请结果（拒绝理由 / 等待中），不开结果弹框 */
.wx-af-request-note{margin-top:16px;padding:12px 13px;background:#f8f8f8;border-left:3px solid #c9c9c9;border-radius:5px}
.wx-af-request-note[hidden]{display:none}
.wx-af-rn-title{font-size:13px;color:#555;font-weight:600;margin-bottom:5px}
.wx-af-rn-reason{font-size:13px;color:#777;line-height:1.6}

/* 聊天：系统提示气泡（居中灰字） */
/* 聊天时间条：夹在消息之间，隔久了才出现，纯灰字不带底色 */
.wx-msg-time{text-align:center;margin:12px 0 15px;color:#b3b3b3;font-size:11px;line-height:1.2;letter-spacing:.2px;pointer-events:none}
.wx-messages>.wx-msg-time:first-child{margin-top:2px}
.wx-msg-sys{text-align:center;margin:6px 0 18px}
.wx-msg-sys span{display:inline-block;max-width:86%;padding:6px 12px;background:#dcdcdc;color:#7a7a7a;border-radius:5px;font-size:11px;line-height:1.5}

/* AI 正在输入 */
.wx-typing{display:flex;gap:4px;padding:12px 14px}
.wx-typing i{width:6px;height:6px;border-radius:50%;background:#b6b6b6;animation:aftyp 1s infinite}
.wx-typing i:nth-child(2){animation-delay:.2s}.wx-typing i:nth-child(3){animation-delay:.4s}
@keyframes aftyp{0%,60%,100%{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}

/* ============ 聊天信息（仿微信：白卡片分组 / 列表行 / 开关 / 操作按钮） ============ */
.wx-chatinfo,.wx-chatbg{position:absolute;inset:0;background:#ededed;display:flex;flex-direction:column;min-height:0}
.wx-chatinfo{z-index:6}
.wx-chatbg{z-index:7}
.wx-chatinfo[hidden],.wx-chatbg[hidden],.wx-blocked-bar[hidden],.wx-info-confirm[hidden],.wx-info-sync[hidden]{display:none}
.wx-info-head{height:47px;flex:0 0 47px;background:#ededed;border-bottom:1px solid #dcdcdc;display:flex;align-items:center;padding:0 12px;position:relative}
.wx-info-back{width:34px;height:34px;display:grid;place-items:center;padding:0;z-index:1}
.wx-info-back svg{width:24px;height:24px;stroke-width:1.8}
/* 右侧完成：和左上返回凑成一对，任何覆盖层都能原路退出 */
.wx-info-done{margin-left:auto;z-index:1;padding:7px 2px;font-size:15px;font-weight:500;color:#07c160;letter-spacing:.5px}
.wx-info-done:active{opacity:.6}
.wx-info-head h2{position:absolute;left:0;right:0;text-align:center;margin:0;font-size:16px;font-weight:600;pointer-events:none}
.wx-info-body{flex:1;min-height:0;overflow-y:auto;scrollbar-width:none;padding-bottom:28px;overflow-anchor:none}
.wx-info-body::-webkit-scrollbar{display:none}
.wx-info-title{padding:14px 16px 6px;color:#9a9a9a;font-size:11px;letter-spacing:.3px}
.wx-info-card{background:#fff;margin-top:9px;padding:0 16px}
.wx-info-body>.wx-info-card:first-child{margin-top:0}

/* 角色资料卡：白卡 + 无边框输入，靠字重与间距分层 */
.wx-info-profile{display:flex;align-items:center;gap:15px;padding:16px}
.wx-info-ava{width:64px;height:64px;flex:0 0 64px;border:0;border-radius:13px;overflow:hidden;background:#dcdcdc;display:grid;place-items:center;position:relative;padding:0;cursor:pointer;color:#fff;font-size:25px}
.wx-info-ava img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.wx-info-ava-ph{font-size:25px;font-weight:400}
.wx-info-profile-main{flex:1;min-width:0}
.wx-info-name{display:block;width:100%;box-sizing:border-box;border:0;background:transparent;padding:0;font-size:19px;font-weight:600;letter-spacing:.2px;color:#191919;outline:none}
.wx-info-name::placeholder{color:#c4c4c4;font-weight:400}
.wx-info-meta{margin-top:7px;font-size:11px;color:#a8a8a8;letter-spacing:.2px;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* 卡片内小标题：白底、克制，不再是一条灰带 */
.wx-info-cap{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 0 0;font-size:11px;letter-spacing:.5px;color:#b2b2b2;font-weight:400}

/* 人设：直接写在卡片上，像一张纸，而不是输入框 */
.wx-info-persona{padding:0 16px 2px}
.wx-info-sync{font-size:10.5px;color:#bac9c0;letter-spacing:0;transition:color .18s ease}
.wx-info-sync.is-saved{color:#07c160}
.wx-info-persona textarea{display:block;width:100%;box-sizing:border-box;min-height:64px;border:0;background:transparent;padding:6px 0 0;font-size:14px;line-height:1.9;color:#2f2f2f;outline:none;resize:none;font-family:inherit;overflow-y:auto;border-bottom:1px solid #0000000f}
.wx-info-persona textarea::placeholder{color:#c8c8c8}
.wx-info-count{padding:2px 0 9px;text-align:right;font-size:10.5px;color:#c8c8c8;letter-spacing:.2px}
.wx-info-data{border-top:1px solid #f3f3f3;padding-bottom:2px}
.wx-info-line{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid #f6f6f6;margin:0;min-width:0}
.wx-info-line:last-child{border-bottom:0;padding-bottom:15px}
.wx-info-line>span{flex:0 0 auto;font-size:11px;color:#a6a6a6;letter-spacing:.2px}
.wx-info-line input{flex:1;min-width:0;border:0;background:transparent;text-align:right;font-size:13px;color:#191919;outline:none;padding:0}
.wx-info-line input::placeholder{color:#c8c8c8}

/* 我的信息 */
.wx-info-me{display:block;width:100%;border:0;text-align:left;padding:0 16px;cursor:pointer;margin-top:8px}
.wx-info-me:active{background:#fafafa}
.wx-info-me-row{display:flex;align-items:center;gap:12px;padding:12px 0 16px}
.wx-info-me-ava{width:44px;height:44px;flex:0 0 44px;border-radius:10px;overflow:hidden;background:#e2e2e2;display:grid;place-items:center;color:#fff;font-size:18px}
.wx-info-me-ava img{width:100%;height:100%;object-fit:cover;display:block}
.wx-info-me-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.wx-info-me-main b{font-size:15px;font-weight:500;color:#191919;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wx-info-me-main small{font-size:11px;color:#a8a8a8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wx-info-chev{color:#c8c8c8;font-size:17px;line-height:1;flex:0 0 auto}

/* 设置行 */
.wx-info-rows{padding:0 16px}
.wx-info-rows .wx-info-cap{padding-bottom:3px}
.wx-info-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px 0;border:0;border-bottom:1px solid #f4f4f4;background:#fff;font-size:15px;color:#191919;text-align:left;cursor:pointer}
.wx-info-rows>.wx-info-row:last-child{border-bottom:0}
.wx-info-row-right{display:flex;align-items:center;gap:8px}
.wx-info-swatch{width:20px;height:20px;border-radius:5px;background:#ededed;box-shadow:inset 0 0 0 1px #00000012;background-size:cover;background-position:center}
.wx-info-row-switch{cursor:default}

/* 等我说完再回：右侧数字输入（秒） */
.wx-info-row-num{cursor:default;transition:opacity .15s}
.wx-info-row-num.is-off{opacity:.42}
.wx-info-num-wrap{display:flex;align-items:center;gap:5px;flex:0 0 auto}
.wx-info-num{width:46px;height:28px;border:0;border-radius:7px;background:#f2f2f5;text-align:center;font-size:15px;color:#191919;font-family:inherit;padding:0 2px;-webkit-appearance:none;appearance:none}
.wx-info-num:focus{outline:none;background:#e9e9ee}
.wx-info-num::-webkit-outer-spin-button,.wx-info-num::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.wx-info-num-unit{font-size:13px;color:#8a8a8e}

/* iOS 风格开关 */
.wx-switch{width:46px;height:28px;flex:0 0 46px;border:0;border-radius:14px;background:#e2e2e2;position:relative;cursor:pointer;padding:0;transition:background .18s ease}
.wx-switch i{position:absolute;left:2px;top:2px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transition:transform .18s ease}
.wx-switch[aria-checked="true"]{background:#07c160}
.wx-switch[aria-checked="true"] i{transform:translateX(18px)}

/* 内联确认条（不用弹窗，点一下展开） */
.wx-info-confirm{margin:0 0 12px;padding:12px 13px;background:#fdf3f3;border-radius:8px}
.wx-info-confirm p{margin:0 0 10px;font-size:12.5px;color:#9a6a6a;line-height:1.65}
.wx-info-confirm b{color:#d0413e;font-weight:600}
.wx-info-confirm-actions{display:flex;gap:9px}
.wx-info-confirm-actions button{flex:1;height:36px;border:1px solid #e6dede;border-radius:7px;background:#fff;color:#6a6a6a;font-size:13px;cursor:pointer}
.wx-info-confirm-actions button.danger{background:#e64340;border-color:#e64340;color:#fff}
.wx-info-confirm-actions button:active{opacity:.85}

/* 拉黑 / 删除：红底白字 / 蓝底白字，克制的圆角与字重 */
.wx-info-actions{display:block;padding:20px 16px 0}
.wx-info-btn{display:block;width:100%;padding:14px;border:0;border-radius:10px;color:#fff;font-size:15px;font-weight:500;letter-spacing:.4px;text-align:center;cursor:pointer;margin-top:10px}
.wx-info-actions>.wx-info-btn:first-child{margin-top:0}
.wx-info-block{background:#e64340}
.wx-info-block:active{background:#d13a37}
.wx-info-block.is-unblock{background:#f0f0f0;color:#666}
.wx-info-delete{background:#4a7fd0}
.wx-info-delete:active{background:#3f70bd}

/* 拉黑后聊天页底部的提示条 */
.wx-blocked-bar{flex:0 0 auto;background:#f7f7f7;border-top:1px solid #dcdcdc;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 14px calc(15px + 12px);font-size:12px;color:#8a8a8a}
.wx-blocked-bar button{border:0;background:none;color:#576b95;font-size:12px;padding:0;cursor:pointer}

/* 会话列表：置顶与拉黑标记 */
.wx-chat.is-pinned{background:#f5f5f5}
.wx-chat-tag{margin-left:6px;padding:0 4px;border:1px solid #e8c9c9;border-radius:3px;font-size:10px;font-weight:400;color:#c07878;vertical-align:1px}
.wx-room-more{border:0;background:none;padding:0 2px;font-size:20px;line-height:1;letter-spacing:1px;color:#555;cursor:pointer;margin-left:auto;z-index:1}
.wx-room-more:active{color:#191919}

/* ============ 聊天背景 ============ */
.wx-bg-body{flex:1;min-height:0;overflow-y:auto;scrollbar-width:none;padding:16px 16px 30px}
.wx-bg-body::-webkit-scrollbar{display:none}
.wx-bg-preview{height:188px;border-radius:10px;overflow:hidden;background:#ededed;background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1px #00000012}
.wx-bg-demo{width:100%;padding:0 22px;display:flex;flex-direction:column;gap:10px}
.wx-bg-bubble{max-width:70%;padding:8px 11px;border-radius:5px;background:#fff;font-size:12px;color:#191919;align-self:flex-start;box-shadow:0 1px 2px #0000000f}
.wx-bg-bubble.mine{background:#95ec69;align-self:flex-end}
.wx-bg-actions{display:flex;gap:10px;margin-top:12px}
.wx-bg-actions button{flex:1;height:44px;border-radius:8px;border:0;font-size:14px;cursor:pointer}
.wx-bg-upload{background:#07c160;color:#fff}
.wx-bg-upload:active{background:#06ad56}
.wx-bg-reset{background:#fff;color:#666;box-shadow:inset 0 0 0 1px #e2e2e2}
.wx-bg-colors{display:grid;grid-template-columns:repeat(4,1fr);gap:11px}
.wx-bg-color{height:54px;border:0;border-radius:9px;cursor:pointer;position:relative;box-shadow:inset 0 0 0 1px #00000012;background-size:cover;background-position:center}
.wx-bg-color.is-active{box-shadow:0 0 0 2px #07c160,inset 0 0 0 2px #fff}
.wx-bg-hint{margin:16px 0 0;font-size:12px;line-height:1.8;color:#a0a0a0}
.wx-compose[hidden]{display:none}

/* ============ 心绪：名字下方的小入口 + 点开才生成的小弹窗 ============ */
/* 长按对方头像：半透明玻璃心绪气泡 */
.wx-inner{position:absolute;inset:0;z-index:29;pointer-events:none}
.wx-inner[hidden]{display:none}
.wx-inner-card{position:absolute;box-sizing:border-box;width:max-content;max-width:238px;min-width:150px;padding:11px 13px 12px;border-radius:15px;
  background:linear-gradient(135deg,#ffffffc4,#eaf2ffb0 48%,#fdf4ffbc);
  border:1px solid #ffffffde;
  box-shadow:inset 0 1px 1px #fff,inset 0 -1px 2px #ffffffa8,0 12px 32px #4a6b8a30;
  backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%);
  pointer-events:auto;animation:wxInnerIn .18s cubic-bezier(.2,.9,.3,1.1)}
.wx-inner-card:after{content:"";position:absolute;top:var(--arrow-y,20px);width:11px;height:11px;transform:rotate(45deg);
  background:#ffffffa8;border:1px solid #ffffffd8;box-shadow:1px 1px 2px #00000008}
.wx-inner-card.is-left:after{left:-6px;border-right:0;border-bottom:0}
.wx-inner-card.is-right:after{right:-6px;border-left:0;border-top:0}
.wx-inner-who{display:block;font-size:9.5px;line-height:1;letter-spacing:1.2px;color:#9aa2ac;margin-bottom:7px}
.wx-inner-text{font-size:12.5px;line-height:1.72;color:#3d4650;letter-spacing:.2px;white-space:pre-wrap;word-break:break-word}
.wx-inner-kao{white-space:nowrap;color:#71849c}
.wx-inner-text.is-loading{color:#98a0a9;font-size:11.5px;animation:wxInnerPulse 1.1s ease-in-out infinite}
@keyframes wxInnerIn{from{opacity:0;transform:scale(.94) translateY(4px)}to{opacity:1;transform:none}}
@keyframes wxInnerPulse{0%,100%{opacity:.5}50%{opacity:1}}

/* ============ 未读角标（会话头像右上角，和微信一致） ============ */
.wx-ava-box{position:relative;flex:0 0 46px;width:46px;height:46px}
.wx-ava-box .wx-avatar{width:100%;height:100%;flex-basis:auto}
.wx-badge{position:absolute;top:-5px;right:-7px;min-width:18px;height:18px;padding:0 5px;box-sizing:border-box;border-radius:10px;background:#fa5151;color:#fff;font-size:11px;line-height:18px;font-weight:500;text-align:center;letter-spacing:.2px;box-shadow:0 0 0 1.5px #fff;pointer-events:none}
.wx-badge.is-dot{min-width:9px;width:9px;height:9px;padding:0;top:-3px;right:-3px;border-radius:50%}

/* ============ 新消息横幅（仿 iOS 通知，从灵动岛下方滑出） ============ */
.wx-notify{position:absolute;left:0;right:0;top:calc(var(--status-h,51px) + 6px);z-index:44;padding:0 10px;pointer-events:none}
.wx-notify[hidden]{display:none}
.wx-notify-card{pointer-events:auto;width:100%;display:flex;align-items:flex-start;gap:10px;padding:11px 13px 12px;border-radius:20px;background:#ffffffF2;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);border:1px solid #ffffffcc;box-shadow:0 14px 40px #00000024;text-align:left;color:#191919;animation:wxNotifyIn .34s cubic-bezier(.2,.8,.3,1)}
.wx-notify-card:active{background:#f4f4f5f2}
.wx-notify-ava{flex:0 0 40px;width:40px;height:40px;border-radius:9px;overflow:hidden;background:#ececec;display:grid;place-items:center;font-size:16px;color:#8b8b8b;box-shadow:0 1px 4px #0000001a}
.wx-notify-ava img{width:100%;height:100%;object-fit:cover;display:block}
.wx-notify-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px;text-align:left}
.wx-notify-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#8e8e93;letter-spacing:.2px}
.wx-notify-app{font-weight:500}
.wx-notify-name{font-size:14px;font-weight:600;color:#111;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wx-notify-text{font-size:13px;line-height:1.42;color:#4a4a4a;margin-top:1px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}
@keyframes wxNotifyIn{from{opacity:0;transform:translateY(-16px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}

/* ============ 群聊：九宫格群头像 ============ */
.wx-gava{display:grid;grid-template-columns:1fr 1fr;gap:1px;width:100%;height:100%;background:#dcdfe3;overflow:hidden}
.wx-gava i{display:block;overflow:hidden;background:#ececec}
.wx-gava img{width:100%;height:100%;object-fit:cover;display:block}
.wx-gava em{display:grid;place-items:center;width:100%;height:100%;font-size:12px;font-style:normal;color:#8d8d8d;background:#e7e9ec}
.wx-gava.is-1{grid-template-columns:1fr}
.wx-gava.is-1 em{font-size:18px}
.wx-gava.is-2,.wx-gava.is-3{display:flex;flex-wrap:wrap;justify-content:center;align-content:flex-start}
.wx-gava.is-2 i,.wx-gava.is-3 i{width:50%;height:50%}

/* ============ 群聊：对方消息气泡上方的发送者昵称 ============ */
.wx-msg{position:relative}
.wx-msg.has-name{padding-top:17px}
.wx-msg.has-name .wx-msg-name{position:absolute;top:1px;left:47px;font-size:11px;line-height:1;color:#9b9b9b;letter-spacing:.1px}

/* 群聊里不出现单聊专属的打扰动作 */
#wxChatRoom.is-group #wxPokeBtn,#wxChatRoom.is-group #wxNudgeBtn{display:none}

/* ============ 发起群聊页 ============ */
.wx-group-new{position:absolute;inset:0;z-index:38;display:flex;flex-direction:column;background:#ededed}
.wx-group-new[hidden]{display:none}
.wx-gn-head{flex:0 0 auto;height:52px;display:flex;align-items:center;gap:10px;padding:0 12px}
.wx-gn-back{width:30px;height:30px;flex:0 0 30px;margin-left:-6px;padding:0;border:0;background:none;display:grid;place-items:center;color:#191919}
.wx-gn-back svg{width:20px;height:20px;stroke-width:1.9}
.wx-gn-head h2{flex:1;min-width:0;font-size:17px;font-weight:500;color:#191919}
.wx-gn-done{height:31px;padding:0 14px;border:0;border-radius:5px;background:#07c160;color:#fff;font-size:14px;letter-spacing:.3px}
.wx-gn-done:active{background:#06ad56}
.wx-gn-done[disabled]{background:#cfe8d8;color:#fff}
.wx-gn-selected{flex:0 0 auto;display:flex;gap:12px;padding:12px 14px 11px;overflow-x:auto;background:#fff;border-bottom:1px solid #ededed;scrollbar-width:none}
.wx-gn-selected::-webkit-scrollbar{display:none}
.wx-gn-selected[hidden]{display:none}
.wx-gn-sel{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;width:46px;flex:0 0 46px}
.wx-gn-sel .wx-avatar{width:46px;height:46px;flex-basis:46px;border-radius:6px}
.wx-gn-sel span{font-size:10px;color:#8a8a8a;max-width:46px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wx-gn-sel i{position:absolute;top:-4px;right:-4px;width:16px;height:16px;border-radius:50%;background:#fa5151;color:#fff;font-style:normal;font-size:11px;line-height:16px;text-align:center;box-shadow:0 0 0 1.5px #fff}
.wx-gn-hint{flex:0 0 auto;padding:8px 16px 9px;font-size:11px;line-height:1.5;color:#9a9a9a}
.wx-gn-hint.is-warn{color:#d8382c}
.wx-gn-list{flex:1;min-height:0;overflow-y:auto;background:#fff}
.wx-gn-item{display:flex;align-items:center;gap:11px;padding:9px 14px;border-bottom:1px solid #f2f2f2;cursor:pointer}
.wx-gn-item:active{background:#f4f4f4}
.wx-gn-item .wx-avatar{width:42px;height:42px;flex-basis:42px;border-radius:5px}
.wx-gn-item-txt{flex:1;min-width:0;font-size:15px;color:#191919;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wx-gn-check{width:22px;height:22px;flex:0 0 22px;border-radius:50%;border:1.4px solid #c9c9c9;background:#fff;display:grid;place-items:center;color:transparent}
.wx-gn-check svg{width:13px;height:13px;stroke-width:2.8}
.wx-gn-item.is-on .wx-gn-check{background:#07c160;border-color:#07c160;color:#fff}
.wx-gn-empty{padding:52px 24px;text-align:center;font-size:13px;color:#a0a0a0;line-height:1.9}

/* ============ 群聊信息：群名 + 成员 ============ */
.wx-group-mem-cap{display:flex;align-items:center;justify-content:space-between;padding:14px 0 9px;font-size:12px;color:#8a8a8a}
.wx-group-mem{display:grid;grid-template-columns:repeat(5,1fr);gap:14px 6px;padding:0 0 16px}
.wx-gm{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0}
.wx-gm .wx-avatar{width:44px;height:44px;flex:0 0 44px;border-radius:6px;font-size:16px}
.wx-gm span{font-size:10.5px;color:#8a8a8a;max-width:52px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#wxChatInfo.is-group .wx-info-profile,
#wxChatInfo.is-group .wx-info-persona,
#wxChatInfo.is-group #wxInfoMe,
#wxChatInfo.is-group #wxInfoBlock,
#wxChatInfo.is-group #wxInfoBlockConfirm,
#wxChatInfo.is-group #wxInfoProRow{display:none!important}

/* ============ 人设：说话语言 & 显示翻译 ============ */
.wx-info-lang{border-top:1px solid #f3f3f3}
.wx-info-lang-row{display:flex;align-items:center;gap:14px;min-height:46px;padding:0 0 0 0}
.wx-info-lang-row>span{flex:0 0 auto;font-size:11px;color:#a6a6a6;letter-spacing:.2px}
.wx-lang-chips{flex:1;min-width:0;display:flex;justify-content:flex-end;gap:5px;flex-wrap:wrap}
.wx-lang-chip{border:0;border-radius:6px;padding:5px 9px;background:#f2f2f5;color:#6a6a6e;font-size:12px;font-family:inherit;line-height:1.2;cursor:pointer;transition:background .15s,color .15s}
.wx-lang-chip:active{background:#e6e6ea}
.wx-lang-chip.is-on{background:#07c160;color:#fff}
#wxInfoTransRow{border-top:1px solid #f6f6f6;min-height:44px;justify-content:space-between}
#wxInfoTransRow>span{flex:0 0 auto}
.wx-info-lang-tip{font-size:10.5px;line-height:1.6;color:#b0b0b0;padding:2px 0 14px}
.wx-info-lang.is-zh #wxInfoTransRow{opacity:.4;pointer-events:none}
.wx-info-lang.is-zh .wx-info-lang-tip{color:#c4c4c4}
#wxChatInfo.is-group .wx-info-lang{display:none!important}

/* ============ 气泡下方的译文条 ============ */
.wx-trans{font-size:12px;line-height:1.5;color:#9a9a9a;margin-top:4px;max-width:70%;padding:0 3px;word-break:break-word}
.wx-msg.mine .wx-trans{text-align:right;margin-left:auto}
.wx-trans:empty{display:none}
.wx-msg-body{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.wx-msg.mine .wx-msg-body{align-items:flex-end}

/* ========== 群聊 @ 提醒：选人面板 + 气泡里高亮 ========== */
.wx-atpanel{position:absolute;left:0;right:0;bottom:104px;z-index:26;background:#f7f7f7;border-top:1px solid #dcdcdc;border-bottom:1px solid #dcdcdc;box-shadow:0 -6px 18px #00000012}
.wx-atpanel[hidden]{display:none}
.wx-atpanel-hint{padding:8px 14px 5px;font-size:11px;color:#9a9a9a}
.wx-atpanel-list{max-height:206px;overflow-y:auto;padding:0 6px 6px}
.wx-at-item{display:flex;align-items:center;gap:10px;padding:7px 8px;border-radius:6px;cursor:pointer}
.wx-at-item:active{background:#e6e6e6}
.wx-at-item .wx-avatar{width:34px;height:34px;flex:0 0 34px}
.wx-at-item-name{font-size:14px;color:#222}
.wx-at-item:hover .wx-at-item-name{color:#07c160}
.wx-at-hit{color:#07c160;font-weight:500}

/* ========== 朋友圈发表：谁可以看 / 提醒谁看 ========== */
.wx-post-options{margin:6px 0 0;background:#fff;border-top:1px solid #ededed}
.wx-post-opt{display:flex;align-items:center;width:100%;min-height:48px;padding:0 16px;gap:10px;background:#fff;text-align:left;border-bottom:1px solid #ededed}
.wx-post-opt:active{background:#f4f4f4}
.wx-post-opt-label{font-size:15px;color:#191919;flex:0 0 auto}
.wx-post-opt-val{font-size:14px;color:#8a8a8a;flex:1;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wx-post-opt-arrow{display:inline-flex;color:#c8c8c8;transform:rotate(180deg)}
.wx-post-opt-arrow svg{width:15px;height:15px;stroke-width:2}

/* 通用选人页 */
.wx-post-picker{position:absolute;inset:0;z-index:42;display:flex;flex-direction:column;background:#ededed}
.wx-post-picker[hidden]{display:none}
.wx-pp-head{flex:0 0 auto;height:52px;display:flex;align-items:center;gap:10px;padding:0 12px}
.wx-pp-back{width:30px;height:30px;flex:0 0 30px;margin-left:-6px;padding:0;border:0;background:none;display:grid;place-items:center;color:#191919}
.wx-pp-back svg{width:20px;height:20px;stroke-width:1.9}
.wx-pp-head h2{flex:1;min-width:0;font-size:17px;font-weight:500;color:#191919}
.wx-pp-done{height:31px;padding:0 14px;border:0;border-radius:5px;background:#07c160;color:#fff;font-size:14px;letter-spacing:.3px}
.wx-pp-done:active{background:#06ad56}
.wx-pp-done[disabled]{background:#cfe8d8}
/* 四种范围 */
.wx-pp-scope{flex:0 0 auto;margin:0 0 10px;background:#fff}
.wx-pp-scope[hidden]{display:none}
.wx-pp-scope-opt{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:8px 16px;text-align:left;background:#fff;border-bottom:1px solid #f2f2f2}
.wx-pp-scope-opt:last-child{border-bottom:0}
.wx-pp-scope-opt:active{background:#f4f4f4}
.wx-pp-radio{width:20px;height:20px;flex:0 0 20px;border-radius:50%;border:1.5px solid #c9c9c9;background:#fff;display:grid;place-items:center}
.wx-pp-scope-opt.is-on .wx-pp-radio{border-color:#07c160}
.wx-pp-scope-opt.is-on .wx-pp-radio:after{content:"";width:10px;height:10px;border-radius:50%;background:#07c160}
.wx-pp-scope-txt{display:flex;flex-direction:column;gap:2px}
.wx-pp-scope-txt b{font-size:15px;font-weight:400;color:#191919}
.wx-pp-scope-txt small{font-size:11px;color:#9a9a9a}
/* 选人列表（复用群聊勾选行的观感） */
.wx-pp-picklabel{flex:0 0 auto;padding:6px 16px 8px;font-size:12px;color:#8a8a8a}
.wx-pp-picklabel[hidden]{display:none}
.wx-pp-selected{flex:0 0 auto;display:flex;gap:12px;padding:10px 14px;overflow-x:auto;background:#fff;border-bottom:1px solid #ededed;scrollbar-width:none}
.wx-pp-selected::-webkit-scrollbar{display:none}
.wx-pp-selected[hidden]{display:none}
.wx-pp-sel{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;width:46px;flex:0 0 46px}
.wx-pp-sel .wx-avatar{width:46px;height:46px;flex-basis:46px;border-radius:6px}
.wx-pp-sel span{font-size:10px;color:#8a8a8a;max-width:46px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wx-pp-sel i{position:absolute;top:-4px;right:-4px;width:16px;height:16px;border-radius:50%;background:#fa5151;color:#fff;font-style:normal;font-size:11px;line-height:16px;text-align:center;box-shadow:0 0 0 1.5px #fff}
.wx-pp-list{flex:1;min-height:0;overflow-y:auto;background:#fff}
.wx-pp-empty{padding:52px 24px;text-align:center;font-size:13px;color:#a0a0a0;line-height:1.9}
/* 朋友圈正文 / 评论里的 @ 高亮 */
.wx-mo-at{color:#576b95}
.wx-mo-mention-line{font-size:12px;color:#576b95;padding:2px 0 6px}
/* 动态上的可见范围小标记（昵称右侧） */
.wx-mo-nametag{font-size:11px;font-weight:400;color:#8a8a8a;margin-left:8px}
.wx-mo-scope{display:inline-block;background:#f0f0f0;color:#8a8a8a;border-radius:3px;padding:1px 6px;font-size:10px}

/* 论坛分享过来的链接卡：白底、方角，上面标题，底下一行「网页链接」 */
.wx-bubble.wx-sharecard{display:block;padding:0;min-width:196px;max-width:232px;
  background:#fff!important;overflow:hidden;color:#191919}
.wx-msg.mine .wx-bubble.wx-sharecard{background:#fff!important}
.wx-sharecard-top{display:flex;align-items:flex-start;gap:10px;padding:11px 12px 10px}
.wx-sharecard-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.wx-sharecard-main b{font-size:13.5px;font-weight:400;line-height:1.5;color:#191919;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.wx-sharecard-main i{font-style:normal;font-size:10.5px;color:#9a9a9a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wx-sharecard-thumb{width:38px;height:38px;flex:0 0 38px;border-radius:4px;background:#f1f4f7;
  display:grid;place-items:center;color:#93a8bd}
.wx-sharecard-foot{padding:6px 12px 7px;border-top:1px solid #f1f1f1;font-size:9.5px;
  letter-spacing:.5px;color:#a9a9a9}

/* 礼物卡：小图 + 底栏，看起来像一张能点开的链接卡片 */
.wx-gc-ico.has-pic{padding:0;overflow:hidden;background:#f4f6f8}
.wx-gc-ico img{width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit}
.wx-gc-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:6px 11px;border-top:1px solid #f3f5f7;background:#fcfdfe;
  font-size:8.5px;letter-spacing:.6px;color:#a3aeb9}
.wx-gc-foot span:last-child{color:#8598ab}
.wx-inner-card.is-label{width:auto;min-width:0;max-width:none;padding:0;border-radius:14px;overflow:visible}.wx-inner-card.is-label .wx-inner-text{line-height:1}.wx-inner-trigger{display:flex;align-items:center;gap:4px;border:0;background:transparent;color:#607d98;font-size:11px;font-weight:600;padding:8px 11px;border-radius:14px;white-space:nowrap}.wx-inner-regen{margin-top:9px;padding:5px 0 0;border:0;background:transparent;color:#8a9eb0;font-size:10px;cursor:pointer}.wx-inner-regen[hidden],.wx-inner-who[hidden]{display:none}.wx-msg:not(.mine) .wx-avatar{cursor:pointer}
