/* ============================================================
 * Coinbase 落地页 · 样式
 * ------------------------------------------------------------
 * 设计 token 取自 Coinbase 公开设计系统：
 *   单一品牌蓝 #0052ff · 白 / #f7f7f7 / #0a0b0d 三档表面 ·
 *   标题 weight 400（不是 700）· 按钮一律 pill(100px) · 卡片 24px
 * 移动优先：内容最大 480px 居中，桌面下即为「手机版」观感。
 * ============================================================ */

:root {
  /* 品牌 & 强调 */
  --brand: #0052ff;
  --brand-active: #003ecc;
  --brand-soft: rgba(0, 82, 255, 0.08);
  --brand-disabled: #a8b8cc;
  --accent-yellow: #f4b000;

  /* 三档表面 */
  --canvas: #ffffff;
  --surface-soft: #f7f7f7;
  --surface-strong: #eef0f3;
  --surface-dark: #0a0b0d;
  --surface-dark-up: #16181c;

  /* 文字 */
  --ink: #0a0b0d;
  --body: #5b616e;
  --muted: #7c828a;
  --muted-soft: #a8acb3;
  --on-dark: #ffffff;
  --on-dark-soft: #a8acb3;

  /* 描边 */
  --hairline: #dee1e6;
  --hairline-soft: #eef0f3;

  /* 涨跌（Coinbase 原生语义色） */
  --up: #05b169;
  --down: #cf202f;

  /* 几何 */
  --r-card: 24px;
  --r-pill: 100px;
  --r-btn: 12px;
  --shadow: 0 1px 2px rgba(10, 11, 13, 0.06);
  --ease: cubic-bezier(0.2, 0, 0, 1);

  --font: "CoinbaseDisplay", "Coinbase Display", "CoinbaseSans",
    "Coinbase Sans", "Inter", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--canvas);
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
sup { font-size: 0.62em; line-height: 0; vertical-align: super; }

/* ---------- 版心 ---------- */
.app { max-width: 480px; margin: 0 auto; background: var(--canvas); }
.wrap { padding: 0 20px; }

/* ---------- 标题与正文 ---------- */
.h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.h2.on-dark { color: var(--on-dark); }

.lede {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
}

.lede.on-dark { color: var(--on-dark-soft); }

.kicker {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.16s var(--ease), border-color 0.16s var(--ease),
    color 0.16s var(--ease);
}

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-active); }
.btn-primary:disabled { background: var(--brand-disabled); cursor: default; }

/* 深色/彩色底上的白色按钮 */
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: #eaf0ff; }

.btn-soft {
  background: var(--surface-strong);
  color: var(--ink);
}

.btn-soft:hover { background: var(--hairline); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn-full { width: 100%; }

/* ---------- 区块 ---------- */
.sec { padding: 44px 0; }
.sec-white { background: var(--canvas); }
.sec-soft { background: var(--surface-soft); }
.sec-dark { background: var(--surface-dark); }

.band .lede { max-width: 40ch; }

.sec .btn-lg, .sec .btn-soft { margin-top: 22px; }

/* ============================================================
 * 顶部限时活动条（在导航之上，随页面滚走）
 * ============================================================ */
.promo-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 8px 16px;
  border: 0;
  background: linear-gradient(100deg, #0052ff 0%, #0040cf 100%);
  font: inherit;
  text-align: left;
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.ps-ico { width: 18px; height: 18px; flex: none; opacity: 0.95; }

.ps-tx {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ps-cta {
  flex: none;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* ============================================================
 * 顶部导航
 * ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 56px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}

.nav.stuck { border-bottom-color: var(--hairline); }

.brand { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.brand-mark { width: 26px; height: 26px; flex: none; }

.brand-word {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.nav-right { display: flex; align-items: center; gap: 10px; flex: none; }

/* ---------- 语言切换（两段式药丸） ---------- */
.langs {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: none;
  padding: 2px;
  border-radius: var(--r-pill);
  background: var(--surface-strong);
}

.lang-btn {
  min-width: 30px;
  height: 26px;
  padding: 0 7px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: var(--body);
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease);
}

.lang-btn.on {
  background: var(--canvas);
  color: var(--brand);
  box-shadow: var(--shadow);
}

/* 抽屉里的大号版本 */
.langs-full { display: flex; margin-top: 12px; }
.langs-full .lang-btn { flex: 1; height: 34px; font-size: 13px; }

.nav-burger {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-burger:hover { background: var(--surface-strong); }
.nav-burger svg { width: 22px; height: 22px; }

/* 窄屏：收紧导航内距，保证「品牌 + 语言 + 主按钮 + 汉堡」一行放得下 */
@media (max-width: 400px) {
  .nav { gap: 8px; padding: 0 12px; }
  .nav-right { gap: 6px; }
  .brand-word { font-size: 17px; }
  .nav .btn-sm { padding: 0 12px; font-size: 13px; }
}

/* ============================================================
 * 抽屉菜单
 * ============================================================ */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.24s var(--ease), visibility 0s linear 0.24s;
}

.drawer.on {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition: opacity 0.24s var(--ease), visibility 0s;
}

.drawer-mask { position: absolute; inset: 0; background: rgba(10, 11, 13, 0.5); }

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 360px);
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  border-radius: var(--r-card) 0 0 var(--r-card);
  box-shadow: -8px 0 32px rgba(10, 11, 13, 0.14);
  transform: translateX(100%);
  transition: transform 0.28s var(--ease);
}

.drawer.on .drawer-panel { transform: none; }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 4px;
}

.drawer-title { font-size: 13px; font-weight: 700; color: var(--muted); }

.drawer-x {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.drawer-x:hover { background: var(--surface-strong); }
.drawer-x svg { width: 18px; height: 18px; }

.drawer-nav { flex: 1; overflow-y: auto; padding: 8px 8px 0; overscroll-behavior: contain; }

.dnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
}

.dnav:hover { background: var(--surface-soft); }
.dnav-tx b { display: block; font-size: 15px; font-weight: 600; }
.dnav-tx i { display: block; font-size: 12.5px; font-style: normal; color: var(--muted); }
.dnav svg { width: 18px; height: 18px; flex: none; color: var(--muted-soft); }

.drawer-foot {
  padding: 14px 16px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--hairline-soft);
}

.drawer-signin {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}

/* ============================================================
 * Hero
 * ============================================================ */
.hero {
  padding: 36px 0 44px;
  background: var(--surface-dark);
  color: var(--on-dark);
}

.hero-h1 {
  margin: 0;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero-sub {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--on-dark-soft);
}

.hero .btn { margin-top: 24px; }

.hero-note {
  margin: 14px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: #6b7078;
}

/* ---------- App 界面 mockup ---------- */
.mock {
  margin-top: 30px;
  border-radius: var(--r-card);
  background: var(--surface-dark-up);
  border: 1px solid #22252b;
  padding: 14px;
}

.mock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 12px;
}

.mock-dots { display: inline-flex; gap: 4px; }
.mock-dots i { width: 6px; height: 6px; border-radius: 50%; background: #3a3e46; }
.mock-time { font-size: 11px; font-weight: 600; color: var(--on-dark-soft); }

.mock-body { text-align: left; }

.mock-lb { display: block; font-size: 12px; color: var(--on-dark-soft); }

.mock-bal {
  display: block;
  margin-top: 2px;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.mock-chg { display: block; margin-top: 4px; font-size: 12.5px; color: var(--up); }

.mock-acts { display: flex; gap: 8px; margin: 16px 0 4px; }

.mock-act {
  flex: 1;
  padding: 9px 0;
  border-radius: var(--r-pill);
  background: #23262c;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #e8e9eb;
}

.mock-act.on { background: var(--brand); color: #fff; }

.mock-list { margin-top: 12px; }

.mock-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #212429;
}

.mock-row .coin { width: 28px; height: 28px; }
.mock-tx b { display: block; font-size: 13.5px; font-weight: 600; color: #fff; }
.mock-tx i { font-size: 11.5px; font-style: normal; color: var(--on-dark-soft); }
.mock-px { text-align: right; }
.mock-px b { display: block; font-size: 13.5px; font-weight: 600; color: #fff; }
.mock-px i { font-size: 11.5px; font-style: normal; }

/* ============================================================
 * 限时空投宣传区
 * ============================================================ */
.promo {
  padding: 40px 0 44px;
  background: linear-gradient(158deg, #0052ff 0%, #0037b4 100%);
  color: #fff;
}

.promo-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.18);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.promo-h2 {
  margin: 14px 0 0;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.018em;
  color: #fff;
}

.promo-sub {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.promo-lab {
  margin: 24px 0 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.promo-clock {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.pc-cell {
  padding: 12px 4px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  text-align: center;
}

.pc-cell b {
  display: block;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.pc-cell span {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.72);
}

.promo-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.promo-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.promo-list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
}

.promo .btn { margin-top: 26px; }

/* ============================================================
 * 行情列表
 * ============================================================ */
.tabs {
  display: flex;
  gap: 8px;
  margin: 22px 0 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar { display: none; }

.tab {
  flex: none;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: var(--canvas);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--body);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.16s var(--ease), border-color 0.16s var(--ease),
    color 0.16s var(--ease);
}

.tab.on {
  background: var(--brand-soft);
  border-color: rgba(0, 82, 255, 0.28);
  color: var(--brand);
}

.rows { margin-top: 6px; }

.row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline-soft);
}

.row .coin { width: 36px; height: 36px; }
.row-tx b { display: block; font-size: 15px; font-weight: 600; }
.row-tx i { font-size: 12.5px; font-style: normal; color: var(--muted); }
.row-px { text-align: right; }
.row-px b { display: block; font-size: 15px; font-weight: 600; }
.row-px i { font-size: 12.5px; font-style: normal; font-weight: 600; }

.up { color: var(--up); }
.down { color: var(--down); }

/* ============================================================
 * 中部深色区块里的 mockup（股票 / 杠杆 / 预测 / 图表）
 * ============================================================ */
.mock-dark { background: var(--surface-dark-up); }
.mock-light { background: var(--canvas); border-color: var(--hairline); }
.mock-light .mock-body { color: var(--ink); }

.stock-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 10px;
}

.stock-tk { font-size: 17px; font-weight: 700; color: #fff; }
.stock-nm { font-size: 12.5px; color: var(--on-dark-soft); }
.stock-px { font-size: 17px; font-weight: 600; color: #fff; }
.chart-px { font-size: 15px; font-weight: 600; }
.stock-chg, .chart-chg { font-size: 12.5px; font-weight: 600; text-align: right; }
.stock-head .stock-px { text-align: right; }

.spark { margin: 14px 0 12px; height: 40px; }
.spark svg { width: 100%; height: 100%; }

.stock-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #212429;
}

.stock-meta span { display: block; }
.stock-meta i { display: block; font-size: 11px; font-style: normal; color: var(--on-dark-soft); }
.stock-meta b { font-size: 12.5px; font-weight: 600; color: #fff; }

.mock-zero {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(5, 177, 105, 0.14);
  color: var(--up);
  font-size: 12px;
  font-weight: 700;
}

/* 杠杆卡 */
.lev-head { display: flex; align-items: center; justify-content: space-between; }
.lev-sym { font-size: 15px; font-weight: 700; }
.lev-badge {
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: rgba(5, 177, 105, 0.12);
  color: var(--up);
  font-size: 11.5px;
  font-weight: 700;
}

.lev-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  font-size: 13.5px;
  border-bottom: 1px solid var(--hairline-soft);
}

.lev-row span { color: var(--body); }

.lev-bar {
  height: 6px;
  margin: 14px 0 8px;
  border-radius: 3px;
  background: var(--surface-strong);
  overflow: hidden;
}

.lev-bar i { display: block; height: 100%; border-radius: 3px; background: var(--brand); }

.lev-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--body);
}

/* 预测卡 */
.pcard {
  margin-top: 26px;
  padding: 18px;
  border-radius: var(--r-card);
  background: var(--surface-dark-up);
  border: 1px solid #22252b;
}

.pcard-q { margin: 0; font-size: 15px; font-weight: 600; color: #fff; line-height: 1.45; }

.pcard-bar {
  height: 8px;
  margin: 16px 0 12px;
  border-radius: 4px;
  background: rgba(207, 32, 47, 0.32);
  overflow: hidden;
}

.pcard-bar i { display: block; height: 100%; background: var(--up); }

.pcard-opt { display: flex; gap: 10px; }

.pcard-yes, .pcard-no {
  flex: 1;
  padding: 10px;
  border-radius: var(--r-btn);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.pcard-yes { background: rgba(5, 177, 105, 0.16); color: var(--up); }
.pcard-no { background: rgba(207, 32, 47, 0.16); color: #ff8189; }

.pcard-vol { margin: 12px 0 0; font-size: 12px; color: var(--on-dark-soft); }

/* 图表卡 */
.chart-head { display: flex; align-items: baseline; gap: 10px; }
.chart-head b { font-size: 15px; }
.chart-head .chart-chg { margin-left: auto; }

.chart { margin: 14px 0 10px; height: 132px; }
.chart svg { width: 100%; height: 100%; }
.gridlines line { stroke: var(--hairline-soft); stroke-width: 1; vector-effect: non-scaling-stroke; }

.chart-tfs { display: flex; gap: 6px; }

.chart-tfs span {
  padding: 5px 11px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.chart-tfs span.on { background: var(--brand-soft); color: var(--brand); }

/* ============================================================
 * 资产网格
 * ============================================================ */
.asset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.acard {
  padding: 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  background: var(--canvas);
}

.acard .coin { width: 34px; height: 34px; }
.acard-sym { display: block; margin-top: 12px; font-size: 16px; font-weight: 700; }
.acard-nm { display: block; font-size: 12.5px; color: var(--muted); }
.acard-chg { display: block; margin-top: 10px; font-size: 13px; font-weight: 700; }

/* ============================================================
 * 产品卡
 * ============================================================ */
.prods { display: grid; gap: 16px; margin-top: 26px; }

.prod {
  padding: 22px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  background: var(--canvas);
}

.prod-art {
  display: block;
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 18px;
  background: var(--surface-dark);
}

.part { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.part-bar {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: #23262c;
  overflow: hidden;
}

.part-bar i { display: block; height: 100%; background: var(--brand); border-radius: 4px; }

.part-tag {
  flex: none;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--surface-dark-up);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
}

.part-dots { display: flex; gap: 6px; }

.part-dots i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface-dark-up);
}

.part-dots i:nth-child(2) { background: var(--brand); }
.part-dots i:nth-child(4) { background: #23262c; }

.prod h3, .lcard h3 {
  margin: 10px 0 0;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.012em;
}

.prod p, .lcard p {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--body);
}

.prod .btn, .lcard .btn { margin-top: 18px; }

/* ============================================================
 * 数据带
 * ============================================================ */
.stats { background: var(--surface-dark); padding: 32px 0; }

.stats-in {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  text-align: center;
}

.stat b {
  display: block;
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
}

.stat span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--on-dark-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================================
 * 信任区块
 * ============================================================ */
.trust-list { margin-top: 24px; }

.trust {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline-soft);
}

.line-ico { width: 26px; height: 26px; color: var(--brand); }
.trust-tx b { display: block; font-size: 16px; font-weight: 600; }

.trust-tx p {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
}

/* ============================================================
 * 开户三步
 * ============================================================ */
.steps { margin-top: 24px; }

.step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
}

.step-n {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.step-tx b { display: block; font-size: 16px; font-weight: 600; line-height: 1.4; }

.step-tx p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
}

/* ============================================================
 * Learn 卡 + FAQ
 * ============================================================ */
.learn-grid { display: grid; gap: 16px; margin-top: 24px; }

.lcard {
  padding: 22px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  background: var(--canvas);
}

.lart {
  display: block;
  margin-bottom: 18px;
  padding: 20px 18px;
  border-radius: 18px;
  background: var(--surface-soft);
}

.lart-bars { display: flex; align-items: flex-end; gap: 8px; height: 56px; }

.lart-bars i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--brand);
  opacity: 0.85;
}

.lart-bars i:nth-child(2n) { opacity: 0.5; }

.lart-lines { display: grid; gap: 9px; align-content: center; height: 56px; }

.lart-lines i {
  height: 9px;
  border-radius: 5px;
  background: var(--hairline);
}

.lart-lines i:first-child { width: 100%; background: var(--brand); }
.lart-lines i:nth-child(2) { width: 82%; }
.lart-lines i:nth-child(3) { width: 92%; }
.lart-lines i.short { width: 54%; }

.faq { margin-top: 28px; }

.qa { border-bottom: 1px solid var(--hairline); }

.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { width: 20px; height: 20px; flex: none; color: var(--muted); transition: transform 0.2s var(--ease); }
.qa[open] summary svg { transform: rotate(180deg); }

.qa p {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--body);
}

/* ============================================================
 * 下载 App
 * ============================================================ */
.stores { display: grid; gap: 12px; margin-top: 24px; }

.store {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-radius: 14px;
  background: #fff;
}

.store img { width: 26px; height: 26px; flex: none; }
.store span { display: block; line-height: 1.15; }
.store i { display: block; font-size: 10.5px; font-style: normal; color: var(--muted); }

.store b { font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }

.rate {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--on-dark-soft);
}

.rate-stars { color: var(--accent-yellow); letter-spacing: 2px; }
.rate-tx b { color: #fff; }

/* ============================================================
 * 结尾 CTA
 * ============================================================ */
.final { padding: 52px 0 60px; background: var(--surface-dark); }
.final .btn { margin-top: 24px; }

/* ============================================================
 * 页脚
 * ============================================================ */
.foot {
  padding: 40px 0 calc(28px + 84px + env(safe-area-inset-bottom));
  background: var(--surface-dark);
  border-top: 1px solid #1c1f24;
}

.brand-foot { margin-bottom: 20px; }
.brand-foot .brand-word { color: #fff; }

.socials { display: flex; gap: 10px; margin-bottom: 28px; }

.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-dark-up);
}

.socials a:hover { background: #23262c; }
.socials img { width: 17px; height: 17px; filter: brightness(0) invert(1); opacity: 0.9; }

.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }

.fcol b { display: block; margin-bottom: 10px; font-size: 13px; color: #fff; }

.fcol a {
  display: block;
  padding: 5px 0;
  font-size: 13.5px;
  color: var(--on-dark-soft);
}

.fcol a:hover { color: #fff; }

.foot-note {
  margin: 24px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: #6b7078;
}

.foot-copy {
  margin: 18px 0 0;
  font-size: 11.5px;
  color: #5c6169;
}

/* ============================================================
 * 底部领取条
 * ============================================================ */
.abar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--hairline);
  transform: translateY(115%);
  transition: transform 0.3s var(--ease);
}

.abar.on { transform: none; }

.abar-in {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 448px;
  margin: 0 auto;
}

.abar-tx { flex: 1; min-width: 0; line-height: 1.25; }
.abar-tx b { display: block; font-size: 14.5px; font-weight: 700; }
.abar-tx span { display: block; font-size: 11.5px; color: var(--muted); }

.abar .btn {
  flex: none;
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
  white-space: nowrap;
}

/* ============================================================
 * 空投弹窗
 * ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.26s var(--ease), visibility 0s linear 0.26s;
}

.modal.on {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition: opacity 0.26s var(--ease), visibility 0s;
}

.modal-mask { position: absolute; inset: 0; background: rgba(10, 11, 13, 0.62); }

.modal-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  max-height: min(88vh, 720px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 26px 22px 22px;
  border-radius: var(--r-card);
  background: var(--canvas);
  box-shadow: 0 16px 48px rgba(10, 11, 13, 0.28);
  transform: translateY(16px) scale(0.985);
  transition: transform 0.3s var(--ease);
}

.modal.on .modal-card { transform: none; }

.mstate { text-align: center; }

.m-x {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--ink);
  cursor: pointer;
}

.m-x:hover { background: var(--surface-strong); }
.m-x svg { width: 16px; height: 16px; }

.m-mark { display: inline-block; margin-bottom: 12px; }
.m-mark svg { width: 40px; height: 40px; }

.m-kicker {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.m-title {
  margin: 6px 0 0;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.018em;
}

.m-sub {
  margin: 10px auto 0;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
}

/* 结果卡里的大号金额 */
.m-amt {
  display: block;
  margin-top: 8px;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--brand);
}

.m-form { margin-top: 22px; text-align: left; }

.fi { display: block; }
.fi + .fi { margin-top: 14px; }

.fi-lb {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.fi-ctrl { position: relative; display: block; }

.fi-ctrl input {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-btn);
  background: var(--canvas);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.fi-ctrl input::placeholder { color: var(--muted-soft); }

.fi-ctrl input:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.14);
}

.fi-err {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--down);
}

.fi.err input { border-color: var(--down); }
.fi.err input:focus { box-shadow: 0 0 0 3px rgba(207, 32, 47, 0.14); }

.m-form .btn { margin-top: 20px; }

.m-note {
  margin: 14px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- 领取中 ---------- */
.ring-wrap {
  position: relative;
  width: 148px;
  height: 148px;
  margin: 22px auto 0;
}

.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--surface-strong); stroke-width: 9; }

.ring-fg {
  fill: none;
  stroke: var(--brand);
  stroke-width: 9;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.9s linear;
}

.ring-tx {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 2px;
}

.ring-tx b { font-size: 38px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.ring-tx i { font-size: 12px; font-style: normal; color: var(--muted); }

.prog {
  height: 5px;
  margin: 20px 0 0;
  border-radius: 3px;
  background: var(--surface-strong);
  overflow: hidden;
}

.prog span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 3px;
  background: var(--brand);
  transition: width 0.9s linear;
}

.steps-list { margin-top: 22px; text-align: left; }

.step-line {
  position: relative;
  padding: 9px 0 9px 26px;
  font-size: 13.5px;
  color: var(--muted-soft);
  transition: color 0.3s var(--ease);
}

.step-line::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--surface-strong);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.step-line.on { color: var(--ink); font-weight: 600; }
.step-line.on::before { background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }

/* ---------- 完成 ---------- */
.m-ok {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 4px auto 16px;
  border-radius: 50%;
  background: rgba(5, 177, 105, 0.12);
  color: var(--up);
}

.m-ok svg { width: 28px; height: 28px; }

.m-receipt {
  margin-top: 20px;
  padding: 16px;
  border-radius: var(--r-btn);
  background: var(--surface-soft);
  text-align: left;
}

.rc-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 0;
  font-size: 13.5px;
}

.rc-row + .rc-row { border-top: 1px solid var(--hairline-soft); }
.rc-row span { flex: none; color: var(--body); }
.rc-row b { text-align: right; font-weight: 600; word-break: break-word; }

#mDone .btn { margin-top: 20px; }
#mClaimed .btn { margin-top: 20px; }

/* ---------- 已领取：中性色版本，跟「刚领到」的绿色态区分开 ---------- */
.m-ok.is-idle { background: var(--surface-strong); color: var(--brand); }
.m-amt.is-idle { color: var(--ink); }

/* ============================================================
 * 行情来源徽标（实时 / 抓取中 / 回退到快照）
 * ============================================================ */
.live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--surface-soft);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--body);
}

.live-dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted-soft);
}

.live[data-state="live"] { background: rgba(5, 177, 105, 0.1); color: #05734a; }

.live[data-state="live"] .live-dot {
  background: var(--up);
  animation: livePulse 2s ease-out infinite;
}

.live[data-state="fail"] { background: rgba(244, 176, 0, 0.14); color: #8a6300; }
.live[data-state="fail"] .live-dot { background: var(--accent-yellow); }

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(5, 177, 105, 0.45); }
  70% { box-shadow: 0 0 0 6px rgba(5, 177, 105, 0); }
  100% { box-shadow: 0 0 0 0 rgba(5, 177, 105, 0); }
}

/* ============================================================
 * 已领取状态：把「领取」类入口降级成中性色，避免还在喊领
 * （根节点由 JS 打上 .is-claimed）
 * ============================================================ */
.is-claimed .promo-strip {
  background: linear-gradient(100deg, #3f444c 0%, #23262b 100%);
}

.is-claimed .promo-strip .ps-cta {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.is-claimed .promo .btn-light {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.is-claimed .abar .btn-primary {
  background: var(--surface-strong);
  color: var(--muted);
}

/* 页脚的「重置示范数据」，只在已领取时出现 */
.foot-reset {
  display: block;
  margin: 18px auto 0;
  padding: 6px 4px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.foot-reset[hidden] { display: none; }
.foot-reset:hover { color: var(--brand); }

/* ============================================================
 * 动效偏好
 * ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* 比 480px 宽的窗口：把「手机版」居中，两侧用浅灰衬托，避免露白边 */
@media (min-width: 481px) {
  body { background: var(--surface-soft); }
  .app { box-shadow: 0 0 0 1px var(--hairline); }
}
