/* ============ 客户端 H5（首页/订单/我的）专属样式 ============ */
:root {
  --c-primary: #4f46e5;
  --c-primary-d: #4338ca;
  --c-bg: #f4f5f7;
  --c-card: #ffffff;
  --c-text: #1f2330;
  --c-sub: #8a90a2;
  --c-line: #ececf1;
  --c-good: #16a34a;
  --c-warn: #f59e0b;
  --c-bad: #ef4444;
}
* { box-sizing: border-box; }
body.client {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 64px; /* 底部导航占位 */
}
.client .top {
  position: sticky; top: 0; z-index: 30;
  background: linear-gradient(135deg, var(--c-primary), #7c6cf0);
  color: #fff; padding: 16px 18px;
}
.client .top h1 { font-size: 19px; margin: 0; font-weight: 700; }
.client .top .sub { font-size: 12px; opacity: .85; margin-top: 2px; }
.client .wrap { padding: 14px; max-width: 720px; margin: 0 auto; }

/* 通用卡片 */
.c-card {
  background: var(--c-card); border-radius: 14px; padding: 16px;
  margin-bottom: 12px; box-shadow: 0 1px 3px rgba(20,22,40,.04);
}
.c-card h2 { font-size: 15px; margin: 0 0 12px; font-weight: 700; }
.c-card h3 { font-size: 13px; color: var(--c-sub); margin: 14px 0 6px; }

/* 按钮 */
.c-btn {
  display: block; width: 100%; border: none; border-radius: 12px;
  padding: 14px; font-size: 15px; font-weight: 600; color: #fff;
  background: var(--c-primary); cursor: pointer; text-align: center;
}
.c-btn:active { background: var(--c-primary-d); }
.c-btn.ghost { background: #eef0f6; color: var(--c-primary); }
.c-btn.danger { background: #fee2e2; color: var(--c-bad); }
.c-btn.warn { background: var(--c-warn); }
.c-btn[disabled] { opacity: .6; }
.c-link { color: var(--c-primary); font-size: 13px; text-decoration: none; }

/* 表单 */
.c-field { margin-bottom: 12px; }
.c-field label { display: block; font-size: 13px; color: var(--c-sub); margin-bottom: 6px; }
.c-field input, .c-field select, .c-field textarea {
  width: 100%; border: 1px solid var(--c-line); border-radius: 10px;
  padding: 12px; font-size: 15px; background: #fbfbfd; color: var(--c-text);
}
.c-field input:focus, .c-field select:focus, .c-field textarea:focus {
  outline: none; border-color: var(--c-primary); background: #fff;
}
.c-field .req { color: var(--c-bad); }
.c-hint { font-size: 11px; color: var(--c-sub); margin-top: 4px; }

/* 底部导航 */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  display: flex; background: #fff; border-top: 1px solid var(--c-line);
  max-width: 720px; margin: 0 auto;
}
.tabbar a {
  flex: 1; text-align: center; padding: 8px 0 6px; text-decoration: none;
  color: var(--c-sub); font-size: 11px;
}
.tabbar a .ic { font-size: 20px; display: block; line-height: 1; margin-bottom: 2px; }
.tabbar a.active { color: var(--c-primary); }
.tabbar a.active .ic { transform: translateY(-1px); }

/* 游戏网格 */
.game-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.game-card {
  background: var(--c-card); border-radius: 14px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(20,22,40,.05); text-decoration: none; color: inherit;
  display: block;
}
.game-cover {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block;
  background: linear-gradient(135deg, #6d5efc, #b06ef0);
}
.game-cover.fallback {
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px; font-weight: 800; text-align: center;
  background: linear-gradient(135deg, #5b54e0, #9d6cf0);
}
.game-meta { padding: 10px 12px; }
.game-meta .gn { font-size: 14px; font-weight: 700; }
.game-meta .gc { font-size: 11px; color: var(--c-sub); margin-top: 2px; }
.tier-badge {
  display: inline-block; font-size: 10px; padding: 1px 6px; border-radius: 6px;
  background: #eef0f6; color: var(--c-primary); margin-left: 6px; vertical-align: middle;
}

/* 评估结果：评分仪表 */
.score-wrap { display: flex; align-items: center; gap: 16px; }
.score-ring {
  width: 92px; height: 92px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  color: #fff; font-weight: 800;
}
.score-ring .sv { font-size: 30px; line-height: 1; }
.score-ring .sl { font-size: 11px; opacity: .9; margin-top: 2px; }
.score-info .lv { font-size: 17px; font-weight: 700; }
.score-info .ds { font-size: 12px; color: var(--c-sub); margin-top: 4px; }

/* 评估三数字 */
.assess-row { display: flex; gap: 10px; }
.assess-box {
  flex: 1; background: #f7f8fc; border-radius: 12px; padding: 12px; text-align: center;
}
.assess-box .av { font-size: 20px; font-weight: 800; color: var(--c-primary); }
.assess-box .al { font-size: 11px; color: var(--c-sub); margin-top: 4px; }

/* ===== 评估结果页 · 平台评估方案九宫格（交易金额 / 周期 / 回购金额） ===== */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  overflow: hidden;
}
.pg-cell {
  padding: 16px 4px;
  text-align: center;
  border-right: 1px solid var(--c-line);
}
.pg-cell:last-child { border-right: none; }
.pg-cell-b { background: #f7f8fc; }
.pg-k { font-size: 12px; color: var(--c-sub); }
.pg-v {
  font-size: 19px; font-weight: 800; color: var(--c-primary);
  margin-top: 6px; letter-spacing: .3px; word-break: break-all;
}
.pg-cell-b .pg-v { color: #059669; }

/* 决策条 */
.decision {
  border-radius: 12px; padding: 12px 14px; font-size: 13px; margin-bottom: 12px;
  display: flex; gap: 8px; align-items: flex-start;
}
.decision.continue { background: #dcfce7; color: #166534; }
.decision.review { background: #fef3c7; color: #92400e; }
.decision.stop { background: #fee2e2; color: #991b1b; }

/* 订单列表 */
.order-list { display: flex; flex-direction: column; gap: 10px; }
.order-row {
  background: #fff; border-radius: 12px; padding: 14px; color: inherit;
  box-shadow: 0 1px 3px rgba(20,22,40,.04);
}
.order-row .o-head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  text-decoration: none; color: inherit;
}
.order-row .ot { font-weight: 700; font-size: 14px; }
.order-row .os { font-size: 12px; color: var(--c-sub); margin-top: 3px; }
.c-badge { font-size: 11px; padding: 3px 9px; border-radius: 20px; font-weight: 600; white-space: nowrap; }
.c-badge.s0 { background: #e0e7ff; color: #3730a3; }
.c-badge.s1 { background: #fef3c7; color: #92400e; }
.c-badge.s2 { background: #fee2e2; color: #991b1b; }
.c-badge.s3 { background: #e0e7ff; color: #3730a3; }
.c-badge.s4 { background: #dbeafe; color: #1e40af; }
.c-badge.s5 { background: #dcfce7; color: #166534; }
.c-badge.s6 { background: #f1f1f4; color: #6b7280; }
.c-badge.s7 { background: #f3e8ff; color: #7e22ce; }
.c-badge.s-eval { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }

/* 订单列表：评估完成-等待确认 操作区 */
.eval-ready-box {
  margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--c-line);
}
.eval-ready-box .erb-tip { font-size: 12px; color: var(--c-sub); margin-bottom: 10px; }
.eval-ready-box .erb-link {
  display: inline-block; background: var(--c-primary); color: #fff;
  border-radius: 9px; padding: 9px 20px; font-size: 14px; font-weight: 600;
  text-decoration: none;
}
.eval-ready-box .erb-link:active { background: var(--c-primary-d); }
.btn-agree {
  border: none; border-radius: 9px; padding: 9px 18px; font-size: 14px; font-weight: 600;
  color: #fff; background: var(--c-primary); cursor: pointer;
}
.btn-agree:active { background: var(--c-primary-d); }
.btn-close {
  border: 1px solid var(--c-line); border-radius: 9px; padding: 9px 18px; font-size: 14px; font-weight: 600;
  color: var(--c-sub); background: #fff; cursor: pointer;
}
.btn-close:active { background: #f1f1f4; }

/* 我的 */
.mine-head { display: flex; align-items: center; gap: 12px; }
.mine-avatar {
  width: 52px; height: 52px; border-radius: 50%; background: var(--c-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700;
}
.mine-name { font-size: 17px; font-weight: 700; }
.mine-phone { font-size: 13px; color: var(--c-sub); margin-top: 2px; }
.menu-list { background: #fff; border-radius: 14px; overflow: hidden; }
.menu-item {
  display: flex; justify-content: space-between; align-items: center; padding: 15px 16px;
  text-decoration: none; color: var(--c-text); border-bottom: 1px solid var(--c-line); font-size: 14px;
}
.menu-item:last-child { border-bottom: none; }
.menu-item .mi { color: var(--c-sub); font-size: 13px; }

/* 协议勾选 */
.agree-box { font-size: 12px; color: var(--c-sub); margin: 6px 0 14px; line-height: 1.6; }
.agree-box a { color: var(--c-primary); }
.agree-box input { vertical-align: middle; margin-right: 4px; }

/* 上传预览 */
.up-pv { max-width: 100%; border-radius: 10px; margin-top: 8px; display: none; }
.upload-tip { font-size: 12px; color: var(--c-sub); margin-top: 4px; }

/* 空态 */
.empty { text-align: center; color: var(--c-sub); padding: 50px 18px; font-size: 14px; }

/* 联系我们（客户端 /c/contact） */
.ct-phone {
  font-size: 22px; font-weight: 700; color: var(--c-primary);
  letter-spacing: .5px; text-align: center; margin-top: 4px;
}
.ct-qr {
  background: #fff; border: 1px solid var(--c-line); border-radius: 12px;
  padding: 10px; margin: 4px 0 10px;
}
.ct-qr img { width: 62%; max-width: 240px; display: block; margin: 0 auto; border-radius: 8px; }

/* ===== 订单详情页 · 换绑号码（游戏信息下方独立区域） ===== */
.rb-card {
  border: 1px solid var(--c-primary);
  background: linear-gradient(180deg, #f7f9ff 0%, #fff 42%);
}
.rb-card h2 { color: var(--c-primary); }
.rb-phone {
  font-size: 24px; font-weight: 800; letter-spacing: 2px; color: var(--c-primary);
  margin: 4px 0 8px; word-break: break-all; line-height: 1.3;
}
.rb-foot {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--c-line);
}
.rb-time { font-size: 11px; color: var(--c-sub); }
/* .c-btn 默认 width:100%/display:block/padding:14px，这里必须还原成行内小按钮，
   否则在 .rb-foot 里会把「下发时间」挤出一行，看起来错位 */
.rb-copy,
.inline-copy {
  display: inline-block; width: auto; flex: 0 0 auto; margin: 0;
  padding: 7px 18px; font-size: 13px; border-radius: 20px; white-space: nowrap;
}
.rb-copy:active,
.inline-copy:active { background: var(--c-primary-d); color: #fff; }
.bi-cs-tip { margin-left: 4px; }
.cs-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cs-no { font-size: 18px; font-weight: 700; color: var(--c-primary); }

/* 弹层提示 */
.toast {
  position: fixed; left: 50%; top: 20%; transform: translateX(-50%);
  background: rgba(0,0,0,.82); color: #fff; padding: 12px 20px; border-radius: 10px;
  font-size: 13px; z-index: 99; max-width: 80%;
}

/* 步骤页：持久反馈横幅（不随 toast 自动消失，解决「保存后没任何提示」） */
.form-banner {
  margin: 0 0 12px; padding: 12px 14px; border-radius: 10px; font-size: 13.5px; line-height: 1.5;
  border: 1px solid transparent;
}
.form-banner.ok { background: #ecfdf5; color: #166534; border-color: #a7f3d0; }
.form-banner.warn { background: #fff7ed; color: #9a3412; border-color: #fed7aa; }

/* 材料区：选中文件名即时反馈 */
.mat-file-name { font-size: 12.5px; color: var(--c-primary); margin-top: 6px; word-break: break-all; }
.mat-done { font-size: 12.5px; color: #16a34a; margin-top: 6px; word-break: break-all; }
.mat-done a { color: #16a34a; }
.c-card.sub { margin-top: 12px; box-shadow: none; }
.c-card.sub h3 { font-size: 14px; }

/* 线上合同关闭：灰色禁用态 */
.card-locked {
  position: relative; background: #f4f5f8; border: 1px dashed #cbd2dc; border-radius: 10px;
  padding: 16px; color: var(--c-sub); text-align: center;
}
.card-locked-badge {
  display: inline-block; background: #e5e7eb; color: #6b7280; font-size: 11px;
  padding: 2px 10px; border-radius: 999px; margin-bottom: 8px;
}
.card-locked-t { font-size: 14px; font-weight: 600; color: #9aa3b2; margin-bottom: 6px; }
.card-locked .c-hint { color: var(--c-sub); }
.btn-disabled {
  display: inline-block; margin-top: 10px; padding: 11px 18px; border-radius: 10px;
  background: #e5e7eb; color: #9aa3b2; font-size: 14px; font-weight: 600; cursor: not-allowed;
}
.card-locked-contact { margin-top: 10px; font-size: 12.5px; color: #6b7280; }

/* 线下合同签署流程 */
.offline-steps { margin: 6px 0 4px; padding-left: 20px; }
.offline-steps li { font-size: 13px; line-height: 1.8; color: var(--c-text); }


/* ===== 二期：评估表单缩略图上传 ===== */
.ro { background: #f1f2f6 !important; color: var(--c-sub) !important; }
.id-grid { display: flex; gap: 10px; }
.id-box { flex: 1; position: relative; border: 1.5px dashed #c9cddd; border-radius: 12px;
  background: #fafbfe; padding: 8px; text-align: center; cursor: pointer; overflow: hidden; }
.id-box.has { border-style: solid; border-color: var(--c-primary); }
.id-box .id-pv { width: 100%; height: 96px; object-fit: cover; border-radius: 8px; display: block; }
.id-ph { height: 96px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 4px; color: var(--c-sub); font-size: 12px; }
.plus { font-size: 26px; color: #b6bccf; line-height: 1; }
.id-cap { font-size: 12px; color: var(--c-sub); margin-top: 6px; }
/* 评估页身份证照片压缩态 */
.id-grid.compact { gap: 8px; }
.id-grid.compact .id-box { border-radius: 10px; padding: 6px; }
.id-grid.compact .id-box .id-pv,
.id-grid.compact .id-box .id-ph { height: 70px; }
.id-grid.compact .id-ph .plus { font-size: 20px; }
.shot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.shot { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden;
  background: #f1f2f6; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot-add { display: flex; align-items: center; justify-content: center; cursor: pointer;
  border: 1.5px dashed #c9cddd; background: #fafbfe; }
.shot-del { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px;
  border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 13px;
  display: flex; align-items: center; justify-content: center; cursor: pointer; }
.assess-box .a-item { flex: 1; text-align: center; }
.assess-box .a-k { font-size: 11px; color: var(--c-sub); }
.assess-box .a-v { font-size: 18px; font-weight: 800; color: var(--c-primary); margin-top: 2px; }
.d-row { display: flex; justify-content: space-between; font-size: 13px;
  padding: 7px 0; border-bottom: 1px solid var(--c-line); }
.d-row:last-child { border-bottom: none; }
.d-row span { color: var(--c-sub); }
.ok-card { text-align: center; padding: 34px 16px; }
.ok-ic { font-size: 46px; }
.ok-t1 { font-size: 18px; font-weight: 700; margin-top: 8px; }
.ok-t2 { font-size: 13px; color: var(--c-sub); margin-top: 6px; }
.ok-t2 b { color: var(--c-text); }
.ok-t3 { font-size: 12px; color: var(--c-sub); margin-top: 10px; line-height: 1.7; }

/* ===== 填写详细资料：材料上传分区 ===== */
.mat-zone { border: 1px solid var(--c-line); border-radius: 12px; padding: 12px;
  margin-top: 12px; background: #fafbfe; }
.mat-zone .mat-title { font-size: 14px; font-weight: 700; color: var(--c-text); }
.mat-zone .mat-tip { font-size: 12px; color: var(--c-sub); line-height: 1.7;
  margin: 6px 0 10px; }
.mat-zone input[type=file] { width: 100%; font-size: 13px; padding: 8px;
  border: 1.5px dashed #c9cddd; border-radius: 10px; background: #fff; }
.mat-done { font-size: 12px; color: var(--c-good); margin-top: 8px; }
.mat-done a { color: var(--c-primary); }
.mat-more { color: var(--c-sub); margin-left: 6px; }
.mat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.mat-grid a { display: block; }
.mat-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px;
  border: 1px solid var(--c-line); }

/* ===== 填写详细资料：手持身份证口播稿 ===== */
.mat-script { border: 1px solid #c7d2fe; background: #eef2ff; border-radius: 10px;
  padding: 10px 12px; margin: 4px 0 10px; }
.mat-script .mat-script-t { font-size: 12px; font-weight: 700; color: var(--c-primary); }
.mat-script .mat-script-b { font-size: 13px; line-height: 1.9; color: var(--c-text);
  margin-top: 6px; }
.mat-script .mat-script-h { font-size: 11px; color: #b45309; margin-top: 6px; }

/* ===== 填写详细资料：换绑平台号码（交易金额下方） ===== */
.rb-inline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 8px 0; }
.rb-inline-no { font-size: 20px; font-weight: 800; letter-spacing: 1.5px;
  color: var(--c-primary); word-break: break-all; }
.rb-inline-copy { padding: 6px 16px; font-size: 12px; white-space: nowrap; }
.rb-inline-empty { font-size: 12px; color: var(--c-sub); }

/* ===== 订单详情：防找回警示视频 ===== */
.warn-card { border: 1.5px solid #fecaca; background: #fff7f7; }
.warn-card h2 { color: #b91c1c; }
.warn-item { border: 1px solid var(--c-line); border-radius: 12px; padding: 12px;
  margin-top: 12px; background: #fff; }
.warn-head { display: flex; justify-content: space-between; align-items: center;
  gap: 10px; flex-wrap: wrap; }
.warn-title { font-size: 13px; font-weight: 700; color: var(--c-text); flex: 1 1 auto;
  min-width: 0; }
.warn-state { font-size: 11px; padding: 3px 10px; border-radius: 20px;
  background: #f1f1f4; color: var(--c-sub); white-space: nowrap; flex: 0 0 auto; }
.warn-state.done { background: #dcfce7; color: #15803d; }
.warn-play { margin-top: 10px; width: 100%; }
.warn-video { display: block; margin-top: 10px; }
.warn-progress { font-size: 11px; color: var(--c-sub); margin-top: 6px; }

/* ===== 订单详情 · 已提交材料（缩略图，减少占屏） ===== */
.mats-mini { display: flex; flex-wrap: wrap; gap: 8px; }
.mm-item {
  position: relative; width: 84px; height: 84px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--c-line); background: #f4f5fa; display: block; text-decoration: none;
}
.mm-item img, .mm-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.mm-name {
  position: absolute; left: 0; right: 0; bottom: 0; font-size: 9px; line-height: 1.25;
  padding: 2px 4px; background: rgba(0, 0, 0, .48); color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== 三步流程：步骤进度条（子页顶部） ===== */
.step-bar { display: flex; gap: 6px; margin-bottom: 12px; }
.step-bar span {
  flex: 1; text-align: center; font-size: 12px; padding: 8px 4px; border-radius: 20px;
  background: #eef0f6; color: var(--c-sub);
}
.step-bar span.on { background: var(--c-primary); color: #fff; font-weight: 700; }

/* ===== 三步流程：订单详情步骤卡片 ===== */
.flow .steps { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.step {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  border: 1px solid var(--c-line); border-radius: 12px; padding: 12px 14px;
  background: #fff; color: var(--c-text);
}
.step-no {
  width: 26px; height: 26px; flex: 0 0 auto; border-radius: 50%;
  background: #eef0f6; color: var(--c-sub); font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.step-t { flex: 1 1 auto; font-size: 14px; font-weight: 600; }
.step-s { font-size: 12px; color: var(--c-sub); white-space: nowrap; }
.step.done { border-color: #86efac; background: #f0fdf4; }
.step.done .step-no { background: var(--c-good); color: #fff; }
.step.done .step-s { color: #15803d; }
.step.locked { opacity: .65; }
.step.locked .step-no { background: #fee2e2; color: var(--c-bad); }

/* ===== 第二步：录制 / 上传文件 切换 ===== */
.seg { display: inline-flex; border: 1px solid var(--c-line); border-radius: 20px;
  overflow: hidden; margin: 8px 0; }
.seg-btn {
  border: 0; background: #fff; color: var(--c-sub); font-size: 13px;
  padding: 7px 18px; cursor: pointer;
}
.seg-btn.on { background: var(--c-primary); color: #fff; font-weight: 700; }
.mat-mode { margin-top: 4px; }

/* ===== 2026-10-02 需求2：订单列表「已打款」回购信息提示 + 还款记录 ===== */
.repay-tip { margin: 10px 12px 0; background: #fff7ed; border: 1px solid #fed7aa;
  border-radius: 10px; padding: 10px 12px; }
.repay-tip .rt-tip { font-size: 13px; color: #9a3412; font-weight: 600; }
.repay-tip .rt-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 6px;
  font-size: 13px; color: #7c2d12; }
.repay-tip .rt-link { display: inline-block; margin-top: 8px;
  color: #ea580c; font-weight: 700; font-size: 13px; text-decoration: none; }
.repay-rec { display: flex; align-items: center; gap: 12px; padding: 8px 0;
  border-top: 1px dashed var(--c-line); font-size: 13px; }
.repay-rec .repay-st { padding: 2px 9px; border-radius: 999px; font-size: 12px; }
.repay-rec .repay-st.pending { background: #fff7ed; color: #b45309; }
.repay-rec .repay-st.approved { background: #ecfdf5; color: #15803d; }
.repay-rec .repay-st.rejected { background: #fef2f2; color: #b91c1c; }

/* ===== 2026-10-02 需求2：客户端还款页收款码 + 上传凭证 ===== */
.qr-list { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.qr-item { flex: 1 1 140px; border: 1px solid var(--c-line); border-radius: 12px;
  padding: 12px; text-align: center; background: #fff; }
.qr-title { font-size: 13px; font-weight: 600; color: var(--c-text); margin-bottom: 8px; }
.qr-img { width: 150px; height: 150px; object-fit: contain; border-radius: 8px;
  background: #fff; border: 1px solid var(--c-line); }

/* ===== 2026-10-02 需求1：订单列表「已打款」回购信息九宫格 + 去回购 ===== */
.repay-grid { margin: 10px 12px 0; display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: #ffe4cc; border: 1px solid #ffd2a8; border-radius: 12px; overflow: hidden; }
.repay-grid .rg-cell { background: #fffaf3; padding: 10px 8px; text-align: center; }
.repay-grid .rg-k { font-size: 11px; color: #b45309; margin-bottom: 4px; }
.repay-grid .rg-v { font-size: 14px; font-weight: 700; color: #7c2d12; }
.repay-grid .rg-v.rg-st-ok { color: #15803d; }
.repay-grid .rg-v.rg-st-warn { color: #b45309; }
.repay-grid .rg-v.rg-st-over { color: #dc2626; }
.repay-grid .rg-v.rg-st-done { color: #0e7490; }
.repay-grid .rg-v.rg-st-muted { color: #9ca3af; font-weight: 600; }
.repay-go { display: block; margin: 10px 12px 0; padding: 11px; text-align: center;
  background: linear-gradient(135deg, #f97316, #ea580c); color: #fff; font-weight: 700;
  font-size: 14px; border-radius: 10px; text-decoration: none; }
