* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
:root {
  --brand: #2456e6; --brand2: #3d6bff; --brand-soft: #eef3ff;
  --price: #f5333f; --ok: #16a34a; --warn: #f59e0b;
  --ink: #1c2333; --ink-2: #4b5565; --ink-3: #98a1b3;
  --line: #e9edf4; --bg: #f4f6fb;
  --card-sh: 0 1px 2px rgba(23, 43, 99, .04), 0 12px 32px -16px rgba(23, 43, 99, .14);
  --brand-sh: 0 10px 24px -10px rgba(36, 86, 230, .5);
}
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; background: linear-gradient(180deg, #e9efff 0%, var(--bg) 320px) var(--bg); min-height: 100vh; -webkit-font-smoothing: antialiased; color: var(--ink); }
#app { max-width: 480px; margin: 0 auto; padding: 16px 14px 40px; }
/* Vue编译前隐藏原始模板（刷新时不闪现 {{xx}} 花括号原始内容） */
[v-cloak] { display: none !important; }

/* 顶部切换 */
.tabs { display: flex; background: #fff; border-radius: 16px; padding: 5px; margin-bottom: 14px; box-shadow: var(--card-sh); border: 1px solid rgba(23, 43, 99, .05); }
.tab { flex: 1; text-align: center; padding: 11px 0; font-size: 15px; color: var(--ink-2); border-radius: 11px; transition: all .2s; font-weight: 500; }
.tab.active { background: linear-gradient(135deg, var(--brand2), var(--brand)); color: #fff; font-weight: 600; box-shadow: var(--brand-sh); }
.tab.disabled { color: #c3c9d6; position: relative; }
.tab.disabled::after { content: '已下架'; font-size: 10px; color: var(--price); position: absolute; top: 4px; right: 10px; }

/* 维护中卡片 */
.maintain-card { text-align: center; padding: 40px 20px; }
.maintain-icon { font-size: 40px; }
.maintain-text { margin-top: 12px; font-size: 14px; color: var(--ink-3); line-height: 1.7; }

/* 卡片 */
.card { background: #fff; border-radius: 18px; padding: 4px 16px 18px; margin-bottom: 14px; box-shadow: var(--card-sh); border: 1px solid rgba(23, 43, 99, .05); }
.form-item { display: flex; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.form-item.column { display: block; border-bottom: none; }
.form-item label { width: 84px; font-size: 14px; color: var(--ink-2); flex-shrink: 0; }
.form-item input, .form-item select { flex: 1; border: none; outline: none; font-size: 16px; color: var(--ink); background: transparent; font-weight: 500; }
.form-item input.tel-input { flex: 0 0 132px; width: 132px; min-width: 0; } /* 手机号输入框定宽，归属地/运营商标签紧跟号码居中显示 */
.form-item input::placeholder { color: #c3c9d6; font-size: 14px; font-weight: 400; }
.form-item select:disabled { color: #c3c9d6; }
.form-item select option:first-child { color: var(--ink-3); }

/* 运营商识别标签 */
.carrier-tag { flex-shrink: 0; margin-left: 8px; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 6px; }
.carrier-tag.c-yd { color: #1e62d6; background: #e9f2ff; }
.carrier-tag.c-lt { color: #d92630; background: #fdeef0; }
.carrier-tag.c-dx { color: #d96018; background: #fdf1e7; }

/* 归属地标签 */
.region-tag { flex-shrink: 0; margin-left: 8px; font-size: 12px; font-weight: 500; padding: 3px 8px; border-radius: 6px; color: var(--ink-2); background: #f2f4f9; }

/* 电费缴费单位提示 */
.unit-bar { display: flex; align-items: center; gap: 8px; padding: 12px 0 4px; font-size: 12px; color: var(--ink-3); }
.unit-badge { font-size: 12px; font-weight: 600; color: #0e9355; background: #e8f8f0; border-radius: 6px; padding: 3px 8px; }

/* 演示模式提示条 */
.demo-bar { background: #fffbe8; border: 1px solid #ffe58f; color: #9a6b00; border-radius: 10px; font-size: 12px; padding: 8px 12px; margin-bottom: 12px; }

/* 金额 */
.amount-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.amount-item { position: relative; width: calc((100% - 10px) / 2); text-align: center; padding: 12px 4px 10px; border: 1.5px solid var(--line); border-radius: 14px; color: var(--ink); background: #fff; overflow: hidden; transition: all .15s; font-variant-numeric: tabular-nums; }
.amount-item:active { transform: scale(.97); }
.amount-item.active { border-color: var(--brand); background: linear-gradient(180deg, var(--brand-soft), #fff); box-shadow: 0 8px 20px -10px rgba(36, 86, 230, .35); }
.num-line { line-height: 1.2; }
.amount-item .num { font-size: 21px; font-weight: 700; }
.amount-item .unit { font-size: 12px; margin-left: 2px; }
.amount-item .sell { font-size: 12px; margin-top: 4px; color: var(--ink-3); font-weight: 500; }
.amount-item.active .sell { color: var(--price); font-weight: 600; }
.amount-item .cate { position: absolute; top: 0; right: 0; font-size: 9px; color: #fff; background: var(--brand); border-radius: 0 12px 0 10px; padding: 2px 6px; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.amount-item .prov { font-size: 10px; color: var(--warn); margin-top: 2px; max-width: 94%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.amount-item.active .num, .amount-item.active .unit { color: var(--brand); }
.custom-amount { width: 100%; margin-top: 12px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
.custom-amount:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(59, 107, 255, .13); }

/* 提交按钮 */
.submit-btn { width: 100%; padding: 14px 0; border: none; border-radius: 14px; background: linear-gradient(135deg, var(--brand2), var(--brand)); color: #fff; font-size: 16px; font-weight: 600; letter-spacing: 2px; margin-bottom: 20px; box-shadow: var(--brand-sh); transition: transform .12s, box-shadow .15s; }
.submit-btn:active { transform: scale(.98); }
.submit-btn:disabled { opacity: .55; box-shadow: none; }

/* 查询 */
.query-card { padding: 16px; }
.query-title { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.query-row { display: flex; gap: 10px; }
.query-row input { flex: 1; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
.query-row input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(59, 107, 255, .13); }
.query-btn { border: none; border-radius: 12px; padding: 0 22px; background: linear-gradient(135deg, var(--brand2), var(--brand)); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 6px 16px -8px rgba(36, 86, 230, .5); }
.query-result { margin-top: 14px; background: #f7f9fd; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--ink); }
.query-result.error { color: var(--price); }
.qr-line { line-height: 1.9; }
.qr-line span { color: var(--ink-3); margin-right: 6px; }
.st-pending { color: var(--warn); }
.st-success { color: var(--ok); }
.st-failed { color: var(--price); }
.st-partial { color: var(--brand); }
.st-refunded { color: var(--price); } /* 已退款=红色：只有成功才是绿色 */

/* 弹窗 */
.mask { position: fixed; inset: 0; background: rgba(15, 23, 42, .55); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 24px; }
.modal { width: 100%; max-width: 340px; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 64px -16px rgba(15, 23, 42, .35); }
.modal-title { text-align: center; font-size: 16px; font-weight: 600; padding: 16px 0 8px; }
.modal-body { padding: 8px 20px 4px; }
.m-line { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14px; border-bottom: 1px dashed #edf0f6; font-variant-numeric: tabular-nums; }
.m-line span { color: var(--ink-3); }
.m-line.amount b { color: var(--price); font-size: 17px; }
.modal-tip { font-size: 12px; color: var(--ink-3); padding: 10px 0; line-height: 1.6; }
.announce-content { max-height: 55vh; overflow-y: auto; font-size: 14px; line-height: 1.8; word-break: break-all; white-space: pre-line; } /* 一行就是一行：保留后台输入的换行 */
.announce-content img { max-width: 100%; }

/* ===== 邀请好友开站（低调折叠版）—已移至开通页，样式保留待清理 ===== */

/* 支付方式列表 */
.pay-method { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 14px; margin-top: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.pay-method:active { border-color: #c6d4f7; }
.pm-ico { width: 38px; height: 38px; border-radius: 11px; color: #fff; font-size: 17px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: 0 0 38px; box-shadow: inset 0 -6px 12px rgba(0, 0, 0, .08); }
.pm-alipay { background: linear-gradient(135deg, #2f7bff, #1560e8); }
.pm-wxpay { background: linear-gradient(135deg, #23c343, #07a438); }
.pm-qr { background: linear-gradient(135deg, #ffb020, #f08c00); }
.pm-fubei { background: linear-gradient(135deg, #ff9a5a, #f4623a); }
.pm-balance { background: linear-gradient(135deg, #9254de, #6b2fd6); }
.pay-method .pm-desc { font-size: 11px; color: #98a1b3; margin-top: 2px; }
.pm-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.field-tip { font-size: 11px; color: var(--warn); margin-top: 4px; }

/* 充值说明折叠卡 */
.note-card { background: #fff; border-radius: 16px; margin-bottom: 14px; box-shadow: var(--card-sh); border: 1px solid rgba(23, 43, 99, .05); overflow: hidden; }
.note-head { display: flex; align-items: center; gap: 8px; padding: 13px 16px; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.note-ico { font-size: 15px; }
.note-arrow { margin-left: auto; color: #b6bdc9; font-size: 18px; transition: transform .2s; transform: rotate(90deg); }
.note-arrow.open { transform: rotate(-90deg); }
.note-body { padding: 0 16px 14px; font-size: 13px; color: var(--ink-2); line-height: 1.9; white-space: pre-line; border-top: 1px dashed #edf0f6; padding-top: 10px; }

/* 到账查询：记录折叠列表 */
.qr-orders { margin-top: 6px; }
.qro-item { background: #fafbfd; border: 1px solid var(--line); border-radius: 12px; margin-top: 8px; overflow: hidden; }
.qro-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; cursor: pointer; }
.qro-amt { font-weight: 700; color: var(--ink); font-size: 15px; font-variant-numeric: tabular-nums; }
.qro-type { font-size: 11px; color: var(--ink-3); background: #f0f2f7; border-radius: 5px; padding: 1px 5px; }
.qro-head b { margin-left: auto; }
.qro-arrow { color: #b6bdc9; font-size: 18px; line-height: 1; transform: rotate(90deg); transition: transform .2s; }
.qro-arrow.open { transform: rotate(-90deg); }
.qro-detail { border-top: 1px dashed #edf0f6; padding: 10px 12px 4px; }

/* 首页广告位（搭建同款） */
.ad-card { display: flex; align-items: center; gap: 12px; background: linear-gradient(120deg, #eef4ff, #edf9f3); border: 1px dashed #b9d0f5; border-radius: 16px; padding: 14px 16px; margin-top: 14px; }
.ad-text { flex: 1; font-size: 14px; font-weight: 600; color: #27508f; }
.ad-btn { flex-shrink: 0; border: none; border-radius: 999px; padding: 9px 18px; font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(90deg, #3d6bff, #23b268); box-shadow: 0 6px 14px -6px rgba(61, 107, 255, .45); cursor: pointer; }
.ad-btn:active { transform: scale(.96); }

/* 支付页充值说明 */
.pay-note { background: #fffbe8; border: 1px solid #ffe58f; border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.pn-title { font-size: 14px; font-weight: 700; color: #9a6b00; margin-bottom: 6px; }
.pn-body { font-size: 12.5px; color: #5c4700; line-height: 1.9; white-space: pre-line; }
.pm-arrow { margin-left: auto; color: #b6bdc9; font-size: 22px; line-height: 1; }

/* 收款码面板 */
.qr-body { text-align: center; padding-bottom: 10px; }
.qr-amount { font-size: 26px; font-weight: 700; color: var(--price); margin: 6px 0 10px; font-variant-numeric: tabular-nums; }
.qr-img { width: 200px; height: 200px; object-fit: contain; border: 1px solid var(--line); border-radius: 12px; }
.qr-tip { font-size: 12px; color: var(--ink-3); margin-top: 10px; line-height: 1.7; }
.modal-btns { display: flex; border-top: 1px solid var(--line); }
.modal-btns button { flex: 1; border: none; padding: 14px 0; font-size: 15px; background: transparent; }
.btn-cancel { color: var(--ink-3); }
.btn-ok { color: var(--brand); font-weight: 600; }
.btn-ok:disabled { opacity: .6; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 20%; transform: translateX(-50%); background: rgba(17, 24, 39, .82); color: #fff; font-size: 14px; padding: 10px 18px; border-radius: 12px; z-index: 200; max-width: 80%; text-align: center; box-shadow: 0 12px 32px -8px rgba(17, 24, 39, .4); }

/* 内置浏览器引导（微信/QQ 等） */
.browser-guide { position: fixed; inset: 0; background: rgba(15, 23, 42, .88); z-index: 500; display: flex; align-items: center; justify-content: center; }
   .bg-arrow { position: absolute; top: 18px; right: 26px; width: 54px; height: 54px; border-top: 5px solid #ffd04d; border-right: 5px solid #ffd04d; transform: rotate(-45deg); border-radius: 4px; animation: bg-float 1.4s ease-in-out infinite; }
   .bg-arrow::after { content: ''; position: absolute; top: -2px; right: -2px; width: 38px; height: 5px; background: #ffd04d; transform: rotate(45deg); transform-origin: right top; border-radius: 3px; }
   @keyframes bg-float { 0%, 100% { transform: rotate(-45deg) translate(0, 0); } 50% { transform: rotate(-45deg) translate(6px, -6px); } }
   .bg-card { background: #fff; border-radius: 20px; margin: 0 32px; padding: 24px 20px 18px; text-align: center; max-width: 300px; width: 100%; box-shadow: 0 24px 64px -16px rgba(0, 0, 0, .45); }
   .bg-icon { width: 54px; height: 54px; border-radius: 16px; margin: 0 auto 10px; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; font-size: 28px; }
   .bg-title { font-size: 18px; font-weight: 700; color: var(--ink); }
   .bg-sub { font-size: 12px; color: var(--ink-3); margin: 5px 0 12px; }
   .bg-step { display: flex; gap: 11px; text-align: left; padding: 11px 2px; align-items: flex-start; }
   .bg-step + .bg-step { border-top: 1px dashed #eef1f6; }
   .bg-num { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--brand2), var(--brand)); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
   .bg-step b { display: block; font-size: 14px; color: var(--ink); margin-bottom: 2px; }
   .bg-step small { font-size: 11px; color: var(--ink-3); line-height: 1.5; }
   .bg-copy { margin-top: 10px; width: 100%; border: none; border-radius: 13px; padding: 11px 0; background: linear-gradient(135deg, var(--brand2), var(--brand)); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 8px 18px -8px rgba(36, 86, 230, .5); cursor: pointer; }
   .bg-copy:active { transform: scale(.97); }

/* 话费运营商分类页 */
.carrier-tabs { display: flex; gap: 8px; margin: 14px 0 4px; }
.c-tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 9px 0; font-size: 14px; color: var(--ink-2); background: #fff; border: 1.5px solid var(--line); border-radius: 999px; transition: all .15s; }
.c-tab.active { background: linear-gradient(135deg, var(--brand2), var(--brand)); border-color: transparent; color: #fff; font-weight: 600; box-shadow: 0 6px 14px -6px rgba(36, 86, 230, .45); }
.c-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.c-dot.d-1 { background: #1e62d6; }
.c-dot.d-2 { background: #f0762c; }
.c-dot.d-3 { background: #d92630; }
.c-tab.active .c-dot { background: #fff; }
.c-count { min-width: 18px; height: 16px; line-height: 16px; font-size: 10px; border-radius: 8px; background: #f0f2f7; color: #8a92a6; padding: 0 5px; text-align: center; }
.c-tab.active .c-count { background: rgba(255, 255, 255, .28); color: #fff; }
.empty-amount { padding: 28px 0; text-align: center; font-size: 13px; color: var(--ink-3); }

/* 客服联系方式 */
.contact-card { padding: 16px; }
.contact-row { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px dashed #edf0f6; font-size: 14px; }
.contact-row:last-of-type { border-bottom: none; }
.c-label { width: 44px; color: var(--ink-3); flex-shrink: 0; }
.c-val { flex: 1; color: var(--ink); word-break: break-all; }
a.c-val { color: var(--brand); }
.copy-btn { border: 1px solid var(--brand); color: var(--brand); background: var(--brand-soft); border-radius: 8px; font-size: 12px; padding: 4px 12px; flex-shrink: 0; font-weight: 500; }
.contact-qr-wrap { text-align: center; padding: 12px 0 4px; }
.contact-qr { width: 120px; height: 120px; object-fit: contain; border-radius: 10px; border: 1px solid var(--line); }
.qr-tip-s { font-size: 11px; color: var(--ink-3); margin-top: 4px; }
.contact-note { font-size: 12px; color: var(--ink-3); padding-top: 10px; line-height: 1.6; }

/* 分销推广中心入口 */
.dist-entry { display: flex; align-items: center; gap: 12px; background: linear-gradient(120deg, #eef4ff, #f0fbf4); border: 1px dashed #b9d0f5; border-radius: 16px; padding: 13px 16px; margin-top: 14px; cursor: pointer; }
.de-ico { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; box-shadow: 0 4px 10px rgba(36,86,230,.12); }
.de-txt { flex: 1; }
.de-txt b { display: block; font-size: 14px; color: #27508f; }
.de-txt span { font-size: 11px; color: #7a8aa5; }
.de-go { font-size: 12px; color: #2456e6; font-weight: 600; flex-shrink: 0; }

/* 个人中心弹层 */
.um-mask { position: fixed; inset: 0; background: rgba(15, 23, 42, .55); z-index: 150; display: flex; align-items: center; justify-content: center; padding: 20px; }
.um-box { background: #fff; border-radius: 20px; width: 100%; max-width: 350px; max-height: 86vh; overflow-y: auto; padding: 22px 20px 18px; position: relative; box-shadow: 0 24px 64px -16px rgba(15, 23, 42, .35); }
.um-close { position: absolute; top: 12px; right: 14px; width: 28px; height: 28px; border-radius: 50%; background: #f2f4f9; color: #666; display: flex; align-items: center; justify-content: center; font-size: 13px; cursor: pointer; z-index: 2; }
.um-tabs { display: flex; background: #f2f4f9; border-radius: 12px; padding: 4px; margin-bottom: 16px; }
.um-tabs span { flex: 1; text-align: center; padding: 9px 0; font-size: 14px; color: #666; border-radius: 9px; cursor: pointer; font-weight: 500; }
.um-tabs span.on { background: linear-gradient(135deg, var(--brand2), var(--brand)); color: #fff; font-weight: 600; }
.um-field { margin-bottom: 12px; }
.um-field label { display: block; font-size: 12px; color: #666; margin-bottom: 5px; }
.um-field input[type=text], .um-field input[type=tel], .um-field input[type=password], .um-field input[type=number] { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 15px; outline: none; background: #fff; box-sizing: border-box; }
.um-field input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(59, 107, 255, .13); }
.um-field input[type=file] { font-size: 12px; color: #666; width: 100%; }
.um-btn { width: 100%; border: none; border-radius: 12px; padding: 12px 0; background: linear-gradient(135deg, var(--brand2), var(--brand)); color: #fff; font-size: 15px; font-weight: 600; margin-top: 4px; box-shadow: 0 10px 22px -10px rgba(36, 86, 230, .5); cursor: pointer; }
.um-btn:active { transform: scale(.97); }
.um-tip { font-size: 11px; color: #98a1b3; line-height: 1.7; margin-top: 12px; text-align: center; }
.um-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.um-head b { font-size: 17px; color: var(--ink); }
.um-code { font-size: 11px; color: var(--brand); background: var(--brand-soft); border-radius: 6px; padding: 3px 8px; font-weight: 600; }
.um-wallet { display: flex; gap: 10px; margin-bottom: 14px; }
.um-wallet > div { flex: 1; background: #f7f9fd; border-radius: 14px; padding: 14px 10px; text-align: center; }
.um-wallet b { display: block; font-size: 19px; color: var(--ink); font-variant-numeric: tabular-nums; }
.um-wallet span { font-size: 11px; color: #98a1b3; }
.um-bindbox { background: #f7f9fd; border-radius: 14px; padding: 14px 14px 4px; }
.um-bindtitle { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 12px; text-align: center; }
.um-posterbtn { background: linear-gradient(135deg, var(--brand2), var(--brand)); box-shadow: 0 10px 22px -10px rgba(36, 86, 230, .5); margin-bottom: 12px; }
.um-wd { display: flex; gap: 8px; margin-bottom: 14px; }
.um-wd input { flex: 1; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 14px; outline: none; min-width: 0; }
.um-wd input:focus { border-color: var(--brand); }
.um-wd button { border: none; border-radius: 12px; padding: 0 18px; background: linear-gradient(135deg, var(--brand2), var(--brand)); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.um-recs { max-height: 220px; overflow-y: auto; }
.um-rec { display: flex; align-items: center; gap: 8px; padding: 9px 2px; border-bottom: 1px dashed #eef1f6; font-size: 13px; }
.um-rec span { flex: 1; color: var(--ink-2); }
.um-rec b { color: #16a34a; font-variant-numeric: tabular-nums; }
.um-rec b.neg { color: #f5333f; }
.um-rec i { font-style: normal; font-size: 10px; color: #c0c6d2; white-space: nowrap; }
.um-empty { padding: 24px 0; text-align: center; font-size: 12px; color: #98a1b3; }
.um-out { text-align: center; font-size: 12px; color: #98a1b3; padding: 12px 0 2px; cursor: pointer; }
.pm-box { text-align: center; }
.pm-box img { width: 100%; max-width: 340px; border-radius: 14px; box-shadow: 0 12px 32px -12px rgba(15, 23, 42, .25); }

/* 置顶推广入口 + 表单规则小字 + 收款码行 */
.dist-entry-top { margin: 0 0 14px; text-decoration: none; -webkit-tap-highlight-color: transparent; }
/* ===== 赚钱中心（首页精品深蓝卡） ===== */
.hub { position: relative; margin: 0 0 14px; border-radius: 18px; padding: 16px 14px 14px; overflow: hidden; background: linear-gradient(150deg, #eaf1ff 0%, #dde8ff 55%, #d3e2ff 100%); border: 1px solid #c9d9f7; box-shadow: 0 1px 2px rgba(23,43,99,.04), 0 12px 32px -16px rgba(23,43,99,.14); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.hub::before { content: ''; position: absolute; width: 210px; height: 210px; border-radius: 50%; background: radial-gradient(circle, rgba(90,140,255,.16), transparent 65%); top: -110px; right: -70px; }
.hub-head { display: flex; align-items: center; gap: 8px; position: relative; z-index: 1; }
.hub-title { font-size: 17px; font-weight: 800; color: #1d3fae; letter-spacing: 1px; }
.hub-badge { font-size: 10px; color: #b0730f; border: 1px solid rgba(214,166,79,.5); background: rgba(255,244,214,.7); border-radius: 10px; padding: 2px 8px; letter-spacing: 1px; }
.hub-note { margin-left: auto; font-size: 10px; color: #8a97b8; letter-spacing: .5px; }
.hub-grid { display: flex; margin-top: 13px; position: relative; z-index: 1; }
.hub-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; text-decoration: none; cursor: pointer; padding: 4px 0; }
.hub-item + .hub-item { border-left: 1px solid rgba(29,63,174,.1); }
.hub-ico { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 3px; background: #fff; }
.hub-ico i { font-style: normal; font-size: 17px; font-weight: 800; }
.hub-ico-y { background: #fff; border: 1px solid rgba(214,166,79,.55); }
.hub-ico-y i { color: #c47f10; }
.hub-ico-t { background: #fff; border: 1px solid rgba(77,124,255,.5); }
.hub-ico-t i { color: #2456e6; }
.hub-ico-q { background: #fff; border: 1px solid rgba(11,157,99,.45); }
.hub-ico-q i { color: #0b9d63; }
.hub-item b { font-size: 13px; color: #1c2333; font-weight: 700; }
.hub-item span { font-size: 10px; color: #8a97b8; }
.dist-entry-top b, .dist-entry-top span, .dist-entry-top .de-go { text-decoration: none; }
.um-rule { display: block; font-style: normal; font-size: 10px; color: #b0b8c7; margin-top: 4px; }
.um-uidtoggle { display: block; text-align: right; font-size: 11px; color: #b0b8c7; margin: -2px 0 8px; cursor: pointer; }
.um-invline { display: flex; align-items: center; justify-content: space-between; background: #f7f9fd; border-radius: 10px; padding: 8px 12px; margin: 8px 0 12px; font-size: 12px; color: var(--ink-2); }
.um-invline i { font-style: normal; color: var(--brand); font-weight: 600; cursor: pointer; font-size: 13px; }
.um-rec.clickable { cursor: pointer; }
.um-rec-detail { background: #f2f6ff; border-radius: 10px; padding: 8px 12px; margin: -4px 0 10px; }
.um-rec-detail div { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); padding: 3px 0; }
.um-rec-detail label { color: #98a1b3; }
.um-goods { background: #fff; border: 1px solid #e8edf5; border-radius: 12px; margin: 0 0 12px; overflow: hidden; }
.um-goods-head { padding: 11px 14px; font-size: 13px; font-weight: 600; color: var(--ink-1); cursor: pointer; }
.um-goods-row { display: grid; grid-template-columns: 1.4fr .8fr .8fr .8fr; padding: 7px 14px; font-size: 12px; color: var(--ink-2); border-top: 1px solid #f2f5fa; }
.um-goods-row.head { color: #98a1b3; font-size: 11px; }
.um-goods-row .c1 { color: #f5333f; font-weight: 600; }
.um-goods-row .c2 { color: #722ed1; }
.um-goods-note { margin: 0; padding: 8px 14px; font-size: 10px; color: #b0b8c7; border-top: 1px solid #f2f5fa; }
.pm-switch { display: block; width: 100%; margin: 10px 0 0; padding: 10px 0; border: 1px solid var(--brand); background: #fff; color: var(--brand); font-size: 13px; font-weight: 600; border-radius: 10px; cursor: pointer; }
.um-qrline { display: flex; align-items: center; justify-content: space-between; background: #f7f9fd; border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; font-size: 13px; color: var(--ink-2); }
.um-qrbtn { color: var(--brand); font-weight: 600; cursor: pointer; font-size: 13px; }
.um-field input {-webkit-appearance: none; appearance: none;}

/* ===== 新版首页：顶部横幅 + 底部导航（充值/订单/我的 折叠面板） ===== */
.hero { position: relative; margin: -16px -14px 0; padding: 24px 18px 54px; background: linear-gradient(135deg, #4f8bff 0%, #2456e6 58%, #1c43bd 100%); color: #fff; overflow: hidden; border-radius: 0 0 24px 24px; }
.hero::before { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.08); top: -110px; right: -60px; }
.hero::after { content: ''; position: absolute; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.06); bottom: -85px; left: -50px; }
.hero-gold { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, rgba(255,205,92,.7), transparent); }
.hero-row { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hero-title { font-size: 20px; font-weight: 800; letter-spacing: .5px; text-shadow: 0 2px 8px rgba(16,42,120,.25); }
.hero-sub { margin-top: 7px; font-size: 12px; color: rgba(255,255,255,.8); letter-spacing: 1px; }
.hero-avatar { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.38); display: flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; transition: background .15s, transform .12s; }
.hero-avatar:active { background: rgba(255,255,255,.32); transform: scale(.94); }

/* 拼团活动横幅（叠在横幅下沿） */
.promo-banner { position: relative; z-index: 2; margin: -36px 0 14px; display: flex; align-items: center; gap: 10px; background: linear-gradient(135deg, #ff7a59 0%, #f5333f 70%); border-radius: 14px; padding: 12px 14px; text-decoration: none; box-shadow: 0 10px 24px -10px rgba(245,51,63,.45), inset 0 1px 0 rgba(255,255,255,.25); overflow: hidden; }
.promo-banner::after { content: ''; position: absolute; width: 130px; height: 130px; border-radius: 50%; background: rgba(255,255,255,.1); top: -70px; right: -30px; }
.promo-fire { font-size: 20px; line-height: 1; filter: drop-shadow(0 2px 4px rgba(0,0,0,.15)); }
.promo-text { flex: 1; min-width: 0; position: relative; z-index: 1; }
.promo-text b { display: block; font-size: 14.5px; font-weight: 700; color: #fff; letter-spacing: .5px; }
.promo-text span { display: block; font-size: 11px; color: rgba(255,255,255,.85); margin-top: 3px; }
.promo-arrow { position: relative; z-index: 1; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.22); color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.promo-banner:active { transform: scale(.985); }

/* 信任徽章行（订单可查/极速到账/隐私保护） */
.trust-row { display: flex; gap: 8px; margin: 0 0 14px; }
.trust-item { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; background: #fff; border: 1px solid rgba(23,43,99,.05); border-radius: 12px; padding: 9px 2px; font-size: 11.5px; color: var(--ink-2); font-weight: 500; box-shadow: var(--card-sh); }
.trust-ico { width: 22px; height: 22px; border-radius: 7px; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* 充值流程三步骤条（①填写 → ②确认 → ③支付） */
.flow-steps { display: flex; align-items: center; gap: 6px; padding: 13px 0 5px; }
.flow-steps .fs { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--ink-3); font-weight: 500; white-space: nowrap; }
.flow-steps .fs i { font-style: normal; width: 16px; height: 16px; border-radius: 50%; background: #eef1f8; color: var(--ink-3); font-size: 10px; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.flow-steps .fs.on { color: var(--brand); font-weight: 600; }
.flow-steps .fs.on i { background: linear-gradient(135deg, var(--brand2), var(--brand)); color: #fff; }
.flow-steps .fs-line { flex: 1; height: 1px; background: var(--line); min-width: 8px; }

/* 电费表单编号分区（①缴费地区 ②户号信息 ③充值金额） */
.step-sec { display: flex; align-items: center; gap: 9px; margin: 15px 0 0; }
.step-num { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, var(--brand2), var(--brand)); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-sec-t { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.step-sec-t small { display: block; font-size: 10px; color: var(--ink-3); font-weight: 400; margin-top: 2px; }

/* ===== V4 门户首页：四入口大卡（上下排列） ===== */
.portal-list { position: relative; z-index: 2; margin: -36px 0 14px; display: flex; flex-direction: column; gap: 10px; }
.p-item { display: flex; align-items: center; gap: 13px; background: #fff; border-radius: 16px; padding: 14px; text-decoration: none; box-shadow: var(--card-sh); border: 1px solid rgba(23,43,99,.05); transition: transform .12s; -webkit-tap-highlight-color: transparent; }
.p-item:active { transform: scale(.98); }
.p-ico { width: 50px; height: 50px; border-radius: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 8px 16px -8px rgba(23,43,99,.35); }
.p-info { flex: 1; min-width: 0; }
.p-info b { display: block; font-size: 16px; font-weight: 700; color: var(--ink); }
.p-info span { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 3px; }
.p-arrow { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: #f0f4fc; color: #98a1b3; font-size: 15px; display: flex; align-items: center; justify-content: center; }

/* 招募站长横幅（首页话费上方）——V2：免费开站+固定差价 */
.recruit-banner { display: flex; align-items: center; gap: 13px; background: linear-gradient(120deg, #1f2f9e 0%, #5b3df5 55%, #9d3df5 100%); border-radius: 18px; padding: 15px 14px; text-decoration: none; box-shadow: 0 12px 26px -10px rgba(91,61,245,.55); position: relative; overflow: hidden; transition: transform .12s; -webkit-tap-highlight-color: transparent; }
.recruit-banner:active { transform: scale(.98); }
.recruit-banner::before { content: ''; position: absolute; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(255,215,90,.28), transparent 70%); top: -60px; right: -30px; }
.recruit-banner::after { content: ''; position: absolute; width: 90px; height: 90px; border-radius: 50%; background: rgba(255,255,255,.08); bottom: -45px; left: 60px; }
.rb-ico { width: 50px; height: 50px; border-radius: 16px; background: linear-gradient(135deg, #ffd75e, #ff9d00); box-shadow: 0 6px 14px -4px rgba(255,157,0,.6); display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; z-index: 1; }
.rb-info { flex: 1; min-width: 0; position: relative; z-index: 1; }
.rb-info b { display: flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 800; color: #fff; letter-spacing: 1px; }
.rb-info small { display: block; font-size: 11px; color: rgba(255,255,255,.88); margin-top: 4px; }
.rb-free { font-size: 10px; font-weight: 700; color: #7a4a00; background: linear-gradient(135deg, #ffe58f, #ffc53d); padding: 2px 8px; border-radius: 10px; flex-shrink: 0; }
.rb-btn { flex-shrink: 0; font-size: 12px; font-weight: 700; color: #5b3df5; background: #fff; padding: 7px 13px; border-radius: 20px; position: relative; z-index: 1; box-shadow: 0 4px 10px -3px rgba(0,0,0,.25); animation: rbPulse 2s ease-in-out infinite; }
@keyframes rbPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* 实时充值动态（话费/电费页） */
.recent-card { margin-top: 14px; padding: 14px; }

/* 订单页：再充一单按钮 */
.re-again-btn { display: block; text-align: center; margin-top: 12px; padding: 11px 0; border-radius: 12px; background: linear-gradient(135deg, #4f8bff, #2456e6); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 2px; text-decoration: none; box-shadow: 0 8px 18px -6px rgba(36,86,230,.4); }
.re-again-btn:active { transform: scale(.98); }
.recent-head { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.recent-head b { font-size: 13.5px; color: var(--ink); }
.recent-head small { font-size: 11px; color: var(--ink-3); margin-left: auto; }
.recent-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.5); animation: recentPulse 1.6s infinite; flex-shrink: 0; }
@keyframes recentPulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.45); } 70% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.recent-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid #f4f6fb; font-size: 12.5px; }
.recent-row:last-child { border-bottom: none; }
.r-num { color: var(--ink-2); font-variant-numeric: tabular-nums; min-width: 86px; }
.r-goods { color: var(--ink); flex: 1; min-width: 0; }
.r-ok { color: #16a34a; font-weight: 600; flex-shrink: 0; }
.r-meta { color: #98a1b3; font-size: 11px; flex-shrink: 0; }

/* 子页面（话费/电费单独页）顶部：返回 + 标题 + 头像 */
.page-hero { position: relative; margin: -16px -14px 0; padding: 15px 14px 19px; background: linear-gradient(135deg, #4f8bff 0%, #2456e6 58%, #1c43bd 100%); color: #fff; border-radius: 0 0 22px 22px; display: flex; align-items: center; gap: 11px; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; width: 190px; height: 190px; border-radius: 50%; background: rgba(255,255,255,.08); top: -100px; right: -55px; }
.ph-back { position: relative; z-index: 1; display: inline-flex; align-items: center; background: rgba(255,255,255,.92); color: #4b5565; font-size: 12px; font-weight: 600; padding: 4px 10px 4px 8px; border-radius: 12px; text-decoration: none; flex-shrink: 0; }
.ph-back:active { opacity: .7; }
.ph-titles { flex: 1; min-width: 0; position: relative; z-index: 1; }
.ph-t { font-size: 17px; font-weight: 700; letter-spacing: .5px; }
.ph-s { font-size: 11px; color: rgba(255,255,255,.82); margin-top: 3px; letter-spacing: .5px; }
.page-hero .hero-avatar { width: 36px; height: 36px; position: relative; z-index: 1; }

/* 底部面板：限高可滚（订单面板含查询结果） */
.bnav-sheet { max-height: 64vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }

/* 面板内到账查询 */
.bq-row { display: flex; gap: 8px; padding: 2px 10px 10px; }
.bq-row input { flex: 1; border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 11px; font-size: 14px; outline: none; min-width: 0; }
.bq-row input:focus { border-color: var(--brand); }
.bq-btn { border: none; border-radius: 10px; padding: 0 16px; background: linear-gradient(135deg, var(--brand2), var(--brand)); color: #fff; font-size: 13px; font-weight: 600; flex-shrink: 0; }
.bq-result { margin: 0 10px 8px; }
.bs-empty { padding: 18px 12px; text-align: center; font-size: 12px; color: var(--ink-3); }

/* 面板内客服行 */
.ct-row { display: flex; align-items: center; gap: 11px; padding: 10px 12px; }
.ct-ico { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ct-info { flex: 1; min-width: 0; }
.ct-info b { display: block; font-size: 12px; font-weight: 500; color: var(--ink-3); }
.ct-info span { display: block; font-size: 14.5px; color: var(--ink); font-weight: 700; margin-top: 2px; word-break: break-all; }
.ct-copy { border: 1px solid var(--brand); color: var(--brand); background: #fff; border-radius: 8px; padding: 5px 12px; font-size: 12px; font-weight: 600; flex-shrink: 0; }
.ct-note { margin: 6px 12px 10px; background: #f7f9fd; border-radius: 10px; padding: 9px 11px; font-size: 11px; color: var(--ink-2); line-height: 1.6; }
.ct-qrwrap { display: flex; flex-direction: column; align-items: center; padding: 4px 12px 10px; }
.ct-qrimg { width: 130px; height: 130px; border-radius: 12px; border: 1px solid var(--line); object-fit: cover; }
.navcard { position: relative; z-index: 2; margin: -40px 0 14px; background: #fff; border-radius: 18px; padding: 16px 6px 13px; box-shadow: var(--card-sh); border: 1px solid rgba(23,43,99,.05); }
.nv-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.nv-item { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; transition: transform .12s; cursor: pointer; }
.nv-item:active { transform: scale(.92); }
.nv-ico { width: 50px; height: 50px; border-radius: 16px; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 16px -8px rgba(23,43,99,.38); }
.nv-item b { font-size: 13px; color: var(--ink); font-weight: 600; line-height: 1; }
.nv-blue { background: linear-gradient(135deg, #4f9cff, #2456e6); }
.nv-amber { background: linear-gradient(135deg, #ffc53d, #ff9f2e); }
.nv-red { background: linear-gradient(135deg, #ff7a59, #f5333f); }
.nv-green { background: linear-gradient(135deg, #34d399, #0e9355); }
.nv-purple { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.nv-cyan { background: linear-gradient(135deg, #38bdf8, #0284c7); }
.bnav-item, .p-item, .bs-row, .ct-row { text-decoration: none; }

/* ===== V6 App宫格首页（4列图标格） ===== */
.app-grid { position: relative; z-index: 2; margin: -36px 0 16px; background: #fff; border-radius: 18px; padding: 20px 10px 12px; box-shadow: var(--card-sh); border: 1px solid rgba(23,43,99,.05); display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 4px; }
.ag-item { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; transition: transform .12s; -webkit-tap-highlight-color: transparent; }
.ag-item:active { transform: scale(.92); }
.ag-item .nv-ico { width: 50px; height: 50px; border-radius: 16px; box-shadow: 0 8px 16px -8px rgba(23,43,99,.35); }
.ag-item b { font-size: 12.5px; color: var(--ink); font-weight: 600; line-height: 1; text-align: center; }

/* 个人中心独立页：弹窗容器改为通栏页面 */
.um-box.um-page { max-width: none; max-height: none; box-shadow: none; padding: 0; background: transparent; border-radius: 0; overflow: visible; }
.um-page .um-head { background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: var(--card-sh); }

/* ===== 新版首页V2：底部导航栏（充值/订单/我的）+ 上拉折叠面板 ===== */
.has-bnav { padding-bottom: 104px; }
.bnav-mask { position: fixed; inset: 0; background: rgba(15,23,42,.32); z-index: 59; }
.bnav-wrap { position: fixed; left: 0; right: 0; bottom: 0; margin: 0 auto; width: 100%; max-width: 480px; z-index: 60; }
.bnav { position: relative; z-index: 61; display: flex; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -14px rgba(23,43,99,.22); padding: 7px 6px calc(7px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; }
.bnav-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 500; color: var(--ink-3); cursor: pointer; transition: color .15s; }
.bnav-item svg { display: block; }
.bnav-item.active { color: var(--brand); font-weight: 600; }
.bnav-item:active { opacity: .65; }
.bnav-sheet { position: absolute; left: 10px; right: 10px; bottom: calc(100% + 10px); background: #fff; border-radius: 18px; box-shadow: 0 16px 48px -16px rgba(23,43,99,.35), var(--card-sh); padding: 4px 6px 8px; z-index: 60; }
.bs-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 6px; }
.bs-title { font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: 1px; }
.bs-close { width: 26px; height: 26px; border-radius: 50%; background: #f2f4f9; color: #666; font-size: 12px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.bs-row { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 14px; cursor: pointer; text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }
.bs-row:active { background: #f4f6fb; }
.bs-row .nv-ico { width: 42px; height: 42px; border-radius: 13px; flex-shrink: 0; }
.bs-info { flex: 1; min-width: 0; }
.bs-info b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.bs-desc { display: block; font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.bs-arrow { color: #c3c9d6; font-size: 20px; font-weight: 300; line-height: 1; }
.sheet-enter-active, .sheet-leave-active { transition: transform .24s ease, opacity .18s ease; }
.sheet-enter-from, .sheet-leave-to { transform: translateY(26px); opacity: 0; }

/* ===== 地区受限：金额置灰 + 提示条 ===== */
.region-deny { background: #fff7f0; border: 1px solid #ffdcc8; color: #d9500a; font-size: 12.5px; line-height: 1.6; padding: 10px 12px; border-radius: 10px; margin-bottom: 10px; }
.amount-grid.region-blocked .amount-item { opacity: .45; filter: grayscale(1); pointer-events: none; }
.amount-item.disabled { opacity: .45; filter: grayscale(1); }
