/* vbc 钱包 · 官网样式
   版式概念：「钞券雕刻」——钴蓝扭索纹（guilloché）作为唯一的视觉主角，其余保持冷静的账本式排版。 */
:root {
  --bg: #F3F6FC;
  --surface: #FFFFFF;
  --surface-2: #E9EEFA;
  --ink: #0A1530;
  --ink-2: #3E4A66;
  --muted: #67728C;
  --line: #D6DEEF;
  --cobalt: #1E4BEB;
  --cobalt-2: #163BC0;
  --cobalt-soft: #DCE5FF;
  --on-cobalt: #FFFFFF;
  --cyan: #0B95C6;
  --deep: #071433;
  --deep-2: #0D1E4A;
  --deep-ink: #E7EDFB;
  --deep-muted: #9AA8CC;
  --deep-line: #22346A;
  --ok: #0C8A5E;
  --warn: #A86A12;
  --danger: #C2364A;
  --header-bg: rgba(243, 246, 252, .82);
  --shadow: 0 1px 2px rgba(10, 21, 48, .06), 0 12px 32px -12px rgba(10, 21, 48, .18);

  --f-display: "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --f-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #060C1E; --surface: #0C1630; --surface-2: #111E3F; --ink: #E6ECFA; --ink-2: #B6C0D9;
    --muted: #8893B0; --line: #1F2C50; --cobalt: #5C80FF; --cobalt-2: #7A97FF; --cobalt-soft: #16245A;
    --on-cobalt: #06102A; --cyan: #3CC2EE; --deep: #030817; --deep-2: #0A1636; --deep-ink: #E7EDFB;
    --deep-muted: #93A1C6; --deep-line: #1C2B5A; --ok: #34C38F; --warn: #E2A84B; --danger: #F0687C;
    --header-bg: rgba(6, 12, 30, .8);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -16px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #060C1E; --surface: #0C1630; --surface-2: #111E3F; --ink: #E6ECFA; --ink-2: #B6C0D9;
  --muted: #8893B0; --line: #1F2C50; --cobalt: #5C80FF; --cobalt-2: #7A97FF; --cobalt-soft: #16245A;
  --on-cobalt: #06102A; --cyan: #3CC2EE; --deep: #030817; --deep-2: #0A1636; --deep-ink: #E7EDFB;
  --deep-muted: #93A1C6; --deep-line: #1C2B5A; --ok: #34C38F; --warn: #E2A84B; --danger: #F0687C;
  --header-bg: rgba(6, 12, 30, .8);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -16px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--cobalt); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cobalt-2); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cobalt); color: var(--on-cobalt); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--f-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cobalt); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.display {
  font-family: var(--f-display); font-weight: 900; letter-spacing: -.01em;
  font-size: clamp(2.2rem, 5vw, 3.9rem); line-height: 1.16;
}
.h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.65rem, 3.2vw, 2.45rem); line-height: 1.25; }
.h3 { font-family: var(--f-body); font-weight: 700; font-size: 1.14rem; line-height: 1.45; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--ink-2); max-width: 38em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.note {
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .04em; color: var(--muted);
  display: inline-flex; gap: 6px; align-items: center;
}
.note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--warn); }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--cobalt);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--b);
  font: 600 .96rem/1 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--cobalt); color: var(--on-cobalt); }
.btn-primary:hover { background: var(--cobalt-2); border-color: var(--cobalt-2); color: var(--on-cobalt); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); --b: var(--line); }
.btn-ghost:hover { --b: var(--cobalt); color: var(--cobalt); }
.btn-light { background: var(--deep-ink); color: var(--deep); --b: var(--deep-ink); }
.btn-light:hover { background: #fff; color: var(--deep); }
.btn-outline-light { background: transparent; color: var(--deep-ink); --b: var(--deep-line); }
.btn-outline-light:hover { --b: var(--deep-ink); color: #fff; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--header-bg); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); }
.logo svg { width: 34px; height: 34px; }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-word b { font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; letter-spacing: -.02em; }
.logo-word small { font-family: var(--f-mono); font-size: .58rem; letter-spacing: .28em; color: var(--muted); margin-top: 3px; }
.nav-primary { flex: 1; display: flex; justify-content: center; min-width: 0; }
.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-links a {
  display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink-2);
  font-size: .95rem; font-weight: 500;
}
.nav-links a:hover { color: var(--cobalt); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--cobalt); font-weight: 700; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn svg { width: 22px; height: 22px; }
.mobile-panel { display: none; }

@media (max-width: 960px) {
  .nav-primary, .nav-actions .btn-ghost { display: none; }
  .nav-actions { margin-left: auto; }
  .menu-btn { display: inline-flex; }
  .mobile-panel {
    display: block; border-top: 1px solid var(--line); background: var(--bg);
    padding-block: 12px 20px;
  }
  .mobile-panel[hidden] { display: none !important; }
  .mobile-panel ul { list-style: none; display: grid; gap: 2px; }
  .mobile-panel a.m-link {
    display: flex; justify-content: space-between; padding: 14px 4px; text-decoration: none; color: var(--ink);
    font-size: 1.05rem; font-weight: 600; border-bottom: 1px solid var(--line);
  }
  .mobile-panel a.m-link[aria-current="page"] { color: var(--cobalt); }
  .mobile-panel a.m-link span { font-family: var(--f-mono); font-size: .75rem; color: var(--muted); font-weight: 400; }
  .mobile-panel .btn-row { margin-top: 18px; }
  .mobile-panel .btn-row .btn { flex: 1; }
}
@media (max-width: 420px) {
  .nav-actions .btn-primary { padding: 0 14px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 14px; max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.split {
  max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px;
}
@media (max-width: 720px) { .section-head.split { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-copy .display em { font-style: normal; color: var(--cobalt); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 6px; }
.hero-meta li { list-style: none; display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-2); }
.hero-meta svg { width: 16px; height: 16px; color: var(--ok); }
.hero-visual { position: relative; min-width: 0; display: grid; place-items: center; }
.rosette { position: absolute; inset: -12% -18%; width: 136%; height: 124%; pointer-events: none; }
.page-hero { padding-block: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; display: grid; gap: 18px; }
.page-hero .rosette { inset: -40% -20% -40% 40%; width: 80%; height: 180%; opacity: .7; }
.crumbs { font-family: var(--f-mono); font-size: .78rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; list-style: none; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--cobalt); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
}

/* Wallet device mock */
.device {
  position: relative; width: min(100%, 380px); background: var(--surface); border: 1px solid var(--line);
  border-radius: 28px; box-shadow: var(--shadow); padding: 22px; display: grid; gap: 16px;
}
.device-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.chain-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--surface-2); font-size: .8rem; font-weight: 600; color: var(--ink);
}
.chain-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.addr { font-family: var(--f-mono); font-size: .78rem; color: var(--muted); }
.balance { display: grid; gap: 2px; }
.balance small { font-size: .8rem; color: var(--muted); }
.balance strong { font-family: var(--f-mono); font-size: clamp(1.8rem, 4vw, 2.2rem); font-weight: 600; letter-spacing: -.02em; }
.balance span { font-family: var(--f-mono); font-size: .82rem; color: var(--ok); }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.quick div { display: grid; justify-items: center; gap: 6px; font-size: .76rem; color: var(--ink-2); }
.quick b { width: 42px; height: 42px; border-radius: 14px; background: var(--cobalt-soft); color: var(--cobalt); display: grid; place-items: center; }
.quick svg { width: 20px; height: 20px; }
.assets { list-style: none; display: grid; }
.assets li { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.tok { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 700 .72rem var(--f-mono); color: #fff; }
.assets .nm { display: grid; line-height: 1.3; min-width: 0; }
.assets .nm b { font-size: .92rem; }
.assets .nm small { font-size: .75rem; color: var(--muted); }
.assets .amt { text-align: right; font-family: var(--f-mono); font-size: .86rem; line-height: 1.3; }
.assets .amt small { display: block; color: var(--muted); font-size: .74rem; }
.device-foot { display: flex; justify-content: space-between; gap: 8px; font-family: var(--f-mono); font-size: .72rem; color: var(--muted); flex-wrap: wrap; }
.float-card {
  position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  padding: 10px 14px; font-size: .8rem; display: grid; gap: 2px; line-height: 1.35;
}
.float-card b { font-family: var(--f-mono); font-size: .9rem; }
.float-a { left: -4%; top: 14%; }
.float-b { right: -2%; bottom: 12%; }
@media (max-width: 1100px) { .float-a { left: 0; } .float-b { right: 0; } }
@media (max-width: 520px) { .float-card { display: none; } }

/* ---------- Trust band ---------- */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; padding-block: 22px; }
.trust-label { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: slide 38s linear infinite; }
.marquee-track > span { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink-2); white-space: nowrap; font-size: 1rem; }
.marquee-track > span small { font-family: var(--f-mono); font-weight: 400; font-size: .72rem; color: var(--muted); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (max-width: 720px) { .trust-inner { grid-template-columns: 1fr; gap: 12px; } }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 26px 22px 6px 0; display: grid; gap: 4px; }
.stat + .stat { padding-left: 22px; border-left: 1px solid var(--line); }
.stat strong { font-family: var(--f-mono); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.02em; color: var(--ink); }
.stat span { color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Pillars (core advantages) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.pillar { display: grid; gap: 14px; align-content: start; padding-top: 22px; border-top: 2px solid var(--ink); }
.pillar .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--cobalt-soft); color: var(--cobalt); display: grid; place-items: center; }
.pillar .ico svg { width: 24px; height: 24px; }
.pillar p { color: var(--ink-2); }
.pillar .spec { font-family: var(--f-mono); font-size: .78rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; margin-top: 4px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 12px; min-width: 0;
  transition: border-color .2s, transform .2s;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover, .card.hoverable:hover { border-color: var(--cobalt); transform: translateY(-2px); }
.card p { color: var(--ink-2); }
.card .more { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--cobalt); display: inline-flex; gap: 6px; align-items: center; font-size: .92rem; }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
a.card:hover .more svg { transform: translateX(3px); }
.card-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--cobalt-soft); color: var(--cobalt); display: grid; place-items: center; }
.card-ico svg { width: 22px; height: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.tag { font-family: var(--f-mono); font-size: .72rem; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }
.bullets { list-style: none; display: grid; gap: 8px; }
.bullets li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; color: var(--ink-2); font-size: .94rem; }
.bullets li::before { content: ""; width: 7px; height: 7px; margin-top: .62em; border-radius: 2px; background: var(--cobalt); transform: rotate(45deg); }

/* Media with Unsplash image + designed fallback */
.media {
  position: relative; aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden; border-radius: var(--radius-sm);
  background:
    repeating-linear-gradient(135deg, transparent 0 10px, color-mix(in srgb, var(--cobalt) 8%, transparent) 10px 11px),
    radial-gradient(120% 90% at 85% 0%, color-mix(in srgb, var(--cyan) 30%, transparent), transparent 60%),
    linear-gradient(160deg, var(--deep-2), var(--deep));
}
.media::after {
  content: attr(data-label); position: absolute; left: 14px; bottom: 12px;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--deep-muted);
}
.media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.media.media-tall { aspect-ratio: 4 / 5; }
.media.media-wide { aspect-ratio: 21 / 9; }
.card:hover .media img { transform: scale(1.04); }

/* Service preview list (home) */
.svc-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1024px) { .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svc-list { grid-template-columns: 1fr; } }

/* Testimonials */
.quote { display: flex; flex-direction: column; gap: 18px; }
.quote blockquote { margin: 0; font-family: var(--f-display); font-size: 1.08rem; line-height: 1.75; color: var(--ink); }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--on-cobalt); background: var(--cobalt); flex: none; }
.quote figcaption b { display: block; font-size: .94rem; }
.quote figcaption small { color: var(--muted); font-size: .8rem; }
.stars { color: var(--warn); letter-spacing: 2px; font-size: .9rem; }

/* Split feature */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split > * { min-width: 0; }
.split .copy { display: grid; gap: 18px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Deep CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--deep); color: var(--deep-ink); }
.cta-band .rosette { inset: -60% -10% -60% 45%; width: 70%; height: 220%; opacity: .9; }
.cta-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: center; padding-block: clamp(56px, 8vw, 96px); }
.cta-inner h2 { color: var(--deep-ink); }
.cta-inner p { color: var(--deep-muted); max-width: 36em; margin-top: 12px; }
.cta-inner .eyebrow { color: var(--deep-muted); }
@media (max-width: 820px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 22px 0 0; display: grid; gap: 10px; align-content: start; counter-increment: s; }
.steps li::before {
  content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-size: .82rem; color: var(--cobalt);
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--cobalt); display: grid; place-items: center;
  background: var(--bg); position: relative; z-index: 1;
}
.steps li::after { content: ""; position: absolute; top: 22px; left: 44px; right: 0; height: 1.5px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 10px); }
.steps li:last-child::after { display: none; }
.steps p { color: var(--ink-2); font-size: .94rem; }
.steps code { font-family: var(--f-mono); font-size: .78rem; background: var(--surface-2); padding: 1px 6px; border-radius: 4px; color: var(--ink); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps li { grid-template-columns: 44px 1fr; column-gap: 16px; padding: 0; }
  .steps li > * { grid-column: 2; }
  .steps li::before { grid-row: 1 / span 3; grid-column: 1; }
  .steps li::after { top: 44px; bottom: -26px; left: 21px; right: auto; width: 1.5px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 10px); }
}

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .94rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--surface-2); }
tbody tr:last-child td { border-bottom: 0; }
td.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.pill.ok { color: var(--ok); }
.pill.ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.warn { color: var(--warn); }
.pill.warn::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center;
  padding: 22px 0; font-weight: 700; font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center;
  font-family: var(--f-mono); font-weight: 400; color: var(--cobalt); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 44px 24px 0; color: var(--ink-2); display: grid; gap: 10px; max-width: 52rem; }
.faq code { font-family: var(--f-mono); font-size: .85em; background: var(--surface-2); padding: 1px 6px; border-radius: 4px; color: var(--ink); }

/* ---------- Listing ---------- */
.filterbar {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + 68px); z-index: 20;
  background: var(--bg); border-bottom: 1px solid var(--line); padding-block: 14px;
}
.filterbar .wrap { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.filters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 999px;
  padding: 8px 16px; font: 600 .88rem var(--f-body); cursor: pointer; display: inline-flex; gap: 8px; align-items: center;
}
.filter span { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); font-weight: 400; }
.filter:hover { border-color: var(--cobalt); color: var(--cobalt); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.filter[aria-pressed="true"] span { color: var(--bg); opacity: .7; }
.search { position: relative; flex: 1 1 220px; max-width: 320px; }
.search input {
  width: 100%; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  padding: 0 16px 0 40px; font: inherit; font-size: .92rem;
}
.search input:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px var(--cobalt-soft); }
.search svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; color: var(--muted); }
@media (max-width: 640px) { .search { max-width: none; flex-basis: 100%; } }
.result-line { font-family: var(--f-mono); font-size: .8rem; color: var(--muted); margin-bottom: 18px; }
.list-card { padding: 0; overflow: hidden; gap: 0; }
.list-card .media { border-radius: 0; }
.list-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.list-card .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cat { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt); }
.spec-row { display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--f-mono); font-size: .76rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; margin-top: auto; }
.spec-row b { color: var(--ink); font-weight: 500; }
.list-card .actions { display: flex; gap: 8px; padding-top: 4px; }
.empty { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 48px 16px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: .92rem; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 10px;
  padding: 12px 14px; font: inherit; font-size: .96rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px var(--cobalt-soft); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field .err { color: var(--danger); font-size: .82rem; min-height: 0; }
.field .err:empty { display: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.check input { margin-top: .35em; width: 16px; height: 16px; accent-color: var(--cobalt); }
.form-status { border-radius: 10px; padding: 14px 16px; font-size: .92rem; background: var(--cobalt-soft); color: var(--ink); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.channel { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.channel:first-child { border-top: 0; padding-top: 0; }
.channel .card-ico { width: 40px; height: 40px; }
.channel b { display: block; }
.copy-line { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.copy-line code { font-family: var(--f-mono); font-size: .88rem; color: var(--ink); background: var(--surface-2); padding: 3px 8px; border-radius: 6px; user-select: all; overflow-wrap: anywhere; }
.copy-btn { border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 6px; padding: 3px 10px; font: 500 .78rem var(--f-body); cursor: pointer; }
.copy-btn:hover { border-color: var(--cobalt); color: var(--cobalt); }

/* ---------- App page ---------- */
.platforms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1024px) { .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .platforms { grid-template-columns: 1fr; } }
.platform .ver { font-family: var(--f-mono); font-size: .78rem; color: var(--muted); }
.dl-panel { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
@media (max-width: 760px) { .dl-panel { grid-template-columns: 1fr; } }
.qr-box { width: 196px; height: 196px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.qr-box canvas, .qr-box img { width: 168px !important; height: 168px !important; }
.hash { font-family: var(--f-mono); font-size: .78rem; background: var(--surface-2); border-radius: 8px; padding: 12px 14px; overflow-x: auto; white-space: nowrap; color: var(--ink); }
dl.specs { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; font-size: .94rem; }
dl.specs dt { color: var(--muted); }
dl.specs dd { margin: 0; font-family: var(--f-mono); font-size: .88rem; }

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); }
.story .prose { display: grid; gap: 18px; color: var(--ink-2); font-size: 1.04rem; max-width: 38em; }
.story .prose p:first-child::first-letter { font-family: var(--f-display); font-weight: 900; font-size: 3.2em; float: left; line-height: 1; margin: 4px 10px 0 0; color: var(--cobalt); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }
.mission { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.55; max-width: 30em; }
.mission mark { background: linear-gradient(transparent 62%, var(--cobalt-soft) 62%); color: inherit; padding: 0 2px; }
.principles { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.principles li { padding: 28px 28px 28px 0; display: grid; gap: 10px; border-bottom: 1px solid var(--line); }
.principles li:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.principles p { color: var(--ink-2); }
.principles .k { font-family: var(--f-mono); font-size: .76rem; color: var(--cobalt); letter-spacing: .08em; }
@media (max-width: 720px) {
  .principles { grid-template-columns: 1fr; }
  .principles li:nth-child(even) { padding-left: 0; border-left: 0; }
}
.post { padding: 0; overflow: hidden; gap: 0; }
.post .body { padding: 20px 22px 22px; display: grid; gap: 10px; }
.post time { font-family: var(--f-mono); font-size: .76rem; color: var(--muted); }
.post details summary { cursor: pointer; color: var(--cobalt); font-weight: 600; font-size: .92rem; list-style: none; }
.post details summary::-webkit-details-marker { display: none; }
.post details[open] summary { margin-bottom: 10px; }
.post details p + p { margin-top: 8px; }
.post details p { font-size: .94rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: var(--deep-muted); padding-block: 64px 28px; border-top: 1px solid var(--deep-line); }
.site-footer a { color: var(--deep-muted); text-decoration: none; }
.site-footer a:hover { color: var(--deep-ink); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.foot-grid .logo { color: var(--deep-ink); }
.foot-grid .logo-word small { color: var(--deep-muted); }
.foot-brand p { margin-top: 16px; font-size: .9rem; max-width: 26em; }
.foot-col h2 { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--deep-ink); font-weight: 500; margin-bottom: 14px; }
.foot-col ul { list-style: none; display: grid; gap: 10px; font-size: .92rem; }
.risk { margin-top: 48px; padding: 18px 0; border-block: 1px solid var(--deep-line); font-size: .8rem; line-height: 1.7; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; font-size: .82rem; font-family: var(--f-mono); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); translate: -50% 0; z-index: 90;
  background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 10px; font-size: .9rem; box-shadow: var(--shadow);
  max-width: calc(100vw - 32px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* small fixes */
.menu-btn span { display: inline-flex; }
.h3 svg { width: 20px; height: 20px; flex: none; }
.channel span.muted { display: block; }
.btn-row .btn-sm svg { width: 16px; height: 16px; }


/* ================= 动态数字货币硬币 ================= */
:root { --f-coin: "Segoe UI Symbol", "Apple Symbols", system-ui, -apple-system, "Segoe UI", "Noto Sans", Arial, sans-serif; }
.coin { --t: calc(var(--s) * .085); display: inline-block; flex: none; width: var(--s); height: var(--s); perspective: calc(var(--s) * 8); vertical-align: middle; }
.coin-body { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; animation: coin-spin var(--spd, 5s) linear infinite; }
.coin .rim {
  position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c1) 50%, #000), var(--c1), color-mix(in srgb, var(--c1) 50%, #000));
  transform: translateZ(calc((var(--i) - 3.5) * var(--t) / 8));
}
.coin .face {
  position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  color: #fff; font: 800 calc(var(--s) * .5) / 1 var(--f-coin); font-style: normal;
  background: radial-gradient(circle at 30% 26%, var(--c2), var(--c1) 58%, color-mix(in srgb, var(--c1) 68%, #000) 100%);
  box-shadow: inset 0 0 0 calc(var(--s) * .055) rgba(255, 255, 255, .24), inset 0 0 0 calc(var(--s) * .095) rgba(0, 0, 0, .12);
  text-shadow: 0 calc(var(--s) * .025) 0 rgba(0, 0, 0, .25);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.coin.mid .face { font-size: calc(var(--s) * .34); }
.coin.txt .face { font-size: calc(var(--s) * .25); letter-spacing: -.02em; font-family: var(--f-mono); }
.coin .face::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .55) 49%, transparent 60%);
  background-size: 260% 100%; background-position: 150% 0; animation: coin-shine 3.4s ease-in-out infinite;
}
.coin .front { transform: translateZ(calc(var(--t) / 2)); }
.coin .back { transform: rotateY(180deg) translateZ(calc(var(--t) / 2)); }
@keyframes coin-spin { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
@keyframes coin-shine { 0% { background-position: 150% 0; } 55%, 100% { background-position: -60% 0; } }

.coin-float { position: absolute; z-index: 0; animation: coin-bob 6s ease-in-out infinite; animation-delay: var(--d, 0s); filter: drop-shadow(0 14px 16px rgba(7, 20, 51, .28)); line-height: 0; }
@keyframes coin-bob { 50% { translate: 0 -14px; } }

/* 首页主视觉 */
.hero-visual { padding-block: 44px; }
.hero-visual .device { z-index: 1; }
.hc1 { left: 0; top: 0; --d: -1s; }
.hc2 { right: 3%; top: 8%; --d: -3s; }
.hc3 { left: -1%; top: 56%; --d: -2s; }
.hc4 { right: -1%; bottom: 4%; --d: -4.5s; }
.hc5 { left: 15%; bottom: 0; --d: -5s; }

/* 网络滚动条 */
.marquee-track .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); margin-inline: 6px; }

/* 展示页硬币舞台 */
.coin-stage {
  display: grid; place-items: center;
  background:
    radial-gradient(55% 65% at 50% 46%, color-mix(in srgb, var(--c1) 55%, transparent), transparent 72%),
    repeating-linear-gradient(135deg, transparent 0 10px, rgba(255, 255, 255, .03) 10px 11px),
    linear-gradient(160deg, var(--deep-2), var(--deep));
}
.coin-stage::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 156px; height: 156px; translate: -50% -50%;
  border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--c2) 55%, transparent); animation: ring-spin 24s linear infinite;
}
.coin-stage .coin-float { position: relative; z-index: 1; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .45)); }
.spark { position: absolute; bottom: 14%; width: 6px; height: 6px; border-radius: 50%; background: var(--c2); box-shadow: 0 0 10px var(--c2); opacity: 0; animation: spark 4.2s linear infinite; }
.spark.s1 { left: 24%; }
.spark.s2 { left: 72%; animation-delay: -1.4s; width: 4px; height: 4px; }
.spark.s3 { left: 58%; animation-delay: -2.8s; }
@keyframes spark { 0% { opacity: 0; transform: translateY(0); } 20% { opacity: .9; } 100% { opacity: 0; transform: translateY(-110px); } }
@keyframes ring-spin { to { rotate: 360deg; } }
.card:hover .coin-stage .coin-body { animation-duration: 1.8s; }

/* 行动号召区 */
.cta-coin { z-index: 0; }
.cta-coin.ca { right: 4%; top: 12%; }
.cta-coin.cb { right: 30%; bottom: 10%; --d: -3s; }
@media (max-width: 820px) { .cta-coin { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .coin-body, .coin-float, .coin .face::after, .spark, .coin-stage::before { animation: none; }
}

/* ================= 关于我们 · 动态场景 ================= */
.scene {
  container-type: inline-size; color: var(--deep-ink); display: flex; flex-direction: column; justify-content: center;
  gap: clamp(8px, 1.4vw, 14px); padding: 6%;
  background:
    radial-gradient(80% 60% at 85% 0%, rgba(11, 149, 198, .28), transparent 60%),
    radial-gradient(70% 60% at 0% 100%, rgba(30, 75, 235, .35), transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 10px, rgba(255, 255, 255, .025) 10px 11px),
    linear-gradient(160deg, #0D1E4A, #071433);
}
.scene::after { display: none; }
.scene small { color: #9AA8CC; }
.scene code { font-family: var(--f-mono); }
.sc-tag { position: absolute; right: 3.6cqw; top: 3.4cqw; font: 500 max(9px, 2.2cqw)/1 var(--f-mono); letter-spacing: .1em; color: #9AA8CC; padding: 1cqw 1.8cqw; border: 1px solid rgba(154, 168, 204, .3); border-radius: 999px; }
.mcoin {
  --c1: #1E4BEB; flex: none; width: 9cqw; height: 9cqw; min-width: 26px; min-height: 26px; border-radius: 50%; display: grid; place-items: center;
  font: 800 max(12px, 4.2cqw)/1 var(--f-coin); color: #fff;
  background: radial-gradient(circle at 30% 28%, color-mix(in srgb, var(--c1) 45%, #fff), var(--c1) 60%, color-mix(in srgb, var(--c1) 70%, #000));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25), 0 6px 14px -4px rgba(0, 0, 0, .5);
}
.mcoin.lst { font: 700 max(9px, 2.4cqw)/1 var(--f-mono); }

/* --- verify --- */
.sv-card, .sv-check { background: rgba(255, 255, 255, .06); border: 1px solid rgba(154, 168, 204, .22); border-radius: 3.4cqw; padding: 3.6cqw 4cqw; }
.sv-card { display: flex; align-items: center; gap: 3cqw; transition: opacity .4s, border-color .4s; }
.sv-card b { display: block; font-size: max(13px, 4.2cqw); color: #fff; }
.sv-card small { font-size: max(10px, 3cqw); font-family: var(--f-mono); }
.sv-ok { width: 9cqw; height: 9cqw; min-width: 26px; min-height: 26px; border-radius: 50%; display: grid; place-items: center; background: #0C8A5E; color: #fff; font-weight: 700; flex: none; }
.sv-track { position: relative; height: 7cqw; margin-left: 8cqw; border-left: 2px dashed rgba(154, 168, 204, .35); }
.sv-track i { position: absolute; left: -6px; top: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); opacity: 0; }
.sv-check { display: grid; gap: 2.2cqw; }
.sv-steps { display: flex; gap: 1.6cqw; flex-wrap: wrap; }
.sv-steps span { font: 600 max(9px, 2.6cqw)/1 var(--f-mono); letter-spacing: .12em; padding: 1.4cqw 2.2cqw; border-radius: 999px; background: rgba(255, 255, 255, .06); color: #6E7CA3; transition: all .35s; }
.sv-row { display: grid; grid-template-columns: auto 1fr auto; gap: 2.4cqw; align-items: center; font-size: max(11px, 3.2cqw); }
.sv-row code { color: #fff; font-size: max(11px, 3.3cqw); transition: color .3s; }
.sv-row em { font-style: normal; font: 600 max(9px, 2.6cqw)/1 var(--f-body); padding: 1.2cqw 2cqw; border-radius: 999px; transition: all .3s; }
.sv-row em.ok { color: #34C38F; background: rgba(52, 195, 143, .14); }
.sv-row em.bad { color: #FF8A99; background: rgba(240, 104, 124, .16); }
.sv-msg { font-size: max(11px, 3.1cqw); color: #34C38F; min-height: 1.6em; transition: color .3s; }
.sv-msg.bad { color: #FF8A99; }
/* states driven by data-step */
.sc-verify .sv-steps span { color: #fff; background: rgba(30, 75, 235, .55); }
.sc-verify[data-step="0"] .sv-steps span, .sc-verify[data-step="1"] .sv-steps span:nth-child(n+2), .sc-verify[data-step="2"] .sv-steps span:nth-child(3) { color: #6E7CA3; background: rgba(255, 255, 255, .06); }
.sc-verify[data-step="0"] .sv-to, .sc-verify[data-step="1"] .sv-to, .sc-verify[data-step="2"] .sv-to, .sc-verify[data-step="3"] .sv-to { opacity: .28; }
.sc-verify[data-step="0"] .sv-from { border-color: var(--cyan); }
.sc-verify[data-step="0"] .sv-track:not(.t2) i, .sc-verify[data-step="3"] .sv-track.t2 i { animation: sv-drop 1.4s ease-in-out infinite; }
.sc-verify[data-step="4"] .sv-to { border-color: rgba(52, 195, 143, .6); }
@keyframes sv-drop { 0% { top: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { top: calc(100% - 10px); opacity: 0; } }

/* --- decode --- */
.sd-raw { display: grid; gap: 1.6cqw; }
.sd-raw small, .sd-card > small { font-size: max(10px, 2.8cqw); font-family: var(--f-mono); letter-spacing: .06em; }
.sd-hex { display: block; font-size: max(10px, 3cqw); line-height: 1.6; color: #7FA0FF; word-break: break-all; background: rgba(0, 0, 0, .25); border: 1px solid rgba(154, 168, 204, .18); border-radius: 2.6cqw; padding: 3cqw 3.4cqw; }
.sd-arrow { display: flex; align-items: center; gap: 2.4cqw; font: 600 max(10px, 2.8cqw)/1 var(--f-mono); color: var(--cyan); }
.sd-arrow i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }
.sd-card { display: grid; gap: 2.2cqw; background: #fff; color: #0A1530; border-radius: 4cqw; padding: 4.4cqw; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6); }
.sd-card > small { color: #67728C; }
.sd-card b { font-size: max(14px, 4.6cqw); line-height: 1.35; }
.sd-kv { display: flex; justify-content: space-between; gap: 3cqw; font-size: max(11px, 3.2cqw); padding-top: 2cqw; border-top: 1px solid #E3E8F4; }
.sd-kv span { color: #67728C; }
.sd-kv code { color: #0A1530; font-size: max(11px, 3.1cqw); }
.sd-kv code.warn { color: #C2364A; font-weight: 600; }
.sd-btns { display: flex; gap: 2.4cqw; padding-top: 1cqw; }
.sd-b { flex: 1; text-align: center; font-size: max(11px, 3.1cqw); font-weight: 600; padding: 2.6cqw 2cqw; border-radius: 999px; background: #1E4BEB; color: #fff; }
.sd-b.ghost { flex: .6; background: #EEF2FB; color: #3E4A66; }
.sd-l { transition: opacity .45s, transform .45s; }
.sc-decode.reset .sd-l { opacity: 0; transform: translateY(8px); }

/* --- seed --- */
.sc-seed { gap: clamp(10px, 1.6vw, 16px); }
.ss-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8cqw; transition: filter .6s, opacity .6s; }
.ss-grid li { display: flex; gap: 1.4cqw; align-items: baseline; font: 500 max(9px, 3cqw)/1.2 var(--f-mono); color: #fff; padding: 1.8cqw 2cqw; border-radius: 1.8cqw; background: rgba(255, 255, 255, .07); border: 1px solid rgba(154, 168, 204, .18); transition: opacity .3s, transform .3s; min-width: 0; overflow: hidden; }
.ss-grid li i { font-style: normal; color: #6E7CA3; font-size: .8em; }
.ss-lock { position: absolute; left: 50%; top: 40%; translate: -50% -50%; display: flex; align-items: center; gap: 2cqw; padding: 2.4cqw 4cqw; border-radius: 999px; background: #fff; color: #0A1530; font-size: max(11px, 3.4cqw); font-weight: 700; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .6); transition: opacity .4s, scale .4s; }
.ss-lock svg { width: max(14px, 4.4cqw); height: max(14px, 4.4cqw); color: #1E4BEB; }
.ss-bad { list-style: none; display: flex; gap: 2cqw; flex-wrap: wrap; }
.ss-bad li { font-size: max(10px, 2.8cqw); padding: 1.2cqw 2.6cqw; border-radius: 999px; background: rgba(240, 104, 124, .14); color: #FF8A99; text-decoration: line-through; text-decoration-thickness: 2px; transition: opacity .3s; }
.sc-seed .ss-grid { filter: blur(4px); opacity: .55; }
.sc-seed.typing .ss-grid { filter: none; opacity: 1; }
.sc-seed.typing .ss-grid li:not(.on) { opacity: 0; transform: translateY(6px); }
.sc-seed.typing .ss-lock { opacity: 0; scale: .8; }
.sc-seed.typing .ss-bad li { opacity: .25; text-decoration: none; }

/* --- gas --- */
.sc-gas { justify-content: space-between; }
.sg-chart { position: absolute; inset: 22% 0 22% 0; width: 100%; height: 56%; }
.sg-head { position: relative; display: grid; gap: .6cqw; }
.sg-head small { font: 500 max(9px, 2.6cqw)/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.sg-head b { font: 600 max(20px, 7.4cqw)/1 var(--f-mono); color: #fff; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 1.6cqw; }
.sg-head em { font-style: normal; font-size: .42em; color: #9AA8CC; }
.sg-tiers { position: relative; display: flex; gap: 2cqw; }
.sg-tiers span { flex: 1; display: grid; gap: .8cqw; font-size: max(9px, 2.6cqw); color: #9AA8CC; padding: 1.8cqw 2.4cqw; border-radius: 2cqw; background: rgba(7, 20, 51, .7); border: 1px solid rgba(154, 168, 204, .2); }
.sg-tiers b { font: 600 max(11px, 3.6cqw)/1 var(--f-mono); color: #fff; font-variant-numeric: tabular-nums; }

/* --- stake --- */
.sc-stake { gap: clamp(8px, 1.4vw, 14px); padding: 5% 6%; }
.sk-lane { display: grid; gap: 1.8cqw; padding: 2.6cqw 3.4cqw; border-radius: 2.6cqw; background: rgba(255, 255, 255, .05); border: 1px solid rgba(154, 168, 204, .18); }
.sk-tag { font: 600 max(9px, 2.6cqw)/1 var(--f-mono); letter-spacing: .08em; color: var(--cyan); }
.sk-flow { display: flex; align-items: center; gap: 1.6cqw; }
.sk-flow .mcoin { width: 7.4cqw; height: 7.4cqw; font-size: max(11px, 3.6cqw); }
.sk-track { position: relative; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, rgba(154, 168, 204, .4) 0 5px, transparent 5px 9px); }
.sk-track i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: sk-move 2.4s linear infinite; }
.sk-track i:nth-child(2) { animation-delay: -.8s; }
.sk-track i:nth-child(3) { animation-delay: -1.6s; }
.sk-track.out i { background: #34C38F; box-shadow: 0 0 8px #34C38F; }
@keyframes sk-move { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }
.sk-node { flex: none; font-size: max(10px, 2.8cqw); font-weight: 700; color: #fff; padding: 1.4cqw 2.4cqw; border-radius: 1.6cqw; background: rgba(30, 75, 235, .55); border: 1px solid rgba(122, 151, 255, .5); }
.sk-foot { display: flex; align-items: center; gap: 2.4cqw; font-size: max(9px, 2.5cqw); }
.sk-reward { font: 600 max(9px, 2.6cqw)/1 var(--f-mono); color: #34C38F; animation: sk-pop 2.4s ease-in-out infinite; }
.sk-reward.alt { animation: none; }
.sk-bar { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.sk-bar i { display: block; height: 100%; width: 60%; background: linear-gradient(90deg, #1E4BEB, var(--cyan)); animation: sk-fill 4.8s ease-in-out infinite; }
@keyframes sk-pop { 0%, 100% { opacity: .55; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }
@keyframes sk-fill { 0% { width: 4%; } 90%, 100% { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .sk-track i, .sk-reward, .sk-bar i, .sv-track i { animation: none !important; }
  .sk-track i { left: 45%; }
}
.story .prose { align-content: start; }
