.app-view-body.xin-wx-body { position: relative; display: block; text-align: left; padding: 0; overflow: hidden; align-items: stretch; justify-content: flex-start; }

.xin_wx_root { position: absolute; inset: 0; display: flex; flex-direction: column; background: linear-gradient(180deg, #FCF9F7 0%, #F3EEE9 100%); }

.xin_wx_head { flex-shrink: 0; height: 52px; display: flex; align-items: center; justify-content: center; position: relative; background: rgba(255,255,255,0.94); border-bottom: 1px solid rgba(214,196,188,0.4); }

.xin_wx_head-title { font-size: calc(var(--font-size, 15px) + 2px); font-weight: 700; color: #7A6363; letter-spacing: 1px; }

.xin_wx_head-title::before { content: "♡ "; color: #EFA6B5; }

.xin_wx_head-title::after { content: " ♡"; color: #EFA6B5; }

.xin_wx_head-btn { position: absolute; right: 6px; top: 0; height: 52px; min-width: 42px; border: none; background: transparent; color: #A89292; font-size: 21px; padding: 0 12px; cursor: pointer; }

.xin_wx_head-btn:active { opacity: 0.6; }

.xin_wx_page { flex: 1; overflow-y: auto; touch-action: pan-y; background: transparent; }

.xin_wx_tabbar { flex-shrink: 0; display: flex; align-items: center; justify-content: center; gap: 10px; background: transparent; border-top: none; padding: 10px 16px 14px; }

.xin_wx_tab { flex: 1; max-width: 110px; height: 44px; border: none; border-radius: 22px; background: rgba(255,255,255,0.96); color: #A89292; font-size: calc(var(--font-size, 15px) - 1px); cursor: pointer; box-shadow: 0 5px 14px rgba(180,155,145,0.18); transition: all 0.18s ease; }

.xin_wx_tab.on { color: #fff; font-weight: 700; background: linear-gradient(135deg, #F2A6B8 0%, #E9C6A0 100%); box-shadow: 0 6px 16px rgba(242,166,184,0.42); }

.xin_wx_hidden { display: none !important; }

.xin_wx_empty { padding: 60px 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; }

.xin_wx_empty-icon { width: 76px; height: 76px; border-radius: 50%; background: rgba(242,166,184,0.16); color: #EFA6B5; display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 400; }

.xin_wx_empty-text { text-align: center; color: #A89292; font-size: calc(var(--font-size, 15px) - 1px); line-height: 1.8; }

.xin_wx_btn.xin_wx_empty-btn { width: auto; min-width: 132px; margin-top: 4px; border-radius: 22px; }

.xin_wx_list { margin: 12px 14px; background: rgba(255,255,255,0.96); border-radius: 18px; overflow: hidden; box-shadow: 0 6px 18px rgba(190,170,160,0.14); }

.xin_wx_item { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-bottom: 1px solid rgba(224,210,202,0.5); cursor: pointer; transition: background 0.15s ease; }

.xin_wx_item:last-child { border-bottom: none; }

.xin_wx_item:active { background: rgba(242,166,184,0.10); }

.xin_wx_avatar { width: 46px; height: 46px; flex-shrink: 0; border-radius: 16px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 600; overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,0.08); }

.xin_wx_avatar img { width: 100%; height: 100%; object-fit: cover; }

.xin_wx_avatar-lg { width: 84px; height: 84px; border-radius: 26px; font-size: 32px; margin: 0 auto; }

.xin_wx_item-mid { flex: 1; min-width: 0; }

.xin_wx_item-name { font-size: calc(var(--font-size, 15px) + 1px); font-weight: 600; color: #6B5B5B; }

.xin_wx_item-msg { margin-top: 3px; font-size: calc(var(--font-size, 15px) - 2px); color: #B5A29C; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.xin_wx_item-time { font-size: calc(var(--font-size, 15px) - 3px); color: #C3B0A8; flex-shrink: 0; }

.xin_wx_chat { display: flex; flex-direction: column; height: 100%; background: transparent; }

.xin_wx_chat-msgs { flex: 1; overflow-y: auto; touch-action: pan-y; padding: 8px 14px 12px; }

.xin_wx_chat-bar { flex-shrink: 0; display: flex; align-items: center; gap: 9px; margin: 6px 14px 12px; padding: 8px 10px; background: rgba(255,255,255,0.96); border-radius: 26px; box-shadow: 0 5px 16px rgba(190,170,160,0.16); }

.xin_wx_input.xin_wx_chat-input { flex: 1; height: 40px; border: 1px solid rgba(214,196,188,0.5); background: #FAF5F2; border-radius: 20px; padding: 0 16px; font-size: calc(var(--font-size, 15px) - 1px); color: #6B5B5B; outline: none; box-sizing: border-box; }

.xin_wx_btn.xin_wx_chat-send { flex-shrink: 0; width: 40px; min-width: 40px; height: 40px; margin: 0; padding: 0; border: none; border-radius: 50%; background: linear-gradient(135deg, #F2A6B8 0%, #E9C6A0 100%); color: #fff; font-size: 17px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 10px rgba(242,166,184,0.35); display: flex; align-items: center; justify-content: center; }

.xin_wx_btn.xin_wx_chat-send:disabled { opacity: 0.5; }

.xin_wx_chat-time { text-align: center; padding: 12px 0 6px; font-size: calc(var(--font-size, 15px) - 4px); color: #C3B0A8; }

.xin_wx_chat-tip { padding: 16px; text-align: center; color: #B5A29C; font-size: calc(var(--font-size, 15px) - 2px); }

.xin_wx_row { display: flex; align-items: flex-end; gap: 8px; margin: 9px 0; }

.xin_wx_row-char { justify-content: flex-start; }

.xin_wx_row-me { justify-content: flex-end; }

.xin_wx_bubble { position: relative; max-width: 74%; padding: 10px 14px; font-size: calc(var(--font-size, 15px) - 1px); line-height: 1.5; word-break: break-word; }

.xin_wx_bubble-char { background: rgba(255,255,255,0.96); color: #6B5B5B; border-radius: 16px 16px 16px 4px; box-shadow: 0 3px 10px rgba(190,170,160,0.14); }

.xin_wx_bubble-char::before { content: ""; position: absolute; left: -6px; bottom: 10px; width: 0; height: 0; border: 6px solid transparent; border-right-color: rgba(255,255,255,0.96); border-left: 0; }

.xin_wx_bubble-me { background: linear-gradient(135deg, #F2A6B8 0%, #E9C6A0 100%); color: #fff; border-radius: 16px 16px 4px 16px; box-shadow: 0 3px 10px rgba(242,166,184,0.28); }

.xin_wx_bubble-me::before { content: ""; position: absolute; right: -6px; bottom: 10px; width: 0; height: 0; border: 6px solid transparent; border-left-color: #EEC2A8; border-right: 0; }

.xin_wx_mood { font-size: calc(var(--font-size, 15px) - 4px); color: #C3B0A8; align-self: flex-end; padding-bottom: 3px; }

.xin_wx_form { padding: 18px 18px 26px; }

.xin_wx_form-row { margin-bottom: 15px; }

.xin_wx_form-label { margin-bottom: 7px; font-size: calc(var(--font-size, 15px) - 2px); color: #B5A29C; }

.xin_wx_input { width: 100%; height: 42px; padding: 0 14px; border: 1px solid rgba(214,196,188,0.55); border-radius: 14px; background: rgba(255,255,255,0.96); color: #6B5B5B; font-size: calc(var(--font-size, 15px) - 1px); box-sizing: border-box; outline: none; transition: border-color 0.15s ease; }

.xin_wx_input:focus { border-color: #EFA6B5; }

.xin_wx_input-area { height: 80px; padding: 12px 14px; resize: none; }

.xin_wx_btn { width: 100%; height: 44px; margin-top: 12px; border: none; border-radius: 22px; background: rgba(242,166,184,0.14); color: #B56475; font-size: calc(var(--font-size, 15px) - 1px); font-weight: 600; cursor: pointer; transition: all 0.15s ease; }

.xin_wx_btn-primary { background: linear-gradient(135deg, #F2A6B8 0%, #E9C6A0 100%); color: #fff; box-shadow: 0 5px 14px rgba(242,166,184,0.35); }

.xin_wx_btn-danger { background: transparent; color: #D98A8A; border: 1px solid #E8B6B0; }

.xin_wx_card { margin: 16px 16px 4px; padding: 24px 16px; background: rgba(255,255,255,0.96); border-radius: 22px; text-align: center; box-shadow: 0 6px 18px rgba(190,170,160,0.14); }

.xin_wx_card-name { margin-top: 12px; font-size: calc(var(--font-size, 15px) + 4px); font-weight: 700; color: #6B5B5B; }

.xin_wx_card-sub { margin-top: 5px; font-size: calc(var(--font-size, 15px) - 2px); color: #B5A29C; }

.xin_wx_group { margin: 14px 14px 0; background: rgba(255,255,255,0.96); border-radius: 18px; overflow: hidden; box-shadow: 0 5px 16px rgba(190,170,160,0.12); }

.xin_wx_group-title { margin: 18px 16px 6px; font-size: calc(var(--font-size, 15px) - 2px); color: #B5A29C; font-weight: 600; }

.xin_wx_cell { display: flex; align-items: center; min-height: 52px; padding: 0 16px; border-bottom: 1px solid rgba(224,210,202,0.5); cursor: pointer; transition: background 0.15s ease; }

.xin_wx_cell:last-child { border-bottom: none; }

.xin_wx_cell:active { background: rgba(242,166,184,0.10); }

.xin_wx_cell-left { flex: 1; min-width: 0; }

.xin_wx_cell-right { flex-shrink: 0; display: flex; align-items: center; justify-content: flex-end; }

.xin_wx_cell-label { font-size: calc(var(--font-size, 15px) + 0px); color: #6B5B5B; }

.xin_wx_cell-sub { margin-top: 2px; font-size: calc(var(--font-size, 15px) - 3px); color: #C3B0A8; }

.xin_wx_cell-value { font-size: calc(var(--font-size, 15px) - 1px); color: #B5A29C; }

.xin_wx_cell-arr { color: #C3B0A8; font-size: 20px; padding-left: 6px; }

.xin_wx_cell-primary { color: #E58FA3; font-weight: 700; }

.xin_wx_cell-danger { color: #D98A8A; text-align: center; justify-content: center; }

.xin_wx_cell-input { flex: 1; min-width: 0; border: none; background: transparent; color: #6B5B5B; font-size: calc(var(--font-size, 15px) - 1px); text-align: right; outline: none; box-sizing: border-box; }

.xin_wx_cell-select { border: none; background: transparent; color: #B5A29C; font-size: calc(var(--font-size, 15px) - 1px); outline: none; text-align: right; }

.xin_wx_info-row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 16px; border-bottom: 1px solid rgba(224,210,202,0.5); font-size: calc(var(--font-size, 15px) - 1px); }

.xin_wx_info-row:last-child { border-bottom: none; }

.xin_wx_info-k { color: #B5A29C; flex-shrink: 0; }

.xin_wx_info-v { color: #6B5B5B; text-align: right; word-break: break-all; }

.xin_wx_mem p { margin: 6px 0; font-size: calc(var(--font-size, 15px) - 2px); color: #B5A29C; line-height: 1.6; }

.xin_wx_set-empty { padding: 16px; color: #B5A29C; font-size: calc(var(--font-size, 15px) - 1px); }

.xin_wx_switch { width: 50px; height: 28px; border: none; border-radius: 14px; background: #E8DAD4; position: relative; cursor: pointer; transition: background 0.18s ease; }

.xin_wx_switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: left 0.18s ease; box-shadow: 0 1px 3px rgba(0,0,0,0.12); }

.xin_wx_switch.on { background: linear-gradient(135deg, #F2A6B8 0%, #E9C6A0 100%); }

.xin_wx_switch.on::after { left: 25px; }

.xin_wx_seg { display: flex; background: rgba(242,166,184,0.14); border-radius: 16px; padding: 3px; }

.xin_wx_seg-btn { flex: 1; height: 34px; border: none; border-radius: 13px; background: transparent; color: #B5A29C; font-size: calc(var(--font-size, 15px) - 2px); cursor: pointer; transition: all 0.15s ease; }

.xin_wx_seg-btn.on { background: #fff; color: #B56475; font-weight: 700; box-shadow: 0 3px 8px rgba(180,155,145,0.18); }

.xin_wx_about p { margin: 6px 0; font-size: calc(var(--font-size, 15px) - 2px); color: #B5A29C; }

.xin_wx_head-left { position: absolute; left: 6px; top: 0; height: 52px; display: flex; align-items: center; z-index: 2; }

.xin_wx_head-left .xin_wx_head-btn { position: static; min-width: 36px; padding: 0 6px; }

.xin_wx_side-mask { position: absolute; inset: 0; background: rgba(120,100,95,0.28); opacity: 0; visibility: hidden; transition: opacity 0.22s ease; z-index: 29; }

.xin_wx_side-mask.show { opacity: 1; visibility: visible; }

.xin_wx_side { position: absolute; top: 0; left: 0; bottom: 0; width: 236px; background: #FBF7F4; z-index: 30; transform: translateX(-105%); transition: transform 0.24s ease; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(140,110,100,0.22); }

.xin_wx_side.open { transform: translateX(0); }

.xin_wx_side-head { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 16px; border-bottom: 1px solid rgba(214,196,188,0.4); flex-shrink: 0; }

.xin_wx_side-title { font-size: 18px; font-weight: 700; color: #7A6363; letter-spacing: 1px; }

.xin_wx_side-close { border: none; background: transparent; color: #B5A29C; font-size: 16px; cursor: pointer; width: 32px; height: 32px; }

.xin_wx_side-item { padding: 15px 18px; font-size: 15px; color: #6B5B5B; border-bottom: 1px solid rgba(224,210,202,0.5); cursor: pointer; transition: background 0.15s ease; }

.xin_wx_side-item:active { background: rgba(242,166,184,0.10); }

.xin_wx_side-foot { margin-top: auto; padding: 16px; font-size: 12px; color: #C3B0A8; }

.xin_wx_plus-mask { z-index: 31; }

.xin_wx_plus { position: absolute; top: 56px; right: 10px; min-width: 168px; background: #FBF7F4; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 24px rgba(140,110,100,0.20); z-index: 32; }

.xin_wx_plus.hidden { display: none; }

.xin_wx_plus-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 13px 16px; border: none; background: transparent; color: #6B5B5B; font-size: 15px; cursor: pointer; text-align: left; box-sizing: border-box; }

.xin_wx_plus-item + .xin_wx_plus-item { border-top: 1px solid rgba(224,210,202,0.5); }

.xin_wx_plus-item:active { background: rgba(242,166,184,0.10); }

.xin_wx_plus-item-icon { width: 30px; height: 30px; border-radius: 10px; background: linear-gradient(135deg, #F2A6B8 0%, #E9C6A0 100%); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }

.xin_wx_avatar-edit { display: flex; align-items: center; gap: 12px; }

.xin_wx_avatar-edit-cam { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(214,196,188,0.6); background: #fff; color: #B5A29C; font-size: 16px; cursor: pointer; flex-shrink: 0; }

.xin_wx_avatar-url { display: flex; gap: 8px; margin-top: 10px; }

.xin_wx_avatar-use { flex-shrink: 0; height: 42px; padding: 0 16px; border: none; border-radius: 21px; background: rgba(242,166,184,0.14); color: #B56475; font-size: 14px; cursor: pointer; }

.xin_wx_home { display: flex; flex-direction: column; min-height: 100%; padding-bottom: 78px; box-sizing: border-box; }

.xin_wx_home-status { margin: 12px 14px 0; padding: 14px 16px; display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.96); border-radius: 22px; box-shadow: 0 5px 16px rgba(190,170,160,0.14); cursor: pointer; }

.xin_wx_home-status-av { width: 54px; height: 54px; flex-shrink: 0; border-radius: 20px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 600; overflow: hidden; box-shadow: 0 3px 8px rgba(0,0,0,0.10); border: 2px solid rgba(242,166,184,0.55); box-sizing: border-box; }

.xin_wx_home-status-av img { width: 100%; height: 100%; object-fit: cover; }

.xin_wx_home-status-mid { flex: 1; min-width: 0; }

.xin_wx_home-status-name { font-size: calc(var(--font-size, 15px) + 3px); font-weight: 700; color: #6B5B5B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.xin_wx_home-status-sign { margin-top: 4px; font-size: calc(var(--font-size, 15px) - 2px); color: #B5A29C; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.xin_wx_home-status-go { color: #C3B0A8; font-size: 20px; flex-shrink: 0; }

.xin_wx_home-search { margin: 12px 14px 0; padding: 0 16px; height: 42px; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.96); border-radius: 21px; box-shadow: 0 4px 12px rgba(190,170,160,0.12); box-sizing: border-box; }

.xin_wx_home-search-ic { color: #E58FA3; font-size: 18px; flex-shrink: 0; }

.xin_wx_home-search-inp { flex: 1; min-width: 0; border: none; background: transparent; color: #6B5B5B; font-size: calc(var(--font-size, 15px) - 1px); outline: none; }

.xin_wx_home-search-inp::-webkit-input-placeholder { color: #C3B0A8; }

.xin_wx_home-body { flex: 1; min-height: 0; }

.xin_wx_home-sec { margin: 14px 14px 0; }

.xin_wx_home-sec-title { padding: 4px 6px 8px; font-size: calc(var(--font-size, 15px) - 2px); color: #B5A29C; font-weight: 600; }

.xin_wx_home-item { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; padding: 11px 13px; background: rgba(255,255,255,0.96); border-radius: 18px; box-shadow: 0 4px 12px rgba(190,170,160,0.12); cursor: pointer; transition: transform 0.15s ease, background 0.15s ease; }

.xin_wx_home-item:active { transform: scale(0.98); background: rgba(242,166,184,0.10); }

.xin_wx_home-item-av { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 600; overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,0.08); border: 2px solid #F5E3DC; box-sizing: border-box; }

.xin_wx_home-item-av.pin { border-color: #E9C6A0; box-shadow: 0 0 0 3px rgba(233,198,160,0.22); }

.xin_wx_home-item-av img { width: 100%; height: 100%; object-fit: cover; }

.xin_wx_home-item-mid { flex: 1; min-width: 0; }

.xin_wx_home-item-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }

.xin_wx_home-item-name { font-size: calc(var(--font-size, 15px) + 0px); font-weight: 600; color: #6B5B5B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.xin_wx_home-item-time { font-size: calc(var(--font-size, 15px) - 3px); color: #C3B0A8; flex-shrink: 0; }

.xin_wx_home-item-msg { margin-top: 3px; font-size: calc(var(--font-size, 15px) - 2px); color: #B5A29C; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.xin_wx_home-item-badge { flex-shrink: 0; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: linear-gradient(135deg, #F2A6B8 0%, #E9C6A0 100%); color: #fff; font-size: calc(var(--font-size, 15px) - 4px); font-weight: 700; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }

.xin_wx_home-item-pin { flex-shrink: 0; width: 28px; height: 28px; border: none; border-radius: 50%; background: transparent; color: #D8C6BE; font-size: 15px; cursor: pointer; }

.xin_wx_home-item-pin.on { color: #E9C6A0; }

.xin_wx_home-dock { position: fixed; left: 14px; right: 14px; bottom: 74px; height: 50px; display: flex; align-items: center; gap: 8px; padding: 5px 6px 5px 14px; background: rgba(255,255,255,0.96); border-radius: 27px; box-shadow: 0 8px 22px rgba(180,155,145,0.24); box-sizing: border-box; z-index: 20; }

.xin_wx_home-dock-inp { flex: 1; min-width: 0; color: #B5A29C; font-size: calc(var(--font-size, 15px) - 1px); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.xin_wx_home-dock-btn { flex-shrink: 0; width: 40px; height: 40px; border: none; border-radius: 50%; background: linear-gradient(135deg, #F2A6B8 0%, #E9C6A0 100%); color: #fff; font-size: 17px; cursor: pointer; box-shadow: 0 4px 10px rgba(242,166,184,0.35); display: flex; align-items: center; justify-content: center; }

.xin_wx_contact { display: flex; flex-direction: column; min-height: 100%; }

.xin_wx_contact-nav { flex-shrink: 0; width: 76px; padding: 12px 0 20px; display: flex; flex-direction: column; gap: 6px; }

.xin_wx_contact-nav-btn { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px; border: none; border-radius: 16px; background: transparent; color: #B5A29C; font-size: calc(var(--font-size, 15px) - 3px); cursor: pointer; transition: all 0.15s ease; }

.xin_wx_contact-nav-btn.on { background: rgba(242,166,184,0.16); color: #B56475; font-weight: 700; }

.xin_wx_contact-nav-ic { font-size: 18px; }

.xin_wx_contact-right { flex: 1; min-width: 0; padding: 12px 14px 20px 4px; }

.xin_wx_contact-card { background: rgba(255,255,255,0.96); border-radius: 20px; overflow: hidden; box-shadow: 0 5px 16px rgba(190,170,160,0.12); }

.xin_wx_me-hero { margin: 12px 14px 0; padding: 26px 18px 18px; display: flex; flex-direction: column; align-items: center; background: rgba(255,255,255,0.96); border-radius: 26px; box-shadow: 0 6px 18px rgba(190,170,160,0.14); }

.xin_wx_me-hero-av { width: 84px; height: 84px; border-radius: 28px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 600; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.12); border: 3px solid rgba(242,166,184,0.55); box-sizing: border-box; }

.xin_wx_me-hero-av img { width: 100%; height: 100%; object-fit: cover; }

.xin_wx_me-hero-name { margin-top: 14px; font-size: calc(var(--font-size, 15px) + 5px); font-weight: 700; color: #6B5B5B; }

.xin_wx_me-sign { margin-top: 14px; padding: 10px 16px; border-radius: 18px; background: rgba(242,166,184,0.12); color: #B56475; font-size: calc(var(--font-size, 15px) - 1px); cursor: pointer; max-width: 100%; box-sizing: border-box; }

.xin_wx_me-friends { margin: 14px 14px 0; padding: 14px 14px 16px; background: rgba(255,255,255,0.96); border-radius: 20px; box-shadow: 0 5px 16px rgba(190,170,160,0.12); }

.xin_wx_me-friends-title { padding: 0 2px 12px; font-size: calc(var(--font-size, 15px) - 1px); color: #B56475; font-weight: 700; }

.xin_wx_me-friends-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 2px; }

.xin_wx_me-friends-empty { color: #C3B0A8; font-size: calc(var(--font-size, 15px) - 2px); padding: 8px 2px; }

.xin_wx_me-friend { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 62px; cursor: pointer; }

.xin_wx_me-friend-av { width: 52px; height: 52px; border-radius: 18px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600; overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,0.08); border: 2px solid #F5E3DC; box-sizing: border-box; }

.xin_wx_me-friend-av img { width: 100%; height: 100%; object-fit: cover; }

.xin_wx_me-friend-name { font-size: calc(var(--font-size, 15px) - 3px); color: #6B5B5B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 62px; }

.xin_wx_tab { font-size: 20px; }

.xin_wx_head-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.xin_wx_head-title-plain { font-weight: 700; color: #6B5B5B; }

.xin_wx_head-chat { background: linear-gradient(135deg, #F2A6B8 0%, #E9C6A0 100%); color: #fff; font-weight: 700; }

.xin_wx_home-me { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 2px 0; }

.xin_wx_home-me-av { width: 42px; height: 42px; border-radius: 16px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 600; overflow: hidden; border: 2px solid rgba(242,166,184,0.55); box-sizing: border-box; }

.xin_wx_home-me-av img { width: 100%; height: 100%; object-fit: cover; }

.xin_wx_home-me-mid { min-width: 0; }

.xin_wx_home-me-name { font-size: calc(var(--font-size, 15px) + 1px); font-weight: 700; color: #6B5B5B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.xin_wx_home-me-status { font-size: calc(var(--font-size, 15px) - 3px); color: #B5A29C; }

.xin_wx_home-illus { margin: 12px 14px 0; padding: 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; background: rgba(255,255,255,0.96); border-radius: 22px; box-shadow: 0 5px 16px rgba(190,170,160,0.14); }

.xin_wx_home-illus-cell { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; border-radius: 18px; background: linear-gradient(135deg, rgba(242,166,184,0.14) 0%, rgba(233,198,160,0.14) 100%); color: #C98A9A; font-size: 26px; cursor: pointer; transition: all 0.18s ease; }

.xin_wx_home-illus-cell:hover { transform: translateY(-2px); color: #B56475; }

.xin_wx_home-sec.pin { background: rgba(255,251,242,0.6); }

.xin_wx_contact-search { margin: 12px 14px 0; display: none; align-items: center; gap: 8px; padding: 10px 12px; background: rgba(255,255,255,0.96); border-radius: 18px; box-shadow: 0 4px 12px rgba(190,170,160,0.12); }

.xin_wx_contact-search-ic { color: #B5A29C; font-size: 16px; }

.xin_wx_contact-search-inp { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-size: calc(var(--font-size, 15px) - 1px); color: #6B5B5B; }

.xin_wx_contact-tabs { margin: 12px 14px 0; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }

.xin_wx_contact-tab { flex-shrink: 0; display: flex; align-items: center; gap: 5px; padding: 8px 14px; border: none; border-radius: 18px; background: rgba(255,255,255,0.9); color: #B5A29C; font-size: calc(var(--font-size, 15px) - 2px); cursor: pointer; box-shadow: 0 3px 10px rgba(180,155,145,0.12); transition: all 0.16s ease; }

.xin_wx_contact-tab.on { background: linear-gradient(135deg, #F2A6B8 0%, #E9C6A0 100%); color: #fff; font-weight: 700; }

.xin_wx_contact-tab-ic { font-size: 15px; }

.xin_wx_contact-tab-add { color: #C98A9A; font-size: 18px; padding: 8px 12px; }

.xin_wx_contact-body { padding: 12px 14px; }

.xin_wx_item-star { width: 30px; height: 30px; flex-shrink: 0; border: none; background: transparent; color: #D8C4BC; font-size: 16px; cursor: pointer; }

.xin_wx_item-star.on { color: #E9A13B; }

.xin_wx_item-grp { width: 30px; height: 30px; flex-shrink: 0; border: none; background: transparent; color: #D8C4BC; font-size: 15px; cursor: pointer; }

.xin_wx_item-grp.on { color: #7FB5E8; }

.xin_wx_me-card { margin: 12px 14px 0; padding: 18px 16px 14px; display: flex; flex-direction: column; align-items: center; background: rgba(255,255,255,0.96); border-radius: 26px; box-shadow: 0 6px 18px rgba(190,170,160,0.14); }

.xin_wx_me-url { width: 100%; margin-top: 12px; }

.xin_wx_me-form { margin: 12px 14px 0; }

.xin_wx_me-save { width: 100%; margin-top: 12px; }

.xin_wx_me-del { width: 100%; margin-top: 10px; }

.xin_wx_btn-danger { background: rgba(245,73,107,0.1); color: #F5496B; border: 1px solid rgba(245,73,107,0.25); }

.xin_wx_cell-area .xin_wx_cell-input { flex: 1; }

.xin_wx_me-mask { position: fixed; inset: 0; z-index: 999; background: rgba(40,30,30,0.45); display: flex; align-items: center; justify-content: center; }

.xin_wx_me-switch { width: 300px; max-width: 86vw; max-height: 70vh; overflow-y: auto; padding: 16px; background: #FFF9F5; border-radius: 24px; box-shadow: 0 12px 34px rgba(80,50,50,0.25); }

.xin_wx_me-switch-title { text-align: center; font-weight: 700; color: #6B5B5B; margin-bottom: 12px; }

.xin_wx_me-switch-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; cursor: pointer; transition: background 0.15s ease; }

.xin_wx_me-switch-item.on { background: rgba(242,166,184,0.16); }

.xin_wx_me-switch-item:hover { background: rgba(242,166,184,0.10); }

.xin_wx_me-switch-av { width: 40px; height: 40px; border-radius: 14px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 600; overflow: hidden; border: 2px solid rgba(242,166,184,0.5); box-sizing: border-box; }

.xin_wx_me-switch-av img { width: 100%; height: 100%; object-fit: cover; }

.xin_wx_me-switch-name { font-size: calc(var(--font-size, 15px) + 1px); color: #6B5B5B; font-weight: 600; }

.xin_wx_me-switch-create { width: 100%; margin-top: 12px; }

.xin_wx_discover-grid { padding: 12px 14px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

.xin_wx_discover-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 12px; background: rgba(255,255,255,0.96); border-radius: 22px; box-shadow: 0 5px 16px rgba(190,170,160,0.14); cursor: pointer; transition: all 0.18s ease; }

.xin_wx_discover-card:hover { transform: translateY(-2px); }

.xin_wx_discover-card-ic { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 18px; background: linear-gradient(135deg, rgba(242,166,184,0.16) 0%, rgba(233,198,160,0.16) 100%); color: #C98A9A; font-size: 26px; }

.xin_wx_discover-card-name { font-size: calc(var(--font-size, 15px) + 1px); font-weight: 700; color: #6B5B5B; }

.xin_wx_discover-card-sub { font-size: calc(var(--font-size, 15px) - 3px); color: #B5A29C; text-align: center; }

.xin_wx_discover-banner { margin: 12px 14px 0; padding: 14px 16px; text-align: center; background: linear-gradient(135deg, rgba(242,166,184,0.14) 0%, rgba(233,198,160,0.14) 100%); border-radius: 20px; color: #B56475; font-size: calc(var(--font-size, 15px) - 1px); font-weight: 600; box-shadow: 0 4px 12px rgba(190,170,160,0.10); }

.xin_wx_root {
  --wx-ink: #141414;
  --wx-ink-2: #545454;
  --wx-t2: #A8A8A8;
  --wx-t3: #B4B4B4;
  --wx-ph: #D8D8D8;
  --wx-line: #E4E4E4;
  --wx-surface: #F0F0F0;
  --wx-surface-2: #F7F7F7;
  --wx-bg: #FCFCFC;
  --wx-pop: #FCFCFC;
  --wx-dark: #3C3C3C;
  --wx-on-dark: #FCFCFC;
  --wx-head-sub-bg: #3C3C3C;
  --wx-head-sub-fg: #FCFCFC;
  --wx-shadow: 0 2px 10px rgba(20, 20, 20, 0.05);
  --wx-r-xl: 18px;
  --wx-r-lg: 14px;
  --wx-r-md: 10px;
  --wx-r-sm: 8px;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--wx-bg);
  color: var(--wx-ink);
}

body.theme-dark .xin_wx_root {
  --wx-ink: #F0F0F0;
  --wx-ink-2: #B4B4B4;
  --wx-t2: #9A9A9A;
  --wx-t3: #7A7A7A;
  --wx-ph: #545454;
  --wx-line: #333333;
  --wx-surface: #262626;
  --wx-surface-2: #2C2C2C;
  --wx-bg: #141414;
  --wx-pop: #1F1F1F;
  --wx-dark: #E4E4E4;
  --wx-on-dark: #141414;
  --wx-head-sub-bg: #262626;
  --wx-head-sub-fg: #F0F0F0;
  --wx-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.xin_wx_page { background: var(--wx-bg); }

.xin_wx_head {
  height: 52px;
  background: var(--wx-bg);
  border-bottom: 1px solid var(--wx-line);
  justify-content: center;
}

.xin_wx_root:has(> .xin_wx_tabbar.xin_wx_hidden) > .xin_wx_head {
  background: var(--wx-head-sub-bg);
  border-bottom: none;
}

.xin_wx_head-title {
  font-size: calc(var(--font-size, 15px) + 1px);
  font-weight: 600;
  color: var(--wx-ink);
  letter-spacing: 0.2px;
}

.xin_wx_root:has(> .xin_wx_tabbar.xin_wx_hidden) > .xin_wx_head .xin_wx_head-title {
  color: var(--wx-head-sub-fg);
}

.xin_wx_head-title::before,
.xin_wx_head-title::after { content: none; }

.xin_wx_head-title-plain { color: var(--wx-ink); font-weight: 600; }

.xin_wx_head-title-left {
  position: absolute;
  left: 16px;
  top: 0;
  height: 52px;
  display: flex;
  align-items: center;
  font-size: calc(var(--font-size, 15px) + 3px);
  font-weight: 700;
  letter-spacing: -0.2px;
}

.xin_wx_head-left { z-index: 2; }

.xin_wx_head-btn {
  height: 52px;
  color: var(--wx-ink-2);
  font-size: 19px;
  font-weight: 500;
}

.xin_wx_head-right .xin_wx_head-btn { padding: 0 12px; }

.xin_wx_root:has(> .xin_wx_tabbar.xin_wx_hidden) > .xin_wx_head .xin_wx_head-btn {
  color: var(--wx-head-sub-fg);
}

.xin_wx_head-btn.xin_wx_head-chat {
  background: transparent;
  border: 1px solid var(--wx-line);
  border-radius: var(--wx-r-md);
  height: 30px;
  min-width: 0;
  top: 11px;
  padding: 0 12px;
  color: var(--wx-ink);
  font-size: 13px;
  font-weight: 600;
}

.xin_wx_root:has(> .xin_wx_tabbar.xin_wx_hidden) > .xin_wx_head .xin_wx_head-btn.xin_wx_head-chat {
  border-color: var(--wx-head-sub-fg);
  color: var(--wx-head-sub-bg);
  background: var(--wx-head-sub-fg);
}

.xin_wx_home-me { gap: 9px; padding: 0; }

.xin_wx_home-me-av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--wx-line);
  font-size: 15px;
  color: var(--wx-on-dark);
}

.xin_wx_home-me-name { font-size: calc(var(--font-size, 15px) + 0px); font-weight: 600; color: var(--wx-ink); }

.xin_wx_home-me-status { color: var(--wx-t2); font-size: calc(var(--font-size, 15px) - 3px); }

.xin_wx_tabbar {
  background: var(--wx-bg);
  border-top: 1px solid var(--wx-line);
  gap: 0;
  padding: 6px 10px 10px;
}

.xin_wx_root:has(> .xin_wx_tabbar.xin_wx_hidden) > .xin_wx_tabbar { border-top: none; }

.xin_wx_tab {
  max-width: none;
  height: 40px;
  border-radius: var(--wx-r-md);
  background: transparent;
  color: var(--wx-t3);
  box-shadow: none;
  font-size: 21px;
  transition: color 0.15s ease;
}

.xin_wx_tab:active { background: var(--wx-surface); }

.xin_wx_tab.on {
  background: transparent;
  color: var(--wx-ink);
  box-shadow: none;
  font-weight: 400;
}

.xin_wx_tab-ic { font-size: 21px; line-height: 1; }

.xin_wx_tab-lb { display: none; }

.xin_wx_home { padding-bottom: 12px; background: var(--wx-bg); }

.xin_wx_home-status {
  margin: 0;
  padding: 10px 18px 12px;
  gap: 10px;
  border-radius: 0;
  background: var(--wx-bg);
  box-shadow: none;
  border-bottom: 1px solid var(--wx-line);
}

.xin_wx_home-status-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--wx-line);
  font-size: 17px;
  color: var(--wx-on-dark);
}

.xin_wx_home-status-name { font-size: calc(var(--font-size, 15px) + 1px); font-weight: 600; color: var(--wx-ink); }

.xin_wx_home-status-sign { color: var(--wx-t2); font-size: calc(var(--font-size, 15px) - 3px); }

.xin_wx_home-status-go { color: var(--wx-t3); font-size: 18px; }

.xin_wx_home-illus {
  display: block;
  height: 170px;
  margin: 12px 14px;
  padding: 0;
  border-radius: var(--wx-r-lg);
  overflow: hidden;
  background: var(--wx-surface);
  border: 1px solid var(--wx-line);
  box-shadow: none;
  cursor: pointer;
}

.xin_wx_home-illus-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.xin_wx_home-illus-ph-ic { color: var(--wx-t3); font-size: 26px; }

.xin_wx_home-illus-ph-lb { color: var(--wx-t2); font-size: calc(var(--font-size, 15px) - 3px); }

.xin_wx_home-illus-img { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--wx-surface); }

.xin_wx_home-illus-title { color: var(--wx-ink); font-size: calc(var(--font-size, 15px) - 1px); font-weight: 600; }

.xin_wx_home-illus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }

.xin_wx_home-illus-cell,
.xin_wx_home-illus-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--wx-r-md);
  background: var(--wx-surface-2);
  color: var(--wx-ink-2);
  font-size: 22px;
}

.xin_wx_home-illus-lb { color: var(--wx-t2); }

.xin_wx_home-search {
  margin: 12px 14px 0;
  height: 38px;
  border-radius: var(--wx-r-md);
  background: var(--wx-surface);
  box-shadow: none;
}

.xin_wx_home-search-ic { color: var(--wx-t2); font-size: 16px; }

.xin_wx_home-search-inp { color: var(--wx-ink); }

.xin_wx_home-search-inp::-webkit-input-placeholder { color: var(--wx-t3); }

.xin_wx_home-sec { margin: 0; }

.xin_wx_home-sec.pin { background: transparent; }

.xin_wx_home-sec-title {
  padding: 14px 18px 6px;
  color: var(--wx-t2);
  font-size: calc(var(--font-size, 15px) - 4px);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.xin_wx_home-item {
  margin: 0;
  padding: 11px 18px;
  gap: 12px;
  background: var(--wx-bg);
  border-radius: 0;
  border-bottom: 1px solid var(--wx-line);
  box-shadow: none;
  transition: background 0.15s ease;
}

.xin_wx_home-sec > .xin_wx_home-item:last-child { border-bottom: none; }

.xin_wx_home-item:active { background: var(--wx-surface); transform: none; }

.xin_wx_home-item-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--wx-line);
  box-shadow: none;
  font-size: 17px;
  color: var(--wx-on-dark);
}

.xin_wx_home-item-av.pin { border-color: var(--wx-dark); box-shadow: none; }

.xin_wx_home-item-name { font-weight: 600; color: var(--wx-ink); }

.xin_wx_home-item-time { color: var(--wx-t3); }

.xin_wx_home-item-msg { color: var(--wx-t2); }

.xin_wx_home-item-badge {
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: var(--wx-dark);
  color: var(--wx-on-dark);
  font-weight: 600;
}

.xin_wx_home-item-pin { color: var(--wx-ph); }

.xin_wx_home-item-pin.on { color: var(--wx-ink-2); }

.xin_wx_home-dock {
  background: var(--wx-bg);
  border: 1px solid var(--wx-line);
  box-shadow: none;
}

.xin_wx_home-dock-inp { color: var(--wx-t3); }

.xin_wx_home-dock-btn { background: var(--wx-dark); color: var(--wx-on-dark); box-shadow: none; }

.xin_wx_contact-search {
  margin: 12px 14px 0;
  border-radius: var(--wx-r-md);
  background: var(--wx-surface);
  box-shadow: none;
}

.xin_wx_contact-search-ic { color: var(--wx-t2); }

.xin_wx_contact-search-inp { color: var(--wx-ink); }

.xin_wx_contact-tabs { margin: 12px 14px 0; gap: 8px; }

.xin_wx_contact-tab {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--wx-line);
  background: transparent;
  color: var(--wx-ink-2);
  box-shadow: none;
  font-size: calc(var(--font-size, 15px) - 2px);
}

.xin_wx_contact-tab.on {
  background: var(--wx-dark);
  border-color: var(--wx-dark);
  color: var(--wx-on-dark);
  font-weight: 600;
}

.xin_wx_contact-tab-ic { font-size: 14px; }

.xin_wx_contact-tab-text { font-size: calc(var(--font-size, 15px) - 2px); }

.xin_wx_contact-tab-add { color: var(--wx-t2); font-size: 18px; }

.xin_wx_contact-body { padding: 12px 0 20px; }

.xin_wx_contact-card {
  background: var(--wx-bg);
  border-radius: 0;
  box-shadow: none;
}

.xin_wx_contact-nav-btn { color: var(--wx-t2); border-radius: var(--wx-r-md); }

.xin_wx_contact-nav-btn.on { background: var(--wx-surface); color: var(--wx-ink); font-weight: 600; }

.xin_wx_list {
  margin: 0;
  background: var(--wx-bg);
  border-radius: 0;
  box-shadow: none;
}

.xin_wx_item {
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--wx-line);
  background: var(--wx-bg);
}

.xin_wx_item:last-child { border-bottom: none; }

.xin_wx_item:active { background: var(--wx-surface); }

.xin_wx_item-name { font-weight: 600; color: var(--wx-ink); }

.xin_wx_item-msg { color: var(--wx-t2); }

.xin_wx_item-time { color: var(--wx-t3); }

.xin_wx_item-star { color: var(--wx-ph); }

.xin_wx_item-star.on { color: var(--wx-ink); }

.xin_wx_item-grp { color: var(--wx-ph); }

.xin_wx_item-grp.on { color: var(--wx-ink-2); }

.xin_wx_discover-banner {
  position: relative;
  margin: 12px 14px 0;
  padding: 12px 18px;
  text-align: left;
  background: var(--wx-surface);
  border: 1px solid var(--wx-line);
  border-radius: var(--wx-r-lg);
  color: var(--wx-ink-2);
  font-size: calc(var(--font-size, 15px) - 2px);
  font-weight: 400;
  box-shadow: none;
  cursor: text;
}

.xin_wx_discover-banner-edit {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--wx-t3);
  font-size: 14px;
}

.xin_wx_discover-grid { padding: 12px 14px 0; gap: 10px; }

.xin_wx_discover-card {
  gap: 7px;
  padding: 16px 10px;
  background: var(--wx-surface);
  border: 1px solid var(--wx-line);
  border-radius: var(--wx-r-lg);
  box-shadow: none;
  transition: background 0.15s ease;
}

.xin_wx_discover-card:hover { transform: none; background: var(--wx-surface-2); }

.xin_wx_discover-card:active { background: var(--wx-surface-2); }

.xin_wx_discover-card-ic {
  width: 44px;
  height: 44px;
  border-radius: var(--wx-r-md);
  background: var(--wx-bg);
  color: var(--wx-ink-2);
  font-size: 22px;
}

.xin_wx_discover-card-name { font-weight: 600; color: var(--wx-ink); }

.xin_wx_discover-card-sub { color: var(--wx-t2); }

.xin_wx_me-card,
.xin_wx_me-hero {
  margin: 0;
  padding: 22px 18px 18px;
  border-radius: 0;
  background: var(--wx-bg);
  box-shadow: none;
  border-bottom: 1px solid var(--wx-line);
}

.xin_wx_me-hero-av,
.xin_wx_avatar-lg {
  border-radius: 50%;
  border: 1px solid var(--wx-line);
  box-shadow: none;
  color: var(--wx-on-dark);
}

.xin_wx_me-hero-name { color: var(--wx-ink); }

.xin_wx_me-sign { background: var(--wx-surface); color: var(--wx-ink-2); border-radius: var(--wx-r-md); }

.xin_wx_me-url { margin-top: 12px; }

.xin_wx_me-form { margin: 14px 14px 0; }

.xin_wx_me-save,
.xin_wx_me-del { width: 100%; }

.xin_wx_chat-msgs { padding: 10px 16px 12px; }

.xin_wx_row { margin: 8px 0; gap: 8px; }

.xin_wx_row .xin_wx_avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  box-shadow: none;
  font-size: 15px;
  color: var(--wx-on-dark);
}

.xin_wx_bubble {
  max-width: 72%;
  padding: 9px 13px;
  border-radius: var(--wx-r-md);
  font-size: calc(var(--font-size, 15px) - 1px);
}

.xin_wx_bubble-char {
  background: var(--wx-surface);
  color: var(--wx-ink);
  border-radius: var(--wx-r-md) var(--wx-r-md) var(--wx-r-md) 4px;
  box-shadow: none;
}

.xin_wx_bubble-char::before { border-right-color: var(--wx-surface); }

.xin_wx_bubble-me {
  background: var(--wx-dark);
  color: var(--wx-on-dark);
  border-radius: var(--wx-r-md) var(--wx-r-md) 4px var(--wx-r-md);
  box-shadow: none;
}

.xin_wx_bubble-me::before { border-left-color: var(--wx-dark); }

.xin_wx_chat-time { color: var(--wx-t3); }

.xin_wx_chat-tip { color: var(--wx-t2); }

.xin_wx_mood { color: var(--wx-t3); }

.xin_wx_chat-bar {
  align-items: flex-end;
  gap: 8px;
  margin: 6px 12px 12px;
  padding: 7px 10px;
  background: var(--wx-bg);
  border: 1px solid var(--wx-line);
  border-radius: var(--wx-r-lg);
  box-shadow: none;
}

.xin_wx_chat-plus {
  flex-shrink: 0;
  width: 32px;
  height: 38px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--wx-t2);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}

.xin_wx_chat-plus:active { color: var(--wx-ink); }

.xin_wx_input.xin_wx_chat-input {
  height: 38px;
  border: none;
  background: var(--wx-surface);
  border-radius: var(--wx-r-md);
  padding: 0 14px;
  color: var(--wx-ink);
}

.xin_wx_input.xin_wx_chat-input::placeholder { color: var(--wx-t3); }

.xin_wx_input.xin_wx_chat-input:focus { border: none; }

.xin_wx_btn.xin_wx_chat-send {
  width: 36px;
  min-width: 36px;
  height: 36px;
  margin: 0 0 1px;
  border-radius: 50%;
  background: var(--wx-surface);
  color: var(--wx-t3);
  box-shadow: none;
  font-size: 16px;
  transition: background 0.15s ease, color 0.15s ease;
}

.xin_wx_chat-bar.has-text .xin_wx_btn.xin_wx_chat-send,
.xin_wx_chat-bar.can-reply .xin_wx_btn.xin_wx_chat-send {
  background: var(--wx-dark);
  color: var(--wx-on-dark);
}

.xin_wx_chat-mic {
  flex-shrink: 0;
  width: 32px;
  height: 38px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--wx-t2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.xin_wx_chat-mic .xin_wx_ic { width: 20px; height: 20px; }

.xin_wx_chat-mic.on { color: #E4698A; }

.xin_wx_chat-emot {
  flex-shrink: 0;
  width: 32px;
  height: 38px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--wx-t2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.xin_wx_chat-emot .xin_wx_ic { width: 20px; height: 20px; }

.xin_wx_chat-emot.on { color: #E4698A; }

.xin_wx_emoji-board { max-height: 306px; overflow-y: auto; }

.xin_wx_stk-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 2px 10px;
}

.xin_wx_stk-tabs {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.xin_wx_stk-tabs::-webkit-scrollbar { display: none; }

.xin_wx_stk-tab {
  flex: 0 0 auto;
  height: 28px;
  padding: 0 11px;
  border: 0;
  border-radius: 14px;
  background: rgba(127, 127, 127, 0.1);
  color: var(--wx-ink-2);
  font-size: 12.5px;
  cursor: pointer;
}

.xin_wx_stk-tab.on { background: #F2A6B8; color: #fff; }

.xin_wx_stk-tab.on-multi { background: #D8D8D8; color: #4A4A4A; }

.xin_wx_stk-tab-add {
  width: 28px;
  padding: 0;
  font-size: 17px;
  line-height: 1;
}

.xin_wx_stk-multi {
  padding: 2px 0 10px;
  margin-bottom: 10px;
  border-bottom: 1px dashed rgba(127, 127, 127, 0.2);
}

.xin_wx_stk-multi-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 3px 0;
}

.xin_wx_stk-count {
  font-size: 12px;
  color: var(--wx-ink-2);
}

.xin_wx_stk-btn {
  height: 26px;
  padding: 0 11px;
  border: 0;
  border-radius: 13px;
  background: rgba(127, 127, 127, 0.12);
  color: var(--wx-ink-2);
  font-size: 12px;
  cursor: pointer;
}

.xin_wx_stk-btn.primary { background: #F2A6B8; color: #fff; }

.xin_wx_stk-btn.danger { background: rgba(214, 94, 94, 0.14); color: #C25B5B; }

.xin_wx_stk-select {
  height: 26px;
  max-width: 42vw;
  padding: 0 8px;
  border: 0;
  border-radius: 13px;
  background: rgba(127, 127, 127, 0.12);
  color: var(--wx-ink-2);
  font-size: 12px;
}

.xin_wx_stk-label { font-size: 12px; color: var(--wx-t2); }

.xin_wx_stk-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.xin_wx_stk-cell {
  position: relative;
  padding-top: 100%;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--wx-surface);
  cursor: pointer;
}

.xin_wx_stk-cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xin_wx_stk-cell.on { outline: 2px solid #F2A6B8; outline-offset: -2px; }

.xin_wx_stk-check {
  position: absolute;
  top: 3px;
  right: 3px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}

.xin_wx_stk-cell.on .xin_wx_stk-check { background: #F2A6B8; }

.xin_wx_stk-empty {
  grid-column: 1 / -1;
  padding: 22px 4px;
  text-align: center;
  font-size: 12.5px;
  color: var(--wx-t3);
}

.xin_wx_stk-addbox { padding-bottom: 12px; }

.xin_wx_stk-url {
  width: 100%;
  box-sizing: border-box;
  min-height: 76px;
  max-height: 160px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: var(--wx-surface-2);
  color: var(--wx-ink);
  font-size: 12.5px;
  line-height: 1.6;
  resize: vertical;
  outline: none;
}

.xin_wx_dup-wrap { max-height: 52vh; overflow: auto; }

.xin_wx_dup-group { margin-bottom: 12px; }

.xin_wx_dup-name {
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--wx-ink-2);
}

.xin_wx_dup-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.xin_wx_dup-cell {
  position: relative;
  padding-top: 100%;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--wx-surface);
  cursor: pointer;
}

.xin_wx_dup-cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xin_wx_dup-cell.on { outline: 2px solid #D65E5E; outline-offset: -2px; opacity: 0.72; }

.xin_wx_dup-mark {
  position: absolute;
  left: 3px;
  bottom: 3px;
  padding: 0 5px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 10.5px;
  line-height: 16px;
}

.xin_wx_chat-parts {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 2px 14px 0;
}

.xin_wx_form { padding: 16px 18px 26px; }

.xin_wx_form-label { color: var(--wx-t2); }

.xin_wx_input {
  height: 42px;
  border: 1px solid var(--wx-line);
  border-radius: var(--wx-r-md);
  background: var(--wx-bg);
  color: var(--wx-ink);
}

.xin_wx_input:focus { border-color: var(--wx-ink-2); }

.xin_wx_input-area { height: 80px; }

.xin_wx_btn {
  height: 44px;
  border-radius: var(--wx-r-md);
  background: var(--wx-surface);
  color: var(--wx-ink);
  font-weight: 600;
}

.xin_wx_btn-primary {
  background: var(--wx-dark);
  color: var(--wx-on-dark);
  box-shadow: none;
}

.xin_wx_btn-danger {
  background: transparent;
  border: 1px solid var(--wx-line);
  color: var(--wx-ink-2);
}

.xin_wx_list + .xin_wx_list { margin-top: 12px; }

.xin_wx_group {
  margin: 0;
  border-radius: 0;
  background: var(--wx-bg);
  box-shadow: none;
}

.xin_wx_group-title {
  margin: 18px 18px 6px;
  color: var(--wx-t2);
  font-size: calc(var(--font-size, 15px) - 3px);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.xin_wx_cell {
  min-height: 50px;
  padding: 0 18px;
  border-bottom: 1px solid var(--wx-line);
}

.xin_wx_cell:active { background: var(--wx-surface); }

.xin_wx_cell-label { color: var(--wx-ink); }

.xin_wx_cell-sub { color: var(--wx-t3); }

.xin_wx_cell-value { color: var(--wx-t2); }

.xin_wx_cell-arr { color: var(--wx-t3); }

.xin_wx_cell-primary { color: var(--wx-ink); font-weight: 600; }

.xin_wx_cell-danger { color: var(--wx-dark); font-weight: 700; }

.xin_wx_cell-input { color: var(--wx-ink-2); }

.xin_wx_cell-select { color: var(--wx-t2); }

.xin_wx_info-row { border-bottom: 1px solid var(--wx-line); }

.xin_wx_info-k { color: var(--wx-t2); }

.xin_wx_info-v { color: var(--wx-ink); }

.xin_wx_mem p,
.xin_wx_about p { color: var(--wx-t2); }

.xin_wx_set-empty { color: var(--wx-t2); }

.xin_wx_switch { background: var(--wx-ph); border-radius: 14px; }

.xin_wx_switch::after { background: var(--wx-bg); box-shadow: none; }

.xin_wx_switch.on { background: var(--wx-dark); }

.xin_wx_seg { background: var(--wx-surface); border-radius: var(--wx-r-md); }

.xin_wx_seg-btn { border-radius: var(--wx-r-sm); color: var(--wx-t2); }

.xin_wx_seg-btn.on { background: var(--wx-bg); color: var(--wx-ink); font-weight: 600; box-shadow: none; }

.xin_wx_card {
  margin: 0;
  padding: 24px 18px;
  background: var(--wx-bg);
  border-radius: 0;
  border-bottom: 1px solid var(--wx-line);
  box-shadow: none;
}

.xin_wx_card-name { color: var(--wx-ink); }

.xin_wx_card-sub { color: var(--wx-t2); }

.xin_wx_side-mask { background: rgba(20, 20, 20, 0.35); }

.xin_wx_side {
  width: 240px;
  background: var(--wx-pop);
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.18);
}

.xin_wx_side-head { height: 56px; border-bottom: 1px solid var(--wx-line); }

.xin_wx_side-title { color: var(--wx-ink); font-weight: 600; letter-spacing: 0; }

.xin_wx_side-close { color: var(--wx-t2); }

.xin_wx_side-item { color: var(--wx-ink); border-bottom: 1px solid var(--wx-line); }

.xin_wx_side-item:active { background: var(--wx-surface); }

.xin_wx_side-item-ic { color: var(--wx-t2); }

.xin_wx_side-item-lb { color: var(--wx-ink); }

.xin_wx_side-foot { color: var(--wx-t3); }

.xin_wx_plus {
  background: var(--wx-pop);
  border: 1px solid var(--wx-line);
  border-radius: var(--wx-r-lg);
  box-shadow: var(--wx-shadow);
}

.xin_wx_plus-item { color: var(--wx-ink); }

.xin_wx_plus-item + .xin_wx_plus-item { border-top: 1px solid var(--wx-line); }

.xin_wx_plus-item:active { background: var(--wx-surface); }

.xin_wx_plus-item-icon { background: var(--wx-surface); color: var(--wx-ink-2); border-radius: var(--wx-r-sm); }

.xin_wx_modal-mask,
.xin_wx_me-mask { background: rgba(20, 20, 20, 0.42); }

.xin_wx_modal,
.xin_wx_me-switch {
  width: 320px;
  max-width: 88vw;
  padding: 18px;
  background: var(--wx-pop);
  border-radius: var(--wx-r-lg);
  box-shadow: 0 12px 34px rgba(20, 20, 20, 0.22);
}

.xin_wx_me-switch { max-height: 70vh; overflow-y: auto; }

.xin_wx_modal-title,
.xin_wx_me-switch-title { color: var(--wx-ink); font-weight: 600; text-align: center; margin-bottom: 12px; }

.xin_wx_modal-body { display: flex; flex-direction: column; gap: 9px; }

.xin_wx_modal-input {
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--wx-line);
  border-radius: var(--wx-r-md);
  background: var(--wx-bg);
  color: var(--wx-ink);
  font-size: calc(var(--font-size, 15px) - 1px);
  outline: none;
  box-sizing: border-box;
}

.xin_wx_modal-btn {
  height: 42px;
  border: 1px solid var(--wx-line);
  border-radius: var(--wx-r-md);
  background: transparent;
  color: var(--wx-ink);
  font-size: calc(var(--font-size, 15px) - 1px);
  font-weight: 600;
  cursor: pointer;
}

.xin_wx_modal-btn:active { background: var(--wx-surface); }

.xin_wx_modal-btn-primary { background: var(--wx-dark); border-color: var(--wx-dark); color: var(--wx-on-dark); }

.xin_wx_modal-btns { display: flex; gap: 9px; }

.xin_wx_modal-btns .xin_wx_modal-btn { flex: 1; }

.xin_wx_modal-grp {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border-radius: var(--wx-r-md);
  color: var(--wx-ink);
  cursor: pointer;
}

.xin_wx_modal-grp:active { background: var(--wx-surface); }

.xin_wx_modal-grp-ic { color: var(--wx-t2); }

.xin_wx_modal-grp-lb { color: var(--wx-ink); }

.xin_wx_me-switch-item.on { background: var(--wx-surface); }

.xin_wx_me-switch-item:hover { background: var(--wx-surface); }

.xin_wx_me-switch-av {
  border-radius: 50%;
  border: 1px solid var(--wx-line);
  color: var(--wx-on-dark);
}

.xin_wx_me-switch-name { color: var(--wx-ink); }

.xin_wx_me-friends { background: var(--wx-bg); box-shadow: none; border-radius: 0; }

.xin_wx_me-friends-title { color: var(--wx-t2); }

.xin_wx_me-friends-empty { color: var(--wx-t3); }

.xin_wx_me-friend-av {
  border-radius: 50%;
  border: 1px solid var(--wx-line);
  color: var(--wx-on-dark);
}

.xin_wx_me-friend-name { color: var(--wx-ink); }

.xin_wx_empty-icon { background: var(--wx-surface); color: var(--wx-t3); }

.xin_wx_empty-text { color: var(--wx-t2); }

.xin_wx_btn.xin_wx_empty-btn { border-radius: var(--wx-r-md); }

.xin_wx_toast {
  background: var(--wx-dark);
  color: var(--wx-on-dark);
  border-radius: var(--wx-r-md);
}

.xin_wx_ic { color: inherit; }

.xin_wx_avatar,
.xin_wx_avatar-lg,
.xin_wx_item-av,
.xin_wx_home-status-av,
.xin_wx_home-item-av,
.xin_wx_home-me-av,
.xin_wx_home-illus-ic,
.xin_wx_me-hero-av,
.xin_wx_me-switch-av,
.xin_wx_me-friend-av {
  background-color: var(--wx-t3);
  color: var(--wx-on-dark);
  box-shadow: none;
}

.xin_wx_avatar { border-radius: 50%; border: 1px solid var(--wx-line); }

.xin_wx_item-av { border-radius: 50%; }

.xin_wx_avatar-edit-cam {
  border: 1px solid var(--wx-line);
  background: var(--wx-bg);
  color: var(--wx-t2);
  border-radius: 50%;
}

.xin_wx_avatar-use { background: var(--wx-surface); color: var(--wx-ink); border-radius: var(--wx-r-md); }

.xin_wx_home-illus-cell:hover { background: var(--wx-surface); color: var(--wx-ink); }

.xin_wx_head-btn:active { opacity: 0.55; }

.xin_wx_btn:active { opacity: 0.88; }

.xin_wx_cell:active,
.xin_wx_item:active,
.xin_wx_home-item:active,
.xin_wx_side-item:active,
.xin_wx_tab:active,
.xin_wx_plus-item:active,
.xin_wx_me-switch-item:hover { background: var(--wx-surface); }

.xin_wx_discover-banner-text {
  display: block;
  padding-right: 42px;
  outline: none;
  min-height: 20px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xin_wx_discover-banner.editing { border-color: var(--wx-ink-2); background: var(--wx-bg); }

.xin_wx_discover-banner.editing .xin_wx_discover-banner-text {
  white-space: normal;
  overflow: visible;
  color: var(--wx-ink);
}

.xin_wx_discover-banner-edit { color: var(--wx-t2); font-size: calc(var(--font-size, 15px) - 3px); }

.xin_wx_discover-hint {
  margin: 8px 18px 0;
  color: var(--wx-t3);
  font-size: calc(var(--font-size, 15px) - 4px);
}

.xin_wx_ic {
  width: 1em;
  height: 1em;
  flex: none;
  display: inline-block;
  vertical-align: middle;
  stroke-width: 1.8;
}

.xin_wx_tab { display: flex; align-items: center; justify-content: center; }

.xin_wx_tab-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
}

.xin_wx_tab-ic .xin_wx_ic { width: 24px; height: 24px; }

.xin_wx_head-btn .xin_wx_ic { width: 20px; height: 20px; }

.xin_wx_head-left .xin_wx_head-btn .xin_wx_ic { width: 22px; height: 22px; }

.xin_wx_chat-plus .xin_wx_ic { width: 20px; height: 20px; }

.xin_wx_contact-search-ic { display: flex; align-items: center; }

.xin_wx_contact-search-ic .xin_wx_ic { width: 17px; height: 17px; }

.xin_wx_contact-tab-ic { display: flex; align-items: center; }

.xin_wx_contact-tab-ic .xin_wx_ic { width: 14px; height: 14px; }

.xin_wx_item-star .xin_wx_ic { width: 18px; height: 18px; }

.xin_wx_plus-item-icon .xin_wx_ic { width: 15px; height: 15px; }

.xin_wx_home-illus-ph-ic .xin_wx_ic { width: 26px; height: 26px; }

.xin_wx_empty-icon .xin_wx_ic { width: 34px; height: 34px; }

.xin_wx_head-right .xin_wx_head-btn:not(.xin_wx_head-chat) {
  position: static;
  right: auto;
  top: auto;
  height: 34px;
  min-width: 34px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xin_wx_head-btn.xin_wx_head-plus {
  width: 34px;
  height: 34px;
  border: 1px solid var(--wx-line);
  border-radius: 999px;
  background: var(--wx-surface);
  color: var(--wx-ink);
}

.xin_wx_head-btn.xin_wx_head-plus .xin_wx_ic { width: 17px; height: 17px; }

.xin_wx_head-btn.xin_wx_head-plus:active { background: var(--wx-surface-2); }

.xin_wx_contact-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  margin: 10px 14px 0;
  padding: 0 12px;
  border: 1px solid var(--wx-line);
  border-radius: var(--wx-r-md);
  background: var(--wx-surface);
  box-shadow: none;
}

.xin_wx_contact-search-inp {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--wx-ink);
  font-size: calc(var(--font-size, 15px) - 1px);
}

.xin_wx_modal-mask {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-view:has(.xin-wx-body) { background: var(--app-bg, #FCFCFC); }

.app-view:has(.xin-wx-body):has(.xin_wx_tabbar.xin_wx_hidden) { background: var(--app-bg, #3C3C3C); }

body.theme-dark .app-view:has(.xin-wx-body) { background: var(--app-bg, #141414); }

body.theme-dark .app-view:has(.xin-wx-body):has(.xin_wx_tabbar.xin_wx_hidden) { background: var(--app-bg, #262626); }

body:has(.xin_wx_tabbar.xin_wx_hidden) { --sb-fg: #FCFCFC; }

body:not(:has(.xin_wx_root)) .statusbar-time,
body:not(:has(.xin_wx_root)) .statusbar-icons span { color: var(--text-2); }

.app-view:has(.xin-wx-body) > .app-view-bar { border-bottom-color: transparent; }

.app-view:has(.xin-wx-body):has(.xin_wx_tabbar.xin_wx_hidden) > .app-view-bar .app-view-title,
.app-view:has(.xin-wx-body):has(.xin_wx_tabbar.xin_wx_hidden) > .app-view-bar .app-back-btn { color: #FCFCFC; }

.xin_wx_root > .xin_wx_head { border-bottom-color: transparent; }

.xin_wx_root .xin_wx_home-illus .xin_wx_home-illus-img { object-fit: cover; background: transparent; }

.xin_wx_root .xin_wx_home-item-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.xin_wx_root .xin_wx_home-item-top .xin_wx_home-item-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xin_wx_root .xin_wx_home-item-top .xin_wx_home-item-time { flex: 0 0 auto; }

.xin_wx_root .xin_wx_home-item-msgrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.xin_wx_root .xin_wx_home-item-msgrow .xin_wx_home-item-msg { flex: 1 1 auto; min-width: 0; margin-top: 0; }

.xin_wx_root .xin_wx_home-item-msgrow .xin_wx_home-item-pin { flex: 0 0 auto; margin: 0; }

.xin_wx_root .xin_wx_head-btn.xin_wx_head-chat {
  border: none;
  background: transparent;
  box-shadow: none;
  height: 52px;
  top: 0;
  padding: 0 12px;
  font-size: calc(var(--font-size, 15px) + 3px);
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--wx-t2);
}

.xin_wx_root:has(> .xin_wx_tabbar.xin_wx_hidden) > .xin_wx_head .xin_wx_head-title:not(.xin_wx_head-title-left) {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  max-width: 56%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xin_wx_root .xin_wx_bubble-me {
  background: var(--wx-bg);
  color: var(--wx-ink);
  border: 1px solid var(--wx-line);
  box-shadow: none;
}

.xin_wx_root .xin_wx_bubble-me::before { display: none; }

.xin_wx_root > .xin_wx_head .xin_wx_head-right { padding-right: 8px; }

.xin_wx_root .xin_wx_contact-tabs { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }

.xin_wx_root .xin_wx_contact-tabs::-webkit-scrollbar { width: 0; height: 0; display: none; }

.xin_wx_root .xin_wx_discover-card { background: transparent; box-shadow: none; }

.xin_wx_root .xin_wx_discover-banner { border-color: transparent; background: transparent; box-shadow: none; }

.xin_wx_root .xin_wx_discover-banner.editing { border-color: var(--wx-ink-2); }

.xin_wx_root .xin_wx_discover-banner-edit { display: none; }

.xin_wx_root .xin_wx_discover-banner-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.xin_wx_root .xin_wx_avatar-tap { cursor: pointer; }

.xin_wx_root .xin_wx_me-form .xin_wx_cell {
  display: block;
  min-height: 0;
  padding: 0;
  border-bottom: none;
}

.xin_wx_root .xin_wx_me-form .xin_wx_cell + .xin_wx_cell { margin-top: 12px; }

.xin_wx_root .xin_wx_me-form .xin_wx_cell-label {
  display: block;
  margin: 0 0 7px;
  color: var(--wx-t2);
  font-size: calc(var(--font-size, 15px) - 2px);
}

.xin_wx_root .xin_wx_me-form .xin_wx_cell-input {
  display: block;
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--wx-line);
  border-radius: var(--wx-r-md);
  background: var(--wx-bg);
  box-sizing: border-box;
  text-align: left;
}

.xin_wx_root .xin_wx_me-form .xin_wx_cell-area .xin_wx_cell-input { height: 80px; padding: 12px 14px; }

.xin_wx_root .xin_wx_me-form .xin_wx_cell-input > input,
.xin_wx_root .xin_wx_me-form .xin_wx_cell-input > textarea {
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--wx-ink);
  font-size: calc(var(--font-size, 15px) - 1px);
  font-family: inherit;
}

.xin_wx_root .xin_wx_me-form .xin_wx_cell-input > textarea { resize: none; }

.xin_wx_root:has(> .xin_wx_tabbar.xin_wx_hidden) > .xin_wx_head .xin_wx_head-btn.xin_wx_head-chat {
  border: none;
  background: transparent;
  box-shadow: none;
  color: var(--wx-t2);
  height: 52px;
  top: 0;
  padding: 0 12px;
  font-size: calc(var(--font-size, 15px) + 3px);
  font-weight: 700;
  letter-spacing: -0.2px;
}

.xin_wx_root .xin_wx_discover-card:hover,
.xin_wx_root .xin_wx_discover-card:active { background: var(--wx-surface-2); }

.xin_wx_root .xin_wx_contact .xin_wx_item-msg { display: none; }

.xin_wx_modal-mask,
.xin_wx_me-mask { background: rgba(20, 20, 20, 0.46); }

.xin_wx_modal,
.xin_wx_me-switch {
  background: var(--wx-pop, #FCFCFC);
  border: 1px solid var(--wx-line, #E4E4E4);
  color: var(--wx-ink, #141414);
  box-shadow: 0 12px 34px rgba(20, 20, 20, 0.28);
}

.xin_wx_modal-title,
.xin_wx_me-switch-title,
.xin_wx_modal-grp-lb,
.xin_wx_me-switch-name { color: var(--wx-ink, #141414); }

.xin_wx_modal-input {
  background: var(--wx-bg, #FCFCFC);
  color: var(--wx-ink, #141414);
  border: 1px solid var(--wx-line, #E4E4E4);
}

.xin_wx_modal-btn {
  background: var(--wx-bg, #FCFCFC);
  color: var(--wx-ink, #141414);
  border: 1px solid var(--wx-line, #E4E4E4);
}

.xin_wx_modal-btn-primary {
  background: var(--wx-dark, #3C3C3C);
  border-color: var(--wx-dark, #3C3C3C);
  color: var(--wx-on-dark, #FCFCFC);
}

.xin_wx_modal-btn:active,
.xin_wx_modal-grp:active { background: var(--wx-surface, #F0F0F0); }

.xin_wx_modal-grp-ic { color: var(--wx-t2, #A8A8A8); }

.xin_wx_me-switch-create {
  background: var(--wx-bg, #FCFCFC);
  color: var(--wx-ink, #141414);
}

.xin_wx_modal-grp { color: var(--wx-ink, #141414); }

.xin_wx_me-switch-item.on,
.xin_wx_me-switch-item:hover { background: var(--wx-surface, #F0F0F0); }

.xin_wx_me-switch-av { border: 1px solid var(--wx-line, #E4E4E4); }

.xin_wx_me-friends { background: var(--wx-bg, #FCFCFC); }

.xin_wx_me-friends-title { color: var(--wx-t2, #A8A8A8); }

.xin_wx_me-friends-empty { color: var(--wx-t3, #B4B4B4); }

.xin_wx_plus { background: var(--wx-pop, #FCFCFC); }

.xin_wx_plus-mask { background: rgba(20, 20, 20, 0.35); }

.xin_wx_home-dock { background: var(--wx-pop, #FCFCFC); }

.xin_wx_root:has(> .xin_wx_tabbar:not(.xin_wx_hidden)) > .xin_wx_head .xin_wx_head-title-plain,
.xin_wx_root:has(> .xin_wx_tabbar:not(.xin_wx_hidden)) > .xin_wx_head .xin_wx_head-btn.xin_wx_head-chat {
  color: var(--wx-t2);
  font-size: calc(var(--font-size, 15px) + 3px);
  font-weight: 700;
  letter-spacing: -0.2px;
}

.xin_wx_illus-modal { width: 360px; }

.xin_wx_illus-edit {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--wx-r-md, 10px);
  background: #141414;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.xin_wx_illus-edit.dragging { cursor: grabbing; }

.xin_wx_illus-edit-img {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: none;
  max-height: none;
  pointer-events: none;
  -webkit-user-drag: none;
}

.xin_wx_illus-edit-frame {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(252, 252, 252, 0.32);
}

.xin_wx_illus-edit-tip {
  margin: 9px 0 11px;
  text-align: center;
  color: var(--wx-t2, #A8A8A8);
  font-size: calc(var(--font-size, 15px) - 4px);
}

.xin_wx_root .xin_wx_discover-banner { text-align: center; }

.xin_wx_root .xin_wx_discover-banner-text {
  padding-right: 0;
  text-align: center;
}

.xin_wx_discover-hint { display: none !important; }

.pf_root .xin_wx_ic { display: block; flex: 0 0 auto; }

.xin_wx_root { --xin-rail-w: 56px; }

.xin_wx_root:has(> .xin_wx_tabbar.xin_wx_hidden) { --xin-rail-w: 0px; }

.xin_wx_root:has(> .xin_wx_tabbar.xin_wx_hidden) > .xin_wx_rail { display: none; }

.xin_wx_root > .xin_wx_head,
.xin_wx_root > .xin_wx_page { margin-left: var(--xin-rail-w); }

.xin_wx_root > .xin_wx_rail {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 56px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 0 10px;
  background: var(--wx-bg);
  border-right: 1px solid var(--wx-line);
  overflow: visible;
}

.xin_wx_rail-av {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--wx-line);
  border-radius: var(--wx-r-md);
  background: var(--wx-surface);
  color: var(--wx-on-dark);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.xin_wx_rail-av img { width: 100%; height: 100%; object-fit: cover; display: block; }

.xin_wx_rail-tab {
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: var(--wx-r-md);
  color: var(--wx-t3);
  font-family: inherit;
  font-size: 21px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color .16s ease, background-color .16s ease;
}

.xin_wx_rail-tab .xin_wx_ic { width: 21px; height: 21px; }

.xin_wx_rail-tab:hover { color: var(--wx-ink-2); }

.xin_wx_rail-tab.on { color: var(--wx-ink); background: var(--wx-surface); }

.xin_wx_rail-tab.on .xin_wx_ic { stroke-width: 2.1; }

.xin_wx_rail-tab.on::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 20px;
  margin-top: -10px;
  border-radius: 0 2px 2px 0;
  background: var(--wx-ink);
}

.xin_wx_rail-bubble {
  position: absolute;
  left: 100%;
  top: 0;
  margin-left: 8px;
  padding: 3px 8px;
  border: 1px solid var(--wx-line);
  border-radius: var(--wx-r-sm);
  background: var(--wx-pop);
  color: var(--wx-ink);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.2px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
  pointer-events: none;
  transform: translateY(-50%);
  z-index: 30;
}

.xin_wx_rail-bubble:empty { display: none; }

.xin_wx_root > .xin_wx_tabbar {
  height: 0;
  padding: 0;
  border-top: 0;
  overflow: hidden;
}

.xin_wx_head-av {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--wx-line);
  border-radius: var(--wx-r-md);
  color: var(--wx-on-dark);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}

.xin_wx_head-av img { width: 100%; height: 100%; object-fit: cover; display: block; }

.xin_wx_head-av:active { opacity: 0.85; }

.xin_wx_home-item-av,
.xin_wx_home-me-av,
.xin_wx_item-av,
.xin_wx_avatar,
.xin_wx_avatar-lg { border-radius: var(--wx-r-lg); }

.xin_wx_home-status-av,
.xin_wx_me-hero-av,
.xin_wx_me-switch-av { border-radius: var(--wx-r-xl); }

.xin_wx_home-item-av,
.xin_wx_home-me-av,
.xin_wx_home-status-av,
.xin_wx_item-av,
.xin_wx_avatar,
.xin_wx_avatar-lg { overflow: hidden; }

.xin_wx_head-btn.xin_wx_head-sbtn {
  border-radius: var(--wx-r-md);
  color: var(--wx-ink-2);
}

.xin_wx_head-btn.xin_wx_head-sbtn:active { background: var(--wx-surface); }

.xin_wx_head-searchbox { display: none; }

.xin_wx_head-searchbox.on {
  position: absolute;
  left: 6px;
  right: 92px;
  top: 9px;
  height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px 0 10px;
  border: 1px solid var(--wx-line);
  border-radius: var(--wx-r-md);
  background: var(--wx-surface);
  z-index: 3;
}

.xin_wx_head-searchbox-ic { flex: 0 0 auto; display: flex; align-items: center; color: var(--wx-t2); }

.xin_wx_head-searchbox-ic .xin_wx_ic { width: 16px; height: 16px; }

.xin_wx_head-searchbox-inp {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--wx-ink);
  font-family: inherit;
  font-size: calc(var(--font-size, 15px) - 2px);
}

.xin_wx_head-searchbox-inp::placeholder { color: var(--wx-ph); }

.xin_wx_head-searchbox-inp::-webkit-search-cancel-button { display: none; }

.xin_wx_head-searchbox-clear {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: var(--wx-r-sm);
  color: var(--wx-t2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.xin_wx_head-searchbox-clear .xin_wx_ic { width: 14px; height: 14px; }

.xin_wx_head-searchbox-clear:active { background: var(--wx-surface-2); }

.pf-empty .ic .xin_wx_ic { width: 40px; height: 40px; }

.xin_wx_root .xin_wx_head-left .xin_wx_head-en {
  display: flex;
  align-items: center;
  height: 52px;
  color: var(--wx-ink-2);
  font-size: calc(var(--font-size, 15px) + 3px);
  font-weight: 700;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.xin_wx_root:has(> .xin_wx_tabbar.xin_wx_hidden) > .xin_wx_head .xin_wx_head-en {
  color: var(--wx-head-sub-fg, var(--wx-ink-2));
}

.xin_wx_root .xin_wx_head-right .xin_wx_head-btn.xin_wx_head-plus,
.xin_wx_root:has(> .xin_wx_tabbar.xin_wx_hidden) > .xin_wx_head .xin_wx_head-btn.xin_wx_head-plus {
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: var(--wx-r-md);
  color: var(--wx-ink-2);
}

.xin_wx_root:has(> .xin_wx_tabbar.xin_wx_hidden) > .xin_wx_head .xin_wx_head-btn.xin_wx_head-plus {
  color: var(--wx-head-sub-fg, var(--wx-ink-2));
}

.xin_wx_root .xin_wx_head-btn.xin_wx_head-plus:hover,
.xin_wx_root .xin_wx_head-btn.xin_wx_head-plus:active {
  background: transparent;
  opacity: 0.55;
}

.xin_wx_root .xin_wx_illus2 {
  position: relative;
  width: 100%;
  height: 126px;
  overflow: hidden;
  background: var(--wx-surface);
  cursor: pointer;
}

.xin_wx_root .xin_wx_illus2-ph {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.xin_wx_illus2-ph-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wx-t2);
}

.xin_wx_illus2-ph-ic .xin_wx_ic { width: 26px; height: 26px; }

.xin_wx_illus2-ph-lb {
  color: var(--wx-t2);
  font-size: calc(var(--font-size, 15px) - 3px);
  line-height: 1;
}

.xin_wx_root .xin_wx_illus2-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.xin_wx_home-swipe {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.xin_wx_home-swipe .xin_wx_home-item {
  position: relative;
  z-index: 1;
  transition: transform 0.2s ease;
}

.xin_wx_home-swipe.dragging .xin_wx_home-item { transition: none; }

.xin_wx_home-swipe.open .xin_wx_home-item { transform: translateX(-84px); }

.xin_wx_home-swipe-acts {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 84px;
  display: flex;
  align-items: stretch;
  z-index: 0;
}

.xin_wx_home-swipe-act {
  flex: 1 1 auto;
  border: none;
  padding: 0;
  background: var(--wx-dark, #141414);
  color: var(--wx-on-dark, #fff);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.xin_wx_home-swipe-act.on { background: var(--wx-t2, #A8A8A8); }

.xin_wx_home-sec > .xin_wx_home-swipe:last-child .xin_wx_home-item { border-bottom: none; }

.wb_root .xin_wx_ic { display: block; flex: 0 0 auto; }

.wb-icon .xin_wx_ic { width: 22px; height: 22px; }

.wb-empty .ic .xin_wx_ic { width: 40px; height: 40px; }

.xin_wx_pick-mask {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 300;
  background: rgba(20, 20, 20, 0.34);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

body.theme-dark .xin_wx_pick-mask { background: rgba(0, 0, 0, 0.52); }

.xin_wx_pick {
  width: 100%;
  max-height: 72%;
  display: flex;
  flex-direction: column;
  background: var(--wx-pop, #FCFCFC);
  border-radius: var(--wx-r-xl, 18px) var(--wx-r-xl, 18px) 0 0;
  box-shadow: 0 -6px 24px rgba(20, 20, 20, 0.16);
  overflow: hidden;
  animation: xin_wx_pick_up 0.2s ease;
}

@keyframes xin_wx_pick_up {
  from { transform: translateY(14px); opacity: 0.4; }
  to { transform: translateY(0); opacity: 1; }
}

.xin_wx_pick-head {
  flex: 0 0 auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px 10px;
}

.xin_wx_pick-title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--wx-ink, #141414);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xin_wx_pick-cnt { flex: 0 0 auto; font-size: 12px; color: var(--wx-t3, #B4B4B4); }

.xin_wx_pick-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 4px;
}

.xin_wx_pick-empty {
  padding: 32px 18px 36px;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--wx-t2, #A8A8A8);
}

.xin_wx_pick-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
}

.xin_wx_pick-row:active { background: var(--wx-surface, #F0F0F0); }

.xin_wx_pick-av {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: var(--wx-r-md, 10px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  background: var(--wx-surface, #F0F0F0);
}

.xin_wx_pick-av img { width: 100%; height: 100%; object-fit: cover; display: block; }

.xin_wx_pick-mid { flex: 1 1 auto; min-width: 0; }

.xin_wx_pick-name {
  font-size: 14.5px;
  color: var(--wx-ink, #141414);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xin_wx_pick-sub { margin-top: 2px; font-size: 12px; color: var(--wx-t2, #A8A8A8); }

.xin_wx_pick-mark {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--wx-line, #E4E4E4);
  position: relative;
  box-sizing: border-box;
}

.xin_wx_pick-row.on .xin_wx_pick-mark {
  border-color: #07C160;
  background: #07C160;
}

.xin_wx_pick-row.on .xin_wx_pick-mark::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2.5px;
  width: 5px;
  height: 9px;
  border: solid #FFFFFF;
  border-width: 0 1.8px 1.8px 0;
  transform: rotate(45deg);
}

.xin_wx_pick-bar {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
  padding: 10px 16px 14px;
  border-top: 1px solid var(--wx-line, #E4E4E4);
}

.xin_wx_pick-btn {
  flex: 1 1 0;
  height: 42px;
  border: 1px solid var(--wx-line, #E4E4E4);
  border-radius: var(--wx-r-md, 10px);
  background: transparent;
  color: var(--wx-ink, #141414);
  font-family: inherit;
  font-size: 14.5px;
  cursor: pointer;
}

.xin_wx_pick-btn:active { background: var(--wx-surface, #F0F0F0); }

.xin_wx_pick-btn-primary {
  border-color: transparent;
  background: #07C160;
  color: #FFFFFF;
  font-weight: 600;
}

.xin_wx_pick-btn-primary:active { background: #06AD56; }

.wb-ghead-ar .xin_wx_ic { width: 14px; height: 14px; }

.xin_wx_pick-row.on .xin_wx_pick-mark {
  border-color: var(--wx-ink, #141414);
  background: var(--wx-ink, #141414);
  color: #FFFFFF;
}

.xin_wx_pick-btn-primary {
  border-color: transparent;
  background: var(--wx-ink, #141414);
  color: #FFFFFF;
}

.xin_wx_pick-btn-primary:active { background: #000000; }

.xin_wx_pick-mask { background: rgba(0, 0, 0, 0.42); }

.xin_wx_root { transition: background-color .22s ease, color .22s ease; }

.xin_wx_root[data-skin="dusk"] {
  --wx-bg: #F7F8FC;
  --wx-pop: #F7F8FC;
  --wx-surface: #EEF0F8;
  --wx-surface-2: #F3F5FA;
  --wx-line: #E1E4EF;
  --wx-ink: #1B1C24;
  --wx-ink-2: #545A6E;
  --wx-t2: #A3A9BC;
  --wx-t3: #B6BBCB;
  --wx-ph: #D4D8E4;
  --wx-dark: #2A2C38;
  --wx-head-sub-bg: #2A2C38;
  --wx-head-sub-fg: #F7F8FC;
  --wx-shadow: 0 2px 10px rgba(27, 28, 36, 0.06);
}

.xin_wx_root[data-skin="mint"] {
  --wx-bg: #F7FBF8;
  --wx-pop: #F7FBF8;
  --wx-surface: #EBF5EF;
  --wx-surface-2: #F2F9F4;
  --wx-line: #E0EEE5;
  --wx-ink: #1B2A22;
  --wx-ink-2: #4F6659;
  --wx-t2: #9DB3A7;
  --wx-t3: #B2C5BA;
  --wx-ph: #D3E4DA;
  --wx-dark: #243530;
  --wx-head-sub-bg: #243530;
  --wx-head-sub-fg: #F7FBF8;
  --wx-shadow: 0 2px 10px rgba(27, 42, 34, 0.06);
}

.xin_wx_root[data-skin="rose"] {
  --wx-bg: #FDF8F9;
  --wx-pop: #FDF8F9;
  --wx-surface: #F8EDF0;
  --wx-surface-2: #FBF3F5;
  --wx-line: #F0DFE4;
  --wx-ink: #2A1A1F;
  --wx-ink-2: #6A4C56;
  --wx-t2: #B9A0A8;
  --wx-t3: #C9B3BA;
  --wx-ph: #E8D6DB;
  --wx-dark: #3A2630;
  --wx-head-sub-bg: #3A2630;
  --wx-head-sub-fg: #FDF8F9;
  --wx-shadow: 0 2px 10px rgba(42, 26, 31, 0.06);
}

body.theme-dark .xin_wx_root[data-skin="dusk"] {
  --wx-bg: #12131A;
  --wx-pop: #1B1D26;
  --wx-surface: #1B1D26;
  --wx-surface-2: #22242E;
  --wx-line: #2C2F3B;
  --wx-ink: #E8E9F0;
  --wx-ink-2: #B4B7C6;
  --wx-t2: #8E93A6;
  --wx-t3: #757A8C;
  --wx-ph: #4A4F60;
  --wx-dark: #E8E9F0;
  --wx-head-sub-bg: #1B1D26;
  --wx-head-sub-fg: #E8E9F0;
  --wx-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

body.theme-dark .xin_wx_root[data-skin="mint"] {
  --wx-bg: #0F1613;
  --wx-pop: #18211C;
  --wx-surface: #18211C;
  --wx-surface-2: #1E2A23;
  --wx-line: #26332B;
  --wx-ink: #E4EFE8;
  --wx-ink-2: #AFC4B8;
  --wx-t2: #85998D;
  --wx-t3: #6E8074;
  --wx-ph: #3E4C44;
  --wx-dark: #E4EFE8;
  --wx-head-sub-bg: #18211C;
  --wx-head-sub-fg: #E4EFE8;
  --wx-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

body.theme-dark .xin_wx_root[data-skin="rose"] {
  --wx-bg: #171213;
  --wx-pop: #221A1D;
  --wx-surface: #221A1D;
  --wx-surface-2: #2A2023;
  --wx-line: #33262A;
  --wx-ink: #F0E6E9;
  --wx-ink-2: #C4AEB5;
  --wx-t2: #A08C93;
  --wx-t3: #887079;
  --wx-ph: #4A3A3F;
  --wx-dark: #F0E6E9;
  --wx-head-sub-bg: #221A1D;
  --wx-head-sub-fg: #F0E6E9;
  --wx-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.xin_wx_head-title:has(.xin_wx_head-title-sub) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.xin_wx_head-title-main {
  display: block;
  font-size: calc(var(--font-size, 15px) + 1px);
  font-weight: 600;
  line-height: 1.16;
}

.xin_wx_head-title-sub {
  display: block;
  font-size: 10px;
  line-height: 1.2;
  margin-top: 2px;
  opacity: 0.62;
  letter-spacing: 0.6px;
}

.xin_wx_group-sub {
  margin: 0 16px 6px;
  font-size: calc(var(--font-size, 15px) - 3px);
  color: var(--wx-t3, #B4B4B4);
  line-height: 1.5;
}

.xin_wx_note {
  padding: 12px 16px;
  font-size: calc(var(--font-size, 15px) - 3px);
  color: var(--wx-t3, #B4B4B4);
  line-height: 1.6;
}

.xin_wx_skin-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 14px;
}

.xin_wx_skin-card {
  flex: 1 1 62px;
  min-width: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  border-radius: var(--wx-r-md, 10px);
  border: 1px solid var(--wx-line);
  background: var(--wx-surface-2);
  cursor: pointer;
}

.xin_wx_skin-card.on { border-color: var(--wx-ink); }

.xin_wx_skin-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.xin_wx_skin-card[data-skin="ink"] .xin_wx_skin-dot { background: linear-gradient(135deg, #FCFCFC, #F0F0F0); }

.xin_wx_skin-card[data-skin="dusk"] .xin_wx_skin-dot { background: linear-gradient(135deg, #F7F8FC, #2A2C38); }

.xin_wx_skin-card[data-skin="mint"] .xin_wx_skin-dot { background: linear-gradient(135deg, #F7FBF8, #243530); }

.xin_wx_skin-card[data-skin="rose"] .xin_wx_skin-dot { background: linear-gradient(135deg, #FDF8F9, #3A2630); }

.xin_wx_skin-name { font-size: calc(var(--font-size, 15px) - 3px); color: var(--wx-ink-2); }

.xin_wx_page.xin_wx_api .xin_wx_group-title { margin-bottom: 10px; }

.xin_wx_page.xin_wx_api .xin_wx_cell { border-bottom: none; }

.xin_wx_page.xin_wx_api .xin_wx_cell-label { color: var(--wx-ink-2); }

.xin_wx_page.xin_wx_api .xin_wx_cell-select {
  -webkit-appearance: none;
  appearance: none;
  min-width: 132px;
  max-width: 62vw;
  height: 34px;
  padding: 0 30px 0 12px;
  border: 1px solid var(--wx-line);
  border-radius: 10px;
  background-color: var(--wx-surface-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A8A8A8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
  background-size: 11px 11px;
  color: var(--wx-ink-2);
  text-align: left;
  outline: none;
}

.xin_wx_page.xin_wx_api .xin_wx_cell-select:disabled { opacity: 0.5; }

.xin_wx_page.xin_wx_api .xin_wx_cell-select option { color: #141414; background: #FCFCFC; }

.xin_wx_page.xin_wx_api .xin_wx_api-fetch {
  height: 32px;
  padding: 0 16px;
  border: 1px solid var(--wx-line);
  border-radius: 16px;
  background: var(--wx-surface-2);
  color: var(--wx-ink);
  font-size: calc(var(--font-size, 15px) - 2px);
  font-family: inherit;
  cursor: pointer;
}

.xin_wx_page.xin_wx_api .xin_wx_api-fetch:active { background: var(--wx-surface); }

.xin_wx_page.xin_wx_api .xin_wx_api-fetch:disabled { opacity: 0.55; }

.xin_wx_skin-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 4px 18px 16px;
}

.xin_wx_skin-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 74px;
  padding: 12px 4px;
  border: 1px solid var(--wx-line);
  border-radius: 14px;
  background: var(--wx-surface-2);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.xin_wx_skin-tile.on {
  border-color: var(--wx-ink);
  background: var(--wx-bg);
}

.xin_wx_skin-tile-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.xin_wx_skin-tile[data-skin="ink"] .xin_wx_skin-tile-dot { background: linear-gradient(135deg, #FCFCFC, #F0F0F0); }

.xin_wx_skin-tile[data-skin="dusk"] .xin_wx_skin-tile-dot { background: linear-gradient(135deg, #F7F8FC, #2A2C38); }

.xin_wx_skin-tile[data-skin="mint"] .xin_wx_skin-tile-dot { background: linear-gradient(135deg, #F7FBF8, #243530); }

.xin_wx_skin-tile[data-skin="rose"] .xin_wx_skin-tile-dot { background: linear-gradient(135deg, #FDF8F9, #3A2630); }

.xin_wx_skin-tile-name {
  font-size: calc(var(--font-size, 15px) - 3px);
  color: var(--wx-t2);
}

.xin_wx_skin-tile.on .xin_wx_skin-tile-name { color: var(--wx-ink); font-weight: 600; }

.xin_wx_beautify-code {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 300px;
  margin: 0;
  padding: 12px 18px 14px;
  border: none;
  background: transparent;
  color: var(--wx-ink-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.65;
  outline: none;
  resize: vertical;
}

.xin_wx_beautify-code::placeholder { color: var(--wx-ph); }

.xin_wx_act-row {
  display: flex;
  margin: 12px 18px 14px;
  border: 1px solid var(--wx-line);
  border-radius: var(--wx-r-md);
  overflow: hidden;
}

.xin_wx_act-row .xin_wx_cell {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: none;
  border-radius: 0;
  justify-content: center;
  background: transparent;
}

.xin_wx_act-row .xin_wx_cell + .xin_wx_cell { border-left: 1px solid var(--wx-line); }

.xin_wx_act-row .xin_wx_cell-label {
  text-align: center;
  font-size: calc(var(--font-size, 15px) - 1px);
  font-weight: 600;
  color: var(--wx-ink);
}

.xin_wx_act-row .xin_wx_cell:active { background: var(--wx-surface-2); }

.xin_wx_act-row .xin_wx_cell-primary .xin_wx_cell-label { color: var(--wx-ink); font-weight: 600; }

.xin_wx_act-row .xin_wx_cell-danger .xin_wx_cell-label { color: var(--wx-t2); font-weight: 500; }

.xin_wx_modal-text {
  color: var(--wx-t2, #A08C93);
  font-size: calc(var(--font-size, 15px) - 2px);
  line-height: 1.55;
  text-align: center;
  word-break: break-word;
}

.xin_wx_api-preset { max-width: 62vw; }

.xin_wx_chat-more {
  display: block;
  width: 100%;
  margin: 4px 0 10px;
  padding: 8px 0;
  border: none;
  border-radius: 999px;
  background: var(--wx-surface, #fff);
  color: var(--wx-t2, #A08C93);
  font-size: calc(var(--font-size, 15px) - 2px);
  cursor: pointer;
}

.xin_wx_chat-think { width: 100%; margin: 4px 0 0; }

.xin_wx_chat-think-head {
  display: inline-block;
  padding: 2px 8px;
  border: 1px dashed var(--wx-line, rgba(0,0,0,0.12));
  border-radius: 999px;
  background: transparent;
  color: var(--wx-t3, #B6A6A6);
  font-size: calc(var(--font-size, 15px) - 3px);
  cursor: pointer;
}

.xin_wx_chat-think-body {
  display: none;
  margin-top: 4px;
  padding: 8px 10px;
  border-radius: var(--wx-r-md, 10px);
  background: var(--wx-surface, #fff);
  color: var(--wx-t2, #A08C93);
  font-size: calc(var(--font-size, 15px) - 2px);
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.xin_wx_chat-think.on .xin_wx_chat-think-body { display: block; }

.xin_wx_prev { padding: 4px 2px 10px; display: flex; flex-direction: column; gap: 10px; }

.xin_wx_prev-row { display: flex; align-items: center; gap: 10px; }

.xin_wx_prev-av {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 14px; overflow: hidden;
  background: var(--wx-dark, #4A4040);
  color: var(--wx-on-dark, #fff);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 600;
}

.xin_wx_prev-av img { width: 100%; height: 100%; object-fit: cover; }

.xin_wx_prev-col { min-width: 0; }

.xin_wx_prev-name { color: var(--wx-ink, #3C3232); font-size: calc(var(--font-size, 15px) - 1px); font-weight: 600; }

.xin_wx_prev-sub { margin-top: 2px; color: var(--wx-t3, #B6A6A6); font-size: calc(var(--font-size, 15px) - 3px); }

.xin_wx_num { display: flex; align-items: center; gap: 8px; }

.xin_wx_num-btn {
  width: 28px; height: 28px; padding: 0;
  border: 1px solid var(--wx-line, rgba(0,0,0,0.12));
  border-radius: 50%;
  background: var(--wx-surface, #fff);
  color: var(--wx-ink-2, #6B5B5B);
  font-size: 16px; line-height: 1;
  cursor: pointer;
}

.xin_wx_num-val {
  min-width: 44px; text-align: center;
  color: var(--wx-ink, #3C3232);
  font-size: calc(var(--font-size, 15px) - 1px);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.xin_wx_search-list { max-height: 46vh; overflow-y: auto; margin-top: 10px; }

.xin_wx_search-row {
  padding: 8px 10px; margin-bottom: 6px;
  border-radius: var(--wx-r-md, 10px);
  background: var(--wx-surface, #fff);
}

.xin_wx_search-sender { color: var(--wx-t3, #B6A6A6); font-size: calc(var(--font-size, 15px) - 3px); }

.xin_wx_search-text {
  margin-top: 3px;
  color: var(--wx-ink, #3C3232);
  font-size: calc(var(--font-size, 15px) - 2px);
  line-height: 1.55;
  word-break: break-word;
}

.xin_wx_fav-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.xin_wx_fav-name {
  flex-shrink: 0;
  color: var(--wx-t3, #B6A6A6);
  font-size: calc(var(--font-size, 15px) - 3px);
}

.xin_wx_fav-row .xin_wx_search-text { flex: 1; margin-top: 0; }

.xin_wx_fav-del {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 8px;
  color: var(--wx-t2, #A08C93);
  font-size: calc(var(--font-size, 15px) - 3px);
  cursor: pointer;
}

.xin_wx_fav-del:active { background: rgba(0, 0, 0, 0.06); }

.xin_wx_pick-sec { padding: 2px 0; }

.xin_wx_pick-sec-head {
  padding: 10px 14px 4px;
  font-size: 12px;
  color: var(--wx-t3, #B4B4B4);
  letter-spacing: 0.3px;
}

body.theme-dark .xin_wx_pick-sec-head { color: var(--wx-t3, #8A8A8A); }

.xin_wx_page.xin_wx_cs { padding: 12px 14px 30px; background: var(--wx-surface-2); }

body.theme-dark .xin_wx_page.xin_wx_cs { background: var(--wx-bg); }

.xin_wx_fold {
  margin: 0 0 12px;
  border: 1px solid var(--wx-line);
  border-radius: var(--wx-r-lg, 14px);
  background: var(--wx-bg);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

body.theme-dark .xin_wx_fold { background: var(--wx-surface-2); border-color: transparent; }

.xin_wx_fold-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; transition: background 0.15s ease; }

.xin_wx_fold-head:active { background: var(--wx-surface); }

.xin_wx_fold-headcol { flex: 1; min-width: 0; }

.xin_wx_fold-title { font-size: calc(var(--font-size, 15px) - 1px); font-weight: 600; color: var(--wx-ink); }

.xin_wx_fold-sub { margin-top: 3px; font-size: calc(var(--font-size, 15px) - 3px); color: var(--wx-t3); line-height: 1.5; }

.xin_wx_fold-arr { flex-shrink: 0; width: 16px; text-align: center; font-size: 15px; line-height: 1; color: var(--wx-t3); transition: transform 0.22s ease; }

.xin_wx_fold.open .xin_wx_fold-arr { transform: rotate(90deg); }

.xin_wx_fold-body { display: none; border-top: 1px solid var(--wx-line); }

.xin_wx_fold.open .xin_wx_fold-body { display: block; }

.xin_wx_fold-body .xin_wx_cell { padding: 0 16px; }

.xin_wx_fold-body .xin_wx_note { padding: 14px 16px; }

.xin_wx_fold-body .xin_wx_prev { padding: 14px 16px 12px; gap: 12px; }

.xin_wx_fold-body .xin_wx_act-row { margin: 12px 16px 14px; }

.xin_wx_fold-body .xin_wx_act-row .xin_wx_cell { padding: 0 12px; }

.xin_wx_stack { padding: 13px 16px; border-bottom: 1px solid var(--wx-line); }

.xin_wx_stack:last-child { border-bottom: none; }

.xin_wx_stack-head { display: flex; align-items: center; gap: 12px; }

.xin_wx_stack-left { flex: 1; min-width: 0; }

.xin_wx_stack-label { font-size: calc(var(--font-size, 15px) - 1px); color: var(--wx-ink); }

.xin_wx_stack-sub { margin-top: 3px; font-size: calc(var(--font-size, 15px) - 3px); color: var(--wx-t3); line-height: 1.5; }

.xin_wx_stack-ctrl { margin-top: 11px; }

.xin_wx_stack-ctrl .xin_wx_seg { width: 100%; }

.xin_wx_stack-ctrl .xin_wx_seg-btn { height: 32px; }

.xin_wx_num .xin_wx_input.xin_wx_num-input {
  width: 92px;
  height: 34px;
  padding: 0 10px;
  text-align: center;
  border-radius: 10px;
  font-variant-numeric: tabular-nums;
}

.xin_wx_num-hint { margin-left: 8px; font-size: calc(var(--font-size, 15px) - 5px); color: var(--wx-t3); letter-spacing: 0.3px; }

.xin_wx_msg-col { display: flex; flex-direction: column; align-items: flex-start; max-width: 82%; min-width: 0; }

.xin_wx_msg-line { display: flex; align-items: flex-end; gap: 8px; max-width: 100%; min-width: 0; }

.xin_wx_msg-line .xin_wx_bubble { min-width: 0; }

.xin_wx_msg-col-av .xin_wx_msg-name,
.xin_wx_msg-col-av .xin_wx_msg-proc,
.xin_wx_msg-col-av .xin_wx_msg-foot,
.xin_wx_msg-col-av .xin_wx_inner { padding-left: 42px; }

.xin_wx_row-me .xin_wx_msg-col-av .xin_wx_msg-name,
.xin_wx_row-me .xin_wx_msg-col-av .xin_wx_msg-proc,
.xin_wx_row-me .xin_wx_msg-col-av .xin_wx_msg-foot,
.xin_wx_row-me .xin_wx_msg-col-av .xin_wx_inner { padding-left: 0; padding-right: 42px; }

.xin_wx_row-me .xin_wx_msg-col { align-items: flex-end; }

.xin_wx_msg-col .xin_wx_bubble { max-width: 100%; }

.xin_wx_msg-name { margin: 0 0 3px 4px; font-size: calc(var(--font-size, 15px) - 4px); color: var(--wx-t3); letter-spacing: 0.3px; line-height: 1.2; }

.xin_wx_msg-time { font-size: calc(var(--font-size, 15px) - 5px); color: var(--wx-t3); letter-spacing: 0.4px; line-height: 1.2; }

.xin_wx_msg-proc { display: flex; align-items: center; justify-content: flex-start; gap: 6px; flex-wrap: wrap; width: 100%; margin-bottom: 5px; }

.xin_wx_proc-chip {
  display: inline-block;
  padding: 2px 9px;
  border: 1px dashed var(--wx-line, rgba(0,0,0,0.12));
  border-radius: 999px;
  background: transparent;
  color: var(--wx-t3, #B6A6A6);
  font-size: calc(var(--font-size, 15px) - 3px);
  line-height: 1.6;
  cursor: pointer;
}

.xin_wx_proc-chip:active { border-style: solid; color: var(--wx-t2, #A08C93); }

.xin_wx_msg-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; margin-top: 3px; }

.xin_wx_inner.on { display: block; }

.xin_wx_proc-mask {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(20, 16, 16, 0.38);
}

.xin_wx_proc {
  width: 100%;
  max-width: 380px;
  max-height: 72vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--wx-r-lg, 16px);
  background: var(--wx-surface, #fff);
  box-shadow: 0 14px 36px rgba(40, 30, 30, 0.22);
}

.xin_wx_proc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--wx-line, rgba(0,0,0,0.08));
}

.xin_wx_proc-title { font-size: calc(var(--font-size, 15px) - 1px); font-weight: 600; color: var(--wx-ink, #141414); }

.xin_wx_proc-close {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--wx-t2, #A08C93);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.xin_wx_proc-body { padding: 12px 14px; overflow: auto; color: var(--wx-ink, #141414); }

.xin_wx_proc-text { font-size: calc(var(--font-size, 15px) - 2px); line-height: 1.75; color: var(--wx-t2, #A08C93); white-space: pre-wrap; word-break: break-word; }

.xin_wx_proc-list { display: flex; flex-direction: column; gap: 10px; }

.xin_wx_proc-item { padding: 9px 10px; border-radius: var(--wx-r-md, 10px); background: var(--wx-soft, rgba(0,0,0,0.03)); }

.xin_wx_proc-item-bad { background: rgba(204, 70, 70, 0.08); }

.xin_wx_proc-item-head { display: flex; align-items: center; gap: 6px; }

.xin_wx_proc-idx {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: 999px;
  background: var(--wx-line, rgba(0,0,0,0.12));
  color: var(--wx-t2, #A08C93);
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}

.xin_wx_proc-name { flex: 1 1 auto; min-width: 0; font-size: calc(var(--font-size, 15px) - 2px); color: var(--wx-ink, #141414); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.xin_wx_proc-state { flex: 0 0 auto; font-size: calc(var(--font-size, 15px) - 4px); color: var(--wx-t3, #B6A6A6); font-variant-numeric: tabular-nums; }

.xin_wx_proc-item-bad .xin_wx_proc-state { color: #CC4646; }

.xin_wx_proc-args,
.xin_wx_proc-res {
  margin: 6px 0 0;
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--wx-surface, #fff);
  color: var(--wx-t2, #A08C93);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: calc(var(--font-size, 15px) - 4px);
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 220px;
  overflow: auto;
}

.xin_wx_proc-res { color: var(--wx-ink, #141414); }

.xin_wx_moodline { margin-top: 5px; max-width: 100%; }

.xin_wx_mood-tag {
  display: inline-block;
  padding: 2px 9px;
  border: 1px dashed var(--wx-line, rgba(0,0,0,0.12));
  border-radius: 999px;
  background: transparent;
  color: var(--wx-t3, #B6A6A6);
  font-size: calc(var(--font-size, 15px) - 3px);
  cursor: pointer;
}

.xin_wx_moodline.on .xin_wx_mood-tag { color: var(--wx-t2, #A08C93); border-style: solid; }

.xin_wx_inner {
  display: none;
  margin-top: 5px;
  padding: 8px 10px;
  border-radius: var(--wx-r-md, 10px);
  background: var(--wx-surface, #fff);
  color: var(--wx-t2, #A08C93);
  font-size: calc(var(--font-size, 15px) - 2px);
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.xin_wx_moodline.on .xin_wx_inner { display: block; }

.xin_wx_panel-mask {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 16, 16, 0.38);
}

.xin_wx_panel {
  width: 100%;
  max-width: 340px;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--wx-r-lg, 16px);
  background: var(--wx-surface, #fff);
  box-shadow: 0 14px 36px rgba(40, 30, 30, 0.22);
}

.xin_wx_panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--wx-line, rgba(0,0,0,0.08));
}

.xin_wx_panel-title { font-size: calc(var(--font-size, 15px) - 1px); font-weight: 600; color: var(--wx-ink, #141414); }

.xin_wx_panel-close {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--wx-t2, #A08C93);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.xin_wx_panel-body {
  padding: 12px 14px;
  overflow: auto;
  color: var(--wx-ink, #141414);
  font-size: calc(var(--font-size, 15px) - 1px);
  line-height: 1.7;
  word-break: break-word;
}

.xin_wx_feat-sec { margin-top: 8px; padding-bottom: 18px; }

.xin_wx_feat-sec .xin_wx_group { margin: 14px 14px 10px; }

.xin_wx_feat-sec > .xin_wx_note { padding: 4px 16px 12px; }

.xin_wx_feat-sec .xin_wx_fold { margin: 0 14px 12px; }

.xin_wx_sel { display: flex; align-items: center; justify-content: flex-end; }

.xin_wx_sel-input {
  max-width: 44vw;
  padding: 6px 8px;
  border: 1px solid var(--wx-line, rgba(0,0,0,0.12));
  border-radius: 9px;
  background: var(--wx-surface, #fff);
  color: var(--wx-ink, #141414);
  font-size: calc(var(--font-size, 15px) - 2px);
}

.xin_wx_sel-input:disabled { color: var(--wx-t3, #B4B4B4); }

.xin_wx_modal-textarea {
  width: 100%;
  min-height: 168px;
  padding: 10px 12px;
  border: 1px solid var(--wx-line, rgba(0,0,0,0.12));
  border-radius: var(--wx-r-md, 10px);
  background: var(--wx-input, #fff);
  color: var(--wx-ink, #141414);
  font-family: inherit;
  font-size: calc(var(--font-size, 15px) - 2px);
  line-height: 1.65;
  resize: vertical;
  box-sizing: border-box;
}

.xin_wx_bmenu-layer {
  position: absolute;
  inset: 0;
  z-index: 70;
}

.xin_wx_bmenu {
  position: absolute;
  display: grid;
  gap: 0;
  padding: 7px;
  border-radius: 12px;
  background: rgba(58, 58, 58, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.26);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: xin_wx_bmenu-in 0.12s ease-out;
}

@keyframes xin_wx_bmenu-in {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

.xin_wx_bmenu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  min-width: 54px;
  height: 56px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #FCFCFC;
  font-size: 11px;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
}

.xin_wx_bmenu-item:active { background: rgba(255, 255, 255, 0.14); }

.xin_wx_bmenu-item-i {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.xin_wx_bmenu-item-t {
  font-size: 11px;
  color: inherit;
  white-space: nowrap;
}

.xin_wx_bmenu-item.danger { color: #FF8F7D; }

.xin_wx_selbar {
  display: none;
  flex-shrink: 0;
  align-items: center;
  gap: 4px;
  margin: 6px 14px 12px;
  padding: 8px 10px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 5px 16px rgba(190, 170, 160, 0.16);
}

.xin_wx_selbar.on { display: flex; }

.xin_wx_selbar-count {
  flex: 1;
  padding-left: 6px;
  font-size: calc(var(--font-size, 15px) - 2px);
  color: var(--wx-t2, #A08C93);
}

.xin_wx_selbar-btn {
  border: none;
  border-radius: 14px;
  padding: 7px 12px;
  background: transparent;
  color: var(--wx-ink, #141414);
  font-family: inherit;
  font-size: calc(var(--font-size, 15px) - 2px);
  cursor: pointer;
}

.xin_wx_selbar-btn:active { background: rgba(0, 0, 0, 0.06); }

.xin_wx_selbar-btn[disabled] { opacity: 0.38; }

.xin_wx_selbar-btn.danger { color: #D9534F; }

.xin_wx_chat.selmode .xin_wx_chat-bar { display: none; }

.xin_wx_chat-msgs-sel .xin_wx_row { cursor: pointer; }

.xin_wx_row-sel .xin_wx_bubble {
  outline: 2px solid var(--wx-accent, #C98A9A);
  outline-offset: 1px;
}

.xin_wx_row-sel .xin_wx_avatar { opacity: 0.55; }

@keyframes xin_wx_flash {
  0% { background: rgba(201, 138, 154, 0.34); }
  100% { background: transparent; }
}

.xin_wx_row-flash {
  border-radius: 12px;
  animation: xin_wx_flash 1.7s ease-out 1;
}

.xin_wx_fav-jump { cursor: pointer; }

.xin_wx_fav-jump:active { background: rgba(201, 138, 154, 0.12); }

.xin_wx_media-img { max-width: 62%; }

.xin_wx_media-stk { max-width: 34%; min-width: 64px; }

.xin_wx_media-stk img {
  display: block;
  width: 100%;
  border-radius: 8px;
  cursor: zoom-in;
  background: transparent;
}

.xin_wx_media-img img {
  display: block;
  width: 100%;
  border-radius: var(--wx-r-lg, 16px);
  cursor: zoom-in;
}

.xin_wx_media-view {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(12, 10, 10, 0.82);
}

.xin_wx_media-view img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
}

.xin_wx_media-audio { display: flex; flex-direction: column; gap: 6px; }

.xin_wx_media-play {
  align-self: flex-start;
  padding: 7px 12px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--wx-ink, #141414);
  font-size: calc(var(--font-size, 15px) - 2px);
  cursor: pointer;
}

.xin_wx_media-play:active { opacity: 0.7; }

.xin_wx_media-text { font-size: calc(var(--font-size, 15px) - 1px); line-height: 1.6; }

.xin_wx_bmenu.up { transform-origin: 50% 100%; }

.xin_wx_bmenu.down { transform-origin: 50% 0; }

.xin_wx_bmenu-arrow {
  position: absolute;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 2px;
  background: rgba(58, 58, 58, 0.94);
  transform: rotate(45deg);
}

.xin_wx_bmenu.up .xin_wx_bmenu-arrow { bottom: -5px; }

.xin_wx_bmenu.down .xin_wx_bmenu-arrow { top: -5px; }

.xin_wx_selbar { flex-wrap: wrap; row-gap: 6px; }

.xin_wx_selbar .xin_wx_selbar-btn { padding: 7px 10px; }

.xin_wx_selbar-count { flex: 1 1 100%; padding-left: 2px; }

.xin_wx_selbar-btn.xin_wx_selbar-all { color: var(--wx-t2, #A08C93); }

.xin_wx_favs { padding-bottom: 20px; }

.xin_wx_favs-bar { margin: 12px 14px 6px; }

.xin_wx_favs .xin_wx_search-list { max-height: none; overflow: visible; margin: 8px 14px 0; }

.xin_wx_fav-block { margin-bottom: 14px; }

.xin_wx_fav-who {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 2px 6px;
  color: var(--wx-t2, #A08C93);
  font-size: calc(var(--font-size, 15px) - 3px);
}

.xin_wx_fav-tag {
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  color: var(--wx-t3, #B6A6A6);
  font-size: calc(var(--font-size, 15px) - 4px);
}

.xin_wx_fav-card {
  position: relative;
  padding: 9px 10px;
  margin-bottom: 6px;
  border-radius: var(--wx-r-md, 10px);
  background: var(--wx-surface, #fff);
}

.xin_wx_fav-card .xin_wx_media-play { padding: 5px 10px; }

.xin_wx_fav-img {
  max-width: 100%;
  max-height: 180px;
  border-radius: 10px;
  display: block;
  cursor: pointer;
}

.xin_wx_fav-del {
  position: absolute;
  top: 6px;
  right: 8px;
}

.xin_wx_cplus-layer {
  position: absolute;
  inset: 0;
  z-index: 72;
  display: flex;
  align-items: flex-end;
  background: rgba(20, 20, 20, 0.35);
}

.xin_wx_cplus {
  width: 100%;
  max-height: 62vh;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 18px 14px 14px;
  border-radius: 18px 18px 0 0;
  background: var(--wx-pop, #FCFCFC);
  box-shadow: 0 -8px 26px rgba(0, 0, 0, 0.18);
  animation: xin_wx_cplus-in 0.16s ease-out;
}

@keyframes xin_wx_cplus-in {
  from { transform: translateY(28px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.xin_wx_cplus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 6px;
}

.xin_wx_cplus-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--wx-ink);
  cursor: pointer;
}

.xin_wx_cplus-abbr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--wx-surface);
  color: var(--wx-ink-2);
  font-size: 16px;
  font-weight: 600;
}

.xin_wx_cplus-item:active .xin_wx_cplus-abbr { background: rgba(242, 166, 184, 0.18); }

.xin_wx_cplus-text { font-size: 12px; line-height: 1; }

.xin_wx_cplus-tip {
  margin: 14px 0 10px;
  text-align: center;
  font-size: 11px;
  color: var(--wx-ink-2);
}

.xin_wx_cplus-cancel {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--wx-surface);
  color: var(--wx-ink);
  font-size: 14px;
  cursor: pointer;
}

.xin_wx_sum-list {
  max-height: 46vh; overflow: auto;
  padding: 10px 12px; border-radius: 12px;
  background: var(--wx-surface);
  font-size: 13px; line-height: 1.75; color: var(--wx-ink);
}
.xin_wx_sum-item { padding: 3px 0; white-space: pre-wrap; word-break: break-word; }
.xin_wx_sum-item + .xin_wx_sum-item { border-top: 1px solid var(--wx-line, rgba(0,0,0,0.06)); }

.xin_wx_cover { display: block; width: 176px; cursor: pointer; }
.xin_wx_cover-face {
  display: flex; align-items: center; justify-content: center;
  width: 176px; height: 132px; border-radius: 10px;
  background: linear-gradient(150deg, rgba(242,166,184,0.24), rgba(160,180,220,0.22));
  color: var(--wx-t2); font-size: 12px; overflow: hidden;
}
.xin_wx_cover-face img { width: 100%; height: 100%; object-fit: cover; }
.xin_wx_cover-tag {
  position: absolute; right: 8px; bottom: 8px;
  padding: 2px 7px; border-radius: 8px;
  background: rgba(0,0,0,0.35); color: #fff; font-size: 10px;
}
.xin_wx_cover-wrap { position: relative; }
.xin_wx_cover-text { display: none; padding: 6px 2px 0; white-space: pre-wrap; word-break: break-word; }
.xin_wx_cover.on .xin_wx_cover-face { display: none; }
.xin_wx_cover.on .xin_wx_cover-text {
  display: flex; align-items: center; justify-content: center; text-align: center;
  box-sizing: border-box; width: 176px; min-height: 132px; max-height: 260px;
  padding: 12px; overflow: auto; font-size: 13px; line-height: 1.7;
}
.xin_wx_fvoice {
  display: inline-flex; align-items: center; gap: 7px;
  min-width: 74px; padding: 7px 12px;
  border: 0; border-radius: 10px;
  background: var(--wx-surface); color: var(--wx-ink);
  font-size: 13px; cursor: pointer;
}
.xin_wx_fvoice .xin_wx_ic { width: 15px; height: 15px; }
.xin_wx_fvoice-txt { display: none; margin-top: 6px; white-space: pre-wrap; word-break: break-word; }
.xin_wx_fvoice-wrap.on .xin_wx_fvoice-txt { display: block; }
.xin_wx_transfer {
  width: 176px; padding: 12px 12px 10px;
  border-radius: 10px;
  background: linear-gradient(160deg, #F7B95C, #EE9B3C);
  color: #fff;
}
.xin_wx_transfer-amt { font-size: 19px; font-weight: 600; line-height: 1.2; }
.xin_wx_transfer-note { margin-top: 4px; font-size: 12px; opacity: 0.92; word-break: break-word; }
.xin_wx_transfer-foot { margin-top: 10px; padding-top: 7px; border-top: 1px solid rgba(255,255,255,0.35); font-size: 11px; opacity: 0.9; }


.xin_wx_search-bar { display: flex; align-items: center; gap: 8px; }
.xin_wx_search-bar .xin_wx_input { flex: 1; }
.xin_wx_search-go {
  flex-shrink: 0; min-width: 64px; height: 42px; padding: 0 16px;
  border: none; border-radius: 14px;
  background: linear-gradient(135deg, #F2A6B8 0%, #E9C6A0 100%);
  color: #fff; font-size: calc(var(--font-size, 15px) - 1px); font-weight: 600;
  cursor: pointer; transition: opacity 0.15s ease;
}
.xin_wx_search-go:active { opacity: 0.82; }

.xin_wx_head-title.xin_wx_head-typing .xin_wx_head-title-sub {
  opacity: 1;
  color: var(--wx-t2, #A8A8A8);
  animation: xin_wx_head-typing 1.05s ease-in-out infinite;
}
@keyframes xin_wx_head-typing {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.42; }
}

.xin_wx_quotebar {
  flex-shrink: 0;
  display: none;
  align-items: center;
  gap: 8px;
  margin: 0 14px 6px;
  padding: 8px 12px;
  border-radius: 12px;
  border-left: 3px solid var(--wx-t3, #B4B4B4);
  background: var(--wx-surface, #F0F0F0);
}
.xin_wx_quotebar.on { display: flex; }
.xin_wx_quotebar-col { flex: 1; min-width: 0; }
.xin_wx_quotebar-name { font-size: calc(var(--font-size, 15px) - 4px); color: var(--wx-t2, #A8A8A8); }
.xin_wx_quotebar-text {
  margin-top: 2px;
  font-size: calc(var(--font-size, 15px) - 3px);
  color: var(--wx-ink-2, #3D3D3D);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.xin_wx_quotebar-x {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--wx-t3, #B4B4B4);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.xin_wx_quote {
  margin-bottom: 6px;
  padding: 6px 9px;
  border-radius: 8px;
  border-left: 3px solid currentColor;
  background: rgba(0, 0, 0, 0.06);
  opacity: 0.86;
  cursor: pointer;
}
.xin_wx_quote-name { font-size: calc(var(--font-size, 15px) - 4px); opacity: 0.8; }
.xin_wx_quote-text {
  display: -webkit-box;
  margin-top: 2px;
  font-size: calc(var(--font-size, 15px) - 3px);
  line-height: 1.4;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.xin_wx_bubble-plain { white-space: pre-wrap; }

.xin_wx_bubble-media,
.xin_wx_bubble-media.xin_wx_bubble-char,
.xin_wx_bubble-media.xin_wx_bubble-me {
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.xin_wx_bubble-media::before { display: none; }

.xin_wx_bubble-media .xin_wx_media-img { max-width: 62vw; }

.xin_wx_row-hidden{display:flex;justify-content:center;padding:2px 0}
.xin_wx_hidden-tip{border:0;font-size:12px;line-height:1.6;color:#8a8f99;padding:4px 12px;border-radius:12px;background:rgba(127,127,127,.12)}
.xin_wx_modal-range{display:flex;align-items:center;gap:6px;margin:8px 0}
.xin_wx_modal-num{width:66px;text-align:center;padding:4px 6px}
.xin_wx_modal-tag{font-size:12px;color:#8a8f99}
.xin_wx_modal-list{max-height:220px;overflow:auto;margin:6px 0;padding:4px 8px;border-radius:8px;background:rgba(127,127,127,.08)}
.xin_wx_mgr-row{font-size:12px;line-height:1.8;color:#5b6270;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.xin_wx_cplus-drawer{flex:0 0 auto;overflow:hidden;max-height:0;background:#F7F7F8;border-top:1px solid rgba(0,0,0,.06);transition:max-height .26s cubic-bezier(.32,.72,0,1)}
.xin_wx_cplus-drawer.open{max-height:44vh;overflow-y:auto}
.xin_wx_cplus-drawer-body{padding:18px 12px calc(16px + env(safe-area-inset-bottom,0px));box-sizing:border-box}
.xin_wx_cplus-drawer .xin_wx_cplus-grid{gap:20px 6px}
.xin_wx_chat.plus-open .xin_wx_chat-bar{margin-bottom:8px}
.xin_wx_cplus-drawer .xin_wx_emoji-board{padding:0}

.xin_wx_cplus-drawer .xin_wx_cplus-item{background:none;border:0;padding:0;display:flex;flex-direction:column;align-items:center;gap:6px}
.xin_wx_cplus-drawer .xin_wx_cplus-ico{width:56px;height:56px;border-radius:14px;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.xin_wx_cplus-drawer .xin_wx_cplus-ico svg{width:26px;height:26px;stroke:#5B5B60;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.xin_wx_cplus-drawer .xin_wx_cplus-text{font-size:11.5px;color:#7C7C82;line-height:1.2}

.xin_wx_row-tip { padding: 5px 0 9px; }

.xin_wx_sum { padding-bottom: 26px; }
.xin_wx_sum .xin_wx_group-title:first-child { margin-top: 12px; }
.xin_wx_sum-preview {
  max-height: 44vh;
  overflow: auto;
  margin: 8px 16px 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--wx-surface-2);
}
.xin_wx_sum-line {
  padding: 5px 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--wx-ink-2);
  border-bottom: 1px dashed rgba(127, 127, 127, 0.16);
}
.xin_wx_sum-line:last-child { border-bottom: 0; }
.xin_wx_sum-who { margin-right: 2px; color: var(--wx-t2); }
.xin_wx_sum-item { display: flex; align-items: flex-start; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--wx-line); }
.xin_wx_sum-item-text {
  flex: 1;
  min-width: 0;
  font-size: calc(var(--font-size, 15px) - 2px);
  line-height: 1.62;
  color: var(--wx-ink);
}
.xin_wx_sum-x {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 11px;
  background: rgba(127, 127, 127, 0.12);
  color: var(--wx-t2);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
.xin_wx_sum-pick { max-height: 56vh; overflow: auto; }
.xin_wx_sum-pick-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 2px;
  border: 0;
  border-bottom: 1px solid rgba(127, 127, 127, 0.12);
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.xin_wx_sum-pick-row.on { background: rgba(242, 166, 184, 0.14); }
.xin_wx_sum-pick-i { flex: 0 0 auto; font-size: 11px; color: var(--wx-t3); }
.xin_wx_sum-pick-t {
  flex: 1;
  min-width: 0;
  font-size: 12.5px;
  color: var(--wx-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.xin_wx_sum-pick-d { flex: 0 0 auto; font-size: 11px; color: var(--wx-t3); }
.xin_wx_sum-reclist { max-height: 45vh; overflow: auto; }
.xin_wx_modal .xin_wx_cell-right { flex: 1; min-width: 0; }
.xin_wx_modal .xin_wx_cell { padding: 0; }


.xin_wx_chat[data-skin] { background: var(--wx-bg); color: var(--wx-ink); }

.xin_wx_chat[data-skin="dusk"] {
  --wx-bg: #F7F8FC;
  --wx-pop: #F7F8FC;
  --wx-surface: #EEF0F8;
  --wx-surface-2: #F3F5FA;
  --wx-line: #E1E4EF;
  --wx-ink: #1B1C24;
  --wx-ink-2: #545A6E;
  --wx-t2: #A3A9BC;
  --wx-t3: #B6BBCB;
  --wx-ph: #D4D8E4;
  --wx-dark: #2A2C38;
  --wx-head-sub-bg: #2A2C38;
  --wx-head-sub-fg: #F7F8FC;
  --wx-shadow: 0 2px 10px rgba(27, 28, 36, 0.06);
}

.xin_wx_chat[data-skin="mint"] {
  --wx-bg: #F7FBF8;
  --wx-pop: #F7FBF8;
  --wx-surface: #EBF5EF;
  --wx-surface-2: #F2F9F4;
  --wx-line: #E0EEE5;
  --wx-ink: #1B2A22;
  --wx-ink-2: #4F6659;
  --wx-t2: #9DB3A7;
  --wx-t3: #B2C5BA;
  --wx-ph: #D3E4DA;
  --wx-dark: #243530;
  --wx-head-sub-bg: #243530;
  --wx-head-sub-fg: #F7FBF8;
  --wx-shadow: 0 2px 10px rgba(27, 42, 34, 0.06);
}

.xin_wx_chat[data-skin="rose"] {
  --wx-bg: #FDF8F9;
  --wx-pop: #FDF8F9;
  --wx-surface: #F8EDF0;
  --wx-surface-2: #FBF3F5;
  --wx-line: #F0DFE4;
  --wx-ink: #2A1A1F;
  --wx-ink-2: #6A4C56;
  --wx-t2: #B9A0A8;
  --wx-t3: #C9B3BA;
  --wx-ph: #E8D6DB;
  --wx-dark: #3A2630;
  --wx-head-sub-bg: #3A2630;
  --wx-head-sub-fg: #FDF8F9;
  --wx-shadow: 0 2px 10px rgba(42, 26, 31, 0.06);
}

body.theme-dark .xin_wx_chat[data-skin="dusk"] {
  --wx-bg: #12131A;
  --wx-pop: #1B1D26;
  --wx-surface: #1B1D26;
  --wx-surface-2: #22242E;
  --wx-line: #2C2F3B;
  --wx-ink: #E8E9F0;
  --wx-ink-2: #B4B7C6;
  --wx-t2: #8E93A6;
  --wx-t3: #757A8C;
  --wx-ph: #4A4F60;
  --wx-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

body.theme-dark .xin_wx_chat[data-skin="mint"] {
  --wx-bg: #0F1613;
  --wx-pop: #18211C;
  --wx-surface: #18211C;
  --wx-surface-2: #1E2A23;
  --wx-line: #26332B;
  --wx-ink: #E4EFE8;
  --wx-ink-2: #AFC4B8;
  --wx-t2: #85998D;
  --wx-t3: #6E8074;
  --wx-ph: #3E4C44;
  --wx-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

body.theme-dark .xin_wx_chat[data-skin="rose"] {
  --wx-bg: #171213;
  --wx-pop: #221A1D;
  --wx-surface: #221A1D;
  --wx-surface-2: #2A2023;
  --wx-line: #33262A;
  --wx-ink: #F0E6E9;
  --wx-ink-2: #C4AEB5;
  --wx-t2: #A08C93;
  --wx-t3: #887079;
  --wx-ph: #4A3A3F;
  --wx-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.xin_wx_fold-body .xin_wx_prev.xin_wx_prev-duo {
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  padding: 12px 16px 14px;
}

.xin_wx_prev-duo .xin_wx_prev-row {
  flex: 1 1 0;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid var(--wx-line);
  background: var(--wx-surface);
}

.xin_wx_prev-duo .xin_wx_prev-row.is-me { border-color: var(--wx-line); }

.xin_wx_prev-duo .xin_wx_prev-col { min-width: 0; overflow: hidden; }

.xin_wx_prev-duo .xin_wx_prev-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: calc(var(--font-size, 15px) - 2px);
}

.xin_wx_prev-duo .xin_wx_prev-sub {
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.4px;
}

.xin_wx_preset-row { display: flex; align-items: center; gap: 10px; margin: 8px 16px 4px; }

.xin_wx_preset-sel { flex: 1 1 0; min-width: 0; }

.xin_wx_preset-sel .xin_wx_sel { justify-content: flex-start; width: 100%; }

.xin_wx_preset-sel .xin_wx_input.xin_wx_sel-input { width: 100%; max-width: none; }

.xin_wx_btn.xin_wx_preset-btn {
  width: auto;
  flex: 0 0 auto;
  height: 36px;
  margin: 0;
  padding: 0 18px;
  border-radius: 10px;
  font-size: calc(var(--font-size, 15px) - 2px);
  white-space: nowrap;
}

.xin_wx_wall-preview {
  width: 100%;
  height: 148px;
  margin-bottom: 12px;
  border-radius: 14px;
  border: 1px solid var(--wx-line);
  background-color: var(--wx-surface-2);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wx-t3);
  font-size: calc(var(--font-size, 15px) - 3px);
  letter-spacing: 0.4px;
}

.xin_wx_wall-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }

.xin_wx_btn.xin_wx_wall-btn {
  flex: 1 1 0;
  width: auto;
  height: 40px;
  margin: 0;
  padding: 0 10px;
  border-radius: 12px;
  font-size: calc(var(--font-size, 15px) - 2px);
}

.xin_wx_btn.xin_wx_wall-btn-primary {
  background: var(--wx-ink);
  color: var(--wx-bg);
  border-color: transparent;
  font-weight: 600;
}

.xin_wx_tok { padding: 4px 2px 2px; }

.xin_wx_tok-chart { display: flex; align-items: center; justify-content: center; padding: 8px 0 16px; }

.xin_wx_tok-ring {
  position: relative;
  width: 152px;
  height: 152px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xin_wx_tok-hole {
  width: 106px;
  height: 106px;
  border-radius: 50%;
  background: var(--wx-pop);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px var(--wx-line);
}

.xin_wx_tok-hole-num {
  font-size: calc(var(--font-size, 15px) + 7px);
  font-weight: 700;
  color: var(--wx-ink);
  font-variant-numeric: tabular-nums;
}

.xin_wx_tok-hole-tip {
  margin-top: 3px;
  font-size: calc(var(--font-size, 15px) - 5px);
  color: var(--wx-t3);
  letter-spacing: 0.5px;
}

.xin_wx_tok-legend { display: flex; flex-direction: column; gap: 2px; }

.xin_wx_tok-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 10px;
}

.xin_wx_tok-line:nth-child(odd) { background: var(--wx-surface-2); }

.xin_wx_tok-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; background: var(--wx-t3); }

.xin_wx_tok-dot.is-in { background: #E39BAE; }

.xin_wx_tok-dot.is-out { background: #9CBCCE; }

.xin_wx_tok-dot.is-total { background: var(--wx-ink); }

.xin_wx_tok-name { flex: 1 1 0; min-width: 0; color: var(--wx-ink-2); font-size: calc(var(--font-size, 15px) - 2px); }

.xin_wx_tok-val { color: var(--wx-ink); font-size: calc(var(--font-size, 15px) - 2px); font-weight: 600; font-variant-numeric: tabular-nums; }

.xin_wx_tok-pct { flex: 0 0 auto; width: 52px; text-align: right; color: var(--wx-t2); font-size: calc(var(--font-size, 15px) - 3px); font-variant-numeric: tabular-nums; }

.xin_wx_search-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.xin_wx_search-meta .xin_wx_search-sender { color: var(--wx-ink-2); font-weight: 600; }

.xin_wx_search-time { flex: 0 0 auto; color: var(--wx-t3); font-size: calc(var(--font-size, 15px) - 5px); font-variant-numeric: tabular-nums; }

.xin_wx_search-row {
  padding: 10px 12px;
  margin-bottom: 8px;
  border: 1px solid var(--wx-line);
  border-radius: 12px;
  background: var(--wx-bg);
}

body.theme-dark .xin_wx_search-row { background: var(--wx-surface); border-color: transparent; }

.xin_wx_search-row:active { background: var(--wx-surface); }

.xin_wx_page.xin_wx_cs .xin_wx_fold { box-shadow: none; margin-bottom: 10px; }

.xin_wx_page.xin_wx_cs .xin_wx_fold-head { padding: 14px 16px 12px; }

.xin_wx_page.xin_wx_cs .xin_wx_fold-title { font-size: calc(var(--font-size, 15px) + 0px); letter-spacing: 0.3px; }

.xin_wx_page.xin_wx_cs .xin_wx_cell { padding: 12px 16px; }

.xin_wx_page.xin_wx_cs .xin_wx_group {
  margin: 14px 16px 4px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.xin_wx_page.xin_wx_cs .xin_wx_group-title {
  margin: 0;
  font-size: calc(var(--font-size, 15px) - 3px);
  letter-spacing: 0.6px;
  color: var(--wx-t3);
  font-weight: 600;
}

.xin_wx_page.xin_wx_cs .xin_wx_beautify-code { margin: 0 16px 2px; }

.xin_wx_page.xin_wx_cs .xin_wx_act-row { padding: 10px 16px 14px; margin: 0; }


.xin_wx_cell-tail { display: flex; align-items: center; gap: 8px; }


.xin_wx_page.xin_wx_cs .xin_wx_fold-body .xin_wx_cell {
  border-bottom: none;
  border-radius: 0;
  margin: 0;
  padding: 0 16px;
  background: transparent;
}

.xin_wx_page.xin_wx_cs .xin_wx_fold-body .xin_wx_cell:active { background: rgba(242, 166, 184, 0.10); }

.xin_wx_page.xin_wx_cs .xin_wx_fold-body { padding-bottom: 8px; }

.xin_wx_page.xin_wx_cs .xin_wx_group-title { margin: 14px 16px 8px; }

.xin_wx_page.xin_wx_cs .xin_wx_beautify-code {
  display: block;
  width: auto;
  box-sizing: border-box;
  margin: 0 16px 4px;
  padding: 12px 14px;
  min-height: 220px;
  border: 1px solid var(--wx-line);
  border-radius: 12px;
  background: var(--wx-surface-2);
  color: var(--wx-ink-2);
  font-size: calc(var(--font-size, 15px) - 3px);
  line-height: 1.7;
  outline: none;
  resize: vertical;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.xin_wx_page.xin_wx_cs .xin_wx_beautify-code:focus {
  border-color: #E58FA3;
  background: var(--wx-bg);
}

.xin_wx_page.xin_wx_cs .xin_wx_beautify-line {
  display: block;
  width: calc(100% - 32px);
  box-sizing: border-box;
  height: 40px;
  margin: 6px 16px 8px;
  padding: 0 14px;
  border: 1px solid var(--wx-line);
  border-radius: 12px;
  background: var(--wx-surface-2);
  color: var(--wx-ink);
  font-size: calc(var(--font-size, 15px) - 2px);
  outline: none;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.xin_wx_page.xin_wx_cs .xin_wx_beautify-line:focus {
  border-color: #E58FA3;
  background: var(--wx-bg);
}

.xin_wx_page.xin_wx_cs .xin_wx_beautify-line::placeholder { color: var(--wx-ph); }

.xin_wx_page.xin_wx_cs .xin_wx_act-row {
  display: flex;
  gap: 10px;
  margin: 8px 16px 10px;
  padding: 0;
  border: none;
  background: transparent;
  overflow: visible;
}

.xin_wx_page.xin_wx_cs .xin_wx_act-row .xin_wx_cell {
  flex: 1 1 0;
  min-width: 0;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--wx-line);
  border-radius: 10px;
  background: var(--wx-bg);
  justify-content: center;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.12s ease;
}

.xin_wx_page.xin_wx_cs .xin_wx_act-row .xin_wx_cell:last-child { border-bottom: 1px solid var(--wx-line); }

.xin_wx_page.xin_wx_cs .xin_wx_act-row .xin_wx_cell:active {
  background: var(--wx-surface-2);
  border-color: #E58FA3;
  transform: scale(0.985);
}

.xin_wx_page.xin_wx_cs .xin_wx_act-row .xin_wx_cell-label {
  font-size: calc(var(--font-size, 15px) - 2px);
  font-weight: 600;
  color: var(--wx-ink);
  text-align: center;
}

.xin_wx_page.xin_wx_cs .xin_wx_act-row .xin_wx_cell-danger .xin_wx_cell-label { color: #D98A8A; }

.xin_wx_page.xin_wx_cs .xin_wx_preset-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 16px 0;
}

.xin_wx_page.xin_wx_cs .xin_wx_preset-row .xin_wx_preset-sel { flex: 1 1 auto; min-width: 0; }

.xin_wx_page.xin_wx_cs .xin_wx_preset-btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 64px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--wx-line);
  border-radius: 10px;
  background: var(--wx-bg);
  color: var(--wx-ink);
  font-size: calc(var(--font-size, 15px) - 2px);
  font-weight: 600;
}

.xin_wx_page.xin_wx_cs .xin_wx_preset-btn:active { background: var(--wx-surface-2); border-color: #E58FA3; }

.xin_wx_page.xin_wx_cs .xin_wx_preset-sel .xin_wx_sel {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--wx-line);
  border-radius: 10px;
  background: var(--wx-bg);
}

.xin_wx_avpair { display: flex; gap: 10px; margin: 8px 16px 2px; }

.xin_wx_avpair-item {
  flex: 1 1 0;
  min-width: 0;
  padding: 12px 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--wx-line);
  border-radius: 14px;
  background: var(--wx-bg);
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.xin_wx_avpair-item.on {
  border-color: #E58FA3;
  box-shadow: 0 4px 12px rgba(229, 143, 163, 0.18);
}

.xin_wx_avpair-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wx-surface);
  color: var(--wx-t3);
  font-size: calc(var(--font-size, 15px) - 1px);
}

.xin_wx_avpair-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.xin_wx_avpair-tag { font-size: calc(var(--font-size, 15px) - 4px); color: var(--wx-t2); text-align: center; }

.xin_wx_chat-sumtip {
  display: block;
  width: calc(100% - 32px);
  margin: 8px 16px 14px;
  padding: 12px 14px;
  border: 1px solid var(--wx-line);
  border-radius: 12px;
  background: var(--wx-surface);
  color: var(--wx-t2);
  font-size: calc(var(--font-size, 15px) - 2px);
  line-height: 1.5;
  text-align: center;
  cursor: pointer;
}

.xin_wx_chat-sumtip:active { opacity: .7; }