/* ============================================================
 * 视觉系统
 * ============================================================ */
:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-soft: #fafbfe;
  --ink: #0b1220;
  --text: #0f172a;
  --muted: #64748b;
  --faint: #94a3b8;
  --line: rgba(15, 23, 42, 0.09);
  --line-soft: rgba(15, 23, 42, 0.06);

  --primary: #5b6cff;
  --primary-deep: #4a5bf0;
  --secondary: #8b5cf6;
  --primary-soft: #eef0ff;
  --primary-line: #c7ccff;

  --success: #10b981;
  --success-soft: #e7f9f1;
  --warning: #f59e0b;
  --warning-soft: #fef4e2;
  --danger: #ef4444;
  --danger-soft: #fdecec;

  --grad: linear-gradient(135deg, #5b6cff 0%, #8b5cf6 100%);
  --grad-soft: linear-gradient(135deg, rgba(91, 108, 255, 0.09), rgba(139, 92, 246, 0.09));

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 14px 32px -20px rgba(15, 23, 42, 0.35);
  --container: 1120px;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0; line-height: 1.3; letter-spacing: -0.01em; }
h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 24px; font-weight: 700; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0; }

.num { font-variant-numeric: tabular-nums; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.page { padding: 40px 0 72px; min-height: 60vh; }

.page-head { margin-bottom: 28px; }
.page-head h1 { font-size: 30px; font-weight: 800; }
.page-head p { margin-top: 8px; color: var(--muted); font-size: 15px; }

.muted { color: var(--muted); }
.faint { color: var(--faint); }

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.brand-mark {
  width: 36px; height: 36px;
  border-radius: 11px;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px -8px rgba(91, 108, 255, 0.95);
}
.brand-mark svg { width: 20px; height: 20px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-size: 16px; font-weight: 700; letter-spacing: 0.2px; }
.brand-text i {
  font-style: normal;
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.3px;
  margin-top: 2px;
}

.nav { display: flex; gap: 2px; }
.nav a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  transition: background 0.16s, color 0.16s;
  white-space: nowrap;
}
.nav a:hover { background: #f1f2f9; color: var(--text); }
.nav a.active { background: var(--primary-soft); color: var(--primary-deep); font-weight: 600; }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.bal-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
  transition: border-color 0.16s, box-shadow 0.16s;
}
.bal-chip:hover { border-color: var(--primary-line); box-shadow: 0 0 0 3px rgba(91, 108, 255, 0.1); }
.bal-chip b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.bal-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.16);
}

.user-chip { border: 0; background: none; padding: 0; cursor: pointer; }
.avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-soft);
  color: var(--primary-deep);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid #e3e6ff;
  transition: transform 0.16s;
}
.user-chip:hover .avatar { transform: scale(1.05); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.16s, box-shadow 0.16s, background 0.16s, border-color 0.16s;
}
.btn svg { width: 18px; height: 18px; }
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 22px -12px rgba(91, 108, 255, 0.95); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(91, 108, 255, 1); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--primary-line); color: var(--primary-deep); }

.btn-quiet { background: #f1f2f9; color: var(--text); }
.btn-quiet:hover { background: #e8eaf6; }

.btn-lg { height: 52px; padding: 0 26px; border-radius: 14px; font-size: 16px; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13.5px; border-radius: 9px; }
.btn-block { width: 100%; }

.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none !important; box-shadow: none; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-pad { padding: 24px; }
.card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line-soft);
}
.card-head h2, .card-head h3 { font-size: 16px; font-weight: 700; }
.card-head .hint { font-size: 13px; color: var(--faint); }

/* ---------- 首页 Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 40px; }
.hero::before {
  content: "";
  position: absolute;
  left: 50%; top: -260px;
  width: 1100px; height: 620px;
  transform: translateX(-50%);
  background:
    radial-gradient(520px 260px at 22% 40%, rgba(91, 108, 255, 0.16), transparent 70%),
    radial-gradient(520px 260px at 78% 30%, rgba(139, 92, 246, 0.15), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-deep);
  box-shadow: var(--shadow-sm);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.16);
}

.hero h1 { margin-top: 20px; font-size: 44px; line-height: 1.15; }
.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { margin-top: 18px; font-size: 16.5px; color: var(--muted); max-width: 480px; }
.hero-actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }

.trust { margin-top: 34px; display: flex; gap: 26px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--muted); }
.trust-item svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }

/* 余额卡 */
.balance-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 30px 30px 26px;
  color: #fff;
  background: linear-gradient(140deg, #5b6cff 0%, #7c5cf5 52%, #9b5cf0 100%);
  box-shadow: 0 30px 60px -30px rgba(91, 108, 255, 0.95), 0 2px 6px rgba(15, 23, 42, 0.08);
}
.balance-card::after {
  content: "";
  position: absolute;
  right: -70px; top: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
}
.balance-card::before {
  content: "";
  position: absolute;
  right: 20px; bottom: -110px;
  width: 190px; height: 190px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.bc-top { position: relative; display: flex; align-items: center; justify-content: space-between; }
.bc-label { font-size: 13px; opacity: 0.82; letter-spacing: 0.4px; }
.bc-uid { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); }
.bc-amount {
  position: relative;
  margin-top: 14px;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.bc-amount small { font-size: 22px; font-weight: 600; opacity: 0.9; }
.bc-foot {
  position: relative;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  gap: 36px;
}
.bc-foot div span { display: block; font-size: 12px; opacity: 0.78; }
.bc-foot div b { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bc-cta {
  position: relative;
  margin-top: 24px;
  display: flex;
  gap: 10px;
}
.bc-cta .btn { height: 44px; flex: 1; border-radius: 12px; font-size: 14.5px; }
.bc-cta .btn-white { background: #fff; color: var(--primary-deep); }
.bc-cta .btn-white:hover { background: #f4f5ff; }
.bc-cta .btn-outline { background: rgba(255, 255, 255, 0.14); color: #fff; border: 1px solid rgba(255, 255, 255, 0.28); }
.bc-cta .btn-outline:hover { background: rgba(255, 255, 255, 0.22); }

/* ---------- 首页模块 ---------- */
.section { padding: 24px 0 56px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-head h2 { font-size: 24px; }
.section-head p { color: var(--muted); margin-top: 6px; font-size: 14.5px; }

.quick-amounts {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.quick-amount {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 12px;
  text-align: center;
  transition: 0.16s;
  cursor: pointer;
}
.quick-amount:hover {
  border-color: var(--primary-line);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -18px rgba(91, 108, 255, 0.9);
}
.quick-amount b { display: block; font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.quick-amount span { display: block; margin-top: 2px; font-size: 12px; color: var(--success); font-weight: 600; }
.quick-amount span.none { color: var(--faint); font-weight: 500; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.step-no {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 14px;
}
.step h3 { margin-top: 16px; font-size: 16px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 14px; }

.faq-mini { display: grid; gap: 10px; }

/* ---------- 自助加款 ---------- */
.recharge-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 372px;
  gap: 24px;
  align-items: start;
}

.block + .block { margin-top: 28px; padding-top: 26px; border-top: 1px dashed var(--line); }
.block-title { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.block-title .idx {
  width: 22px; height: 22px; border-radius: 7px;
  background: var(--primary-soft); color: var(--primary-deep);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
}
.block-title .opt { margin-left: auto; font-size: 13px; font-weight: 400; color: var(--faint); }

.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.amount-item {
  position: relative;
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 16px 12px 14px;
  text-align: center;
  cursor: pointer;
  transition: 0.16s;
  user-select: none;
}
.amount-item:hover { border-color: var(--primary-line); background: #fafbff; }
.amount-item .amt { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.amount-item .amt small { font-size: 13px; font-weight: 600; margin-right: 1px; }
.amount-item .tag {
  display: inline-block;
  margin-top: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--success);
  background: var(--success-soft);
  padding: 1px 7px;
  border-radius: 999px;
}
.amount-item .tag.none { color: var(--faint); background: #f3f4f8; }
.amount-item.active {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 0 0 3px rgba(91, 108, 255, 0.13);
}
.amount-item.active::after {
  content: "";
  position: absolute;
  right: 9px; top: 9px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--primary) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/9px no-repeat;
}

.custom-amount { margin-top: 12px; position: relative; }
.custom-amount input {
  width: 100%;
  height: 52px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--surface-soft);
  padding: 0 16px 0 42px;
  font-size: 17px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  outline: none;
  transition: 0.16s;
}
.custom-amount input::placeholder { font-weight: 400; color: var(--faint); font-size: 14.5px; }
.custom-amount input:focus {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(91, 108, 255, 0.13);
}
.custom-amount .prefix {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  font-size: 17px;
  font-weight: 700;
  color: var(--faint);
  pointer-events: none;
}
.custom-amount .suffix {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  font-size: 12.5px;
  color: var(--faint);
  pointer-events: none;
}

.channel-list { display: grid; gap: 10px; }
.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  transition: 0.16s;
  background: var(--surface);
}
.channel:hover { border-color: var(--primary-line); }
.channel.active { border-color: var(--primary); background: #fafbff; box-shadow: 0 0 0 3px rgba(91, 108, 255, 0.1); }
.channel-ico {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: #1677ff;
  color: #fff;
  flex-shrink: 0;
}
.channel-ico svg { width: 24px; height: 24px; }
.channel-body { flex: 1; min-width: 0; }
.channel-body b { display: block; font-size: 14.5px; font-weight: 600; }
.channel-body span { display: block; font-size: 12.5px; color: var(--faint); margin-top: 1px; }
.radio {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid #d4d8e6;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: 0.16s;
}
.channel.active .radio { border-color: var(--primary); background: var(--primary); }
.channel.active .radio::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }

/* 订单摘要 */
.summary { position: sticky; top: 88px; }
.summary-body { padding: 22px 24px; }
.sum-line { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; font-size: 14px; color: var(--muted); }
.sum-line b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.sum-line .plus { color: var(--success); font-weight: 600; }
.sum-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.sum-total span { font-size: 14px; color: var(--muted); }
.sum-total b {
  font-size: 30px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}
.sum-arrive {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sum-arrive b { color: var(--success); font-size: 15px; font-variant-numeric: tabular-nums; }
.summary-foot { padding: 0 24px 24px; }
.summary-foot .btn { height: 50px; font-size: 16px; border-radius: 14px; }
.sum-tip { margin-top: 12px; font-size: 12px; color: var(--faint); text-align: center; line-height: 1.6; }

.notice {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--warning-soft);
  border: 1px solid rgba(245, 158, 11, 0.22);
  color: #8a5a00;
  font-size: 13px;
  line-height: 1.6;
}
.notice svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.table th {
  text-align: left;
  font-weight: 600;
  font-size: 12.5px;
  color: var(--faint);
  padding: 12px 20px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
}
.table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  white-space: nowrap;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background 0.14s; }
.table tbody tr:hover { background: #fafbff; }
.table .strong { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.table .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.badge-success { color: #0a8f63; background: var(--success-soft); }
.badge-pending { color: #a86900; background: var(--warning-soft); }
.badge-closed { color: #8b93a7; background: #f1f3f8; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.stat {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.stat span { font-size: 13px; color: var(--muted); }
.stat b {
  display: block;
  margin-top: 6px;
  font-size: 26px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.stat b.small { font-size: 22px; }

.tabs { display: flex; gap: 4px; padding: 4px; background: #f1f2f9; border-radius: 12px; width: fit-content; }
.tabs button {
  border: 0;
  background: none;
  padding: 7px 16px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: 0.16s;
}
.tabs button.active { background: var(--surface); color: var(--text); font-weight: 600; box-shadow: var(--shadow-sm); }

.pager { display: flex; justify-content: center; gap: 8px; padding: 20px; }
.pager button {
  min-width: 34px; height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 13.5px;
  cursor: pointer;
  transition: 0.16s;
}
.pager button:hover:not([disabled]) { border-color: var(--primary-line); color: var(--primary-deep); }
.pager button.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.pager button[disabled] { opacity: 0.45; cursor: not-allowed; }

.empty { padding: 56px 24px; text-align: center; }
.empty-ico {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid; place-items: center;
}
.empty-ico svg { width: 26px; height: 26px; }
.empty p { color: var(--faint); font-size: 14px; }

/* ---------- 登录 ---------- */
.auth-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background:
    radial-gradient(600px 300px at 50% -10%, rgba(91, 108, 255, 0.14), transparent 70%),
    var(--bg);
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  padding: 36px 34px 30px;
  box-shadow: 0 30px 60px -34px rgba(15, 23, 42, 0.5);
}
.auth-brand { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 26px; }
.auth-brand .brand-mark { width: 52px; height: 52px; border-radius: 15px; }
.auth-brand .brand-mark svg { width: 27px; height: 27px; }
.auth-brand b { font-size: 19px; font-weight: 700; }
.auth-brand span { font-size: 13px; color: var(--faint); }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.field input {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--surface-soft);
  padding: 0 14px;
  font-size: 15px;
  outline: none;
  transition: 0.16s;
}
.field input:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(91, 108, 255, 0.13); }
.auth-foot { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.auth-foot a { color: var(--primary-deep); font-weight: 500; }
.auth-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--faint);
  text-align: center;
  line-height: 1.7;
}

/* ---------- 支付结果 ---------- */
.result-wrap { padding: 60px 0 80px; }
.result-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  padding: 44px 40px 36px;
  text-align: center;
  box-shadow: 0 30px 60px -36px rgba(15, 23, 42, 0.45);
}
.result-ico {
  width: 74px; height: 74px;
  margin: 0 auto 20px;
  border-radius: 24px;
  display: grid; place-items: center;
}
.result-ico svg { width: 38px; height: 38px; }
.result-ico.ok { background: var(--success-soft); color: var(--success); }
.result-ico.pending { background: var(--warning-soft); color: var(--warning); }
.result-ico.fail { background: var(--danger-soft); color: var(--danger); }
.result-card h1 { font-size: 24px; font-weight: 800; }
.result-card .sub { margin-top: 8px; color: var(--muted); font-size: 14.5px; }

.result-detail {
  margin: 26px 0 28px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--surface-soft);
  text-align: left;
  padding: 6px 18px;
}
.result-detail div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  font-size: 13.5px;
  color: var(--muted);
}
.result-detail div + div { border-top: 1px dashed var(--line); }
.result-detail b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.result-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.result-actions .btn { min-width: 132px; }

.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 帮助 / FAQ ---------- */
.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.16s;
}
.faq-item[open] { border-color: var(--primary-line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-size: 14.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 9px; height: 9px;
  border-right: 2px solid var(--faint);
  border-bottom: 2px solid var(--faint);
  transform: rotate(45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-right: 4px;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item .faq-body {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.faq-item .faq-body p + p { margin-top: 8px; }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.contact-card svg { width: 22px; height: 22px; color: var(--primary); margin: 0 auto 10px; }
.contact-card b { display: block; font-size: 15px; }
.contact-card span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }

/* ---------- 长文 ---------- */
.article { max-width: 820px; margin: 0 auto; }
.article h1 { font-size: 28px; margin-bottom: 8px; }
.article .meta { color: var(--faint); font-size: 13px; margin-bottom: 28px; }
.article h2 { font-size: 18px; margin: 30px 0 10px; }
.article p { color: #334155; font-size: 14.5px; line-height: 1.85; margin-bottom: 10px; }
.article ul { color: #334155; font-size: 14.5px; line-height: 1.85; padding-left: 20px; margin: 8px 0 12px; }
.article li { margin-bottom: 4px; }

/* ---------- Toast ---------- */
.toast-wrap {
  position: fixed;
  top: 84px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 18px 36px -18px rgba(15, 23, 42, 0.8);
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  transition: opacity 0.22s, transform 0.22s;
  max-width: min(90vw, 460px);
}
.toast.show { opacity: 1; transform: translateY(0) scale(1); }
.toast-ico { display: grid; place-items: center; flex-shrink: 0; }
.toast-ico svg { width: 17px; height: 17px; }
.toast-success .toast-ico { color: #4ade80; }
.toast-error .toast-ico { color: #fca5a5; }
.toast-info .toast-ico { color: #93c5fd; }

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line-soft);
  background: var(--surface);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding: 48px 24px 32px;
}
.footer-brand p { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.footer-brand p.muted { color: var(--faint); font-size: 12.5px; }
.footer-col h4 { font-size: 13px; font-weight: 700; margin-bottom: 14px; color: var(--text); }
.footer-col a, .footer-col span {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 10px;
  width: fit-content;
}
.footer-col a:hover { color: var(--primary-deep); }
.footer-bottom {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 18px 24px 26px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--faint);
}
.footer-bottom a:hover { color: var(--primary-deep); }
.footer-bottom .foot-links { margin-left: auto; display: flex; gap: 16px; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 36px; }
  .recharge-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .quick-amounts { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
}

@media (max-width: 900px) {
  .header-inner { height: auto; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; row-gap: 10px; }
  .brand-text i { display: none; }
  .nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 7px 12px; font-size: 14px; }
  .header-right { margin-left: auto; }
}

@media (max-width: 640px) {
  .page { padding: 26px 0 52px; }
  .page-head h1 { font-size: 24px; }
  .section-head { flex-wrap: wrap; align-items: flex-start; }
  .section-head > div { flex: 1 1 100%; }
  .hero { padding: 36px 0 24px; }
  .hero h1 { font-size: 30px; }
  .hero .lead { font-size: 15px; }
  .balance-card { padding: 24px 22px 22px; border-radius: 22px; }
  .bc-amount { font-size: 36px; }
  .bc-foot { gap: 24px; }
  .quick-amounts { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: 1fr; gap: 10px; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; padding: 36px 24px 24px; }
  .footer-bottom .foot-links { margin-left: 0; }
  .result-card { padding: 32px 22px 28px; }
  .card-pad { padding: 20px; }
  .summary-body { padding: 20px; }
  .summary-foot { padding: 0 20px 20px; }
  .auth-card { padding: 30px 22px 24px; }
  h1 { font-size: 28px; }
}
