:root {
  --brand: #2b9bf4;          /* 天空蓝主色 */
  --brand-d: #1783e0;
  --brand-soft: #eef6fe;
  --blue: #007aff;
  --ground: #f4f6fa;
  --card: #ffffff;
  --text: #23272e;
  --dim: #8a93a0;
  --line: #edeff3;
  --ok: #16a34a;
  --warn: #e88a00;
  --danger: #e5484d;
  --wx: #1aad19;
  --ali: #1677ff;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--ground); color: var(--text);
  font: 15px/1.55 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}
.app { max-width: 440px; margin: 0 auto; min-height: 100vh; }
.tnum { font-variant-numeric: tabular-nums; }

/* ── 头部 banner ── */
.hd {
  padding: 26px 20px 40px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #8fd4ff 0%, #4fb0f6 50%, var(--brand) 100%);
}
.hd::after { content: ""; position: absolute; right: -40px; top: -50px;
  width: 170px; height: 170px; border-radius: 50%; background: rgba(255,255,255,.10); }
.brand { font-size: 22px; font-weight: 800; letter-spacing: .3px; }
.slogan { margin-top: 5px; font-size: 13px; opacity: .9; }
.trust { display: flex; gap: 14px; margin-top: 14px; font-size: 12px; opacity: .95; }
.trust span { display: inline-flex; align-items: center; gap: 4px; }
.trust b { font-weight: 700; }

/* ── 内容面板 ── */
.panel { background: var(--card); margin: -24px 12px 0; border-radius: 16px;
  padding: 18px 16px 8px; box-shadow: 0 6px 22px -10px rgba(30,40,60,.16); position: relative; }
.blk { margin-bottom: 18px; }
.blk-t { font-size: 13px; font-weight: 700; color: var(--text); margin: 0 0 10px;
  display: flex; align-items: center; gap: 7px; }
.blk-t::before { content: ""; width: 3px; height: 13px; border-radius: 2px; background: var(--brand); }

.lab { display: block; font-size: 12px; color: var(--dim); margin-bottom: 7px; }
.acct { display: flex; align-items: center; height: 50px; border: 1px solid var(--line);
  border-radius: 12px; background: #fbfcfd; overflow: hidden; }
.acct .cc { padding: 0 12px; font-weight: 700; color: var(--text); border-right: 1px solid var(--line);
  height: 100%; display: flex; align-items: center; background: #f4f6fa; }
.acct input { flex: 1; border: none; background: none; height: 100%; padding: 0 12px;
  font-size: 18px; color: var(--text); }
.acct input:focus { outline: none; }
.acct:focus-within { border-color: var(--brand); background: #fff; }

.captcha-line { display: flex; gap: 10px; align-items: center; }
.captcha-line input { flex: 1; height: 46px; padding: 0 12px; font-size: 16px;
  border: 1px solid var(--line); border-radius: 11px; background: #fbfcfd; color: var(--text); }
.captcha-line input:focus { outline: none; border-color: var(--brand); background: #fff; }
.captcha-img { width: 118px; height: 46px; border: 1px solid var(--line);
  border-radius: 11px; background: #eef1f4; cursor: pointer; object-fit: cover; }

a.btn { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.btn { width: 100%; height: 50px; border: none; border-radius: 13px; font-size: 17px;
  font-weight: 700; cursor: pointer; font-family: inherit; }
.btn.primary { background: linear-gradient(135deg, #46abf3, var(--brand-d)); color: #fff;
  box-shadow: 0 6px 16px -6px rgba(43,155,244,.55); }
.btn.primary:disabled { background: #bcdcf7; box-shadow: none; cursor: not-allowed; }
.btn.primary:active:not(:disabled) { filter: brightness(.94); }
.btn.ghost { background: none; color: var(--dim); font-weight: 500; height: 42px; font-size: 14px; }
.msg { min-height: 18px; margin: 10px 2px 2px; font-size: 13px; color: var(--danger); }
.msg.ok { color: var(--ok); }

/* ── 报价汇总 ── */
.qsum { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px;
  background: var(--brand-soft); border-radius: 12px; margin-bottom: 16px; }
.qsum .p { font-size: 16px; font-weight: 800; }
.qsum .t { font-size: 12px; color: var(--dim); text-align: right; line-height: 1.4; white-space: pre-line; }

/* ── 套餐网格 ── */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 6px; }
.opt { border: 1.5px solid var(--line); border-radius: 13px; padding: 14px 12px; cursor: pointer;
  text-align: center; position: relative; transition: border-color .12s, background .12s; background: #fff; }
.opt:hover { border-color: #bfe0fb; }
.opt.sel { border-color: var(--brand); background: var(--brand-soft); }
.opt.sel::after { content: "✓"; position: absolute; top: 0; right: 0; width: 20px; height: 20px;
  background: var(--brand); color: #fff; font-size: 12px; line-height: 20px; border-radius: 0 11px 0 11px; }
.opt .m { font-size: 15px; font-weight: 700; }
.opt .p { font-size: 21px; font-weight: 800; color: var(--brand); margin-top: 6px; }
.opt .p small { font-size: 12px; font-weight: 600; }
.opt .u { font-size: 11px; color: var(--dim); margin-top: 3px; }
.opt.opt-roam .m { font-size: 13px; line-height: 1.25; }
.roam-notice { background: #fff8e6; border: 1px solid #f0d692; color: #8a6d1a; border-radius: 10px; padding: 10px 12px; font-size: 12.5px; line-height: 1.7; margin: 2px 0 10px; }
.roam-notice b { color: #c0392b; }
/* 批量单结果：子号码明细 */
.batch-items { margin-top: 8px; border-top: 1px solid var(--line); }
.batch-items .bi { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding: 9px 2px; border-bottom: 1px dashed var(--line); font-size: 13px; }
.batch-items .bi-ph { font-weight: 600; }
.batch-items .bi-ex { color: var(--dim); font-size: 12px; }
.hist-item.hist-batch { border-left: 3px solid var(--brand); }

/* ── 支付方式 ── */
.pays { display: flex; gap: 10px; }
.pay { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px;
  border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-size: 14px; font-weight: 600; }
.pay input { accent-color: var(--brand); }
.pay:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.dot { width: 18px; height: 18px; border-radius: 5px; }
.dot.wx { background: var(--wx); } .dot.ali { background: var(--ali); }

/* ── 客户须知 ── */
.notice { margin: 14px 12px 0; background: var(--card); border-radius: 16px; padding: 16px;
  box-shadow: 0 6px 22px -12px rgba(30,40,60,.14); }
.notice ol { margin: 4px 0 0; padding-left: 18px; }
.notice li { font-size: 12.5px; color: #55606c; margin-bottom: 7px; line-height: 1.6; }
.notice li b { color: var(--text); }

/* ── 订单查询 / 页脚 ── */
.query-row { margin: 12px 12px 0; background: var(--card); border-radius: 14px; padding: 15px 16px;
  display: flex; justify-content: space-between; align-items: center; cursor: pointer;
  box-shadow: 0 6px 22px -14px rgba(30,40,60,.14); }
.query-row .ql { font-size: 14px; font-weight: 600; }
.query-row .qr { font-size: 13px; color: var(--dim); }
.ft { text-align: center; padding: 22px 18px 30px; font-size: 12px; color: var(--dim); }
.ft a { color: var(--dim); text-decoration: none; }
.ft .beian { margin-top: 4px; opacity: .8; }

/* ── 结果页 ── */
.result { text-align: center; padding: 10px 4px 4px; }
.r-icon { font-size: 46px; line-height: 1; margin: 6px 0 10px; }
.r-title { font-size: 19px; font-weight: 800; }
.r-desc { font-size: 13px; color: var(--dim); margin-top: 6px; min-height: 18px; }
.r-meta { margin: 16px 0 18px; padding: 12px 14px; background: #f7f9fc; border-radius: 12px;
  font-size: 13px; color: #55606c; display: grid; gap: 6px; }
.r-meta b { color: var(--text); }
.r-title.ok { color: var(--ok); } .r-title.warn { color: var(--warn); } .r-title.bad { color: var(--danger); }

[hidden] { display: none !important; }
.loading { opacity: .6; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .opt { transition: none; } }

/* ==== result page v2 (状态排版 + 失败原因红字) ==== */
.rhero { text-align: center; padding: 6px 0 16px; }
.rbadge { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center; font-size: 29px; line-height: 1; }
.rttl { font-size: 19px; font-weight: 800; }
.rsub { font-size: 12.5px; color: var(--dim); margin-top: 5px; line-height: 1.5; padding: 0 6px; }
.rhero--ok .rbadge { background: #e8f6ec; } .rhero--ok .rttl { color: var(--ok); }
.rhero--warn .rbadge { background: #fdf1e0; } .rhero--warn .rttl { color: var(--warn); }
.rhero--wait .rbadge { background: var(--brand-soft); } .rhero--wait .rttl { color: var(--brand-d); }
.rhero--dim .rbadge { background: #eef0f3; } .rhero--dim .rttl { color: #5b6572; }

.spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--brand-soft);
  border-top-color: var(--brand); animation: sp .8s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }

.rlist { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.rlist .row { display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 11px 13px; font-size: 13px; border-top: 1px solid var(--line); }
.rlist .row:first-child { border-top: none; }
.rlist .row .k { color: var(--dim); flex: none; }
.rlist .row .v { color: var(--text); font-weight: 600; text-align: right; }
.row--order { background: #f7fafd; }
.row--order .v { display: flex; align-items: center; gap: 8px; }
.ordno { font-size: 13px; font-weight: 800; letter-spacing: .2px; }
.copy { border: 1px solid var(--brand); color: var(--brand-d); background: #fff; border-radius: 7px;
  font-size: 11px; font-weight: 700; padding: 3px 9px; cursor: pointer; flex: none; font-family: inherit; }
.copy:active { background: var(--brand-soft); }
.rlist .v.price { color: var(--brand-d); font-weight: 800; font-size: 15px; }
.rlist .v.ok { color: var(--ok); } .rlist .v.warn { color: var(--warn); } .rlist .v.bad { color: var(--danger); }
.pm { display: inline-flex; align-items: center; gap: 5px; }
.pm i { width: 13px; height: 13px; border-radius: 4px; display: inline-block; }
.pm i.wx { background: var(--wx); } .pm i.ali { background: var(--ali); }

.note { margin-top: 12px; border-radius: 11px; padding: 11px 13px; font-size: 12.5px; line-height: 1.6; }
.note--ok { background: #e8f6ec; color: #116a33; }
.note--warn { background: #fdf1e0; color: #8a5600; }
.note--fail { background: #fdecec; color: #7a3a3c; }
.note b { font-weight: 800; }
.note .reason { color: var(--danger); font-weight: 800; }

.acts { margin-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.acts:empty { margin-top: 0; }

/* ==== 充值记录列表 ==== */
.hist-item { border: 1px solid var(--line); border-radius: 11px; padding: 11px 13px; margin-top: 10px;
  cursor: pointer; background: #fff; }
.hist-item:active { background: #f7fafd; }
.hist-top { display: flex; justify-content: space-between; align-items: center; }
.hist-pkg { font-weight: 700; font-size: 14px; }
.hist-st { font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: #eef1f4; color: #5b6572; }
.hist-st.ok { background: #e8f6ec; color: var(--ok); }
.hist-st.bad { background: #fdecec; color: var(--danger); }
.hist-st.warn { background: #fdf1e0; color: var(--warn); }
.hist-sub { font-size: 12px; color: var(--dim); margin-top: 4px; }
.hist-no { font-size: 11px; color: var(--dim); margin-top: 4px; font-variant-numeric: tabular-nums; }
.hist-empty { text-align: center; color: var(--dim); font-size: 13px; padding: 16px 0; }

/* ==== 号码状态朱红加粗 + 停机提示 ==== */
.rlist .row--hi .k { color: var(--text); font-weight: 800; }
.rlist .row--hi .v { color: #e0322c; font-weight: 800; }
.hi-status { color: #e0322c; font-weight: 800; }
.rhint { margin-top: 10px; font-size: 12px; color: var(--dim); line-height: 1.6; text-align: center; padding: 0 8px; }

/* ==== 我的订单页：查询区 v2 ==== */
.fld-lg { width: 100%; height: 50px; border: 1px solid var(--line); border-radius: 12px;
  background: #fbfcfd; padding: 0 14px; font-size: 16px; color: var(--text); margin-bottom: 14px; }
.fld-lg:focus { outline: none; border-color: var(--brand); background: #fff; }
.btn.soft { background: #eaf4fe; color: var(--brand-d); box-shadow: none; height: 44px; font-size: 15px; font-weight: 700; }
.btn.soft:active { background: #dcecfc; }
.blk-query { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 4px; }

.reason-red { color: var(--danger); font-weight: 800; }

/* ==== 邮箱登录表单 ==== */
.mail-tip { font-size: 12.5px; color: var(--dim); margin: 0 0 12px; line-height: 1.55; }
.mail-send { width: auto; padding: 0 14px; white-space: nowrap; flex: none; height: 46px; }
.mail-id { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--dim); margin-bottom: 10px; }
.mail-id a { color: var(--brand-d); text-decoration: none; }

/* ==== 套餐折扣小标(如 95折) ==== */
.opt-badge { position: absolute; top: 0; left: 0; background: #ff6a3d; color: #fff;
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 11px 0 11px 0; line-height: 1.4; }

/* ==== 维护/熔断遮罩 ==== */
#maint-overlay { position: fixed; inset: 0; z-index: 9999; background: var(--ground);
  display: flex; align-items: center; justify-content: center; padding: 24px; }
.maint-card { background: #fff; border-radius: 18px; padding: 34px 26px; text-align: center;
  max-width: 360px; width: 100%; box-shadow: 0 10px 34px -14px rgba(30,40,60,.22); }
.maint-icon { font-size: 46px; }
.maint-title { font-size: 20px; font-weight: 800; margin: 14px 0 8px; color: var(--text); }
.maint-msg { font-size: 13.5px; color: var(--dim); line-height: 1.7; }
.maint-kefu { margin-top: 22px; font-size: 12.5px; color: var(--dim); }
.maint-kefu img { display: block; width: 180px; height: 180px; margin: 10px auto 0;
  border-radius: 12px; border: 1px solid var(--line); }

/* ==== 客服（微信+TG）==== */
.kefu-imgs { display: flex; gap: 18px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }
.kefu-imgs figure { margin: 0; text-align: center; }
.kefu-imgs img { width: 132px; height: 132px; object-fit: contain; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; display: block; }
.kefu-imgs figcaption { font-size: 12px; color: var(--dim); margin-top: 6px; }
.site-kefu { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.site-kefu-t { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 4px; }

/* ==== 滑块拼图验证码(首页) ==== */
.slide-box { margin-top: 4px; }
.slide-stage { position: relative; width: 300px; max-width: 100%; height: 160px; border-radius: 10px;
  overflow: hidden; background: #eef1f5; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.slide-piece { position: absolute; top: 0; left: 0; height: 160px; pointer-events: none; }
.slide-tip { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-size: 12px;
  color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.55); pointer-events: none; }
.slide-track { position: relative; width: 300px; max-width: 100%; height: 44px; margin: 12px 0 0;
  background: #eef1f5; border: 1px solid var(--line); border-radius: 10px; }
.slide-fill { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: #d7ebff; border-radius: 10px; }
.slide-handle { position: absolute; left: 0; top: -1px; width: 48px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, #46abf3, var(--brand-d, #1783e0)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 20px; cursor: grab;
  box-shadow: 0 3px 10px -2px rgba(43,155,244,.6); user-select: none; touch-action: none; }
.slide-handle:active { cursor: grabbing; }
.slide-handle.ok { background: var(--ok); cursor: default; }
.slide-handle.bad { background: var(--danger); }

/* ==== 微信 Native 扫码二维码 ==== */
.r-qr { margin: 14px auto 6px; text-align: center; }
.r-qr img { width: 200px; height: 200px; border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: #fff; }
.r-qr-tip { font-size: 12.5px; color: var(--dim); margin-top: 8px; }
.r-qr-mobile { text-align: left; margin: 4px auto 2px; max-width: 340px; }
.r-qr-warn { font-size: 13px; line-height: 1.6; color: var(--dim); margin: 0 0 12px; }
.r-qr-mobile .btn { display: block; width: 100%; margin: 8px 0; }
/* 微信复制按钮：微信绿，醒目可点 */
.btn.wx-copy { background: #07c160; color: #fff; border: none; font-weight: 600; }
.btn.wx-copy:active { background: #06ad56; }
/* 微信打开支付：分步引导面板 */
.wx-guide { margin-top: 10px; padding: 14px; border: 1px solid #07c160; border-radius: 12px; background: #f2fbf5; }
.wx-guide-ok { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: #07995a; }
.wx-guide-t { margin: 0 0 8px; font-size: 13px; color: var(--fg, #333); font-weight: 600; }
.wx-guide-steps { margin: 0 0 10px; padding-left: 20px; }
.wx-guide-steps li { font-size: 13.5px; line-height: 1.9; color: var(--fg, #333); }
.wx-guide-steps b { color: #07995a; }
.wx-guide-link { font-size: 12px; color: var(--dim); word-break: break-all; background: #fff; border: 1px dashed #bbb; border-radius: 8px; padding: 8px; margin-bottom: 10px; }
.wx-guide-link span { -webkit-user-select: all; user-select: all; }

/* ==== 绑定邮箱组件 ==== */
.eb-card { border: 1px dashed var(--brand); border-radius: 12px; padding: 14px; margin: 14px 0 6px; background: var(--brand-soft, #eef6fe); text-align: left; }
.eb-card.ok { border-style: solid; border-color: var(--ok); background: #e8f6ec; }
.eb-title { font-size: 14px; font-weight: 800; color: var(--text); }
.eb-sub { font-size: 12px; color: var(--dim); margin: 4px 0 10px; line-height: 1.5; }
.eb-input { width: 100%; height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; font-size: 14px; background: #fff; margin-bottom: 10px; }
.eb-row { display: flex; gap: 8px; align-items: center; }
.eb-capimg { width: 100px; height: 42px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; margin-bottom: 10px; }
.eb-btn { height: 42px; border-radius: 10px; font-size: 14px; font-weight: 700; border: none; cursor: pointer; font-family: inherit; }
.eb-btn.primary { width: 100%; background: var(--brand); color: #fff; }
.eb-btn.ghost { padding: 0 12px; background: #fff; border: 1px solid var(--brand); color: var(--brand-d); white-space: nowrap; margin-bottom: 10px; }
.eb-msg { font-size: 12.5px; color: var(--danger); min-height: 16px; margin: 4px 0 0; }
.eb-msg.ok { color: var(--ok); }
.eb-note { font-size: 12px; color: #8a5600; background: #fdf3e3; border-radius: 8px; padding: 8px 10px; margin-bottom: 10px; line-height: 1.5; }
.eb-note b { color: #e0870a; }

/* ==== 批量充值页 ==== */
.bt-area { width:100%; min-height:130px; border:1px solid var(--line); border-radius:12px; padding:12px; font-size:15px; font-family:inherit; background:#fbfcfd; resize:vertical; line-height:1.7; }
.bt-area:focus { outline:none; border-color:var(--brand); background:#fff; }
.bt-count { font-size:12px; color:var(--dim); margin-top:6px; text-align:right; }
.member-tip { margin:12px 0 0; padding:10px 12px; background:#eef6fe; border-radius:10px; font-size:12.5px; color:#1783e0; }
.member-tip b { color:#e0870a; }
.bt-list { border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.bt-row { display:flex; justify-content:space-between; align-items:center; padding:10px 13px; border-top:1px solid var(--line); font-size:14px; }
.bt-row:first-child { border-top:none; }
.bt-price { font-weight:700; color:var(--brand-d); }
.bt-price s { color:var(--dim); font-weight:400; font-size:12px; }
.bt-empty { padding:20px; text-align:center; color:var(--dim); }
.bt-invalid { margin-top:10px; background:#fdf3e3; border-radius:10px; padding:10px 12px; }
.bt-invalid-t { font-size:12.5px; font-weight:700; color:#8a5600; margin-bottom:5px; }
.bt-inv-row { font-size:12px; color:#8a5600; }
.bt-total { display:flex; justify-content:space-between; align-items:center; padding:14px 4px; font-size:14px; }
.bt-total-y { font-size:22px; font-weight:800; color:var(--brand-d); }
.member-off { text-align:right; font-size:12px; color:#e0870a; margin-bottom:8px; }
.member-off b { font-weight:800; }
.bt-progress { margin:14px 0; }
.bt-progress-bar { height:12px; background:#eef1f5; border-radius:99px; overflow:hidden; }
.bt-progress-bar i { display:block; height:100%; background:linear-gradient(90deg,#46abf3,var(--brand-d)); width:0; transition:width .4s; }
.bt-progress-txt { font-size:12.5px; color:var(--dim); text-align:center; margin-top:6px; }
.bt-head, .bt-irow { display:grid; grid-template-columns: 1.3fr .8fr .9fr .8fr 1.1fr; gap:4px; padding:9px 10px; font-size:12px; align-items:center; }
.bt-head { color:var(--dim); font-weight:700; background:#fafbfc; border-bottom:1px solid var(--line); }
.bt-irow { border-top:1px solid var(--line); }
.bt-st { font-weight:700; padding:2px 6px; border-radius:6px; text-align:center; font-size:11px; }
.bt-st.ok { background:#e8f6ec; color:var(--ok); } .bt-st.bad { background:#fdecec; color:var(--danger); } .bt-st.warn { background:#fdf1e0; color:var(--warn); }
.opt .opt-tag { font-size:11px; color:var(--dim); font-weight:600; margin-bottom:2px; }
.opt .m { font-size:16px; font-weight:800; }
.query-row-hi { background:linear-gradient(135deg,#eaf4fe,#f4f9ff); border:1px solid #cfe6fc; }
.query-row-hi .ql { color:var(--brand-d); }
.q-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }
.q-rate-badge { font-size:11.5px; color:var(--dim); background:#f4f6fa; border-radius:8px; padding:3px 9px; white-space:nowrap; }
.bt-row .bt-usd { font-size:12px; color:var(--ok); font-weight:600; }
.bt-row { gap:8px; }
.member-tip .mtip-bar { height:8px; background:#dbeafe; border-radius:99px; overflow:hidden; margin:8px 0 5px; }
.member-tip .mtip-bar i { display:block; height:100%; background:linear-gradient(90deg,#f6b73c,#e0870a); width:0; transition:width .5s; }
.member-tip .mtip-sub { font-size:12px; color:#1783e0; }
.member-tip .mtip-sub b { color:#e0870a; }


/* 批量充值：状态色 + 历史列表 + 导出按钮 */
.bt-st.ok { background:#e8f6ec; color:var(--ok); }
.bt-st.bad { background:#fdecec; color:var(--danger); }
.bhist { margin-top:16px; }
.bhist-title { font-size:13px; font-weight:700; margin-bottom:6px; display:flex; justify-content:space-between; align-items:center; }
.bhist-more { font-size:12px; color:var(--brand); font-weight:600; cursor:pointer; }
.bhist-row { display:flex; align-items:center; gap:10px; border:1px solid var(--line); border-radius:11px; padding:10px 12px; margin-top:8px; cursor:pointer; }
.bhist-row:active { background:#f7fafd; }
.bhist-l { flex:1; min-width:0; }
.bhist-d { font-size:13px; font-weight:700; }
.bhist-no { font-size:11px; color:var(--dim); font-variant-numeric:tabular-nums; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bhist-r { text-align:right; white-space:nowrap; }
.bhist-amt { font-size:14px; font-weight:800; color:var(--brand-d); }
.bhist-ok { font-size:11px; color:var(--dim); }
.bhist-arr { color:var(--dim); font-size:18px; }
.r-actions { display:flex; gap:8px; margin-top:12px; flex-wrap:wrap; }
.r-actions .btn { flex:1; min-width:110px; margin-top:0; }


/* ===== 首页会员条 + 九宫格 + 客服弹层 + 会员中心页 ===== */
.mcard { display:flex; align-items:center; gap:10px; text-decoration:none; color:inherit;
  background:linear-gradient(135deg,#fff7e6,#fef2f0); border:1px solid #f2ddb4; border-radius:13px; padding:10px 13px; margin-bottom:14px; }
.mcard-badge { font-size:13px; font-weight:800; color:#9a6a12; white-space:nowrap; }
.mcard-badge b { font-size:15px; }
.mcard-mid { flex:1; min-width:0; }
.mcard-bar { display:block; height:6px; border-radius:99px; background:#f0e2c4; overflow:hidden; }
.mcard-bar i { display:block; height:100%; width:0; background:linear-gradient(90deg,#f0b429,#e8890c); border-radius:99px; transition:width .5s; }
.mcard-sub { display:block; font-size:11px; color:#9a6a12; margin-top:4px; }
.mcard-arr { color:#c99b3e; font-size:18px; }

.grid9 { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:16px 0; }
.grid9-4 { grid-template-columns:repeat(2,1fr); }
.g9 { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px;
  border:1px solid var(--line); border-radius:14px; padding:15px 6px; text-decoration:none; color:inherit;
  background:#fff; cursor:pointer; transition:transform .08s, border-color .15s; }
.g9:active { transform:scale(.96); border-color:var(--brand); }
.g9-i { font-size:24px; line-height:1; }
.g9-t { font-size:13px; font-weight:700; }
.g9-d { font-size:10.5px; color:var(--dim); }

.kmodal { position:fixed; inset:0; z-index:60; display:flex; align-items:center; justify-content:center; }
.kmodal-bg { position:absolute; inset:0; background:rgba(0,0,0,.5); }
.kmodal-card { position:relative; background:#fff; border-radius:16px; padding:16px; width:86%; max-width:340px; }
.kmodal-t { font-weight:800; font-size:15px; display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
.kmodal-x { cursor:pointer; color:var(--dim); font-size:18px; padding:0 4px; }
.kmodal-tip { text-align:center; font-size:12px; color:var(--dim); margin-top:10px; }

.mc-hero { text-align:center; background:linear-gradient(135deg,#fff7e6,#fef2f0); border:1px solid #f2ddb4; border-radius:16px; padding:20px 16px; margin-bottom:16px; }
.mc-hero-badge { font-size:40px; line-height:1; }
.mc-hero-tier { font-size:20px; font-weight:800; color:#9a6a12; margin-top:6px; }
.mc-hero-off { font-size:13px; color:#b3803a; margin-top:4px; }
.mc-progress { margin-top:14px; }
.mc-progress-bar { height:8px; border-radius:99px; background:#f0e2c4; overflow:hidden; }
.mc-progress-bar i { display:block; height:100%; width:0; background:linear-gradient(90deg,#f0b429,#e8890c); border-radius:99px; transition:width .6s; }
.mc-progress-sub { font-size:12px; color:#9a6a12; margin-top:7px; }
.mc-guest { font-size:12px; color:#b3803a; margin-top:12px; line-height:1.6; }
.ladder { border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.lad-row { display:flex; justify-content:space-between; align-items:center; padding:11px 14px; border-top:1px solid var(--line); font-size:14px; }
.lad-row:first-child { border-top:none; }
.lad-row.cur { background:var(--brand-soft); }
.lad-row.cur .lad-o { color:var(--brand-d); }
.lad-n { font-weight:600; }
.lad-row.cur .lad-n { font-weight:800; }
.lad-o { color:var(--dim); font-weight:700; }
.mc-note { font-size:11.5px; color:var(--dim); margin-top:10px; line-height:1.6; }


/* 会员中心 徽章 + 普通提示 */
.mc-emblem { width:152px; height:130px; margin:0 auto 2px; display:flex; align-items:center; justify-content:center; background:transparent; }
.mc-emblem img { width:100%; height:100%; object-fit:contain; display:block; }
.mc-plain { font-size:12px; color:var(--dim); text-align:center; margin-top:10px; }
.mc-plain.cur { color:#8a6d1e; font-weight:700; }


/* 会员中心 段位表 + 浅灰说明 + 首页小徽章 + 按钮组 */
.tier-tbl { width:100%; border-collapse:collapse; font-size:13px; border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.tier-tbl thead th { background:#fafbfc; color:var(--dim); font-weight:700; font-size:12px; padding:9px 10px; text-align:left; }
.tier-tbl td { padding:9px 10px; text-align:left; border-top:1px solid var(--line); }
.tier-tbl th:last-child, .tier-tbl td:last-child { text-align:right; font-weight:700; color:var(--brand-d); }
.tier-tbl tr.cur td { background:var(--brand-soft); font-weight:800; }
.mc-thresh { font-size:11.5px; color:var(--dim); line-height:1.7; margin-top:10px; }
.mcard-img { width:42px; height:38px; object-fit:contain; flex:none; }
.mcard-mid b { display:block; font-size:13px; font-weight:800; color:#9a6a12; line-height:1.3; }
.mc-links { display:flex; flex-direction:column; gap:9px; margin-top:16px; }
.mc-links .btn { height:42px; font-size:14px; }
.mc-links .btn.primary { height:44px; font-size:15px; }
.mc-links .btn.ghost { height:38px; font-size:13px; }

/* 会员中心 账户区（绑定/登录）*/
.acct-info { font-size:14px; }
.acct-info b { color:var(--brand-d); }
.acct-sub { font-size:11.5px; color:var(--dim); margin-top:6px; line-height:1.6; }
.acct-logout { color:var(--danger); font-size:12px; margin-left:6px; text-decoration:none; }
.acct-loading { font-size:13px; color:var(--dim); }

/* 会员中心 身份名 */
.mc-hero-name { font-size:16px; font-weight:800; color:#7a5510; margin-top:2px; }

/* 会员中心 微信头像 */
.mc-avatar { width:22px; height:22px; border-radius:50%; object-fit:cover; vertical-align:middle; margin-right:6px; border:1px solid #f0e2c4; }

/* 会员中心 刷新微信资料 */
.mc-refresh { font-size:13px; text-decoration:none; margin-left:8px; opacity:.7; }
.mc-refresh:active { opacity:1; }

/* NEXSIM 入口：新业务，用主色描边与浅底做区分 */
.g9-new { border-color: var(--brand); background: var(--brand-soft); }
.g9-new .g9-t { color: var(--brand-d); }

/* /nxops 寄卡信息解析预览 */
.ship-pv { margin-top:8px; border:1px solid #cfe6d2; background:#f3faf4; border-radius:9px; padding:8px 11px; font-size:12.5px; }
.ship-pv .pv-t { color:#3f8a4c; font-weight:700; margin-bottom:4px; }
.ship-pv .pv-r { display:flex; gap:8px; line-height:1.85; }
.ship-pv .pv-k { color:#6b7684; min-width:62px; flex:none; }
.ship-pv .pv-miss { color:#8a6d1a; margin-top:5px; padding-top:5px; border-top:1px dashed #d9e6da; }
