:root {
  --primary: #d92c20;
  --primary-dark: #b8231a;
  --primary-soft: #fdf2f1;
  --gold: #e08600;
  --gold-soft: #fff6e8;
  --success: #10a35a;
  --info: #1d6ff2;
  --muted: #97a1b0;
  --text: #1a2130;
  --text-2: #5a6675;
  --line: #e9ecf1;
  --bg: #f4f5f7;
  --card: #fff;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 21, 31, .04), 0 6px 18px rgba(16, 21, 31, .05);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0; padding: 0;
  background: #e8eaee;
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}

/* 链接一律不带下划线，颜色跟随上下文 */
a { color: inherit; text-decoration: none; }
a:active { opacity: .72; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }
.num, .wallet .num, .pcard2 .pprice { font-variant-numeric: tabular-nums; }

#app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
  box-shadow: 0 0 30px rgba(16, 21, 31, .08);
}

.navbar {
  position: sticky; top: 0; z-index: 100;
  height: 48px;
  display: flex; align-items: center;
  padding: 0 8px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.navbar .back {
  width: 36px; height: 36px; line-height: 34px; text-align: center;
  font-size: 24px; color: var(--text); cursor: pointer; user-select: none;
  border-radius: 50%;
}
.navbar .back:active { background: #f2f3f5; }
.navbar .title { flex: 1; text-align: center; font-size: 16px; font-weight: 600; margin-right: 36px; letter-spacing: .2px; }
.navbar.plain { background: transparent; border: 0; backdrop-filter: none; }

.page { padding: 12px; padding-bottom: 80px; }
.page.no-pad { padding: 0 0 80px; }

.card {
  display: block;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 15px;
  margin-bottom: 12px;
}
.card.tight { padding: 12px 14px; }
.row { display: flex; align-items: center; }
.row.between { justify-content: space-between; }
.row.center { justify-content: center; }
.grow { flex: 1; min-width: 0; }
.muted { color: var(--muted); }
.dim { color: var(--text-2); }
.small { font-size: 12px; }
.b { font-weight: 600; }
.nowrap { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; }
.mb8 { margin-bottom: 8px; } .mb12 { margin-bottom: 12px; }
.tc { text-align: center; } .tr { text-align: right; }
.hr { height: 1px; background: var(--line); margin: 12px 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.grid4 a { display: block; padding: 4px 0; border-radius: 8px; }
.grid4 a:active { background: #f6f7f9; }

.btn {
  display: block; width: 100%;
  height: 46px; line-height: 46px;
  border: 0; border-radius: 23px;
  background: linear-gradient(135deg, #e8432f, #c62318);
  color: #fff; font-size: 15px; font-weight: 500;
  text-align: center; cursor: pointer;
  box-shadow: 0 6px 16px rgba(217, 44, 32, .24);
  transition: transform .12s, box-shadow .12s;
}
.btn:active { transform: translateY(1px); box-shadow: 0 2px 8px rgba(217, 44, 32, .2); }
.btn.ghost { background: #fff; color: var(--text); border: 1px solid var(--line); box-shadow: none; font-weight: 400; }
.btn.ghost:active { background: #f6f7f9; }
.btn.gold { background: linear-gradient(135deg, #f2ab2a, #d98100); box-shadow: 0 6px 16px rgba(217, 129, 0, .24); }
.btn.sm { height: 34px; line-height: 34px; font-size: 13px; border-radius: 17px; width: auto; padding: 0 17px; }
.btn.xs { height: 30px; line-height: 30px; font-size: 12.5px; border-radius: 15px; width: auto; padding: 0 14px; box-shadow: none; }
.btn[disabled] { opacity: .5; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; }
.field label svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 2px; }
.field input, .field textarea, .field select {
  width: 100%; height: 46px;
  border: 1px solid var(--line); border-radius: 11px;
  background: #fff; padding: 0 13px; font-size: 14px; color: var(--text);
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: 88px; padding: 11px 13px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(217, 44, 32, .09); }
.inline-field { display: flex; gap: 8px; }
.inline-field input { flex: 1; min-width: 0; }
.code-btn {
  width: 112px; height: 46px; flex: none; border: 1px solid var(--primary); color: var(--primary);
  background: #fff; border-radius: 11px; font-size: 13px; cursor: pointer;
}
.code-btn[disabled] { opacity: .5; color: var(--muted); border-color: var(--line); }

/* 登录 / 注册 */
.auth-head { padding: 34px 6px 26px; }
.auth-head .t1 { font-size: 25px; font-weight: 700; letter-spacing: .4px; }
.auth-head .t2 { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.6; }
.auth-foot { display: flex; justify-content: space-between; margin-top: 18px; font-size: 13px; color: var(--text-2); }
.auth-foot a { color: var(--primary); }
.agree-row { display: flex; align-items: flex-start; gap: 7px; font-size: 12.5px; color: var(--text-2); line-height: 1.6; margin-top: 14px; }
.agree-row input { width: 16px; height: 16px; margin: 2px 0 0; flex: none; }
.agree-row a { color: var(--primary); }

.list-item {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 15px; background: #fff;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.list-item:last-child { border-bottom: 0; }
.list-item:active { background: #f8f9fb; }
.list-item .arrow { color: #c6cad0; font-size: 17px; line-height: 1; }
.list-group { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 12px; }
.list-icon {
  width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.list-icon svg { width: 19px; height: 19px; }

/* 图标底色 */
.t-brand { background: var(--primary-soft); color: var(--primary); }
.t-blue { background: #eef4fe; color: #1d6ff2; }
.t-green { background: #ecf9f2; color: var(--success); }
.t-gold { background: var(--gold-soft); color: var(--gold); }
.t-gray { background: #f2f4f7; color: #5a6675; }

/* 快捷入口宫格 */
.qgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.qgrid a { display: flex; flex-direction: column; align-items: center; padding: 8px 0; border-radius: 10px; }
.qgrid a:active { background: #f6f7f9; }
.qic { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.qic svg { width: 20px; height: 20px; }
.qgrid .ql { font-size: 11.5px; color: var(--text-2); }
.qic + .ql, .qic + .mt8 { margin-top: 6px; }

.avatar {
  width: 48px; height: 48px; border-radius: 24px; flex: none;
  background: linear-gradient(140deg, #e8432f, #b8231a);
  color: #fff; font-size: 19px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(198, 35, 24, .22);
  object-fit: cover; overflow: hidden;
}
img.avatar { background: #f2f3f5; box-shadow: none; }
.thumb {
  width: 64px; height: 64px; border-radius: 10px; flex: none;
  background: #f2f3f5; object-fit: cover; display: block;
}
.ph-thumb { display: flex; align-items: center; justify-content: center; color: #c6cad0; }
.ph-thumb svg { width: 26px; height: 26px; }

.pay-row { display: flex; gap: 10px; margin-top: 9px; font-size: 12.5px; color: var(--text-2); }
.pay-row span { flex: none; width: 46px; color: var(--muted); }
.pay-row b { font-weight: 600; color: var(--text); word-break: break-all; }
.pay-qr { margin-top: 14px; }
.pay-qr img { width: 148px; height: 148px; border-radius: 10px; background: #f2f3f5; object-fit: contain; display: block; margin-bottom: 7px; }

.tabs { display: flex; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 48px; z-index: 90; }
.tab { flex: 1; text-align: center; padding: 12px 0; font-size: 14px; color: var(--text-2); position: relative; cursor: pointer; }
.tab.active { color: var(--primary); font-weight: 600; }
.tab.active::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0;
  width: 26px; height: 3px; background: var(--primary); border-radius: 2px;
}
.sub-tabs {
  display: flex; background: #fff; padding: 9px 12px; gap: 8px; overflow-x: auto;
  border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 12px;
}
.sub-tab {
  flex: none; padding: 6px 15px; border-radius: 17px; background: #f2f3f5;
  font-size: 13px; color: var(--text-2); cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s;
}
.sub-tab.active { background: var(--primary-soft); color: var(--primary); font-weight: 600; }

/* 完善资料页 */
.cp-hero {
  position: relative; overflow: hidden; border-radius: 14px; color: #fff;
  padding: 22px 18px; margin-bottom: 14px;
  background: linear-gradient(135deg, #e8432f, #c62318 68%, #a81c14);
  box-shadow: 0 10px 24px rgba(198, 35, 24, .22);
}
.cp-hero::after {
  content: ''; position: absolute; right: -34px; top: -34px; width: 130px; height: 130px;
  border-radius: 50%; background: rgba(255, 255, 255, .1);
}
.cp-t1 { font-size: 20px; font-weight: 700; }
.cp-t2 { font-size: 12.5px; opacity: .88; margin-top: 6px; }
.cp-item {
  display: flex; align-items: center; gap: 12px; background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 14px; margin-bottom: 12px;
}
.cp-item .ci-ic {
  flex: none; width: 40px; height: 40px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-soft); color: var(--primary);
}
.cp-item .ci-ic svg { width: 21px; height: 21px; }
.cp-item .ci-t { display: block; font-size: 14.5px; font-weight: 600; }
.cp-item .ci-s { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.cp-item .ci-st { flex: none; font-size: 12.5px; color: var(--primary); font-weight: 600; }
.cp-item.ok .ci-st { color: var(--success); }

.wallet {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #e8432f, #c62318 62%, #a81c14);
  border-radius: 14px; color: #fff; padding: 18px; margin-bottom: 12px;
  box-shadow: 0 10px 24px rgba(198, 35, 24, .26);
}
.wallet::after {
  content: ''; position: absolute; right: -34px; top: -46px;
  width: 132px; height: 132px; border-radius: 50%; background: rgba(255, 255, 255, .1);
}
.wallet::before {
  content: ''; position: absolute; right: 16px; bottom: -54px;
  width: 98px; height: 98px; border-radius: 50%; background: rgba(255, 255, 255, .07);
}
.wallet .lbl { font-size: 12px; opacity: .86; position: relative; }
.wallet .num { font-size: 29px; font-weight: 700; margin-top: 4px; letter-spacing: -.4px; position: relative; }
.wallet .wallet-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 15px;
  padding-top: 13px; border-top: 1px solid rgba(255, 255, 255, .2); position: relative;
}
.wallet .wallet-grid div { text-align: center; }
.wallet .wallet-grid .v { font-size: 15px; font-weight: 600; }
.wallet .btn.ghost { background: rgba(255, 255, 255, .18); color: #fff; border: 0; }

.buy-hero {
  background: linear-gradient(150deg, #e8432f, #b8231a 70%);
  color: #fff; padding: 20px 17px; border-radius: 14px; margin-bottom: 12px;
  box-shadow: 0 10px 24px rgba(184, 35, 26, .24);
}
.buy-hero .status { font-size: 21px; font-weight: 700; letter-spacing: .3px; }
.buy-hero .cd { font-size: 13px; opacity: .92; margin-top: 5px; }
.cd-num { font-weight: 600; font-variant-numeric: tabular-nums; }

/* 采购页在售商品：一行两列 */
.pcard2 {
  display: flex; flex-direction: column; background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.pcard2:active { transform: scale(.995); }
.pcard2 .pimg { width: 100%; height: 140px; object-fit: cover; display: block; background: #f2f3f5; }
.pcard2 .pph { width: 100%; height: 140px; display: flex; align-items: center; justify-content: center; color: #c6cad0; background: #f2f3f5; }
.pcard2 .pph svg { width: 32px; height: 32px; }
.pcard2 .pbody { padding: 9px 10px 11px; display: flex; flex-direction: column; flex: 1; }
.pcard2 .pname { font-size: 13px; font-weight: 600; line-height: 1.4; height: 36px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pcard2 .pfoot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 8px; }
.pcard2 .pprice { color: var(--primary); font-size: 16px; font-weight: 700; }
.pcard2 .ptag { display: inline-block; font-size: 11px; padding: 1px 7px; border-radius: 5px; background: var(--primary-soft); color: var(--primary); margin-right: 4px; }

.order { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 10px; overflow: hidden; }
.order .hd { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 13px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--text-2); }
.order .hd .mono { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order .bd { display: flex; gap: 11px; padding: 13px; }
.order .ft { display: flex; justify-content: flex-end; gap: 8px; padding: 11px 13px; border-top: 1px solid var(--line); background: #fcfcfd; }
.ostatus { color: var(--primary); font-weight: 600; }
.ostatus.s-cancel { color: #9aa2b1; }
.ostatus.s-wait { color: #e8751a; }
.ostatus.s-pay { color: #1d6ff2; }
.ostatus.s-done { color: #12a150; }
.ostatus.s-pick { color: #0d9488; }
.ostatus.s-consign { color: #b8860b; }
/* 交易管理里的状态角标：贴右上角，白底描边，按状态换色 */
.tcard .ostatus {
  position: absolute; top: 0; right: 0;
  padding: 6px 12px 7px;
  font-size: 12px; line-height: 1; font-weight: 600;
  background: #fff;
  border: 1px solid currentColor;
  border-top: 0; border-right: 0;
  border-radius: 0 0 0 12px;
  opacity: .98;
}
.pill { display: inline-block; padding: 2px 9px; border-radius: 10px; font-size: 11px; line-height: 17px; }
.pill.red { background: var(--primary-soft); color: var(--primary); }
.pill.green { background: #ecf9f2; color: var(--success); }
.pill.gray { background: #f2f3f5; color: var(--muted); }

.tabbar {
  position: fixed; bottom: 0; z-index: 500;
  width: 480px; max-width: 100%;
  left: 50%; transform: translateX(-50%);
  display: none; background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -3px 16px rgba(16, 21, 31, .06);
  padding: 5px 0 calc(5px + env(safe-area-inset-bottom));
}
.tabbar.on { display: flex; }
.tabbar .tb {
  flex: 1; text-align: center; font-size: 11px; color: #8c96a5;
  cursor: pointer; padding: 2px 0 3px; position: relative;
  user-select: none; touch-action: manipulation;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  transition: color .15s;
}
.tabbar .tb .ic {
  width: 23px; height: 23px; display: block;
  transition: transform .15s;
}
.tabbar .tb .ic svg { width: 100%; height: 100%; display: block; }
.tabbar .tb:active .ic { transform: scale(.88); }
.tabbar .tb.active { color: var(--primary); font-weight: 600; }
.tabbar .tb.active .ic svg { stroke-width: 2.1; }

.mask {
  position: fixed; inset: 0; background: rgba(16, 21, 31, .48); z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  animation: fade .16s ease;
}
.modal { width: 100%; max-width: 320px; background: #fff; border-radius: 14px; overflow: hidden; animation: pop .18s cubic-bezier(.24, 1.1, .4, 1); }
.modal .m-title { padding: 18px 16px 14px; text-align: center; font-size: 15.5px; font-weight: 600; }
.modal .m-body { padding: 0 18px 10px; font-size: 13px; color: var(--text-2); text-align: center; }
.modal .m-info { padding: 0 17px 12px; font-size: 13px; }
.modal .m-info .it { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.m-split { margin: 0 16px 14px; border: 1px dashed #f0b6b1; border-radius: 11px; padding: 11px 13px; background: #fff8f7; }
.m-split .ms-t { font-size: 13px; font-weight: 600; color: #b8231a; margin-bottom: 7px; }
.m-split .ms-r { display: flex; justify-content: space-between; font-size: 12.5px; color: #6b7280; padding: 3px 0; }
.m-split .ms-r span:last-child { color: #1f2937; font-weight: 500; }
.modal .m-ft { display: flex; border-top: 1px solid var(--line); }
.modal .m-ft div { flex: 1; text-align: center; padding: 14px 0; cursor: pointer; font-size: 15px; }
.modal .m-ft div:active { background: #f6f7f9; }
.modal .m-ft div:last-child { background: var(--primary); color: #fff; font-weight: 500; }
.modal .m-ft div:first-child:last-child { background: var(--primary); color: #fff; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.97); } }

.toast {
  position: fixed; left: 50%; top: 44%; transform: translate(-50%, -50%);
  background: rgba(24, 30, 42, .88); color: #fff; padding: 11px 20px; border-radius: 22px;
  font-size: 14px; z-index: 2000; max-width: 78%; text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22); animation: fade .16s ease;
}

.empty { text-align: center; padding: 64px 20px; color: var(--muted); font-size: 13px; }
.empty svg { width: 40px; height: 40px; display: block; margin: 0 auto 12px; opacity: .38; }
.empty .ic { font-size: 42px; display: block; margin-bottom: 10px; opacity: .45; }
.loading { text-align: center; padding: 26px; color: var(--muted); font-size: 13px; }

.qr-box { width: 190px; height: 190px; margin: 12px auto; background: #fff; padding: 8px; border-radius: 11px; border: 1px solid var(--line); }
.code-pill {
  display: inline-block; padding: 7px 20px; background: var(--gold-soft); color: #8a5b00;
  border-radius: 19px; font-size: 19px; letter-spacing: 3px; font-weight: 700;
}

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.stat-grid .v { font-size: 19px; font-weight: 700; color: var(--primary); font-variant-numeric: tabular-nums; }
.stat-grid .k { font-size: 12px; color: var(--muted); }

.detail-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.detail-item:last-child { border-bottom: 0; }
.detail-item .v { text-align: right; word-break: break-all; }
.amount-in { color: var(--success); font-weight: 600; font-variant-numeric: tabular-nums; }
.amount-out { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }

.marquee {
  background: linear-gradient(90deg, #fff6e8, #fffdf7); color: #8a5b00;
  font-size: 12px; padding: 9px 13px; border-radius: 10px; margin-bottom: 12px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* 弹出选择器（地区 / 银行） */
.pick {
  display: flex; align-items: center;
  width: 100%; min-height: 46px;
  border: 1px solid var(--line); border-radius: 11px;
  background: #fff; padding: 0 13px; font-size: 14px; cursor: pointer;
}
.pick.ph { color: #b3bcc8; }
.pick .ar { margin-left: auto; color: #c6cad0; font-size: 17px; line-height: 1; }

.sheet-mask {
  position: fixed; inset: 0; background: rgba(16, 21, 31, .45); z-index: 1200;
  display: flex; align-items: flex-end; justify-content: center;
  animation: fade .16s ease;
}
.sheet {
  width: 100%; max-width: 480px; background: #fff;
  border-radius: 16px 16px 0 0; max-height: 76vh;
  display: flex; flex-direction: column;
  animation: sheet-up .22s cubic-bezier(.24, 1.05, .4, 1);
}
@keyframes sheet-up { from { transform: translateY(100%); } }
.sheet-hd {
  display: flex; align-items: center; padding: 14px 16px;
  border-bottom: 1px solid var(--line); flex: none;
}
.sheet-hd .st { font-size: 15px; font-weight: 600; }
.sheet-hd .sx { margin-left: auto; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.sheet-body { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.sheet-crumb { display: flex; gap: 14px; padding: 11px 16px 2px; flex: none; }
.sheet-crumb .cb { font-size: 13px; color: var(--text-2); cursor: pointer; max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet-crumb .cb.on { color: var(--primary); font-weight: 600; }
.sheet-list { overflow-y: auto; padding: 4px 0 14px; -webkit-overflow-scrolling: touch; }
.sheet-item { display: flex; align-items: center; padding: 13px 16px; font-size: 14px; cursor: pointer; }
.sheet-item:active { background: #f6f7f9; }
.sheet-item.on { color: var(--primary); font-weight: 600; }
.sheet-item .ck { margin-left: auto; color: var(--primary); font-size: 15px; }

.bank-wrap { position: relative; }
.bank-pop {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 40;
  margin-top: 5px; background: #fff; border: 1px solid var(--line);
  border-radius: 11px; box-shadow: 0 12px 28px rgba(16, 21, 31, .14);
  max-height: 212px; overflow-y: auto; display: none;
}
.bank-pop.on { display: block; }
.bank-pop .bi { padding: 11px 13px; font-size: 13.5px; cursor: pointer; border-bottom: 1px solid #f4f6f9; }
.bank-pop .bi:last-child { border-bottom: 0; }
.bank-pop .bi:active { background: var(--primary-soft); color: var(--primary); }
.bank-pop .be { padding: 16px; text-align: center; font-size: 12.5px; color: var(--muted); }

/* 图片字段 */
.imgf { display: flex; gap: 12px; align-items: flex-start; }
.imgf-box {
  width: 96px; height: 96px; flex: none; border-radius: 11px;
  border: 1px dashed #d5dae1; background: #fafbfc;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; color: var(--muted); font-size: 11.5px; overflow: hidden; cursor: pointer;
}
.imgf-box svg { width: 21px; height: 21px; }
.imgf-box.has { border-style: solid; border-color: var(--line); padding: 0; }
.imgf-box.has img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.imgf-box.round { border-radius: 50%; width: 84px; height: 84px; }
.imgf-side { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding-top: 3px; }
.imgf-tip { font-size: 11.5px; color: var(--muted); line-height: 1.6; }

/* —— 首页 —— */
.field .hm-search {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2397a1b0' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E") no-repeat 12px center / 18px 18px;
  border: 0; border-radius: 22px; height: 40px; box-shadow: var(--shadow);
}
.field .hm-search:focus { outline: none; border-color: transparent; box-shadow: 0 0 0 2px var(--primary-soft), var(--shadow); }
.hm-swiper { position: relative; margin: 0 12px 12px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hm-swiper .sw-track { display: flex; transition: transform .4s ease; }
.hm-swiper .sw-item { flex: none; width: 100%; }
.hm-swiper .sw-item img { width: 100%; height: 148px; object-fit: cover; display: block; }
.hm-swiper .sw-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 5px; }
.hm-swiper .sw-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .6); }
.hm-swiper .sw-dots i.on { background: #fff; width: 14px; border-radius: 3px; }
.promise { display: flex; justify-content: space-around; align-items: center; background: #fff; padding: 9px 4px; margin-bottom: 12px; }
.promise .pi { display: flex; align-items: center; gap: 4px; color: var(--primary); }
.promise .pi svg { width: 14px; height: 14px; }
.promise .pi span { font-size: 11.5px; color: var(--text-2); }
.sec-title { text-align: center; font-size: 15px; font-weight: 700; position: relative; padding: 6px 0 16px; }
.sec-title::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: 8px; width: 26px; height: 3px; background: var(--primary); border-radius: 2px; }
.hcard { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; cursor: pointer; }
.hcard:active { transform: scale(.995); }
.hcard .himg { width: 100%; height: 140px; object-fit: cover; display: block; background: #f2f3f5; }
.hcard .hph { width: 100%; height: 140px; display: flex; align-items: center; justify-content: center; color: #c6cad0; background: #f2f3f5; }
.hcard .hph svg { width: 32px; height: 32px; }
.hcard .hname { font-size: 13px; color: var(--text); line-height: 1.4; padding: 9px 10px 0; height: 36px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hcard .hprice { color: var(--primary); font-size: 16px; font-weight: 700; }
.hcard .row.between { padding: 0 10px 11px; }

/* 商品详情 */
.pd-hero { position: relative; background: #fff; }
.pd-hero .pd-ph { width: 100%; height: 300px; display: flex; align-items: center; justify-content: center; color: #c6cad0; background: #f2f3f5; }
.pd-hero .pd-ph svg { width: 52px; height: 52px; }
.pd-hero .pd-ph img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pd-hero .pd-back { position: absolute; left: 12px; top: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(0, 0, 0, .34); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.pd-hero .pd-tdots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; }
.pd-hero .pd-tdots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(26, 33, 48, .22); }
.pd-hero .pd-tdots i.on { background: var(--primary); width: 14px; border-radius: 3px; }
.pd-body { background: #fff; padding: 14px 15px; margin-bottom: 10px; }
.pd-price { display: flex; align-items: baseline; gap: 9px; }
.pd-price .now { color: var(--primary); font-size: 25px; font-weight: 700; }
.pd-price .old { color: var(--muted); font-size: 13px; text-decoration: line-through; }
.pd-name { font-size: 16px; font-weight: 700; margin-top: 9px; line-height: 1.4; }
.pd-sub { font-size: 12.5px; color: var(--text-2); margin-top: 6px; }
.pd-tags { display: flex; gap: 8px; margin-top: 12px; }
.pd-tags span { font-size: 11.5px; padding: 3px 10px; border-radius: 5px; background: var(--primary-soft); color: var(--primary); }
.pd-tags span.gold { background: var(--gold-soft); color: var(--gold); }
.pd-tabs { margin-top: 10px; }
.pd-notice { background: #fff; padding: 14px 16px 90px; font-size: 13px; color: var(--text-2); line-height: 1.75; white-space: pre-wrap; }
.pd-askbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 480px; max-width: 100%; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); z-index: 60; }

/* 采购页 */
.bnr { position: relative; background: linear-gradient(120deg, #f7b733, #ef7d3b); border-radius: 14px; padding: 18px; color: #fff; margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow); }
.bnr .b1 { font-size: 21px; font-weight: 700; letter-spacing: .5px; }
.bnr .b2 { font-size: 13px; opacity: .95; margin-top: 6px; }
.bnr .bb { display: inline-block; margin-top: 14px; background: #fff; color: #e0621f; font-size: 12.5px; font-weight: 600; padding: 5px 14px; border-radius: 15px; }
.notice-bar { display: flex; align-items: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 11px 13px; margin-bottom: 12px; font-size: 12.5px; color: var(--text-2); overflow: hidden; }
.notice-bar b { color: var(--primary); margin-right: 8px; flex: none; }
.notice-bar .nb-view { flex: 1; min-width: 0; height: 18px; overflow: hidden; position: relative; }
.notice-bar .nb-run { position: absolute; left: 0; top: 1px; display: inline-flex; white-space: nowrap; }
.notice-bar .nb-run span { padding-right: 64px; }
.notice-bar .nb-run.rolling { animation: nbRoll 18s linear infinite; }
@keyframes nbRoll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.shop-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; margin-bottom: 12px; display: flex; gap: 12px; }
.shop-card .sc-l { flex: 1; min-width: 0; }
.shop-card .sc-nm { font-size: 15px; font-weight: 700; padding-left: 9px; border-left: 3px solid var(--primary); line-height: 1.1; }
.shop-card .sc-time { font-size: 12.5px; color: var(--text-2); margin-top: 10px; }
.shop-card .sc-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.shop-card .sc-st { font-size: 12.5px; padding: 4px 12px; border-radius: 6px; background: #f2f3f5; color: var(--text-2); }
.shop-card .sc-st.on { background: var(--primary); color: #fff; }
.shop-card .sc-cd { font-size: 14px; letter-spacing: 1px; font-weight: 600; font-variant-numeric: tabular-nums; }
.shop-card .sc-go { margin-top: 11px; font-size: 12.5px; color: var(--primary); }
.shop-card .sc-go i { font-style: normal; }
.pmore { padding: 14px 0 24px; text-align: center; font-size: 12.5px; color: var(--muted); }
.shop-card .sc-img { width: 78px; height: 78px; border-radius: 10px; background: #f2f3f5; object-fit: cover; flex: none; }
.shop-card .sc-ph { width: 78px; height: 78px; border-radius: 10px; background: #f2f3f5; display: flex; align-items: center; justify-content: center; color: #c6cad0; flex: none; }
.shop-card .sc-ph svg { width: 26px; height: 26px; }

/* 个人中心 */
.pf-hero { position: relative; overflow: hidden; padding: 18px 16px 34px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 172 134' fill='none' stroke='%23ffffff' stroke-opacity='0.17' stroke-width='3' stroke-linejoin='round'%3E%3Crect x='96' y='58' width='58' height='48' rx='6'/%3E%3Cpath d='M96 76h58M125 58v48'/%3E%3Crect x='64' y='30' width='44' height='38' rx='6'/%3E%3Cpath d='M64 44h44M86 30v38'/%3E%3Ccircle cx='30' cy='98' r='19'/%3E%3Cpath d='M30 84v14l11 7'/%3E%3C/svg%3E") no-repeat right 4px top 2px / 172px 134px, linear-gradient(150deg, #e8432f, #b8231a 70%); }
.pf-hero .nm { position: relative; z-index: 1; font-size: 20px; font-weight: 700; color: #fff; }
.pf-hero .inv { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: rgba(255, 255, 255, .92); font-size: 13px; }
.pf-hero .inv svg { width: 15px; height: 15px; }
.pf-body { position: relative; z-index: 1; margin-top: -22px; padding: 0 12px 80px; }
.pf-sec { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 11px 10px 4px; margin-bottom: 9px; }
.pf-sec .pt { display: flex; align-items: baseline; gap: 5px; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; padding-left: 2px; }
.pf-sec .pt i { font-style: normal; font-size: 12px; font-weight: 400; color: var(--muted); }
.pf-sec.buy .pt { color: #1d6ff2; }
.pf-sec.sell .pt { color: #ef7d3b; }
/* 买方 4 项、卖方 3 项，列数跟着条目数走，别写死 */
.pf-g3 { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.pf-g3 a { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 2px 0 8px; border-radius: 8px; }
.pf-g3 a:active { background: #f6f7f9; }
.pf-g3 .gi { position: relative; width: 38px; height: 38px; border-radius: 11px; background: var(--gold-soft); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.pf-sec.buy .pf-g3 .gi { background: #e9f1ff; color: #1d6ff2; }
.pf-sec.sell .pf-g3 .gi { background: #fff0e3; color: #ef7d3b; }
.pf-g3 .gi svg { width: 20px; height: 20px; }
.pf-g3 .gl { font-size: 12px; color: var(--text-2); }
.pf-g3 .oe-badge { position: absolute; top: -5px; right: -7px; min-width: 16px; height: 16px; padding: 0 4px; box-sizing: border-box; border-radius: 8px; background: #e8432f; color: #fff; font-size: 10px; font-style: normal; font-weight: 600; line-height: 16px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.pf-sec.amt-sec { padding: 10px; }
.pf-amt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pf-amt .amt-cell { display: flex; align-items: center; gap: 9px; padding: 10px 11px; border-radius: 11px; background: #f7f8fa; }
.pf-amt .ai { width: 32px; height: 32px; border-radius: 9px; background: rgba(255, 255, 255, .72); display: flex; align-items: center; justify-content: center; flex: none; }
.pf-amt .ai svg { width: 17px; height: 17px; }
.pf-amt .at { display: flex; flex-direction: column; min-width: 0; }
.pf-amt .ak { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.pf-amt .av { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.35; }
.pf-amt .t-bal { background: #fdeceb; }
.pf-amt .t-cp { background: #fdf3e0; }
.pf-amt .t-bn { background: #eaf2ff; }
.pf-amt .t-pm { background: #f2edff; }
.pf-amt .t-bal .ai, .pf-amt .t-bal .av { color: #e8432f; }
.pf-amt .t-cp .ai, .pf-amt .t-cp .av { color: #d9902a; }
.pf-amt .t-bn .ai, .pf-amt .t-bn .av { color: #1d6ff2; }
.pf-amt .t-pm .ai, .pf-amt .t-pm .av { color: #7c66e8; }

/* 交易卡 */
.tcard { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 10px; overflow: hidden; }
.tcard .thd { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; padding-right: 108px; font-size: 12.5px; color: var(--text-2); }
.tcard .tbody { display: flex; gap: 11px; padding: 0 14px 12px; }
.tcard .tbody .thumb { width: 84px; height: 84px; }
.tcard .tname { font-size: 14px; font-weight: 600; line-height: 1.4; }
.tcard .tline { display: flex; align-items: center; gap: 6px; margin-top: 7px; font-size: 12.5px; color: var(--text-2); }
.tcard .tline .tag { font-size: 11px; padding: 1px 7px; border-radius: 4px; color: #fff; }
.tcard .tline .tag.sell { background: #ef7d3b; }
.tcard .tline .tag.buy { background: #1d6ff2; }
.tcard .tl2 { padding: 0 14px; font-size: 12.5px; color: var(--text-2); line-height: 1.9; }
.tcard .tprice { color: var(--primary); font-weight: 700; }
.tcard .tft { display: flex; justify-content: flex-end; gap: 8px; padding: 11px 14px; border-top: 1px solid var(--line); background: #fcfcfd; }

/* 资金页 */
.mtop { background: #fff; padding: 16px 16px 4px; }
.mtop .k1 { font-size: 12.5px; color: var(--text-2); }
.mtop .k2 { font-size: 26px; font-weight: 700; margin-top: 6px; font-variant-numeric: tabular-nums; }
.mrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.mrow .mk { font-size: 14px; }
.mrow .mk small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 4px; }
.mrow .mv { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mrow .mv.in { color: var(--primary); }

/* 邀请函 */
.invite-wrap {
  position: relative; overflow: hidden; text-align: center; min-height: calc(100vh - 48px); padding: 22px 16px 56px;
  background:
    radial-gradient(circle at 14% 6%, rgba(255, 255, 255, .85), transparent 40%),
    radial-gradient(circle at 86% 12%, rgba(255, 206, 120, .8), transparent 42%),
    radial-gradient(circle at 52% 104%, rgba(255, 170, 90, .65), transparent 54%),
    linear-gradient(168deg, #fff4dc 0%, #ffe3bb 48%, #ffd39c 100%);
}
.invite-wrap::before, .invite-wrap::after { content: ''; position: absolute; pointer-events: none; background-repeat: no-repeat; background-size: contain; }
.invite-wrap::before {
  right: -18px; top: 4px; width: 170px; height: 152px; opacity: .6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 168 150' fill='none'%3E%3Crect x='52' y='62' width='102' height='78' rx='10' fill='%23ffffff' fill-opacity='0.6'/%3E%3Crect x='44' y='44' width='118' height='26' rx='9' fill='%23ffffff' fill-opacity='0.8'/%3E%3Crect x='94' y='44' width='18' height='96' fill='%23ef5a45' fill-opacity='0.5'/%3E%3Crect x='44' y='52' width='118' height='11' fill='%23ef5a45' fill-opacity='0.5'/%3E%3Cpath d='M103 44c-16-30-40-24-40-10 0 10 22 10 40 10z' fill='%23ef5a45' fill-opacity='0.55'/%3E%3Cpath d='M103 44c16-30 40-24 40-10 0 10-22 10-40 10z' fill='%23ef5a45' fill-opacity='0.55'/%3E%3Cpath d='M22 26l4 10 10 4-10 4-4 10-4-10-10-4 10-4z' fill='%23ffffff' fill-opacity='0.9'/%3E%3C/svg%3E");
}
.invite-wrap::after {
  left: -16px; bottom: 42px; width: 158px; height: 152px; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 156 150' fill='none'%3E%3Cpath d='M30 62h96l12 76H18z' fill='%23ffffff' fill-opacity='0.65'/%3E%3Cpath d='M54 62V46c0-14 12-24 24-24s24 10 24 24v16' stroke='%23ffffff' stroke-opacity='0.9' stroke-width='10' fill='none'/%3E%3Crect x='52' y='86' width='52' height='30' rx='7' fill='%23ef5a45' fill-opacity='0.3'/%3E%3Ccircle cx='132' cy='34' r='8' fill='%23ffffff' fill-opacity='0.85'/%3E%3Ccircle cx='24' cy='28' r='5' fill='%23ffffff' fill-opacity='0.75'/%3E%3C/svg%3E");
}
.iv-head, .invite-card, .invite-foot { position: relative; z-index: 1; }
.iv-head { padding-top: 6px; }
.invite-wrap .iv-title { font-size: 38px; font-weight: 800; color: #fff; letter-spacing: 8px; padding-left: 8px; text-shadow: 0 4px 14px rgba(214, 110, 10, .42); }
.iv-sub { margin-top: 8px; font-size: 13px; color: #b3712a; letter-spacing: 1px; }
.invite-card { width: 260px; margin: 22px auto 0; background: linear-gradient(160deg, #ef5a45, #cf2a20); border-radius: 16px; padding: 26px 20px 30px; box-shadow: 0 14px 34px rgba(198, 35, 24, .3); }
.invite-card .qr-box { background: #fff; width: 170px; height: 170px; margin: 0 auto; border: 0; overflow: hidden; }
.invite-card .qr-box img, .invite-card .qr-box canvas { max-width: 100%; height: auto; }
.invite-card .iv-code { color: #fff; font-size: 15px; margin-top: 18px; letter-spacing: .5px; }
.invite-card .iv-tip { color: rgba(255, 255, 255, .9); font-size: 12.5px; margin-top: 10px; }
.invite-foot { margin-top: 28px; }

/* 粉丝 */
.fans-stat { display: grid; grid-template-columns: 1fr 1fr; text-align: center; padding: 20px 0 16px; background: #fff; }
.fans-stat .v { font-size: 25px; font-weight: 700; font-variant-numeric: tabular-nums; }
.fans-stat .k { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.fans-group { background: #fdeaee; color: #d9485f; font-size: 13px; padding: 10px 14px; border-radius: 8px; margin: 12px 0; display: flex; align-items: center; gap: 6px; }
.fans-group svg { width: 16px; height: 16px; flex: none; }
.fans-row { display: flex; gap: 11px; padding: 13px 14px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); margin-bottom: 10px; }
.fans-row .avatar { width: 44px; height: 44px; border-radius: 22px; font-size: 17px; box-shadow: none; }
.fans-row .fn { font-size: 14px; font-weight: 600; }
.fans-row .fn small { font-weight: 400; color: var(--text-2); font-size: 12.5px; margin-left: 6px; }
.fans-row .fl { font-size: 12.5px; color: var(--text-2); margin-top: 6px; }

/* 收款方式 */
.pay-card { position: relative; overflow: hidden; border-radius: 15px; padding: 17px 18px 16px; color: #fff; margin-bottom: 14px; box-shadow: 0 10px 22px rgba(20, 32, 74, .16); }
.pay-card::before { content: ''; position: absolute; right: -46px; top: -58px; width: 168px; height: 168px; border-radius: 50%; background: rgba(255, 255, 255, .11); }
.pay-card::after { content: ''; position: absolute; right: 26px; bottom: -62px; width: 122px; height: 122px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.pay-card.bank { background: linear-gradient(135deg, #4d6bf5, #2a3ba8 92%); }
.pay-card.zfb { background: linear-gradient(135deg, #3aa7ff, #1272f0 92%); }
.pay-card .pc-hd { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pay-card .pc-l { font-size: 12.5px; color: rgba(255, 255, 255, .88); letter-spacing: .3px; }
.pay-card .pc-logo { width: 40px; height: 27px; flex: none; border-radius: 6px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 7px rgba(9, 20, 60, .2); }
.pay-card .pc-logo svg { width: 26px; height: 19px; display: block; }
.pay-card .pc-v { position: relative; z-index: 1; font-size: 21px; font-weight: 700; letter-spacing: .4px; margin-top: 14px; font-variant-numeric: tabular-nums; }
.pay-card .pc-n { position: relative; z-index: 1; font-size: 12.5px; color: rgba(255, 255, 255, .88); margin-top: 8px; }
.pay-card .pc-set { position: relative; z-index: 1; display: inline-block; margin-top: 17px; padding: 6px 19px; border-radius: 17px; border: 1px solid rgba(255, 255, 255, .58); background: rgba(255, 255, 255, .16); color: #fff; font-size: 12.5px; cursor: pointer; }
.pay-card .pc-set:active { background: rgba(255, 255, 255, .3); }

/* 设置行式表单 */
.set-list { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 16px; }
.set-row { display: flex; align-items: center; gap: 12px; padding: 15px; border-bottom: 1px solid var(--line); font-size: 14px; cursor: pointer; }
.set-row:last-child { border-bottom: 0; }
.set-row .sr-k { flex: none; width: 76px; color: var(--text); }
.set-row .sr-v { flex: 1; min-width: 0; text-align: right; color: var(--text-2); }
.set-row .sr-v input { width: 100%; border: 0; text-align: right; background: transparent; color: var(--text); outline: none; font-size: 14px; }
.set-row .sr-ar { color: #c6cad0; font-size: 16px; margin-left: auto; }
.set-row .sr-av { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none; }
.set-row .sr-av img, .set-row .sr-av .avatar { width: 40px; height: 40px; }
.set-row .sr-v.av-wrap { display: flex; justify-content: flex-end; }

/* 合同凭证整图 */
.ct-img { width: 100%; display: block; background: #fff; }
.btn.orange { background: linear-gradient(135deg, #f2ab2a, #e08600); box-shadow: 0 6px 16px rgba(217, 129, 0, .24); }

/* 地址 */
.addr-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 15px; margin-bottom: 10px; }
.addr-card .ac-hd { display: flex; align-items: center; gap: 9px; }
.addr-card .ac-nm { font-size: 15px; font-weight: 700; }
.addr-card .ac-ph { font-size: 13px; color: var(--text-2); }
.addr-card .ac-def { margin-left: auto; background: var(--gold-soft); color: var(--gold); font-size: 11.5px; padding: 3px 10px; border-radius: 5px; cursor: pointer; }
.addr-card .ac-def.on { background: var(--gold); color: #fff; }
.addr-card .ac-ed { width: 21px; height: 21px; flex: none; color: var(--text-2); cursor: pointer; }
.addr-card .ac-ed svg { width: 100%; height: 100%; }
.addr-card .ac-txt { font-size: 13px; color: var(--text-2); margin-top: 8px; line-height: 1.6; }
.addr-fixed { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 480px; max-width: 100%; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); z-index: 60; }

/* 签名 */
.sign-wrap { background: #fff; margin-top: 10px; }
.sign-hd { text-align: center; padding: 16px 12px 8px; }
.sign-hd .st1 { font-size: 16px; font-weight: 700; }
.sign-hd .st2 { font-size: 12px; color: var(--muted); margin-top: 7px; }
.sign-btns { display: flex; gap: 10px; padding: 12px; }
.sign-btns .sb { flex: 1; height: 44px; line-height: 44px; text-align: center; border-radius: 10px; font-size: 14.5px; cursor: pointer; border: 0; }
.sign-btns .sb.clear { background: #f2f3f5; color: var(--text); }
.sign-btns .sb.ok { background: linear-gradient(135deg, #e8432f, #c62318); color: #fff; font-weight: 500; }
.sign-btns .sb.ok:disabled { opacity: .5; }
.sign-pad { margin: 0 12px 12px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.sign-pad canvas { display: block; width: 100%; height: 190px; touch-action: none; }
.sign-tip { padding: 0 12px 14px; font-size: 12px; color: var(--muted); }
.contract-body { background: #fff; padding: 16px; font-size: 13px; color: var(--text-2); line-height: 1.8; white-space: pre-wrap; }

/* 寄卖弹窗补充 & 提货地址选择 */
.ms-big { font-size: 22px; font-weight: 700; color: #b8231a; }
.m-note { padding: 0 17px 14px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.addr-pick { padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.addr-pick:last-of-type { border-bottom: 0; }
.addr-pick:active { opacity: .7; }
.pay-row .cp { margin-left: auto; color: var(--primary); font-size: 12.5px; cursor: pointer; font-style: normal; flex: none; }
.cp-ic { width: 15px; height: 15px; display: inline-flex; vertical-align: -2px; }
.cp-ic svg, .cp-ic > svg { width: 15px; height: 15px; }

/* 签署协议：整屏一页，协议正滚动、签名区固定，右侧不出滚动条 */
.cs-fix { position: fixed; inset: 0; display: flex; flex-direction: column; background: var(--bg); overflow: hidden; }
.cs-fix .navbar { position: relative; top: auto; flex: none; }
.cs-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 12px; }
.cs-body .card { margin-bottom: 0; }
.cs-foot { flex: none; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(16, 21, 31, .07); }
.cs-foot .sign-hd { padding: 10px 12px 0; }
.cs-foot .sign-hd .st1 { font-size: 14.5px; }
.cs-foot .sign-hd .st2 { font-size: 11.5px; margin-top: 4px; }
.cs-foot .sign-btns { padding: 8px 12px; }
.cs-foot .sign-btns .sb { height: 38px; line-height: 38px; font-size: 14px; }
.cs-foot .sign-pad { margin: 0 12px 6px; }
.cs-foot .sign-pad canvas { height: 116px; }
.cs-foot .sign-tip { padding: 0 12px 10px; font-size: 11.5px; }
