/* 会员中心 —— 浅色简洁，与首页 / 报告页同一套视觉语言
   品牌色沿用「融镜」logo 采样红 #DA0206（与 h5/app.css 的 --brand 一致）
   （卡密兑换 / 账号登录 / 续费码充值 / 剩余次数，均走服务端卡密体系） */

/* 顶部栏入口（首页 appbar 右侧）：白底上的红边胶囊 */
.mb-entry {
  margin-left: auto; flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid #ffd9d7; background: #fff1f0;
  color: #da0206; font-size: 12.5px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
}
.mb-entry:active { transform: scale(.96); }
.mb-entry .mb-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #e6434a; flex: 0 0 auto;
}
.mb-entry.is-member .mb-dot { background: #22c55e; }
.mb-entry .mb-n { font-variant-numeric: tabular-nums; }

/* 遮罩与面板 */
.mb-mask {
  position: fixed; inset: 0; z-index: 120; background: rgba(15, 23, 42, .45);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .22s ease;
}
/* ★ V3.7.8：桌面宽度下弹窗垂直居中——之前 align-items:flex-end 在电脑浏览器里
   弹窗贴着屏幕底部（用户实测反馈「太靠底部了」）；手机保持底部抽屉式更顺手 */
@media (min-width: 700px) {
  .mb-mask { align-items: center; padding: 24px 0; }
  .mb-panel { border-radius: 18px; }
}
.mb-mask.is-open { opacity: 1; pointer-events: auto; }
.mb-panel {
  width: 100%; max-width: 520px; background: #fff; border-radius: 18px 18px 0 0;
  max-height: 88vh; overflow: auto; padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(18px); transition: transform .24s ease;
  box-shadow: 0 -10px 40px rgba(15, 23, 42, .18);
}
.mb-mask.is-open .mb-panel { transform: translateY(0); }

.mb-head {
  position: sticky; top: 0; background: #fff; z-index: 2;
  display: flex; align-items: center; gap: 11px; padding: 16px 18px 12px;
  border-bottom: 1px solid #f3f5f8;
}
/* ★ V3.7.6 头部三件套（盛融百科同款）：emoji 图标 + 标题 + 副标题 */
.mb-hico {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px;
  background: #fff1f0; display: inline-flex; align-items: center; justify-content: center;
  font-size: 19px; font-style: normal; line-height: 1;
}
.mb-hd { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mb-head h3 { margin: 0; font-size: 16.5px; font-weight: 700; color: #1c1f23; line-height: 1.25; }
.mb-hsub { font-size: 11.5px; color: #8a95a6; line-height: 1.4; }
.mb-x {
  margin-left: auto; width: 30px; height: 30px; border: 0; border-radius: 50%;
  background: #f4f5f7; color: #7b8798; font-size: 15px; line-height: 1; cursor: pointer;
}
.mb-body { padding: 16px 18px 22px; }

/* 登录后的会员卡 → ★ V3.5.0 起由 .mc-card / .mc-row（见文件末尾「会员中心」段）接管，
   旧的 .mb-card（三宫格额度卡）已随 viewMember() 重写一并删除 */

/* 表单 */
.mb-sec { margin-top: 18px; }
.mb-sec-t { font-size: 13px; font-weight: 700; color: #4a5568; margin-bottom: 9px; }
.mb-sec-t::before {
  content: ''; display: inline-block; width: 3px; height: 12px; background: #da0206;
  border-radius: 2px; margin-right: 7px; vertical-align: -1px;
}
.mb-field {
  width: 100%; height: 44px; border: 1px solid #e6e9ee; border-radius: 11px;
  padding: 0 13px; font-size: 14px; color: #1c1f23; background: #fbfcfd;
  box-sizing: border-box; outline: none; margin-bottom: 9px;
  font-family: inherit;
}
.mb-field:focus { border-color: #ffb3b0; background: #fff; }
.mb-field::placeholder { color: #a9b3c2; }
.mb-row { display: flex; gap: 9px; }
.mb-row .mb-field { flex: 1; margin-bottom: 9px; }

.mb-btn {
  width: 100%; height: 45px; border: 0; border-radius: 11px; font-size: 15px; font-weight: 600;
  background: linear-gradient(135deg, #e6434a, #da0206); color: #fff; cursor: pointer;
  font-family: inherit;
}
.mb-btn:active { opacity: .88; }
.mb-btn.ghost { background: #fff; color: #da0206; border: 1px solid #ffd0cd; }
.mb-btn.sm { height: 40px; font-size: 14px; }
.mb-btn[disabled] { opacity: .55; cursor: default; }

.mb-tip { font-size: 12px; color: #8a95a6; line-height: 1.6; margin-top: 10px; }
.mb-err {
  margin-top: 10px; font-size: 12.5px; color: #d0453f; background: #fdf1f0;
  border: 1px solid #f6d9d7; border-radius: 9px; padding: 8px 11px; display: none;
}
.mb-err.is-on { display: block; }
.mb-ok {
  margin-top: 10px; font-size: 12.5px; color: #1a7f46; background: #eefaf2;
  border: 1px solid #cdeedb; border-radius: 9px; padding: 8px 11px; display: none;
}
.mb-ok.is-on { display: block; }

.mb-split {
  display: flex; align-items: center; gap: 10px; margin: 18px 0 4px;
  font-size: 12px; color: #a9b3c2;
}
.mb-split::before, .mb-split::after { content: ''; flex: 1; height: 1px; background: #eef1f6; }

.mb-link {
  background: none; border: 0; color: #da0206; font-size: 12.5px; cursor: pointer;
  padding: 0; font-family: inherit;
}
.mb-out {
  margin-top: 18px; text-align: center; font-size: 12.5px; color: #a9b3c2;
}
.mb-code {
  font-size: 12px; color: #7b8798; margin-top: 6px; word-break: break-all;
  font-variant-numeric: tabular-nums;
}
.mb-code b { color: #1c1f23; font-size: 13px; }

/* 未登录时的说明卡 */
.mb-hello {
  background: #fff8f8; border: 1px solid #ffe1df; border-radius: 13px;
  padding: 13px 15px; font-size: 12.5px; color: #5b6879; line-height: 1.7;
}
.mb-hello b { color: #1c1f23; }

/* ============================================================
   ★ V3.3.0 四合一登录页（注册 / 账号登录 / 卡密登录 / 扫码登录）
   —— 视觉对齐盛融百科的登录引导，但保持本站「浅色简洁」的基调
   ============================================================ */

/* 顶部引导语（例如「本站需注册登录后使用」） */
.mb-notice {
  background: #fff4f3; border: 1px solid #ffdad7; color: #a4342f;
  border-radius: 11px; padding: 9px 12px; font-size: 12.5px; line-height: 1.6;
  margin-bottom: 13px;
}

/* 页签 → ★ V3.7.6 起改为盛融百科同款「两个大页签按钮」（见 .mb-auth-tabs），
   旧 .mb-tabs 四小页签样式已随登录弹窗复刻一并删除 */

/* ---- V3.7.6 盛融百科复刻：注册/登录弹窗 ---- */

/* 头部副标题下面的黄色权益条（🎁 新注册赠每日 N 次） */
.mb-gift {
  margin: 2px 0 14px; padding: 11px 13px;
  border: 1px solid #ffe6b8; border-radius: 10px;
  background: #fffaf0; color: #a15c00; font-size: 12.5px; line-height: 1.8;
}
.mb-gift b { font-weight: 700; }

/* 字段：label 加粗 + 红色必填星号（百科同款），输入框浅灰底 */
.mb-sec-plain { margin-top: 0; }
.mb-fld { margin-bottom: 12px; }
.mb-fld label {
  display: block; font-size: 12.5px; font-weight: 700; color: #3d4757; margin-bottom: 6px;
}
.mb-fld label .req { font-style: normal; color: #da0206; margin-left: 2px; }
.mb-field {
  background: #f7f8fa; border-color: transparent;
}
.mb-field:focus { border-color: #f3b0ad; background: #fff; }

/* 两个大页签按钮：选中 = 红渐变白字，未选 = 白底灰边 */
.mb-auth-tabs { display: flex; gap: 10px; margin-bottom: 15px; }
.mb-auth-tabs button {
  flex: 1; height: 44px; border-radius: 10px; cursor: pointer; font-family: inherit;
  border: 1px solid #e6e9ee; background: #fff; color: #5b6472;
  font-size: 14px; font-weight: 600;
}
.mb-auth-tabs button.on {
  background: linear-gradient(135deg, #e6434a, #da0206); border-color: transparent;
  color: #fff; box-shadow: 0 4px 12px rgba(218, 2, 6, .22);
}

/* 表单下的说明小字（百科是两行浅灰提示） */
.mb-auth-tip { font-size: 12px; color: #8a95a6; line-height: 1.7; margin-top: 2px; }
/* ★ V3.24.0：登录页签里的「忘记密码？」—— 做成文字链而不是按钮，
   避免与下面的主按钮抢注意力（它是兜底路径，不是主路径） */
.mb-forgot {
  border: 0; background: none; padding: 0; margin-left: 6px;
  color: var(--brand); font-size: 12px; font-weight: 600; cursor: pointer;
  text-decoration: underline; text-underline-offset: 2px;
}

/* 底部按钮条：右对齐「取消 + ✓主按钮」（百科同款） */
.mb-ft { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }
.mb-cancel {
  min-width: 76px; height: 44px; padding: 0 16px; border-radius: 10px; cursor: pointer;
  border: 1px solid #e6e9ee; background: #fff; color: #5b6472;
  font-size: 14px; font-weight: 600; font-family: inherit;
}
.mb-cancel:active { background: #f7f8fa; }
.mb-btn.inline { width: auto; min-width: 150px; padding: 0 22px; height: 44px; }

/* 底部居中切换链接（去登录 / 立即注册 / 扫码登录） */
.mb-switch {
  margin-top: 14px; text-align: center; font-size: 12.5px; color: #8a95a6;
}
.mb-switch button {
  background: none; border: 0; padding: 0 2px; cursor: pointer; font-family: inherit;
  color: #da0206; font-size: 12.5px; font-weight: 700;
}
.mb-switch button:active { opacity: .8; }
.mb-switch-sep { display: inline-block; width: 1px; height: 11px; background: #e3e7ee; margin: 0 8px; vertical-align: -1px; }

/* 协议块 → 盛融百科同款灰底圆角容器（具体样式见下方 V3.4.0 协议段，V3.7.6 改版） */

/* 扫码登录 */
.mb-qr { text-align: center; padding: 4px 0 2px; }
.mb-qr-box {
  width: 176px; height: 176px; margin: 0 auto; border: 1px solid #eef1f6;
  border-radius: 12px; background: #fff; display: flex; align-items: center;
  justify-content: center; overflow: hidden; padding: 8px; box-sizing: border-box;
}
.mb-qr-img { width: 100%; height: 100%; display: block; }
/* ★ V3.4.0 修 BUG：用户反馈「扫码登录 二维码不显示」。
   qrcodejs 会把它的 canvas 写成 **inline 的 display:none**（库内部用于导出图片的
   隐藏节点），而且是在绘制完成后再写一次，JS 里设的 inline !important 会被它
   用 `style.display='none'` 赋值**整个替换掉**（important 标记一并丢失）。
   唯一压得住的办法是这里用样式表 !important —— 按 CSS 层叠规则，
   「作者 important」高于「作者 normal（含 inline 普通声明）」。
   少一行，二维码就是画好了却看不见。 */
.mb-qr-box canvas.mb-qr-img,
.mb-qr-box img.mb-qr-img { display: block !important; }
.mb-qr-loading { font-size: 12px; color: #a9b3c2; }
.mb-qr-tip { font-size: 12.5px; color: #7b8798; margin-top: 11px; line-height: 1.6; }
.mb-qr-tip.on { color: #1a7f46; font-weight: 600; }
.mb-qr-tip.err { color: #d0453f; }

/* 手机扫到二维码后页面顶部的确认条 */
.mb-qrbar {
  position: fixed; left: 0; right: 0; top: 0; z-index: 200;
  background: #fff; border-bottom: 1px solid #ffe1df;
  box-shadow: 0 6px 20px rgba(23,43,77,.12);
  padding: calc(11px + env(safe-area-inset-top, 0px)) 14px 12px;
  display: flex; align-items: center; gap: 12px;
}
.mb-qrbar .tx { flex: 1; min-width: 0; }
.mb-qrbar .tx b { display: block; font-size: 13.5px; color: #1c1f23; }
.mb-qrbar .tx span { display: block; font-size: 11.5px; color: #7b8798; margin-top: 3px; line-height: 1.5; }
.mb-qrbar .btns { flex: 0 0 auto; display: flex; gap: 7px; }
.mb-qrbar .mb-btn { width: auto; padding: 0 14px; }

/* 「我的」页未登录时的两个按钮 → 现由下方 .mc-guest-btns 接管
   （旧 .mine-guest-btns / .btn-ghost-l 是给深色渐变卡用的白字幽灵按钮，
     会员中心已经整体改成浅色白卡，白字放上去等于看不见，故一并删除） */

/* ============================================================
   ★ V3.4.0 注册前置的「三份协议」
   ------------------------------------------------------------
   规则与盛融百科一致：每份要点开阅读满 10 秒，行尾标才会从
   「点击阅读」→「阅读中 7s」→「✓ 可勾选」，此时复选框才可勾。
   整体走浅色系（与本站其它弹层统一），只在强调处用品牌红 #da0206。
   ============================================================ */
/* ★ V3.7.6 复刻百科：灰底圆角协议块，行尾「点击阅读」为橙黄胶囊（读完变绿✓） */
.mb-agrs {
  margin: 4px 0 2px; padding: 12px 13px 8px;
  background: #f7f8fa; border-radius: 12px;
}
.mb-agrs-hd { font-size: 12.5px; color: #3d4757; font-weight: 600; margin-bottom: 2px; }
.mb-agr {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 0; font-size: 12.5px; color: #4a5566;
}
.mb-agr-cb { width: 15px; height: 15px; flex: 0 0 auto; accent-color: #da0206; cursor: pointer; }
.mb-agr-cb:disabled { cursor: not-allowed; opacity: .5; }
.mb-agr-tx { flex: 0 0 auto; }
.mb-agr-link {
  background: none; border: 0; padding: 0; flex: 0 0 auto;
  color: #da0206; font-size: 12.5px; text-decoration: underline;
  cursor: pointer; font-family: inherit;
}
.mb-agr-go {
  margin-left: auto; flex: 0 0 auto; cursor: pointer; font-family: inherit;
  border: 1px solid #ffe0a3; background: #fff6e6; color: #b26b00;
  font-size: 11.5px; padding: 3px 10px; border-radius: 999px;
}
.mb-agr-go.on { border-color: #bfe3cd; background: #f1faf4; color: #1a7f46; }

/* 协议阅读层（叠在会员弹层之上） */
.mb-agrmask {
  position: fixed; inset: 0; z-index: 9999; padding: 16px;
  background: rgba(17,20,28,.5); display: flex; align-items: center; justify-content: center;
}
.mb-agrbox {
  width: 100%; max-width: 620px; max-height: 84vh; background: #fff;
  border-radius: 14px; display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 18px 48px rgba(16,24,40,.22);
}
.mb-agrbox-h {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; border-bottom: 1px solid #eef1f6; font-size: 14.5px; color: #1c1f23;
}
.mb-agrx { border: 0; background: none; font-size: 21px; line-height: 1; color: #98a2b3; cursor: pointer; padding: 0 2px; }
.mb-agrbox-b { flex: 1; overflow: auto; padding: 14px 16px; font-size: 13px; line-height: 1.85; color: #33415c; }
.mb-agrbox-b p { margin: 0 0 11px; }
.mb-agrbox-b h3, .mb-agrbox-b h4 { font-size: 13.5px; margin: 14px 0 8px; color: #1c1f23; }
.mb-agrbox-b a { color: #da0206; }
.mb-agrbox-f { padding: 12px 16px; border-top: 1px solid #eef1f6; }
.mb-agrbox-f .mb-btn { width: 100%; }
.mb-agrbox-f .mb-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ============================================================
   ★ V3.5.0 会员中心（「我的」页）
   ------------------------------------------------------------
   参照盛融百科的会员中心结构，落到本站「白底 + 中国红」的浅色体系：
     ① .mc-head   昵称 + ✏️ 改昵称 | 右上四个圆角图标（扫码/消息/账号/客服）
     ② .mc-card   会员信息卡（会员ID[复制] / 会员状态[卡密虚线框+✓有效] /
                   手机号 / 有效期[剩 N 天胶囊] / 查询额度）
     ③ .mc-renew  底部「续卡兑换」入口卡（★ V3.20.0 起为浅粉底 + 品牌红字）
     ④ .mc-sheet-* 消息面板（点小铃铛弹出）
   ④ 的层级叠在 mb-mask（z-index:120）之上，避免被登录面板压住。
   ============================================================ */

/* ---- ① 顶部：昵称行 + 五个图标 ----
   ★ V3.20.0：补一条极淡的分隔线（百科在「昵称/图标区」与信息卡之间有一条），
   让头部与卡片区在视觉上分成两块，而不是糊在一起。 */
.mc-head {
  display: flex; align-items: flex-start; gap: 10px;
  padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 1px solid #f7eded;
}
.mc-id { flex: 1; min-width: 0; }
.mc-nick {
  display: flex; align-items: center; gap: 6px;
  font-size: 18px; font-weight: 700; color: var(--text); line-height: 1.3;
  word-break: break-all;
}
.mc-pen {
  flex: 0 0 auto; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.mc-pen svg {
  width: 14px; height: 14px; fill: none; stroke: #b6bec9; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}
.mc-pen:active { background: var(--brand-soft); }
.mc-pen:active svg { stroke: var(--brand); }
.mc-sub {
  margin-top: 5px; font-size: 11.5px; color: var(--muted);
  letter-spacing: .2px; font-variant-numeric: tabular-nums; word-break: break-all;
}

.mc-acts { flex: 0 0 auto; display: flex; gap: 8px; }
.mc-act {
  position: relative; width: 34px; height: 34px; padding: 0;
  border: 1px solid var(--line); border-radius: 11px; background: #fff;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.mc-act svg {
  width: 18px; height: 18px; fill: none; stroke: #5b6472; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.mc-act:active { transform: scale(.94); background: #fafbfc; }
/* 未读角标：白色描边圈保证叠在任何底色上都看得清。
   注意必须显式写 [hidden] —— 这里给了 display 之外的大量属性，
   但 .mc-badge 自身没设 display，故 hidden 仍生效；仍显式兜一层更稳。 */
.mc-badge {
  position: absolute; top: -5px; right: -5px; min-width: 16px; height: 16px;
  padding: 0 4px; border-radius: 999px; background: #e6434a; color: #fff;
  font-size: 10px; font-weight: 700; line-height: 16px; text-align: center;
  font-style: normal; box-shadow: 0 0 0 2px #fff;
}
.mc-badge[hidden] { display: none; }

/* ---- ② 会员信息卡 ----
   ★ V3.20.0 复刻盛融百科：**浅粉底 + 淡粉描边 + 无行分隔线**。
   老板原话「用户中心布局参考百科的样式进行重构，以百科的风格为准」。
   三处与旧版的差别：
     ① 底色：纯白 → 极浅粉（#fffafa→#fff6f6 渐变），边框 #fadedd；
     ② 分隔线：删掉（百科靠留白分行），行高由 11px 收到 8px 更紧凑；
     ③ 「剩 N 天」：粉底红字描边胶囊 → **实心品牌红底白字**（百科那一颗）。 */
.mc-card {
  background: linear-gradient(180deg, #fffafa 0%, #fff6f6 100%);
  border: 1px solid #fadede; border-radius: 16px;
  box-shadow: 0 2px 10px rgba(218, 2, 6, .04); padding: 7px 16px;
}
.mc-row {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 0; border-bottom: 0;
}
.mc-k { flex: 0 0 auto; width: 62px; font-size: 12.5px; color: #a8908f; }
.mc-v {
  flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; color: var(--text);
  word-break: break-all;
}
.mc-copy {
  flex: 0 0 auto; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 7px;
  background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.mc-copy svg {
  width: 15px; height: 15px; fill: none; stroke: #9aa3b0; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.mc-copy:active { background: var(--brand-soft); }
.mc-copy:active svg { stroke: var(--brand); }

/* 卡密 / 凭证那一串：淡粉虚线框（百科口径 —— 一眼认出这是「凭证」，但不再是冷灰） */
.mc-code {
  display: inline-block; padding: 3px 9px; border: 1px dashed #f3b9bc;
  border-radius: 8px; background: #fff; color: #2b3440;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12.5px; font-weight: 600; letter-spacing: .4px;
}
.mc-ok { margin-left: 6px; font-size: 11.5px; font-style: normal; font-weight: 600; }
.mc-ok.is-ok { color: var(--good); }
.mc-ok.is-bad { color: #e05555; }

/* 「剩 N 天」胶囊 —— ★ V3.20.0 改**实心红底白字**（百科那一颗），
   旧的「粉底红字 + 红描边」在小字号下近乎看不清，实心版一眼就能读到。 */
.mc-pill {
  display: inline-block; margin-left: 6px; padding: 2.5px 9px;
  border: 0; border-radius: 999px;
  background: linear-gradient(135deg, #e62329 0%, #da0206 100%);
  color: #fff; font-size: 11px; font-style: normal; font-weight: 600;
  box-shadow: 0 1px 4px rgba(218, 2, 6, .22);
}
.mc-pill.is-bad {
  background: linear-gradient(135deg, #b9151b 0%, #94101a 100%);
  color: #fff; box-shadow: 0 1px 4px rgba(148, 16, 26, .2);
}

/* ---- ★ V3.22.0 登录设备（会员中心「登录设备」行 + 弹层） ----
   行内那枚「管理」做成浅粉胶囊（与信息卡同一套粉调），不用蓝色 ——
   蓝在这个页面里是「额度/数据」的语义，设备属于账号安全，走品牌红。 */
.mc-dev { font-weight: 600; }
.mc-devb {
  flex: 0 0 auto; margin-left: 6px; padding: 4px 10px;
  border: 1px solid #f6cdd0; border-radius: 999px;
  background: var(--brand-soft, #fff0f0); color: var(--brand, #da0206);
  font-size: 11.5px; font-weight: 600; cursor: pointer;
}
.mc-devb:active { background: #ffe3e4; }

.mc-dev-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 2px 2px 10px; font-size: 12.5px; color: #7b8798;
}
.mc-dev-bar b { color: var(--brand, #da0206); font-size: 14px; }
.mc-dev-full {
  margin-left: 4px; padding: 1.5px 7px; border-radius: 999px;
  background: #fff0f0; color: #d0443f; font-size: 11px; font-style: normal; font-weight: 600;
}
.mc-dev-row {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 12px; margin-bottom: 8px;
  border: 1px solid #eef1f6; border-radius: 12px; background: #fff;
}
.mc-dev-row.is-cur { border-color: #fadede; background: #fffafa; }
.mc-dev-main { flex: 1; min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.mc-dev-main b { font-size: 13px; font-weight: 600; color: var(--text); }
.mc-dev-main span { width: 100%; font-size: 11.5px; color: #9aa3b0; }
.mc-dev-tag {
  padding: 1.5px 7px; border-radius: 999px;
  background: var(--brand, #da0206); color: #fff;
  font-size: 10.5px; font-style: normal; font-weight: 600;
}
.mc-dev-kick {
  flex: 0 0 auto; padding: 6px 12px;
  border: 1px solid #e7ebf2; border-radius: 999px;
  background: #fff; color: #7b8798; font-size: 12px; cursor: pointer;
}
.mc-dev-kick:active { background: #f6f8fb; }
.mc-dev-empty { padding: 18px 0; text-align: center; font-size: 12.5px; color: #9aa3b0; }
.mc-dev-tip { margin: 12px 2px 0; font-size: 11.5px; line-height: 1.6; color: #9aa3b0; }

/* ---- ③ 底部「续卡兑换」入口卡 ----
   ★ V3.20.0：老板反馈原来的**橙色渐变太刺眼**（#ff9a3c→#f5690c 那是全页唯一的暖色块，
   在浅色界面里像一块警示牌）。改成「浅粉底 + 品牌红字」——
   和上面信息卡同一套粉调，红只用来点睛（标题 / 图标 / 箭头），不再整块铺色。 */
.mc-renew {
  width: 100%; margin-top: 14px; padding: 15px 16px;
  display: flex; align-items: center; gap: 12px; text-align: left;
  border: 1px solid #fadede; border-radius: 16px; cursor: pointer;
  background: linear-gradient(135deg, #fff7f7 0%, #ffecec 100%);
  color: var(--brand); box-shadow: 0 2px 10px rgba(218, 2, 6, .07);
}
.mc-renew:active { transform: scale(.985); background: linear-gradient(135deg, #ffeeee 0%, #ffe2e2 100%); }
.mc-renew-ico {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px;
  background: #fff; border: 1px solid #fbd6d6;
  display: inline-flex; align-items: center; justify-content: center;
}
.mc-renew-ico svg {
  width: 19px; height: 19px; fill: none; stroke: var(--brand); stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}
.mc-renew-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mc-renew-tx b { font-size: 14.5px; font-weight: 700; color: var(--brand); }
.mc-renew-tx span { margin-top: 3px; font-size: 11.5px; color: #a88283; }
.mc-arrow { flex: 0 0 auto; font-size: 20px; color: var(--brand); opacity: .55; }

/* ---- ④ ★ V3.20.0 站内弹窗（替代浏览器原生 prompt / confirm） ----
   原生弹窗标题栏是页面域名（「lens.sheng-rong.com 显示」），既出戏又像钓鱼站；
   这里用自建弹窗，头部换成品牌行「融镜 ｜ 以数据为镜，鉴信用风险」。
   层级 1600：压得住 mb-mask(120) 与 mc-sheet-mask(1300/1400)，又低于 toast(9999)。 */
.mc-dlg-mask {
  position: fixed; inset: 0; z-index: 1600; padding: 20px;
  background: rgba(15, 23, 42, .42);
  display: flex; align-items: center; justify-content: center;
}
.mc-dlg {
  width: 100%; max-width: 360px; padding: 18px 18px 16px;
  background: #fff; border-radius: 18px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .24);
  animation: mcDlgIn .18s ease-out;
}
@keyframes mcDlgIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
/* 品牌行：红色「融镜」字标 + 竖线 + 灰色主张（与邀请海报页眉同一套口径） */
.mc-dlg-brand {
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
  padding-bottom: 12px; border-bottom: 1px solid #f6eeee;
}
.mc-dlg-brand b { font-size: 15px; font-weight: 800; color: var(--brand); letter-spacing: .5px; }
.mc-dlg-brand i { width: 1px; height: 13px; background: #ecdede; }
.mc-dlg-brand span { font-size: 11.5px; color: #8a6f6f; letter-spacing: .2px; }
.mc-dlg-title { font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.35; }
.mc-dlg-tip { margin-top: 6px; font-size: 12.5px; color: #6b7684; line-height: 1.65; }
.mc-dlg-input {
  width: 100%; margin-top: 12px; padding: 11px 13px;
  border: 1px solid #e4e8ee; border-radius: 11px; background: #fbfcfd;
  font-size: 14px; color: var(--text); outline: none;
}
.mc-dlg-input:focus { border-color: var(--brand-line); background: #fff; box-shadow: 0 0 0 3px rgba(218, 2, 6, .07); }
.mc-dlg-btns { display: flex; gap: 10px; margin-top: 16px; }
.mc-dlg-btn {
  flex: 1; padding: 11px 0; border-radius: 11px; font-size: 14px; font-weight: 600;
  cursor: pointer; border: 1px solid transparent;
}
.mc-dlg-btn.is-ghost { background: #f4f6f8; border-color: #e8ecf1; color: #5b6879; }
.mc-dlg-btn.is-ghost:active { background: #eef1f5; }
.mc-dlg-btn.is-main { background: linear-gradient(135deg, #e62329 0%, #da0206 100%); color: #fff; }
.mc-dlg-btn.is-main:active { transform: scale(.985); }

/* ---- 未登录时的说明卡（浅色白卡，不再是深色渐变） ---- */
.mc-guest {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 16px;
}
.mc-guest p { font-size: 12.5px; color: #5b6879; line-height: 1.7; }
.mc-guest-btns { display: flex; gap: 10px; margin-top: 14px; }
/* ★ V3.24.0：说明文字收进「？」后，卡里只剩按钮 —— 首个元素不再需要顶部间距 */
.mc-guest > .mc-guest-btns:first-child { margin-top: 0; }
.mc-guest-btns .btn { margin-top: 0; flex: 1; }

/* ---- ④ 消息面板（点右上小铃铛） ---- */
.mc-sheet-mask {
  position: fixed; inset: 0; z-index: 130;
  background: rgba(15, 23, 42, .45);
  display: flex; align-items: flex-end; justify-content: center;
  animation: mcFade .18s ease;
}
@keyframes mcFade { from { opacity: 0 } to { opacity: 1 } }
.mc-sheet {
  width: 100%; max-width: 520px; max-height: 76vh;
  background: #fff; border-radius: 18px 18px 0 0;
  display: flex; flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -10px 40px rgba(15, 23, 42, .18);
  animation: mcUp .22s ease;
}
@keyframes mcUp { from { transform: translateY(20px) } to { transform: translateY(0) } }
.mc-sheet-h {
  flex: 0 0 auto; display: flex; align-items: center;
  padding: 16px 18px 12px; border-bottom: 1px solid var(--line-2);
}
.mc-sheet-h b { font-size: 16px; font-weight: 700; color: var(--text); }
.mc-sheet-x {
  margin-left: auto; width: 30px; height: 30px; padding: 0;
  border: 0; border-radius: 50%; background: #f4f5f7; color: #7b8798;
  font-size: 14px; line-height: 1; cursor: pointer;
}
.mc-sheet-b { flex: 1; overflow: auto; padding: 4px 18px 20px; }

.mc-msg { display: flex; gap: 10px; padding: 13px 0; border-bottom: 1px dashed #f0f3f8; }
.mc-msg:last-child { border-bottom: 0; }
.mc-msg-dot {
  flex: 0 0 auto; width: 7px; height: 7px; margin-top: 7px; border-radius: 50%;
  background: #d7dce3;
}
.mc-msg.is-new .mc-msg-dot { background: #e6434a; box-shadow: 0 0 0 3px var(--brand-soft); }
.mc-msg-bd { flex: 1; min-width: 0; }
.mc-msg-t { font-size: 13.5px; font-weight: 600; color: var(--text); }
.mc-msg.is-new .mc-msg-t { color: var(--brand); }
.mc-msg-d { margin-top: 4px; font-size: 12.5px; color: #5b6879; line-height: 1.65; }
.mc-msg-m { margin-top: 5px; font-size: 11px; color: #a9b3c2; }
.mc-msg-empty {
  padding: 46px 0; text-align: center;
  font-size: 12.5px; color: #a9b3c2; line-height: 1.85;
}

/* ============================================================
   ★ V3.6.0 「设置」与「联系客服」两个弹层
   ------------------------------------------------------------
   为什么单开一段：这两个面板是**卡片式内容**（不是消息列表），
   需要自己的头（图标 + 主标题 + 副标题）、卡片内小标题、底部按钮条。
   骨架全部复用 .mc-sheet-mask / .mc-sheet，故层级与动效自动与消息面板一致。
   ============================================================ */

/* ---- 头部：图标 + 标题 + 副标题 ---- */
.mc-sheet-ico {
  flex: 0 0 auto; width: 30px; height: 30px; margin-right: 10px; border-radius: 9px;
  background: var(--brand-soft);
  display: inline-flex; align-items: center; justify-content: center;
}
.mc-sheet-ico svg {
  width: 17px; height: 17px; fill: none; stroke: var(--brand); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.mc-sheet-hd { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mc-sheet-hd b { font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.25; }
.mc-sheet-hd span { font-size: 11.5px; color: var(--muted); }
/* ★ V3.16.0 头部附加按钮槽位（联系客服右上角那个「分享」）。
   两件事：① .mc-sheet-act 自带 auto 左边距 → 自己靠右；
           ② 它后面的 ✕ 必须把自带的 auto 打回 8px，否则两个 auto 平分空隙，
              「分享」会被挤到中间去。选择器权重 (0,2,0) > (0,1,0)，够用，不必上 !important。 */
.mc-sheet-act { margin-left: auto; }
.mc-sheet-act + .mc-sheet-x { margin-left: 8px; }

/* 这两个面板内容比消息列表高，抬高上限（仍留出安全区） */
.mc-sheet-help, .mc-sheet-set { max-height: 88vh; padding-bottom: 0; }
.mc-sheet-help .mc-sheet-b, .mc-sheet-set .mc-sheet-b { padding: 8px 18px 16px; }
.mc-sheet-b .mc-card { margin-bottom: 12px; padding: 6px 16px 16px; }
.mc-sheet-b .mc-card:last-child { margin-bottom: 4px; }

/* ---- 底部按钮条 ---- */
.mc-sheet-f {
  flex: 0 0 auto; display: flex; gap: 10px;
  align-items: center; justify-content: flex-end;
  padding: 12px 18px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-2); background: #fff;
  border-radius: 0 0 18px 18px;
}

/* ---- 通用按钮（面板内用；与 .btn 分开，避免被前台通用样式影响） ---- */
.mc-btn {
  flex: 0 0 auto; min-height: 38px; padding: 0 18px;
  border: 1px solid transparent; border-radius: 10px; background: #fff; color: var(--text);
  font-size: 13.5px; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.mc-btn:active { transform: scale(.98); }
.mc-btn[disabled] { opacity: .45; cursor: not-allowed; }
.mc-btn-solid { background: var(--brand); color: #fff; box-shadow: 0 2px 8px rgba(218, 2, 6, .18); }
.mc-btn-soft { background: #f4f5f7; color: #3d4757; border-color: #ecEEF2; }
/* ★ V3.16.0：白底描边红字（联系客服右上角「分享」） */
.mc-btn-line { background: #fff; color: var(--brand); border-color: var(--brand); }
.mc-btn-xs { min-height: 30px; padding: 0 13px; font-size: 12.5px; border-radius: 8px; }
/* 卡内的动作按钮：各自一行、按内容定宽（与盛融百科一致，不做整行大按钮） */
.mc-sheet-b .mc-card > .mc-btn {
  display: flex; width: fit-content; min-width: 120px; margin-bottom: 9px;
}
.mc-sheet-b .mc-card > .mc-btn:last-child { margin-bottom: 0; }
/* 账户资料那张卡的主按钮铺满整行 */
.mc-sheet-b .mc-card > .mc-btn-brand {
  width: 100%; min-width: 0; margin-top: 2px;
  background: linear-gradient(135deg, #e6434a 0%, #da0206 100%);
  color: #fff; box-shadow: 0 4px 14px rgba(218, 2, 6, .2);
}

/* ---- 卡内小标题（账户资料 / 登录与密码） ---- */
.mc-sec-h { display: flex; align-items: center; gap: 7px; padding: 12px 0 6px; }
.mc-sec-h svg {
  width: 16px; height: 16px; fill: none; stroke: #3d4757; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.mc-sec-h b { font-size: 14px; font-weight: 700; color: var(--text); }
.mc-note { margin: 10px 0 12px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.mc-note-plain { margin: 2px 0 12px; }

/* ---- 联系客服：橙色提示条 ---- */
.mc-help-tip {
  margin: 2px 0 12px; padding: 11px 13px;
  border: 1px solid #ffe6b8; border-radius: 10px;
  background: #fffaf0; color: #a15c00;
  font-size: 12.5px; line-height: 1.7;
}

/* ---- 联系客服：客服微信 / 我的卡密 两行 ---- */
.mc-help-row {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 13px; margin-bottom: 10px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.mc-help-row .mc-k { width: 62px; }
.mc-help-v {
  flex: 1; min-width: 0; font-size: 13.5px; font-weight: 700; color: var(--text);
  word-break: break-all;
}
.mc-help-code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px; letter-spacing: .4px;
}

/* ---- 联系客服：微信二维码（虚线框 + 白底圆角码） ---- */
.mc-help-qr {
  margin-top: 2px; padding: 18px 12px 14px; text-align: center;
  border: 1px dashed #d6dbe3; border-radius: 12px; background: #fafbfc;
}
/* ★ V3.16.0：168→188（码 150→170）。换了真·微信加好友码之后，源图是 49×49 码元，
   170px 上每码元 ≈3.5px —— 手机扫屏幕这个密度才稳（150px 时只有 3.0px，偏紧）。 */
.mc-help-qr-box {
  width: 188px; height: 188px; margin: 0 auto; padding: 9px;
  background: #fff; border-radius: 12px;
  box-shadow: 0 2px 10px rgba(23, 43, 77, .07);
  display: flex; align-items: center; justify-content: center;
}
/* 出图优先级：显式尺寸压过 .mb-qr-img 的 100%。
   ★ 这里必须用**样式表里的 !important**，不能只靠 JS 写的内联 !important ——
     qrcodejs 画完会执行 `this._elCanvas.style.display = "none"` 并改显它自己那张
     img，而 CSSOM 用 `el.style.xxx = v` 赋值时会**把之前的内联优先级一起清掉**
     （实测：内联 `display:block !important` 被覆盖成 `display:none`，二维码整块变白）。
     样式表 !important > 内联非 !important，所以这一层才是稳的。 */
.mc-help-qr-box canvas, .mc-help-qr-box img,
.mc-help-qr-img {
  display: block !important;
  width: 170px !important;
  height: 170px !important;
}
.mc-help-qr-tip { margin-top: 11px; font-size: 11.5px; color: #97a1af; line-height: 1.65; }

/* ================= ★ V3.16.0 邀请海报弹层 =================
   独立于 .mc-sheet-mask：这样它能**盖在**联系客服面板之上，
   关掉海报后客服面板还在（不必重开）。层级 1400 高于 .mc-sheet-mask(130)、
   低于 .mb-agrmask(9999，协议的强阅读层) 与 .toast(10000，提示必须永远可见)。 */
.mc-po-mask {
  position: fixed; inset: 0; z-index: 1400;
  background: rgba(15, 23, 42, .55);
  display: flex; align-items: center; justify-content: center;
  padding: 22px 16px calc(22px + env(safe-area-inset-bottom, 0px));
}
.mc-po-box {
  width: 100%; max-width: 344px; max-height: calc(100vh - 76px); overflow: auto;
  background: #fff; border-radius: 18px; padding: 13px 13px 12px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .28);
}
.mc-po-head { display: flex; align-items: center; justify-content: space-between; padding: 1px 3px 10px; }
.mc-po-head b { font-size: 15px; font-weight: 700; color: var(--text); }
.mc-po-x {
  border: 0; background: #f2f4f8; color: #8a94a6;
  width: 26px; height: 26px; border-radius: 50%; font-size: 12px; cursor: pointer;
}
.mc-po-stage { min-height: 120px; display: flex; align-items: center; justify-content: center; }
.mc-po-loading { font-size: 12.5px; color: #97a1af; padding: 40px 0; text-align: center; }
.mc-po-img { width: 100%; display: block; border-radius: 12px; box-shadow: 0 4px 16px rgba(23, 43, 77, .12); }
.mc-po-tip { margin: 10px 2px 0; font-size: 11.5px; color: #97a1af; line-height: 1.7; text-align: center; }
.mc-po-foot { display: flex; gap: 10px; margin-top: 12px; }
.mc-po-foot .mc-btn { flex: 1; min-width: 0; }

/* ================= ★ V3.7.0 我的使用日报（盛融百科样式） ================= */
/* 列表里的日报卡：左侧红条沿用 .mc-msg-dot，整卡可点 */
.mc-daily { cursor: pointer; }
.mc-daily-tag {
  display: inline-block; padding: 2px 8px; border-radius: 4px;
  background: #fdeeee; color: #e6434a;
  font-size: 10.5px; font-weight: 700; letter-spacing: 1px;
}
.mc-daily-head { margin-bottom: 5px; }
.mc-daily-grid {
  margin-top: 7px; padding: 9px 11px;
  background: #f7f9fc; border-radius: 8px;
  display: grid; grid-template-columns: auto 1fr; gap: 5px 14px;
}
.mc-daily-k { font-size: 12px; color: #8a94a6; }
.mc-daily-v { font-size: 12.5px; font-weight: 600; color: var(--text); text-align: right; }
/* ★ V3.15.3：长值（当日分类等）跨满两列并左对齐，避免被 auto 1fr 挤成多行 */
.mc-daily-grid .mc-daily-v.wide { grid-column: 1 / -1; text-align: left; }
.mc-daily-more {
  margin-top: 7px; font-size: 11.5px; color: #e6434a;
}
/* 全文面板
   ★ V3.15.3：由「贴底 bottom-sheet」改成「垂直居中」。改前 align-items:flex-end，
   面板死死贴住屏幕最底部，正文又被顶到很下面，用户截图反馈「太靠底部了」。
   现在上下各留 26px 安全边距，圆角也改成四角一致（不再像抽屉）。 */
.mc-daily-mask {
  position: fixed; inset: 0; z-index: 1300;
  background: rgba(15, 23, 42, .45);
  display: flex; align-items: center; justify-content: center;
  padding: 26px 16px calc(26px + env(safe-area-inset-bottom, 0px));
}
.mc-daily-box {
  width: 100%; max-width: 560px; max-height: calc(100vh - 104px); overflow: auto;
  background: #fff; border-radius: 16px;
  padding: 15px 17px 18px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .22);
}
.mc-daily-top { display: flex; align-items: center; justify-content: space-between; }
.mc-daily-top b { font-size: 14px; color: var(--text); }
.mc-daily-x {
  border: 0; background: #f2f4f8; color: #8a94a6;
  width: 26px; height: 26px; border-radius: 50%; font-size: 12px; cursor: pointer;
}
.mc-daily-title { margin: 10px 0 12px; font-size: 16px; font-weight: 700; color: var(--text); }
.mc-daily-doc { border-top: 1px dashed #eef1f6; padding-top: 4px; }
.mc-daily-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 2px; border-bottom: 1px dashed #eef1f6;
}
.mc-daily-row span { font-size: 13px; color: #5b6879; }
.mc-daily-row b { font-size: 14px; color: var(--text); }
/* ★ V3.15.3：全文面板里长值竖排 */
.mc-daily-row.wide { display: block; }
.mc-daily-row.wide b { display: block; margin-top: 4px; line-height: 1.55; }
.mc-daily-line { padding: 11px 2px; font-size: 13px; color: #5b6879; }
.mc-daily-foot { margin-top: 12px; font-size: 11px; color: #97a1af; line-height: 1.6; }

/* ============================================================
 * ★ V3.17.0 「我的」页新增两块：我的推广（邀请好友）/ 我的团队（团体卡席位共享）
 * ------------------------------------------------------------
 * 视觉沿用本站一贯的**浅色简洁**：白卡 + 品牌红点缀，不引入深色块。
 * 独立命名 mc-inv* / mc-team*，避免与既有 mc-* 规则互相干扰。
 * ========================================================== */
.mc-inv, .mc-team { margin-top: 12px; }
.mc-inv-h { display: flex; align-items: baseline; gap: 8px; margin-bottom: 11px; }
.mc-inv-h h3 { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--text); }
.mc-inv-h span { font-size: 11.5px; color: #97a1af; }

/* 邀请码：整行一个虚线框，码值用品牌红大号等宽，方便照着抄 / 记 */
.mc-inv-code {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 13px; border: 1px dashed #f0c9cb; border-radius: 10px;
  background: #fff7f7;
}
.mc-inv-k { flex: 0 0 auto; font-size: 12px; color: #97a1af; }
.mc-inv-v {
  flex: 1 1 auto; min-width: 0; font-size: 17px; font-weight: 800; letter-spacing: .6px;
  color: var(--brand); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  word-break: break-all;
}
.mc-inv-btns { display: flex; gap: 8px; margin-top: 10px; }
.mc-btn-half { flex: 1 1 0; display: flex; }
.mc-inv-tip { margin: 9px 0 0; font-size: 11.5px; color: #97a1af; line-height: 1.65; }
.mc-inv-next { margin: 10px 0 0; font-size: 12.5px; color: #5b6879; }
.mc-inv-next b { color: var(--brand); font-size: 14px; }

/* 推广统计 */
.mc-inv-stat { display: flex; gap: 16px; margin-top: 10px; padding-top: 10px; border-top: 1px solid #f2f4f7; }
.mc-inv-stat-i { font-size: 12px; color: #97a1af; }
.mc-inv-stat-i b { color: var(--text); font-size: 14px; font-weight: 700; }

/* 阶梯进度 */
.mc-inv-tiers { margin-top: 11px; }
.mc-inv-tier {
  padding: 9px 0; border-bottom: 1px solid #f6f7f9;
}
.mc-inv-tier:last-child { border-bottom: 0; }
.mc-inv-tier-h { display: flex; justify-content: space-between; font-size: 12.5px; color: #5b6879; }
.mc-inv-tier.on .mc-inv-tier-h span:last-child { color: var(--brand); font-weight: 600; }
.mc-inv-tier.got .mc-inv-tier-h span:last-child { color: #17936d; }
.mc-inv-bar { height: 5px; margin: 7px 0 5px; border-radius: 999px; background: #f0f2f5; overflow: hidden; }
.mc-inv-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #ef6a6f, var(--brand)); }
.mc-inv-tier-d { font-size: 11px; color: #97a1af; }

/* 团队 */
.mc-team-hd { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.mc-team-hd b { font-size: 14px; color: var(--text); }
.mc-team-tag {
  padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600;
  background: #f4f5f7; color: #6b7686;
}
.mc-team-tag.active { background: #eaf7f1; color: #17936d; }
.mc-team-tag.pending { background: #fff5e9; color: #c47a17; }
.mc-team-tag.disabled, .mc-team-tag.expired { background: #fdeeee; color: #cc4b4b; }
.mc-team-ms { margin: 10px 0 0; border-top: 1px solid #f2f4f7; padding-top: 4px; }
.mc-team-m { display: flex; align-items: center; gap: 7px; padding: 7px 0; border-bottom: 1px solid #f8f9fb; }
.mc-team-m:last-child { border-bottom: 0; }
.mc-team-mn { flex: 1 1 auto; min-width: 0; font-size: 13px; color: var(--text); display: flex; align-items: center; gap: 6px; }
.mc-team-ow {
  font-style: normal; padding: 1px 6px; border-radius: 999px;
  font-size: 10.5px; background: #fff0f0; color: var(--brand);
}
.mc-team-mi { flex: 0 0 auto; font-size: 11px; color: #a9b3c2; font-family: ui-monospace, Menlo, Consolas, monospace; }

/* 行内输入 + 按钮（加成员 / 绑卡） */
.mc-row-in { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.mc-field {
  flex: 1 1 auto; min-width: 0; min-height: 38px; padding: 0 12px;
  border: 1px solid #e6e9ee; border-radius: 10px; background: #fbfcfd;
  font-size: 13.5px; color: var(--text);
}
.mc-field:focus { outline: none; border-color: #f0a8ab; background: #fff; }

/* 小号文字按钮（复制 / 移除 / 退出） */
.mc-mini {
  flex: 0 0 auto; min-height: 28px; padding: 0 11px;
  border: 1px solid #e6e9ee; border-radius: 8px; background: #fff;
  font-size: 12px; font-weight: 600; color: #3d4757; cursor: pointer;
}
.mc-mini.solid { border-color: var(--brand); background: var(--brand); color: #fff; }
.mc-mini.danger { border-color: #f3d6d6; color: #cc4b4b; }
.mc-mini:active { transform: scale(.98); }

/* ============================================================
   ★ V3.18.0 我的推广业绩 / 兑换卡密·续卡兑换弹层
   ------------------------------------------------------------
   老板给了两张截图（盛融百科的会员中心与续卡兑换弹层），这一段按截图排：
     ① .mc-promo-* —— 会员中心的「我的推广业绩」卡
                      （🚀 标题 + 已推广 / 已获奖 / 下一档 三行 + 生成海报按钮）
     ② .mc-rn-*    —— 续卡兑换弹层里的「当前会员/到期/续费后」信息卡
                      与橙色「扫续费二维码」入口
   仍然守住本站一贯的**浅色简洁**：白卡 + 品牌红点缀，
   不出现深色大色块（老板明确排斥深色 UI，移动端观感是重点）。
   ============================================================ */

/* ---- ① 我的推广业绩 ---- */
.mc-promo { margin-top: 12px; }
.mc-promo-h { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.mc-promo-h b { font-size: 14.5px; font-weight: 700; color: var(--text); }
.mc-promo-ico { font-size: 15px; line-height: 1; }
.mc-promo-sub { margin: 0 0 8px; font-size: 11.5px; color: var(--muted); }
.mc-promo .mc-v b { color: var(--brand); font-weight: 700; }
.mc-promo .mc-btn { margin-top: 12px; }
/* 邀请码降级成一行小字（点一下即复制）：信息不丢，但不跟业绩数字抢视线 */
.mc-promo-code {
  width: 100%; margin-top: 8px; padding: 6px 0; border: 0; background: transparent;
  font-size: 11.5px; color: var(--muted); text-align: center; cursor: pointer;
}
.mc-promo-code b { color: var(--brand); font-weight: 700; }
.mc-promo-code:active { opacity: .6; }

/* ---- ② 兑换卡密 / 续卡兑换弹层 ---- */
.mc-sheet-renew { max-height: 88vh; padding-bottom: 0; }
.mc-sheet-renew .mc-sheet-b { padding: 4px 18px 16px; }
.mc-sheet-renew .mc-card { margin-bottom: 12px; padding: 4px 16px 14px; }
/* ★ V3.20.0：这一块原来是**米橙色**（#fffaf3 / #ffe0bd / #c2570a）——
   与底部「续卡兑换」入口是同一套刺眼暖色。一并换成浅粉 + 品牌红，
   让「兑换」这一整条流程（入口卡 → 弹层 → 扫码入口）只有一套颜色。 */
.mc-rn-scan {
  width: 100%; margin: 0 0 14px; padding: 14px 16px; text-align: left;
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  background: linear-gradient(135deg, #fff7f7 0%, #ffecec 100%);
  border: 1px solid #fadede; border-radius: 16px;
}
.mc-rn-scan:active { transform: scale(.99); }
.mc-rn-scan-ico {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px;
  background: #fff; border: 1px solid #fbd6d6;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 17px; line-height: 1;
}
.mc-rn-scan-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mc-rn-scan-tx b { font-size: 14.5px; font-weight: 700; color: var(--brand); }
.mc-rn-scan-tx span { margin-top: 3px; font-size: 11.5px; color: #a88283; }
.mc-rn-scan .mc-arrow { color: var(--brand); opacity: .55; }
.mc-sheet-renew .mc-btn-soft { margin-top: 10px; }

/* ============================================================
   ★ V3.19.0 「我的推广 / 我的团队」双标签弹层
   ------------------------------------------------------------
   老板：「团队和推广不要做出上下布局，做成左右双标签，点那个出哪个的内容」。
   所以标签栏是**两个等宽并排**的按钮（不是上下两行、也不是四个挤成一排），
   选中态走「白底 + 品牌红字 + 轻投影」的浅色方案 ——
   守住本站一贯的浅色简洁，不引入深色块（老板明确排斥深色 UI）。
   两个内容页各自独立，切换只切显隐，不重新拉数据、不重新请求。
   ============================================================ */
.mc-sheet-pt { max-height: 86vh; padding-bottom: 0; }
.mc-sheet-pt .mc-sheet-b { padding: 0 18px 18px; }

.mc-tabs {
  display: flex; gap: 6px; margin: 0 0 14px; padding: 4px;
  background: #f5f6f8; border-radius: 12px;
}
.mc-tab {
  flex: 1 1 0; min-width: 0; min-height: 36px; padding: 0 8px;
  border: 0; border-radius: 9px; background: transparent;
  font-size: 13.5px; font-weight: 600; color: #6b7686; cursor: pointer;
}
.mc-tab.is-on {
  background: #fff; color: var(--brand);
  box-shadow: 0 1px 4px rgba(23, 43, 77, .10);
}
.mc-tab:active { transform: scale(.98); }
/* 弹层里只有一张卡，标签栏已经给过间距，卡片不必再撑开 */
.mc-sheet-pt .mc-promo, .mc-sheet-pt .mc-team { margin-top: 0; }
.mc-sheet-pt .mc-card { margin-bottom: 0; }
/* 「团体卡：未绑定」用浅灰标出，别与「已绑定」的品牌红卡号混淆 */
.mc-team-off { font-style: normal; font-size: 12.5px; color: #a9b3c2; }
