/* BABYCAPY · 水豚 + 温泉主题（棕调 + 柚子橙），结构对应参考站各区块 */
:root {
  --bg: #f6f4ea;
  --paper: #fffdf4;
  --ink: #1b1b1b;
  --ink-soft: #3d3d38;
  --muted: #75735f;
  --line: #e4dec9;
  --green: #ed8f1f;
  --green-deep: #96600f;
  --green-soft: #fbeed3;
  --green-pale: #fdf6e0;
  --gold: #f0b429;
  --radius: 20px;
  --shadow: 0 18px 40px rgba(150, 96, 15, .10);
  --font-display: "Fredoka", "Noto Sans SC", system-ui, sans-serif;
  --font-body: "Noto Sans SC", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
a { color: inherit; }
button { font: inherit; cursor: pointer; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; }

/* ---------- 头部 ---------- */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.masthead.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px rgba(27, 27, 27, .06); }
.read-line {
  height: 3px; background: var(--green-soft);
}
.read-line::after {
  content: ""; display: block; height: 100%;
  width: calc(var(--reading, 0) * 100%);
  background: linear-gradient(90deg, var(--green), var(--green-deep));
}
.header-row { display: flex; align-items: center; gap: 22px; padding: 12px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand strong { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: .04em; }
.brand-logo { display: block; }
.nav { display: flex; gap: 4px; margin-inline: auto; }
.nav a {
  text-decoration: none; padding: 8px 13px; border-radius: 999px;
  font-weight: 500; color: var(--ink-soft); font-size: 15px;
}
.nav a:hover { background: var(--green-soft); color: var(--green-deep); }
.nav a[aria-current="location"] { background: var(--ink); color: #fff; }
.header-end { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav + .header-end { margin-left: 0; }
.network {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  border: 1.5px solid var(--ink); border-radius: 999px; padding: 5px 11px;
  background: var(--paper); white-space: nowrap;
}
.network i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.lang {
  border: 1.5px solid var(--ink); background: var(--ink); color: #fff;
  border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 13px;
}
.menu {
  display: none; width: 40px; height: 40px; border: 1.5px solid var(--ink);
  border-radius: 12px; background: var(--paper); padding: 10px;
  flex-direction: column; justify-content: center; gap: 6px;
}
.menu span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- 首屏 ---------- */
.overview { padding: 54px 0 10px; overflow: hidden; }
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; letter-spacing: .14em;
  font-size: 13px; color: var(--green-deep);
  border: 1.5px solid var(--green); background: var(--green-pale);
  padding: 6px 13px; border-radius: 999px;
}
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(52px, 8.5vw, 104px); line-height: .98; margin: 20px 0 6px;
  letter-spacing: .01em;
}
.hero h1 span { color: var(--green); }
.hero h2 { font-size: clamp(24px, 3.4vw, 36px); margin: 8px 0 10px; font-weight: 900; }
.hero-copy p { color: var(--ink-soft); font-size: 17px; margin: 0 0 26px; max-width: 30em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions a {
  text-decoration: none; font-weight: 700; border-radius: 999px; padding: 13px 26px;
  border: 2px solid var(--ink); transition: transform .15s, box-shadow .15s;
}
.hero-actions a:hover { transform: translateY(-2px); }
.hero-actions .primary { background: var(--green); border-color: var(--green-deep); color: #fff; box-shadow: 0 10px 22px rgba(237, 143, 31, .35); }
.hero-actions .quiet { background: var(--paper); color: var(--ink); }

.hero-art { position: relative; min-height: 440px; --px: 0; --py: 0; }
.art-sun {
  position: absolute; inset: 4% 6% auto auto; width: 330px; height: 330px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffd47e, var(--green) 72%);
  opacity: .9;
}
.art-lettering {
  position: absolute; top: 2%; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 700; font-size: 92px; letter-spacing: .06em;
  color: transparent; -webkit-text-stroke: 2px rgba(150, 96, 15, .30);
  user-select: none;
}
.art-orbit {
  position: absolute; inset: 12% 2% 6% 8%;
  border: 2px dashed rgba(150, 96, 15, .35); border-radius: 50%;
  transform: rotate(-8deg);
}
.art-spark { position: absolute; color: var(--green-deep); font-size: 26px; }
.art-spark-top { top: 8%; left: 6%; }
.art-spark-bottom { bottom: 14%; right: 4%; }
.art-index {
  position: absolute; top: 16%; right: 0; text-align: right;
  font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .12em; color: var(--green-deep);
}
.art-index span { display: block; color: var(--muted); font-size: 11px; }
.art-coin {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe9a8, var(--gold) 75%);
  border: 2px solid #d19400;
}
.art-coin-1 { width: 34px; height: 34px; left: 4%; bottom: 26%; }
.art-coin-2 { width: 22px; height: 22px; right: 12%; top: 44%; }
.art-coin-3 { width: 16px; height: 16px; left: 16%; top: 20%; }
.hero-capy {
  position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%) translate(calc(var(--px) * 8px), calc(var(--py) * 6px));
  filter: drop-shadow(0 22px 22px rgba(27, 27, 27, .18));
  max-width: 86%; height: auto;
}
.hero-art.is-paused .hero-capy { transition: transform .4s; }
.art-sticker {
  position: absolute; right: 2%; bottom: 20%;
  background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700;
  padding: 9px 15px; border-radius: 14px; transform: rotate(7deg); letter-spacing: .05em;
  box-shadow: var(--shadow);
}
.art-sticker span { color: #ffb84d; }
.art-caption {
  position: absolute; left: 0; bottom: 4%;
  font-family: var(--font-display); font-size: 12px; letter-spacing: .16em; color: var(--muted);
  display: flex; align-items: center; gap: 10px;
}
.art-caption b { width: 44px; height: 2px; background: var(--green); display: inline-block; }

/* ---------- 指标条 ---------- */
.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin: 42px 0 8px;
}
.metric {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden;
  display: flex; gap: 13px; align-items: flex-start;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 18px; text-decoration: none; box-shadow: 0 6px 18px rgba(27,27,27,.04);
}
.metric::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .25s;
  background: radial-gradient(220px circle at var(--mx) var(--my), rgba(123, 201, 111, .20), transparent 65%);
}
.metric:hover::before { opacity: 1; }
.metric-icon {
  flex: none; width: 42px; height: 42px; border-radius: 13px;
  background: var(--green-soft); display: grid; place-items: center;
}
.metric-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--green-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.metric-label { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
.metric strong { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 600; line-height: 1.25; }
.metric small { color: var(--muted); font-size: 12px; }

/* ---------- 区块标题 ---------- */
.section-heading {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px;
  margin: 64px 0 24px;
}
.section-heading .eyebrow { border: none; background: none; padding: 0; font-size: 13px; }
.section-title { font-size: clamp(30px, 4.5vw, 42px); margin: 6px 0 0; font-weight: 900; }
.section-heading p { color: var(--ink-soft); margin: 0; max-width: 26em; }

/* ---------- 铸造工作台 ---------- */
.mw-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items: stretch; }
.mw-form, .mw-guide {
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 26px; box-shadow: var(--shadow); overflow: hidden;
}
.mw-card-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
  padding: 22px 24px 0;
}
.mw-kicker { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--green); }
.mw-card-head h3, .mw-guide h3 { margin: 4px 0 0; font-size: 22px; font-weight: 900; }
.mw-body { padding: 20px 24px 24px; }
.mw-quantity { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mw-stepper {
  display: inline-flex; align-items: center; gap: 4px;
  border: 2px solid var(--ink); border-radius: 999px; padding: 5px; background: #fff;
}
.mw-stepper button {
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: var(--green-soft); color: var(--green-deep);
  font-size: 24px; font-weight: 700; line-height: 1;
  display: grid; place-items: center;
}
.mw-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.mw-stepper output {
  min-width: 64px; text-align: center;
  font-family: var(--font-display); font-size: 30px; font-weight: 700;
}
.mw-stepper output.is-bumped { animation: bump .35s ease; }
@keyframes bump { 30% { transform: scale(1.18); } }
.mw-presets { display: inline-flex; gap: 8px; }
.mw-presets button {
  width: 42px; height: 42px; border-radius: 13px;
  border: 1.5px solid var(--line); background: var(--paper); font-weight: 700;
}
.mw-presets button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.mw-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.mw-quote {
  border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px; background: var(--green-pale);
}
.mw-quote-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.mw-quote span { font-size: 13px; opacity: .75; font-weight: 500; }
.mw-quote div { display: flex; align-items: baseline; gap: 7px; margin-top: 2px; }
.mw-quote strong { font-family: var(--font-display); font-size: 27px; font-weight: 600; }
.mw-quote small { font-weight: 700; opacity: .8; }
.mw-help { min-height: 1.5em; color: var(--muted); font-size: 13.5px; margin: 10px 2px 14px; }
.mw-wallet-button {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--green); color: #fff; border: 2px solid var(--green-deep);
  border-radius: 16px; padding: 15px 18px; font-weight: 700; font-size: 16px;
  box-shadow: 0 12px 24px rgba(237, 143, 31, .30);
}
.mw-wallet-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mw-wallet-button small {
  background: rgba(255,255,255,.22); border-radius: 999px; padding: 2px 9px; font-size: 12px;
}
.mw-wallet-button:disabled { opacity: .55; box-shadow: none; cursor: not-allowed; }
.mw-wallet-alt { background: var(--paper); color: var(--ink); border-color: var(--ink); box-shadow: none; }
.mw-connection-status { color: var(--muted); font-size: 13.5px; margin: 10px 2px 0; }
.mw-or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--muted); font-size: 13px; }
.mw-or::before, .mw-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ag-connected-bar {
  display: flex; align-items: center; gap: 9px; margin-top: 14px;
  border: 1.5px solid var(--green); background: var(--green-pale);
  border-radius: 13px; padding: 9px 13px; font-size: 14px;
}
.ag-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; }
.ag-connected-address { font-size: 13px; }
.ag-disconnect { margin-left: auto; border: none; background: none; color: var(--green-deep); font-weight: 700; }

.mw-guide { padding-bottom: 8px; }
.mw-guide-banner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 24px 6px;
}
.mw-guide-capy { flex: none; }
.mw-steps { list-style: none; margin: 8px 0 0; padding: 0 24px; }
.mw-steps li { display: flex; gap: 14px; padding: 11px 0; border-top: 1px dashed var(--line); }
.mw-steps li > span {
  font-family: var(--font-display); font-weight: 700; color: var(--green);
  font-size: 15px; padding-top: 2px;
}
.mw-steps strong { display: block; font-size: 15.5px; }
.mw-steps p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.mw-rules { list-style: none; margin: 14px 0 6px; padding: 6px 24px 0; border-top: 1.5px solid var(--line); }
.mw-rules li {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px;
}
.mw-rules li span { color: var(--muted); }
.mw-contract {
  display: flex; align-items: center; gap: 10px;
  margin: 10px 24px 12px; padding: 11px 14px;
  background: var(--green-pale); border: 1.5px solid var(--green-soft); border-radius: 13px;
  font-size: 14px;
}
.mw-contract > span { color: var(--muted); flex: none; }
.mw-contract a { text-decoration: none; font-weight: 700; margin-left: auto; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1.5px solid var(--line); background: var(--paper); border-radius: 10px;
  padding: 6px 10px; font-size: 13px; font-weight: 600;
}
.copy-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.copy-btn.is-copied { border-color: var(--green); color: var(--green-deep); background: var(--green-soft); }
.copy-btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- 跑马灯 ---------- */
.ticker { overflow: hidden; margin: 58px 0 0; border-block: 2px solid var(--ink); background: var(--green); color: #fff; transform: rotate(-1deg) scale(1.02); }
.ticker-track { display: flex; width: max-content; animation: tick 26s linear infinite; }
.ticker-track > div { display: flex; align-items: center; gap: 18px; padding: 10px 18px 10px 0; font-family: var(--font-display); font-weight: 600; letter-spacing: .1em; white-space: nowrap; }
.ticker-track i { font-style: normal; opacity: .7; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- 链上数据看板 ---------- */
.chain { padding: 10px 0 6px; }
.chain .wrap { padding-top: 0; }
.noscript-note { width: min(1180px, 100% - 40px); margin: 30px auto; color: var(--muted); }
.mint-data-heading {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 18px;
  margin: 58px 0 20px;
}
.mint-data-eyebrow { font-family: var(--font-display); font-weight: 600; letter-spacing: .14em; font-size: 13px; color: var(--green-deep); margin: 0 0 4px; }
.mint-data-heading h2 { font-size: clamp(28px, 4vw, 38px); margin: 0; font-weight: 900; }
.mint-data-meta { font-family: var(--font-display); font-size: 12.5px; letter-spacing: .1em; color: var(--muted); white-space: nowrap; }
.mint-data-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.mint-data-card {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 26px;
  box-shadow: var(--shadow); padding: 22px 24px;
}
.mint-data-card h3 { margin: 0; font-size: 17px; font-weight: 900; }
.mint-chart-total { margin: 4px 0 0; display: flex; gap: 8px; align-items: baseline; }
.mint-chart-total strong { font-family: var(--font-display); font-size: 34px; font-weight: 600; }
.mint-chart-total span { color: var(--muted); }
.mint-chart-frame { position: relative; margin-top: 14px; min-height: 190px; display: flex; gap: 10px; }
.mint-chart-frame-empty { align-items: stretch; }
.mint-chart-scale { display: flex; flex-direction: column; justify-content: space-between; color: var(--muted); font-size: 12px; padding: 2px 0; }
.mint-chart-stage { flex: 1; }
.mint-chart-stage svg { width: 100%; height: 190px; display: block; }
.mint-chart-gridline { stroke: var(--line); stroke-width: 1; fill: none; }
.mint-chart-fill { fill: url(#babycapy-mint-fill); }
.mint-chart-line { fill: none; stroke: var(--green-deep); stroke-width: 2.5; }
.mint-chart-marker { stroke: var(--green-deep); stroke-width: 7; stroke-linecap: round; }
.mint-chart-axis { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-top: 6px; padding-left: 34px; }
.mint-chart-note { color: var(--muted); font-size: 13px; margin: 12px 0 0; }
.mint-empty-state {
  flex: 1; display: grid; place-items: center; text-align: center;
  border: 1.5px dashed var(--line); border-radius: 16px; padding: 28px 18px; color: var(--muted);
}
.mint-empty-state strong { color: var(--ink-soft); font-size: 16px; }
.mint-empty-state p { margin: 6px 0 0; font-size: 13.5px; }
.mint-progress-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mint-demo-tag {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700;
  background: var(--green-pale); border: 1.5px solid var(--green-soft); color: var(--green-deep);
  border-radius: 999px; padding: 4px 11px;
}
.mint-demo-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.mint-progress-count { margin: 14px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.mint-progress-count strong { font-family: var(--font-display); font-size: 40px; font-weight: 600; }
.mint-progress-count span { color: var(--muted); }
.mint-progress-card progress { width: 100%; height: 12px; appearance: none; margin-top: 10px; }
.mint-progress-card progress::-webkit-progress-bar { background: var(--green-soft); border-radius: 99px; }
.mint-progress-card progress::-webkit-progress-value { background: linear-gradient(90deg, var(--green), var(--green-deep)); border-radius: 99px; }
.mint-progress-card progress::-moz-progress-bar { background: var(--green); border-radius: 99px; }
.mint-progress-label { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.mint-progress-label b { color: var(--green-deep); }
.mint-progress-metrics { margin: 14px 0 0; border-top: 1px dashed var(--line); }
.mint-progress-metrics > div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.mint-progress-metrics dt { color: var(--muted); }
.mint-progress-metrics dd { margin: 0; font-weight: 700; }
.mint-progress-note { color: var(--muted); font-size: 13px; margin: 12px 0 0; }

.mint-activity { margin-top: 8px; }
.mint-activity-panel { padding: 0; overflow: hidden; }
.mint-activity-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 18px 22px; border-bottom: 1.5px solid var(--line);
}
.mint-activity-summary span { display: block; color: var(--muted); font-size: 12.5px; }
.mint-activity-summary strong { font-family: var(--font-display); font-size: 19px; }
.mint-segments { display: inline-flex; background: var(--green-pale); border: 1.5px solid var(--green-soft); border-radius: 999px; padding: 4px; }
.mint-segments button {
  border: none; background: none; padding: 8px 18px; border-radius: 999px; font-weight: 700; color: var(--ink-soft);
}
.mint-segments button[aria-selected="true"] { background: var(--ink); color: #fff; }
.mint-activity-notice { margin: 0; padding: 10px 22px; background: #fdf3d7; color: #7a5b00; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.mint-leaders { list-style: none; margin: 0; padding: 16px 22px 4px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mint-leader {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 13px; background: var(--green-pale);
}
.mint-leader-position { font-family: var(--font-display); font-weight: 700; color: var(--green-deep); }
.mint-leader-total { margin-left: auto; white-space: nowrap; }
.mint-table-wrap { overflow-x: auto; padding: 8px 22px 18px; }
.mint-table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.mint-table-wrap th { text-align: left; color: var(--muted); font-weight: 500; font-size: 12.5px; padding: 10px 8px; border-bottom: 1.5px solid var(--line); }
.mint-table-wrap td { padding: 10px 8px; border-bottom: 1px dashed var(--line); }
.mint-table-value { font-family: var(--font-display); }
.mint-address { color: var(--green-deep); font-weight: 600; text-decoration: none; font-family: ui-monospace, Menlo, monospace; font-size: 13px; }
.mint-address:hover { text-decoration: underline; }
.mint-rank {
  display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 7px;
  border-radius: 10px; background: var(--green-soft); font-family: var(--font-display); font-weight: 600;
}
.mint-rank-1 { background: var(--gold); color: #5c3d00; }
.mint-rank-2 { background: #dfe3e6; }
.mint-rank-3 { background: #f3d9b8; }
.mint-pagination { display: flex; align-items: center; gap: 14px; justify-content: center; padding: 0 22px 18px; }
.mint-page-button {
  border: 1.5px solid var(--line); background: var(--paper); border-radius: 10px;
  padding: 7px 15px; font-weight: 600;
}
.mint-page-button:disabled { opacity: .4; cursor: not-allowed; }
.mint-activity .mint-empty-state { margin: 18px 22px 22px; }

/* ---------- 邀请 ---------- */
.invite-card {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 26px;
  box-shadow: var(--shadow); padding: 24px;
  display: grid; gap: 16px;
}
.invite-ref-note {
  margin: 0; padding: 11px 15px; border-radius: 13px;
  background: var(--green-pale); border: 1.5px solid var(--green-soft);
  color: var(--green-deep); font-size: 14px; font-weight: 600;
}
.invite-field { display: grid; gap: 7px; font-size: 14px; font-weight: 600; }
.invite-field > span { color: var(--ink-soft); }
.invite-field input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 13px;
  padding: 12px 14px; font: inherit; font-size: 14.5px; background: #fff;
  font-family: ui-monospace, Menlo, monospace;
}
.invite-field input:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.invite-link-row { display: flex; gap: 10px; }
.invite-link-row input { flex: 1; }
.invite-copy { flex: none; align-self: center; padding: 10px 14px; }
.invite-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.invite-stats > div { border: 1.5px solid var(--line); border-radius: 16px; padding: 13px 16px; background: var(--green-pale); }
.invite-stats span { display: block; color: var(--muted); font-size: 13px; }
.invite-stats strong { font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.invite-note { margin: 0; color: var(--muted); font-size: 13.5px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 18px;
  padding: 4px 22px;
}
.faq-list summary {
  cursor: pointer; list-style: none; display: flex; gap: 14px; align-items: center;
  padding: 15px 0; font-weight: 700; font-size: 16.5px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; margin-left: auto; font-family: var(--font-display); font-size: 22px; color: var(--green); }
.faq-list details[open ] summary::after { content: "−"; }
.faq-no { font-family: var(--font-display); color: var(--green); font-weight: 700; }
.faq-list details p { margin: 0 0 16px; color: var(--ink-soft); padding-left: 38px; }

/* ---------- 页脚 ---------- */
.site-footer { margin-top: 78px; border-top: 2px solid var(--ink); background: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .6fr 1fr; gap: 30px; padding: 44px 0 30px; }
.footer-brand p { color: var(--ink-soft); margin: 14px 0; }
.footer-title { display: block; font-family: var(--font-display); font-weight: 600; letter-spacing: .1em; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.footer-title-gap { margin-top: 22px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { text-decoration: none; color: var(--ink-soft); font-weight: 500; }
.footer-links a:hover { color: var(--green-deep); }
.footer-address { display: block; font-size: 13px; word-break: break-all; background: var(--green-pale); border: 1.5px solid var(--green-soft); border-radius: 11px; padding: 9px 12px; }
.footer-actions { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
.footer-scan { font-weight: 700; color: var(--green-deep); text-decoration: none; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 18px; align-items: center;
  border-top: 1px solid var(--line); padding: 18px 0 26px;
}
.footer-bottom p { color: var(--muted); font-size: 13px; margin: 0; max-width: 52em; }
.back { text-decoration: none; font-weight: 700; white-space: nowrap; }

/* ---------- Agentic 弹窗 ---------- */
.ag-dialog { border: none; padding: 0; background: transparent; max-width: min(430px, calc(100vw - 28px)); width: 100%; }
.ag-dialog::backdrop { background: rgba(27, 27, 27, .5); backdrop-filter: blur(3px); }
.ag-card {
  position: relative; background: var(--paper); border: 2px solid var(--ink);
  border-radius: 26px; padding: 30px 28px 26px; box-shadow: 0 30px 60px rgba(0,0,0,.25);
}
.ag-close {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px;
  border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper);
  font-size: 20px; line-height: 1;
}
.ag-panel { text-align: center; }
.ag-panel-capy { margin-bottom: 6px; }
.ag-panel h3 { margin: 4px 0 8px; font-size: 22px; font-weight: 900; }
.ag-lead { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 18px; }
.ag-qr {
  width: 220px; height: 220px; margin: 0 auto; border-radius: 20px;
  display: grid; place-items: center; gap: 6px;
}
.ag-qr-placeholder { border: 2px dashed var(--green); background: var(--green-pale); color: var(--green-deep); }
.ag-qr-placeholder svg { width: 52px; height: 52px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.ag-qr-placeholder span { font-weight: 700; font-size: 14px; }
.ag-steps { text-align: left; margin: 20px auto 4px; max-width: 300px; color: var(--ink-soft); font-size: 14px; padding-left: 20px; display: grid; gap: 5px; }
.ag-note { color: var(--muted); font-size: 13px; margin: 14px 0 0; }

/* ---------- 渐显动画 ---------- */
.rv { opacity: 0; transform: translateY(18px); }
.rv-in { animation: rv-in .8s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: var(--rv-delay, 0ms); }
@keyframes rv-in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 380px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .mw-grid, .mint-data-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mint-leaders { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav {
    display: none; position: absolute; top: 100%; left: 12px; right: 12px;
    flex-direction: column; background: var(--paper); border: 1.5px solid var(--line);
    border-radius: 18px; padding: 10px; box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .menu { display: flex; }
  .masthead .network { display: none; }
  .header-row { position: relative; }
  .section-heading { flex-direction: column; align-items: flex-start; }
  .mw-quotes, .invite-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .art-lettering { font-size: 64px; }
}
