/* ============================================================
 * skin_3 — Netflix 红黑影院风
 * 黑底 + 标志性 Netflix 红 (#E50914) + 大字粗体；保留所有 id/class 钩子
 * ============================================================ */

:root {
  --bg: #000000;            /* 纯黑 */
  --bg-2: #0a0a0a;          /* 二级黑 */
  --panel: #141414;         /* Netflix 卡片底（招牌色） */
  --panel-2: #1f1f1f;       /* 内嵌区底 */
  --panel-3: #2a2a2a;       /* hover/输入框底 */
  --border: #2a2a2a;
  --border-strong: #3a3a3a;
  --text: #ffffff;
  --text-2: #e5e5e5;
  --muted: #999999;
  --muted-2: #b3b3b3;        /* Netflix 副文字常用 */
  --primary: #E50914;        /* Netflix 红 */
  --primary-2: #f6121d;
  --primary-soft: rgba(229, 9, 20, 0.14);
  --ok: #46d369;             /* Netflix 配色：绿 */
  --warn: #ffb74d;
  --err: #ff4747;
  --gold: #f5b50a;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.5);
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.65);
  --shadow-lg: 0 32px 80px rgba(0, 0, 0, 0.75);
  --glow-red: 0 8px 28px rgba(229, 9, 20, 0.35);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.55 "Netflix Sans", "Helvetica Neue", "PingFang SC", "Microsoft YaHei",
       Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 全局 hero 聚光：从顶部中央向下淡出的红光 + 黑色背景 */
body::before {
  content: "";
  position: fixed;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 120vw;
  height: 60vh;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(229, 9, 20, 0.18), transparent 70%);
  z-index: 0;
}

/* 让所有真实内容浮在背光之上 */
body > * { position: relative; z-index: 1; }

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

/* ============ Topbar ============ */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0) 100%);
  position: sticky;
  top: 0;
  z-index: 30;
}

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

.brand-title {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.005em;
  color: var(--text);
}

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

.logo {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: var(--glow-red);
}

.logo svg { filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.32)); }

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

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

.platform-tag {
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--muted-2);
  letter-spacing: 0.4px;
}
.platform-tag[data-p="ios"]     { color: var(--primary); background: var(--primary-soft); border-color: rgba(229, 9, 20, 0.4); }
.platform-tag[data-p="android"] { color: #6ee69e; background: rgba(70, 211, 105, 0.14); border-color: rgba(70, 211, 105, 0.4); }

/* ============ Buttons ============ */
.btn-primary,
.btn-ghost {
  border-radius: 4px;       /* Netflix 偏直角 */
  padding: 11px 22px;
  font: inherit;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.2px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, 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: rgba(255, 255, 255, 0.10);
  border-color: transparent;
  color: var(--text);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); }
.btn-ghost[disabled] { opacity: 0.5; cursor: not-allowed; }

/* "获取 token" — 白底黑字 secondary CTA（Netflix 常见组合） */
.btn-grad-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 4px;
  padding: 11px 22px;
  font: inherit;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.2px;
  cursor: pointer;
  color: #000;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.08);
  transition: background 0.18s, transform 0.06s;
}
.btn-grad-gold:hover { background: #e5e5e5; }
.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: 4px;
  padding: 14px 16px;
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
  transition: filter 0.15s, transform 0.05s ease;
}
.btn-grad-cyan {
  background: var(--primary);
  box-shadow: var(--glow-red);
}
.btn-grad-orange {
  background: #b81d24;
  box-shadow: 0 8px 24px rgba(184, 29, 36, 0.4);
}
.btn-grad-cyan:hover { background: var(--primary-2); }
.btn-grad-orange:hover { background: #d62830; }
.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.18);
  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: 36px 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-headline { margin: 0 auto; max-width: 800px; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(229, 9, 20, 0.5);
  border-radius: 4px;
  padding: 5px 12px;
  margin-bottom: 22px;
  font-weight: 700;
}

.hero-title {
  margin: 0 auto 20px auto;
  font-size: clamp(36px, 6.2vw, 64px);  /* 视口窄了自动缩小，避免孤字换行 */
  line-height: 1.1;
  letter-spacing: -0.018em;
  font-weight: 900;            /* Netflix 厚黑体 */
  color: var(--text);
  max-width: 980px;            /* 放宽，正常 1100 容器下能放下整行 */
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  word-break: keep-all;        /* 中文词组优先整词折行，不切单字 */
  overflow-wrap: normal;
}

.hero-grad {
  background-image: linear-gradient(135deg, #ff5252 0%, var(--primary) 50%, #b81d24 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 14px;
  max-width: 640px;
  font-weight: 400;
}

.hero-sub .kw  { color: var(--text); font-weight: 600; }
.hero-sub .dot { color: rgba(229, 9, 20, 0.55); font-weight: 700; user-select: none; }

/* 套餐三卡：水平 3 等分网格，Netflix 影片卡的悬浮抬起感 */
.plans {
  list-style: none;
  margin: 42px 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: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.18s ease-out, box-shadow 0.2s, border-color 0.18s;
  text-align: left;
  min-width: 0;
}
.plan:hover {
  border-color: rgba(229, 9, 20, 0.7);
  box-shadow: 0 14px 32px rgba(229, 9, 20, 0.18), 0 8px 20px rgba(0, 0, 0, 0.6);
  transform: translateY(-4px) scale(1.015);
}

.plan-name {
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.2px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-name::before {
  content: "";
  width: 4px;
  height: 14px;
  border-radius: 1px;
  background: var(--primary);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(229, 9, 20, 0.6);
}

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

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);
  color: #fff;
  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: rgba(229, 9, 20, 0.45);
  font-weight: 700;
}

.plan-tag {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #fff;
  background: var(--primary);
  padding: 2px 8px;
  border-radius: 2px;
  line-height: 1.4;
  box-shadow: 0 4px 10px rgba(229, 9, 20, 0.55);
}

.plan-hot {
  border-color: rgba(229, 9, 20, 0.45);
  background: linear-gradient(180deg, rgba(229, 9, 20, 0.08), var(--panel));
}

/* ============ Stepper ============ */
.stepper {
  list-style: none;
  margin: 50px 0 30px 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: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--panel);
  border: 1.5px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  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(229, 9, 20, 0.18), 0 0 14px rgba(229, 9, 20, 0.5);
}

.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: 6px;
  padding: 36px 40px;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
}

.panel-title {
  margin: 0 0 8px 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  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: 12.5px;
  color: var(--muted-2);
  margin-bottom: 8px;
  letter-spacing: 0.4px;
  font-weight: 600;
  text-transform: uppercase;
}

input[type="text"],
textarea {
  width: 100%;
  background: var(--panel-3);
  border: 1px solid transparent;
  color: var(--text);
  border-radius: 4px;
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 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: #6e6e6e; }

input:focus,
textarea:focus {
  border-color: var(--primary);
  background: #2f2f2f;
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.18);
}

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

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

.alert-ok {
  border-color: rgba(70, 211, 105, 0.5);
  background: rgba(70, 211, 105, 0.10);
  color: #c1f5ce;
}

.alert-err {
  border-color: rgba(229, 9, 20, 0.5);
  background: rgba(229, 9, 20, 0.10);
  color: #ffd2d2;
}

.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(70, 211, 105, 0.22);
  color: #6ee69e;
}

.alert-err .alert-icon {
  background: rgba(229, 9, 20, 0.22);
  color: #ff8585;
}

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

.alert-close {
  background: transparent;
  border: 0;
  color: inherit;
  opacity: 0.5;
  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: var(--panel);
  border-radius: 6px;
  padding: 28px 32px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.bind-card::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 3px;
  background: var(--primary);
  border-radius: 6px 6px 0 0;
}

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

.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(--gold);
  font-weight: 700;
  word-break: break-all;
}

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

.bind-tip-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(245, 181, 10, 0.20);
  color: var(--gold);
  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 dashed var(--border-strong);
  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(0, 0, 0, 0.78);
  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: 6px;
  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);
}

/* 弹窗顶部红色细条标识（Netflix banner 风格） */
.modal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  z-index: 1;
}

.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: 700;
  letter-spacing: -0.012em;
}

.modal-close {
  background: transparent;
  border: 0;
  color: var(--muted-2);
  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: 30px 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: var(--glow-red);
}

.gt-icon-success {
  background: var(--ok);
  box-shadow: 0 12px 28px rgba(70, 211, 105, 0.32);
}

.gt-title {
  margin: 0 0 8px 0;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.012em;
  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: 4px;
  background: var(--panel-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-2);
  font-size: 12.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

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

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

.btn-cta {
  appearance: none;
  border: 0;
  cursor: pointer;
  height: 46px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  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.08); }
.btn-cta:active { transform: translateY(1px); }

.btn-cta-success {
  background: var(--ok);
  color: #0a2912;
  box-shadow: 0 8px 18px rgba(70, 211, 105, 0.26);
}

.btn-cta-info {
  background: var(--primary);
  box-shadow: var(--glow-red);
}

.btn-cta-ghost {
  background: rgba(255, 255, 255, 0.10);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-cta-ghost:hover {
  filter: none;
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--muted);
}

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

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

.lookup-stats-title {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 13.5px;
  color: var(--text);
}

.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: 700;
}

.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: 4px;
  overflow: hidden;
  background: var(--panel-2);
}

.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;
  background: var(--panel);
}
.lookup-item:nth-child(even) { background: var(--panel-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: 700;
}
.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: var(--gold);
  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-2);
  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-2);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.3px;
}

.review-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--panel);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  position: relative;
}

.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
}

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

.review-card-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted-2);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.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-2);
  font-size: 12.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-weight: 600;
}

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

.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: 6px;
  border: 1px solid var(--border);
  background: var(--panel);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.result::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
}

.result.ok {
  border-color: rgba(70, 211, 105, 0.4);
  background:
    radial-gradient(420px 160px at 50% 0%, rgba(70, 211, 105, 0.12), transparent 70%),
    var(--panel);
}
.result.ok::before { background: var(--ok); }

.result.warn {
  border-color: rgba(255, 183, 77, 0.42);
  background:
    radial-gradient(420px 160px at 50% 0%, rgba(255, 183, 77, 0.12), transparent 70%),
    var(--panel);
}
.result.warn::before { background: var(--warn); }

.result.err {
  border-color: rgba(229, 9, 20, 0.5);
  background:
    radial-gradient(420px 160px at 50% 0%, rgba(229, 9, 20, 0.12), transparent 70%),
    var(--panel);
}

.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(--panel-2);
  color: var(--text);
  border: 1px solid var(--border);
}

.result.ok .result-icon {
  background: var(--ok);
  color: #0a2912;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(70, 211, 105, 0.32);
}
.result.warn .result-icon {
  background: var(--warn);
  color: #2b1c00;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(255, 183, 77, 0.32);
}
.result.err .result-icon {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--glow-red);
}

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

.result-title {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.012em;
  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-2);
  font-size: 13px;
}

.result-tip {
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--panel-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);
  background: var(--bg-2);
}

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

.foot-title {
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
  color: var(--muted-2);
  text-transform: uppercase;
}

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

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

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

/* ============ 移动端 ============ */
@media (max-width: 760px) {
  .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(28px, 9vw, 38px);
    letter-spacing: -0.018em;
    word-break: normal;
    overflow-wrap: anywhere;
  }
  .hero-sub { font-size: 15px; }
  .hero-tag { font-size: 11.5px; padding: 4px 10px; margin-bottom: 16px; }

  .plans {
    margin-top: 26px;
    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: 32px 0 22px; }
  .step + .step::before { width: 40px; }

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

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

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

  .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; }
  .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; }
}
