/* ==================================================================
   社群人脉 · 会员中心（会员中心.jpg 1:1 复刻）
   全部 mc- 前缀，卡片 / 图片容器圆角统一 8px
   ================================================================== */
.mc-page {
  --mc-r: 8px;
  min-height: 100vh;
  background: #f2f3f7;
  /* 底部给固定 tabbar 的留白由外层容器统一预留（H5 是 .page，小程序是 .mp-tab-pad），
     这里不能再加一遍，否则两级叠加会让页脚到 tabbar 之间多出一整块空白（V3.15.6 修） */
  padding-bottom: 0;
  color: #1e2338;
  font-size: 14px;
  -webkit-tap-highlight-color: transparent;
}
.mc-page a { color: inherit; text-decoration: none; }
.mc-page button, .mc-page input, .mc-page textarea { font-family: inherit; }
.mc-body { padding: 4px 14px 0; }
.mc-loading { text-align: center; color: #9aa0b4; padding: 60px 0; font-size: 13px; }

/* ---------- 顶部小程序胶囊 ---------- */
.mc-topbar { height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; }
.mc-cap-left, .mc-cap-right {
  height: 30px; display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid #e9ebf2; border-radius: 999px;
  padding: 0 11px; box-shadow: 0 1px 4px rgba(30, 35, 56, .05);
}
.mc-cap-left i, .mc-cap-right i { width: 1px; height: 15px; background: #e3e6ef; }
.mc-cap-left a { display: flex; align-items: center; }
.mc-dots { display: flex; gap: 3px; }
.mc-dots b { width: 4px; height: 4px; border-radius: 50%; background: #333; }
.mc-minus { width: 12px; height: 2px; border-radius: 2px; background: #333; }
.mc-ring { width: 14px; height: 14px; border: 2px solid #333; border-radius: 50%; position: relative; }
.mc-ring::after { content: ''; position: absolute; width: 4px; height: 4px; background: #333; border-radius: 50%; top: 3px; left: 3px; }

/* ---------- 用户卡 ---------- */
.mc-user-card { background: #fff; border-radius: var(--mc-r); padding: 14px 12px 12px; box-shadow: 0 2px 10px rgba(30, 35, 56, .04); }
.mc-user-row { display: flex; align-items: center; gap: 12px; padding: 2px 4px 14px; }
.mc-avatar {
  width: 58px; height: 58px; flex: 0 0 58px; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; color: #6b5bf5;
  background: radial-gradient(circle at 50% 35%, #fff 0 55%, #eef0ff 56% 100%);
  border: 1px solid #eceefa;
}
.mc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mc-user-txt { flex: 1 1 auto; min-width: 0; }
.mc-nick { font-size: 20px; font-weight: 800; letter-spacing: .5px; line-height: 1.25; }
.mc-vip-ic { display: inline-block; width: 20px; height: 20px; margin-left: 6px; vertical-align: -4px; }
.mc-uid { font-size: 11.5px; color: #a2a8ba; margin-top: 4px; }
.mc-gender { display: inline-block; margin-top: 6px; font-size: 11px; color: #7a8099; background: #f2f3f8; border-radius: 5px; padding: 3px 9px; }
.mc-setting { width: 32px; height: 32px; border-radius: 50%; background: #f5f6fa; display: flex; align-items: center; justify-content: center; flex: 0 0 32px; }
.mc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.mc-stat {
  background: #fff; border: 1px solid #f0f1f6; border-radius: var(--mc-r);
  padding: 12px 2px 10px; display: flex; flex-direction: column; align-items: center; gap: 4px;
  box-shadow: 0 2px 8px rgba(30, 35, 56, .03);
}
.mc-stat-ic { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.mc-stat-ic svg { width: 17px; height: 17px; filter: saturate(1.15); }
.mc-stat b { font-size: 17px; font-weight: 800; letter-spacing: .3px; }
.mc-stat > span:last-child { font-size: 11px; color: #9aa0b4; }

/* ---------- 等级卡 ---------- */
.mc-level-card {
  margin-top: 12px; background: linear-gradient(115deg, #151b33 0%, #1c2547 100%);
  border-radius: var(--mc-r); padding: 16px 16px 15px; color: #fff;
}
.mc-lv-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mc-lv-name { display: flex; align-items: center; gap: 5px; color: #ffc93c; font-size: 16px; font-weight: 800; }
.mc-lv-need { font-size: 11.5px; color: #aeb6d4; }
.mc-lv-need b { color: #ffc93c; font-size: 13px; }
.mc-lv-bar { height: 7px; border-radius: 999px; background: #333c60; margin-top: 14px; overflow: hidden; }
.mc-lv-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #ffb020, #ffd75e); }
.mc-lv-num { text-align: right; font-size: 11px; color: #8f98bd; margin-top: 5px; }
.mc-lv-btns { display: flex; gap: 10px; margin-top: 12px; }
.mc-btn-gold, .mc-btn-dark {
  flex: 1 1 0; height: 41px; border-radius: var(--mc-r); display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 14px; font-weight: 700; border: 0; cursor: pointer;
}
.mc-btn-gold { background: linear-gradient(90deg, #ffbd22, #ffc93c); color: #6b4a00; }
.mc-btn-dark { background: #2a3357; color: #e8ecff; }

/* ---------- 关注 / 粉丝 / 获赞 / 访客 ---------- */
.mc-social-card {
  margin-top: 12px; background: #fff; border-radius: var(--mc-r); padding: 16px 8px 14px;
  display: grid; grid-template-columns: repeat(4, 1fr); box-shadow: 0 2px 10px rgba(30, 35, 56, .04);
}
.mc-social { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.mc-social-ic { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(60, 70, 140, .16); }
.mc-social b { font-size: 17px; font-weight: 800; }
.mc-social > span:last-child { font-size: 11.5px; color: #9aa0b4; }
.mc-social-big { margin-top: 12px; }

/* ---------- 每日签到 ---------- */
.mc-sign-card { margin-top: 12px; background: #fff; border-radius: var(--mc-r); padding: 14px 12px 16px; box-shadow: 0 2px 10px rgba(30, 35, 56, .04); }
.mc-sign-head { display: flex; align-items: center; gap: 9px; }
.mc-sign-ic { width: 34px; height: 34px; border-radius: var(--mc-r); background: linear-gradient(135deg, #7b6bf5, #a78bfa); display: flex; align-items: center; justify-content: center; flex: 0 0 34px; }
.mc-sign-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mc-sign-txt b { font-size: 17px; font-weight: 800; }
.mc-sign-txt span { font-size: 11.5px; color: #8a90a6; }
.mc-sign-txt em { color: #6b5bf5; font-style: normal; font-weight: 800; }
.mc-sign-btn {
  flex: 0 0 auto; border: 0; border-radius: 999px; padding: 9px 16px; color: #fff; font-size: 13.5px; font-weight: 700;
  background: linear-gradient(90deg, #7b6bf5, #a78bfa); box-shadow: 0 4px 10px rgba(123, 107, 245, .28);
  display: flex; align-items: center; gap: 4px; cursor: pointer;
}
.mc-sign-btn[disabled] { background: #c9cde0; box-shadow: none; cursor: default; }
.mc-sign-sub { text-align: center; font-size: 11.5px; color: #9aa0b4; margin: 14px 0 12px; position: relative; }
.mc-sign-sub::before, .mc-sign-sub::after { content: ''; position: absolute; top: 50%; width: 22%; height: 1px; background: #eef0f5; }
.mc-sign-sub::before { left: 8%; } .mc-sign-sub::after { right: 8%; }
.mc-sign-days { display: flex; justify-content: space-between; position: relative; }
.mc-sign-days::before { content: ''; position: absolute; left: 8%; right: 8%; top: 17px; height: 2px; background: #eef0f5; z-index: 0; }
.mc-sd { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; z-index: 1; min-width: 0; }
.mc-sd-no {
  width: 34px; height: 34px; border-radius: 50%; background: #f2f4f8; color: #a8aec0;
  display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; border: 2px solid #f2f4f8;
}
.mc-sd.current .mc-sd-no { border-color: #6b5bf5; color: #6b5bf5; background: #fff; }
.mc-sd.done .mc-sd-no { background: #e9e5ff; color: #6b5bf5; border-color: #e9e5ff; }
.mc-sd-lb { font-size: 10.5px; color: #9aa0b4; white-space: nowrap; }
.mc-sd.current .mc-sd-lb { color: #6b5bf5; font-weight: 700; }
.mc-sd-pt { font-size: 10.5px; color: #b0b6c6; }
.mc-sd.current .mc-sd-pt { color: #6b5bf5; font-weight: 800; }

/* ---------- 电子名片横幅 ---------- */
.mc-card-banner {
  position: relative; margin-top: 12px; min-height: 112px; border-radius: var(--mc-r); overflow: hidden;
  background: linear-gradient(110deg, #131b3a 0%, #172c56 62%, #1d3a6b 100%); padding: 16px 14px;
  color: #fff;
}
.mc-card-banner::after { content: ''; position: absolute; right: -18px; top: -34px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.mc-card-banner::before { content: ''; position: absolute; right: 58px; bottom: -46px; width: 96px; height: 96px; border-radius: 50%; background: rgba(255, 255, 255, .05); }
.mc-bn-tag { display: inline-block; background: linear-gradient(90deg, #ff8a33, #ff6a2b); border-radius: 999px; font-size: 11px; font-weight: 700; padding: 4px 11px; position: relative; z-index: 1; }
.mc-bn-t { font-size: 20px; font-weight: 800; margin-top: 9px; position: relative; z-index: 1; }
.mc-bn-s { font-size: 11.5px; color: #b9c4df; margin-top: 4px; position: relative; z-index: 1; }
.mc-bn-btn {
  position: absolute; right: 14px; bottom: 18px; z-index: 2; background: linear-gradient(90deg, #ff8a33, #ff6a2b);
  color: #fff; border-radius: 999px; padding: 8px 15px; font-size: 12.5px; font-weight: 700;
}

/* ---------- 功能分组 ---------- */
.mc-group { margin-top: 14px; background: #f7f8fc; border-radius: var(--mc-r); padding: 12px 10px 10px; }
.mc-group-head { border-left: 4px solid #6b5bf5; padding-left: 9px; margin: 0 2px 11px; }
.mc-group-hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mc-group-pct { flex: 0 0 auto; background: #6b5bf5; color: #fff; font-size: 11.5px; font-weight: 800; border-radius: 999px; padding: 4px 10px; }
.mc-group-t { font-size: 17px; font-weight: 800; letter-spacing: .3px; }
.mc-group-s { font-size: 11.5px; color: #9aa0b4; margin-top: 3px; letter-spacing: .4px; }
.mc-group-body { display: flex; flex-direction: column; gap: 8px; }
.mc-row {
  display: flex; align-items: center; gap: 11px; background: #fff; border-radius: var(--mc-r);
  padding: 10px 11px; min-height: 62px; box-shadow: 0 1px 5px rgba(30, 35, 56, .03);
}
.mc-row-ic { width: 42px; height: 42px; flex: 0 0 42px; border-radius: var(--mc-r); display: flex; align-items: center; justify-content: center; }
.mc-row-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mc-row-txt b { font-size: 15.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-row-txt > span { font-size: 11.5px; color: #a2a8ba; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-row-badge { flex: 0 0 auto; font-size: 10.5px; font-weight: 700; background: #fff6e9; border-radius: 5px; padding: 3px 6px; }
.mc-row-arrow { flex: 0 0 auto; display: flex; align-items: center; color: #c3c9d8; }

/* ---------- 退出 / 版权 / 回顶部 ---------- */
.mc-logout { margin: 14px 0 0; background: #fff; border-radius: var(--mc-r); text-align: center; padding: 15px; color: #f2595b; font-size: 15.5px; font-weight: 700; cursor: pointer; }
.mc-copyright { text-align: center; color: #c3c7d4; font-size: 10.5px; line-height: 1.8; padding: 20px 0 10px; }
.mc-fab {
  position: fixed; right: 14px; bottom: 84px; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; box-shadow: 0 4px 16px rgba(30, 35, 56, .16); display: flex; align-items: center; justify-content: center;
  z-index: 20; cursor: pointer;
}

/* ---------- 未登录：欢迎页（渐变英雄卡 + 登录卡） ---------- */
.mc-guest { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }

/* 英雄卡：淡紫→淡蓝渐变，右上 / 左下各一团柔光 */
.mc-guest-hero {
  position: relative; overflow: hidden; text-align: center;
  border-radius: 18px; padding: 30px 16px 22px;
  background: linear-gradient(158deg, #f7f5ff 0%, #eef1ff 54%, #e8f2ff 100%);
  box-shadow: 0 12px 30px rgba(96, 90, 255, 0.09);
}
.mc-guest-hero::before {
  content: ''; position: absolute; width: 220px; height: 220px; right: -80px; top: -100px;
  border-radius: 50%; background: radial-gradient(circle, rgba(124, 92, 255, 0.20), rgba(124, 92, 255, 0) 70%);
}
.mc-guest-hero::after {
  content: ''; position: absolute; width: 200px; height: 200px; left: -90px; bottom: -110px;
  border-radius: 50%; background: radial-gradient(circle, rgba(79, 123, 255, 0.18), rgba(79, 123, 255, 0) 70%);
}

/* 头像：白底 + 紫环 + 柔投影（参考图那圈描边） */
.mc-guest-av {
  position: relative; z-index: 1; width: 84px; height: 84px; margin: 0 auto;
  border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(124, 92, 255, 0.42), 0 12px 24px rgba(96, 90, 255, 0.18);
}
.mc-guest-title {
  position: relative; z-index: 1; margin-top: 18px;
  font-size: 21px; font-weight: 800; color: #241f45; letter-spacing: 0.5px;
}
.mc-guest-sub {
  position: relative; z-index: 1; margin-top: 8px;
  font-size: 12.5px; color: #7c82a0; letter-spacing: 0.2px;
}

/* 分隔线 + 中间小菱形 */
.mc-guest-div { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 10px; margin: 20px 0 18px; }
.mc-guest-div-l { width: 62px; height: 1px; background: linear-gradient(90deg, rgba(124, 92, 255, 0), rgba(124, 92, 255, 0.7)); }
.mc-guest-div-r { width: 62px; height: 1px; background: linear-gradient(90deg, rgba(124, 92, 255, 0.7), rgba(124, 92, 255, 0)); }
.mc-guest-div-d { width: 6px; height: 6px; border-radius: 1px; background: #7c5cff; transform: rotate(45deg); }

/* 三宫格：图标 / 主标题 / 副标题 */
.mc-guest-feats { position: relative; z-index: 1; display: flex; }
.mc-guest-feat { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; }
.mc-guest-fi {
  width: 52px; height: 52px; border-radius: 16px; background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(96, 90, 255, 0.12);
}
.mc-guest-fl { margin-top: 10px; font-size: 13px; font-weight: 700; color: #241f45; }
.mc-guest-fs { margin-top: 4px; font-size: 11px; color: #8b90a6; }

/* 登录卡 */
.mc-guest-card {
  background: #fff; border-radius: 18px; padding: 22px 18px 16px; text-align: center;
  box-shadow: 0 10px 26px rgba(20, 24, 60, 0.05);
}
.mc-guest-tip { font-size: 12.5px; color: #7b8195; }
.mc-guest-btn {
  margin-top: 14px; height: 48px; border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; font-weight: 700; letter-spacing: 1px;
  background: linear-gradient(135deg, #7c5cff 0%, #4f7bff 100%);
  box-shadow: 0 10px 22px rgba(96, 90, 255, 0.30);
}
.mc-guest-links { margin-top: 16px; display: flex; align-items: center; justify-content: center; }
.mc-gl { font-size: 12.5px; color: #6b5bf5; }
.mc-gl-sep { width: 1px; height: 11px; background: #e6e8f0; margin: 0 14px; }
.mc-guest-note { margin-top: 10px; font-size: 11px; color: #a6abbd; }

/* ---------- 子页 ---------- */
.mc-subnav {
  height: 50px; background: #fff; display: flex; align-items: center; gap: 10px; padding: 0 14px;
  border-bottom: 1px solid #eef0f5; position: sticky; top: 0; z-index: 10;
}
.mc-subnav > a:first-child { display: flex; align-items: center; }
.mc-subnav > span { font-size: 16px; font-weight: 800; flex: 1 1 auto; }
.mc-subnav-home { font-size: 12px; color: #6b5bf5; background: #f0efff; border-radius: 999px; padding: 5px 12px; }
.mc-sub-body { padding: 14px; }
.mc-sub-head { margin: 0 0 12px; display: flex; flex-direction: column; gap: 4px; }
.mc-sub-head b { font-size: 17px; font-weight: 800; }
.mc-sub-head span { font-size: 12px; color: #9aa0b4; }
.mc-form { background: #fff; border-radius: var(--mc-r); padding: 14px; display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.mc-form label { font-size: 12px; color: #7a8099; font-weight: 600; margin-top: 4px; }
.mc-form input, .mc-form textarea {
  border: 1px solid #e6e9f2; border-radius: var(--mc-r); padding: 10px 11px; font-size: 14px; color: #1e2338;
  background: #fafbfe; outline: none; width: 100%; box-sizing: border-box;
}
.mc-form input:focus, .mc-form textarea:focus { border-color: #6b5bf5; background: #fff; }
.mc-form textarea { resize: vertical; }
.mc-form-inline { flex-direction: row; align-items: center; padding: 10px; }
.mc-form-inline input { flex: 1 1 auto; }
.mc-radio { display: flex; gap: 8px; }
.mc-r { flex: 1 1 0; border: 1px solid #e6e9f2; background: #fafbfe; border-radius: var(--mc-r); padding: 9px 0; font-size: 13px; color: #7a8099; cursor: pointer; }
.mc-r.on { border-color: #6b5bf5; background: #f0efff; color: #6b5bf5; font-weight: 700; }
.mc-submit, .mc-add-btn {
  border: 0; border-radius: var(--mc-r); background: linear-gradient(90deg, #6b5bf5, #8a7bf7); color: #fff;
  font-size: 14.5px; font-weight: 700; padding: 12px; cursor: pointer; display: block; width: 100%; text-align: center;
}
.mc-submit-link { margin-top: 12px; }
.mc-add-btn { flex: 0 0 auto; width: auto; padding: 10px 14px; display: flex; align-items: center; gap: 4px; }
.mc-mini-btn { border: 0; background: #f0efff; color: #6b5bf5; border-radius: 999px; padding: 7px 14px; font-size: 12px; font-weight: 700; margin: -4px 0 12px; cursor: pointer; }
.mc-tip { font-size: 11.5px; color: #9aa0b4; line-height: 1.7; padding: 0 3px 12px; }
.mc-links { background: #fff; border-radius: var(--mc-r); overflow: hidden; }
.mc-links a { display: flex; justify-content: space-between; padding: 13px 14px; border-bottom: 1px solid #f1f2f7; font-size: 14px; }
.mc-links a:last-child { border-bottom: 0; }
.mc-links span { color: #c3c9d8; }
.mc-link-row { display: block; text-align: center; color: #6b5bf5; font-size: 13px; padding: 10px; }

.mc-list { background: #fff; border-radius: var(--mc-r); overflow: hidden; }
.mc-li { display: flex; align-items: center; gap: 10px; padding: 12px 13px; border-bottom: 1px solid #f1f2f7; }
.mc-li:last-child { border-bottom: 0; }
.mc-li > div { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mc-li b { font-size: 14px; font-weight: 700; }
.mc-li span, .mc-li small { font-size: 11.5px; color: #9aa0b4; }
.mc-li small { font-size: 10.5px; color: #b6bbcb; }
.mc-li em { font-style: normal; font-size: 15px; font-weight: 800; }
.mc-li em.in { color: #22b573; } .mc-li em.out { color: #f2595b; }
.mc-li.mc-msg.unread b::before { content: ''; display: inline-block; width: 6px; height: 6px; background: #f2595b; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.mc-del { border: 0; background: #fff0f0; color: #f2595b; font-size: 11.5px; border-radius: 6px; padding: 6px 10px; cursor: pointer; }
.mc-empty { background: #fff; border-radius: var(--mc-r); padding: 34px 16px; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.mc-empty-ic { width: 62px; height: 62px; border-radius: 50%; background: #f3f4f9; display: flex; align-items: center; justify-content: center; }
.mc-empty b { font-size: 14px; color: #6b7186; }
.mc-empty span { font-size: 11.5px; color: #a8aec0; text-align: center; }
.mc-mini-link { color: #6b5bf5; font-size: 12.5px; margin-top: 4px; }
.mc-wallet-strip { display: flex; gap: 10px; margin-bottom: 12px; }
.mc-wallet-strip > div { flex: 1 1 0; background: linear-gradient(120deg, #6b5bf5, #8f80f8); border-radius: var(--mc-r); padding: 14px; color: #fff; display: flex; flex-direction: column; gap: 5px; }
.mc-wallet-strip > div:last-child { background: linear-gradient(120deg, #22b573, #3ed39a); }
.mc-wallet-strip span { font-size: 11.5px; opacity: .85; }
.mc-wallet-strip b { font-size: 21px; font-weight: 800; }
.mc-cache-ic, .mc-invite-ic, .mc-info-ic { width: 76px; height: 76px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; margin: 10px auto 18px; box-shadow: 0 4px 16px rgba(30, 35, 56, .08); }
.mc-invite-link { background: #fff; border: 1px dashed #c9c2ff; border-radius: var(--mc-r); padding: 13px; font-size: 12px; color: #6b5bf5; word-break: break-all; margin-bottom: 12px; }
.mc-info-box { background: #fff; border-radius: var(--mc-r); padding: 16px; display: flex; flex-direction: column; gap: 7px; margin-bottom: 12px; }
.mc-info-box b { font-size: 15px; } .mc-info-box span { font-size: 13px; color: #6b7186; }
.mc-qr { display: block; width: 180px; height: 180px; object-fit: contain; margin: 0 auto 14px; border-radius: var(--mc-r); background: #fff; padding: 8px; }
.mc-qr-empty { background: #fff; border-radius: var(--mc-r); text-align: center; padding: 40px 16px; color: #9aa0b4; font-size: 13px; line-height: 1.9; }
.mc-qr-empty small { font-size: 11px; color: #b6bbcb; }
.mc-name-card { background: linear-gradient(125deg, #1b2347, #2f3f7d); border-radius: var(--mc-r); padding: 20px; color: #fff; margin-bottom: 14px; box-shadow: 0 8px 24px rgba(27, 35, 71, .18); }
.mc-nc-top { display: flex; align-items: center; gap: 11px; }
.mc-nc-logo { width: 44px; height: 44px; border-radius: var(--mc-r); background: linear-gradient(135deg, #ffbd22, #ff9a2b); display: flex; align-items: center; justify-content: center; font-size: 21px; font-weight: 800; flex: 0 0 44px; }
.mc-nc-top > div { flex: 1 1 auto; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mc-nc-top b { font-size: 18px; } .mc-nc-top span { font-size: 11.5px; color: #b9c4df; }
.mc-nc-level { font-size: 11px; background: rgba(255, 255, 255, .16); border-radius: 999px; padding: 5px 10px; white-space: nowrap; }
.mc-nc-mid { display: flex; gap: 12px; margin-top: 22px; }
.mc-nc-mid > div { flex: 1 1 0; display: flex; flex-direction: column; gap: 5px; }
.mc-nc-mid span { font-size: 11px; color: #aab4d6; } .mc-nc-mid b { font-size: 14px; letter-spacing: .5px; }
.mc-nc-foot { margin-top: 20px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 11.5px; color: #b9c4df; text-align: center; }

/* ---------- 消息通知（右上角铃铛 + 面板） ---------- */
.mc-user-tools { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.mc-bell {
  position: relative; width: 34px; height: 34px; border-radius: 50%; border: 0; padding: 0;
  background: #f5f6fa; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.mc-bell:active { background: #eceef7; }
.mc-bell-dot {
  position: absolute; top: -4px; right: -5px; min-width: 16px; height: 16px; padding: 0 4px;
  border: 2px solid #fff; border-radius: 999px; background: #f2595b; color: #fff;
  font-size: 10px; font-weight: 800; line-height: 16px; text-align: center; font-style: normal;
  box-sizing: content-box;
}
.mc-bell-dot[hidden] { display: none; }
.mc-np-mask {
  position: fixed; inset: 0; background: rgba(20, 24, 40, .3); z-index: 55;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.mc-np-mask.on { opacity: 1; pointer-events: auto; }
.mc-np {
  position: fixed; top: 54px; right: 10px; width: 340px; max-width: calc(100vw - 20px);
  max-height: 74vh; background: #fff; border-radius: var(--mc-r); box-shadow: 0 12px 34px rgba(20, 24, 40, .18);
  z-index: 56; display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; pointer-events: none; transform: translateY(-8px) scale(.98); transition: opacity .18s, transform .18s;
}
.mc-np.on { opacity: 1; pointer-events: auto; transform: none; }
.mc-np-head {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 13px; border-bottom: 1px solid #f1f2f7;
}
.mc-np-title { display: flex; align-items: baseline; gap: 7px; min-width: 0; }
.mc-np-title b { font-size: 15.5px; font-weight: 800; }
.mc-np-title span { font-size: 11px; color: #9aa0b4; }
.mc-np-readall {
  flex: 0 0 auto; display: flex; align-items: center; gap: 3px; border: 0; cursor: pointer;
  background: #f0efff; color: #6b5bf5; border-radius: 999px; padding: 6px 11px;
  font-size: 11.5px; font-weight: 700;
}
.mc-np-body { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.mc-np-loading, .mc-np-empty { padding: 34px 18px; text-align: center; color: #9aa0b4; font-size: 12px; }
.mc-np-empty { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.mc-np-empty b { font-size: 14px; color: #6b7186; }
.mc-np-empty span { font-size: 11.5px; line-height: 1.6; }
.mc-np-item {
  position: relative; display: flex; gap: 10px; padding: 12px 13px;
  border-bottom: 1px solid #f6f7fb; cursor: pointer;
}
.mc-np-item:last-child { border-bottom: 0; }
.mc-np-item:active { background: #f7f8fd; }
.mc-np-item.unread { background: #fafbff; }
.mc-np-item.unread::before {
  content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px;
  border-radius: 0 3px 3px 0; background: #6b5bf5;
}
.mc-np-ic {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: var(--mc-r);
  display: flex; align-items: center; justify-content: center;
}
.mc-np-txt { flex: 1 1 auto; min-width: 0; }
.mc-np-tl { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.mc-np-tl b { font-size: 13.5px; font-weight: 700; color: #1e2338; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-np-item.unread .mc-np-tl b { font-weight: 800; color: #10152a; }
.mc-np-tl span { flex: 0 0 auto; font-size: 10.5px; color: #b6bbcb; }
.mc-np-txt p {
  margin: 3px 0 0; font-size: 11.5px; line-height: 1.55; color: #8a90a6;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.mc-np-item.unread .mc-np-txt p { color: #6b7186; }

/* 消息管理子页：通知列表 */
.mc-notice-list { background: #fff; border-radius: var(--mc-r); overflow: hidden; }
.mc-nitem { display: flex; gap: 10px; padding: 12px 13px; border-bottom: 1px solid #f1f2f7; cursor: pointer; position: relative; }
.mc-nitem:last-child { border-bottom: 0; }
.mc-nitem.unread { background: #fafbff; }
.mc-nitem.unread::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: #6b5bf5; }
.mc-nitem-ic { flex: 0 0 36px; width: 36px; height: 36px; border-radius: var(--mc-r); display: flex; align-items: center; justify-content: center; }
.mc-nitem > div { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mc-nitem b { font-size: 14px; font-weight: 700; }
.mc-nitem span { font-size: 11.5px; color: #9aa0b4; line-height: 1.55; }
.mc-nitem small { font-size: 10.5px; color: #b6bbcb; }

/* ---------- Toast ---------- */
.mc-toast {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 999;
  background: rgba(30, 35, 56, .92); color: #fff; font-size: 13px; padding: 10px 18px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .2); transition: opacity .4s; opacity: 1;
}
.mc-toast.out { opacity: 0; }

/* ---------- 窄屏适配 ---------- */
@media (max-width: 375px) {
  .mc-body, .mc-sub-body { padding-left: 10px; padding-right: 10px; }
  .mc-nick { font-size: 18px; }
  .mc-stat b { font-size: 15px; }
  .mc-row-txt b { font-size: 14.5px; }
  .mc-row-ic { width: 38px; height: 38px; flex-basis: 38px; }
  .mc-sign-btn { padding: 8px 11px; font-size: 12.5px; }
  .mc-sd-no { width: 30px; height: 30px; }
  .mc-sign-days::before { top: 15px; }
  .mc-sd-lb, .mc-sd-pt { font-size: 9.5px; }
  .mc-bn-t { font-size: 18px; }
}
@media (max-width: 350px) {
  .mc-lv-need { font-size: 10.5px; }
  .mc-sd-no { width: 27px; height: 27px; font-size: 12px; }
  .mc-sign-days::before { top: 13px; }
  .mc-group-t { font-size: 15.5px; }
}

/* ==================================================================
   V3.8.0 个人资料补全（头像 / 地区 / 简介）+ 实名状态
   ================================================================== */
.mc-form select {
  border: 1px solid #e6e9f2; border-radius: var(--mc-r); padding: 10px 11px; font-size: 14px; color: #1e2338;
  background: #fafbfe; outline: none; width: 100%; box-sizing: border-box; -webkit-appearance: none; appearance: none;
}
.mc-form select:focus { border-color: #6b5bf5; background: #fff; }
.mc-prof-hd { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: var(--mc-r); padding: 14px; margin-bottom: 12px; }
.mc-prof-av {
  width: 56px; height: 56px; border-radius: 50%; flex: none; overflow: hidden;
  background: linear-gradient(135deg, #6b5bf5, #8a7bf7); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700;
}
.mc-prof-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mc-prof-meta { flex: 1; min-width: 0; }
.mc-prof-meta b { display: block; font-size: 15px; color: #1e2338; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-prof-meta span { display: inline-block; margin-top: 4px; font-size: 11px; color: #9aa0b4; background: #f3f4f9; padding: 2px 8px; border-radius: 999px; }
.mc-prof-meta span.ok { color: #22b573; background: #e9f9f1; }
.mc-prof-avbtn { flex: none; border: 1px solid #e6e9f2; background: #fff; color: #6b5bf5; font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 999px; cursor: pointer; }

/* ==================================================================
   V3.16.0 我的举报（会员中心 → 系统设置 → 我的举报）
   ================================================================== */
.mc-rp-list { display: flex; flex-direction: column; gap: 10px; }
.mc-rp { background: #fff; border-radius: var(--mc-r); padding: 13px 14px; }
.mc-rp-top { display: flex; align-items: flex-start; gap: 10px; }
.mc-rp-top b { flex: 1; min-width: 0; font-size: 14px; color: #1e2338; line-height: 1.45;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mc-rp-st { flex: none; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.mc-rp-st.wait { color: #b8781a; background: #fff5e3; }
.mc-rp-st.pass { color: #14895a; background: #e9f9f1; }
.mc-rp-st.reject { color: #c94040; background: #fdeeee; }
.mc-rp-meta { display: flex; gap: 5px; margin-top: 6px; font-size: 11.5px; color: #8a90a6; }
.mc-rp-d { margin-top: 6px; font-size: 12px; color: #5a6176; line-height: 1.6; }
.mc-rp-rm { margin-top: 6px; font-size: 12px; color: #b8781a; background: #fffaf0; border-radius: 8px; padding: 7px 9px; line-height: 1.6; }
.mc-rp-ft { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-size: 11px; color: #a2a8bc; }
.mc-rp-ft a { color: #6b5bf5; font-weight: 600; }

/* ============ 提现规则（V3.16.3 · 微信审核要求） ============ */
.mc-rule {
  margin-bottom: 12px;
  padding: 14px 14px 10px;
  background: #fff;
  border-radius: var(--mc-r);
  border: 1px solid #e8edf9;
  box-shadow: 0 4px 14px rgba(61, 107, 255, .06);
}
.mc-rule-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 9px; border-bottom: 1px dashed #edf1fa;
}
.mc-rule-hd b { font-size: 15px; color: #1e2338; font-weight: 800; }
.mc-rule-hd i {
  font-style: normal; font-size: 10px; color: #3d6bff;
  background: #eef3ff; border-radius: 999px; padding: 2px 8px; line-height: 1.5;
}
.mc-rule-row {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid #f4f6fc;
}
.mc-rule-row:last-child { border-bottom: 0; }
.mc-rule-k { flex: 0 0 78px; width: 78px; font-size: 12px; color: #8a90a6; line-height: 1.6; }
.mc-rule-v { flex: 1; min-width: 0; font-size: 12.5px; color: #2b3040; line-height: 1.65; word-break: break-all; }
.mc-rule-ft {
  margin-top: 7px; padding: 7px 9px; background: #f7f9ff; border-radius: 8px;
  font-size: 11px; color: #7c8298; line-height: 1.65;
}

/* 未登录（V3.16.3）：给登录入口，不再只显示一句「请先登录」 */
.mc-needlogin { display: flex; flex-direction: column; gap: 10px; }
.mc-login-card {
  background: #fff; border-radius: var(--mc-r); padding: 22px 16px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center;
}
.mc-login-card b { font-size: 15px; color: #1e2338; }
.mc-login-card span { font-size: 12px; color: #9aa0b4; }
.mc-login-card .mc-submit { margin-top: 6px; }

/* ---------------- 邀请好友（V3.22.0） ----------------
   统计条 + 邀请码 + 分享组件（复用 .sq-share）+ 海报入口 */
.mc-inv-stat {
  display: flex; align-items: center; justify-content: center; gap: 22px;
  background: #fff; border-radius: 12px; padding: 15px 0; margin: 4px 0 12px;
}
.mc-inv-stat > span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mc-inv-stat b { font-size: 22px; font-weight: 800; color: #1b1f2a; line-height: 1.1; }
.mc-inv-stat i { font-style: normal; font-size: 11.5px; color: #9aa0b4; }
.mc-inv-stat .sep { width: 1px; height: 26px; background: #eef1f7; }
.mc-inv-code { display: flex; align-items: center; gap: 7px; margin: 0 2px 12px; font-size: 13px; color: #5b6376; }
.mc-inv-code b { font-size: 15px; font-weight: 800; color: #5a4bf0; letter-spacing: 1px; }
.mc-inv-copy {
  margin-left: auto; height: 28px; padding: 0 13px; border-radius: 999px;
  border: 1px solid #e2eaff; background: #eef3ff; color: #3d6bff;
  font-size: 12px; font-weight: 700; font-family: inherit;
}
/* 「生成邀请海报」：浅底描边，避免和上面分享卡的主按钮抢视线 */
.mc-submit.ghost {
  margin-top: 10px; background: #fff; color: #5a4bf0;
  border: 1px solid #e0e5ff; box-shadow: none;
}
.mc-poster-mask {
  position: fixed; inset: 0; z-index: 9999; background: rgba(10, 12, 25, .78);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.mc-poster-box { width: 100%; max-width: 360px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mc-poster-img { width: 100%; display: block; border-radius: 12px; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.mc-poster-tip { font-size: 12.5px; color: rgba(255, 255, 255, .86); }
.mc-poster-acts { display: flex; gap: 10px; width: 100%; }
.mc-poster-btn {
  flex: 1 1 0; height: 40px; line-height: 40px; text-align: center;
  border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none;
}
.mc-poster-btn.ghost { background: rgba(255, 255, 255, .16); color: #fff; }
.mc-poster-btn.main { background: #fff; color: #3d3a8f; }

/* ---------------- 联系客服 / 关注公众号（V3.23.0） ----------------
   · 客服微信号单独一张卡，右侧「复制」胶囊（微信 ID 长，用户懒得手打）
   · 二维码统一放进白卡里，配一行说明 + 一行「可长按识别」的弱提示
   · 没配置时用 .mc-miss / .mc-qr-empty 兜底，绝不出现破图 */
.mc-wx { background: #fff; border-radius: var(--mc-r); padding: 16px 16px 14px; margin-bottom: 12px; }
.mc-wx-tt { font-size: 11.5px; color: #9aa0b4; margin-bottom: 7px; }
.mc-wx-row { display: flex; align-items: center; gap: 10px; }
.mc-wx-id {
  flex: 1 1 auto; min-width: 0; font-size: 17px; font-weight: 800; color: #1b1f2a;
  letter-spacing: .4px; word-break: break-all; line-height: 1.4;
}
.mc-wx-copy {
  flex: 0 0 auto; height: 30px; padding: 0 15px; border-radius: 999px;
  border: 1px solid #dbe6ff; background: #eef3ff; color: #3d6bff;
  font-size: 12.5px; font-weight: 700; font-family: inherit;
}
.mc-wx-copy:active { background: #e2ebff; }
.mc-miss { font-size: 12.5px; color: #a4aabb; padding: 6px 0 2px; }
.mc-qr-card {
  background: #fff; border-radius: var(--mc-r); padding: 20px 18px 16px;
  text-align: center; margin-bottom: 12px;
}
.mc-qr-img {
  display: block; width: 200px; height: 200px; margin: 0 auto;
  object-fit: contain; border-radius: 10px; background: #fff;
}
.mc-qr-cap { margin-top: 12px; font-size: 13.5px; font-weight: 700; color: #1b1f2a; }
.mc-qr-sub { margin-top: 4px; font-size: 11.5px; color: #a4aabb; }

/* ---------------- 兑换服务（V3.24.0） ----------------
   · 顶部一张余额卡（大数字 + 积分明细入口）
   · 兑换项做成卡片：标题 + 类型小标 + 说明 + 底栏「多少分 / 立即兑换」
   · 置顶类要先在顶部下拉选社群，说明写在 hint 里，别让用户点了才报错 */
.mc-ex-bal {
  background: linear-gradient(120deg, #fff6e4, #fffaf1);
  border: 1px solid #ffe6bf;
  border-radius: var(--mc-r); padding: 16px 18px; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.mc-ex-bal .n { display: flex; align-items: baseline; gap: 7px; }
.mc-ex-bal .n b { font-size: 26px; font-weight: 800; color: #b8730a; line-height: 1; }
.mc-ex-bal .n span { font-size: 12px; color: #a3813f; }
.mc-ex-bal .go { font-size: 12px; color: #c8891a; text-decoration: none; white-space: nowrap; }

.mc-ex-pick { background: #fff; border-radius: var(--mc-r); padding: 13px 15px; margin-bottom: 12px; }
.mc-ex-pick label { display: block; font-size: 13px; color: #4a5064; margin-bottom: 7px; }
.mc-ex-pick select {
  width: 100%; box-sizing: border-box; border: 1px solid #e6e8ef; border-radius: 8px;
  padding: 10px 12px; font-size: 13.5px; color: #1b2033; background: #fff; font-family: inherit;
}
.mc-ex-pick .hint { font-size: 11px; color: #a9aebe; margin-top: 6px; line-height: 1.5; }

.mc-ex-list { display: flex; flex-direction: column; gap: 10px; }
.mc-ex-item { background: #fff; border-radius: var(--mc-r); padding: 15px 15px 13px; }
.mc-ex-top { display: flex; align-items: center; gap: 8px; }
.mc-ex-top b { font-size: 15px; color: #1b1f2a; }
.mc-ex-kind { font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 6px; }
.mc-ex-kind.vip { color: #b8801a; background: #fff5e0; }
.mc-ex-kind.top { color: #2f9e6f; background: #e9f8f0; }
.mc-ex-ds { margin-top: 6px; font-size: 12px; color: #8b91a5; line-height: 1.6; }
.mc-ex-ft {
  margin-top: 11px; padding-top: 11px; border-top: 1px dashed #eef1f7;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.mc-ex-pts { font-size: 12px; color: #8b91a5; }
.mc-ex-pts b { font-size: 18px; font-weight: 800; color: #e08b12; margin-right: 3px; }
.mc-ex-pts .lack { font-style: normal; color: #e0574f; margin-left: 7px; font-size: 11.5px; }
.mc-ex-btn {
  flex: 0 0 auto; height: 34px; padding: 0 18px; border-radius: 999px; border: 0;
  background: linear-gradient(100deg, #ffb02e, #ff9a1f); color: #fff;
  font-size: 13px; font-weight: 700; font-family: inherit;
  box-shadow: 0 4px 10px rgba(255, 154, 31, .25);
}
.mc-ex-btn:active { transform: translateY(1px); }
.mc-ex-btn.off { background: #f1f3f8; color: #b6bbcb; box-shadow: none; }

.mc-ex-rec-h { margin: 16px 2px 8px; font-size: 13px; font-weight: 800; color: #2c3040; }
.mc-ex-rec { background: #fff; border-radius: var(--mc-r); overflow: hidden; }
.mc-ex-rec-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 15px; border-bottom: 1px solid #f4f6fb;
}
.mc-ex-rec-row:last-child { border-bottom: 0; }
.mc-ex-rec-row .l { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mc-ex-rec-row .l b { font-size: 13.5px; color: #1b1f2a; }
.mc-ex-rec-row .l span { font-size: 11.5px; color: #9aa0b4; }
.mc-ex-rec-row .r { text-align: right; white-space: nowrap; }
.mc-ex-rec-row .r i { font-style: normal; font-size: 13.5px; font-weight: 800; color: #e0574f; display: block; }
.mc-ex-rec-row .r span { font-size: 11px; color: #b1b6c6; }
