/* ============================================================
   微信界面样式（移动端优先，桌面居中）
   ============================================================ */
:root {
  --wx-green: #07C160;
  --wx-green-dark: #06AD56;
  --wx-bg: #EDEDED;
  --wx-bg-deep: #E6E6E6;
  --wx-white: #FFFFFF;
  --wx-text: #191919;
  --wx-sub: #888888;
  --wx-line: #E5E5E5;
  --wx-bubble-me: #95EC69;
  --wx-bubble-other: #FFFFFF;
  --wx-tab: #7A7E83;
  --wx-red: #FA5151;
  --wx-blue: #576B95;
  --nav-h: 44px;
  --tab-h: 52px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  background: #F2F2F2;
  color: var(--wx-text);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}
input, textarea, button { font-family: inherit; font-size: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; padding: 0; }
a { color: var(--wx-blue); text-decoration: none; }
img { display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* 外层容器：桌面居中显示手机宽度 */
#app-root { height: 100%; }
.app {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 100dvh;
  margin: 0 auto;
  background: var(--wx-bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 24px rgba(0, 0, 0, .08);
}
@media (min-width: 800px) {
  body { background: #E9E9E9; }
  .app { height: 100dvh; border-left: 1px solid #E0E0E0; border-right: 1px solid #E0E0E0; }
}

/* ------------------------------- 导航栏 ------------------------------- */
.nav {
  flex: none;
  height: calc(var(--nav-h) + var(--safe-t));
  padding-top: var(--safe-t);
  background: var(--wx-bg);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 20;
  border-bottom: .5px solid rgba(0, 0, 0, .06);
}
.nav.dark { background: #1A1A1A; border-bottom-color: #2A2A2A; }
.nav-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .2px;
  max-width: 60%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-title small { font-weight: 400; color: var(--wx-sub); font-size: 12px; }
.nav-left, .nav-right { display: flex; align-items: center; gap: 2px; height: 100%; padding: 0 6px; z-index: 2; }
.nav-right { margin-left: auto; }
.nav-btn {
  display: flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; border-radius: 6px;
  color: var(--wx-text);
}
.nav-btn:active { background: rgba(0, 0, 0, .06); }
.nav .gold { color: #B08400; font-size: 14px; }

/* ------------------------------- 页面骨架 ------------------------------- */
.page { flex: 1; min-height: 0; display: flex; flex-direction: column; background: var(--wx-bg); }
.page-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.page-body::-webkit-scrollbar { width: 0; }

/* ------------------------------- 搜索条 ------------------------------- */
.search-bar { padding: 8px 12px; background: var(--wx-bg); }
.search-input {
  height: 32px; border-radius: 6px; background: #fff;
  display: flex; align-items: center; gap: 6px; padding: 0 10px;
  color: #B2B2B2; font-size: 14px;
}
.search-input input { border: 0; outline: 0; flex: 1; background: transparent; font-size: 14px; color: var(--wx-text); }
.search-input input::placeholder { color: #B2B2B2; }

/* ------------------------------- 会话列表 ------------------------------- */
.conv-list { background: #fff; }
.conv-item {
  display: flex; align-items: center; padding: 11px 16px; gap: 12px;
  position: relative; background: #fff; transition: background .1s;
  cursor: pointer;
}
.conv-item:active { background: #E8E8E8; }
.conv-item::after {
  content: ''; position: absolute; left: 72px; right: 0; bottom: 0;
  height: .5px; background: var(--wx-line); transform: scaleY(.6);
}
.conv-item:last-child::after { display: none; }
.conv-main { flex: 1; min-width: 0; }
.conv-top { display: flex; align-items: baseline; gap: 8px; }
.conv-name {
  font-size: 16px; font-weight: 400; flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.conv-time { font-size: 12px; color: #B2B2B2; flex: none; }
.conv-sub {
  margin-top: 3px; font-size: 13px; color: #9A9A9A;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.conv-badge {
  flex: none; min-width: 18px; height: 18px; border-radius: 9px; background: var(--wx-red);
  color: #fff; font-size: 11px; line-height: 18px; text-align: center; padding: 0 5px;
}
.conv-badge.dot { min-width: 9px; width: 9px; height: 9px; padding: 0; border-radius: 50%; }

/* 头像 */
.avatar {
  width: 48px; height: 48px; border-radius: 5px; flex: none; overflow: hidden;
  background: #C8C8C8; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; font-weight: 500; user-select: none;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.sm { width: 40px; height: 40px; font-size: 14px; border-radius: 4px; }
.avatar.xs { width: 32px; height: 32px; font-size: 12px; border-radius: 4px; }
.avatar.lg { width: 64px; height: 64px; font-size: 24px; border-radius: 6px; }
.avatar.xl { width: 72px; height: 72px; font-size: 26px; border-radius: 8px; }
.avatar-wrap { position: relative; }
.avatar-badge {
  position: absolute; top: -4px; right: -4px; min-width: 16px; height: 16px; border-radius: 8px;
  background: var(--wx-red); color: #fff; font-size: 10px; line-height: 16px; text-align: center;
  padding: 0 4px; border: 1.5px solid #fff;
}

/* ------------------------------- 底部 tab ------------------------------- */
.tabbar {
  flex: none; height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: #F7F7F7; border-top: .5px solid #DADADA;
  display: flex; align-items: stretch; z-index: 30;
}
.tab-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: var(--wx-tab); font-size: 10px; position: relative; padding-top: 4px;
}
.tab-item.active { color: var(--wx-green); }
.tab-item svg { width: 25px; height: 25px; }
.tab-badge {
  position: absolute; top: 2px; left: 50%; margin-left: 4px;
  min-width: 17px; height: 17px; border-radius: 9px; background: var(--wx-red); color: #fff;
  font-size: 10px; line-height: 17px; text-align: center; padding: 0 4px;
}
.tab-badge.dot { min-width: 8px; width: 8px; height: 8px; padding: 0; }

/* ------------------------------- 列表项（通用） ------------------------------- */
.cell-group { background: #fff; margin-top: 8px; }
.cell {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: #fff; position: relative; cursor: pointer;
}
.cell:active { background: #F0F0F0; }
.cell::after {
  content: ''; position: absolute; left: 16px; right: 0; bottom: 0; height: .5px;
  background: var(--wx-line); transform: scaleY(.6);
}
.cell:last-child::after { display: none; }
.cell-icon { width: 24px; height: 24px; color: #576B95; }
.cell-title { flex: 1; font-size: 16px; }
.cell-value { color: var(--wx-sub); font-size: 14px; }
.cell-arrow { color: #C8C8C8; display: flex; }
.cell.mine { padding: 18px 16px; }
.profile-avatar { width: 64px; height: 64px; }

/* 分组标题 */
.section-title { padding: 16px 16px 6px; color: var(--wx-sub); font-size: 13px; background: var(--wx-bg); }

/* ------------------------------- 聊天气泡 ------------------------------- */
.chat-page { background: var(--wx-bg); }
.msg-list { padding: 12px 0 8px; }
.msg-day { text-align: center; margin: 12px 0; }
.msg-day span {
  display: inline-block; padding: 2px 8px; border-radius: 4px;
  font-size: 11px; color: #fff; background: rgba(0, 0, 0, .12);
}
.msg-row { display: flex; padding: 5px 12px; gap: 9px; align-items: flex-start; }
.msg-row.me { flex-direction: row-reverse; }
.msg-body { max-width: 66%; display: flex; flex-direction: column; gap: 3px; }
.msg-row.me .msg-body { align-items: flex-end; }
.msg-sender { font-size: 11px; color: #8C8C8C; padding: 0 2px; }
.bubble {
  position: relative; padding: 8px 11px; border-radius: 5px; font-size: 15px; line-height: 1.42;
  background: var(--wx-bubble-other); word-break: break-word; white-space: pre-wrap;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
}
.bubble::before {
  content: ''; position: absolute; top: 12px; width: 0; height: 0;
  border: 5px solid transparent;
}
.msg-row:not(.me) .bubble::before { left: -9px; border-right-color: var(--wx-bubble-other); }
.msg-row.me .bubble { background: var(--wx-bubble-me); }
.msg-row.me .bubble::before { right: -9px; border-left-color: var(--wx-bubble-me); }
.bubble.media { padding: 0; background: transparent; box-shadow: none; }
.bubble.media::before { display: none; }
.bubble img.chat-img {
  max-width: 180px; max-height: 240px; border-radius: 5px; object-fit: cover; cursor: pointer;
}
.bubble.voice {
  display: flex; align-items: center; gap: 8px; min-width: 72px; cursor: pointer;
  background: var(--wx-bubble-other);
}
.msg-row.me .bubble.voice { background: var(--wx-bubble-me); }
.voice-wave { display: flex; align-items: center; gap: 2px; height: 16px; }
.voice-wave i { display: block; width: 2px; background: currentColor; border-radius: 1px; opacity: .55; }
.voice-dur { font-size: 12px; color: #666; }
.msg-row.me .voice-dur { color: #3E6B2A; }
.bubble.sticker { background: transparent !important; box-shadow: none; font-size: 42px; padding: 2px 4px; }
.bubble.sticker::before { display: none; }
.bubble.system {
  background: rgba(0, 0, 0, .06); color: #7A7A7A; font-size: 12px; padding: 4px 10px;
  border-radius: 4px; box-shadow: none; text-align: center; max-width: 80%;
}
.bubble.system::before { display: none; }
.msg-row.system { justify-content: center; }
.msg-row.system .msg-body { max-width: 86%; align-items: center; }
.msg-meta { font-size: 10px; color: #A8A8A8; padding: 0 3px; display: flex; gap: 5px; align-items: center; }
.msg-status { color: var(--wx-red); font-size: 11px; }
.msg-revoked { font-size: 12px; color: #999; font-style: normal; }
.recall-tip { color: var(--wx-blue); font-size: 12px; cursor: pointer; }
.mention { color: var(--wx-blue); }
.unread-divider { text-align: center; font-size: 11px; color: #999; margin: 10px 0 4px; }

/* 撤回/长按菜单 */
.ctx-menu {
  position: fixed; z-index: 200; background: #2C2C2C; border-radius: 8px; padding: 4px;
  display: flex; flex-direction: column; min-width: 110px; box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}
.ctx-menu button { color: #fff; font-size: 14px; padding: 10px 14px; text-align: left; border-radius: 6px; }
.ctx-menu button:active { background: #444; }
.ctx-menu button.danger { color: #FF7A7A; }

/* ------------------------------- 输入栏 ------------------------------- */
.chat-input-bar {
  flex: none; background: #F7F7F7; border-top: .5px solid #DADADA;
  padding: 7px 8px calc(7px + var(--safe-b)); display: flex; align-items: flex-end; gap: 7px;
}
.chat-input-bar .icon-btn { width: 32px; height: 32px; flex: none; display: flex; align-items: center; justify-content: center; color: #333; }
.chat-input {
  flex: 1; min-height: 34px; max-height: 110px; border-radius: 5px; background: #fff;
  border: 0; outline: 0; padding: 7px 10px; font-size: 15px; resize: none; line-height: 1.3;
}
.chat-send-btn {
  flex: none; height: 32px; padding: 0 12px; border-radius: 5px; background: var(--wx-green);
  color: #fff; font-size: 14px; font-weight: 500;
}
.chat-send-btn:disabled { background: #C6E9D2; }
.panel { background: #F7F7F7; border-top: .5px solid #E0E0E0; height: 250px; overflow-y: auto; padding: 10px; }
.emote-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.emote-grid button { font-size: 24px; height: 38px; border-radius: 6px; }
.emote-grid button:active { background: #E4E4E4; }
.attach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 8px; }
.attach-item {
  background: #fff; border-radius: 10px; height: 76px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px; font-size: 11px; color: #555;
}
.attach-item svg { width: 26px; height: 26px; }

/* ------------------------------- 联系人 ------------------------------- */
.contact-index { padding: 4px 16px; font-size: 13px; color: var(--wx-sub); background: var(--wx-bg); }
.friend-row { display: flex; align-items: center; gap: 12px; padding: 9px 16px; background: #fff; position: relative; cursor: pointer; }
.friend-row:active { background: #F0F0F0; }
.friend-row::after { content: ''; position: absolute; left: 68px; right: 0; bottom: 0; height: .5px; background: var(--wx-line); transform: scaleY(.6); }
.friend-name { font-size: 16px; }

/* ------------------------------- 朋友圈 ------------------------------- */
.moments-page { background: #fff; }
.moment-cover {
  height: 220px; background: linear-gradient(135deg, #2b5876, #4e4376);
  position: relative;
}
.moment-cover .me-avatar { position: absolute; right: 16px; bottom: -22px; border: 3px solid #fff; border-radius: 10px; z-index: 2; }
.moment-cover .cover-name {
  position: absolute; right: 96px; bottom: 4px; color: #fff; font-size: 18px; font-weight: 600;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .4); max-width: 55%; text-align: right;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.moment-cover-gap { height: 26px; background: #fff; }
.moment { display: flex; gap: 10px; padding: 16px; border-bottom: .5px solid #F0F0F0; }
.moment-body { flex: 1; min-width: 0; }
.moment-name { color: #576B95; font-weight: 500; font-size: 15px; }
.moment-text { margin-top: 5px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.moment-imgs { margin-top: 8px; display: grid; gap: 4px; grid-template-columns: repeat(3, 1fr); }
.moment-imgs.one { grid-template-columns: 1fr; }
.moment-imgs.two { grid-template-columns: repeat(2, 1fr); }
.moment-imgs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; background: #eee; }
.moment-imgs.one img { aspect-ratio: auto; max-height: 260px; }
.moment-foot { display: flex; align-items: center; margin-top: 6px; gap: 10px; }
.moment-time { font-size: 12px; color: #B2B2B2; }
.moment-del { font-size: 12px; color: var(--wx-blue); }
.moment-actions {
  display: flex; align-items: center; gap: 4px; margin-left: auto;
  background: #F7F7F7; border-radius: 4px; padding: 2px;
}
.moment-actions button { width: 30px; height: 22px; display: flex; align-items: center; justify-content: center; color: #576B95; }
.moment-interact { margin-top: 8px; background: #F7F7F7; border-radius: 4px; padding: 6px 8px; font-size: 14px; }
.moment-likes { color: #576B95; line-height: 1.6; }
.moment-comments { margin-top: 2px; }
.moment-comment { font-size: 14px; line-height: 1.6; }
.moment-comment b { color: #576B95; font-weight: 500; }
.comment-box { display: flex; gap: 6px; padding: 8px; border-top: .5px solid #EEE; background: #fff; }
.comment-box input { flex: 1; border: 1px solid #E0E0E0; border-radius: 5px; padding: 7px 10px; outline: 0; font-size: 14px; }
.comment-box button { background: var(--wx-green); color: #fff; border-radius: 5px; padding: 0 14px; font-size: 14px; }

/* ------------------------------- 我 ------------------------------- */
.me-header {
  display: flex; align-items: center; gap: 16px; padding: 26px 20px 24px; background: #fff;
  margin-bottom: 8px;
}
.me-info { flex: 1; min-width: 0; }
.me-name { font-size: 20px; font-weight: 600; }
.me-id { font-size: 13px; color: var(--wx-sub); margin-top: 6px; }

/* ------------------------------- 通用组件 ------------------------------- */
.btn {
  height: 44px; border-radius: 6px; background: var(--wx-green); color: #fff;
  font-size: 16px; font-weight: 500; display: flex; align-items: center; justify-content: center;
  width: 100%; transition: background .15s;
}
.btn:active { background: var(--wx-green-dark); }
.btn.ghost { background: #fff; color: var(--wx-text); border: .5px solid #DDD; }
.btn.danger { background: #fff; color: var(--wx-red); }
.btn:disabled { opacity: .55; }
.btn.sm { height: 32px; font-size: 14px; width: auto; padding: 0 16px; }
.form { padding: 12px 16px; }
.field { background: #fff; border-radius: 8px; padding: 14px 16px; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.field label { width: 70px; color: #555; font-size: 15px; flex: none; }
.field input, .field textarea {
  flex: 1; border: 0; outline: 0; background: transparent; font-size: 15px; padding: 0;
  resize: none;
}
.field .unit { color: var(--wx-sub); font-size: 14px; }
.tip { color: var(--wx-sub); font-size: 12px; padding: 4px 20px 16px; line-height: 1.5; }

.empty { padding: 60px 24px; text-align: center; color: #B2B2B2; font-size: 14px; }
.empty svg { margin: 0 auto 12px; color: #D8D8D8; }

/* 弹层 / 遮罩 */
.mask {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 32px;
  animation: fadein .15s ease;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.dialog {
  width: 100%; max-width: 300px; background: #fff; border-radius: 10px; overflow: hidden;
  animation: pop .18s ease;
}
@keyframes pop { from { transform: scale(.94); opacity: .6; } to { transform: scale(1); opacity: 1; } }
.dialog-title { text-align: center; padding: 22px 20px 6px; font-size: 17px; font-weight: 600; }
.dialog-body { padding: 8px 20px 18px; font-size: 14px; color: #555; text-align: center; line-height: 1.5; }
.dialog-actions { display: flex; border-top: .5px solid var(--wx-line); }
.dialog-actions button { flex: 1; height: 50px; font-size: 16px; }
.dialog-actions button + button { border-left: .5px solid var(--wx-line); }
.dialog-actions .ok { color: var(--wx-green); font-weight: 500; }
.dialog-actions .cancel { color: #333; }
.dialog-actions .danger { color: var(--wx-red); }

.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; background: #F7F7F7;
  border-radius: 14px 14px 0 0; padding-bottom: var(--safe-b);
  animation: slideup .2s ease; max-width: 480px; margin: 0 auto;
}
@keyframes slideup { from { transform: translateY(100%); } to { transform: translateY(0); } }
.sheet-mask { position: fixed; inset: 0; background: rgba(0, 0, 0, .4); z-index: 110; }
.sheet-title { text-align: center; font-size: 13px; color: var(--wx-sub); padding: 16px 0 8px; }
.sheet-btn {
  display: block; width: 100%; height: 52px; background: #fff; font-size: 16px; text-align: center;
  border-bottom: .5px solid #EEE;
}
.sheet-btn.danger { color: var(--wx-red); }
.sheet-cancel { margin-top: 8px; }

/* toast */
.toast {
  position: fixed; left: 50%; top: 44%; transform: translate(-50%, -50%); z-index: 500;
  background: rgba(0, 0, 0, .78); color: #fff; padding: 11px 18px; border-radius: 8px;
  font-size: 14px; max-width: 70%; text-align: center; pointer-events: none;
  animation: fadein .12s ease;
}

/* 来电 / 通话 */
.call-page {
  position: fixed; inset: 0; z-index: 400; background: #1C1C1E; color: #fff;
  display: flex; flex-direction: column; align-items: center; padding: 60px 24px calc(40px + var(--safe-b));
}
.call-avatar { width: 110px; height: 110px; border-radius: 10px; margin-bottom: 18px; font-size: 40px; }
.call-name { font-size: 22px; font-weight: 500; }
.call-status { color: rgba(255, 255, 255, .6); font-size: 14px; margin-top: 8px; }
.call-video { position: absolute; inset: 0; background: #000; overflow: hidden; }
.call-video video { width: 100%; height: 100%; object-fit: cover; }
.call-video .local { position: absolute; right: 12px; top: 60px; width: 100px; height: 140px; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .25); z-index: 2; }
.call-video .local video { object-fit: cover; }
.call-btns { margin-top: auto; display: flex; gap: 28px; align-items: center; z-index: 3; }
.call-btn {
  width: 62px; height: 62px; border-radius: 50%; background: rgba(255, 255, 255, .16);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.call-btn.hangup { background: #FA5151; }
.call-btn.accept { background: #07C160; }
.call-btn.off { background: rgba(255, 255, 255, .5); color: #333; }
.call-hint { font-size: 13px; color: rgba(255, 255, 255, .45); margin-top: 14px; z-index: 3; text-align: center; }

/* 图片预览 */
.lightbox { position: fixed; inset: 0; z-index: 300; background: #000; display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* 悬浮录制 */
.recording-tip {
  position: absolute; left: 50%; bottom: 80px; transform: translateX(-50%);
  background: rgba(0, 0, 0, .8); color: #fff; padding: 10px 18px; border-radius: 10px;
  display: flex; align-items: center; gap: 10px; font-size: 14px; z-index: 50;
}
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: #FA5151; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* 未读分隔 / 加载 */
.loading-more { text-align: center; color: #AAA; font-size: 12px; padding: 10px; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 小程序风格按钮行 */
.quick-row { display: flex; gap: 10px; padding: 12px 16px; }
.pill {
  padding: 6px 12px; border-radius: 16px; background: #fff; font-size: 13px; color: #555;
  border: .5px solid #E0E0E0;
}
.pill.active { background: var(--wx-green); color: #fff; border-color: var(--wx-green); }

/* 登录页 */
.login-wrap {
  min-height: 100dvh; display: flex; flex-direction: column; align-items: center;
  padding: 0 28px; background: #fff;
}
@media (min-width: 800px) { .login-wrap { max-width: 480px; margin: 0 auto; box-shadow: 0 0 24px rgba(0,0,0,.06); } }
.login-logo { margin-top: 18vh; width: 72px; height: 72px; border-radius: 16px; background: var(--wx-green); display: flex; align-items: center; justify-content: center; color: #fff; }
.login-title { margin-top: 22px; font-size: 22px; font-weight: 600; }
.login-sub { margin-top: 8px; font-size: 13px; color: var(--wx-sub); }
.login-form { width: 100%; margin-top: 40px; }
.login-input {
  width: 100%; height: 48px; border: 0; border-bottom: .5px solid #E5E5E5; outline: 0;
  font-size: 16px; padding: 0 4px; background: transparent;
}
.login-input:focus { border-bottom-color: var(--wx-green); }
.login-btn { margin-top: 32px; }
.login-foot { margin-top: auto; padding-bottom: 40px; color: #B2B2B2; font-size: 12px; text-align: center; line-height: 1.6; }
.login-err { color: var(--wx-red); font-size: 13px; margin-top: 12px; min-height: 18px; }
