﻿:root {
  --bg: #080a0f;
  --bg-2: #0b0e15;
  --panel: #11141c;
  --panel-2: #171b26;
  --line: #232838;
  --line-soft: #1b2030;
  --text: #eaeef8;
  --muted: #8f98ad;
  --dim: #5d6478;
  --accent: #7c6bff;
  --accent-2: #22d3ee;
  --accent-3: #5b8dff;
  --up: #2ee6a8;
  --down: #ff5c7a;
  --gold: #f5b544;
  --pink: #ff5cc8;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  --glow: 0 0 0 1px rgba(124, 107, 255, 0.28), 0 18px 46px rgba(124, 107, 255, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1100px 520px at 8% -12%, rgba(124, 107, 255, 0.20), transparent 62%),
    radial-gradient(900px 460px at 96% -4%, rgba(34, 211, 238, 0.12), transparent 58%),
    radial-gradient(700px 500px at 50% 110%, rgba(91, 141, 255, 0.08), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 70%);
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(124, 107, 255, 0.35); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ── 顶栏 ─────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  background: rgba(8, 10, 15, 0.72);
  border-bottom: 1px solid var(--line-soft);
}
.topbar-inner { height: 66px; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.2px; font-size: 15px; }
.brand-logo { width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 8px 22px rgba(124, 107, 255, 0.38); }
.brand-mark {
  width: 32px; height: 32px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; font-size: 15px; color: #fff; font-weight: 800;
  box-shadow: 0 8px 22px rgba(124, 107, 255, 0.38);
}
.nav { display: flex; gap: 4px; }
.nav a {
  padding: 8px 13px; border-radius: 10px; color: var(--muted);
  font-weight: 500; font-size: 13.5px; transition: color 0.16s, background 0.16s;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav a.active { color: var(--text); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.chain-pill {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 10px var(--up); }

/* ── 按钮 ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line);
  font-weight: 600; font-size: 13.5px; transition: transform 0.15s, border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.btn:hover { border-color: #333c56; background: rgba(255, 255, 255, 0.07); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, #7c6bff 0%, #5b8dff 55%, #22d3ee 120%);
  border: none; color: #06080d; font-weight: 700;
  box-shadow: 0 12px 28px rgba(124, 107, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { filter: brightness(1.06); box-shadow: 0 16px 34px rgba(124, 107, 255, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-ghost { background: transparent; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.42; cursor: not-allowed; filter: none; transform: none; }

/* ── 卡片 ─────────────────────────────────────── */
.card {
  background: linear-gradient(180deg, rgba(23, 27, 38, 0.92), rgba(15, 18, 26, 0.86));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.card:hover { border-color: #2e3548; }
.card-tight { padding: 16px; }
.card-title { font-size: 12.5px; color: var(--muted); font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; }
.section { padding: 54px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; gap: 16px; }
.section-head h2 { font-size: 24px; letter-spacing: -0.4px; }
.section-head p { color: var(--muted); font-size: 13px; margin-top: 5px; }

.eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--accent-2); margin-bottom: 10px;
}

/* ── Hero ─────────────────────────────────────── */
.hero { padding: 72px 0 44px; }
.hero h1 {
  font-size: 52px; line-height: 1.08; letter-spacing: -1.6px; font-weight: 800;
  background: linear-gradient(118deg, #ffffff 22%, #b9b2ff 58%, #6ee7f5 96%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  max-width: 760px;
}
.hero p { color: var(--muted); font-size: 15.5px; margin-top: 18px; max-width: 600px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 46px; }
.stat {
  padding: 18px 18px 16px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(23, 27, 38, 0.75), rgba(13, 16, 23, 0.65));
  border: 1px solid var(--line); position: relative; overflow: hidden;
}
.stat::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2)); border-radius: 2px;
}
.stat .k { font-size: 12px; color: var(--muted); }
.stat .v { font-size: 26px; font-weight: 700; margin-top: 5px; letter-spacing: -0.6px; font-variant-numeric: tabular-nums; }
.stat .v small { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 4px; }

/* ── 筛选 ─────────────────────────────────────── */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 15px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--muted); background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line);
  transition: all 0.15s;
}
.chip:hover { color: var(--text); }
.chip.active { color: #0a0c11; background: linear-gradient(135deg, #8f80ff, #37d7ea); border-color: transparent; }

/* ── 代币卡片 ─────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.token-card {
  background: linear-gradient(180deg, rgba(23, 27, 38, 0.9), rgba(13, 16, 23, 0.82));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: flex; flex-direction: column; gap: 15px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.token-card:hover { transform: translateY(-4px); border-color: #343d55; box-shadow: var(--shadow); }
.tc-head { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  font-weight: 800; font-size: 15px; color: #06080d; flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}
.tc-name { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.tc-sub { font-size: 12px; color: var(--dim); }
.badge {
  font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  letter-spacing: 0.5px; text-transform: uppercase; white-space: nowrap;
}
.badge.standard { color: var(--gold); background: rgba(245, 181, 68, 0.12); border: 1px solid rgba(245, 181, 68, 0.3); }
.badge.quick { color: var(--accent-2); background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.28); }
.badge.pob { color: var(--pink); background: rgba(255, 92, 200, 0.1); border: 1px solid rgba(255, 92, 200, 0.28); }
.badge.live { color: var(--up); background: rgba(46, 230, 168, 0.1); border: 1px solid rgba(46, 230, 168, 0.25); }
.badge.minting { color: var(--gold); background: rgba(245, 181, 68, 0.1); border: 1px solid rgba(245, 181, 68, 0.25); }

.progress { height: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.progress > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 14px rgba(124, 107, 255, 0.5); }
.pg-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; font-variant-numeric: tabular-nums; }
.tc-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 13px; border-top: 1px solid var(--line-soft); }
.price { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.delta { font-size: 12.5px; font-weight: 600; }
.delta.up { color: var(--up); }
.delta.down { color: var(--down); }

/* ── 详情页 ───────────────────────────────────── */
.detail-grid { display: grid; grid-template-columns: 1fr 384px; gap: 18px; align-items: start; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 12px; }
.tabs { display: flex; gap: 4px; background: rgba(255, 255, 255, 0.04); border-radius: 12px; padding: 4px; }
.tab { padding: 7px 14px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--muted); }
.tab.active { background: #232a3c; color: var(--text); }

.trade-box { display: flex; flex-direction: column; gap: 12px; }
.field {
  background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); border-radius: 14px;
  padding: 13px 15px; transition: border-color 0.15s;
}
.field:focus-within { border-color: rgba(124, 107, 255, 0.55); }
.field label { font-size: 12px; color: var(--muted); display: block; margin-bottom: 6px; }
.field input {
  width: 100%; background: none; border: none; outline: none;
  font-size: 22px; font-weight: 700; letter-spacing: -0.5px; font-variant-numeric: tabular-nums;
}
.field .hint { font-size: 12px; color: var(--dim); margin-top: 6px; }
.quick-amt { display: flex; gap: 6px; margin-top: 10px; }
.quick-amt button {
  flex: 1; padding: 7px 0; border-radius: 9px; font-size: 12px; font-weight: 600;
  background: rgba(255, 255, 255, 0.04); color: var(--muted); border: 1px solid var(--line);
  transition: all 0.15s;
}
.quick-amt button:hover { color: var(--text); border-color: #333c56; }

.split-row { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; }
.split-row span:first-child { color: var(--muted); }
.split-row b { font-weight: 600; font-variant-numeric: tabular-nums; }
.divider { height: 1px; background: var(--line-soft); margin: 12px 0; }

.timeline { display: flex; gap: 8px; margin-top: 12px; }
.tl-step { flex: 1; }
.tl-bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.tl-bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.tl-label { font-size: 11px; color: var(--dim); margin-top: 6px; }
.tl-val { font-size: 12.5px; font-weight: 600; margin-top: 2px; font-variant-numeric: tabular-nums; }

.kv { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 13px; }
.kv span { color: var(--muted); }
.kv b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.mono { font-family: "SF Mono", "JetBrains Mono", Consolas, monospace; font-size: 12px; }
.addr { color: var(--dim); }
.copy, .copybtn { color: var(--accent-2); cursor: pointer; margin-left: 6px; font-size: 11px; }
.copy:hover, .copybtn:hover { text-decoration: underline; }

.notice {
  border: 1px solid rgba(245, 181, 68, 0.26); background: rgba(245, 181, 68, 0.06);
  border-radius: 14px; padding: 13px 15px; font-size: 12.5px; color: #e8c98b; line-height: 1.7;
}
.notice.danger { border-color: rgba(255, 92, 122, 0.3); background: rgba(255, 92, 122, 0.06); color: #ffb3c1; }
.notice.ok { border-color: rgba(46, 230, 168, 0.28); background: rgba(46, 230, 168, 0.06); color: #9df0d2; }

/* ── 创建页 ───────────────────────────────────── */
.steps { display: flex; gap: 10px; margin-bottom: 28px; }
.step {
  flex: 1; display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
}
.step .n {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, 0.07); color: var(--muted);
}
.step.active { border-color: rgba(124, 107, 255, 0.55); background: rgba(124, 107, 255, 0.09); }
.step.active .n { background: var(--accent); color: #06080d; }
.step.done .n { background: var(--up); color: #04120d; }
.step .t { font-size: 13px; font-weight: 600; }

.mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mode {
  text-align: left; padding: 18px; border-radius: 15px;
  background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line);
  transition: all 0.15s;
}
.mode:hover { border-color: #333c56; transform: translateY(-2px); }
.mode.sel { border-color: rgba(124, 107, 255, 0.7); background: rgba(124, 107, 255, 0.1); }
.mode.disabled { opacity: 0.4; pointer-events: none; }
.mode h4 { font-size: 15px; margin: 9px 0 6px; }
.mode p { font-size: 12.5px; color: var(--muted); }
.mode .tag { font-size: 11px; color: var(--dim); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.label { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; display: block; }
.input {
  width: 100%; height: 44px; padding: 0 14px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); outline: none;
  transition: border-color 0.15s;
}
.input:focus { border-color: rgba(124, 107, 255, 0.6); }
textarea.input { height: 96px; padding: 12px 14px; resize: vertical; }

.summary { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
.summary .kv { padding: 7px 0; border-bottom: 1px dashed var(--line-soft); }

/* ── 页脚 ─────────────────────────────────────── */
footer { border-top: 1px solid var(--line-soft); margin-top: 64px; padding: 30px 0 44px; color: var(--dim); font-size: 12.5px; }
.foot-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ── 响应式 ───────────────────────────────────── */
@media (max-width: 980px) {
  .detail-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 38px; }
  .mode-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .hero h1 { font-size: 30px; }
  .hero { padding: 48px 0 28px; }
  .steps { flex-direction: column; }
  .wrap { padding: 0 18px; }
}

/* AI 指令块 */
.cmd-pre {
  background: #0b0e15;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  font-family: "SF Mono", "JetBrains Mono", Consolas, monospace;
  font-size: 11.5px;
  line-height: 1.65;
  color: #c7d2fe;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 320px;
  overflow: auto;
}

/* ── 指令页 / 沙盒指令区 ───────────────────────── */
.page-head { padding: 30px 0 16px; }
.page-head h1 { font-size: 30px; letter-spacing: -0.6px; }
.page-head p { color: var(--muted); font-size: 13.5px; margin-top: 8px; max-width: 640px; line-height: 1.7; }

.params-bar {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  background: linear-gradient(180deg, rgba(23,27,38,.9), rgba(15,18,26,.85));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; margin: 20px 0 22px;
}
.params-bar .f label { font-size: 12px; color: var(--muted); display: block; margin-bottom: 6px; }
.params-bar .f input {
  width: 100%; height: 40px; padding: 0 12px; border-radius: 10px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  outline: none; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.params-bar .f input:focus { border-color: rgba(124,107,255,.6); }

.cmd-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(23,27,38,.9), rgba(15,18,26,.85));
  padding: 18px; margin-bottom: 14px;
}
.cmd-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.cmd-title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.cmd-no {
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(124,107,255,.16); border: 1px solid rgba(124,107,255,.35);
  color: #b7aeff; font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.cmd-desc { font-size: 12px; color: var(--dim); margin: 0 0 12px 36px; }
.cmd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cmd-grid .cmd-card { margin-bottom: 0; }

.steps-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 24px; }
.steps-mini .s {
  border: 1px solid var(--line-soft); border-radius: 14px; padding: 13px 15px;
  background: rgba(255,255,255,.025); font-size: 12.5px; color: var(--muted);
}
.steps-mini .s b { display: block; color: var(--text); margin-bottom: 4px; font-size: 13px; }

@media (max-width: 900px) {
  .cmd-grid, .steps-mini, .params-bar { grid-template-columns: 1fr; }
}

/* ── 文档页排版 ─────────────────────────────── */
.doc-layout { display: grid; grid-template-columns: 210px 1fr; gap: 40px; align-items: start; padding-bottom: 40px; }
.doc-toc { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 2px; }
.doc-toc a {
  display: block; padding: 8px 13px; border-radius: 10px;
  color: var(--muted); font-size: 13px; border-left: 2px solid transparent;
  transition: all .15s;
}
.doc-toc a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.doc-toc a.active { color: var(--text); border-left-color: var(--accent); background: rgba(124,107,255,.08); }

.doc-sec { margin-bottom: 42px; scroll-margin-top: 88px; }
.doc-sec h2 {
  font-size: 20px; display: flex; align-items: center; gap: 11px;
  margin-bottom: 14px; letter-spacing: -0.3px;
}
.doc-sec .n {
  width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(124,107,255,.16); border: 1px solid rgba(124,107,255,.35);
  color: #b7aeff; font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.doc-sec p { color: var(--muted); font-size: 13.5px; line-height: 1.9; }
.doc-sec p b { color: var(--text); font-weight: 600; }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; }
.fact {
  border: 1px solid var(--line-soft); border-radius: 13px; padding: 13px 15px;
  background: rgba(255,255,255,.025);
}
.fact .k { font-size: 11.5px; color: var(--dim); }
.fact .v { font-size: 15px; font-weight: 700; margin-top: 4px; letter-spacing: -0.2px; }

@media (max-width: 860px) {
  .doc-layout { grid-template-columns: 1fr; gap: 18px; }
  .doc-toc {
    position: static; flex-direction: row; overflow-x: auto; gap: 8px;
    padding-bottom: 10px; border-bottom: 1px solid var(--line-soft);
  }
  .doc-toc a { border-left: none; border-bottom: 2px solid transparent; white-space: nowrap; }
  .doc-toc a.active { border-bottom-color: var(--accent); }
  .facts { grid-template-columns: 1fr; }
}


/* 霓虹 logo：screen 混合让深色底融进页面 */
.avatar { overflow: hidden; }
.avatar-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}


/* ── 回购节拍可视化 ─────────────────────────────── */
.ticker {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(23,27,38,.9), rgba(15,18,26,.85));
  padding: 18px 20px; margin-top: 18px;
}
.ticker-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.ticker-head .t { font-size: 13px; font-weight: 700; }
.ticker-head .s { font-size: 12px; color: var(--dim); }
.ticker-segs { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.ticker-segs i {
  height: 8px; border-radius: 3px; background: rgba(255,255,255,.07);
  transition: background .3s, box-shadow .3s;
}
.ticker-segs i.on {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 10px rgba(124,107,255,.45);
}
.ticker-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.ticker-foot b { color: var(--text); font-variant-numeric: tabular-nums; }
.ticker-next { color: var(--accent-2); font-weight: 700; }


/* 飞轮四步：2×2 */
.fly-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  margin: 22px 0 10px; align-items: stretch;
}
.fly {
  display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start;
  border: 1px solid var(--line-soft); border-radius: 16px; padding: 16px 18px;
  background: rgba(255,255,255,.025);
}
.fly-n {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 800; color: #0b0c10;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.fly b { display: block; font-size: 13.5px; color: var(--text); margin-bottom: 5px; line-height: 1.5; }
.fly p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.75; }
@media (max-width: 780px) { .fly-grid { grid-template-columns: 1fr; } }


/* 沙盒控制条 */
.controls { padding: 16px 18px; margin-bottom: 18px; }
.ctrl-row { display: flex; align-items: center; gap: 14px; padding: 8px 0; flex-wrap: wrap; }
.ctrl-row + .ctrl-row { border-top: 1px solid var(--line-soft); }
.ctrl-label { font-size: 12px; color: var(--muted); min-width: 44px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ctrl-slider { flex: 1; display: flex; align-items: center; gap: 14px; min-width: 240px; }
.ctrl-slider input { flex: 1; }
.ctrl-day { font-size: 12.5px; color: var(--text); font-weight: 600; min-width: 56px; text-align: right; font-variant-numeric: tabular-nums; }
.ctrl-hint { font-size: 12px; color: var(--dim); margin-top: 10px; line-height: 1.7; }
.mode-chip { cursor: pointer; }


/* 资产页操作：主按钮 + 复制按钮成对 */
.action-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 8px; }
.action-row .btn { width: 100%; }
.action-row + .action-row { margin-top: 8px; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.btn-ghost:hover { color: var(--text); border-color: var(--accent); }
.cmd-pre:empty { display: none; }


/* ── 创建代币页 ─────────────────────────────────── */
.create-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px;
  margin-top: 22px; align-items: start;
}
.create-side { position: sticky; top: 80px; }
@media (max-width: 980px) {
  .create-layout { grid-template-columns: 1fr; }
  .create-side { position: static; }
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }

.hint-sm { display: block; font-size: 11.5px; color: var(--dim); margin-top: 5px; }

textarea {
  width: 100%; padding: 11px 13px; border-radius: 10px; resize: vertical;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  color: var(--text); font-size: 13px; font-family: inherit; line-height: 1.6;
}
textarea:focus { outline: none; border-color: var(--accent); }

/* 上传框 */
.upload {
  position: relative; border: 1px dashed var(--line); border-radius: 14px;
  min-height: 132px; display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.02); transition: border-color .2s, background .2s;
  overflow: hidden;
}
.upload:hover, .upload.drag { border-color: var(--accent); background: rgba(109,94,252,.06); }
.upload-inner { display: grid; justify-items: center; gap: 6px; padding: 18px; text-align: center; }
.upload-inner b { font-size: 13px; }
.upload-icon {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #0b0c10;
  font-weight: 800; font-size: 16px;
}
.upload-preview { width: 112px; height: 112px; object-fit: cover; border-radius: 14px; margin: 10px; }

/* 模式卡 */
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mode-card {
  text-align: left; padding: 14px 16px; border-radius: 14px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255,255,255,.025);
  color: var(--text); display: grid; gap: 4px; transition: all .2s;
}
.mode-card:hover { border-color: var(--accent); }
.mode-card.active {
  border-color: var(--accent-2);
  background: linear-gradient(180deg, rgba(34,211,238,.10), rgba(109,94,252,.06));
  box-shadow: 0 0 0 1px rgba(34,211,238,.25) inset;
}
.mode-name { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); }
.mode-card b { font-size: 15px; }
.mode-sub { font-size: 11.5px; color: var(--muted); }

/* 勾选行 */
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); line-height: 1.6; cursor: pointer; }
.check-row input { margin-top: 3px; accent-color: var(--accent); }

/* 预览卡 */
.preview-card { border: 1px solid var(--line-soft); border-radius: 16px; padding: 14px; }
.preview-card .bar { margin: 10px 0 8px; }


/* ══ 首页改版 ═════════════════════════════════════ */
.home { background: #07080c; }

.hero2 {
  position: relative; overflow: hidden;
  padding: 92px 0 64px;
  border-bottom: 1px solid var(--line-soft);
}
.hero2-glow {
  position: absolute; inset: -30% -10% auto -10%; height: 620px; pointer-events: none;
  background:
    radial-gradient(38% 46% at 22% 18%, rgba(109,94,252,.30), transparent 70%),
    radial-gradient(34% 42% at 78% 8%, rgba(34,211,238,.22), transparent 72%),
    radial-gradient(28% 34% at 55% 62%, rgba(232,121,249,.12), transparent 70%);
  filter: blur(6px);
}
.hero2-inner { position: relative; }
.hero2 h1 {
  margin: 18px 0 0; font-size: clamp(36px, 5.4vw, 62px); line-height: 1.06;
  letter-spacing: -0.035em; font-weight: 800;
}
.hero2 h1 .grad {
  background: linear-gradient(100deg, #6d5efc 0%, #22d3ee 55%, #e879f9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero2-sub {
  margin-top: 20px; max-width: 620px; font-size: 15px; line-height: 1.85;
  color: var(--muted);
}
.hero2-sub b { color: var(--text); }
.hero2-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.btn-lg { padding: 13px 26px; font-size: 14px; border-radius: 12px; }

.hero2-stats {
  display: flex; flex-wrap: wrap; gap: 0; margin-top: 44px;
  border: 1px solid var(--line-soft); border-radius: 16px;
  background: rgba(255,255,255,.022); backdrop-filter: blur(8px);
  overflow: hidden;
}
.hero2-stats > div {
  flex: 1 1 150px; padding: 18px 22px; border-right: 1px solid var(--line-soft);
}
.hero2-stats > div:last-child { border-right: 0; }
.hero2-stats .k { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.hero2-stats .v { margin-top: 6px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .hero2 { padding: 62px 0 44px; }
  .hero2-stats > div { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .hero2-stats > div:last-child { border-bottom: 0; }
}

.eyebrow-sm {
  display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-2); font-weight: 700; margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(21px, 2.6vw, 27px); letter-spacing: -0.02em; }

/* 回购节拍：加个呼吸点 */
.pulse {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px;
  background: var(--accent-2); box-shadow: 0 0 0 0 rgba(34,211,238,.55);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,211,238,.55); }
  70% { box-shadow: 0 0 0 9px rgba(34,211,238,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); }
}

/* 四宫格特性 */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 820px) { .feat-grid { grid-template-columns: 1fr; } }
.feat {
  position: relative; padding: 24px 24px 20px; border-radius: 18px;
  border: 1px solid var(--line-soft); background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  transition: transform .25s ease, border-color .25s ease;
}
.feat:hover { transform: translateY(-3px); border-color: rgba(109,94,252,.45); }
.feat-ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-size: 13px; font-weight: 800; letter-spacing: -0.02em; color: #0b0c10;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  margin-bottom: 16px;
}
.feat h3 { font-size: 16px; margin-bottom: 8px; letter-spacing: -0.01em; }
.feat p { font-size: 13px; color: var(--muted); line-height: 1.85; }
.feat-tags { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.feat-tags span {
  font-size: 11px; padding: 3px 9px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--dim);
}

/* 两种模式 */
.mode-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .mode-compare { grid-template-columns: 1fr; } }
.mode-box {
  padding: 24px; border-radius: 18px; border: 1px solid var(--line-soft);
  background: radial-gradient(120% 120% at 0% 0%, rgba(109,94,252,.10), transparent 60%),
              rgba(255,255,255,.02);
}
.mode-box h3 { font-size: 18px; margin: 12px 0 6px; letter-spacing: -0.02em; }
.mode-desc { font-size: 13px; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.mode-box .kv { padding: 7px 0; }


/* ══ 页面通用头图 ═══════════════════════════════ */
.page-hero {
  position: relative; overflow: hidden;
  padding: 74px 0 40px; margin-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}
.page-hero::before {
  content: ""; position: absolute; inset: -40% -10% auto -10%; height: 480px; pointer-events: none;
  background:
    radial-gradient(40% 50% at 20% 10%, rgba(109,94,252,.26), transparent 72%),
    radial-gradient(36% 46% at 80% 0%, rgba(34,211,238,.18), transparent 74%);
}
.page-hero > * { position: relative; }
.page-hero h1 {
  font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; letter-spacing: -0.03em;
  font-weight: 800; margin: 14px 0 0;
}
.page-hero h1 .grad {
  background: linear-gradient(100deg, #6d5efc 0%, #22d3ee 55%, #e879f9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero p {
  margin-top: 16px; max-width: 620px; font-size: 14.5px; line-height: 1.85; color: var(--muted);
}
.page-hero p b { color: var(--text); }

/* 头图下的关键数字条 */
.stat-strip {
  display: flex; flex-wrap: wrap; margin-top: 26px;
  border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden;
  background: rgba(255,255,255,.022);
}
.stat-strip > div { flex: 1 1 120px; padding: 14px 18px; border-right: 1px solid var(--line-soft); }
.stat-strip > div:last-child { border-right: 0; }
.stat-strip .k { font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--dim); }
.stat-strip .v { margin-top: 5px; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat-strip .v.up { color: var(--up); }
@media (max-width: 620px) {
  .stat-strip > div { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .stat-strip > div:last-child { border-bottom: 0; }
}

/* 带序号的区块标题 */
.step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.step-head .n {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 800; color: #0b0c10;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  flex: none;
}
.step-head h3 { font-size: 15px; letter-spacing: -0.01em; }
.step-head p { font-size: 12px; color: var(--dim); margin-top: 2px; }

/* 提示条 */
.note-bar {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: 12px; margin: 18px 0 22px;
  border: 1px solid var(--line-soft); background: rgba(109,94,252,.06);
  font-size: 12.5px; color: var(--muted); line-height: 1.8;
}
.note-bar b { color: var(--text); }

/* 模拟器数字 */
.sim-grid .card .kv { padding: 6px 0; }
