:root {
  --bg: #f6f9ff;
  --panel: #ffffff;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e6ecf5;
  --line-2: #cfd9e8;
  --brand: #2f6bff;
  --brand-2: #1e56e0;
  --brand-soft: #eaf1ff;
  --ok: #059669;
  --ok-soft: #ecfdf5;
  --warn: #b45309;
  --warn-soft: #fffbeb;
  --err: #dc2626;
  --err-soft: #fef2f2;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(23, 43, 77, .05), 0 1px 3px rgba(23, 43, 77, .04);
  --shadow: 0 6px 20px rgba(23, 43, 77, .08);
  --shadow-lg: 0 20px 50px rgba(23, 43, 77, .14);
}


* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body { overflow-x: hidden; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 480px at 50% -160px, #e8f0ff 0%, rgba(232, 240, 255, 0) 70%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 320px);
  background-attachment: fixed;
  color: var(--ink);
  font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------------- 顶栏 ---------------- */

.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 18px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; }
.logo-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), #7c3aed);
  display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 800;
}
.topbar nav { display: flex; gap: 4px; }
.topbar nav button {
  background: none; border: none; padding: 7px 12px; border-radius: 9px;
  font: inherit; font-size: 14px; color: var(--muted); cursor: pointer;
}
.topbar nav button:hover { background: var(--brand-soft); color: var(--brand); }
.topbar nav button.on { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.spacer { flex: 1; }

/* ---------------- 布局 ---------------- */

.wrap { max-width: 1080px; margin: 0 auto; padding: 40px 24px 100px; }
.wrap.wide { max-width: 1240px; }

.hero { text-align: center; padding: 40px 0 44px; }
.hero h1 {
  margin: 0 0 14px; font-size: clamp(28px, 5vw, 46px); letter-spacing: -1.2px; line-height: 1.15;
  background: linear-gradient(118deg, #0f172a 22%, #2f6bff 62%, #7c5cff 96%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { margin: 0 auto; color: var(--muted); font-size: clamp(14px, 1.6vw, 17px); max-width: 34em; line-height: 1.7; }
.hero .pills { display: flex; gap: 8px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  margin-bottom: 16px;
}
.card.pad-lg { padding: clamp(20px, 3vw, 36px); }
.card h2 { font-size: 17px; margin: 0 0 6px; letter-spacing: -.2px; }
.card .hint { color: var(--muted); font-size: 13px; margin: 0 0 16px; }

.section-title {
  display: flex; align-items: center; gap: 10px;
  margin: 26px 0 12px; font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------------- 服务卡片 ---------------- */

.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }

.service {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.service:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
}
.service .head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.service .name { font-weight: 650; font-size: 15px; letter-spacing: -.1px; }
.service .desc { color: var(--muted); font-size: 12.5px; line-height: 1.5; min-height: 38px; }
.service .foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.service .go {
  font-size: 13px; font-weight: 600; color: var(--brand);
  display: inline-flex; align-items: center; gap: 4px;
}
.service .go::after { content: "→"; transition: transform .16s; }
.service:hover .go::after { transform: translateX(3px); }

.tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  background: var(--brand-soft); color: var(--brand);
  white-space: nowrap;
}
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.tag.err { background: var(--err-soft); color: var(--err); }
.tag.plain { background: color-mix(in srgb, var(--muted) 12%, transparent); color: var(--muted); }

/* ---------------- 步骤条 ---------------- */

.steps { display: flex; align-items: center; gap: 0; margin: 0 0 24px; }
.step { display: flex; align-items: center; gap: 10px; flex: 1; }
.step:last-child { flex: 0 0 auto; }
.step .dot {
  width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
  background: var(--bg); color: var(--muted);
  border: 1.5px solid var(--line-2);
  transition: all .2s;
}
.step .label { font-size: 13px; color: var(--muted); white-space: nowrap; }
.step .bar { flex: 1; height: 2px; background: var(--line); margin: 0 12px; }
.step.on .dot { background: var(--brand); border-color: var(--brand); color: #fff; }
.step.on .label { color: var(--ink); font-weight: 600; }
.step.done .dot { background: var(--ok-soft); border-color: var(--ok); color: var(--ok); }
.step.done .label { color: var(--ink-2); }
.step.done .bar { background: var(--ok); }

/* ---------------- 表单 ---------------- */

.field { margin-bottom: 16px; }
.field > label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.field .tip { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.55; }

input, select, textarea {
  width: 100%; padding: 11px 13px;
  background: var(--panel); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: 10px;
  font: inherit; font-size: 14px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent);
}
textarea { resize: vertical; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; line-height: 1.55; }
input.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .5px; }

.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; min-width: 0; }
.row > * { min-width: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 20px; border: 1px solid transparent; border-radius: 10px;
  background: var(--brand); color: #fff;
  font: inherit; font-weight: 600; font-size: 14px;
  cursor: pointer; transition: background .15s, opacity .15s, transform .1s;
  white-space: nowrap;
}
.btn:hover { background: var(--brand-2); }
.btn:active { transform: scale(.99); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--brand-soft); color: var(--brand); border-color: var(--brand); }
.btn.small { padding: 7px 13px; font-size: 13px; border-radius: 8px; }
.btn.danger { background: var(--err-soft); color: var(--err); }
.btn.danger:hover { background: var(--err); color: #fff; }
.btn.block { width: 100%; }

.msg { margin-top: 12px; font-size: 13.5px; line-height: 1.6; white-space: pre-wrap; }
.msg:empty { display: none; }
.msg.ok { color: var(--ok); }
.msg.err { color: var(--err); }
.msg.warn { color: var(--warn); }

.note-box {
  padding: 12px 14px; border-radius: 10px; font-size: 13px; line-height: 1.6;
  background: var(--brand-soft); color: var(--ink-2);
  border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent);
}
.note-box.warn { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 25%, transparent); }
.note-box.err { background: var(--err-soft); border-color: color-mix(in srgb, var(--err) 25%, transparent); }

/* ---------------- 进度 ---------------- */

.progress-list { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.pitem { display: flex; gap: 12px; padding: 10px 0; position: relative; }
.pitem .bullet {
  width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 700;
  background: var(--bg); color: var(--muted); border: 1.5px solid var(--line-2);
}
.pitem.done .bullet { background: var(--ok); border-color: var(--ok); color: #fff; }
.pitem.active .bullet {
  background: var(--brand); border-color: var(--brand); color: #fff;
  animation: pulse 1.4s ease-in-out infinite;
}
.pitem.fail .bullet { background: var(--err); border-color: var(--err); color: #fff; }
.pitem .txt { flex: 1; padding-top: 1px; }
.pitem .txt .t { font-size: 14px; font-weight: 600; color: var(--ink); }
.pitem .txt .d { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.pitem:not(.done):not(.active):not(.fail) .txt .t { color: var(--muted); font-weight: 500; }
.pitem:not(:last-child)::after {
  content: ""; position: absolute; left: 10px; top: 34px; bottom: -2px;
  width: 2px; background: var(--line);
}
.pitem.done:not(:last-child)::after { background: var(--ok); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 45%, transparent); }
  50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand) 0%, transparent); }
}

.spinner {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid color-mix(in srgb, currentColor 25%, transparent);
  border-top-color: currentColor; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- 表格 ---------------- */

table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
tbody tr:hover { background: color-mix(in srgb, var(--brand) 4%, transparent); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; }
.empty { color: var(--muted); padding: 22px 0; text-align: center; font-size: 13.5px; }

/* ---------------- 后台 ---------------- */

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; flex-wrap: wrap; }
.tabs button {
  background: none; border: none; border-bottom: 2px solid transparent;
  padding: 10px 14px; font: inherit; font-size: 14px; color: var(--muted);
  cursor: pointer; margin-bottom: -1px;
}
.tabs button.on { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.stat { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--panel); }
.stat .k { font-size: 12px; color: var(--muted); }
.stat .v { font-size: 22px; font-weight: 700; margin-top: 4px; letter-spacing: -.4px; }

.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(16px);
  background: #0f172a; color: #fff;
  padding: 10px 20px; border-radius: 999px; font-size: 13.5px;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100;
  box-shadow: var(--shadow-lg);
}
.toast.on { opacity: .96; transform: translateX(-50%) translateY(0); }

.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.center { text-align: center; }

@media (max-width: 640px) {
  .wrap { padding: 20px 14px 70px; }
  .hero h1 { font-size: 25px; }
  .hero { padding: 14px 0 20px; }
  .card { padding: 16px; }
  .step .label { display: none; }
  .step .bar { margin: 0 8px; }
  .topbar { padding: 10px 14px; gap: 10px; }
}

/* ---------------- 引导步骤 ---------------- */

.guide { display: flex; flex-direction: column; gap: 14px; }
.guide-step {
  display: flex; gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbff;
}
.guide-step .n {
  width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand); color: #fff; font-size: 13px; font-weight: 700;
}
.guide-step .c { flex: 1; }
.guide-step .t { font-weight: 650; font-size: 14px; margin-bottom: 3px; }
.guide-step .d { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin-bottom: 10px; }

/* 账户信息卡 */
.account-card {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  padding: 16px;
  border: 1px solid #c7ecd9;
  border-radius: 12px;
  background: #f2fdf8;
}
.account-card .item .k { font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.account-card .item .v { font-size: 14px; font-weight: 650; word-break: break-all; }

/* ---------------- 表单优化 ---------------- */

input, select, textarea {
  font-variant-numeric: tabular-nums;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
input::placeholder, textarea::placeholder { color: #a8b6c9; }
input:hover:not(:focus), select:hover:not(:focus), textarea:hover:not(:focus) {
  border-color: #b9c8dd;
}
input[inputmode="numeric"], input[type="number"] { letter-spacing: .04em; }

/* 后台录入卡：字段分组更紧凑 */
.grid > div > .field:only-child { margin-bottom: 0; }
#c-number, #c-cvv, #c-month, #c-year, #v-count, #v-prefix {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px;
}

/* 输入组：输入框 + 按钮贴在一起 */
.input-row { display: flex; gap: 10px; align-items: stretch; }
.input-row input { flex: 1; }

/* 确认表更清爽 */
#confirm-table td { padding: 12px 4px; }
#confirm-table td:first-child { width: 96px; color: var(--muted); font-size: 13px; }
#confirm-table td:last-child { font-weight: 600; }
#confirm-table tr:last-child td { border-bottom: none; }

/* ================================================================
   移动端 / H5
   ================================================================ */

/* 顶部安全区（刘海屏） */
.topbar { padding-top: max(12px, env(safe-area-inset-top)); }

/* 触控优化：去掉点击高亮，按钮不粘连 */
button, .btn, .service, .plan { -webkit-tap-highlight-color: transparent; }
.btn { min-height: 44px; }
.btn.small { min-height: 36px; }

/* 输入框 16px 起，避免 iOS 自动放大页面 */
@media (max-width: 820px) {
  input, select, textarea { font-size: 16px; }
  textarea { font-size: 14px; }
}

@media (max-width: 720px) {
  .wrap { padding: 22px 16px calc(60px + env(safe-area-inset-bottom)); }
  .wrap.wide { padding-left: 12px; padding-right: 12px; }

  .topbar {
    padding-left: 16px; padding-right: 16px;
    gap: 8px; flex-wrap: nowrap;
  }
  .logo { font-size: 14.5px; }
  .logo-mark { width: 24px; height: 24px; font-size: 12px; }
  .topbar nav { gap: 2px; }
  .topbar nav button { padding: 8px 10px; font-size: 13.5px; }

  .hero { padding: 22px 0 26px; }
  .hero p { font-size: 13.5px; line-height: 1.65; }
  .hero h1 { letter-spacing: -.6px; }
  .hero .pills { margin-top: 12px; }

  .card { border-radius: 16px; padding: 18px; margin-bottom: 14px; }
  .card.pad-lg { padding: 22px 18px; }
  .card h2 { font-size: 17px; }
  .card .hint { margin-bottom: 14px; }
  .hero { padding: 26px 0 30px; }
  .hero .pills { gap: 6px; }

  /* 步骤条：手机上只留圆点 + 当前文字 */
  .steps { margin-bottom: 18px; }
  .step { gap: 6px; }
  .step .dot { width: 26px; height: 26px; flex-basis: 26px; font-size: 12px; }
  .step .label { display: none; }
  .step.on .label { display: block; font-size: 13px; }
  .step .bar { margin: 0 6px; }

  /* 表单：一行一个，按钮整宽 */
  .grid-2 { grid-template-columns: 1fr; gap: 12px; }
  .row { gap: 8px; }
  .row > .btn { flex: 1 1 auto; }
  #quick-go, #verify, #parse, #next, #submit, #q-go { width: 100%; }
  #quick-code, #code, #q-code { min-width: 0 !important; flex: 1 1 100%; }
  input, select { padding: 13px 14px; }
  .btn { padding: 13px 20px; font-size: 15px; }
  .btn.small { padding: 9px 14px; font-size: 13.5px; }
  .row { flex-wrap: wrap; }

  /* 引导卡片紧凑 */
  .guide-step { padding: 14px; gap: 12px; }
  .guide-step .d { margin-bottom: 10px; }
  .guide-step .row .btn { flex: 1 1 100%; }

  /* 账户信息：两列 */
  .account-card { grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px; }

  /* 确认表：左右留白收紧 */
  #confirm-table td { padding: 10px 2px; }
  #confirm-table td:first-child { width: 82px; font-size: 12.5px; }

  /* 进度：紧凑 */
  .pitem { padding: 8px 0; }
  .pitem .txt .t { font-size: 13.5px; }

  /* 表格横向滚动 */
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  .toast { left: 16px; right: 16px; transform: translateY(16px); border-radius: 12px; text-align: center; }
  .toast.on { transform: translateY(0); }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 25px; }
  .topbar nav button { padding: 8px 7px; font-size: 13px; }
  .account-card { grid-template-columns: 1fr; }
}

/* 横屏 H5 不浪费空间 */
@media (max-height: 460px) and (orientation: landscape) {
  .hero { padding: 14px 0 18px; }
  .hero h1 { font-size: 24px; }
}

/* 支持 iOS 上的滚动惯性 */
body { -webkit-overflow-scrolling: touch; }

/* 长卡密不撑破布局 */
.mono, input.mono { word-break: break-all; }

/* ================================================================
   充值进度：横版工作流
   ================================================================ */

.prog-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; margin-bottom: 26px;
}
.prog-title h2 { font-size: 20px; letter-spacing: -.3px; }

.prog-warn {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 14px; border-radius: 11px;
  background: #fff8e8; border: 1px solid #f5dfae;
  color: #8a5a00; font-size: 13px; line-height: 1.5;
  max-width: 420px;
}
.prog-warn .warn-icon {
  width: 18px; height: 18px; flex: 0 0 18px; border-radius: 50%;
  background: #e0a300; color: #fff; font-size: 12px; font-weight: 800;
  display: grid; place-items: center;
}
.prog-warn.done { background: #f1fbf6; border-color: #bfe8d3; color: #0d6b4a; }
.prog-warn.done .warn-icon { background: #0f9d63; }
.prog-warn.fail { background: #fdf1f0; border-color: #f4cfcb; color: #9d2b21; }
.prog-warn.fail .warn-icon { background: #d64545; }

/* 横向流程 */
.flow {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  gap: 0; margin: 0; padding: 0; list-style: none;
  position: relative;
}

.flow .node {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center; padding: 0 6px;
}

/* 节点之间的连线 */
.flow .node:not(:last-child)::after {
  content: ""; position: absolute; top: 17px; left: calc(50% + 24px);
  right: calc(-50% + 24px); height: 2px; background: var(--line-2);
  border-radius: 2px;
}
.flow .node.done:not(:last-child)::after { background: var(--ok); }
.flow .node.active:not(:last-child)::after {
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand) 45%, var(--line-2) 45%);
  background-size: 200% 100%;
  animation: flowSlide 1.3s linear infinite;
}
@keyframes flowSlide { from { background-position: 100% 0; } to { background-position: 0 0; } }

.flow .dot {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
  background: #fff; color: #94a3b8;
  border: 2px solid var(--line-2);
  position: relative; z-index: 1;
  transition: all .2s;
}
.flow .node.done .dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.flow .node.active .dot {
  background: var(--brand); border-color: var(--brand); color: #fff;
  box-shadow: 0 0 0 5px rgba(47, 107, 255, .14);
}
.flow .node.fail .dot { background: var(--err); border-color: var(--err); color: #fff; }

.flow .t { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.flow .node:not(.done):not(.active):not(.fail) .t { color: var(--muted); font-weight: 500; }
.flow .d { font-size: 12px; color: var(--muted); line-height: 1.45; max-width: 15em; }

.prog-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line);
}

/* 手机上：横向流程改成 2 列网格，连线隐藏 */
@media (max-width: 720px) {
  .flow {
    grid-auto-flow: row; grid-template-columns: 1fr 1fr; gap: 14px 8px;
  }
  .flow .node { align-items: flex-start; text-align: left; flex-direction: row; gap: 10px; }
  .flow .node:not(:last-child)::after { display: none; }
  .flow .dot { width: 30px; height: 30px; flex: 0 0 30px; font-size: 12px; }
  .flow .d { max-width: none; }
  .prog-warn { max-width: none; width: 100%; }
  .prog-foot { flex-direction: column-reverse; align-items: stretch; }
  .prog-foot .row .btn { flex: 1; }
}

/* ---------------- 价格对比 ---------------- */

.best-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }

.best-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: linear-gradient(160deg, #f8fbff 0%, #fff 100%);
}
.best-card .k { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.best-card .v { font-size: 17px; font-weight: 700; letter-spacing: -.2px; }
.best-card .cny { font-size: 13px; color: var(--ok); font-weight: 700; margin-top: 4px; }

@media (max-width: 720px) {
  .best-grid { grid-template-columns: 1fr 1fr; }
}

/* 价格对比：四服务卡片 */
.cmp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }

.cmp-card {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: var(--panel); display: flex; flex-direction: column;
}
.cmp-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  padding: 13px 14px; background: #f8fbff; border-bottom: 1px solid var(--line);
}
.cmp-head .nm { font-weight: 700; font-size: 14px; }
.cmp-body { padding: 6px 8px; flex: 1; }
.pick-row {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 6px; border-radius: 8px; font-size: 13.5px;
}
.pick-row .rg { width: 30px; font-weight: 700; color: var(--muted); font-family: ui-monospace, monospace; }
.pick-row .pr { flex: 1; }
.pick-row.pick { background: #f1fbf6; }
.pick-row.pick .rg { color: var(--ok); }
.cmp-foot {
  padding: 10px 14px; border-top: 1px solid var(--line);
  font-size: 13px; background: #fcfdff;
}

.pick-row.odd { background: #fffaf0; }
.pick-row.odd .rg { color: var(--warn); }
