/* Hallmark · genre: modern-minimal (warm) · macrostructure: stat-led home / workbench coin / dev-tool download
 * theme: v3 studied-DNA (hi.ht.mk surface → warm paper · pool.edgexnetwork.org dashboard IA) · cobalt single accent · Geist + JetBrains Mono
 * nav: bordered bar · footer: mast-headed · enrichment: none (real data is the hero) · designed-as-app
 * Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4
 * 设计系统事实源：C:\ntmbuild\webv5\design.md（2026-08-30 用户定稿：暖米白 + 钴蓝 + DragonX 青）。
 * 阶段①换皮：token 名沿用旧站只换值（notice.css 等旧消费者自动跟随）+ 文末 v3 覆盖层；app.js 一行未动。
 * 图表状态色 = dataviz validated palette，经 SVG 属性选择器覆盖。 */

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jbmono-var-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --bg-canvas: #faf5f0;       /* 暖米白 oklch(97% .008 60)，不是纯白 */
  --bg-sunken: #f3ede9;
  --surface-1: #fffdfb;       /* 卡面比页面底更亮 = 抬升 */
  --surface-2: #f3ede9;
  --surface-3: #ebe5e0;
  --surface-hover: #f3ede9;
  --line-subtle: #e3ddd8;
  --line-strong: #c9c3be;
  --text-primary: #201916;
  --text-secondary: #524b49;
  --text-muted: #716a67;
  --text-disabled: #a29b98;
  --text-on-bright: #fffdfb;
  --brand-cyan: #2563eb;      /* = 信号色 accent 钴蓝（token 名沿用旧站） */
  --brand-blue: #2563eb;
  --brand-violet: #6d5ce8;
  --accent-cyan: #2563eb;
  --accent-cyan-hover: #1d4ed8;
  --cta-cyan: #2563eb;
  --cta-blue: #2563eb;
  --cta-violet: #6d5ce8;
  --graphite: #1b1413;        /* 命令框专用暖炭面 —— 全站唯一深色节拍 */
  --graphite-2: #27201e;
  --graphite-line: #3a3230;
  --graphite-text: #f2edeb;
  --graphite-muted: #a89f9b;
  --success: #006a20;
  --warning: #935b00;
  --critical: #b71532;
  --error: #b71532;
  --font-display: "Geist", "Segoe UI", "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --page-gutter: 32px;
  --shadow-1: 0 1px 2px rgba(32, 25, 22, .06);
  --shadow-2: 0 8px 24px rgba(32, 25, 22, .10);
  --glow-cyan: none;
  --glow-warning: none;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── DOM claim workspace（结构沿用，token 换浅色） ─────────────────── */
.dom-claim-gate {
  margin: 1.25rem 0;
  padding: .9rem 1rem;
  border: 1px solid #fcd34d;
  border-left: 3px solid var(--warning);
  border-radius: 8px;
  background: #fffbeb;
  color: #92400e;
  font-weight: 650;
}
.dom-claim-gate.open {
  border-color: #a7f3d0;
  border-left-color: var(--success);
  background: #f0fdf4;
  color: #166534;
}
.dom-pause-banner.dom-claims-open {
  border-color: #a7f3d0;
  background: #f0fdf4;
  color: #166534;
}
.dom-claim-login,
.dom-claim-account {
  margin-top: 1rem;
  padding: 1.1rem;
  border: 1px solid var(--line-subtle);
  border-radius: 10px;
  background: var(--surface-1);
}
.dom-claim-login .dom-field { margin-top: .85rem; }
.dom-claim-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(9rem, .6fr));
  gap: .75rem;
  margin: 1rem 0 1.4rem;
}
.dom-claim-summary > div,
.dom-claim-offer-head > div {
  min-width: 0;
  padding: .85rem;
  border: 1px solid var(--line-subtle);
  border-radius: 8px;
  background: var(--bg-canvas);
}
.dom-claim-summary dt,
.dom-claim-offer-head span {
  display: block;
  margin-bottom: .35rem;
  color: var(--text-muted);
  font: 600 .72rem/1.4 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.dom-claim-summary dd { margin: 0; overflow-wrap: anywhere; }
.dom-claim-offers { display: grid; gap: 1rem; }
.dom-claim-offer {
  padding: 1rem;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  background: #f0fdf4;
}
.dom-claim-offer-head {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  margin-bottom: 1rem;
}
.dom-claim-offer .dom-field { margin: .9rem 0 .65rem; }
.dom-claim-offer textarea {
  width: 100%;
  min-height: 7rem;
  resize: vertical;
  overflow-wrap: anywhere;
  font-family: var(--font-mono);
  font-size: .78rem;
  line-height: 1.55;
}
.dom-empty-offers {
  margin: 0;
  padding: 1rem;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--text-muted);
}
@media (max-width: 760px) {
  .dom-claim-summary,
  .dom-claim-offer-head { grid-template-columns: 1fr; }
  .dom-claim-login,
  .dom-claim-account,
  .dom-claim-offer { padding: .85rem; }
}

/* ── Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { min-width: 320px; scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  position: relative;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text-secondary);
  background-color: var(--bg-canvas);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--accent-cyan); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-cyan-hover); }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }

h1, h2, h3, h4 { font-family: var(--font-display); font-style: normal; }
h1, h2, h3 { overflow-wrap: anywhere; min-width: 0; }

:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

::selection { color: var(--text-on-bright); background: var(--accent-cyan); }

.container {
  width: min(calc(100% - (var(--page-gutter) * 2)), 1200px);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--text-on-bright);
  background: var(--accent-cyan);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

main { min-height: calc(100vh - 360px); }

.boot-state {
  display: grid;
  min-height: 62vh;
  place-items: center;
  align-content: center;
  gap: 20px;
  color: var(--text-muted);
}
.boot-state img { width: 96px; height: auto; }

.noscript-message {
  position: fixed;
  z-index: 90;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 16px;
  border: 1px solid #fcd34d;
  border-left: 3px solid var(--warning);
  border-radius: 8px;
  color: #92400e;
  background: #fffbeb;
  box-shadow: var(--shadow-2);
}

/* ── Buttons：实心钴蓝 / hairline 次级 / ghost，6px，无渐变 ─────────── */
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 140ms var(--ease-out), border-color 140ms var(--ease-out), color 140ms var(--ease-out), transform 140ms var(--ease-out);
}
.button.large { min-height: 46px; padding-inline: 20px; font-size: 15px; }
.button.primary {
  color: var(--text-on-bright);
  background: var(--accent-cyan);
}
.button.primary:hover { color: var(--text-on-bright); background: var(--accent-cyan-hover); }
.button.secondary { color: var(--text-primary); border-color: var(--line-strong); background: var(--surface-1); }
.button.secondary:hover { color: var(--text-primary); border-color: var(--text-muted); background: var(--surface-hover); }
.button.ghost { color: var(--text-secondary); background: transparent; }
.button.ghost:hover { color: var(--accent-cyan); background: var(--surface-hover); }
.button:active { transform: translateY(1px); }
.button:disabled, .button.disabled {
  color: var(--text-disabled);
  border-color: var(--line-subtle);
  background: var(--surface-2);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* ── Header：白底 blur、hairline 下边、激活项钴蓝下划线 ──────────────── */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: 60px;
  border-bottom: 1px solid var(--line-subtle);
  background: rgba(248, 250, 252, .88);
  backdrop-filter: blur(12px);
}
.header-inner { display: flex; min-height: 59px; align-items: center; gap: 20px; }
.brand-link { flex: 0 0 auto; color: inherit; }
.brand-lockup { width: 180px; height: 30px; object-fit: contain; }
.brand-mark { display: none; width: 40px; height: 40px; object-fit: contain; }
.desktop-nav { display: flex; align-self: stretch; align-items: center; gap: 2px; }
.desktop-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.desktop-nav a:hover { color: var(--text-primary); background: var(--surface-hover); }
.desktop-nav a.active { color: var(--text-primary); }
.desktop-nav a.active::after {
  position: absolute;
  right: 12px;
  bottom: -9px;
  left: 12px;
  height: 2px;
  content: "";
  background: var(--accent-cyan);
}
.header-actions { display: flex; min-width: 0; align-items: center; gap: 8px; margin-left: auto; }
.header-discord { display: inline-flex; min-height: 44px; align-items: center; gap: 6px; padding: 10px; color: var(--text-secondary); font-size: 14px; text-decoration: none; }
.header-discord:hover { color: var(--accent-cyan); }
.header-language { min-width: 72px; border: 1px solid var(--line-strong); }
.short-label { display: none; }
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--text-primary);
  background: var(--surface-1);
  font-size: 22px;
  cursor: pointer;
}
.mobile-menu {
  position: absolute;
  top: 60px;
  right: 0;
  left: 0;
  border-bottom: 1px solid var(--line-subtle);
  background: var(--surface-1);
  box-shadow: var(--shadow-2);
}
.mobile-menu .container { display: grid; padding-block: 12px; }
.mobile-menu a { display: flex; min-height: 48px; align-items: center; padding: 10px 12px; border-radius: 6px; color: var(--text-primary); text-decoration: none; }
.mobile-menu a:hover { background: var(--surface-hover); }

/* ── Footer：mast-headed，hairline 上边 ─────────────────────────────── */
.site-footer { margin-top: 64px; border-top: 1px solid var(--line-subtle); background: var(--surface-1); }
.footer-accent { display: none; }
.footer-grid { display: grid; grid-template-columns: minmax(260px, 1.4fr) repeat(2, minmax(160px, .6fr)); gap: 24px; padding-block: 36px 28px; }
.footer-brand img { width: 180px; height: 29px; object-fit: contain; }
.footer-brand > p { margin: 10px 0 0; color: var(--text-muted); }
.footer-brand .footer-risk { max-width: 620px; font-size: 13px; line-height: 20px; }
.footer-grid nav, .footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer-grid h2 { margin: 0 0 8px; color: var(--text-muted); font: 600 11px/16px var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }
.footer-grid a { min-height: 32px; display: inline-flex; align-items: center; color: var(--text-secondary); text-decoration: none; }
.footer-grid a:hover { color: var(--accent-cyan); text-decoration: underline; }
.copyright { padding-block: 16px 20px; border-top: 1px solid var(--line-subtle); color: var(--text-muted); font-size: 13px; line-height: 20px; }

/* ── Sections + micro-label（机器读出式小标签，钴蓝刻度） ─────────────── */
.section { padding-top: 64px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-heading h2 { margin: 0; color: var(--text-primary); font-size: 26px; line-height: 34px; letter-spacing: -.02em; font-weight: 700; }
.chart-card h2, .about-card h2, .form-card h2, .settlement-card h2 { margin: 0; color: var(--text-primary); font-size: 19px; line-height: 26px; letter-spacing: -.015em; }
.section-heading p { max-width: 680px; margin: 8px 0 0; color: var(--text-muted); }
h4 { font-size: 16px; line-height: 24px; color: var(--text-primary); }
.section-kicker, .eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section-kicker::before, .eyebrow::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--accent-cyan);
}
.section-status { flex: 0 0 auto; color: var(--text-muted); font-size: 13px; }

/* ── Hero：左偏排版，字体做主角 ─────────────────────────────────────── */
.hero-section { padding-top: 44px; }
.hero-grid { display: grid; min-height: 240px; grid-template-columns: minmax(0, 1fr) 200px; align-items: center; gap: 40px; }
.hero-copy h1 { max-width: 760px; margin: 0; color: var(--text-primary); font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; }
/* hero-expansion 与 eyebrow 同文案（Next-Tier Mining）——浅色版两者样式趋同会读成复读，藏掉 */
.hero-expansion { display: none; }
.hero-subtitle { max-width: 640px; margin: 14px 0 0; color: var(--text-secondary); font-size: 16px; line-height: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-mark-panel {
  position: relative;
  display: grid;
  min-height: 180px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-subtle);
  border-radius: 12px;
  background: var(--surface-1);
  box-shadow: var(--shadow-1);
}
.hero-mark-panel::after { display: none; }
.hero-mark-panel img { position: relative; z-index: 1; width: 108px; height: auto; }

/* ── Promotion ─────────────────────────────────────────────────────── */
.promotion-section { padding-top: 20px; }
.promotion-card {
  display: grid;
  min-height: 60px;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border: 1px solid var(--line-subtle);
  border-radius: 10px;
  color: var(--text-secondary);
  background: var(--surface-1);
  text-decoration: none;
  box-shadow: var(--shadow-1);
  transition: border-color 140ms var(--ease-out);
}
.promotion-card:hover { color: var(--text-secondary); border-color: var(--accent-cyan); }
.promotion-badge { padding: 3px 8px; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--text-secondary); background: var(--surface-2); font: 600 11px/16px var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.promotion-card strong { color: var(--text-primary); font-size: 16px; }
.promotion-card > span:last-child { color: var(--text-muted); font-size: 16px; }

/* ── Metric cards：白面 hairline，mono 大数字 ───────────────────────── */
.overview-grid, .metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 14px; }
.overview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metric-card {
  position: relative;
  min-width: 0;
  min-height: 88px;
  padding: 14px 16px;
  border: 1px solid var(--line-subtle);
  border-radius: 10px;
  background: var(--surface-1);
  box-shadow: var(--shadow-1);
}
.metric-card p { margin: 0; color: var(--text-muted); font: 600 11px/16px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.metric-card strong { display: block; margin-top: 10px; overflow-wrap: anywhere; color: var(--text-primary); font-family: var(--font-display); font-size: clamp(19px, 2vw, 27px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums lining-nums; }
.metric-card > span { display: block; margin-top: 5px; color: var(--text-muted); font-size: 12px; }
.metric-primary { min-height: 88px; grid-column: span 2; border-color: var(--line-strong); background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%); }
.skeleton-text { color: var(--text-muted) !important; font-size: 14px !important; font-weight: 500 !important; animation: skeleton-pulse 1.6s ease-in-out infinite; }

/* ── Coin cards ────────────────────────────────────────────────────── */
.coin-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.coin-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 304px;
  flex-direction: column;
  overflow: hidden;
  padding: 18px 18px 14px;
  border: 1px solid var(--line-subtle);
  border-radius: 12px;
  background: var(--surface-1);
  box-shadow: var(--shadow-1);
  transition: border-color 140ms var(--ease-out), transform 140ms var(--ease-out), box-shadow 140ms var(--ease-out);
}
.coin-card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.coin-card-critical { border-left: 2px solid var(--warning); }
.coin-color-line { position: absolute; top: 0; left: 0; width: 100%; height: 3px; opacity: 1; }
.coin-card-head { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 10px; }
.coin-card-head > .status-badge { grid-column: 1 / -1; justify-self: start; }
.coin-logo { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; overflow: hidden; border: 1px solid var(--line-subtle); border-radius: 10px; background: var(--bg-canvas); }
.coin-logo img { width: 40px; height: 40px; object-fit: contain; }
.coin-logo-fallback svg { width: 48px; height: 48px; }
.coin-logo-fallback text { font: 700 10px var(--font-sans); }
.coin-card-title { min-width: 0; }
.coin-card-title h3 { margin: 0; overflow: hidden; color: var(--text-primary); font-size: 17px; line-height: 24px; text-overflow: ellipsis; white-space: nowrap; }
.coin-card-title p { margin: 0; color: var(--text-muted); font: 600 12px/16px var(--font-mono); }
.coin-algo { min-height: 36px; margin: 10px 0; color: var(--text-muted); font-size: 13px; line-height: 20px; }
.coin-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 0; }
.coin-metrics div { min-width: 0; }
.coin-metrics dt { color: var(--text-muted); font-size: 12px; line-height: 16px; }
.coin-metrics dd { margin: 2px 0 0; overflow-wrap: anywhere; color: var(--text-primary); font-size: 15px; font-weight: 600; line-height: 22px; font-variant-numeric: tabular-nums; }
.coin-metrics .primary-metric { grid-column: 1 / -1; }
.coin-metrics .primary-metric dd { font-family: var(--font-display); font-size: 21px; font-weight: 700; line-height: 26px; }
.coin-card-link { display: flex; min-height: 44px; align-items: center; justify-content: space-between; margin-top: auto; padding: 8px 2px; color: var(--accent-cyan); font-weight: 600; text-decoration: none; }
.coin-card-link:hover { color: var(--accent-cyan-hover); }
.coin-card-link::before { position: absolute; inset: 0; content: ""; }
.coin-card-data-status, .stale-line, .coin-static-state { margin: 8px 0; color: var(--text-muted); font-size: 12px; line-height: 18px; }
.stale-line { color: var(--warning); }
.coin-static-state { min-height: 88px; display: grid; place-items: center; border: 1px dashed var(--line-strong); border-radius: 8px; }
.coin-card-loading { min-height: 304px; background: linear-gradient(100deg, var(--surface-1) 25%, var(--surface-2) 45%, var(--surface-1) 65%); background-size: 240% 100%; animation: skeleton 1.8s ease-out infinite; }

/* ── Status badges：浅 tint + 深字 + 同族 hairline，6px chip ─────────── */
.status-badge { display: inline-flex; min-height: 26px; align-items: center; gap: 7px; padding: 3px 9px; border: 1px solid; border-radius: 6px; font: 600 12px/16px var(--font-mono); white-space: nowrap; }
.status-online { color: #166534; border-color: #bbf7d0; background: #f0fdf4; }
.status-offline { color: #475569; border-color: var(--line-strong); background: var(--surface-2); }
.status-unavailable { color: #991b1b; border-color: #fecaca; background: #fef2f2; }
.status-stale { color: #92400e; border-color: #fde68a; background: #fffbeb; }
.status-critical { color: #9f1239; border-color: #fecdd3; background: #fff1f2; }
.status-info { color: #1e40af; border-color: #bfdbfe; background: #eff6ff; }
.status-unknown { color: #5b21b6; border-color: #ddd6fe; background: #f5f3ff; }

/* ── Benefits ──────────────────────────────────────────────────────── */
.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.benefit-card { padding: 20px; border: 1px solid var(--line-subtle); border-radius: 12px; background: var(--surface-1); box-shadow: var(--shadow-1); }
.benefit-card > span { color: var(--accent-cyan); font: 700 12px/16px var(--font-mono); }
.benefit-card h3 { margin: 12px 0 6px; color: var(--text-primary); font-size: 17px; line-height: 24px; }
.benefit-card p { margin: 0; color: var(--text-muted); }

/* ── Download 页 ───────────────────────────────────────────────────── */
.download-hero { padding-top: 44px; }
.download-hero-grid { display: grid; min-height: 220px; grid-template-columns: minmax(0, 1fr) 220px; align-items: center; gap: 32px; }
.download-hero h1 { margin: 0; color: var(--text-primary); font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; }
.download-version { margin: 8px 0 0; color: var(--accent-cyan); font: 700 17px/24px var(--font-mono); }
.download-hero img { width: 180px; justify-self: center; }
.download-grid, .command-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.download-card { display: flex; min-width: 0; flex-direction: column; gap: 14px; padding: 20px; border: 1px solid var(--line-subtle); border-radius: 12px; background: var(--surface-1); box-shadow: var(--shadow-1); }
.download-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.download-card-head > div { display: flex; align-items: center; gap: 12px; }
.download-card h3 { margin: 0; color: var(--text-primary); font-size: 17px; line-height: 24px; }
.download-card > p { margin: 0; color: var(--text-muted); }
.platform-icon { display: grid; width: 40px; height: 40px; place-items: center; margin: 0; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--text-secondary); background: var(--surface-2); font-size: 20px; }
.file-name { color: var(--text-secondary); font-family: var(--font-mono); font-size: 13px; overflow-wrap: anywhere; }
.download-card > .button { align-self: flex-start; }
.sha-block { display: grid; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-subtle); }
.sha-block > span { color: var(--text-muted); font: 600 11px/16px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.sha-block code { overflow-wrap: anywhere; color: var(--text-secondary); font: 500 13px/20px var(--font-mono); }
.sha-block .button { justify-self: start; }

/* ── 命令框：石墨代码卡 —— 全站唯一深色节拍 ──────────────────────────── */
.command-box { min-width: 0; overflow: hidden; border: 1px solid var(--graphite-line); border-radius: 8px; background: var(--graphite); box-shadow: var(--shadow-1); }
.command-head { display: flex; min-height: 44px; align-items: center; gap: 10px; padding: 0 8px 0 14px; background: var(--graphite-2); border-bottom: 1px solid var(--graphite-line); }
.command-head strong { min-width: 0; overflow: hidden; color: var(--graphite-text); font: 600 12px/18px var(--font-mono); letter-spacing: .02em; text-overflow: ellipsis; white-space: nowrap; }
.command-head > span { padding: 3px 7px; border: 1px solid var(--graphite-line); border-radius: 4px; color: #7fb3ff; background: rgba(37, 99, 235, .16); font: 600 11px/16px var(--font-mono); }
.command-head .button { min-height: 34px; margin-left: auto; padding-block: 5px; color: var(--graphite-muted); }
.command-head .button:hover { color: #ffffff; background: rgba(255, 255, 255, .08); }
.command-box pre { min-height: 56px; margin: 0; overflow-x: auto; padding: 14px; color: var(--graphite-text); font: 500 13px/20px var(--font-mono); white-space: pre; tab-size: 2; }

/* ── Quick start / CLI ─────────────────────────────────────────────── */
.quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.quick-grid li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 18px; border: 1px solid var(--line-subtle); border-radius: 12px; background: var(--surface-1); box-shadow: var(--shadow-1); }
.quick-grid li > span, .connect-steps li > span { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--accent-cyan); background: var(--surface-1); font: 700 15px/1 var(--font-mono); }
.quick-grid h3, .connect-steps h2 { margin: 0; color: var(--text-primary); font-size: 16px; line-height: 24px; }
.quick-grid p { margin: 6px 0 0; color: var(--text-muted); }
.coin-command-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.quick-command-card { display: grid; gap: 12px; padding: 18px; border: 1px solid var(--line-subtle); border-radius: 12px; background: var(--surface-1); box-shadow: var(--shadow-1); }
.quick-command-critical { border-left: 2px solid var(--warning); }
.quick-command-head { display: flex; align-items: center; gap: 12px; }
.quick-command-head h3 { margin: 0; color: var(--text-primary); font-size: 17px; line-height: 24px; }
.quick-command-head h3 small { color: var(--text-muted); font: 600 12px var(--font-mono); }
.quick-command-head p { margin: 2px 0 0; color: var(--text-muted); }
.capability-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.capability-tags > span:not(.status-badge), .solo-tag { display: inline-flex; padding: 3px 7px; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--text-secondary); background: var(--surface-2); font: 600 11px/16px var(--font-mono); }
.critical-copy { margin: 0; padding: 12px 14px; border: 1px solid #fecdd3; border-left: 3px solid var(--critical); border-radius: 6px; color: #9f1239; background: #fff1f2; font-size: 14px; line-height: 22px; }
.cli-source-note { display: grid; max-width: 920px; gap: 8px; margin-top: 14px; }
.cli-source-note p { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 20px; }
.cli-source-note code { color: var(--text-secondary); font-family: var(--font-mono); }
.cli-usage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.cli-usage-card { display: grid; align-content: start; gap: 12px; min-width: 0; padding: 16px; border: 1px solid var(--line-subtle); border-radius: 10px; background: var(--surface-1); box-shadow: var(--shadow-1); }
.cli-usage-card h3 { margin: 0; color: var(--text-primary); font-size: 16px; line-height: 24px; }
.cli-table-stack { display: grid; gap: 24px; }
.cli-table { table-layout: fixed; font-family: var(--font-mono); }
.cli-table caption { font-family: var(--font-display); }
.cli-table th:nth-child(1) { width: 18%; }
.cli-table th:nth-child(2) { width: 12%; }
.cli-table th:nth-child(3) { width: 17%; }
.cli-table th:nth-child(4) { width: 35%; }
.cli-table th:nth-child(5) { width: 18%; }
.cli-table th { vertical-align: bottom; }
.cli-table td { height: auto; vertical-align: top; font-size: 13px; line-height: 20px; overflow-wrap: anywhere; }
.cli-alias-list { display: flex; flex-wrap: wrap; gap: 6px; }
.cli-alias-button { min-height: 32px; padding: 5px 7px; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--accent-cyan); background: var(--surface-1); font: 600 13px/20px var(--font-mono); cursor: pointer; }
.cli-alias-button:hover { border-color: var(--accent-cyan); color: var(--accent-cyan-hover); background: var(--surface-hover); }
.cli-value-cell code { color: var(--text-primary); font: inherit; }
.cli-bilingual { display: grid; gap: 7px; }
.cli-bilingual > span + span { padding-top: 7px; border-top: 1px solid var(--line-subtle); color: var(--text-muted); }
.cli-description > span:first-child { color: var(--text-secondary); }

/* ── 币页头部 + tabs ───────────────────────────────────────────────── */
.coin-page-head { display: flex; min-height: 132px; align-items: center; gap: 16px; padding-block: 32px 20px; }
.coin-identity { display: flex; min-width: 0; align-items: center; gap: 16px; }
.coin-identity .coin-logo { width: 56px; height: 56px; flex-basis: 56px; border-radius: 12px; }
.coin-identity .coin-logo img, .coin-identity .coin-logo svg { width: 48px; height: 48px; }
.coin-name-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.coin-name-row h1 { margin: 0; color: var(--text-primary); font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; }
.coin-identity p { margin: 6px 0 0; color: var(--text-muted); font: 600 13px/18px var(--font-mono); }
.coin-links { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.coin-links a, .about-links a { display: inline-flex; min-height: 44px; align-items: center; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--text-secondary); background: var(--surface-1); text-decoration: none; }
.coin-links a:hover, .about-links a:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); background: var(--surface-1); }
.coin-data-status { margin-left: 8px; }

.no-payout-banner { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 16px 18px; border: 1px solid #fecdd3; border-left: 3px solid var(--critical); border-radius: 10px; background: #fff1f2; }
.warning-icon { color: var(--critical); font-size: 20px; line-height: 28px; }
.no-payout-banner h2 { margin: 8px 0 3px; color: #9f1239; font-size: 17px; line-height: 24px; }
.no-payout-banner p { margin: 0; color: #881337; font-size: 14px; line-height: 22px; }
.critical-pill { display: inline-flex; padding: 3px 8px; border-radius: 4px; color: var(--text-on-bright); background: var(--critical); font: 700 11px/16px var(--font-mono); letter-spacing: .04em; }

.tabs-shell { position: sticky; z-index: 30; top: 60px; margin-top: 8px; border-bottom: 1px solid var(--line-subtle); background: rgba(248, 250, 252, .88); backdrop-filter: blur(12px); }
.tabs { display: flex; min-height: 48px; gap: 2px; overflow-x: auto; padding-block: 2px 0; scrollbar-width: none; overscroll-behavior-inline: contain; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; display: inline-flex; min-height: 46px; flex: 0 0 auto; align-items: center; padding: 0 14px; color: var(--text-muted); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.tab:hover { color: var(--text-primary); }
.tab.active { color: var(--text-primary); }
.tab.active::after { position: absolute; right: 10px; bottom: 0; left: 10px; height: 2px; content: ""; background: var(--accent-cyan); }
.coin-panel { min-height: 420px; padding-top: 28px; }
.panel-loading { display: grid; min-height: 320px; place-items: center; color: var(--text-muted); }
.stale-banner, .no-payout-table-note, .solo-warning { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 12px 14px; border: 1px solid #fde68a; border-left: 3px solid var(--warning); border-radius: 6px; color: #92400e; background: #fffbeb; font-size: 14px; }
.no-payout-table-note { border-color: #fecdd3; border-left-color: var(--critical); color: #9f1239; background: #fff1f2; }

/* ── Dashboard / 图表卡 ─────────────────────────────────────────────── */
.dashboard-grid { display: grid; gap: 14px; margin-top: 16px; }
.chart-card, .about-card, .form-card, .settlement-card, .worker-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line-subtle);
  border-radius: 12px;
  background: var(--surface-1);
  box-shadow: var(--shadow-1);
}
.chart-card-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.chart-card-head > p { margin: 0; color: var(--text-muted); font-size: 12px; }
.chart-host { position: relative; min-height: 200px; overflow: hidden; }
.chart-svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: none; }
.chart-hit-area { cursor: crosshair; }
.chart-grid line { stroke: var(--line-subtle); stroke-width: 1; opacity: .9; vector-effect: non-scaling-stroke; }
.chart-grid text { fill: var(--text-muted); font: 11px var(--font-mono); }
.chart-area { stroke: none; opacity: .9; }
.chart-line-underlay { fill: none; stroke: rgba(15, 23, 42, .08); stroke-width: 4; vector-effect: non-scaling-stroke; }
.chart-line { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart-point { stroke: var(--surface-1); stroke-width: 2; cursor: crosshair; vector-effect: non-scaling-stroke; }
.chart-point:hover, .chart-point:focus { r: 6; stroke: var(--text-primary); }
.chart-crosshair { stroke: var(--text-muted); stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.chart-tooltip { pointer-events: none; }
.chart-tooltip rect { fill: var(--surface-1); stroke: var(--line-strong); stroke-width: 1; filter: drop-shadow(0 2px 6px rgba(15, 23, 42, .12)); }
.chart-tooltip text { fill: var(--text-secondary); font: 12px var(--font-sans); }
.chart-tooltip .chart-tooltip-value { fill: var(--text-primary); font-weight: 700; }
.timeline-axis, .timeline-stem { stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
.timeline-point { cursor: pointer; }
.chart-empty { display: grid; min-height: 160px; place-items: center; color: var(--text-muted); }
.about-card { display: grid; grid-template-columns: minmax(180px, .5fr) minmax(0, 1.5fr); gap: 16px; margin-top: 16px; }
.about-card > p { margin: 0; color: var(--text-secondary); line-height: 1.7; }
.about-links { display: flex; grid-column: 2; flex-wrap: wrap; gap: 8px; }

/* 图表配色浅底适配：JS 写的是 presentation attribute，这里按字面量精确覆盖。
 * ★只作用于 .chart-host 内（币卡色条 / fallback 币标不受影响）。
 * 状态色 = dataviz validated palette（light surface）。改 app.js 里的色值时必须同步这里。 */
.chart-host .timeline-point circle:not([stroke]) { stroke: rgba(15, 23, 42, .28); stroke-width: 1; }
.chart-host [fill="#3DDC97"] { fill: #0ca30c; }
.chart-host [fill="#FFCC66"] { fill: #eda100; }
/* 孤块 = 空心红环：形状通道让 CVD 下也能与实心绿点区分（状态不裸靠颜色） */
.chart-host .timeline-point circle[fill="#FF5C73"] { fill: var(--surface-1); stroke: #d03b3b; stroke-width: 2.5; }
.chart-host [fill="#FF5C73"] { fill: #d03b3b; }
.chart-host [fill="#B8D6E6"] { fill: #64748b; }
.chart-host [stroke="#8072FA"] { stroke: #4a3aa7; }
.chart-host [stroke="#DEFBFC"] { stroke: var(--text-primary); }
/* 币色曲线不足 3:1 的逐币压暗（juno / dom / btc09 / noctari），其余币保持原值 */
.chart-host [stroke="#d9a62e"] { stroke: #a17410; }
.chart-host [fill="#d9a62e"] { fill: #a17410; }
.chart-host [stroke="#22c1a4"] { stroke: #0d8a72; }
.chart-host [fill="#22c1a4"] { fill: #0d8a72; }
.chart-host [stroke="#f7931a"] { stroke: #c26d05; }
.chart-host [fill="#f7931a"] { fill: #c26d05; }
.chart-host [stroke="#8b7cf6"] { stroke: #6350e6; }
.chart-host [fill="#8b7cf6"] { fill: #6350e6; }

.state-box { display: grid; min-height: 128px; place-items: center; align-content: center; gap: 10px; padding: 16px; border: 1px dashed var(--line-strong); border-radius: 10px; color: var(--text-muted); text-align: center; }
.state-box > span { font-size: 24px; }
.state-box p { margin: 0; }
.state-error { color: #991b1b; border-color: #fecaca; background: #fef2f2; }

/* ── 表格 ──────────────────────────────────────────────────────────── */
.table-shell { overflow: hidden; border: 1px solid var(--line-subtle); border-radius: 12px; background: var(--surface-1); box-shadow: var(--shadow-1); }
table { width: 100%; border-collapse: collapse; }
caption { padding: 14px 16px; color: var(--text-primary); font-family: var(--font-display); font-size: 16px; line-height: 24px; font-weight: 700; text-align: left; }
thead { background: var(--surface-2); }
th { height: 40px; padding: 8px 12px; color: var(--text-muted); font: 600 11px/16px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; text-align: left; }
td { min-width: 0; height: 48px; padding: 8px 12px; border-top: 1px solid var(--line-subtle); color: var(--text-secondary); font-size: 14px; vertical-align: middle; }
tbody tr:hover { background: var(--bg-canvas); }
.numeric { text-align: right; font-variant-numeric: tabular-nums; }
.mono { font-family: var(--font-mono); font-size: 13px; }
.cell-label { display: none; }
time { display: grid; min-width: 112px; font-variant-numeric: tabular-nums; }
time small { color: var(--text-muted); font-size: 13px; line-height: 20px; }
.copy-cell { display: flex; min-width: 150px; align-items: center; gap: 6px; }
.copy-cell code { overflow: hidden; font: 500 13px/20px var(--font-mono); text-overflow: ellipsis; }
.copy-button { flex: 0 0 auto; }
.pagination { display: flex; min-height: 56px; align-items: center; justify-content: center; gap: 12px; padding-top: 16px; }
.pagination > span:not(.button) { color: var(--text-muted); font-size: 14px; font-variant-numeric: tabular-nums; }

/* ── 表单 ──────────────────────────────────────────────────────────── */
.form-card { display: grid; gap: 16px; }
.form-card > div > p:not(.section-kicker) { margin: 8px 0 0; color: var(--text-muted); }
.form-card form, .form-grid { display: grid; gap: 12px; }
.form-card label { color: var(--text-secondary); font-size: 14px; font-weight: 600; }
.input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; }
input[type="text"], select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--text-primary);
  background: var(--surface-1);
  font-size: 16px;
}
input[type="text"]::placeholder { color: var(--text-disabled); }
input[type="text"]:focus, select:focus { border-color: var(--accent-cyan); box-shadow: 0 0 0 3px rgba(37, 99, 235, .14); outline: none; }
.check-row { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; justify-self: start; cursor: pointer; }
.check-row input { width: 18px; height: 18px; accent-color: var(--accent-cyan); }
.critical-check { padding: 8px 12px; border: 1px solid #fecdd3; border-radius: 6px; color: #9f1239 !important; background: #fff1f2; }
.critical-check input { accent-color: var(--critical); }
.form-live { min-height: 24px; color: var(--warning); font-size: 14px; }
.lookup-results-section { display: grid; gap: 14px; margin-top: 16px; }
.worker-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.worker-card h2, .lookup-payments h2 { margin: 0 0 12px; color: var(--text-primary); font-size: 17px; line-height: 24px; }
.worker-card > p { color: var(--text-muted); font-size: 14px; }
.worker-card dl { display: grid; gap: 8px; margin: 0; }
.worker-card dl > div { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line-subtle); }
.worker-card dt { font-family: var(--font-mono); font-size: 13px; }
.worker-card dd { display: grid; margin: 0; color: var(--text-primary); text-align: right; font-variant-numeric: tabular-nums; }
.worker-card dd small { color: var(--text-muted); }
.worker-card ul { margin: 0; padding-left: 22px; color: var(--text-secondary); }

/* ── Connect ───────────────────────────────────────────────────────── */
.connect-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 16px; padding: 0; list-style: none; }
.connect-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 18px; border: 1px solid var(--line-subtle); border-radius: 12px; background: var(--surface-1); box-shadow: var(--shadow-1); }
.connect-steps h2 { font-size: 16px; }
.connect-steps a { display: inline-block; margin-top: 6px; font-size: 14px; }
.connect-form { margin-bottom: 16px; }
.form-grid { grid-template-columns: 180px minmax(0, 1fr); align-items: center; }
.form-grid .check-row { grid-column: 2; }
.command-stack { display: grid; gap: 14px; }
.gpu-guide, .info-copy { margin: 16px 0 0; padding: 12px 14px; border: 1px solid #bfdbfe; border-left: 3px solid var(--accent-cyan); border-radius: 6px; color: #1e40af; background: #eff6ff; }
.settlement-card { margin-top: 16px; }
.settlement-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 16px 0 0; }
.settlement-list > div { padding: 12px; border: 1px solid var(--line-subtle); border-radius: 8px; background: var(--bg-canvas); }
.settlement-list dt { color: var(--text-muted); font: 600 11px/16px var(--font-mono); letter-spacing: .05em; text-transform: uppercase; }
.settlement-list dd { margin: 5px 0 0; color: var(--text-primary); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ── DOM 账户页（结构不动，token 全换浅色） ──────────────────────────── */
.payout-paused-banner {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid #fde68a;
  border-left: 3px solid var(--warning);
  border-radius: 10px;
  background: #fffbeb;
}
.payout-paused-banner h2 { margin: 0 0 3px; color: #92400e; font-size: 17px; line-height: 24px; }
.payout-paused-banner p { margin: 0; color: #78350f; font-size: 14px; line-height: 22px; }
.payout-paused-banner .warning-icon { color: var(--warning); }
.payout-paused-copy { margin: 0 0 16px; padding: 12px 14px; border: 1px solid #fde68a; border-left: 3px solid var(--warning); border-radius: 6px; color: #92400e; background: #fffbeb; }

.dom-account-root { display: grid; gap: 18px; }
.dom-account-root h2,
.dom-account-root h3 { color: var(--text-primary); }
.dom-account-root h2 { margin: 0 0 8px; font-size: clamp(21px, 2.2vw, 28px); line-height: 1.25; letter-spacing: -.02em; }
.dom-account-root h3 { margin: 0; font-size: 16px; line-height: 24px; }
.dom-account-root p { overflow-wrap: anywhere; }
.dom-account-root code,
.dom-account-root pre { font-family: var(--font-mono); }
.dom-account-root code { overflow-wrap: anywhere; }
.dom-account-card,
.dom-guide-figure,
.dom-safety-card {
  min-width: 0;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line-subtle);
  border-radius: 12px;
  background: var(--surface-1);
  box-shadow: var(--shadow-1);
}
.dom-account-card > p:not(.section-kicker) { margin: 0 0 16px; color: var(--text-muted); line-height: 1.7; }
.dom-account-intro {
  position: relative;
  overflow: hidden;
  padding-block: 26px;
  background: linear-gradient(115deg, #f0f7ff 0%, var(--surface-1) 46%, #f4f2ff 100%);
}
.dom-account-intro::after {
  position: absolute;
  width: 180px;
  height: 180px;
  right: -72px;
  bottom: -105px;
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: 50%;
  content: "";
}
.dom-account-intro > * { position: relative; z-index: 1; }
.dom-account-intro > p:last-child { max-width: 800px; margin-bottom: 0; color: var(--text-secondary); font-size: 16px; }

.dom-path-card { border-color: var(--line-strong); background: linear-gradient(145deg, #f0f7ff 0%, var(--surface-1) 58%); }
.dom-path-card > p { max-width: 780px; }
.dom-path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.dom-path-grid a {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 116px;
  align-content: start;
  gap: 7px;
  padding: 16px 38px 16px 16px;
  overflow-wrap: anywhere;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--text-primary);
  background: var(--surface-1);
  text-decoration: none;
  transition: border-color 140ms var(--ease-out), background-color 140ms var(--ease-out), transform 140ms var(--ease-out);
}
.dom-path-grid a::after {
  position: absolute;
  top: 15px;
  right: 15px;
  color: var(--accent-cyan);
  content: "\2192";
  font-size: 18px;
  line-height: 1;
}
.dom-path-grid a:hover { border-color: var(--accent-cyan); color: var(--text-primary); background: var(--surface-1); transform: translateY(-1px); }
.dom-path-grid a:focus-visible { border-color: var(--accent-cyan); background: var(--surface-1); }
.dom-path-grid strong { color: var(--text-primary); font-size: 15px; line-height: 1.4; }
.dom-path-grid span { color: var(--text-muted); font-size: 13px; line-height: 1.55; }

.dom-pause-banner {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid #fde68a;
  border-left: 3px solid var(--warning);
  border-radius: 12px;
  background: #fffbeb;
}
.dom-pause-banner > div:first-child { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #ffffff; background: var(--warning); font-size: 18px; }
.dom-pause-banner h2 { margin: 0 0 5px; color: #92400e; font-size: 18px; }
.dom-pause-banner p { margin: 0; color: #78350f; line-height: 1.7; }

.dom-availability-grid,
.dom-two-column,
.dom-platform-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.dom-availability-grid .dom-account-card { padding: 18px 20px; }
.dom-availability-grid h3::before { display: inline-grid; width: 24px; height: 24px; place-items: center; margin-right: 8px; border-radius: 50%; font-size: 14px; }
.dom-available { border-color: #bbf7d0; background: #f0fdf4; }
.dom-available h3::before { color: #ffffff; background: var(--success); content: "✓"; }
.dom-paused { border-color: #fde68a; background: #fffbeb; }
.dom-paused h3::before { color: #ffffff; background: var(--warning); content: "Ⅱ"; }
.dom-availability-grid ul,
.dom-safety-card ul { margin: 12px 0 0; padding-left: 22px; }
.dom-availability-grid li,
.dom-safety-card li { margin-top: 6px; }

.dom-guide-figure { padding: 12px; overflow: hidden; }
.dom-guide-figure img { width: 100%; height: auto; border: 1px solid var(--line-subtle); border-radius: 8px; background: var(--surface-2); }
.dom-guide-figure figcaption { padding: 12px 6px 3px; color: var(--text-muted); font-size: 14px; text-align: center; }

.dom-identity-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.dom-identity-grid article { min-width: 0; padding: 16px; border: 1px solid var(--line-subtle); border-top: 3px solid var(--line-strong); border-radius: 8px; background: var(--bg-canvas); }
.dom-identity-grid article.public { border-top-color: var(--success); }
.dom-identity-grid article.secret { border-top-color: var(--critical); }
.dom-identity-grid article > span { display: block; min-height: 36px; color: var(--text-muted); font: 600 11px/16px var(--font-mono); letter-spacing: .05em; text-transform: uppercase; }
.dom-identity-grid article > code { display: block; margin: 8px 0; color: var(--accent-cyan); font-size: 15px; font-weight: 700; }
.dom-identity-grid article > p { margin: 0; color: var(--text-secondary); font-size: 14px; }
.dom-relation { margin-top: 18px; padding: 16px; border: 1px solid var(--line-subtle); border-radius: 8px; background: var(--bg-sunken); }
.dom-relation p { margin: 10px 0 0; }
.dom-relation code { display: block; color: var(--text-secondary); line-height: 1.65; }

.dom-live { min-height: 24px; margin-top: 12px; color: var(--text-muted); font-size: 14px; }
.dom-live.success { color: var(--success); }
.dom-live.warning { color: var(--warning); }
.dom-live.error { color: var(--error); }
.dom-secret-panel { margin-top: 14px; padding: 18px; border: 1px solid #fecdd3; border-left: 3px solid var(--critical); border-radius: 10px; background: #fff1f2; }
.dom-secret-panel > p { margin: 6px 0 12px; color: #881337; }
.dom-secret-panel textarea,
.dom-account-root input[type="password"],
.dom-account-root input[type="file"] {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--text-primary);
  background: var(--surface-1);
  font-size: 16px;
}
.dom-secret-panel textarea { min-height: 84px; resize: vertical; font-family: var(--font-mono); overflow-wrap: anywhere; }
.dom-account-root input[type="file"] { padding: 9px; color: var(--text-secondary); }
.dom-account-root input::file-selector-button { min-height: 30px; margin-right: 10px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--text-primary); background: var(--surface-2); cursor: pointer; }
.dom-account-root input::placeholder { color: var(--text-disabled); }
.dom-account-root input:focus,
.dom-secret-panel textarea:focus { border-color: var(--accent-cyan); box-shadow: 0 0 0 3px rgba(37, 99, 235, .14); outline: none; }
.dom-field { display: grid; min-width: 0; align-content: start; gap: 7px; }
.dom-field > span { color: var(--text-secondary); font-size: 13px; font-weight: 600; line-height: 1.45; }
.dom-field input,
.dom-field textarea { display: block; max-width: 100%; }
.dom-field:focus-within > span { color: var(--text-primary); }
.dom-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.dom-backup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; gap: 10px; margin-top: 12px; }
.dom-backup-grid > .button { align-self: end; }
.dom-verify-method {
  min-width: 0;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line-subtle);
  border-radius: 8px;
  background: var(--bg-canvas);
}
.dom-verify-method h4 { margin: 0; color: var(--text-primary); font-size: 15px; line-height: 1.45; }
.dom-verify-method > p { margin: 6px 0 14px; color: var(--text-muted); line-height: 1.65; }
.dom-verify-method > .dom-field { margin-bottom: 10px; }
.dom-backup-verify {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-subtle);
}
.dom-public-values { display: grid; gap: 10px; margin-top: 14px; }
.dom-public-values:focus-visible { border-radius: 8px; }
.dom-public-status {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #bbf7d0;
  border-left: 3px solid var(--success);
  border-radius: 6px;
  color: #166534;
  background: #f0fdf4;
  font-weight: 600;
  line-height: 1.6;
}
.dom-public-values > div { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line-subtle); border-radius: 8px; background: var(--bg-canvas); }
.dom-public-values span { color: var(--text-muted); font-size: 13px; font-weight: 600; }
.dom-public-values code { min-width: 0; color: var(--text-primary); word-break: break-all; }
.dom-migration { margin-top: 16px; padding: 14px 16px; border: 1px solid #fde68a; border-left: 3px solid var(--warning); border-radius: 6px; background: #fffbeb; }
.dom-migration summary { border-radius: 6px; color: #92400e; font-weight: 650; cursor: pointer; }
.dom-migration p { margin: 6px 0 0; color: var(--text-secondary); }

#dom-existing-title,
#dom-restore-title,
#dom-create-title,
#dom-migration { scroll-margin-top: 9rem; }
.dom-binding-value {
  display: grid;
  min-width: 0;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #fde68a;
  border-radius: 8px;
  background: #fffbeb;
}
.dom-binding-value code { min-width: 0; overflow-wrap: anywhere; word-break: break-all; }
.dom-input-row,
.dom-restore-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; margin-top: 14px; }
.dom-input-row { align-items: end; }
.dom-restore-grid > .dom-field:first-child { grid-column: 1 / -1; }

.dom-platform-grid > article { min-width: 0; padding: 18px; border: 1px solid var(--line-subtle); border-radius: 10px; background: var(--surface-1); }
.dom-platform-grid > article > h3 { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line-subtle); }
.dom-guide-steps { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; counter-reset: dom-step; }
.dom-guide-steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: start; gap: 10px; counter-increment: dom-step; }
.dom-guide-steps li::before { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--accent-cyan); background: var(--surface-1); content: counter(dom-step); font: 700 13px/1 var(--font-mono); }
.dom-guide-steps li > span { padding-top: 3px; color: var(--text-secondary); line-height: 1.6; }
.dom-account-root pre { max-width: 100%; margin: 14px 0 0; overflow-x: auto; padding: 14px; border: 1px solid var(--graphite-line); border-radius: 8px; color: var(--graphite-text); background: var(--graphite); line-height: 1.65; }
.dom-command { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: 10px; margin-top: 14px; }
.dom-command > div { min-width: 0; overflow: hidden; border: 1px solid var(--graphite-line); border-radius: 8px; background: var(--graphite); }
.dom-command strong { display: block; padding: 7px 12px; color: var(--graphite-muted); background: var(--graphite-2); font: 600 11px/16px var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.dom-command code { display: block; min-height: 58px; padding: 12px; color: var(--graphite-text); white-space: pre-wrap; word-break: break-all; }
.dom-rule-callout,
.dom-danger-callout,
.dom-warn-callout,
.dom-info-callout { padding: 14px 16px; border-radius: 6px; }
.dom-rule-callout { border: 1px solid #bbf7d0; border-left: 3px solid var(--success); background: #f0fdf4; color: #166534; }
.dom-danger-callout,
.dom-warn-callout { margin-top: 16px !important; border: 1px solid #fecdd3; border-left: 3px solid var(--critical); color: #9f1239 !important; background: #fff1f2; }
.dom-info-callout { margin: 18px 0 0; border: 1px solid #bfdbfe; border-left: 3px solid var(--accent-cyan); background: #eff6ff; }
.dom-info-callout p { margin: 6px 0 0; color: #1e40af; }
.dom-code-note { margin: 8px 0 0 !important; color: var(--text-muted); font-size: 13px; }

.dom-safety-card { border: 1px solid #fecdd3; border-left: 3px solid var(--critical); background: #fff1f2; }
.dom-safety-card h2 { color: #9f1239; }
.dom-safety-card li { color: #881337; }
.dom-faq-list { display: grid; gap: 8px; margin-top: 16px; }
.dom-faq-list details { border: 1px solid var(--line-subtle); border-radius: 8px; background: var(--surface-1); }
.dom-faq-list summary { min-height: 48px; padding: 13px 44px 13px 14px; color: var(--text-primary); font-weight: 600; cursor: pointer; }
.dom-faq-list details[open] summary { border-bottom: 1px solid var(--line-subtle); }
.dom-faq-list p { margin: 0; padding: 14px; color: var(--text-secondary); }

/* ── 404 / Toast ───────────────────────────────────────────────────── */
.not-found { display: grid; min-height: 60vh; place-items: center; align-content: center; padding-block: 36px; text-align: center; }
.not-found img { width: 112px; }
.not-found h1 { margin: 0; color: var(--text-primary); font-size: clamp(26px, 3.2vw, 40px); }
.not-found > p:not(.eyebrow) { max-width: 600px; color: var(--text-muted); }
.not-found .eyebrow { justify-content: center; }
.not-found > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 16px; }
.not-found pre { max-width: 100%; overflow-x: auto; color: var(--error); text-align: left; }

.toast-region { position: fixed; z-index: 100; right: 20px; bottom: 20px; pointer-events: none; }
.toast { max-width: min(420px, calc(100vw - 32px)); padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--text-primary); background: var(--surface-1); box-shadow: var(--shadow-2); }

@keyframes skeleton { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes skeleton-pulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

/* ── 响应式 ────────────────────────────────────────────────────────── */
@media (max-width: 1199px) {
  .coin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 959px) {
  :root { --page-gutter: 24px; }
  .hero-grid { min-height: 220px; grid-template-columns: minmax(0, 1fr) 160px; gap: 24px; }
  .hero-mark-panel { min-height: 144px; }
  .header-discord { display: none; }
  .metric-primary { grid-column: span 1; }
  .download-hero-grid { grid-template-columns: minmax(0, 1fr) 200px; gap: 24px; }
  .about-card { grid-template-columns: 1fr; }
  .about-links { grid-column: 1; }
  .dom-identity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dom-backup-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .site-header { min-height: 60px; }
  .header-inner { min-height: 59px; gap: 8px; }
  .brand-lockup, .desktop-nav, .header-discord { display: none; }
  .brand-mark, .menu-button { display: flex; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-link { margin-right: auto; }
  .header-actions { margin-left: 0; }
  .header-language { min-width: 48px; padding-inline: 8px; }
  .header-cta { padding-inline: 12px; }
  .menu-button { flex: 0 0 44px; }
  .tabs-shell { top: 60px; }
  .section { padding-top: 40px; }
  .site-footer { margin-top: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 16px; padding-block: 24px 16px; }
  .hero-section { padding-top: 24px; }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 16px; }
  .hero-copy h1 { font-size: clamp(26px, 8vw, 36px); }
  .hero-mark-panel { display: none; }
  .promotion-card { grid-template-columns: auto 1fr auto; }
  .promotion-card > span:nth-child(3) { display: none; }
  .overview-grid { grid-template-columns: 1fr; }
  .benefit-grid, .quick-grid, .connect-steps { grid-template-columns: 1fr; }
  .download-grid, .command-grid, .coin-command-grid, .worker-grid, .cli-usage-grid { grid-template-columns: 1fr; }
  .download-hero-grid { grid-template-columns: 1fr; }
  .download-hero img { display: none; }
  .coin-page-head { display: grid; min-height: 0; padding-block: 24px 16px; }
  .coin-links { margin-left: 0; }
  .coin-data-status { margin-left: 0; }
  .chart-card { padding: 16px 12px; }
  .table-shell { overflow: visible; border: 0; background: transparent; box-shadow: none; }
  table, thead, tbody, tr, th, td { display: block; width: 100%; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  caption { padding: 0 0 16px; }
  tbody { display: grid; gap: 12px; }
  tbody tr { overflow: hidden; border: 1px solid var(--line-subtle); border-radius: 10px; background: var(--surface-1); box-shadow: var(--shadow-1); }
  tbody tr:hover { background: var(--surface-1); }
  td { display: grid; min-height: 48px; grid-template-columns: minmax(94px, .45fr) minmax(0, 1fr); align-items: center; gap: 12px; height: auto; padding: 10px 12px; text-align: left !important; }
  .cell-label { display: block; color: var(--text-muted); font-size: 13px; line-height: 20px; font-weight: 600; }
  .cli-table-stack { gap: 28px; }
  .cli-table caption { display: block; padding: 0 0 16px; }
  .cli-table td { grid-template-columns: 1fr; align-items: start; gap: 6px; padding: 12px; }
  .cli-table td:first-child { background: var(--surface-2); }
  .cli-table .cell-label { padding-bottom: 5px; border-bottom: 1px solid var(--line-subtle); }
  .cli-usage-card { padding: 16px; }
  .copy-cell { min-width: 0; justify-content: space-between; }
  .hash-cell .copy-cell code { overflow-x: auto; text-overflow: clip; }
  .input-row { grid-template-columns: 1fr 1fr; }
  .input-row input { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .check-row { grid-column: 1; }
  .payout-paused-banner { grid-template-columns: 28px minmax(0, 1fr); }
  .payout-paused-banner .button { grid-column: 2; justify-self: start; }
  .dom-account-card, .dom-safety-card { padding: 18px; }
  .dom-platform-grid, .dom-two-column { grid-template-columns: 1fr; }
  .dom-path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dom-path-grid a { min-height: 104px; }
  .dom-backup-grid,
  .dom-backup-verify { grid-template-columns: 1fr; }
  .dom-backup-grid > .button,
  .dom-backup-verify > .button { grid-column: 1; width: 100%; }
}

@media (max-width: 639px) {
  :root { --page-gutter: 16px; }
  .full-label { display: none; }
  .short-label { display: inline; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-status { align-self: flex-start; }
  .coin-grid { grid-template-columns: 1fr; }
  .coin-card-head { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .coin-card-head > .status-badge { grid-column: auto; }
  .promotion-card { gap: 10px; padding-inline: 14px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-primary { grid-column: 1 / -1; }
  .metric-card strong { font-size: clamp(18px, 7vw, 24px); }
  .chart-card-head { align-items: flex-start; flex-direction: column; }
  .about-card { gap: 16px; }
  .no-payout-banner { grid-template-columns: 24px minmax(0, 1fr); padding: 16px; }
  .input-row { grid-template-columns: 1fr; }
  .input-row input { grid-column: 1; }
  .input-row .button { width: 100%; }
  .pagination { gap: 8px; }
  .pagination .button { padding-inline: 10px; }
  .dom-availability-grid, .dom-identity-grid { grid-template-columns: 1fr; }
  .dom-guide-figure { padding: 6px; }
  .dom-guide-figure figcaption { padding-inline: 10px; }
  .dom-public-values > div { grid-template-columns: 1fr auto; }
  .dom-public-values code { grid-column: 1 / -1; grid-row: 2; }
  .dom-binding-value { grid-template-columns: 1fr auto; }
  .dom-binding-value code { grid-column: 1 / -1; grid-row: 2; }
  .dom-input-row, .dom-restore-grid, .dom-command { grid-template-columns: 1fr; }
  .dom-input-row .button, .dom-restore-grid .button, .dom-command .button { width: 100%; }
  .dom-path-grid,
  .dom-backup-grid,
  .dom-backup-verify { grid-template-columns: 1fr; }
  .dom-path-grid a { min-height: 0; }
  .dom-backup-grid > .button,
  .dom-backup-verify > .button { grid-column: 1; width: 100%; }
  .dom-verify-method { padding: 16px; }
  .dom-actions { display: grid; grid-template-columns: 1fr; }
  .dom-secret-panel textarea { font-size: 14px; }
}

@media (max-width: 380px) {
  .header-language { min-width: 44px; }
  .header-cta { padding-inline: 10px; }
  .header-actions { gap: 4px; }
  .coin-card-head { grid-template-columns: 48px minmax(0, 1fr); }
  .coin-card-head > .status-badge { grid-column: 1 / -1; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-primary { grid-column: 1; }
  .payout-paused-banner { grid-template-columns: 1fr; }
  .payout-paused-banner .warning-icon, .payout-paused-banner .button { grid-column: 1; }
  .payout-paused-banner .button { width: 100%; }
  .dom-pause-banner { grid-template-columns: 1fr; }
  .dom-account-card, .dom-safety-card { padding: 16px; }
  .dom-platform-grid > article { padding: 14px; }
  .dom-path-grid { gap: 10px; margin-top: 14px; }
  .dom-path-grid a { padding: 14px 36px 14px 14px; }
  .dom-secret-panel,
  .dom-verify-method { padding: 14px; }
  .dom-public-values > div,
  .dom-binding-value { grid-template-columns: minmax(0, 1fr); padding: 10px; }
  .dom-public-values code,
  .dom-binding-value code { grid-column: 1; grid-row: auto; }
  .dom-public-values .button,
  .dom-binding-value .button { width: 100%; }
  .dom-account-root input[type="file"] { padding: 7px; font-size: 13px; }
  .dom-account-root input::file-selector-button { display: block; width: 100%; margin: 0 0 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .coin-card:hover { transform: none; }
}

/* ── 下载页改版（2026-08-30）：锄头卡片 / 锄头详情页 / 一键生成器 ───────────
 * 结构沿用 coin-card / download-card / form-card / command-box / cli-table，只加变体。 */
.miner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.miner-card { min-height: 0; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--text-secondary); background: var(--surface-2); font: 600 12px/16px var(--font-mono); text-decoration: none; }
.chip small { color: var(--text-muted); font: inherit; }
.chip-muted { color: var(--text-muted); }
.chip-accent { color: #1e40af; border-color: #bfdbfe; background: #eff6ff; }
.chip-link:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.miner-metrics { margin-top: 4px; }
.miner-metrics dd.chip-row { font-weight: 500; }
.miner-head { display: grid; gap: 14px; padding-block: 28px 4px; }
.back-link { justify-self: start; color: var(--text-muted); font-size: 14px; font-weight: 600; text-decoration: none; }
.back-link:hover { color: var(--accent-cyan); }
.miner-identity { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: start; }
.miner-identity .coin-logo { width: 64px; height: 64px; flex-basis: 64px; }
.miner-identity .coin-logo img { width: 52px; height: 52px; }
.miner-identity .coin-logo-fallback svg { width: 64px; height: 64px; }
.miner-identity h1 { margin: 0; color: var(--text-primary); font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; overflow-wrap: anywhere; }
.miner-identity .coin-name-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.version-pill { padding: 3px 8px; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--accent-cyan); background: var(--surface-1); font: 700 13px/18px var(--font-mono); }
.miner-tagline { margin: 8px 0 10px; color: var(--text-secondary); font-size: 16px; line-height: 24px; }
.section-jump { background: none; border: 0; cursor: pointer; font-family: inherit; }
.file-meta { display: grid; gap: 6px; margin: 0; }
.file-meta > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; }
.file-meta dt { color: var(--text-muted); font: 600 11px/18px var(--font-mono); letter-spacing: .05em; text-transform: uppercase; }
.file-meta dd { margin: 0; color: var(--text-secondary); font-size: 13px; line-height: 18px; overflow-wrap: anywhere; }
.file-meta code { color: var(--text-primary); font: 500 12px/18px var(--font-mono); }
.builder-layout { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 18px; }
.builder-form { align-content: start; gap: 12px; }
.builder-form .form-grid { grid-template-columns: 1fr; gap: 6px; }
.builder-form label { margin-top: 8px; }
.builder-form .field-hint { color: var(--text-muted); font-size: 12px; line-height: 18px; }
.builder-note { margin: 0; padding: 10px 12px; border: 1px solid var(--line-subtle); border-radius: 6px; color: var(--text-secondary); background: var(--bg-canvas); font-size: 13px; line-height: 20px; }
.builder-links { margin: 0; font-size: 14px; font-weight: 600; }
.builder-output { display: grid; gap: 12px; min-width: 0; }
.builder-output .command-grid { grid-template-columns: 1fr; }
.builder-output .command-box pre { max-height: 260px; overflow: auto; }
.builder-hint { margin: 0; color: var(--text-muted); font-size: 13px; line-height: 20px; }
.builder-output .info-copy { margin-top: 0; }
.highlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.highlight-grid h3 { margin-top: 0; }
.fee-address-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; border: 1px solid #fde68a; border-left: 3px solid var(--warning); border-radius: 6px; background: #fffbeb; }
.fee-address-row > span { color: #92400e; font: 600 11px/16px var(--font-mono); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.fee-address-row code { overflow-wrap: anywhere; color: var(--text-primary); font: 500 13px/20px var(--font-mono); }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line-subtle); border-radius: 10px; background: var(--surface-1); box-shadow: var(--shadow-1); }
.faq-item summary { display: flex; justify-content: space-between; gap: 12px; min-height: 48px; align-items: center; padding: 12px 16px; color: var(--text-primary); font-weight: 600; line-height: 24px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { flex: 0 0 auto; content: "+"; color: var(--accent-cyan); font: 700 18px/24px var(--font-mono); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0; padding: 0 16px 16px; color: var(--text-secondary); line-height: 24px; }
.changelog-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.changelog-list li { padding: 14px 16px; border: 1px solid var(--line-subtle); border-radius: 10px; background: var(--surface-1); box-shadow: var(--shadow-1); }
.changelog-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.changelog-head strong { color: var(--accent-cyan); font: 700 15px/22px var(--font-mono); }
.changelog-head time { display: inline; min-width: 0; color: var(--text-muted); font: 500 13px/22px var(--font-mono); }
.changelog-list p { margin: 6px 0 0; color: var(--text-secondary); line-height: 22px; }
.coin-miner-table td { vertical-align: middle; }
.coin-miner-table .quick-command-head strong { color: var(--text-primary); }
.coin-miner-table td a { font-weight: 600; }
@media (max-width: 1199px) {
  .miner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 959px) {
  .builder-layout { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .highlight-grid { grid-template-columns: 1fr; }
  .miner-identity { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; }
  .miner-identity .coin-logo { width: 48px; height: 48px; flex-basis: 48px; }
  .miner-identity .coin-logo img { width: 40px; height: 40px; }
  .miner-identity .coin-logo-fallback svg { width: 48px; height: 48px; }
  .fee-address-row { grid-template-columns: 1fr; }
  .file-meta > div { grid-template-columns: 1fr; gap: 2px; }
  .coin-miner-table td { grid-template-columns: minmax(94px, .4fr) minmax(0, 1fr); }
}
@media (max-width: 639px) {
  .miner-grid { grid-template-columns: 1fr; }
  .miner-head { padding-top: 20px; }
}

/* ═══ v3 覆盖层（2026-08-30 定稿：暖米白 + 钴蓝 + Geist · 16px 面板 / 10px 元件 / hairline 造型）═══
 * 同名选择器写在文件末尾覆盖上方基线；结构（app.js）一行未动。 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(70rem 44rem at 6% -14%, rgba(37, 99, 235, .09), transparent 62%), radial-gradient(54rem 38rem at 102% 110%, rgba(185, 138, 0, .08), transparent 60%);
}
body { font-size: 16px; }
h1, h2, h3, h4 { letter-spacing: -.02em; }
.container { width: min(calc(100% - (var(--page-gutter) * 2)), 1280px); }
.section-kicker, .eyebrow { display: none; }
.section { padding-top: 48px; }
.section-heading { margin-bottom: 16px; }
.section-heading h2 { font-size: 24px; line-height: 32px; font-weight: 600; }
.chart-card h2, .about-card h2, .form-card h2, .settlement-card h2, .worker-card h2, .lookup-payments h2 { font-size: 18px; font-weight: 600; }

/* 按钮：10px，主=钴蓝实心 */
.button { border-radius: 10px; font-weight: 500; }
.button.secondary { background: var(--surface-1); }
.button.secondary:hover { border-color: var(--line-strong); background: var(--surface-hover); }
.button.ghost:hover { color: var(--text-primary); }

/* 头部 / 页脚 */
.site-header { background: rgba(250, 245, 240, .84); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.desktop-nav a { border-radius: 8px; font-weight: 500; }
.desktop-nav a.active::after { bottom: -8px; border-radius: 2px; }
.header-language { border-radius: 10px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; }
.menu-button { border-radius: 10px; }
.mobile-menu a { border-radius: 8px; }
.site-footer { background: var(--surface-1); }
.footer-grid { padding-block: 32px 24px; }
.footer-grid h2 { font-weight: 500; }

/* Hero / 推广条 */
.hero-section { padding-top: 36px; }
.hero-copy h1 { font-weight: 600; letter-spacing: -.025em; }
.hero-mark-panel { border-radius: 16px; }
.promotion-card { border-radius: 12px; }
.promotion-badge { border-radius: 6px; font-weight: 500; }

/* 指标：拼成一块 band（tile 间 hairline，外框一圈） */
.overview-grid, .metric-grid { gap: 0; overflow: hidden; border: 1px solid var(--line-subtle); border-radius: 16px; background: var(--surface-1); box-shadow: var(--shadow-1); }
.metric-card { min-height: 96px; margin: 0 -1px -1px 0; padding: 16px 20px 14px; border: 0; border-right: 1px solid var(--line-subtle); border-bottom: 1px solid var(--line-subtle); border-radius: 0; background: var(--surface-1); box-shadow: none; }
.metric-card p { font-weight: 500; letter-spacing: .08em; }
.metric-card strong { font-weight: 600; font-size: clamp(18px, 1.5vw, 24px); letter-spacing: -.015em; }
.metric-primary { background: var(--surface-1); border-color: var(--line-subtle); }
.metric-primary strong { font-size: clamp(24px, 2.4vw, 34px); }
.overview-grid .metric-card strong { font-size: clamp(24px, 2.4vw, 34px); }
.skeleton-text { font-weight: 500 !important; }

/* 币卡 / 锄头卡 */
.coin-card { padding: 20px 20px 14px; border-radius: 16px; }
.coin-card:hover { border-color: var(--line-strong); transform: none; box-shadow: var(--shadow-1); }
.coin-card-critical { border-left-width: 1px; }
.coin-logo { border-radius: 12px; }
.coin-card-title h3 { font-weight: 600; }
.coin-card-title p { font-weight: 500; }
.coin-metrics dd { font-weight: 500; }
.coin-metrics .primary-metric dd { font-weight: 600; }
.coin-card-link { font-weight: 500; }
.coin-static-state { border-radius: 10px; }
.coin-card-loading { border-radius: 16px; }

/* 状态徽章：tint 底 + 深字 + 同族边 */
.status-badge { border-radius: 6px; font-weight: 500; }
.status-online { color: #006a20; border-color: rgba(12, 163, 12, .3); background: rgba(12, 163, 12, .10); }
.status-offline { color: var(--text-secondary); border-color: var(--line-strong); background: var(--surface-2); }
.status-unavailable, .status-critical { color: #b71532; border-color: rgba(208, 59, 59, .35); background: rgba(208, 59, 59, .10); }
.status-stale { color: #935b00; border-color: rgba(237, 161, 0, .4); background: rgba(237, 161, 0, .14); }
.status-info { color: #1e40af; border-color: rgba(37, 99, 235, .35); background: rgba(37, 99, 235, .10); }

/* 卖点卡：编号改圆环，不用强调色 */
.benefit-card { border-radius: 16px; }
.benefit-card > span { display: inline-grid; width: 28px; height: 28px; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--text-secondary); font-weight: 600; }
.benefit-card h3 { font-weight: 600; }

/* Tabs：分段式胶囊（币页 sticky 壳保留） */
.tabs-shell { border-bottom: 0; background: rgba(250, 245, 240, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding-block: 8px 4px; }
.tabs { display: flex; width: max-content; max-width: 100%; min-height: 0; gap: 2px; padding: 3px; border: 1px solid var(--line-subtle); border-radius: 10px; background: var(--surface-2); }
.tabs.container { max-width: calc(100% - var(--page-gutter) * 2); margin-inline: max(var(--page-gutter), calc((100% - 1280px) / 2)); }
.tab { min-height: 38px; padding: 0 14px; border-radius: 7px; font-weight: 500; }
.tab.active { background: var(--surface-1); box-shadow: var(--shadow-1), inset 0 -2px 0 var(--accent-cyan); }
.tab.active::after { display: none; }
.coin-panel { padding-top: 20px; }
.coin-page-head { padding-block: 28px 12px; }
.coin-name-row h1 { font-weight: 600; }
.coin-identity p { font-weight: 500; }
.coin-links a, .about-links a { border-radius: 10px; }

/* 图表：平滑面积 + hairline 网格 + 只在悬停/端点显示点 */
.chart-card, .about-card, .form-card, .settlement-card, .worker-card { border-radius: 16px; padding: 20px; }
.chart-grid line { stroke: var(--line-subtle); opacity: 1; }
.chart-line-underlay { display: none; }
.chart-line { stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart-point { opacity: 0; stroke: var(--surface-1); }
.chart-point[r="6"], .chart-point:hover, .chart-point:focus { opacity: 1; }
.chart-points .chart-point:last-child { opacity: 1; }
.chart-crosshair { stroke: var(--line-strong); stroke-dasharray: none; }
.chart-tooltip rect { fill: var(--surface-1); stroke: var(--line-strong); filter: drop-shadow(0 4px 12px rgba(32, 25, 22, .12)); }
.chart-tooltip text { fill: var(--text-secondary); font: 12px var(--font-mono); }
.chart-tooltip .chart-tooltip-value { fill: var(--text-primary); font: 600 13px var(--font-display); }
.chart-host .timeline-point circle:not([stroke]) { stroke: var(--surface-1); stroke-width: 2; }
.chart-host [fill="#FFCC66"] { fill: #eda100; stroke: #935b00; stroke-width: 1.5; }
.chart-host .timeline-point circle[fill="#FF5C73"] { stroke-width: 2; }
.chart-empty { border: 1px dashed var(--line-strong); border-radius: 10px; font: 12px/1.6 var(--font-mono); text-align: center; padding: 0 12px; }
.state-box { border-radius: 10px; }

/* 表格 */
.table-shell { border-radius: 16px; }
caption { font-weight: 600; font-size: 16px; }
th { font-weight: 500; letter-spacing: .08em; }
tbody tr:hover { background: rgba(32, 25, 22, .03); }

/* 命令框（暖炭石墨） */
.command-box { border-radius: 10px; }
.command-head > span { color: #8fb4ff; border-color: var(--graphite-line); background: rgba(37, 99, 235, .18); }
.command-head .button { border-radius: 8px; }

/* 表单 */
input[type="text"], select { border-radius: 10px; }
.form-card label { font-weight: 500; }
.settlement-list > div { border-radius: 10px; }
.settlement-list dd { font-weight: 600; }
.settlement-card { margin-top: 16px; }

/* 侧条一律收成 1px（去 side-stripe） */
.no-payout-banner, .payout-paused-banner, .stale-banner, .no-payout-table-note, .solo-warning, .critical-copy, .gpu-guide, .info-copy, .payout-paused-copy, .dom-pause-banner, .dom-claim-gate, .fee-address-row, .critical-check { border-left-width: 1px; border-radius: 10px; }
.gpu-guide, .info-copy { border-color: rgba(37, 99, 235, .35); background: rgba(37, 99, 235, .08); }

/* 下载页 / 锄头页 */
.download-hero { padding-top: 36px; }
.download-hero h1 { font-weight: 600; }
.download-version { font-weight: 600; }
.download-card, .quick-command-card, .quick-grid li, .connect-steps li, .cli-usage-card { border-radius: 16px; }
.download-card h3, .quick-command-head h3, .quick-grid h3, .connect-steps h2, .cli-usage-card h3 { font-weight: 600; }
.platform-icon { border-radius: 10px; }
.chip { border-radius: 6px; font-weight: 500; }
.chip-accent { color: #1e40af; border-color: rgba(37, 99, 235, .35); background: rgba(37, 99, 235, .10); }
.capability-tags > span:not(.status-badge), .solo-tag { border-radius: 6px; font-weight: 500; }
.version-pill { border-radius: 6px; font-weight: 600; }
.quick-grid li > span, .connect-steps li > span { width: 30px; height: 30px; border-radius: 50%; color: var(--text-secondary); font-size: 13px; font-weight: 600; }
.cli-alias-button { border-radius: 6px; color: var(--text-primary); background: var(--surface-2); font-weight: 500; }
.cli-alias-button:hover { color: var(--accent-cyan); background: var(--surface-1); }
.miner-head { padding-block: 24px 4px; }
.miner-identity h1 { font-weight: 600; }
.builder-note { border-radius: 10px; }
.faq-item, .changelog-list li { border-radius: 12px; }
.faq-item summary::after { color: var(--text-muted); }
.changelog-head strong { font-weight: 600; }
.file-meta code { font-weight: 500; }
.toast { border-radius: 10px; }
.not-found h1 { font-weight: 600; }

/* DOM 账户页：圆角与卡面对齐 */
.dom-account-card, .dom-guide-figure, .dom-safety-card, .dom-pause-banner { border-radius: 16px; }
.dom-account-intro { background: linear-gradient(115deg, rgba(37, 99, 235, .06) 0%, var(--surface-1) 46%, rgba(185, 138, 0, .05) 100%); }
.dom-path-card { background: var(--surface-1); }

@media (max-width: 767px) {
  .coin-page-head { padding-block: 20px 12px; }
  tbody tr { border-radius: 12px; }
  .metric-card { min-height: 84px; padding: 14px 16px 12px; }
}

/* ═══ v3b 阶段②「换骨」：币种切换器 / 地址搜索 / 首页账本行 / 仪表盘 band + bento ═══ */

/* ── 头部：币种切换器就是一级导航 ─────────────────────────────────────── */
.header-inner { gap: 12px; }
.coin-switcher {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: 3px;
  padding: 3px;
  overflow-x: auto;
  scrollbar-width: none;
  border: 1px solid var(--line-subtle);
  border-radius: var(--r-pill, 999px);
  background: var(--surface-2);
}
.coin-switcher::-webkit-scrollbar { display: none; }
.coin-chip {
  display: inline-flex;
  min-height: 34px;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 140ms var(--ease-out), background-color 140ms var(--ease-out);
}
.coin-chip:hover { color: var(--text-primary); background: var(--surface-hover); }
.coin-chip.active { color: var(--text-primary); background: var(--surface-1); box-shadow: var(--shadow-1); }
.coin-chip-dot { display: block; width: 8px; height: 8px; flex: 0 0 8px; }
.coin-chip small { color: var(--text-muted); font-size: 11px; }
.coin-chip.active small { color: var(--text-secondary); }

.header-search { position: relative; flex: 0 0 auto; width: 172px; }
.header-search input {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px 8px 30px;
  border: 1px solid var(--line-subtle);
  border-radius: 10px;
  color: var(--text-primary);
  background: var(--surface-1);
  font-size: 14px;
  transition: border-color 140ms var(--ease-out);
}
.header-search input::placeholder { color: var(--text-muted); }
.header-search input:hover { border-color: var(--line-strong); }
.header-search input:focus { border-color: var(--accent-cyan); box-shadow: 0 0 0 3px rgba(37, 99, 235, .14); outline: none; }
.header-search-icon { position: absolute; top: 50%; left: 11px; color: var(--text-muted); font-size: 15px; line-height: 1; transform: translateY(-50%); pointer-events: none; }
.header-search.is-busy input { opacity: .6; }
.mobile-menu a small { margin-left: 6px; color: var(--text-muted); font-size: 12px; }

/* ── 状态条（首页 + 币页共用语汇）───────────────────────────────────── */
.home-strip-wrap { padding-top: 20px; }
.home-strip, .coin-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 10px 16px;
  border: 1px solid var(--line-subtle);
  border-radius: 10px;
  background: var(--surface-1);
  box-shadow: var(--shadow-1);
  color: var(--text-secondary);
  font-size: 14px;
}
.coin-strip { margin-bottom: 14px; }
.strip-live { display: inline-flex; align-items: center; gap: 8px; color: var(--text-primary); font-weight: 500; }
.strip-dot { width: 8px; height: 8px; border-radius: 50%; background: #0ca30c; }
.strip-metric b { margin-right: 5px; color: var(--text-primary); font-weight: 600; font-variant-numeric: tabular-nums; }
.strip-time { margin-left: auto; color: var(--text-muted); font-family: var(--font-mono); font-size: 12px; }

.home-head { padding-top: 26px; }
.home-head h1 { margin: 0; color: var(--text-primary); font-size: clamp(26px, 3vw, 36px); font-weight: 600; letter-spacing: -.025em; }
.home-head p { max-width: 68ch; margin: 8px 0 0; color: var(--text-secondary); }

/* ── 首页：矿池账本行 ─────────────────────────────────────────────────── */
.pool-list { display: flex; flex-direction: column; gap: 10px; }
.pool-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 1.5fr) minmax(120px, 1fr) repeat(5, minmax(0, .95fr)) auto;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  padding: 16px 20px;
  border: 1px solid var(--line-subtle);
  border-radius: 16px;
  color: inherit;
  background: var(--surface-1);
  box-shadow: var(--shadow-1);
  text-decoration: none;
  transition: border-color 140ms var(--ease-out);
}
.pool-row:hover { border-color: var(--line-strong); color: inherit; }
.pool-row-loading { min-height: 88px; background: linear-gradient(100deg, var(--surface-1) 25%, var(--surface-2) 45%, var(--surface-1) 65%); background-size: 240% 100%; animation: skeleton 1.8s ease-out infinite; }
.pool-who { display: flex; min-width: 0; align-items: center; gap: 12px; }
.pool-who .coin-logo { width: 44px; height: 44px; flex-basis: 44px; }
.pool-who .coin-logo img { width: 36px; height: 36px; }
.pool-who strong { display: block; color: var(--text-primary); font-family: var(--font-display); font-size: 17px; font-weight: 600; line-height: 1.25; }
.pool-who small { display: block; margin-top: 3px; overflow-wrap: anywhere; color: var(--text-muted); font-size: 12px; line-height: 1.4; }
.pool-who .pool-stale { color: var(--warning); }
.pool-spark { min-width: 0; }
.pool-spark > span, .pool-metric > span {
  display: block;
  color: var(--text-muted);
  font: 500 11px/16px var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pool-metric b { display: block; margin-top: 5px; overflow-wrap: anywhere; color: var(--text-primary); font-family: var(--font-display); font-size: 17px; font-weight: 600; line-height: 1.25; font-variant-numeric: tabular-nums; }
.pool-metric-primary b { font-size: 20px; }
.pool-go { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; white-space: nowrap; }
.pool-go-link { color: var(--accent-cyan); font-size: 14px; font-weight: 500; }
.spark-host { position: relative; height: 40px; margin-top: 4px; overflow: hidden; }
.spark-svg { display: block; width: 100%; height: 40px; }
.spark-host .chart-empty { min-height: 0; height: 40px; padding: 0; border: 0; color: var(--text-muted); font: 12px/40px var(--font-mono); text-align: left; place-items: center start; white-space: nowrap; }

/* ── 首页：三步开挖 + 抽水公示 ─────────────────────────────────────────── */
.home-start { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: start; }
.home-steps { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.home-steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; }
.home-steps li > span { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--text-secondary); background: var(--surface-1); font: 600 13px/1 var(--font-mono); }
.home-steps h3 { margin: 3px 0 4px; color: var(--text-primary); font-size: 16px; font-weight: 600; line-height: 1.35; }
.home-steps p { margin: 0; color: var(--text-secondary); line-height: 1.65; }
.home-start-command { display: grid; gap: 12px; min-width: 0; }
.home-start-command .command-box pre { white-space: pre-wrap; overflow-wrap: anywhere; overflow-x: visible; }
.home-start-links { display: flex; flex-wrap: wrap; gap: 10px; }
.fee-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding: 16px 20px; border: 1px solid var(--line-subtle); border-radius: 16px; background: var(--surface-1); box-shadow: var(--shadow-1); }
.fee-item { display: inline-flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 14px; text-decoration: none; }
.fee-item strong { color: var(--text-primary); font-weight: 500; }
.fee-item .mono { color: var(--text-muted); font-size: 12px; }
a.fee-item:hover strong { color: var(--accent-cyan); }

/* ── 币页：4 格 stat band ─────────────────────────────────────────────── */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid var(--line-subtle);
  border-radius: 16px;
  background: var(--surface-1);
  box-shadow: var(--shadow-1);
}
.band-cell { min-width: 0; padding: 18px 22px 16px; }
.band-cell + .band-cell { border-left: 1px solid var(--line-subtle); }
.band-label { display: block; color: var(--text-muted); font: 500 11px/16px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.band-value { display: block; margin-top: 10px; overflow-wrap: anywhere; color: var(--text-primary); font-family: var(--font-display); font-size: clamp(20px, 2vw, 26px); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.band-hero .band-value { font-size: clamp(26px, 2.8vw, 36px); }
.band-sub { display: block; margin-top: 6px; color: var(--text-muted); font-size: 12px; line-height: 1.5; }

/* ── 币页：bento ─────────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.bento-8 { grid-column: span 8; }
.bento-4 { grid-column: span 4; }
.bento-stack { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bento-stack .kv-card { flex: 1 1 auto; }
.kv-card { display: flex; flex-direction: column; justify-content: center; padding: 6px 20px; }
.kv-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 10px; padding: 13px 0; border-top: 1px solid var(--line-subtle); }
.kv-row:first-child { border-top: 0; }
.kv-row > span { color: var(--text-muted); font: 500 11px/16px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.kv-row b { overflow-wrap: anywhere; color: var(--text-primary); font-family: var(--font-display); font-size: 18px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.chart-unit { color: var(--text-muted); font-size: 12px; font-weight: 400; letter-spacing: .04em; }
.chart-card-head .button.ghost { min-height: 32px; padding: 6px 10px; font-size: 13px; }
.table-flat { border: 0; border-radius: 0; box-shadow: none; }
.table-flat th { background: transparent; }
.table-flat thead { background: transparent; }
.table-flat td { height: 44px; }
.table-flat tbody tr:first-child td { border-top: 1px solid var(--line-subtle); }
.about-card .about-meta { margin: 6px 0 0; color: var(--text-muted); font-size: 12px; letter-spacing: .04em; }

@media (max-width: 1199px) {
  .header-search, .header-discord { display: none; }
  .pool-row { grid-template-columns: minmax(180px, 1.4fr) minmax(110px, 1fr) repeat(3, minmax(0, .9fr)) auto; }
  .pool-row .m4, .pool-row .m5 { display: none; }
}
@media (max-width: 959px) {
  .pool-row { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) repeat(2, minmax(0, .9fr)) auto; }
  .pool-row .m3 { display: none; }
  .bento-8, .bento-4 { grid-column: span 12; }
  .bento-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-start { grid-template-columns: 1fr; gap: 20px; }
  .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band-cell:nth-child(3) { border-left: 0; }
  .band-cell:nth-child(n+3) { border-top: 1px solid var(--line-subtle); }
}
@media (max-width: 767px) {
  .coin-switcher { display: none; }
  .home-strip-wrap { padding-top: 14px; }
  .home-head { padding-top: 20px; }
  .pool-row { grid-template-columns: 1fr 1fr; gap: 12px 16px; padding: 14px 16px; }
  .pool-who, .pool-spark, .pool-go { grid-column: 1 / -1; }
  .pool-go { flex-direction: row; align-items: center; justify-content: space-between; }
  .pool-row .m2 { display: none; }
  .bento-stack { grid-template-columns: 1fr; }
  .strip-time { width: 100%; margin-left: 0; }
  .table-flat tbody tr { border: 1px solid var(--line-subtle); }
  .table-flat tbody tr:first-child td { border-top: 0; }
}
@media (max-width: 639px) {
  .stat-band { grid-template-columns: 1fr; }
  .band-cell + .band-cell { border-left: 0; border-top: 1px solid var(--line-subtle); }
  .band-cell { padding: 14px 16px 12px; }
  .fee-row { gap: 10px 16px; padding: 14px 16px; }
}

/* ── 20260831a ───────────────────────────────────────────────────────────────
   英文头部 CTA "Download miners" 在 flex 挤压下折成两行 → 按钮 62px 高，
   比同排的语言按钮(44px)高一截，视觉上"特别大"。头部控件一律不换行、不被压缩，
   需要让位时压搜索框（它本来就 min-width:0 可伸缩）。 */
.header-actions,
.header-cta,
.header-language,
.header-discord { flex: 0 0 auto; white-space: nowrap; }
.header-cta .full-label,
.header-cta .short-label { white-space: nowrap; }
