/* ============================================================
 * skin_2 — 极简白底 · 苹果产品页风
 * 与 skin_1（深色科技风）形成强烈对比；保留所有 id/class 钩子。
 * ============================================================ */

:root {
  --bg: #f5f5f7;            /* Apple 经典浅灰 */
  --bg-2: #fbfbfd;          /* 二级浅 */
  --panel: #ffffff;
  --panel-2: #fafafc;
  --border: #e5e7eb;
  --border-strong: #d2d4d8;
  --text: #1d1d1f;
  --text-2: #3a3a3c;
  --muted: #86868b;
  --muted-2: #6e6e73;
  --primary: #0071e3;       /* Apple 经典蓝 */
  --primary-2: #0077ed;
  --primary-soft: #e8f1ff;
  --ok: #34c759;
  --warn: #ff9f0a;
  --err: #ff3b30;
  --gold: #b8862e;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.05);
  --shadow: 0 12px 36px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.10);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
       "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ============ Topbar (固定毛玻璃 navbar) ============ */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  position: sticky;
  top: 0;
  z-index: 30;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-title {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.012em;
  color: var(--text);
}

.brand-sub {
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 1px;
  letter-spacing: 0.1px;
}

.logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #10a37f;     /* ChatGPT 官方绿 */
  box-shadow: var(--shadow-xs);
}

.top-actions { display: flex; align-items: center; gap: 8px; }

.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
  border-radius: 999px;
}

.platform-tag {
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  letter-spacing: 0.3px;
}
.platform-tag[data-p="ios"]     { color: var(--primary); background: var(--primary-soft); border-color: rgba(0, 113, 227, 0.25); }
.platform-tag[data-p="android"] { color: #1f7f37;        background: rgba(52, 199, 89, 0.12); border-color: rgba(52, 199, 89, 0.30); }

/* ============ Buttons ============ */
.btn-primary,
.btn-ghost {
  border-radius: 999px;
  padding: 11px 22px;
  font: inherit;
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: 0.1px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.18s, border-color 0.18s, transform 0.06s, color 0.15s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-2); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary[disabled] { opacity: 0.5; cursor: not-allowed; }

.btn-ghost {
  background: #fff;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { background: #fbfbfd; border-color: #b8babf; }
.btn-ghost[disabled] { opacity: 0.5; cursor: not-allowed; }

/* "获取 token" 按钮：黑底白字（苹果产品页常见） */
.btn-grad-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #1d1d1f;
  border-radius: 999px;
  padding: 11px 22px;
  font: inherit;
  font-weight: 500;
  font-size: 14.5px;
  cursor: pointer;
  color: #fff;
  background: #1d1d1f;
  transition: background 0.18s, transform 0.06s;
}
.btn-grad-gold:hover { background: #000; }
.btn-grad-gold:active { transform: scale(0.98); }
.btn-grad-gold[disabled] { opacity: 0.5; cursor: not-allowed; }

.btn-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: currentColor;
}

.btn-grad-cyan,
.btn-grad-orange {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  color: #fff;
  font: inherit;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  margin-bottom: 12px;
  transition: filter 0.15s, transform 0.05s ease;
}
.btn-grad-cyan {
  background: var(--primary);
  box-shadow: 0 8px 22px rgba(0, 113, 227, 0.20);
}
.btn-grad-orange {
  background: #ff9500;
  box-shadow: 0 8px 22px rgba(255, 149, 0, 0.22);
}
.btn-grad-cyan:hover,
.btn-grad-orange:hover { filter: brightness(1.04); }
.btn-grad-cyan:active,
.btn-grad-orange:active { transform: translateY(1px); }
.btn-grad-cyan[disabled],
.btn-grad-orange[disabled] { opacity: 0.5; cursor: not-allowed; }

.bg-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-weight: 700;
  font-size: 13px;
}

.link-btn {
  background: transparent;
  border: 0;
  color: var(--muted-2);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  padding: 6px 8px;
}
.link-btn:hover { color: var(--text); }

.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
}

/* ============ Container ============ */
.container {
  max-width: 1100px;
  margin: 32px auto 0;
  padding: 0 24px 16px;
}

/* ============ Hero (居中产品页风) ============ */
.hero {
  max-width: 1100px;
  margin: 56px auto 0;
  padding: 0 24px;
}

/* 关键：把原来的左右双栏改为单列居中 */
.hero-inner {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: block;
  text-align: center;
}

/* hero 左半（hero-headline 整块，包含 tag/title/sub） */
.hero-headline {
  margin: 0 auto;
  max-width: 740px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  letter-spacing: 0.4px;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(0, 113, 227, 0.2);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 18px;
  font-weight: 500;
}

.hero-title {
  margin: 0 auto 16px auto;
  font-size: clamp(32px, 5.6vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.022em;
  font-weight: 700;
  color: var(--text);
  max-width: 980px;
  word-break: keep-all;
  overflow-wrap: normal;
}

.hero-grad {
  background-image: linear-gradient(135deg, #0071e3 0%, #1d54e8 50%, #6e44ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  margin: 0 auto;
  color: var(--muted-2);
  font-size: 18px;
  line-height: 1.55;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 12px;
  letter-spacing: 0.1px;
  max-width: 600px;
}

.hero-sub .kw  { color: var(--text-2); font-weight: 500; }
.hero-sub .dot { color: #c7c7cc; font-weight: 700; user-select: none; }

/* 套餐三卡：3 等分网格，统一高度 */
.plans {
  list-style: none;
  margin: 38px auto 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 940px;
  align-items: stretch;
}

.plan {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.15s, box-shadow 0.2s, border-color 0.18s;
  text-align: left;
  min-width: 0; /* 允许内部 ellipsis 不撑大 */
}
.plan:hover {
  border-color: #c8cad0;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.plan-name {
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.plan-name::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
  flex-shrink: 0;
}

.plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.65;
}

ol.plan-list { counter-reset: ploi; }

ol.plan-list li {
  counter-increment: ploi;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
ol.plan-list li::before {
  content: counter(ploi);
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

ul.plan-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.plan-list-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  column-gap: 6px;
  row-gap: 6px;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.plan-list-row::-webkit-scrollbar { display: none; }
.plan-list-row li { white-space: nowrap; }
.plan-list-row li:not(:last-child)::after {
  content: "·";
  margin-left: 6px;
  color: #c7c7cc;
  font-weight: 700;
}

.plan-tag {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: #fff;
  background: linear-gradient(135deg, var(--gold) 0%, #8a6420 100%);
  padding: 2px 8px;
  border-radius: 999px;
  line-height: 1.4;
  box-shadow: 0 4px 10px rgba(184, 134, 46, 0.28);
}

.plan-hot {
  border-color: rgba(0, 113, 227, 0.28);
  background: linear-gradient(180deg, rgba(0, 113, 227, 0.05), #ffffff);
}

/* ============ Stepper ============ */
.stepper {
  list-style: none;
  margin: 48px 0 28px 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.step {
  display: flex;
  align-items: center;
  position: relative;
}

.step + .step::before {
  content: "";
  display: block;
  width: 64px;
  height: 1.5px;
  background: var(--border-strong);
  margin: 0 8px;
}

.step.done + .step::before,
.step.done::before {
  background: var(--primary);
}

.step .num {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #ffffff;
  border: 1.5px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--muted);
  font-size: 14px;
  transition: all 0.15s;
}

.step.active .num {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(0, 113, 227, 0.12);
}

.step.done .num {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ============ Card / Panel ============ */
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  max-width: 720px;
  margin: 0 auto;
}

.panel-title {
  margin: 0 0 8px 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--text);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.panel-head .panel-title { margin: 0; }

.hint {
  margin: 0 0 22px 0;
  color: var(--muted-2);
  font-size: 14px;
}

.field { display: block; margin-bottom: 18px; }

.label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 0.1px;
  font-weight: 500;
}

input[type="text"],
textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: 12px;
  padding: 13px 16px;
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

textarea {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder { color: #aeaeb2; }

input:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.14);
}

.err-line {
  display: block;
  min-height: 18px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--err);
}

/* ============ Alert (banner) ============ */
.alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 14px;
  margin-bottom: 18px;
  animation: bannerIn 0.18s ease-out;
  box-shadow: var(--shadow-xs);
}

.alert-ok {
  border-color: rgba(52, 199, 89, 0.35);
  background: rgba(52, 199, 89, 0.08);
  color: #1f6f33;
}

.alert-err {
  border-color: rgba(255, 59, 48, 0.4);
  background: rgba(255, 59, 48, 0.06);
  color: #a8201a;
}

.alert-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  background: rgba(52, 199, 89, 0.2);
  color: #2ca34a;
}

.alert-err .alert-icon {
  background: rgba(255, 59, 48, 0.18);
  color: #c0211a;
}

.alert-text { flex: 1; font-weight: 500; }

.alert-close {
  background: transparent;
  border: 0;
  color: inherit;
  opacity: 0.55;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}
.alert-close:hover { opacity: 1; }

@keyframes bannerIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ Bound-account card ============ */
.bind-card {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.bind-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.018em;
}

.bind-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1.5px solid var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
}

.bind-sub {
  color: var(--text-2);
  font-size: 15px;
  margin-bottom: 18px;
  line-height: 1.55;
}

.bind-sub b {
  color: var(--text);
  font-weight: 600;
  word-break: break-all;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 113, 227, 0.18) 60%);
  padding: 0 2px;
}

.bind-tip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  font-size: 13.5px;
  color: var(--muted-2);
  margin-bottom: 18px;
}

.bind-tip-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 159, 10, 0.18);
  color: #b76b00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-style: italic;
  font-family: serif;
  flex-shrink: 0;
}

.update-token {
  margin-top: 4px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.bind-foot {
  margin-top: 6px;
  text-align: center;
}

/* ============ Modal ============ */
.modal[hidden] { display: none; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 24, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modalIn 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 60px);
}

.modal-wide { max-width: 720px; }
.modal-narrow { max-width: 380px; }

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.modal-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.modal-close {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 8px;
}
.modal-close:hover { color: var(--text); }

.modal-body { padding: 20px; overflow: auto; }

@keyframes modalIn {
  from { opacity: 0; transform: translateY(8px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* getToken / confirmCharge 弹窗 */
.gt-head {
  text-align: center;
  padding: 28px 24px 8px;
  position: relative;
}

.gt-icon {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  margin: 0 auto 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 12px 28px rgba(0, 113, 227, 0.28);
}

.gt-icon-success {
  background: var(--ok);
  box-shadow: 0 12px 28px rgba(52, 199, 89, 0.30);
}

.gt-title {
  margin: 0 0 8px 0;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--text);
}

.gt-sub {
  margin: 0;
  font-size: 14px;
  color: var(--muted-2);
  line-height: 1.55;
}

.gt-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px 22px;
}

.confirm-list {
  list-style: none;
  margin: 8px 22px 0;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-2);
}

.confirm-list li {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  padding: 7px 0;
  font-size: 13.5px;
}

.confirm-list li + li { border-top: 1px solid var(--border); }

.confirm-list .ck {
  color: var(--muted);
  font-size: 12.5px;
}

.confirm-list .cv {
  color: var(--text);
  word-break: break-all;
  font-weight: 500;
}

.confirm-list .cv.muted { color: var(--muted); font-weight: 400; }

.btn-cta {
  appearance: none;
  border: 0;
  cursor: pointer;
  height: 46px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  transition: filter 0.15s, transform 0.05s;
}
.btn-cta:hover { filter: brightness(1.04); }
.btn-cta:active { transform: translateY(1px); }

.btn-cta-success {
  background: var(--ok);
  box-shadow: 0 8px 18px rgba(52, 199, 89, 0.26);
}

.btn-cta-info {
  background: var(--primary);
  box-shadow: 0 8px 18px rgba(0, 113, 227, 0.26);
}

.btn-cta-ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-cta-ghost:hover {
  filter: none;
  border-color: #b8babf;
}

/* ============ 卡密查询弹窗 ============ */
.lookup-batch { margin-top: 16px; }

.lookup-stats {
  border: 1px solid var(--border);
  background: var(--bg-2);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.lookup-stats-title {
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 13.5px;
  letter-spacing: -0.005em;
}

.lookup-stats-row {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12.5px;
  color: var(--muted-2);
  flex-wrap: wrap;
}

.lookup-stats-row b {
  color: var(--text);
  margin-left: 2px;
  font-weight: 600;
}

.lookup-stats-row .link-btn { margin-left: auto; }

.lookup-stats-row .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  margin-right: 6px;
  vertical-align: middle;
}

.dot-ok   { background: var(--ok); }
.dot-err  { background: var(--err); }
.dot-mute { background: var(--muted); }

.lookup-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.lookup-item {
  display: grid;
  grid-template-columns: minmax(190px, 1.2fr) 90px 1fr 1.2fr;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  align-items: center;
}
.lookup-item:nth-child(even) { background: var(--bg-2); }
.lookup-item:last-child { border-bottom: 0; }

.lookup-item .li-cdk {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12.5px;
  word-break: break-all;
  color: var(--text);
}

.lookup-item .li-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.lookup-item .li-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--muted);
}
.lookup-item.ok   .li-status::before { background: var(--ok); }
.lookup-item.warn .li-status::before { background: var(--warn); }
.lookup-item.err  .li-status::before { background: var(--err); }

.lookup-item .li-email {
  color: #b07a14;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12.5px;
  word-break: break-all;
}

.lookup-item .li-message {
  color: var(--muted);
  font-size: 12px;
  word-break: break-all;
}

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

/* ============ Step 3: 充值结果 ============ */
.result-grid {
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
}

.result-time {
  font-size: 12.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.3px;
}

.review-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.review-card-head {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.review-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.2px;
}

.review {
  list-style: none;
  margin: 0;
  padding: 0;
}

.review li {
  display: grid;
  grid-template-columns: 110px 1fr;
  padding: 14px 18px;
  font-size: 14px;
}

.review li + li { border-top: 1px solid var(--border); }

.review .rk {
  color: var(--muted);
  font-size: 13px;
}

.review .rv {
  word-break: break-all;
  color: var(--text);
  font-weight: 500;
}

.review .rv.muted { color: var(--muted); font-weight: 400; }

.mono {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 13.5px;
  letter-spacing: 0.3px;
}

.result {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 28px 28px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.result.ok {
  border-color: rgba(52, 199, 89, 0.32);
  background:
    radial-gradient(420px 160px at 50% 0%, rgba(52, 199, 89, 0.10), transparent 70%),
    #fff;
}

.result.warn {
  border-color: rgba(255, 159, 10, 0.36);
  background:
    radial-gradient(420px 160px at 50% 0%, rgba(255, 159, 10, 0.10), transparent 70%),
    #fff;
}

.result.err {
  border-color: rgba(255, 59, 48, 0.36);
  background:
    radial-gradient(420px 160px at 50% 0%, rgba(255, 59, 48, 0.08), transparent 70%),
    #fff;
}

.result-icon {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--border);
}

.result.ok .result-icon {
  background: var(--ok);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(52, 199, 89, 0.30);
}
.result.warn .result-icon {
  background: #ff9500;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(255, 149, 0, 0.30);
}
.result.err .result-icon {
  background: var(--err);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(255, 59, 48, 0.30);
}

.result-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.result-title {
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.018em;
  color: var(--text);
  margin-bottom: 8px;
}

.result-msg {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.55;
  max-width: 520px;
}

.result-extra {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.result-tip {
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.55;
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
}

.result-tip a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.result-tip-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  font-family: serif;
  font-style: italic;
}

.result-actions {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ Footer ============ */
.site-foot {
  max-width: 1100px;
  margin: 56px auto 0;
  padding: 28px 24px 40px;
  border-top: 1px solid var(--border);
}

.foot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.foot-title {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2px;
  margin-bottom: 8px;
  color: var(--text);
}

.foot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.9;
}

ol.foot-list { list-style: decimal inside; }

.foot-copy {
  margin-top: 22px;
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
}

/* ============ 移动端 ============ */
@media (max-width: 760px) {
  html, body { font-size: 15px; }
  .topbar { padding: 12px 18px; }
  .brand-title { font-size: 15px; }
  .brand-sub { font-size: 11.5px; }

  .hero { margin-top: 28px; padding: 0 16px; }
  .hero-title {
    font-size: clamp(26px, 8.6vw, 36px);
    letter-spacing: -0.022em;
    word-break: normal;
    overflow-wrap: anywhere;
  }
  .hero-sub { font-size: 15px; }
  .hero-tag { font-size: 12px; padding: 4px 10px; margin-bottom: 14px; }

  .plans {
    margin-top: 22px;
    gap: 10px;
    grid-template-columns: 1fr; /* 手机端单列堆叠，避免被挤扁 */
  }
  .plan { padding: 14px 16px; min-width: 0; }
  .plan-name { font-size: 13.5px; }
  .plan-tag { top: 10px; right: 10px; font-size: 9.5px; padding: 1px 7px; }

  .plan-list-row {
    flex-wrap: wrap;
    overflow-x: visible;
    white-space: normal;
  }
  .plan-list-row li { white-space: nowrap; }

  .container { margin-top: 24px; padding: 0 16px 16px; }
  .stepper { margin: 30px 0 22px; }
  .step + .step::before { width: 40px; }

  .card { padding: 24px 18px; border-radius: 18px; }
  .panel-title { font-size: 18px; }
  .hint { font-size: 13.5px; }

  .bind-card { padding: 22px 16px; border-radius: 18px; }
  .actions { flex-wrap: wrap; }

  .modal-card {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    border-radius: 18px;
  }

  .lookup-stats-row { flex-wrap: wrap; gap: 10px; }
  .site-foot { margin-top: 32px; padding: 22px 16px 28px; }
  .foot-grid { grid-template-columns: 1fr; gap: 18px; }

  .result { padding: 28px 20px 22px; border-radius: 16px; }
  .result-icon { width: 64px; height: 64px; font-size: 28px; }
  .result-title { font-size: 19px; }
  .result-msg { font-size: 14px; }

  .review li {
    grid-template-columns: 92px 1fr;
    padding: 12px 16px;
    font-size: 13.5px;
  }
  .review-card-head { padding: 10px 16px; }
  .result-tip { font-size: 12.5px; }
}
