/* 查手机·微信：tab 页照 0484 / 0485 / 0486 / 0488；会话页和朋友圈照搬 chat.css，全部收在 .wx-app 下面免得和 ta.css 撞名 */

.wx-app { --wx-bg: #ededed; --wx-line: rgb(0 0 0 / 8%); --wx-muted: #8d8d8d; --wx-green: #07c160; background: var(--wx-bg); }
.wx-app svg { flex: none; }
.wx-loading, .wx-empty { margin: auto; color: var(--wx-muted); font-size: 14px; text-align: center; }
.wx-empty { margin-top: 80px; }

/* 顶栏 */
.wx-head { flex: none; height: 46px; padding: 0 8px; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; background: var(--wx-bg); }
.wx-head strong { overflow: hidden; font-size: 16px; font-weight: 600; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.wx-icon-btn { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border: 0; background: none; }
.wx-icon-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wx-head .wx-icon-btn[data-act="contact"] svg, .wx-head .wx-icon-btn[data-msg] svg circle[r="1.4"] { fill: currentColor; }

.wx-list { background: var(--wx-bg); padding-bottom: calc(max(var(--safe-bottom), 16px) + 70px); }
.wx-search { margin: 4px 10px 10px; height: 36px; display: flex; align-items: center; justify-content: center; gap: 5px; border-radius: 8px; color: #b2b2b2; background: #fff; font-size: 15px; }
.wx-search svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* 会话列表 */
.wx-chat-row { position: relative; width: 100%; height: 72px; padding: 0 16px; display: flex; align-items: center; gap: 12px; border: 0; background: #fff; text-align: left; }
.wx-chat-row.pinned { background: #f2f2f2; }
.wx-chat-row:active { background: #dedede; }
.wx-chat-row + .wx-chat-row::before { content: ""; position: absolute; top: 0; left: 72px; right: 0; border-top: .5px solid var(--wx-line); }
.wx-av-wrap { position: relative; flex: none; }
.wx-av-wrap .pos-avatar { width: 48px; height: 48px; border-radius: 6px; }
.wx-badge { position: absolute; top: -6px; right: -7px; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; display: grid; place-items: center; border-radius: 9px; color: #fff; background: #fa5151; font: 600 11px/1 -apple-system, sans-serif; font-style: normal; }
.wx-chat-main { flex: 1; min-width: 0; display: grid; gap: 4px; }
.wx-chat-top { display: flex; align-items: baseline; gap: 8px; }
.wx-chat-top b { flex: 1; min-width: 0; overflow: hidden; font-size: 16px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.wx-chat-top time { flex: none; color: #b2b2b2; font-size: 12px; }
.wx-chat-main small { overflow: hidden; color: #9b9b9b; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.wx-chat-main small em { margin-right: 3px; color: #c07a4a; font-style: normal; }

/* 九宫格群头像 */
.wx-group-av { padding: 2px; box-sizing: border-box; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; background: #dcdcdc; }
.wx-group-av.n1, .wx-group-av.n2, .wx-group-av.n3, .wx-group-av.n4 { grid-template-columns: repeat(2, 1fr); align-content: center; }
.wx-group-av i { aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border-radius: 2px; color: #fff; background: var(--av); font-size: 9px; font-style: normal; font-weight: 600; }

/* 通讯录 */
.wx-contact-row { position: relative; width: 100%; min-height: 56px; padding: 8px 16px; display: flex; align-items: center; gap: 12px; border: 0; background: #fff; text-align: left; font-size: 16px; }
.wx-contact-row:active { background: #dedede; }
.wx-contact-row + .wx-contact-row::before { content: ""; position: absolute; top: 0; left: 68px; right: 0; border-top: .5px solid var(--wx-line); }
.wx-contact-row .pos-avatar { width: 40px; height: 40px; border-radius: 5px; font-size: 16px; }
.wx-fixed-icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wx-letter { margin: 0; padding: 6px 16px; color: #707070; background: var(--wx-bg); font-size: 13px; font-weight: 500; }
.wx-count { margin: 0; padding: 18px 0 8px; color: var(--wx-muted); font-size: 15px; text-align: center; }
.wx-index { position: absolute; z-index: 4; right: 2px; top: 50%; display: grid; transform: translateY(-50%); }
.wx-index button { width: 20px; height: 17px; padding: 0; border: 0; background: none; color: #555; font-size: 10.5px; font-weight: 600; }
.wx-new-friend span { flex: 1; min-width: 0; display: grid; gap: 2px; }
.wx-new-friend b { font-weight: 400; }
.wx-new-friend small { overflow: hidden; color: var(--wx-muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.wx-new-friend em { color: #b2b2b2; font-size: 14px; font-style: normal; }

/* 发现 / 我 的单元格 */
.wx-cells { padding-top: 0; }
.wx-group { margin-bottom: 8px; background: #fff; }
.wx-cell { position: relative; width: 100%; height: 56px; padding: 0 14px 0 16px; display: flex; align-items: center; gap: 14px; border: 0; background: #fff; text-align: left; font-size: 16px; }
.wx-cell:active { background: #dedede; }
.wx-cell + .wx-cell::before { content: ""; position: absolute; top: 0; left: 54px; right: 0; border-top: .5px solid var(--wx-line); }
.wx-cell > span:not(.wx-cell-extra) { flex: 1; min-width: 0; }
.wx-cell-extra { flex: none; display: flex; }
.wx-cell-icon { width: 24px; height: 24px; display: grid; place-items: center; }
.wx-cell-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wx-chevron { width: 16px; height: 16px; color: #c4c4c4; }
.wx-chevron svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wx-cell-extra .moment-avatar.sm { width: 32px; height: 32px; border-radius: 4px; font-size: 13px; }
.wx-cell.kv { height: auto; min-height: 54px; padding-block: 12px; }
.wx-cell.kv + .wx-cell.kv::before { left: 16px; }
.wx-cell.kv > span { flex: 0 0 80px; }
.wx-cell.kv em { flex: 1; min-width: 0; color: #7f7f7f; font-size: 15px; font-style: normal; overflow-wrap: anywhere; }

.wx-me { padding-top: 0; }
.wx-me-card { margin-bottom: 8px; padding: 8px 16px 30px 24px; display: flex; align-items: flex-start; gap: 18px; background: #fff; }
.wx-me-card .wx-me-av { width: 64px; height: 64px; border-radius: 8px; font-size: 24px; }
.wx-me-card > div { flex: 1; min-width: 0; display: grid; gap: 6px; justify-items: start; padding-top: 2px; }
.wx-me-card strong { font-size: 20px; font-weight: 600; }
.wx-me-card small { color: #7f7f7f; font-size: 15px; }
.wx-me-card p { margin: 0; color: #7f7f7f; font-size: 14px; }
.wx-status-pill { margin-top: 4px; padding: 3px 10px; border: .5px solid #d5d5d5; border-radius: 13px; color: #7f7f7f; font-size: 13px; }
.wx-qr { width: 18px; height: 18px; margin-top: 40px; color: #8d8d8d; }
.wx-qr svg { width: 18px; height: 18px; fill: currentColor; }
.wx-me-card .wx-chevron { margin-top: 41px; }

/* 资料卡 */
.wx-profile { padding-top: 0; }
.wx-profile-card { margin-bottom: 8px; padding: 14px 20px 30px; display: flex; gap: 18px; background: #fff; }
.wx-profile-card .wx-profile-av { width: 64px; height: 64px; border-radius: 8px; font-size: 24px; }
.wx-profile-card div { min-width: 0; display: grid; align-content: start; gap: 5px; }
.wx-profile-card strong { font-size: 20px; font-weight: 600; }
.wx-profile-card small { color: #7f7f7f; font-size: 14px; }
.wx-profile-actions { display: grid; }
.wx-profile-actions button { height: 56px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-top: .5px solid var(--wx-line); background: #fff; color: #576b95; font-size: 16px; font-weight: 500; }
.wx-profile-actions button:first-child { border-top: 0; }
.wx-profile-actions svg { width: 22px; height: 22px; fill: currentColor; }

/* 底部 tab */
.wx-tabbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; height: calc(max(var(--safe-bottom), 16px) + 56px); padding-bottom: max(var(--safe-bottom), 16px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: .5px solid var(--wx-line); background: rgb(247 247 247 / 94%); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.wx-tabbar button { position: relative; padding: 6px 0 0; display: grid; justify-items: center; align-content: start; gap: 2px; border: 0; background: none; color: #191919; font-size: 10.5px; }
.wx-tabbar svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.wx-tabbar button.active { color: var(--wx-green); }
.wx-tabbar button.active svg { fill: currentColor; }
.wx-tabbar button.active svg .wx-needle { fill: #fff; stroke: #fff; }
.wx-tabbar .wx-badge { top: 2px; right: calc(50% - 22px); }

/* =================== 会话页：照搬 chat.css 的气泡 / 输入框 / 功能面板 =================== */
.wx-page-thread { background: #ededed; }
.wx-page-thread .wx-head { background: #ededed; border-bottom: .5px solid var(--wx-line); }
.wx-app .message-area { padding: 14px 12px calc(var(--safe-bottom) + 96px); background: #ededed; }
.wx-app.panel-open .message-area { padding-bottom: calc(33.333vh + 90px); }
.wx-time { margin: 6px 0 14px; color: #b2b2b2; font-size: 12px; text-align: center; }
.wx-hint { margin: 4px 24px 12px; color: #b2b2b2; font-size: 12px; text-align: center; }
/* 原生微信气泡（IMG_0761）：白 / #95ec69，4px 圆角带小尖角，16px 字 */
.wx-app .wx-msg-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.wx-app .wx-msg-row.self { flex-direction: row-reverse; }
.wx-app .wx-msg-av { flex: none; width: 40px; height: 40px; overflow: hidden; border-radius: 4px; }
.wx-app .wx-msg-av .pos-avatar { width: 100%; height: 100%; border-radius: 4px; font-size: 16px; }
.wx-app .wx-msg-body { min-width: 0; max-width: 70%; display: flex; flex-direction: column; align-items: flex-start; }
.wx-app .wx-msg-row.self .wx-msg-body { align-items: flex-end; }
.wx-app .wx-msg-speaker { margin: -2px 0 3px; color: #8d8d8d; font-size: 12px; }
.wx-app .wx-bubble { position: relative; max-width: 100%; min-height: 40px; margin: 0; padding: 9px 12px; box-sizing: border-box; border-radius: 4px; color: #191919; background: #fff; font-size: 16px; line-height: 1.4; text-align: left; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; }
.wx-app .wx-bubble::before { content: ""; position: absolute; top: 14px; left: -5px; border: 6px solid transparent; border-left: 0; border-right-color: #fff; }
.wx-app .wx-bubble.self { background: #95ec69; }
.wx-app .wx-bubble.self::before { left: auto; right: -5px; border: 6px solid transparent; border-right: 0; border-left-color: #95ec69; }
.wx-app .wx-bubble.bare { min-height: 0; padding: 0; background: none; border-radius: 0; }
.wx-app .wx-bubble.bare::before { display: none; }

.wx-app .message-composer { position: absolute; z-index: 6; left: 12px; right: 12px; bottom: calc(12px + var(--safe-bottom)); min-height: 64px; padding: 6px 10px 6px 18px; box-sizing: border-box; display: flex; align-items: flex-end; gap: 10px; border-radius: 32px; background: rgb(232 232 236 / 55%); -webkit-backdrop-filter: blur(30px) saturate(1.5); backdrop-filter: blur(30px) saturate(1.5); transition: bottom .2s ease; }
.wx-app.panel-open .message-composer { bottom: calc(33.333% + 10px); }
.wx-app .message-composer textarea { flex: 1; min-width: 0; height: 52px; padding: 15px 10px; box-sizing: border-box; border: 0; outline: 0; resize: none; background: none; color: #444; font: 17px/22px inherit; }
.wx-app .composer-icon { flex: none; width: 32px; height: 52px; padding: 0; display: grid; place-items: center; border: 0; background: none; color: #666; }
.wx-app .composer-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wx-app .send-button { flex: none; width: 38px; height: 38px; margin-bottom: 7px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; background: #2f2f2f; font-size: 19px; }
.wx-app .send-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.wx-app .chat-functions { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 33.333%; padding: 10px 20px calc(20px + var(--safe-bottom)); box-sizing: border-box; border-top: 1px solid #d8d5ce; color: #292827; background: #f5f1e9; }
.wx-app .chat-function-track { position: absolute; inset: 14px 0 calc(30px + var(--safe-bottom)); display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.wx-app .chat-function-track::-webkit-scrollbar { display: none; }
.wx-app .chat-function-page { flex: 0 0 100%; padding: 0 20px; box-sizing: border-box; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px 14px; scroll-snap-align: start; }
.wx-app .chat-function-page button { min-width: 0; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 0; background: none; color: inherit; font-size: 13px; font-weight: 700; }
.wx-app .function-icon { width: min(62px, 100%); aspect-ratio: 1; margin: 0 auto 7px; box-sizing: border-box; display: grid; place-items: center; border: 3px solid color-mix(in srgb, #292827, transparent 74%); background: #faf8f3; clip-path: polygon(4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px), 0 4px, 4px 4px); }
.wx-app .function-icon svg { width: 56%; height: 56%; fill: currentColor; }
.wx-app .chat-function-dots { position: absolute; left: 0; right: 0; bottom: calc(12px + var(--safe-bottom)); display: flex; justify-content: center; gap: 8px; }
.wx-app .chat-function-dots i { width: 8px; height: 8px; background: #c9c4bf; }
.wx-app .chat-function-dots i.active { background: #bdbdbd; outline: 1px solid #8f8a84; }
.wx-app .wx-emoji-panel { padding: 14px 14px calc(14px + var(--safe-bottom)); display: grid; grid-template-columns: repeat(8, 1fr); align-content: start; gap: 4px; overflow-y: auto; }
.wx-app .wx-emoji-panel button { height: 40px; padding: 0; border: 0; background: none; font-size: 25px; }

/* 消息卡片 */
.wx-app .money-card { min-width: 175px; padding: 12px; box-sizing: border-box; display: grid; gap: 5px; border-radius: 14px; color: #fff; background: linear-gradient(140deg, #f7a24a, #ef7a2c); text-align: left; white-space: normal; }
.wx-app .money-card.red { background: linear-gradient(140deg, #f2614f, #d8402f); }
.wx-app .money-card b { font-size: 14px; font-weight: 600; }
.wx-app .money-card strong { font-size: 21px; }
.wx-app .money-card small { font-size: 12px; opacity: .85; }
.wx-app .message-image { display: block; max-width: 160px; border-radius: 14px; }
.wx-app .message-image-grid { display: grid; grid-template-columns: repeat(2, 104px); gap: 3px; overflow: hidden; border-radius: 16px; }
.wx-app .message-image-grid.count-3 > :first-child { grid-row: span 2; }
.wx-app .message-image-grid .message-image { width: 100%; height: 104px; max-width: none; border-radius: 0; object-fit: cover; }
.wx-app .message-image-grid.count-3 > :first-child .message-image { height: 211px; }
.wx-app .message-image-cell { position: relative; display: block; }
.wx-app .message-image-more { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgb(0 0 0 / 42%); font-size: 22px; font-weight: 700; }
.wx-app .voice-bubble { display: inline-flex; align-items: center; gap: 10px; min-width: 96px; }
.wx-app .voice-bubble-play { width: 0; height: 0; flex: none; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; opacity: .75; }
.wx-app .voice-bubble-wave { display: flex; align-items: center; gap: 2px; height: 18px; }
.wx-app .voice-bubble-wave i { width: 2.5px; border-radius: 2px; background: currentColor; opacity: .45; }
.wx-app .voice-bubble b { font-size: 13px; font-weight: 400; opacity: .7; }
.wx-app .voice-bubble-text { display: block; margin-top: 6px; padding-top: 6px; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); font-size: 13px; line-height: 1.5; }
.wx-app :is(.location-card, .contact-card) { width: 230px; display: block; overflow: hidden; border: 0; border-radius: 14px; color: #17171a; background: #fff; box-shadow: 0 2px 8px rgb(100 60 75 / 8%); text-align: left; white-space: normal; }
.wx-app .location-card-head { display: grid; gap: 3px; padding: 12px 14px 10px; }
.wx-app .location-card-head b { overflow: hidden; font-size: 16px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.wx-app .location-card-head small { overflow: hidden; color: #8a8a8e; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.wx-app .location-card-map { position: relative; display: block; height: 108px; overflow: hidden; background: repeating-linear-gradient(35deg, rgb(23 23 26 / 5%) 0 12px, rgb(23 23 26 / 8%) 12px 14px), #eef0ec; }
.wx-app .location-map-pin { position: absolute; left: 50%; top: 50%; width: 22px; height: 34px; transform: translate(-50%, -100%); }
.wx-app .location-map-pin::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: #17171a; box-shadow: 0 3px 8px rgb(23 23 26 / 30%); }
.wx-app .location-map-pin::after { content: ""; position: absolute; left: 10px; top: 18px; width: 2px; height: 16px; border-radius: 2px; background: #17171a; }
.wx-app .location-map-pin i { position: absolute; left: 7px; top: 7px; z-index: 1; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.wx-app .contact-card-top { display: flex; align-items: center; gap: 12px; padding: 14px 14px 12px; }
.wx-app .contact-card-top i { flex: none; width: 46px; height: 46px; display: grid; place-items: center; overflow: hidden; border-radius: 10px; color: #fff; background: #17171a center / cover; font-size: 18px; font-style: normal; font-weight: 600; }
.wx-app .contact-card-top b { overflow: hidden; font-size: 17px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.wx-app .contact-card > small { display: block; padding: 7px 14px 9px; border-top: 1px solid rgb(23 23 26 / 7%); color: #8a8a8e; font-size: 12px; }
.wx-app .call-status-card { display: inline-flex; align-items: center; gap: 10px; }
.wx-app .call-status-card svg { width: 22px; height: 22px; fill: currentColor; opacity: .82; }
.wx-app .wx-msg-row:not(.self) .call-status-card { flex-direction: row-reverse; }
.wx-app :is(.together-card, .wx-card) { display: flex; align-items: center; gap: 12px; min-width: 180px; padding: 3px 4px 3px 0; text-align: left; white-space: normal; }
.wx-app .wx-card > i { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgb(23 23 26 / 6%); font-size: 17px; font-style: normal; font-weight: 700; }
.wx-app .wx-bubble.self .wx-card > i { background: rgb(255 255 255 / 14%); }
.wx-app :is(.together-card, .wx-card) > span { display: grid; gap: 2px; min-width: 0; }
.wx-app :is(.together-card, .wx-card) b { overflow: hidden; font-size: 16px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.wx-app :is(.together-card, .wx-card) small { font-size: 13px; opacity: .55; }
.wx-app .wx-card.used { opacity: .55; }
.wx-app .trinket-card { display: flex; align-items: center; gap: 8px; padding: 6px 4px; font-size: 14px; }
.wx-app .trinket-card .trinket-emoji { font-size: 22px; }

/* =================== 朋友圈：照搬 chat.css #moments-view =================== */
.wx-moments { --m-bg: #fff; --m-text: #191919; --m-name: #576b95; --m-muted: #b2b2b2; --m-box: #f7f7f7; --m-line: #ededed; --m-menu: #4c4c4c; padding-bottom: calc(var(--safe-bottom) + 24px); color: var(--m-text); background: var(--m-bg); }
.wx-page-moments { background: #fff; }
.wx-app .pos-statusbar.wx-float { position: absolute; left: 0; right: 0; top: 0; z-index: 4; }
.wx-moments .moments-cover { position: relative; height: calc(340px + var(--safe-top)); background: linear-gradient(160deg, #6f7b8c, #2f3540); }
.wx-moments .moments-cover-image { position: absolute; inset: 0; background: transparent center / cover no-repeat; }
.wx-moments .moments-cover::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 90px; background: linear-gradient(transparent, rgb(0 0 0 / 28%)); pointer-events: none; }
.wx-moments :is(.moments-back, .moments-camera) { position: absolute; z-index: 2; top: calc(44px + var(--safe-top)); width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; color: #fff; background: transparent; filter: drop-shadow(0 1px 2px rgb(0 0 0 / 35%)); }
.wx-moments .moments-back { left: 6px; }
.wx-moments .moments-camera { right: 8px; }
.wx-moments .moments-back svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wx-moments .moments-camera svg { width: 25px; height: 25px; fill: currentColor; stroke: none; }
.wx-moments .moments-camera svg circle { fill: #3a3a3a; stroke: currentColor; stroke-width: 1.6; }
.wx-moments .moments-owner { position: absolute; z-index: 2; right: 16px; bottom: -24px; display: flex; align-items: flex-end; gap: 14px; }
.wx-moments .moments-owner strong { max-width: 58vw; margin-bottom: 36px; overflow: hidden; color: #fff; font-size: 19px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 3px rgb(0 0 0 / 40%); }
.wx-moments .moments-avatar { width: 72px; height: 72px; display: grid; place-items: center; overflow: hidden; border-radius: 8px; color: #fff; background: #a36b79; font-size: 25px; font-weight: 700; box-shadow: 0 0 0 1px rgb(0 0 0 / 4%); }
.wx-moments .moments-avatar img, .wx-app .moment-avatar img { width: 100%; height: 100%; object-fit: cover; }
.wx-moments .moments-empty { margin: 72px 0 0; color: var(--m-muted); font-size: 14px; text-align: center; }
.wx-moments .moments-signature { min-height: 52px; margin: 0; padding: 32px 16px 0 30%; color: var(--m-muted, #b2b2b2); font-size: 13px; line-height: 1.45; text-align: right; overflow-wrap: anywhere; }
.wx-moments .social-feed { padding: 4px 0 24px; }
.wx-moments .moment-post { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding: 16px 16px 14px 12px; border-bottom: 1px solid var(--m-line); }
.wx-app .moment-avatar { width: 44px; height: 44px; display: grid; place-items: center; overflow: hidden; border-radius: 5px; color: #fff; background: #a36b79; font-size: 17px; font-weight: 700; }
.wx-moments .moment-body { min-width: 0; }
.wx-moments .moment-name { display: block; color: var(--m-name); font-size: 16px; font-weight: 650; line-height: 1.35; }
.wx-moments .moment-text { margin: 3px 0 0; color: var(--m-text); font-size: 16px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.wx-moments .moment-images { display: grid; gap: 4px; margin-top: 8px; grid-template-columns: repeat(3, minmax(0, 88px)); }
.wx-moments .moment-images.count-4 { grid-template-columns: repeat(2, minmax(0, 88px)); }
.wx-moments .moment-images button { aspect-ratio: 1; padding: 0; overflow: hidden; border: 0; background: var(--m-box); }
.wx-moments .moment-images img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wx-moments .moment-images.single { display: block; }
.wx-moments .moment-images.single button { aspect-ratio: auto; max-width: 62%; background: transparent; }
.wx-moments .moment-images.single img { width: auto; height: auto; max-width: 100%; min-width: 90px; max-height: 220px; min-height: 90px; object-fit: cover; background: var(--m-box); }
.wx-moments .moment-image-pending { display: block; width: 150px; height: 150px; background: linear-gradient(110deg, #ececec 30%, #f7f7f7 50%, #ececec 70%) 0 0 / 300% 100%; animation: wx-shimmer 1.4s linear infinite; }
@keyframes wx-shimmer { to { background-position: -300% 0; } }
.wx-moments .moment-location { margin: 6px 0 0; color: var(--m-name); font-size: 13px; }
.wx-moments .moment-meta { position: relative; display: flex; align-items: center; gap: 12px; min-height: 26px; margin-top: 8px; }
.wx-moments .moment-meta time { color: var(--m-muted); font-size: 13px; }
.wx-moments .moment-more { margin-left: auto; width: 32px; height: 21px; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0; border: 0; border-radius: 4px; background: var(--m-box); }
.wx-moments .moment-more i { width: 4px; height: 4px; border-radius: 50%; background: var(--m-name); }
.wx-moments .moment-menu { position: absolute; z-index: 4; top: 50%; right: 40px; height: 38px; width: 0; display: flex; align-items: center; overflow: hidden; border-radius: 4px; background: var(--m-menu); transform: translateY(-50%); transition: width .2s ease; }
.wx-moments .moment-menu.open { width: 178px; }
.wx-moments .moment-menu button { flex: 1 0 89px; height: 100%; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 0; border: 0; color: #fff; background: transparent; font-size: 14px; white-space: nowrap; }
.wx-moments .moment-menu button + button { border-left: 1px solid rgb(0 0 0 / 30%); }
.wx-moments .moment-menu svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wx-moments .moment-social { position: relative; margin-top: 8px; border-radius: 3px; background: var(--m-box); }
.wx-moments .moment-social::before { content: ""; position: absolute; top: -6px; left: 12px; border: 6px solid transparent; border-top: 0; border-bottom-color: var(--m-box); }
.wx-moments .moment-likes { display: flex; gap: 6px; padding: 6px 10px; color: var(--m-name); font-size: 14.5px; font-weight: 600; line-height: 1.45; }
.wx-moments .moment-likes svg { flex: 0 0 auto; width: 15px; height: 15px; margin-top: 3px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.wx-moments .moment-likes + .moment-comments { border-top: 1px solid var(--m-line); }
.wx-moments .moment-comments { padding: 5px 10px; }
.wx-moments .moment-comment { margin: 0; padding: 2px 0; color: var(--m-text); font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.wx-moments .moment-comment b { color: var(--m-name); font-weight: 600; }

/* 「我」页顶部是白底 */
.wx-page-me, .wx-page-me .pos-statusbar, .wx-page-me .wx-me-head { background: #fff; }
.wx-page-me .wx-list { background: var(--wx-bg); }
