/* 必省优选 H5 · 设计令牌（按线上截图实测：#3a7ff4 主色） */
:root {
  --primary: #3a7ff4;
  --primary-deep: #2f6bdb;
  --primary-soft: #e9f0ff;
  --primary-soft-2: #edf3ff;
  --text: #1a1a1a;
  --text-2: #5a5f6b;
  --text-3: #8c8c8c;
  --text-4: #bfbfbf;
  --bg: #f5f7f6;
  --bg-2: #f6f7fb;
  --white: #ffffff;
  --line: #f0f0f0;
  --radius: 16px;
  --radius-sm: 10px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-size: 14px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif; }
#app { min-height: 100vh; padding-bottom: calc(58px + var(--safe-bottom)); }
a { color: inherit; text-decoration: none; }
img { display: block; }
button { font-family: inherit; }
input { font-family: inherit; outline: none; }

/* 顶部栏：白色返回圆 + 居中大标题 */
.navbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; height: 52px; padding: 0 14px; background: var(--white); }
.navbar .back { width: 34px; height: 34px; border-radius: 50%; border: none; background: var(--white); box-shadow: 0 1px 6px rgba(0, 0, 0, .08); color: var(--text-2); font-size: 18px; line-height: 1; }
.navbar .title { flex: 1; text-align: center; font-size: 18px; font-weight: 700; letter-spacing: .5px; }
.navbar .right { width: 34px; }

/* 底部 tabbar：首页 / 购物车 / 我的 */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; height: calc(58px + var(--safe-bottom)); padding-bottom: var(--safe-bottom); background: var(--white); border-top: 1px solid var(--line); }
.tabbar .tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--text-3); font-size: 11px; }
.tabbar .tab.on { color: var(--primary); }
.tabbar .tab .ico { font-size: 19px; line-height: 1; }

.page { padding: 12px 14px 24px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 8px rgba(30, 60, 120, .04); }
.muted { color: var(--text-3); }
.small { font-size: 12px; }
.price { color: var(--primary); font-weight: 700; }

/* 按钮 */
.btn-primary { display: block; width: 100%; height: 46px; border: none; border-radius: 23px; background: var(--primary); color: #fff; font-size: 16px; font-weight: 600; }
.btn-outline { display: block; width: 100%; height: 46px; border: 1px solid var(--primary); border-radius: 23px; background: #fff; color: var(--primary); font-size: 16px; font-weight: 600; }
.btn-pill { height: 34px; padding: 0 18px; border-radius: 17px; border: none; background: var(--primary); color: #fff; font-size: 14px; font-weight: 600; }
.btn-pill-ghost { height: 34px; padding: 0 18px; border-radius: 17px; border: 1px solid var(--primary); background: #fff; color: var(--primary); font-size: 14px; font-weight: 600; }
.btn-sm { height: 30px; padding: 0 14px; border-radius: 15px; border: none; background: var(--primary); color: #fff; font-size: 13px; }

/* 搜索条 */
.searchbar { display: flex; align-items: center; height: 38px; margin: 10px 14px; padding: 0 14px; border-radius: 19px; background: var(--bg-2); color: var(--text-4); font-size: 13px; }

/* 轮播 */
.swiper { position: relative; height: 156px; margin: 0 14px; border-radius: var(--radius); overflow: hidden; background: #ececec; }
.swiper .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
.swiper .slide.on { opacity: 1; }
.swiper img { width: 100%; height: 100%; object-fit: cover; }

/* 快捷入口 */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 14px 14px; }
.quick .item { text-align: center; font-size: 12px; color: var(--text-2); }
.quick .item .box { display: flex; align-items: center; justify-content: center; height: 46px; margin-bottom: 5px; border-radius: var(--radius-sm); background: var(--primary-soft-2); color: var(--primary); font-size: 20px; }

/* 商品网格 */
.goods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.goods-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 8px rgba(30, 60, 120, .04); }
.goods-card .thumb { width: 100%; height: 150px; background: #eee; }
.goods-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.goods-card .info { padding: 9px 10px 11px; }
.goods-card .name { font-size: 13px; line-height: 1.4; height: 36px; overflow: hidden; }
.goods-card .row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }

/* 商品详情 */
.pd-img { width: 100%; height: 300px; object-fit: cover; background: #eee; }
.pd-body { margin-top: 12px; padding: 14px; background: #fff; border-radius: var(--radius); }

/* 会员中心 · 头部（截图：头像圆 + 名字 + 会员ID + 切换账号 + P0） */
.mine-head { position: relative; margin: 0 0 12px; padding: 18px 16px 26px; background: linear-gradient(160deg, #eef3ff 0%, #f7f9ff 70%, #ffffff 100%); }
.mine-head .row1 { display: flex; align-items: center; gap: 12px; }
.mine-avatar { width: 62px; height: 62px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--text-2); box-shadow: 0 2px 8px rgba(30, 60, 120, .06); }
.mine-info { flex: 1; }
.mine-name { font-size: 22px; font-weight: 800; }
.mine-idline { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; color: var(--text-2); }
.copy-btn { padding: 1px 8px; border: 1px solid #cfd6e4; border-radius: 10px; background: #fff; color: var(--text-2); font-size: 12px; }
.switch-btn { padding: 8px 16px; border: none; border-radius: 16px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 600; }
.level-pill { display: inline-block; margin-top: 8px; padding: 2px 10px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 700; }

/* 积分卡 */
.point-card { margin: 0 14px 12px; padding: 20px 0 14px; background: #fff; border-radius: var(--radius); text-align: center; box-shadow: 0 1px 8px rgba(30, 60, 120, .04); }
.point-card .ico { width: 44px; height: 44px; margin: 0 auto 8px; border-radius: 12px; background: var(--primary-soft-2); color: var(--primary); font-size: 22px; display: flex; align-items: center; justify-content: center; }
.point-card .num { font-size: 26px; font-weight: 800; }
.point-card .label { margin-top: 2px; color: var(--text-3); font-size: 13px; }

/* 区块标题 */
.sec-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 8px; }
.sec-title { font-size: 17px; font-weight: 800; }
.sec-more { color: var(--text-3); font-size: 13px; }

/* 4 宫格（订单/服务） */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 6px; padding: 8px 10px 16px; }
.grid4 .cell-item { text-align: center; font-size: 13px; color: var(--text); }
.grid4 .cell-item .ib { width: 46px; height: 46px; margin: 0 auto 6px; border-radius: 12px; background: var(--primary-soft-2); color: var(--primary); font-size: 21px; display: flex; align-items: center; justify-content: center; }
.grid4 .cell-item .ib.outline { background: #fff; border: 1.5px solid var(--primary); }

/* 统计条（团队） */
.stat-card { margin: 12px 0 10px; padding: 16px 0; background: linear-gradient(180deg, #eaf1ff, #f2f7ff); border-radius: 12px; }
.stat-row { display: flex; }
.stat-row .item { flex: 1; text-align: center; }
.stat-row .num { font-size: 22px; font-weight: 800; color: var(--primary); }
.stat-row .lbl { margin-top: 2px; font-size: 13px; color: var(--text-2); }

/* 列表行 */
.cell { display: flex; align-items: center; justify-content: space-between; padding: 14px; background: #fff; border-bottom: 1px solid var(--line); }
.cell:last-child { border-bottom: none; }
.cell .arrow { color: var(--text-4); }
.list-card { margin: 10px 14px; border-radius: var(--radius); overflow: hidden; }
.team-item { display: flex; align-items: center; gap: 12px; padding: 14px; background: #fff; border-bottom: 1px solid var(--line); }
.team-item:last-child { border-bottom: none; }
.team-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary-soft-2); color: var(--primary); font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.team-name { font-size: 15px; font-weight: 700; }
.team-sub { margin-top: 2px; font-size: 13px; color: var(--text-3); }
.team-level { color: var(--primary); font-weight: 800; font-size: 16px; }

/* 钱包 */
.wallet-balance { margin: 12px 14px 0; padding: 20px 16px; background: #fff; border-radius: var(--radius); }
.wallet-balance .lbl { color: var(--text-3); font-size: 13px; }
.wallet-balance .num { margin-top: 6px; font-size: 34px; font-weight: 800; }
.wallet-actions { display: flex; gap: 12px; margin-top: 16px; }
.wallet-actions .fill { flex: 1.2; }
.wallet-actions .ghost { flex: 1; }
.wallet-block { margin: 10px 14px; background: #fff; border-radius: var(--radius); }
.wallet-block .head { padding: 14px 14px 0; font-size: 17px; font-weight: 800; }
.wallet-block .empty-line { padding: 22px 0 26px; text-align: center; color: var(--text-4); font-size: 13px; }

/* 拼团状态 */
.fg-item { margin: 10px 14px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 8px rgba(30, 60, 120, .04); }
.fg-item .top { display: flex; gap: 10px; padding: 12px; }
.fg-item img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; background: #eee; }
.fg-item .t { font-size: 15px; font-weight: 700; line-height: 1.35; }
.fg-item .m { margin-top: 4px; font-size: 12px; color: var(--text-3); }
.fg-bar { margin: 0 12px 12px; }
.fg-bar .track { height: 8px; background: #eef1f6; border-radius: 4px; overflow: hidden; }
.fg-bar .fill { height: 100%; background: var(--primary); }
.fg-bar .meta { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--text-3); }
.status-pill { display: inline-block; padding: 2px 8px; border-radius: 8px; background: var(--primary-soft); color: var(--primary); font-size: 11px; font-weight: 700; }
.status-pill.done { background: #e8f7ee; color: #2ba471; }
.status-pill.fail { background: #fdecec; color: #e34d59; }
.member-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--line); }
.member-row .av { width: 34px; height: 34px; border-radius: 50%; background: var(--primary-soft-2); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }

/* 统计卡 */
.sum-num { font-size: 24px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.sum-lbl { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.sum-award { font-size: 18px; font-weight: 800; color: var(--primary); }

/* 等级徽标 */
.lv-badge { display: inline-block; padding: 3px 9px; border-radius: 7px; background: var(--primary-soft); color: var(--primary); font-size: 13px; font-weight: 800; }

/* 评价 */
.cm-box { margin-top: 4px; }
.cm-head { display: flex; align-items: baseline; gap: 8px; padding: 12px 0 8px; font-size: 15px; }
.cm-list { display: flex; flex-direction: column; gap: 10px; padding-bottom: 6px; }
.cm-item { border-top: 1px solid #f2f4f8; padding-top: 10px; }
.cm-top { display: flex; align-items: center; gap: 8px; }
.cm-name { font-size: 13px; font-weight: 600; color: #303133; }
.cm-star { color: #f7b500; font-size: 12px; letter-spacing: 1px; }
.cm-text { font-size: 13px; color: #555; line-height: 1.6; margin-top: 4px; }

/* 空态 */
.empty { padding: 56px 0; text-align: center; color: var(--text-4); font-size: 13px; }

/* toast */
.toast { position: fixed; left: 50%; top: 45%; z-index: 99; transform: translate(-50%, -50%); padding: 10px 18px; border-radius: 10px; background: rgba(20, 30, 50, .82); color: #fff; font-size: 13px; }

/* 排位团树（组织架构式，flex 布局，无绝对定位） */
.tree { display: flex; flex-direction: column; align-items: center; padding: 6px 0 10px; }
.tree-node { width: 72px; text-align: center; }
.tree-node .av { width: 44px; height: 44px; margin: 0 auto; border-radius: 50%; background: linear-gradient(180deg, #4a8bff, #3a7ff4); color: #fff; font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 8px rgba(58, 127, 244, .24); overflow: hidden; }
.tree-node .av img { width: 44px; height: 44px; object-fit: cover; border-radius: 50%; }
.tree-node .nm { margin-top: 5px; font-size: 11px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tree-node .tg { font-size: 10px; font-weight: 700; color: var(--primary); }
.tree-node.empty .av { background: #f7f9ff; border: 1.5px dashed #c7d4ea; color: #b9c6dd; box-shadow: none; }
.tree-node.empty .tg { color: var(--text-4); font-weight: 400; }
.tree-root { position: relative; padding-bottom: 14px; }
.tree-root::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 1px; height: 14px; background: #d5e0f0; }
.tree-row { position: relative; display: flex; justify-content: center; gap: 8px; padding-top: 14px; }
.tree-bar { position: absolute; top: 0; height: 1px; background: #d5e0f0; }
.tree-kid { position: relative; }
.tree-kid::before { content: ''; position: absolute; top: -14px; left: 50%; width: 1px; height: 14px; background: #d5e0f0; }
/* 必省优选 H5 · 设计令牌（按线上截图实测：#3a7ff4 主色） */
:root {
  --primary: #3a7ff4;
  --primary-deep: #2f6bdb;
  --primary-soft: #e9f0ff;
  --primary-soft-2: #edf3ff;
  --text: #1a1a1a;
  --text-2: #5a5f6b;
  --text-3: #8c8c8c;
  --text-4: #bfbfbf;
  --bg: #f5f7f6;
  --bg-2: #f6f7fb;
  --white: #ffffff;
  --line: #f0f0f0;
  --radius: 16px;
  --radius-sm: 10px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-size: 14px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif; }
#app { min-height: 100vh; padding-bottom: calc(58px + var(--safe-bottom)); }
a { color: inherit; text-decoration: none; }
img { display: block; }
button { font-family: inherit; }
input { font-family: inherit; outline: none; }

/* 顶部栏：白色返回圆 + 居中大标题 */
.navbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; height: 52px; padding: 0 14px; background: var(--white); }
.navbar .back { width: 34px; height: 34px; border-radius: 50%; border: none; background: var(--white); box-shadow: 0 1px 6px rgba(0, 0, 0, .08); color: var(--text-2); font-size: 18px; line-height: 1; }
.navbar .title { flex: 1; text-align: center; font-size: 18px; font-weight: 700; letter-spacing: .5px; }
.navbar .right { width: 34px; }

/* 底部 tabbar：首页 / 购物车 / 我的 */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; height: calc(58px + var(--safe-bottom)); padding-bottom: var(--safe-bottom); background: var(--white); border-top: 1px solid var(--line); }
.tabbar .tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--text-3); font-size: 11px; }
.tabbar .tab.on { color: var(--primary); }
.tabbar .tab .ico { font-size: 19px; line-height: 1; }

.page { padding: 12px 14px 24px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 8px rgba(30, 60, 120, .04); }
.muted { color: var(--text-3); }
.small { font-size: 12px; }
.price { color: var(--primary); font-weight: 700; }

/* 按钮 */
.btn-primary { display: block; width: 100%; height: 46px; border: none; border-radius: 23px; background: var(--primary); color: #fff; font-size: 16px; font-weight: 600; }
.btn-outline { display: block; width: 100%; height: 46px; border: 1px solid var(--primary); border-radius: 23px; background: #fff; color: var(--primary); font-size: 16px; font-weight: 600; }
.btn-pill { height: 34px; padding: 0 18px; border-radius: 17px; border: none; background: var(--primary); color: #fff; font-size: 14px; font-weight: 600; }
.btn-pill-ghost { height: 34px; padding: 0 18px; border-radius: 17px; border: 1px solid var(--primary); background: #fff; color: var(--primary); font-size: 14px; font-weight: 600; }
.btn-sm { height: 30px; padding: 0 14px; border-radius: 15px; border: none; background: var(--primary); color: #fff; font-size: 13px; }

/* 搜索条 */
.searchbar { display: flex; align-items: center; height: 38px; margin: 10px 14px; padding: 0 14px; border-radius: 19px; background: var(--bg-2); color: var(--text-4); font-size: 13px; }

/* 轮播 */
.swiper { position: relative; height: 156px; margin: 0 14px; border-radius: var(--radius); overflow: hidden; background: #ececec; }
.swiper .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
.swiper .slide.on { opacity: 1; }
.swiper img { width: 100%; height: 100%; object-fit: cover; }

/* 快捷入口 */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 14px 14px; }
.quick .item { text-align: center; font-size: 12px; color: var(--text-2); }
.quick .item .box { display: flex; align-items: center; justify-content: center; height: 46px; margin-bottom: 5px; border-radius: var(--radius-sm); background: var(--primary-soft-2); color: var(--primary); font-size: 20px; }

/* 商品网格 */
.goods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.goods-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 8px rgba(30, 60, 120, .04); }
.goods-card .thumb { width: 100%; height: 150px; background: #eee; }
.goods-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.goods-card .info { padding: 9px 10px 11px; }
.goods-card .name { font-size: 13px; line-height: 1.4; height: 36px; overflow: hidden; }
.goods-card .row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }

/* 商品详情 */
.pd-img { width: 100%; height: 300px; object-fit: cover; background: #eee; }
.pd-body { margin-top: 12px; padding: 14px; background: #fff; border-radius: var(--radius); }

/* 会员中心 · 头部（截图：头像圆 + 名字 + 会员ID + 切换账号 + P0） */
.mine-head { position: relative; margin: 0 0 12px; padding: 18px 16px 26px; background: linear-gradient(160deg, #eef3ff 0%, #f7f9ff 70%, #ffffff 100%); }
.mine-head .row1 { display: flex; align-items: center; gap: 12px; }
.mine-avatar { width: 62px; height: 62px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--text-2); box-shadow: 0 2px 8px rgba(30, 60, 120, .06); }
.mine-info { flex: 1; }
.mine-name { font-size: 22px; font-weight: 800; }
.mine-idline { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; color: var(--text-2); }
.copy-btn { padding: 1px 8px; border: 1px solid #cfd6e4; border-radius: 10px; background: #fff; color: var(--text-2); font-size: 12px; }
.switch-btn { padding: 8px 16px; border: none; border-radius: 16px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 600; }
.level-pill { display: inline-block; margin-top: 8px; padding: 2px 10px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 700; }

/* 积分卡 */
.point-card { margin: 0 14px 12px; padding: 20px 0 14px; background: #fff; border-radius: var(--radius); text-align: center; box-shadow: 0 1px 8px rgba(30, 60, 120, .04); }
.point-card .ico { width: 44px; height: 44px; margin: 0 auto 8px; border-radius: 12px; background: var(--primary-soft-2); color: var(--primary); font-size: 22px; display: flex; align-items: center; justify-content: center; }
.point-card .num { font-size: 26px; font-weight: 800; }
.point-card .label { margin-top: 2px; color: var(--text-3); font-size: 13px; }

/* 区块标题 */
.sec-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 8px; }
.sec-title { font-size: 17px; font-weight: 800; }
.sec-more { color: var(--text-3); font-size: 13px; }

/* 4 宫格（订单/服务） */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 6px; padding: 8px 10px 16px; }
.grid4 .cell-item { text-align: center; font-size: 13px; color: var(--text); }
.grid4 .cell-item .ib { width: 46px; height: 46px; margin: 0 auto 6px; border-radius: 12px; background: var(--primary-soft-2); color: var(--primary); font-size: 21px; display: flex; align-items: center; justify-content: center; }
.grid4 .cell-item .ib.outline { background: #fff; border: 1.5px solid var(--primary); }

/* 统计条（团队） */
.stat-card { margin: 12px 0 10px; padding: 16px 0; background: linear-gradient(180deg, #eaf1ff, #f2f7ff); border-radius: 12px; }
.stat-row { display: flex; }
.stat-row .item { flex: 1; text-align: center; }
.stat-row .num { font-size: 22px; font-weight: 800; color: var(--primary); }
.stat-row .lbl { margin-top: 2px; font-size: 13px; color: var(--text-2); }

/* 列表行 */
.cell { display: flex; align-items: center; justify-content: space-between; padding: 14px; background: #fff; border-bottom: 1px solid var(--line); }
.cell:last-child { border-bottom: none; }
.cell .arrow { color: var(--text-4); }
.list-card { margin: 10px 14px; border-radius: var(--radius); overflow: hidden; }
.team-item { display: flex; align-items: center; gap: 12px; padding: 14px; background: #fff; border-bottom: 1px solid var(--line); }
.team-item:last-child { border-bottom: none; }
.team-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary-soft-2); color: var(--primary); font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.team-name { font-size: 15px; font-weight: 700; }
.team-sub { margin-top: 2px; font-size: 13px; color: var(--text-3); }
.team-level { color: var(--primary); font-weight: 800; font-size: 16px; }

/* 钱包 */
.wallet-balance { margin: 12px 14px 0; padding: 20px 16px; background: #fff; border-radius: var(--radius); }
.wallet-balance .lbl { color: var(--text-3); font-size: 13px; }
.wallet-balance .num { margin-top: 6px; font-size: 34px; font-weight: 800; }
.wallet-actions { display: flex; gap: 12px; margin-top: 16px; }
.wallet-actions .fill { flex: 1.2; }
.wallet-actions .ghost { flex: 1; }
.wallet-block { margin: 10px 14px; background: #fff; border-radius: var(--radius); }
.wallet-block .head { padding: 14px 14px 0; font-size: 17px; font-weight: 800; }
.wallet-block .empty-line { padding: 22px 0 26px; text-align: center; color: var(--text-4); font-size: 13px; }

/* 拼团状态 */
.fg-item { margin: 10px 14px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 8px rgba(30, 60, 120, .04); }
.fg-item .top { display: flex; gap: 10px; padding: 12px; }
.fg-item img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; background: #eee; }
.fg-item .t { font-size: 15px; font-weight: 700; line-height: 1.35; }
.fg-item .m { margin-top: 4px; font-size: 12px; color: var(--text-3); }
.fg-bar { margin: 0 12px 12px; }
.fg-bar .track { height: 8px; background: #eef1f6; border-radius: 4px; overflow: hidden; }
.fg-bar .fill { height: 100%; background: var(--primary); }
.fg-bar .meta { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--text-3); }
.status-pill { display: inline-block; padding: 2px 8px; border-radius: 8px; background: var(--primary-soft); color: var(--primary); font-size: 11px; font-weight: 700; }
.status-pill.done { background: #e8f7ee; color: #2ba471; }
.status-pill.fail { background: #fdecec; color: #e34d59; }
.member-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--line); }
.member-row .av { width: 34px; height: 34px; border-radius: 50%; background: var(--primary-soft-2); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }

/* 统计卡 */
.sum-num { font-size: 24px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.sum-lbl { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.sum-award { font-size: 18px; font-weight: 800; color: var(--primary); }

/* 等级徽标 */
.lv-badge { display: inline-block; padding: 3px 9px; border-radius: 7px; background: var(--primary-soft); color: var(--primary); font-size: 13px; font-weight: 800; }

/* 评价 */
.cm-box { margin-top: 4px; }
.cm-head { display: flex; align-items: baseline; gap: 8px; padding: 12px 0 8px; font-size: 15px; }
.cm-list { display: flex; flex-direction: column; gap: 10px; padding-bottom: 6px; }
.cm-item { border-top: 1px solid #f2f4f8; padding-top: 10px; }
.cm-top { display: flex; align-items: center; gap: 8px; }
.cm-name { font-size: 13px; font-weight: 600; color: #303133; }
.cm-star { color: #f7b500; font-size: 12px; letter-spacing: 1px; }
.cm-text { font-size: 13px; color: #555; line-height: 1.6; margin-top: 4px; }

/* 空态 */
.empty { padding: 56px 0; text-align: center; color: var(--text-4); font-size: 13px; }

/* toast */
.toast { position: fixed; left: 50%; top: 45%; z-index: 99; transform: translate(-50%, -50%); padding: 10px 18px; border-radius: 10px; background: rgba(20, 30, 50, .82); color: #fff; font-size: 13px; }

/* 排位团树（组织架构式，flex 布局，无绝对定位） */
.tree { display: flex; flex-direction: column; align-items: center; padding: 6px 0 10px; }
.tree-node { width: 72px; text-align: center; }
.tree-node .av { width: 44px; height: 44px; margin: 0 auto; border-radius: 50%; background: linear-gradient(180deg, #4a8bff, #3a7ff4); color: #fff; font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 8px rgba(58, 127, 244, .24); overflow: hidden; }
.tree-node .av img { width: 44px; height: 44px; object-fit: cover; border-radius: 50%; }
.tree-node .nm { margin-top: 5px; font-size: 11px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tree-node .tg { font-size: 10px; font-weight: 700; color: var(--primary); }
.tree-node.empty .av { background: #f7f9ff; border: 1.5px dashed #c7d4ea; color: #b9c6dd; box-shadow: none; }
.tree-node.empty .tg { color: var(--text-4); font-weight: 400; }
.tree-root { position: relative; padding-bottom: 14px; }
.tree-root::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 1px; height: 14px; background: #d5e0f0; }
.tree-row { position: relative; display: flex; justify-content: center; gap: 8px; padding-top: 14px; }
.tree-bar { position: absolute; top: 0; height: 1px; background: #d5e0f0; }
.tree-kid { position: relative; }
.tree-kid::before { content: ''; position: absolute; top: -14px; left: 50%; width: 1px; height: 14px; background: #d5e0f0; }

/* 拼团详情树（当前蓝色体系） */
.fg-tree { padding: 20px 10px 8px; }
.fg-root { text-align: center; }
.fg-root .ph { width: 64px; height: 64px; margin: 0 auto 8px; border-radius: 10px; background: #f2f5fa; display: flex; align-items: center; justify-content: center; color: #b9c6dd; font-size: 10px; overflow: hidden; }
.fg-root .ph img { width: 100%; height: 100%; object-fit: cover; }
.fg-root .nm { font-size: 17px; font-weight: 700; }
.fg-root .mb, .fg-root .tm { font-size: 12px; color: var(--text-3); margin-top: 3px; }
.fg-arrows { display: flex; justify-content: center; gap: 96px; margin: 4px 0 0; color: #bcd4f8; font-size: 30px; font-weight: 800; line-height: 1; }
.fg-kids { display: flex; justify-content: space-between; padding: 0 2px; }
.fg-kid { width: 47%; text-align: center; }
.fg-kid .ph { width: 56px; height: 38px; margin: 0 auto 6px; border-radius: 6px; background: #f2f5fa; color: #b9c6dd; font-size: 9px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.fg-kid .ph img { width: 100%; height: 100%; object-fit: cover; }
.fg-kid .nm { font-size: 14px; font-weight: 600; }
.fg-kid .mb, .fg-kid .tm { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.fg-kid .arrows { display: flex; justify-content: center; gap: 30px; margin-top: 4px; color: #bcd4f8; font-size: 24px; font-weight: 800; line-height: 1; }
.fg-leaves { display: flex; justify-content: space-between; padding: 8px 2px 2px; }
.fg-leaf { width: 23%; text-align: center; }
.fg-leaf .cir { width: 56px; height: 56px; margin: 0 auto 6px; border-radius: 50%; border: 1px dashed #d7e2f3; background: #fbfcfe; display: flex; align-items: center; justify-content: center; color: #c7d4ea; font-size: 24px; }
.fg-leaf .lb { font-size: 12px; color: var(--text-3); }
.fg-info { position: relative; margin-top: 16px; padding: 26px 14px 8px; background: #fff; border-radius: 12px; }
.fg-info .pill { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); min-width: 120px; padding: 5px 18px; border-radius: 15px; background: #e9f0ff; color: var(--primary); font-size: 14px; font-weight: 700; text-align: center; }
.fg-info .row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid #f4f6fa; font-size: 14px; }
.fg-info .row:last-child { border-bottom: none; }
.fg-info .row .k { color: var(--text-2); }
.fg-info .row .v { color: var(--text); font-weight: 600; }
.fg-info .row .v.done { color: var(--primary); }
.fg-info .progress { height: 8px; background: #eef1f6; border-radius: 4px; margin: 0 0 10px; overflow: hidden; }
.fg-info .progress .bar { height: 100%; background: var(--primary); border-radius: 4px; }

/* ===== 首页（必省优选风格 · px 尺度） ===== */
#app { max-width: 520px; margin: 0 auto; background: var(--bg); box-shadow: 0 0 24px rgba(20, 40, 80, .06); }
body { background: #eceef2; }
.tabbar { width: 100%; max-width: 520px; left: 50%; right: auto; transform: translateX(-50%); }

.points-hero { cursor: pointer; overflow: hidden; border-radius: 0 0 12px 12px; background: #eef6ff; }
.points-hero-image { display: block; width: 100%; height: 178px; object-fit: cover; }

.recommend-panel { margin-top: 8px; padding: 0 12px 4px; }
.hot-section-head { display: flex; height: 40px; align-items: center; justify-content: space-between; }
.hot-section-title-wrap { display: flex; align-items: center; gap: 5px; }
.hot-section-fire { font-size: 16px; line-height: 1; }
.hot-section-title { color: #12161f; font-size: 16px; font-weight: 800; letter-spacing: .2px; }
.hot-section-more { color: #9aa3b2; font-size: 12px; }

.points-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-bottom: 6px; }
.points-card { overflow: hidden; border: 1px solid #f0f2f7; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(25, 55, 120, .04); }
.points-card-visual { position: relative; aspect-ratio: 1; overflow: hidden; background: linear-gradient(145deg, #f2f6ff, #e7eeff); cursor: pointer; }
.points-card-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.points-card-body { padding: 9px 10px 11px; }
.points-card-title { display: block; overflow: hidden; color: #12161f; font-size: 14px; font-weight: 600; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
.points-card-subtitle { display: -webkit-box; height: 32px; overflow: hidden; margin-top: 2px; color: #9aa3b2; font-size: 11px; line-height: 16px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.points-card-footer { display: flex; margin-top: 8px; align-items: center; justify-content: space-between; }
.points-price { display: flex; align-items: baseline; color: var(--primary); font-size: 12px; font-weight: 700; }
.points-price-number { font-size: 17px; font-weight: 800; letter-spacing: -.3px; }
.points-card-cart { display: flex; width: 26px; height: 26px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-size: 13px; }
.points-card-cart--disabled { opacity: .4; }
.points-card-cart-plus { display: none; }
.points-grid--single { grid-template-columns: 1fr; }
.points-card--wide { display: flex; align-items: stretch; }
.points-card--wide .points-card-visual { width: 130px; flex: none; aspect-ratio: auto; border-radius: 0; }
.points-card--wide .points-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 12px 14px; }
.points-card--wide .points-card-title { font-size: 15px; }
.points-card--wide .points-card-subtitle { height: auto; max-height: 32px; }
.points-empty { grid-column: 1 / -1; padding: 44px 0; text-align: center; color: #b6bdc9; font-size: 13px; }
/* 价格 + 已售 */
.points-price-wrap { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.points-card-sale { color: #9aa3b2; font-size: 10px; line-height: 14px; }

.load-more { margin: 4px 0 10px; height: 40px; line-height: 40px; text-align: center; color: var(--primary); font-size: 13px; font-weight: 600; background: #fff; border: 1px solid #eef1f7; border-radius: 20px; }
/* 自适应：3 件时首卡横跨两列 */
.points-card--span2 { grid-column: span 2; }
/* 宽卡（1 件 / 3 件首卡）：左图右文 */
.points-card--wide { display: flex; align-items: stretch; }
.points-card--wide .points-card-visual { width: 140px; flex: none; aspect-ratio: auto; }
.points-card--wide .points-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 12px 14px; }
.points-card--wide .points-card-title { font-size: 15px; line-height: 22px; }
.points-card--wide .points-card-subtitle { height: auto; max-height: 34px; font-size: 12px; line-height: 17px; }
.points-card--wide .points-price-number { font-size: 18px; }

/* TOP 角标 */
.points-card-badge { position: absolute; top: 0; left: 0; z-index: 3; padding: 3px 8px; border-radius: 0 0 10px 0; background: linear-gradient(135deg, var(--primary), #6c8bf0); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .3px; }
/* 卡片按钮：加入购物车 / 购买 */
.points-card-actions { display: flex; gap: 6px; margin-top: 8px; }
.card-btn { flex: 1; height: 28px; line-height: 26px; text-align: center; border-radius: 14px; font-size: 12px; font-weight: 600; }
.card-btn.ghost { border: 1px solid var(--primary); color: var(--primary); background: #fff; }
.card-btn.solid { background: var(--primary); border: 1px solid var(--primary); color: #fff; }
.card-btn.disabled { opacity: .45; }
.points-card--wide .points-card-actions { margin-top: 10px; max-width: 220px; }

/* ===== 结算页 ===== */
.co-loading, .co-empty { padding: 60px 0; text-align: center; color: #9aa3b2; font-size: 13px; }
.co-empty-txt { font-size: 14px; color: #5a6474; }
.co-page { padding: 10px 12px 0; }
.co-addr { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 14px; margin-bottom: 10px; box-shadow: 0 2px 8px rgba(25,55,120,.04); }
.co-addr-main { flex: 1; min-width: 0; }
.co-addr-line1 { font-size: 15px; color: #12161f; display: flex; align-items: center; gap: 10px; }
.co-tel { color: #5a6474; font-size: 13px; font-weight: 400; }
.co-addr-line2 { margin-top: 4px; color: #8a94a5; font-size: 12px; line-height: 1.5; }
.co-arrow { color: #c2c9d4; font-size: 18px; }
.co-card { background: #fff; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; box-shadow: 0 2px 8px rgba(25,55,120,.04); }
.co-card-title { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 700; color: #12161f; margin-bottom: 10px; }
.co-count { font-size: 12px; color: #9aa3b2; font-weight: 400; }
.co-item { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid #f5f7fa; }
.co-item:first-of-type { border-top: none; }
.co-item-pic { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: #f2f4f8; flex: none; }
.co-item-info { flex: 1; min-width: 0; }
.co-item-title { font-size: 13px; color: #12161f; line-height: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-item-meta { display: flex; justify-content: space-between; margin-top: 6px; color: #8a94a5; font-size: 12px; }
.co-item-sub { color: #12161f; font-weight: 600; }
.co-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; font-size: 13px; color: #5a6474; }
.co-row-total { border-top: 1px dashed #eef1f6; margin-top: 4px; padding-top: 10px; }
.co-amount { color: #f04438; font-size: 17px; font-weight: 800; }
.pay-opt { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid #f5f7fa; }
.pay-opt:first-of-type { border-top: none; }
.pay-radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #d5dbe5; flex: none; display: flex; align-items: center; justify-content: center; }
.pay-opt.on .pay-radio { border-color: var(--primary); }
.pay-opt.on .pay-radio i { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); }
.pay-opt.disabled { opacity: .45; }
.pay-info { flex: 1; min-width: 0; }
.pay-name { font-size: 14px; color: #12161f; }
.pay-desc { font-size: 11px; color: #9aa3b2; margin-top: 2px; }
.co-remark { width: 100%; height: 38px; border: 1px solid #eef1f6; border-radius: 8px; padding: 0 12px; font-size: 13px; background: #fafbfd; }
.co-pad { height: 76px; }
.co-bar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 520px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px calc(10px + var(--safe-bottom)); background: #fff; border-top: 1px solid #f0f2f7; z-index: 40; }
.co-bar-lbl { font-size: 12px; color: #8a94a5; margin-right: 4px; }
.co-bar-amt { font-size: 19px; font-weight: 800; color: #f04438; }
.co-submit { height: 42px; padding: 0 26px; border: none; border-radius: 21px; background: var(--primary); color: #fff; font-size: 15px; font-weight: 700; }
.co-submit:disabled { opacity: .6; }

/* 结算页数量步进 */
.co-qty { display: flex; align-items: center; gap: 0; margin-top: 8px; }
.qty-btn { width: 26px; height: 26px; line-height: 24px; text-align: center; border: 1px solid #e3e8f0; background: #fff; color: #5a6474; border-radius: 8px; font-size: 15px; }
.qty-num { min-width: 40px; text-align: center; font-size: 14px; font-weight: 600; color: #12161f; }

/* ===== 购物车（新版） ===== */
.cart-page { padding: 10px 12px 0; }
.cart-top { display: flex; align-items: center; gap: 8px; padding: 4px 4px 10px; }
.cart-all-lbl { font-size: 13px; color: #5a6474; }
.cart-total-num { margin-left: auto; font-size: 12px; color: #9aa3b2; }
.cart-check { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #d5dbe5; flex: none; display: flex; align-items: center; justify-content: center; background: #fff; }
.cart-check.on { border-color: var(--primary); background: var(--primary); }
.cart-check.on i { width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translateY(-1px); }
.cart-card { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 12px; padding: 12px; margin-bottom: 10px; box-shadow: 0 2px 8px rgba(25,55,120,.04); }
.cart-pic { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; background: #f2f4f8; flex: none; }
.cart-info { flex: 1; min-width: 0; }
.cart-title { font-size: 14px; color: #12161f; line-height: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-price { margin-top: 4px; color: #f04438; font-size: 16px; font-weight: 800; }
.cart-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.cart-qty { display: flex; align-items: center; }
.cart-del { font-size: 12px; color: #9aa3b2; padding: 4px 2px; }
.cart-pad { height: 96px; }
.cart-bar { position: fixed; bottom: calc(58px + var(--safe-bottom)); left: 50%; transform: translateX(-50%); width: 100%; max-width: 520px; display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #fff; border-top: 1px solid #f0f2f7; z-index: 25; }
.cart-bar-lbl { font-size: 12px; color: #8a94a5; }
.cart-bar-amt { font-size: 19px; font-weight: 800; color: #f04438; }
.cart-submit { margin-left: auto; height: 40px; padding: 0 22px; border: none; border-radius: 20px; background: var(--primary); color: #fff; font-size: 15px; font-weight: 700; }
.cart-submit.off { opacity: .5; }
.cart-empty { padding: 70px 0; text-align: center; }
.cart-empty-icon { font-size: 44px; opacity: .35; }
.cart-empty-txt { margin-top: 8px; color: #9aa3b2; font-size: 14px; }

.co-limit { margin-left: 8px; font-size: 11px; color: #f79009; }

/* 购买资格提示 */
.buy-gate { margin-top: 10px; padding: 8px 12px; border-radius: 10px; background: var(--primary-soft); color: var(--primary-deep); font-size: 12px; line-height: 1.6; }
.buy-gate.off { background: #fff7e8; color: #b25e00; }
.co-gate { margin-bottom: 10px; padding: 11px 14px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-deep); font-size: 12px; line-height: 1.6; }
.co-gate.off { background: #fff7e8; color: #b25e00; }
.co-submit.off { background: #c8cfda; }

/* 线性图标 */
.svg-ico { display: block; }
.tabbar .tab .ico { display: flex; align-items: center; justify-content: center; }
.tabbar .tab.on .svg-ico { stroke-width: 2; }
.mine-avatar { display: flex; align-items: center; justify-content: center; color: #fff; }
.point-card .ico { display: flex; align-items: center; justify-content: center; color: var(--primary); }
.cell-item .ib { display: flex; align-items: center; justify-content: center; color: var(--primary); }
.cell-item .ib.outline { color: var(--primary-deep); }

/* ===== 订单列表（新版） ===== */
.ord-page { padding: 0 0 8px; }
.ord-tabs { position: sticky; top: 52px; z-index: 10; display: flex; gap: 4px; padding: 8px 12px; background: var(--bg); overflow-x: auto; }
.ord-tab { position: relative; flex: none; height: 32px; padding: 0 14px; border-radius: 16px; background: #fff; border: 1px solid #eef1f7; color: #5a6474; font-size: 13px; line-height: 30px; }
.ord-tab.on { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.ord-badge { position: absolute; top: -4px; right: -2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #f04438; color: #fff; font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; font-style: normal; }
.ord-list { padding: 0 12px; }
.ord-card { background: #fff; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; box-shadow: 0 2px 8px rgba(25,55,120,.04); }
.ord-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid #f5f7fa; }
.ord-sn { font-size: 12px; color: #9aa3b2; }
.ord-state { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 10px; }
.ord-state.paid { color: #12b76a; background: #e9f9f1; }
.ord-state.wait { color: #f79009; background: #fff5e6; }
.ord-goods { display: flex; gap: 10px; align-items: center; padding: 10px 0; }
.ord-goods img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: #f2f4f8; flex: none; }
.ord-g-info { flex: 1; min-width: 0; }
.ord-g-title { font-size: 13px; color: #12161f; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ord-g-meta { font-size: 12px; color: #9aa3b2; margin-top: 4px; }
.ord-g-num { font-size: 12px; color: #9aa3b2; }
.ord-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid #f5f7fa; }
.ord-amt { font-size: 12px; color: #5a6474; }
.ord-amt b { font-size: 16px; color: #f04438; font-weight: 800; margin-left: 2px; }
.ord-btn { height: 30px; padding: 0 16px; border-radius: 15px; font-size: 13px; font-weight: 600; border: none; }
.ord-btn.solid { background: var(--primary); color: #fff; }
.ord-btn.ghost { background: #f2f4f8; color: #8a94a5; }
.ord-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 70px 0; color: #b6bdc9; font-size: 13px; }
.ord-pad { height: 70px; }

/* 我的页订单快捷（带角标） */
.ord-quick { display: flex; padding: 6px 4px 14px; }
.ord-quick-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.oq-ico { position: relative; display: flex; align-items: center; justify-content: center; color: var(--primary-deep); }
.oq-badge { position: absolute; top: -6px; right: -10px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #f04438; color: #fff; font-size: 10px; font-weight: 700; font-style: normal; line-height: 16px; align-items: center; justify-content: center; }
.oq-label { font-size: 12px; color: #5a6474; }

/* ===== 账号安全 ===== */
.sec-page { padding: 10px 12px 0; }
.sec-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(25,55,120,.04); }
.sec-row { display: flex; align-items: center; justify-content: space-between; padding: 14px; border-bottom: 1px solid #f5f7fa; }
.sec-row:last-child { border-bottom: none; }
.sec-t { font-size: 14px; color: #12161f; font-weight: 600; }
.sec-v { font-size: 12px; color: #9aa3b2; margin-top: 4px; }
.sec-arrow { font-size: 13px; color: var(--primary); }
.sec-form { margin-top: 12px; background: #fff; border-radius: 12px; padding: 14px; box-shadow: 0 2px 8px rgba(25,55,120,.04); }
.sec-form-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.sec-tip { font-size: 12px; color: #9aa3b2; line-height: 1.6; margin-bottom: 10px; }
.sec-code { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); height: 30px; padding: 0 12px; border: 1px solid var(--primary); border-radius: 15px; background: #fff; color: var(--primary); font-size: 12px; }
.sec-cancel { display: block; width: 100%; height: 40px; margin-top: 10px; border: none; background: transparent; color: #9aa3b2; font-size: 14px; }
.sec-pad { height: 24px; }

.sec-row2 { position: relative; display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f5f7fa; }
.sec-row2:last-of-type { border-bottom: none; }
.sec-lbl { width: 84px; flex: none; font-size: 13px; color: #5a6474; }
.sec-val { font-size: 14px; color: #12161f; }
.sec-input { flex: 1; min-width: 0; height: 34px; border: none; background: transparent; font-size: 14px; color: #12161f; }
.sec-textarea { flex: 1; min-width: 0; border: none; background: transparent; font-size: 14px; color: #12161f; resize: none; padding-top: 8px; }
.sec-code { flex: none; height: 30px; padding: 0 12px; border: 1px solid var(--primary); border-radius: 15px; background: #fff; color: var(--primary); font-size: 12px; }
.sec-code[disabled] { border-color: #d5dbe5; color: #a6adb8; }
.sec-btn { width: 100%; height: 44px; margin-top: 14px; border: none; border-radius: 22px; background: var(--primary); color: #fff; font-size: 15px; font-weight: 700; }
.sec-btn.ghost { background: #f2f4f8; color: #5a6474; }
.sec-appeal-tip { margin-top: 12px; font-size: 12px; color: #9aa3b2; text-align: center; }
.sec-appeal-tip a { color: var(--primary); font-weight: 600; }
.sec-pad { height: 20px; }
.sec-mask { position: fixed; inset: 0; z-index: 60; background: rgba(16, 24, 40, .45); display: flex; align-items: center; justify-content: center; padding: 0 20px; }
.sec-modal { width: 100%; max-width: 380px; background: #fff; border-radius: 16px; padding: 18px; }
.sec-modal-title { font-size: 16px; font-weight: 700; text-align: center; }
.sec-modal-tip { font-size: 12px; color: #9aa3b2; line-height: 1.6; margin: 8px 0 12px; }
.sec-modal-foot { display: flex; gap: 10px; margin-top: 16px; }
.sec-modal-foot .sec-btn { margin-top: 0; }

/* 账号安全 · 顶部分段切换 */
.sec-seg { display: flex; gap: 6px; padding: 4px; margin-bottom: 12px; background: #fff; border-radius: 12px; box-shadow: 0 2px 8px rgba(25, 55, 120, .04); }
.sec-seg-item { flex: 1; height: 38px; line-height: 38px; text-align: center; border-radius: 9px; font-size: 14px; font-weight: 600; color: #6b7484; transition: .18s; }
.sec-seg-item.on { background: var(--primary); color: #fff; box-shadow: 0 4px 10px rgba(58, 127, 244, .28); }

/* ===== 健康积分钱包 ===== */
.wl-page { padding: 10px 12px 0; }
.wl-top { background: linear-gradient(135deg, #3a7ff4, #6c8bf0); border-radius: 16px; padding: 18px 18px 16px; color: #fff; box-shadow: 0 8px 20px rgba(58,127,244,.25); }
.wl-lbl { font-size: 12px; opacity: .85; }
.wl-num { font-size: 34px; font-weight: 800; line-height: 1.15; margin-top: 4px; letter-spacing: -.5px; }
.wl-sub { display: flex; gap: 16px; margin-top: 6px; font-size: 12px; opacity: .85; }
.wl-actions { display: flex; gap: 10px; margin-top: 14px; }
.wl-btn { flex: 1; height: 38px; border-radius: 19px; font-size: 14px; font-weight: 600; border: none; }
.wl-btn.solid { background: #fff; color: var(--primary); }
.wl-btn.ghost { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.5); }
.wl-seg { display: flex; gap: 6px; padding: 4px; margin: 12px 0; background: #fff; border-radius: 12px; box-shadow: 0 2px 8px rgba(25,55,120,.04); }
.wl-seg-item { flex: 1; height: 36px; line-height: 36px; text-align: center; border-radius: 9px; font-size: 12.5px; font-weight: 600; color: #6b7484; white-space: nowrap; }
.wl-seg-item.on { background: var(--primary); color: #fff; }
.wl-card { background: #fff; border-radius: 12px; padding: 4px 14px; box-shadow: 0 2px 8px rgba(25,55,120,.04); }
.wl-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f5f7fa; }
.wl-item:last-child { border-bottom: none; }
.wl-l { min-width: 0; flex: 1; }
.wl-t { font-size: 13px; color: #12161f; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-s { font-size: 11px; color: #9aa3b2; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-r { font-size: 15px; font-weight: 700; flex: none; }
.wl-r.in { color: #12b76a; }
.wl-r.out { color: #f04438; }
.wl-amt { font-size: 15px; font-weight: 700; color: #12161f; text-align: right; }
.wl-tag { font-size: 11px; color: #9aa3b2; text-align: right; margin-top: 2px; }
.wl-empty { padding: 40px 0; text-align: center; color: #b6bdc9; font-size: 13px; }

/* ===== 充值页 ===== */
.rc-page { padding: 10px 12px 0; }
.rc-card { background: #fff; border-radius: 12px; padding: 14px; margin-bottom: 10px; box-shadow: 0 2px 8px rgba(25,55,120,.04); }
.rc-lbl { font-size: 13px; color: #5a6474; margin-bottom: 8px; }
.rc-amount { display: flex; align-items: baseline; gap: 6px; padding-bottom: 10px; border-bottom: 1px solid #f5f7fa; }
.rc-amount span { font-size: 22px; font-weight: 700; color: #12161f; }
.rc-amount input { flex: 1; min-width: 0; border: none; font-size: 30px; font-weight: 800; color: #12161f; background: transparent; }
.rc-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.rc-q { height: 40px; line-height: 40px; text-align: center; border-radius: 10px; background: #f7f9fc; border: 1px solid #eef1f7; font-size: 14px; color: #12161f; font-weight: 600; }
.rc-q.on { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); }
.rc-textarea { width: 100%; border: 1px solid #eef1f7; border-radius: 8px; padding: 10px; font-size: 13px; background: #fafbfd; resize: none; }

/* ===== 子账号 ===== */
.sub-page { padding: 10px 12px 0; }
.sub-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 13px; color: #5a6474; }
.sub-tip { color: #f79009; font-size: 12px; }
.sub-add { height: 30px; padding: 0 14px; border-radius: 15px; border: 1px solid var(--primary); background: #fff; color: var(--primary); font-size: 13px; font-weight: 600; }
.sub-card { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; box-shadow: 0 2px 8px rgba(25,55,120,.04); }
.sub-av { width: 42px; height: 42px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.sub-info { flex: 1; min-width: 0; }
.sub-name { font-size: 14px; font-weight: 600; color: #12161f; display: flex; align-items: center; gap: 6px; }
.sub-flag { font-size: 10px; font-style: normal; padding: 1px 6px; border-radius: 8px; background: var(--primary-soft); color: var(--primary); }
.sub-mobile { font-size: 12px; color: #9aa3b2; margin-top: 3px; }
.sub-cur { font-size: 12px; color: var(--primary); font-weight: 600; }
.sub-switch { height: 28px; padding: 0 14px; border-radius: 14px; border: none; background: var(--primary); color: #fff; font-size: 12px; font-weight: 600; }
.sub-form { background: #fff; border-radius: 12px; padding: 14px; margin-top: 6px; box-shadow: 0 2px 8px rgba(25,55,120,.04); }
.sub-form-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }

/* ===== 账号安全 · 资料 ===== */
.pf-row { display: flex; align-items: center; gap: 14px; padding: 6px 0 12px; border-bottom: 1px solid #f5f7fa; }
.pf-lbl { width: 84px; flex: none; font-size: 13px; color: #5a6474; }
.pf-avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 24px; cursor: pointer; }
.pf-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ===== 健康积分转赠 ===== */
.tr-page { padding: 10px 12px 0; }
.tr-card { background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 2px 10px rgba(25,55,120,.05); }
.tr-balance { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-radius: 12px; background: #eaf1ff; margin-bottom: 18px; }
.tr-balance span { font-size: 14px; color: #2f6bdb; }
.tr-balance b { font-size: 26px; font-weight: 800; color: #2f6bdb; }
.tr-label { font-size: 14px; font-weight: 700; color: #12161f; margin: 14px 0 10px; }
.tr-mode { display: flex; gap: 10px; }
.tr-mode-item { flex: 1; height: 44px; line-height: 42px; text-align: center; border-radius: 10px; border: 1px solid #e6ebf3; background: #fff; color: #5a6474; font-size: 14px; font-weight: 600; }
.tr-mode-item.on { border-color: var(--primary); background: #f2f6ff; color: var(--primary); }
.tr-sub { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-top: 10px; border-radius: 10px; border: 1px solid #e6ebf3; background: #fff; }
.tr-sub.on { border-color: var(--primary); background: #f5f8ff; }
.tr-av { width: 44px; height: 44px; border-radius: 50%; background: #eef2f8; color: #8b96a8; display: flex; align-items: center; justify-content: center; flex: none; }
.tr-subinfo { flex: 1; min-width: 0; }
.tr-subname { font-size: 15px; font-weight: 600; color: #12161f; }
.tr-subid { font-size: 12px; color: #9aa3b2; margin-top: 3px; }
.tr-radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #d5dbe5; display: flex; align-items: center; justify-content: center; flex: none; }
.tr-sub.on .tr-radio { border-color: var(--primary); }
.tr-sub.on .tr-radio i { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); }
.tr-input { width: 100%; height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid #e6ebf3; background: #fafbfd; font-size: 15px; color: #12161f; }
.tr-code-row { display: flex; gap: 10px; }
.tr-code-row .tr-input { flex: 1; }
.tr-code-btn { flex: none; height: 48px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--primary); background: #fff; color: var(--primary); font-size: 14px; font-weight: 600; }
.tr-code-btn[disabled] { border-color: #d5dbe5; color: #a6adb8; }
.tr-btn { width: 100%; height: 50px; margin-top: 20px; border: none; border-radius: 25px; background: var(--primary); color: #fff; font-size: 17px; font-weight: 700; }
.tr-btn[disabled] { opacity: .6; }
.tr-note { margin-top: 14px; font-size: 12px; color: #9aa3b2; line-height: 1.7; }
.tr-empty { margin-top: 12px; padding: 26px 0; text-align: center; color: #b6bdc9; font-size: 13px; }
.sub-note { margin-top: 12px; text-align: center; font-size: 12px; color: #9aa3b2; }

.tag-blue { color: var(--primary) !important; background: var(--primary-soft) !important; }

.sub-card.cur { border: 1px solid var(--primary); background: #f7faff; }

.tr-sub { cursor: pointer; transition: background .15s, border-color .15s; }
.tr-sub:active { transform: scale(.995); background: #eef4ff; }
.tr-sub .tr-radio { transition: border-color .15s; }
.tr-subinfo { pointer-events: none; }
.tr-av { pointer-events: none; }

/* 钱包：月份筛选 + 分页 */
.wl-months { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; -webkit-overflow-scrolling: touch; }
.wl-months::-webkit-scrollbar { display: none; }
.wl-chip { flex: none; height: 30px; padding: 0 14px; line-height: 28px; border-radius: 15px; border: 1px solid #e6ebf3; background: #fff; color: #5a6474; font-size: 12.5px; font-weight: 600; }
.wl-chip.on { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.wl-more { display: block; width: 100%; height: 44px; margin-top: 10px; border: none; border-radius: 10px; background: #f2f5fa; color: var(--primary); font-size: 13px; font-weight: 600; }
.wl-end { padding: 16px 0 6px; text-align: center; font-size: 12px; color: #b6bdc9; }

/* 钱包筛选栏 */
.wl-filter { display: flex; align-items: center; justify-content: space-between; padding: 2px 2px 10px; }
.wl-filter-btn { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 16px; background: #fff; border: 1px solid #e6ebf3; font-size: 13px; font-weight: 600; color: #3a4352; }
.wl-filter-btn i { font-style: normal; font-size: 11px; color: #9aa3b2; }
.wl-count { font-size: 12px; color: #9aa3b2; }
/* 月份选择面板 */
.ms-mask { position: fixed; inset: 0; z-index: 70; background: rgba(16,24,40,.45); display: flex; align-items: flex-end; }
.ms-sheet { width: 100%; max-width: 520px; margin: 0 auto; background: #fff; border-radius: 16px 16px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); max-height: 68vh; overflow-y: auto; }
.ms-head { display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.ms-close { font-size: 13px; font-weight: 500; color: #9aa3b2; }
.ms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ms-item { height: 42px; line-height: 42px; text-align: center; border-radius: 10px; background: #f6f8fc; border: 1px solid #eef1f7; font-size: 13px; color: #3a4352; font-weight: 600; }
.ms-item.on { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); }

.ms-year { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 12px; }
.ms-year-btn { width: 30px; height: 30px; line-height: 28px; text-align: center; border-radius: 50%; background: #f2f5fa; color: #5a6474; font-size: 16px; font-weight: 700; }
.ms-year-txt { font-size: 15px; font-weight: 700; color: #1f2430; min-width: 90px; text-align: center; }
.ms-item.dis { color: #c9ced8; background: #fafbfd; }
.ms-all { margin-top: 14px; height: 44px; line-height: 44px; text-align: center; border-radius: 10px; background: #f6f8fc; border: 1px solid #eef1f7; font-size: 14px; font-weight: 600; color: #3a4352; }
.ms-all.on { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); }

/* ===== 提现 ===== */
.wd-page { padding: 10px 12px 0; }
.wd-seg { display: flex; gap: 6px; padding: 4px; margin-bottom: 12px; background: #fff; border-radius: 12px; box-shadow: 0 2px 8px rgba(25,55,120,.04); }
.wd-seg-item { flex: 1; height: 36px; line-height: 36px; text-align: center; border-radius: 9px; font-size: 13px; font-weight: 600; color: #6b7484; }
.wd-seg-item.on { background: var(--primary); color: #fff; }
.wd-card { background: #fff; border-radius: 12px; padding: 14px; margin-bottom: 12px; box-shadow: 0 2px 8px rgba(25,55,120,.04); }
.wd-title { font-size: 14px; font-weight: 700; color: #12161f; margin-bottom: 10px; }
.wd-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f5f7fa; }
.wd-row span { width: 76px; flex: none; font-size: 13px; color: #5a6474; }
.wd-input { flex: 1; min-width: 0; height: 34px; border: none; background: transparent; font-size: 14px; color: #12161f; }
.wd-tip { margin-top: 10px; font-size: 12px; color: #9aa3b2; line-height: 1.6; }
.wd-btn { width: 100%; height: 46px; margin-top: 14px; border: none; border-radius: 23px; background: var(--primary); color: #fff; font-size: 15px; font-weight: 700; }
.wd-btn[disabled] { opacity: .6; }
.wd-cancel { display: block; width: 100%; height: 40px; margin-top: 8px; border: none; background: transparent; color: #9aa3b2; font-size: 14px; }
.wd-bank-row { display: flex; align-items: center; justify-content: space-between; }
.wd-bank-name { font-size: 15px; font-weight: 600; color: #12161f; }
.wd-bank-no { font-size: 12.5px; color: #9aa3b2; margin-top: 5px; letter-spacing: .5px; }
.wd-edit { font-size: 13px; color: var(--primary); font-weight: 600; }
.wd-amount { display: flex; align-items: baseline; gap: 6px; padding-bottom: 8px; border-bottom: 1px solid #f5f7fa; }
.wd-amount span { font-size: 24px; font-weight: 700; }
.wd-amount input { flex: 1; min-width: 0; border: none; font-size: 30px; font-weight: 800; background: transparent; }
.wd-avail { margin-top: 10px; font-size: 12px; color: #9aa3b2; }
.wd-rec { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f5f7fa; }
.wd-rec:last-child { border-bottom: none; }
.wd-rec-l { min-width: 0; flex: 1; }
.wd-rec-t { font-size: 13.5px; color: #12161f; }
.wd-rec-s { font-size: 11.5px; color: #9aa3b2; margin-top: 4px; }
.wd-rec-n { font-size: 11.5px; color: #f79009; margin-top: 4px; }
.wd-rec-r { text-align: right; flex: none; }
.wd-rec-amt { font-size: 15px; font-weight: 700; color: #12161f; }
.wd-rec-st { font-size: 11.5px; margin-top: 3px; }
.wd-rec-st.ok { color: #12b76a; }
.wd-rec-st.wait { color: #f79009; }
.wd-rec-st.no { color: #f04438; }
.wd-empty { padding: 40px 0; text-align: center; color: #b6bdc9; font-size: 13px; }

.wd-fee { margin-top: 8px; font-size: 12.5px; color: #5a6474; min-height: 16px; }
.wd-fee b { color: #f04438; font-weight: 700; }
.wd-fee b:last-child { color: #12b76a; }

/* 多银行卡 */
.wd-bank { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; margin-bottom: 10px; border: 1px solid #e6ebf3; border-radius: 10px; background: #fff; }
.wd-bank.on { border-color: var(--primary); background: #f6f9ff; }
.wd-bank-l { min-width: 0; flex: 1; }
.wd-bank-name { font-size: 14px; font-weight: 700; color: #12161f; display: flex; align-items: center; gap: 6px; }
.wd-def { font-size: 10px; font-style: normal; padding: 1px 6px; border-radius: 8px; background: var(--primary-soft); color: var(--primary); }
.wd-bank-no { font-size: 12px; color: #9aa3b2; margin-top: 3px; }
.wd-bank-r { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }
.wd-radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #d5dbe5; display: flex; align-items: center; justify-content: center; }
.wd-bank.on .wd-radio { border-color: var(--primary); }
.wd-bank.on .wd-radio i { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); }
.wd-bank-ops { display: flex; gap: 10px; font-size: 12px; color: var(--primary); }
.wd-addbank { width: 100%; height: 42px; border: 1px dashed #c9d6ee; border-radius: 10px; background: #fafcff; color: var(--primary); font-size: 14px; font-weight: 600; }
/* 手续费明细 */
.wd-fee { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #f7f9fc; }
.wd-fee-row { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: #5a6474; padding: 3px 0; }
.wd-fee-row b { font-weight: 700; color: #12161f; }
.wd-fee-row b.out { color: #f04438; }
.wd-fee-row.total { border-top: 1px dashed #e6ebf3; margin-top: 4px; padding-top: 6px; }
.wd-fee-row.total b.in { color: #12b76a; font-size: 15px; }
.wd-rec-net { font-size: 11px; color: #9aa3b2; margin-top: 3px; }

/* 专属邀请码卡片 */
.invite-card { display: flex; align-items: center; justify-content: space-between; margin: 0 12px 10px; padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(25,55,120,.04); }
.ic-lbl { font-size: 12px; color: #9aa3b2; }
.ic-code { margin-top: 4px; font-size: 20px; font-weight: 800; letter-spacing: 3px; color: var(--primary); }
.ic-btn { height: 30px; padding: 0 16px; border-radius: 15px; border: 1px solid var(--primary); background: #fff; color: var(--primary); font-size: 13px; font-weight: 600; }
.level-pill { display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 10px; background: rgba(255,255,255,.25); color: #fff; font-size: 12px; font-weight: 700; }
.level-pill[data-level="0"] { background: rgba(255,255,255,.2); }

/* 邀请海报页 */
.share-page { padding: 10px 12px 0; }
.share-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 12px rgba(25,55,120,.06); }
.share-poster { background: #f4f6fa; }
.share-poster img { width: 100%; display: block; }
.share-empty { padding: 50px 20px; text-align: center; background: linear-gradient(135deg, #eef3ff, #f7f9ff); }
.se-t { font-size: 15px; font-weight: 700; color: #2f6bdb; }
.se-s { margin-top: 6px; font-size: 12px; color: #8a94a5; }
.share-foot { display: flex; align-items: center; gap: 14px; padding: 14px; }
.sf-qr { width: 86px; height: 86px; flex: none; border-radius: 10px; overflow: hidden; background: #f4f6fa; display: flex; align-items: center; justify-content: center; }
.sf-qr img { width: 100%; height: 100%; object-fit: contain; }
.sf-qr-ph { font-size: 11px; color: #b6bdc9; }
.sf-info { min-width: 0; }
.sf-name { font-size: 15px; font-weight: 700; color: #12161f; }
.sf-code { margin-top: 5px; font-size: 13px; color: #5a6474; }
.sf-code b { color: var(--primary); font-size: 16px; letter-spacing: 2px; }
.sf-tip { margin-top: 5px; font-size: 11.5px; color: #9aa3b2; }
.share-ops { margin-top: 12px; }
.logout-btn { width: 100%; height: 44px; margin-top: 14px; border: 1px solid #f2c2c2; border-radius: 22px; background: #fff; color: #f04438; font-size: 15px; font-weight: 600; }

/* ===== 我的页 · 重排版（覆盖旧样式） ===== */
.mine-head {
  margin: 0 12px 10px; padding: 14px;
  background: #fff; border-radius: 14px;
  box-shadow: 0 2px 10px rgba(25, 55, 120, .05);
}
.mine-head .mh-top { display: flex; align-items: center; gap: 12px; }
.mine-avatar {
  width: 52px; height: 52px; flex: none; border-radius: 50%;
  background: #eef3ff; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: none; font-size: 24px;
}
.mh-main { flex: 1; min-width: 0; }
.mh-name-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mine-name { font-size: 17px; font-weight: 700; color: #12161f; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.level-pill {
  flex: none; margin: 0; padding: 2px 8px; border-radius: 8px;
  background: #eaf1ff; color: #2f6bdb; border: 1px solid #d6e3ff;
  font-size: 11.5px; font-weight: 700; line-height: 16px;
}
.level-pill[data-level="0"] { background: #f2f4f8; color: #6b7484; border-color: #e3e8f0; }
.mine-idline { display: flex; align-items: center; gap: 6px; margin-top: 5px; font-size: 12px; color: #9aa3b2; }
.copy-btn { padding: 1px 7px; border: 1px solid #e3e8f0; border-radius: 8px; background: #fafbfd; color: #6b7484; font-size: 11px; }
.switch-btn { flex: none; padding: 7px 14px; border: 1px solid #d6e3ff; border-radius: 15px; background: #f4f8ff; color: var(--primary); font-size: 12.5px; font-weight: 600; }
.mh-invite {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 12px; padding-top: 11px; border-top: 1px dashed #eef1f6;
}
.mh-invite-l { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #9aa3b2; }
.mh-invite-l b { font-size: 14.5px; font-weight: 800; letter-spacing: 1.2px; color: var(--primary); font-family: ui-monospace, Menlo, monospace; }
.mh-invite-r { display: flex; align-items: center; gap: 10px; }
.mh-copy { height: 24px; padding: 0 10px; border-radius: 12px; border: 1px solid #d6e3ff; background: #fff; color: var(--primary); font-size: 11.5px; font-weight: 600; }
.mh-go { font-size: 12px; color: #9aa3b2; }
/* 旧的邀请码卡片如仍存在则隐藏 */
.invite-card { display: none !important; }

/* 对公转账收款账号 */
.co-bank { margin-top: 12px; padding: 12px; border-radius: 10px; background: #f7f9fc; border: 1px dashed #d9e2f0; }
.co-bank-title { font-size: 12.5px; color: #5a6474; font-weight: 600; margin-bottom: 8px; }
.co-bank-item { padding: 10px 0; border-bottom: 1px dashed #e6ebf3; }
.co-bank-item:last-child { border-bottom: none; padding-bottom: 0; }
.co-bank-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #12161f; line-height: 1.9; }
.co-bank-row span { width: 52px; flex: none; color: #9aa3b2; font-size: 12px; }
.co-bank-row b.mono { font-family: ui-monospace, Menlo, monospace; letter-spacing: .5px; }
.co-bank-copy { margin-left: auto; height: 24px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--primary); background: #fff; color: var(--primary); font-size: 11.5px; }
.co-bank-note { margin-top: 4px; font-size: 11.5px; color: #f79009; }
.co-bank-qr { margin-top: 8px; width: 120px; border-radius: 8px; }
.co-bank-empty { font-size: 12.5px; color: #9aa3b2; }

/* ===== 首页：公告 / 搜索 / 热搜 ===== */
.bulletin-bar { display: none; align-items: center; gap: 8px; margin: 10px 12px 0; padding: 9px 12px; border-radius: 10px; background: #fff7e8; border: 1px solid #ffe2b8; }
.bb-ico { font-size: 13px; }
.bb-text { flex: 1; font-size: 12.5px; color: #a05a00; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-search { margin: 10px 12px 0; }
.hs-input { width: 100%; height: 42px; padding: 0 16px; border-radius: 21px; border: 1px solid #eef1f6; background: #fff; font-size: 13.5px; color: #12161f; }
.hs-input::placeholder { color: #b3bac6; }
.hot-search { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 12px 0; }
.hs-chip { padding: 5px 12px; border-radius: 14px; background: #f2f5fa; color: #5a6474; font-size: 12px; }

/* ===== 维护模式 ===== */
.mt-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: #f5f7fa; }
.mt-card { width: 100%; max-width: 340px; text-align: center; background: #fff; border-radius: 16px; padding: 34px 24px; box-shadow: 0 6px 24px rgba(25,55,120,.08); }
.mt-ico { font-size: 40px; }
.mt-title { margin-top: 12px; font-size: 18px; font-weight: 800; color: #1f2430; }
.mt-desc { margin-top: 8px; font-size: 13px; color: #8a94a5; line-height: 1.7; }

/* ===== 登录 / 注册 ===== */
.auth-page { min-height: 100vh; background: linear-gradient(180deg, #eaf1ff 0%, #f6f8fc 42%, #f6f8fc 100%); padding-bottom: 20px; }
.auth-hero { padding: 46px 24px 26px; text-align: center; }
.auth-logo { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 20px; background: linear-gradient(135deg, #3a7ff4, #6c8bf0); color: #fff; font-size: 30px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(58,127,244,.32); }
.auth-title { font-size: 22px; font-weight: 800; color: #16202c; letter-spacing: 1px; }
.auth-sub { margin-top: 7px; font-size: 12.5px; color: #8a94a5; }
.auth-card { margin: 0 18px; padding: 20px 18px 18px; background: #fff; border-radius: 18px; box-shadow: 0 8px 30px rgba(25,55,120,.08); }
.auth-seg { display: flex; gap: 6px; padding: 4px; margin-bottom: 16px; background: #f2f5fa; border-radius: 12px; }
.auth-seg-item { flex: 1; height: 36px; line-height: 36px; text-align: center; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: #6b7484; transition: .18s; }
.auth-seg-item.on { background: #fff; color: var(--primary); box-shadow: 0 2px 8px rgba(58,127,244,.16); }
.auth-field { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 14px; margin-bottom: 12px; border-radius: 12px; background: #f7f9fc; border: 1px solid #eef1f6; }
.auth-field:focus-within { border-color: var(--primary); background: #fff; }
.af-ico { font-size: 15px; opacity: .8; }
.af-input { flex: 1; min-width: 0; height: 100%; border: none; background: transparent; font-size: 15px; color: #12161f; }
.af-eye { font-size: 12.5px; color: var(--primary); font-weight: 600; }
.af-code { flex: none; height: 30px; padding: 0 12px; border-radius: 15px; border: 1px solid var(--primary); background: #fff; color: var(--primary); font-size: 12.5px; font-weight: 600; }
.af-code[disabled] { border-color: #d5dbe5; color: #a6adb8; }
.auth-btn { width: 100%; height: 50px; margin-top: 8px; border: none; border-radius: 25px; background: linear-gradient(135deg, #3a7ff4, #6c8bf0); color: #fff; font-size: 16.5px; font-weight: 700; letter-spacing: 2px; box-shadow: 0 8px 20px rgba(58,127,244,.3); }
.auth-btn[disabled] { opacity: .65; box-shadow: none; }
.auth-foot { margin-top: 14px; text-align: center; font-size: 13px; color: #8a94a5; }
.auth-foot a { color: var(--primary); font-weight: 700; }
.auth-tip { margin-top: 18px; text-align: center; font-size: 11.5px; color: #b3bac6; }

/* 品牌 Logo */
.auth-brand { width: 176px; display: block; margin: 0 auto 10px; }
.home-brand { padding: 12px 14px 2px; }
.hb-logo { height: 26px; display: block; }

/* ===== 登录页注册引导 ===== */
.reg-cta { margin: 14px 18px 0; padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px dashed #b8d0ff; display: flex; flex-direction: column; gap: 3px; cursor: pointer; }
.reg-cta-t { font-size: 15px; font-weight: 700; color: var(--primary); }
.reg-cta-s { font-size: 12px; color: #8a94a5; }
.reg-cta.off { border-color: #e3e8f0; background: #f7f8fa; }
.reg-cta.off .reg-cta-t { color: #8a94a5; }
.auth-foot a.off { color: #a0a6b2; font-weight: 500; }

/* ===== 注册页 ===== */
.reg-gift { margin: 0 18px 12px; padding: 10px 14px; border-radius: 12px; background: #fff6e8; border: 1px solid #ffe0b0; font-size: 13px; color: #a05a00; text-align: center; }
.reg-gift b { font-size: 15px; color: #f79009; }
.reg-steps { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.rs-item { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: #8a94a5; }
.rs-item i { width: 18px; height: 18px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-style: normal; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.rs-line { flex: 1; height: 1px; margin: 0 6px; background: #e8eef7; }
.reg-hint { margin: -6px 0 12px 2px; font-size: 11.5px; color: #a8b0bd; }
.reg-hint.warn { color: #f79009; }
.reg-pause { text-align: center; padding: 30px 22px 22px; }
.rp-ico { font-size: 38px; }
.rp-title { margin-top: 10px; font-size: 17px; font-weight: 800; color: #1f2430; }
.rp-desc { margin-top: 8px; font-size: 13px; color: #8a94a5; line-height: 1.75; }
.auth-btn.ghost { background: #f2f5fa; color: #5a6474; box-shadow: none; }

/* ===== 登录/注册 · 极简排版（标签 + 输入框，无图标） ===== */
.af-group { margin-bottom: 14px; }
.af-label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; color: #4b5563; }
.af-opt { margin-left: 6px; font-size: 11px; font-weight: 500; color: #a8b0bd; }
.af-opt.must { color: #f04438; }
.af-box { width: 100%; height: 50px; padding: 0 15px; border-radius: 12px; border: 1px solid #e8edf5; background: #f8fafd; font-size: 15px; color: #12161f; }
.af-box::placeholder { color: #b8c0cc; }
.af-box:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(58,127,244,.1); }
.af-box-wrap { position: relative; display: flex; align-items: center; }
.af-box-wrap .af-box { padding-right: 96px; }
.af-eye { position: absolute; right: 14px; font-size: 12.5px; color: var(--primary); font-weight: 600; }
.af-code { position: absolute; right: 6px; height: 34px; padding: 0 14px; border-radius: 17px; border: 1px solid var(--primary); background: #fff; color: var(--primary); font-size: 12.5px; font-weight: 600; }
.af-code[disabled] { border-color: #d5dbe5; color: #a6adb8; background: #f7f8fa; }

/* ===== 验证码行对齐修正（覆盖旧规则） ===== */
.af-box-wrap { position: relative; display: block; }
.af-box-wrap .af-box { width: 100%; padding-right: 128px; }
.af-box-wrap .af-code {
  position: absolute; top: 50%; right: 8px; transform: translateY(-50%);
  height: 36px; line-height: 34px; padding: 0 16px; margin: 0;
  border-radius: 18px; border: 1px solid var(--primary); background: #fff;
  color: var(--primary); font-size: 12.5px; font-weight: 600;
  white-space: nowrap; flex: none; writing-mode: horizontal-tb;
}
.af-box-wrap .af-code[disabled] { border-color: #d5dbe5; color: #a6adb8; background: #f7f8fa; }
.af-box-wrap .af-eye {
  position: absolute; top: 50%; right: 14px; transform: translateY(-50%);
  font-size: 12.5px; font-weight: 600; color: var(--primary);
  background: #f8fafd; padding-left: 6px;
}
/* 密码行留白较少，只给眼睛图标留位 */
.af-box-wrap.pwd .af-box { padding-right: 58px; }

.auth-switch { margin-top: 12px; text-align: center; }
.auth-switch span { font-size: 13px; color: #5a6474; padding: 6px 14px; border-radius: 14px; background: #f4f7fb; }
.auth-switch span:active { background: #e8effb; }

/* ===== 首页头部（logo + 搜索同排） ===== */
.home-header { display: flex; align-items: center; gap: 10px; padding: 12px 12px 4px; background: #fff; }
.hh-logo { height: 26px; flex: none; }
.hh-search { flex: 1; display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 18px; background: #f4f6fa; }
.hh-search-ico { font-size: 15px; color: #a8b0bd; line-height: 1; }
.hh-input { flex: 1; min-width: 0; border: none; background: transparent; font-size: 13px; color: #12161f; }
.hh-input::placeholder { color: #b3bac6; }

/* ===== 购买资格徽标 ===== */
.gate-chip { display: flex; align-items: center; gap: 6px; margin: 8px 0 2px; padding: 6px 10px; border-radius: 8px; font-size: 11.5px; font-weight: 600; }
.gate-chip.ok { background: #eafaf1; color: #12b76a; }
.gate-chip.ok .gc-dot { width: 6px; height: 6px; border-radius: 50%; background: #12b76a; }
.gate-chip.warn { background: #fff5e6; color: #b25d00; flex-direction: column; align-items: flex-start; gap: 5px; }
.gate-chip.warn b { color: #f04438; font-size: 13px; margin: 0 1px; }
.gc-main { line-height: 1.2; }
.gc-dots { display: flex; gap: 4px; }
.gc-dots i { width: 16px; height: 4px; border-radius: 2px; background: #ffd9a8; }
.gc-dots i.on { background: #f79009; }

/* 头部右侧快捷 */
.hh-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hh-btn { height: 28px; line-height: 26px; padding: 0 12px; border-radius: 14px; border: 1px solid var(--primary); background: #fff; color: var(--primary); font-size: 12px; font-weight: 600; }
.hh-btn.ghost { border-color: #e3e8f0; color: #6b7484; background: #f7f9fc; }

/* 资格提示（加强） */
.gate-chip { padding: 8px 10px; border-radius: 10px; font-size: 12px; }
.gate-chip.warn { background: #fff6e8; border: 1px solid #ffdda8; color: #8a4b00; }
.gate-chip.warn .gc-main { display: flex; align-items: center; gap: 5px; font-weight: 600; line-height: 1.35; }
.gate-chip.warn .gc-main b { color: #f04438; font-size: 14px; font-weight: 800; }
.gc-ico { width: 15px; height: 15px; flex: none; border-radius: 50%; background: #f79009; color: #fff; font-size: 11px; font-weight: 800; font-style: normal; display: flex; align-items: center; justify-content: center; }
.gc-dots { display: flex; align-items: center; gap: 4px; width: 100%; }
.gc-dots i { width: 20px; height: 5px; border-radius: 3px; background: #ffe0b8; }
.gc-dots i.on { background: #f79009; }
.gc-count { margin-left: auto; font-size: 11px; font-weight: 700; color: #b25d00; }
.gate-chip.ok { padding: 6px 10px; }

/* ===== 购买资格提示（底部弹层） ===== */
.gate-mask { position: fixed; inset: 0; z-index: 80; background: rgba(16,24,40,.45); display: flex; align-items: flex-end; }
.gate-sheet { width: 100%; max-width: 520px; margin: 0 auto; background: #fff; border-radius: 18px 18px 0 0; padding: 10px 20px calc(18px + env(safe-area-inset-bottom)); text-align: center; }
.gs-grip { width: 36px; height: 4px; border-radius: 2px; background: #e3e8f0; margin: 0 auto 14px; }
.gs-title { font-size: 17px; font-weight: 800; color: #1f2430; }
.gs-title::after { content: ''; }
.gs-desc { margin-top: 8px; font-size: 13px; color: #8a94a5; line-height: 1.65; text-align: left; background: #f7f9fc; border-radius: 10px; padding: 10px 12px; }
.gs-progress { display: flex; align-items: center; gap: 8px; margin: 14px 0 4px; }
.gs-dots { display: flex; gap: 6px; flex: 1; }
.gs-dots i { flex: 1; height: 6px; border-radius: 3px; background: #ffe0b8; }
.gs-dots i.on { background: #f79009; }
.gs-count { font-size: 12px; font-weight: 700; color: #b25d00; }
.gs-btn { width: 100%; height: 48px; margin-top: 16px; border: none; border-radius: 24px; background: linear-gradient(135deg, #3a7ff4, #6c8bf0); color: #fff; font-size: 16px; font-weight: 700; box-shadow: 0 8px 20px rgba(58,127,244,.28); }
.gs-cancel { width: 100%; height: 44px; margin-top: 6px; border: none; background: transparent; color: #9aa3b2; font-size: 14px; }

/* ===== 首页顶部（新版） ===== */
.home-header {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid #f1f4f9;
}
.hh-logo { height: 28px; display: block; }
.hh-actions { display: flex; align-items: center; gap: 10px; }
.hh-ico {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  width: 40px; height: 40px; justify-content: center;
  border-radius: 12px; background: #f5f8fd; color: #4a6fa5;
}
.hh-ico:active { background: #e9f1ff; }
.hh-ico span { font-size: 9.5px; line-height: 1; color: #7b8797; }

.bulletin-bar {
  display: none; align-items: center; gap: 8px;
  margin: 8px 12px 0; padding: 7px 12px; border-radius: 12px;
  background: #fff7e8; border: 1px solid #ffe6c2;
}
.bb-ico {
  flex: none; padding: 1px 7px; border-radius: 8px;
  background: #f79009; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .5px;
}
.bb-text { flex: 1; font-size: 12px; color: #9a5b00; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.home-hero { margin: 10px 12px 0; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 22px rgba(30,60,120,.12); background: #eef3ff; }
.home-hero-img { display: block; width: 100%; min-height: 120px; object-fit: cover; }

/* 我的页头像（默认头像兜底） */
.mine-avatar { overflow: hidden; padding: 0; background: #eef3ff; }
.mine-avatar-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 微信一键登录 */
.wx-login { display: flex; align-items: center; gap: 10px; margin: 16px 0 12px; }
.wx-line { flex: 1; height: 1px; background: #eef1f6; }
.wx-txt { font-size: 12px; color: #b3bac6; }
.wx-btn { width: 100%; height: 48px; border: none; border-radius: 24px; background: #07c160; color: #fff; font-size: 16px; font-weight: 700; box-shadow: 0 8px 18px rgba(7,193,96,.24); }
.wx-btn:active { background: #06ad56; }

/* 微信待绑定提示 */
.wx-bind-tip { margin: -2px 0 14px; padding: 11px 13px; border-radius: 10px; background: #eafaf0; border: 1px solid #b7ecd0; font-size: 12.5px; line-height: 1.6; color: #0f7b46; }
.wx-bind-tip b { color: #07a050; }

/* 首页公告/弹窗文字加强 */
.bulletin-bar { padding: 9px 13px; }
.bb-text { font-size: 13.5px !important; font-weight: 700; color: #8a4b00 !important; letter-spacing: .2px; }
.bb-ico { font-size: 11px !important; padding: 2px 8px !important; }
/* 弹层标题更大更醒目 */
.gs-title { font-size: 20px !important; font-weight: 800 !important; letter-spacing: .3px; }
.gs-desc { font-size: 13.5px !important; line-height: 1.7 !important; }
.toast { font-size: 14.5px !important; font-weight: 600; }
