@font-face {
  font-family: "JX Serif";
  src: url("../fonts/jx-serif-400.woff2?v=20260928c") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JX Serif";
  src: url("../fonts/jx-serif-600.woff2?v=20260928c") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* 单一深色视觉：釉黑为底，酒液琥珀为唯一强调色 */
:root {
  color-scheme: dark;

  --glaze: #120e0b;
  --cellar: #1b1511;
  --jar: #261e18;
  --amber: #d6a15a;
  --amber-hi: #f0c98b;
  --sorghum: #8e2a26;
  --qu: #ede6da;
  --muted: #a99d8e;
  --faint: #857a6d;
  --ok: #b7cfa2;

  --line: rgba(237, 230, 218, 0.09);
  --line-strong: rgba(237, 230, 218, 0.17);
  --amber-line: rgba(214, 161, 90, 0.38);
  --amber-wash: rgba(214, 161, 90, 0.08);

  --serif: "JX Serif", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Hiragino Sans GB", "Microsoft YaHei UI",
    "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "WenQuanYi Zen Hei", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --fs-hero: clamp(36px, 5vw, 72px);
  --fs-h2: clamp(30px, 3.9vw, 52px);
  --fs-h3: clamp(26px, 2.6vw, 38px);
  --fs-lead: clamp(17px, 1.35vw, 19px);
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-micro: 12px;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1240px;
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--glaze);
  color: var(--qu);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* 釉面颗粒 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
svg,
canvas {
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgba(214, 161, 90, 0.35);
  color: var(--qu);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--amber);
  color: var(--glaze);
  border-radius: 6px;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}

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

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-header[data-scrolled],
.site-header[data-open] {
  background: rgba(18, 14, 11, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--qu);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.12em;
}
.brand svg {
  width: 28px;
  height: 28px;
  flex: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 36px);
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--qu);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.text-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
.text-link:hover {
  color: var(--qu);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: none;
  color: var(--qu);
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.25s ease;
}
.site-header[data-open] .menu-btn span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.site-header[data-open] .menu-btn span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.mobile-panel {
  display: none;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn-primary {
  background: var(--amber);
  color: #1c130a;
}
.btn-primary:hover {
  background: var(--amber-hi);
}
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--qu);
}
.btn-ghost:hover {
  border-color: var(--amber-line);
  background: var(--amber-wash);
}
.btn-sm {
  min-height: 38px;
  padding: 0 18px;
  font-size: 14px;
}
.btn[aria-disabled="true"] {
  border-color: var(--line);
  color: var(--faint);
  background: transparent;
  cursor: default;
}

/* ---------- 通用排版 ---------- */
.eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}

.section {
  position: relative;
  padding-block: clamp(80px, 10vw, 144px);
  border-top: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 48px);
}

.chapter {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  align-self: start;
  display: flex;
  gap: 14px;
  margin: 8px 0 0;
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.5em;
  color: var(--amber);
}
.chapter small {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--faint);
}

.section-title {
  margin: 0;
  max-width: 15em;
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.22;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.section-title span {
  display: inline-block;
}

.section-lead {
  margin: 24px 0 0;
  max-width: 36em;
  font-size: var(--fs-lead);
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  padding-block: clamp(40px, 6vw, 88px) clamp(72px, 9vw, 128px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(214, 161, 90, 0.1), transparent);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(237, 230, 218, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 230, 218, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 72% 45%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 70% at 72% 45%, #000 10%, transparent 72%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero-copy {
  animation: rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-title {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-hero);
  line-height: 1.14;
  letter-spacing: 0.02em;
  text-wrap: balance;
}
.hero-title span {
  display: inline-block;
}
.hero-title em {
  font-style: normal;
  color: var(--amber-hi);
}

.hero-lead {
  margin: 28px 0 0;
  max-width: 31em;
  font-size: var(--fs-lead);
  line-height: 1.9;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, max-content));
  gap: 16px clamp(28px, 4vw, 56px);
  margin: 56px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.facts div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.facts dt {
  order: 2;
  font-size: var(--fs-small);
  color: var(--faint);
}
.facts dd {
  order: 1;
  margin: 0;
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1.2;
  color: var(--qu);
}
.facts dd small {
  margin-left: 4px;
  font-size: 15px;
  color: var(--muted);
}

.hero-art {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1 / 1;
}
.hero-art canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--faint);
}
.hud span {
  position: absolute;
  white-space: nowrap;
}
.hud b {
  font-weight: 400;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.hud-tl {
  top: 14px;
  left: 18px;
  color: var(--amber);
}
.hud-tr {
  top: 14px;
  right: 18px;
}
.hud-bl {
  bottom: 14px;
  left: 18px;
}
.hud-br {
  bottom: 14px;
  right: 18px;
}
.corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 0 solid var(--amber-line);
}
.corner.tl {
  top: 0;
  left: 0;
  border-top-width: 1px;
  border-left-width: 1px;
}
.corner.tr {
  top: 0;
  right: 0;
  border-top-width: 1px;
  border-right-width: 1px;
}
.corner.bl {
  bottom: 0;
  left: 0;
  border-bottom-width: 1px;
  border-left-width: 1px;
}
.corner.br {
  bottom: 0;
  right: 0;
  border-bottom-width: 1px;
  border-right-width: 1px;
}

@keyframes rise {
  from {
    transform: translateY(14px);
  }
  to {
    transform: none;
  }
}

/* ---------- 内核 · 回执链 ---------- */
.chain {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 72px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}
.chain::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber-hi), transparent);
  animation: flow 6s linear infinite;
}
@keyframes flow {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(560%);
  }
}

.step {
  position: relative;
  padding: 32px 28px 0 0;
}
.step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--glaze);
  border: 1px solid var(--amber);
}
.step-no {
  font-family: var(--mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  color: var(--amber);
}
.step h3 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
}
.step code {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
  overflow-wrap: anywhere;
}
.step p {
  margin: 14px 0 0;
  font-size: var(--fs-small);
  line-height: 1.75;
  color: var(--muted);
}

/* 回执流终端 */
.console {
  position: relative;
  margin-top: 64px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(214, 161, 90, 0.035), transparent 40%), #0d0a08;
  font-family: var(--mono);
  font-size: 12.5px;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
.console::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(237, 230, 218, 0.018) 0 1px, transparent 1px 3px);
}
.console-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  letter-spacing: 0.06em;
}
.console-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  color: var(--qu);
  letter-spacing: 0.1em;
}
.console-tag {
  margin-left: auto;
}
.live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(183, 207, 162, 0.5);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  to {
    box-shadow: 0 0 0 8px rgba(183, 207, 162, 0);
  }
}
.console-head,
.log-line {
  display: grid;
  grid-template-columns: 112px 200px minmax(0, 1fr) minmax(0, 200px);
  gap: 16px;
  padding: 0 18px;
}
.console-head {
  padding-top: 12px;
  padding-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--faint);
  opacity: 0.7;
}
.console-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: calc(10 * 30px + 12px);
  padding-bottom: 12px;
  overflow: hidden;
}
.log-line {
  align-items: center;
  flex: none;
  height: 30px;
  color: var(--muted);
  white-space: nowrap;
}
.log-line > span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.log-line.enter {
  animation: logIn 0.4s ease-out both;
}
@keyframes logIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.log-time {
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.log-stage {
  color: var(--amber);
}
.log-stage small {
  margin-left: 6px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--faint);
}
.log-cap {
  color: var(--qu);
}
.log-out {
  font-variant-numeric: tabular-nums;
}
.log-line.receipt .log-out {
  color: var(--ok);
}
.log-line.receipt {
  background: linear-gradient(90deg, rgba(183, 207, 162, 0.06), transparent 70%);
}
.log-line.gap {
  height: 12px;
}

/* 指针光边 */
.glow {
  position: relative;
}
.glow::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 1;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 201, 139, 0.75), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.glow:hover::before {
  opacity: 1;
}

.note {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin: 56px 0 0;
  max-width: 44em;
  font-size: var(--fs-small);
  color: var(--faint);
}
.note::before {
  content: "";
  flex: none;
  width: 24px;
  height: 1px;
  background: var(--amber);
  transform: translateY(-4px);
}

/* ---------- 实况面板 ---------- */
.live-panel {
  margin-top: 56px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(214, 161, 90, 0.045), transparent 30%), #0d0a08;
  overflow: hidden;
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.9);
}
.lp-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--faint);
}
.lp-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--qu);
}
.lp-tag {
  margin-left: auto;
  padding: 3px 10px;
  border: 1px solid var(--amber-line);
  border-radius: 999px;
  font-family: var(--sans);
  letter-spacing: 0.04em;
  color: var(--amber);
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}
.stream .kpis {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}
.kpi {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 16px 20px;
}
.kpi + .kpi {
  border-left: 1px solid var(--line);
}
.kpi span {
  font-size: 12.5px;
  color: var(--faint);
}
.kpi b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  color: var(--qu);
  font-variant-numeric: tabular-nums;
}
.kpi small {
  font-size: 12px;
  color: var(--faint);
}
.kpi.gold b {
  color: var(--amber-hi);
}
.kpi.warn b {
  color: #e58b77;
}
.kpi b.tick {
  animation: tick 0.7s ease-out;
}
@keyframes tick {
  0% {
    color: #fff1d6;
    text-shadow: 0 0 18px rgba(240, 201, 139, 0.7);
  }
}

/* 作战：客户流 */
.war-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
}
.war-flow {
  min-width: 0;
  border-right: 1px solid var(--line);
  background: repeating-linear-gradient(0deg, rgba(237, 230, 218, 0.018) 0 1px, transparent 1px 34px);
}
.war-flow canvas {
  display: block;
  width: 100%;
  height: 340px;
}
.war-feed-wrap {
  min-width: 0;
  padding: 14px 0 6px;
}
.feed-head {
  margin: 0 18px 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--faint);
}
.war-feed {
  height: 304px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
  mask-image: linear-gradient(180deg, #000 70%, transparent);
}
.war-feed li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 8px 18px;
  border-top: 1px solid rgba(237, 230, 218, 0.05);
  box-shadow: inset 2px 0 transparent;
}
.war-feed li.enter {
  animation: feedIn 0.5s ease-out;
}
@keyframes feedIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
    background: rgba(214, 161, 90, 0.08);
  }
}
.war-feed time {
  padding-top: 2px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.war-feed b {
  display: block;
  overflow: hidden;
  font-size: 13px;
  font-weight: 500;
  color: var(--qu);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.war-feed span {
  display: block;
  overflow: hidden;
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.war-feed li.deal {
  box-shadow: inset 2px 0 var(--amber);
}
.war-feed li.deal span {
  color: var(--amber-hi);
}
.war-feed li.risk {
  box-shadow: inset 2px 0 #e58b77;
}
.war-feed li.risk span {
  color: #e58b77;
}
.war-feed li.lost span {
  color: var(--faint);
}

/* 影像：产线 */
.line-scroll {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.line {
  position: relative;
  min-width: 820px;
  height: 262px;
  overflow: hidden;
  background: radial-gradient(60% 80% at 50% 100%, rgba(214, 161, 90, 0.07), transparent 70%);
}
.belt {
  position: absolute;
  left: 0;
  right: 0;
  top: 176px;
  height: 12px;
  border-block: 1px solid var(--line-strong);
  background: repeating-linear-gradient(90deg, rgba(237, 230, 218, 0.12) 0 2px, transparent 2px 18px);
  animation: belt 1.1s linear infinite;
}
@keyframes belt {
  to {
    background-position: 18px 0;
  }
}
.station {
  position: absolute;
  top: 165px;
  width: 112px;
  margin-left: -56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
}
.station .node {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #0d0a08;
  color: var(--faint);
  transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.station .node svg {
  width: 17px;
  height: 17px;
}
.station.on .node {
  border-color: var(--amber);
  color: var(--amber-hi);
  box-shadow: 0 0 0 4px rgba(214, 161, 90, 0.12), 0 0 22px rgba(214, 161, 90, 0.35);
}
.station.alert .node {
  border-color: #e58b77;
  color: #e58b77;
  box-shadow: 0 0 0 4px rgba(229, 139, 119, 0.14), 0 0 22px rgba(229, 139, 119, 0.45);
}
.station .sn {
  font-size: 13px;
  color: var(--muted);
}
.station .ss {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--faint);
}
.station.on .ss {
  color: var(--amber);
}
.station.alert .ss {
  color: #e58b77;
}
.wp {
  position: absolute;
  left: 0;
  top: 52px;
  width: 84px;
  will-change: transform;
}
.wp .thumb {
  position: relative;
  height: 60px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #1c1611;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.wp .cap {
  margin-top: 6px;
}
.wp .cap b {
  display: block;
  overflow: hidden;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--qu);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.wp .cap small {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--faint);
}
.wp .bar {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 0;
  height: 2px;
  background: var(--amber-hi);
  box-shadow: 0 0 8px var(--amber);
}
.wp .tag {
  position: absolute;
  top: -9px;
  right: -8px;
  z-index: 3;
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 10px;
  line-height: 16px;
  white-space: nowrap;
}
.wp .tag.redo {
  background: #b4473c;
  color: #fff;
}
.wp .tag.ok {
  background: var(--ok);
  color: #14230f;
}
.l-lines {
  position: absolute;
  inset: 11px 10px auto;
  display: grid;
  gap: 6px;
  transition: opacity 0.4s ease;
}
.l-lines i {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: rgba(237, 230, 218, 0.24);
  transition: opacity 0.4s ease, background-color 0.4s ease;
}
.l-lines i:nth-child(1) {
  width: 62%;
}
.l-lines i:nth-child(2) {
  width: 88%;
}
.l-lines i:nth-child(3) {
  width: 44%;
}
.l-grid {
  position: absolute;
  inset: 6px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.l-grid i {
  border: 1px solid rgba(237, 230, 218, 0.26);
  border-radius: 2px;
}
.l-img {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.l-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
  background: linear-gradient(180deg, transparent, rgba(183, 207, 162, 0.5), transparent);
  opacity: 0;
}
.wp.scanning .l-scan {
  opacity: 1;
  animation: scan 0.9s linear infinite;
}
@keyframes scan {
  to {
    top: 60px;
  }
}
.l-ok {
  position: absolute;
  right: 5px;
  bottom: 6px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ok);
  color: #14230f;
  font-size: 10px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.wp[data-stage="-1"] .l-lines i:nth-child(n + 2) {
  opacity: 0;
}
.wp[data-stage="1"] .l-lines i:first-child {
  height: 4px;
  background: var(--amber);
}
.wp[data-stage="2"] .l-lines,
.wp[data-stage="3"] .l-lines,
.wp[data-stage="4"] .l-lines,
.wp[data-stage="5"] .l-lines {
  opacity: 0;
}
.wp[data-stage="2"] .l-grid {
  opacity: 1;
}
.wp[data-stage="3"] .l-img,
.wp[data-stage="4"] .l-img,
.wp[data-stage="5"] .l-img {
  opacity: 1;
}
.wp[data-stage="4"] .l-ok,
.wp[data-stage="5"] .l-ok {
  opacity: 1;
  transform: none;
}
.wp[data-stage="5"] .thumb {
  border-color: var(--amber);
  box-shadow: 0 0 18px rgba(214, 161, 90, 0.4);
}
.pal-0 .l-img,
.shelf-item.pal-0 {
  background: radial-gradient(120% 70% at 50% 18%, rgba(237, 230, 218, 0.34), transparent 60%), linear-gradient(180deg, #3b3731, #16120e);
}
.pal-1 .l-img,
.shelf-item.pal-1 {
  background: radial-gradient(90% 60% at 50% 72%, #a8352f, transparent 70%), linear-gradient(180deg, #2a1411, #140c0a);
}
.pal-2 .l-img,
.shelf-item.pal-2 {
  background: radial-gradient(55% 50% at 50% 58%, #8a5f39, #2a1c13 72%), #140e0b;
}
.pal-3 .l-img,
.shelf-item.pal-3 {
  background: radial-gradient(42% 40% at 50% 55%, #f0c98b, #9a6428 62%, #1c130c 100%);
}
.pal-4 .l-img,
.shelf-item.pal-4 {
  background: linear-gradient(160deg, #26343a 0%, #1a2226 45%, #7a5a2c 100%);
}
.shelf {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
}
.shelf-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--faint);
  white-space: nowrap;
}
.shelf-items {
  display: flex;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent);
  mask-image: linear-gradient(90deg, #000 78%, transparent);
}
.shelf-item {
  flex: 0 0 auto;
  width: 54px;
  height: 38px;
  border: 1px solid var(--amber-line);
  border-radius: 5px;
}
.shelf-item.enter {
  animation: shelfIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes shelfIn {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(0.8);
  }
}

/* 记忆：汇流 */
.stream-flow {
  background: radial-gradient(50% 70% at 50% 50%, rgba(214, 161, 90, 0.06), transparent 70%);
}
.stream-flow canvas {
  display: block;
  width: 100%;
  height: 380px;
}

/* ---------- 数智仁怀 · 酱香产区产业大脑 ---------- */
.rh-section {
  position: relative;
  padding-block: clamp(80px, 10vw, 144px);
  border-top: 1px solid var(--line);
  background: radial-gradient(70% 50% at 50% 62%, rgba(214, 161, 90, 0.07), transparent 70%);
}
.rh-wide {
  max-width: 1560px;
  margin: 56px auto 0;
  padding-inline: var(--gutter);
}
.rh {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: radial-gradient(80% 50% at 50% 30%, rgba(214, 161, 90, 0.07), transparent 62%), #0a0806;
  box-shadow: 0 60px 120px -60px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(240, 201, 139, 0.08);
}
.rh h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--qu);
}
.rh h3 span {
  min-width: 0;
  margin-left: auto;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--amber);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.rh .up {
  color: #ff5b4f;
}
.rh .down {
  color: #2fc48d;
}
.fu {
  animation: fu 0.7s ease-out;
}
.fd {
  animation: fd 0.7s ease-out;
}
@keyframes fu {
  0% {
    background-color: rgba(255, 91, 79, 0.5);
    color: #fff;
  }
}
@keyframes fd {
  0% {
    background-color: rgba(47, 196, 141, 0.5);
    color: #fff;
  }
}
.rh .tick {
  animation: tick 0.7s ease-out;
}
@keyframes blink {
  50% {
    opacity: 0.25;
  }
}

/* 顶栏 */
.rh-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px 20px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(214, 161, 90, 0.08), transparent 40%, transparent 60%, rgba(214, 161, 90, 0.08));
}
.rh-brand b {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.24em;
  color: var(--amber-hi);
  white-space: nowrap;
}
.rh-brand span {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--faint);
}
.rh-clock {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--faint);
}
.rh-clock b {
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--qu);
  font-variant-numeric: tabular-nums;
}
.rh-clock b small {
  font-size: 0.62em;
  color: var(--amber);
}
.rh-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #ff5b4f;
}
.rh-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5b4f;
  box-shadow: 0 0 10px #ff5b4f;
  animation: blink 1s steps(2, jump-none) infinite;
}
.rh-flags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
.rh-demo {
  padding: 3px 10px;
  border: 1px solid var(--amber-line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--amber);
}
.rh-btn {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: none;
  color: var(--qu);
  font: inherit;
  font-size: 12.5px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.rh-btn:hover {
  border-color: var(--amber-line);
  background: var(--amber-wash);
}

/* 行情带 */
.rh-ticker {
  display: flex;
  align-items: center;
  height: 32px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.3);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.rh-tape {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: tape 80s linear infinite;
}
@keyframes tape {
  to {
    transform: translateX(-50%);
  }
}
.rh-ticker:hover .rh-tape {
  animation-play-state: paused;
}
.q {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  margin-right: 38px;
  font-size: 12.5px;
}
.q b {
  font-weight: 500;
  color: var(--muted);
}
.q em {
  padding: 0 3px;
  border-radius: 3px;
  font-family: var(--mono);
  font-style: normal;
  color: var(--qu);
  font-variant-numeric: tabular-nums;
}
.q small {
  font-size: 10.5px;
  color: var(--faint);
}
.q i {
  font-family: var(--mono);
  font-style: normal;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}

/* 产区统计 */
.rh-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}
.rh-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 12px 18px;
}
.rh-stat + .rh-stat {
  border-left: 1px solid var(--line);
}
.rh-stat > span {
  font-size: 12px;
  color: var(--faint);
}
.rh-stat b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.15;
  color: var(--qu);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.rh-stat b i {
  padding: 0 3px;
  border-radius: 4px;
  font-style: normal;
}
.rh-stat b small {
  margin-left: 4px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
}
.rh-stat em {
  overflow: hidden;
  font-style: normal;
  font-size: 10.5px;
  color: var(--faint);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.rh-stat em::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  vertical-align: 1px;
  background: var(--ok);
}
.rh-stat.rt b {
  color: var(--amber-hi);
}
.rh-stat.rt em::before {
  background: #ff5b4f;
  animation: blink 1s steps(2, jump-none) infinite;
}

/* 产业链全景 */
.rh-chain {
  padding-top: 12px;
  border-bottom: 1px solid var(--line);
}
.rh-sec-h {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding: 0 20px;
}
.rh-sec-h b {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.rh-sec-h span {
  font-size: 11.5px;
  color: var(--faint);
}
.rh-chain-scroll {
  overflow-x: auto;
  scrollbar-width: none;
}
.rh-chain-stage {
  position: relative;
  min-width: 1100px;
  height: 300px;
}
.rh-chain-stage canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.rh-st {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 150px;
  margin-left: -75px;
  text-align: center;
  pointer-events: none;
}
.rh-st-top {
  padding-top: 18px;
}
.rh-st-top small {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--faint);
}
.rh-st-top b {
  display: block;
  margin-top: 3px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.12em;
  color: var(--qu);
}
.rh-st-bot {
  width: 100%;
  padding-bottom: 14px;
}
.rh-st-bot dl {
  display: grid;
  gap: 3px;
  margin: 0;
}
.rh-st-bot dl div {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 6px;
}
.rh-st-bot dt {
  font-size: 11px;
  color: var(--faint);
}
.rh-st-bot dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--qu);
  font-variant-numeric: tabular-nums;
}
.rh-st-bot dd i {
  padding: 0 2px;
  border-radius: 3px;
  font-style: normal;
}
.rh-st-bot dd small {
  margin-left: 2px;
  font-family: var(--sans);
  font-size: 10.5px;
  color: var(--faint);
}
.rh-st-bot p {
  max-width: 142px;
  margin: 6px auto 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--amber);
}

/* 两幕切换 */
.rh-chain .rh-sec-h {
  align-items: center;
}
.rh-sec-h > span {
  flex: 1;
  min-width: 0;
}
.rh-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.3);
}
.rh-tabs button {
  min-height: 28px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.rh-tabs button:hover {
  color: var(--qu);
}
.rh-tabs button[aria-selected="true"] {
  background: var(--amber);
  color: #1c130a;
  font-weight: 600;
}
.rh-scene-bar {
  flex: 0 0 120px;
  height: 2px;
  overflow: hidden;
  border-radius: 1px;
  background: rgba(237, 230, 218, 0.08);
}
.rh-scene-bar b {
  display: block;
  width: 0;
  height: 100%;
  background: var(--amber);
}
.rh-scenes {
  display: grid;
}
.rh-scene {
  grid-area: 1 / 1;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0s linear 0.8s;
}
.rh-scene.on {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease;
}

/* 微生态 */
.rh-micro {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 330px;
  height: 300px;
}
.rh-env,
.rh-flora {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  padding: 16px 20px 12px;
  overflow: hidden;
}
.rh-env h4,
.rh-flora h4 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--qu);
}
.rh-flora h4 span {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 400;
  color: var(--faint);
}
.rh-env dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 12px;
  margin: 0;
}
.rh-env dl div {
  min-width: 0;
}
.rh-env dt {
  font-size: 10.5px;
  color: var(--faint);
}
.rh-env dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.3;
  color: var(--amber-hi);
  white-space: nowrap;
}
.rh-env dd small {
  margin-left: 3px;
  font-family: var(--sans);
  font-size: 10.5px;
  color: var(--faint);
}
.rh-sensors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.rh-sensors span {
  display: block;
  font-size: 10.5px;
  color: var(--faint);
}
.rh-sensors b {
  padding: 0 2px;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: #9fd4b8;
  font-variant-numeric: tabular-nums;
}
.rh-env p {
  margin: auto 0 0;
  font-size: 10.5px;
  color: var(--faint);
}
.rh-lens {
  position: relative;
  min-width: 0;
}
.rh-lens canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.fl-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--muted);
}
.fl-bar {
  display: flex;
  gap: 1px;
  height: 10px;
  overflow: hidden;
  border-radius: 3px;
}
.fl-bar i {
  display: block;
  height: 100%;
  transition: width 1s ease;
}
.fl-bar .g0,
.fl-legend .g0::before {
  background: #f0c98b;
}
.fl-bar .g1,
.fl-legend .g1::before {
  background: #e9dcc4;
}
.fl-bar .g2,
.fl-legend .g2::before {
  background: #9fd4b8;
}
.fl-bar .g3,
.fl-legend .g3::before {
  background: #e58b77;
}
.fl-bar .g4,
.fl-legend .g4::before {
  background: rgba(237, 230, 218, 0.22);
}
.fl-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 10px;
  font-size: 10.5px;
  color: var(--muted);
}
.fl-legend span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 4px;
  border-radius: 2px;
  vertical-align: -0.5px;
}
.fl-kpi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.fl-kpi div {
  min-width: 0;
}
.fl-kpi b {
  display: block;
  width: fit-content;
  padding: 0 2px;
  border-radius: 3px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--qu);
  white-space: nowrap;
}
.fl-kpi b small {
  font-size: 11px;
  color: var(--muted);
}
.fl-kpi span {
  display: block;
  font-size: 10px;
  line-height: 1.35;
  color: var(--faint);
}
.rh-fullpage .rh-micro {
  height: clamp(220px, 27vh, 300px);
}
@media (max-width: 1280px) {
  .rh-micro {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 300px auto;
    height: auto;
  }
  .rh-lens {
    grid-column: 1 / -1;
  }
  .rh-env {
    order: 1;
  }
  .rh-flora {
    order: 2;
    border-left: 1px solid var(--line);
  }
  .rh-fullpage .rh-micro {
    height: auto;
  }
}
@media (max-width: 720px) {
  .rh-micro {
    grid-template-columns: minmax(0, 1fr);
  }
  .rh-flora {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .rh-scene-bar {
    display: none;
  }
}

/* 四端面板 */
.rh-panels {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr) minmax(0, 0.95fr) minmax(0, 1.4fr);
  min-height: 470px;
}
.rh-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  min-height: 0;
  padding: 14px 16px 12px;
}
.rh-panel + .rh-panel {
  border-left: 1px solid var(--line);
}
.rh-canvas-box {
  position: relative;
  flex: 1;
  min-height: 180px;
}
.rh-canvas-box canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.rh-legend2 {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 11px;
  color: var(--muted);
}
.rh-legend2 i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  border-radius: 2px;
  vertical-align: -1px;
}
.rh-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.rh-mini div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.rh-mini span {
  font-size: 11px;
  color: var(--faint);
  white-space: nowrap;
}
.rh-mini b {
  width: fit-content;
  padding: 0 2px;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--qu);
  font-variant-numeric: tabular-nums;
}
.rh-vint {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 6px;
  min-height: 170px;
}
.rh-vint .v {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.rh-vint em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 10.5px;
  color: var(--muted);
}
.rh-vint .trk {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  min-height: 0;
}
.rh-vint .trk i {
  display: block;
  width: 100%;
  max-width: 26px;
  min-height: 4px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--amber-hi), rgba(142, 42, 38, 0.6));
  box-shadow: 0 0 14px rgba(214, 161, 90, 0.25);
  transition: height 0.8s ease;
}
.rh-vint span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--faint);
}

/* 盘口与逐笔 */
.rh-book,
.rh-trades ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.rh-book li {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  height: 20px;
  font-family: var(--mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.rh-book li > span,
.rh-book li > b,
.rh-book li > em {
  position: relative;
  z-index: 1;
}
.rh-book li > span {
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--faint);
}
.rh-book li > b {
  font-weight: 500;
}
.rh-book li.lv-a > b {
  color: #2fc48d;
}
.rh-book li.lv-b > b {
  color: #ff5b4f;
}
.rh-book li > em {
  justify-self: end;
  padding: 0 3px;
  border-radius: 3px;
  font-style: normal;
  color: var(--muted);
}
.rh-book li > i {
  position: absolute;
  right: 0;
  top: 3px;
  bottom: 3px;
  border-radius: 2px;
  transition: width 0.25s ease;
}
.rh-book li.lv-a > i {
  background: rgba(47, 196, 141, 0.13);
}
.rh-book li.lv-b > i {
  background: rgba(255, 91, 79, 0.13);
}
.rh-book li.mid {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  height: auto;
  margin: 4px 0;
  padding: 5px 0;
  border-block: 1px solid var(--line);
}
.rh-book li.mid b {
  font-size: 20px;
  font-weight: 500;
}
.rh-book li.mid em {
  font-style: normal;
  font-size: 11.5px;
}
.rh-trades {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.rh-sub-h {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--faint);
}
.rh-sub-h span {
  margin-left: 8px;
}
.rh-trades ol {
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
  mask-image: linear-gradient(180deg, #000 60%, transparent);
}
.rh-trades li {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr) minmax(0, 0.9fr) 14px;
  align-items: center;
  gap: 6px;
  height: 19px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}
.rh-trades li time {
  color: var(--faint);
}
.rh-trades li b {
  font-weight: 500;
}
.rh-trades li.b b,
.rh-trades li.b i {
  color: #ff5b4f;
}
.rh-trades li.s b,
.rh-trades li.s i {
  color: #2fc48d;
}
.rh-trades li em {
  justify-self: end;
  font-style: normal;
  color: var(--muted);
}
.rh-trades li i {
  font-style: normal;
  font-weight: 700;
  text-align: right;
}
.rh-trades li.big em {
  color: var(--amber-hi);
  font-weight: 600;
}
.rh-trades li.enter,
.rh-dataflow li.enter {
  animation: tradeIn 0.45s ease-out;
}
.rh-trades li.b.enter {
  --flash: rgba(255, 91, 79, 0.22);
}
.rh-trades li.s.enter {
  --flash: rgba(47, 196, 141, 0.22);
}
@keyframes tradeIn {
  from {
    background: var(--flash, rgba(214, 161, 90, 0.18));
    transform: translateY(-6px);
  }
}

/* 市场端 */
.rh-mapbox {
  min-height: 200px;
  background-image: radial-gradient(rgba(237, 230, 218, 0.05) 1px, transparent 1.2px);
  background-size: 16px 16px;
}
.rh-mlegend {
  position: absolute;
  left: 2px;
  bottom: 0;
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: var(--muted);
  pointer-events: none;
}
.rh-mlegend i {
  display: inline-block;
  width: 16px;
  height: 2px;
  margin-right: 6px;
  vertical-align: middle;
  background: #f0c98b;
  box-shadow: 0 0 8px rgba(240, 201, 139, 0.8);
}
.rh-mlegend .in i {
  background: #9fd4b8;
  box-shadow: 0 0 8px rgba(159, 212, 184, 0.8);
}
.rh-channels {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rh-channels li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 46px 28px;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.rh-channels span {
  color: var(--muted);
}
.rh-channels i {
  height: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(237, 230, 218, 0.06);
}
.rh-channels i b {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(159, 212, 184, 0.35), #9fd4b8);
  transition: width 0.6s ease;
}
.rh-channels em {
  padding: 0 2px;
  border-radius: 3px;
  font-family: var(--mono);
  font-style: normal;
  color: var(--qu);
  text-align: right;
}
.rh-channels small {
  font-size: 10.5px;
  color: var(--faint);
}

/* 数据中台与节令 */
.rh-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  border-top: 1px solid var(--line);
}
.rh-dataflow {
  min-width: 0;
  height: 156px;
  padding: 12px 16px 0;
  overflow: hidden;
}
.rh-dataflow ol {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
  mask-image: linear-gradient(180deg, #000 55%, transparent);
}
.rh-dataflow li {
  display: grid;
  grid-template-columns: 96px 196px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  height: 19px;
  font-family: var(--mono);
  font-size: 11.5px;
}
.rh-dataflow time {
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.rh-dataflow em {
  overflow: hidden;
  padding: 0 6px;
  border-left: 2px solid currentColor;
  font-style: normal;
  font-size: 11px;
  line-height: 16px;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: rgba(237, 230, 218, 0.03);
}
.rh-dataflow em[data-k="erp"] {
  color: #f0c98b;
}
.rh-dataflow em[data-k="iot"] {
  color: #9fd4b8;
}
.rh-dataflow em[data-k="trade"] {
  color: #ff8a7e;
}
.rh-dataflow em[data-k="trace"] {
  color: #b7cfa2;
}
.rh-dataflow em[data-k="channel"] {
  color: #e58b77;
}
.rh-dataflow span b {
  font-weight: 500;
  color: var(--qu);
}
.rh-dataflow span small {
  color: rgba(237, 230, 218, 0.28);
}
.rh-dataflow em[data-k="物联"] {
  color: #9fd4b8;
}
.rh-dataflow em[data-k="生产"] {
  color: #f0c98b;
}
.rh-dataflow em[data-k="交易"] {
  color: #ff8a7e;
}
.rh-dataflow em[data-k="物流"] {
  color: #d6a15a;
}
.rh-dataflow em[data-k="溯源"] {
  color: #b7cfa2;
}
.rh-dataflow em[data-k="直播"] {
  color: #e58b77;
}
.rh-dataflow span {
  overflow: hidden;
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.rh-cal {
  min-width: 0;
  padding: 12px 18px 10px;
  border-left: 1px solid var(--line);
}
.rh-year {
  margin-top: 12px;
}
.rh-track {
  position: relative;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(237, 230, 218, 0.03);
}
.rh-track .band {
  position: absolute;
  height: 5px;
  border-radius: 3px;
}
.rh-track .band.grain {
  top: 4px;
  background: rgba(192, 86, 76, 0.85);
}
.rh-track .band.qu {
  top: 11px;
  background: rgba(214, 161, 90, 0.9);
}
.rh-track .band.run {
  top: 18px;
  background: rgba(159, 212, 184, 0.85);
}
.rh-track .band.feed {
  top: 18px;
  background: rgba(243, 210, 154, 0.9);
}
.rh-track .now {
  position: absolute;
  top: -6px;
  bottom: -6px;
  width: 2px;
  margin-left: -1px;
  background: #fff1d6;
  box-shadow: 0 0 10px var(--amber-hi);
}
.rh-months {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--faint);
  text-align: center;
}
.rh-cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 8px;
  font-size: 10.5px;
  color: var(--muted);
}
.rh-cal-legend span::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 4px;
  margin-right: 5px;
  border-radius: 2px;
  vertical-align: 2px;
}
.rh-cal-legend .grain::before {
  background: rgba(192, 86, 76, 0.85);
}
.rh-cal-legend .qu::before {
  background: rgba(214, 161, 90, 0.9);
}
.rh-cal-legend .feed::before {
  background: rgba(243, 210, 154, 0.9);
}
.rh-cal-legend .run::before {
  background: rgba(159, 212, 184, 0.85);
}
.rh-src {
  margin: 8px 0 0;
  font-size: 10.5px;
  color: var(--faint);
}

/* 全屏大屏 */
.rh-body {
  background: #070605;
}
.rh-fullpage {
  height: 100vh;
  height: 100dvh;
  border: 0;
  border-radius: 0;
}
.rh-fullpage > * {
  flex-shrink: 0;
}
.rh-fullpage .rh-panels {
  flex: 1 1 auto;
  min-height: 0;
}
.rh-fullpage .rh-panel {
  overflow: hidden;
}
.rh-fullpage .rh-chain-stage {
  height: clamp(220px, 27vh, 300px);
}
@media (max-height: 940px) and (min-width: 1281px) {
  .rh-fullpage .rh-dataflow {
    height: 128px;
  }
  .rh-fullpage .rh-stat {
    padding-block: 8px;
  }
  .rh-fullpage .rh-mini {
    display: none;
  }
}
@media (max-width: 1280px) {
  .rh-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .rh-stat:nth-child(4) {
    border-left: 0;
  }
  .rh-stat:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }
  .rh-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rh-panel {
    min-height: 380px;
  }
  .rh-panel:nth-child(3) {
    border-left: 0;
  }
  .rh-panel:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .rh-fullpage {
    height: auto;
    min-height: 100vh;
  }
}
@media (max-width: 720px) {
  .rh-wide {
    padding-inline: 0;
  }
  .rh {
    border-inline: 0;
    border-radius: 0;
  }
  .rh-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 14px 16px;
  }
  .rh-brand b {
    font-size: 19px;
    letter-spacing: 0.18em;
  }
  .rh-clock b {
    font-size: 18px;
  }
  .rh-clock [data-rh-date] {
    display: none;
  }
  .rh-flags {
    justify-content: flex-start;
  }
  .rh-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rh-stat,
  .rh-stat:nth-child(4) {
    border-left: 0;
    padding: 10px 14px;
  }
  .rh-stat:nth-child(even) {
    border-left: 1px solid var(--line);
  }
  .rh-stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .rh-panels {
    grid-template-columns: minmax(0, 1fr);
  }
  .rh-panel,
  .rh-panel:nth-child(3) {
    min-height: 340px;
    border-left: 0;
  }
  .rh-panel + .rh-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .rh-bottom {
    grid-template-columns: minmax(0, 1fr);
  }
  .rh-cal {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .rh-dataflow li {
    grid-template-columns: 58px 34px minmax(0, 1fr);
  }
  .rh-dataflow time {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: clip;
    max-width: 58px;
  }
}

/* ---------- 能力 ---------- */
.cap-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  margin-top: 72px;
}

.cap-index {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  align-self: start;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.cap-index a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 19px;
  transition: color 0.25s ease;
}
.cap-index a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
  transition: background-color 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
}
.cap-index a:hover {
  color: var(--muted);
}
.cap-index a[aria-current="true"] {
  color: var(--qu);
}
.cap-index a[aria-current="true"]::before {
  background: var(--amber);
  opacity: 1;
  box-shadow: 0 0 12px var(--amber);
}

.cap-list {
  display: flex;
  flex-direction: column;
  gap: clamp(80px, 9vw, 128px);
}

.cap {
  scroll-margin-top: calc(var(--header-h) + 40px);
}
.cap-ns {
  margin: 0;
  font-family: var(--mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.06em;
  color: var(--amber);
}
.cap h3 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-h3);
  line-height: 1.25;
  text-wrap: balance;
}
.cap h3 span {
  color: var(--faint);
}
.cap > p {
  margin: 18px 0 0;
  max-width: 34em;
  color: var(--muted);
}

.points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 32px;
  max-width: 560px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.points li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.6;
}
.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 9px;
  height: 1px;
  background: var(--amber);
}

/* 示意面板 */
.specimen {
  margin-top: 36px;
  max-width: 560px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(237, 230, 218, 0.025), rgba(237, 230, 218, 0)) var(--cellar);
  font-size: var(--fs-small);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.spec-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--faint);
}
.spec-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--jar);
  border: 1px solid var(--line-strong);
  font-family: var(--serif);
  font-size: 16px;
}
.spec-title {
  font-size: 15px;
  color: var(--qu);
}
.spec-sub {
  font-size: 12.5px;
  color: var(--faint);
}
.spec-body {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(214, 161, 90, 0.06);
  border: 1px solid rgba(214, 161, 90, 0.16);
  line-height: 1.75;
  color: var(--qu);
}
.spec-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.spec-row.split {
  justify-content: space-between;
}
.spec-row .spec-row {
  margin-top: 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.chip.ok {
  color: var(--ok);
  border-color: rgba(183, 207, 162, 0.3);
}
.chip.wait {
  color: var(--amber-hi);
  border-color: var(--amber-line);
  background: var(--amber-wash);
}
.chip.ok::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.mini-btn {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  color: var(--muted);
}
.mini-btn.primary {
  border-color: transparent;
  background: var(--amber);
  color: #1c130a;
}

.bars {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}
.bar {
  display: grid;
  grid-template-columns: 3.5em minmax(0, 1fr) 2em;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
.bar i {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(214, 161, 90, 0.5), var(--amber));
}
.bar b {
  font-weight: 400;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--qu);
}
.bar.low i {
  background: linear-gradient(90deg, rgba(142, 42, 38, 0.6), #b4473c);
}

.frames {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.frame {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11.5px;
  color: var(--faint);
}
.frame i {
  display: block;
  aspect-ratio: 9 / 13;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.frame:nth-child(1) i {
  background: radial-gradient(120% 70% at 50% 20%, rgba(237, 230, 218, 0.28), transparent 60%),
    linear-gradient(180deg, #3a3631, #16120e);
}
.frame:nth-child(2) i {
  background: radial-gradient(90% 60% at 50% 70%, #a8352f, transparent 70%),
    linear-gradient(180deg, #2a1411, #140c0a);
}
.frame:nth-child(3) i {
  background: radial-gradient(55% 45% at 50% 58%, #7a5433, #2a1c13 70%), #140e0b;
}
.frame:nth-child(4) i {
  background: radial-gradient(40% 32% at 50% 55%, #f0c98b, #9a6428 60%, #1c130c 100%);
}

.steps-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--faint);
}
.steps-inline span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.steps-inline span + span::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--line-strong);
}
.steps-inline .done {
  color: var(--muted);
}
.steps-inline .now {
  color: var(--amber-hi);
}

.progress {
  margin-top: 16px;
}
.progress-track {
  height: 6px;
  border-radius: 3px;
  background: var(--jar);
  overflow: hidden;
}
.progress-track i {
  display: block;
  height: 100%;
  width: 70%;
  background: linear-gradient(90deg, rgba(214, 161, 90, 0.5), var(--amber));
}
.progress-label {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

.ask {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
}
.ask svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--faint);
}

.ecosystem {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 48px;
  margin-top: clamp(80px, 9vw, 128px);
  padding: 28px 0;
  border-block: 1px solid var(--line);
}
.ecosystem h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
}
.ecosystem p {
  margin: 6px 0 0;
  max-width: 36em;
  font-size: var(--fs-small);
  color: var(--muted);
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- 角色 ---------- */
.roles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 72px;
  border-top: 1px solid var(--line);
}
.role {
  padding: 32px 28px 8px 0;
}
.role + .role {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.role h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
}
.role .where {
  margin: 8px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--amber);
}
.role p:last-child {
  margin: 18px 0 0;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- 治理 ---------- */
.governance {
  background: radial-gradient(60% 80% at 100% 0%, rgba(142, 42, 38, 0.14), transparent 70%), var(--glaze);
}
.gov-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 72px;
  border-top: 1px solid var(--line);
}
.gov-item {
  padding: 32px 32px 32px 0;
  border-bottom: 1px solid var(--line);
}
.gov-item:nth-child(even) {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}
.gov-item h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
}
.gov-item h3 svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--amber);
}
.gov-item p {
  margin: 12px 0 0;
  max-width: 28em;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- 多端 ---------- */
.platforms {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 16px;
  margin-top: 64px;
}
.ptile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(237, 230, 218, 0.025), rgba(237, 230, 218, 0));
}
.ptile.featured {
  grid-row: span 2;
  padding: 32px;
  border-color: var(--amber-line);
  background: radial-gradient(90% 70% at 100% 0%, rgba(214, 161, 90, 0.14), transparent 70%), var(--cellar);
}
.ptile.mine {
  border-color: var(--amber-line);
}
.ptile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ptile-icon {
  width: 28px;
  height: 28px;
  color: var(--amber);
}
.ptile h3 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
}
.ptile.featured h3 {
  font-size: 30px;
  font-weight: 400;
}
.ptile .kind {
  margin: 0;
  font-size: var(--fs-small);
  color: var(--faint);
}
.ptile .desc {
  margin: 6px 0 0;
  max-width: 24em;
  font-size: 15px;
  color: var(--muted);
}
.ptile .ptile-action {
  margin-top: auto;
  padding-top: 16px;
}
.ptile .links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 4px;
  font-size: var(--fs-small);
}
.ptile .links a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}
.ptile .links a:hover {
  color: var(--qu);
  border-color: var(--amber);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  white-space: nowrap;
  border: 1px solid var(--line-strong);
  color: var(--muted);
}
.status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.status.available {
  color: var(--ok);
  border-color: rgba(183, 207, 162, 0.32);
}
.status.coming {
  color: var(--amber);
  border-color: var(--amber-line);
}
.mine-tag {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--amber-hi);
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  color: var(--qu);
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid var(--amber-line);
  padding-bottom: 4px;
}
.more-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}
.more-link:hover svg {
  transform: translateX(3px);
}

/* ---------- 结尾 ---------- */
.closing {
  position: relative;
  overflow: hidden;
  padding-block: clamp(96px, 12vw, 176px);
  border-top: 1px solid var(--line);
}
.closing::before {
  content: "";
  position: absolute;
  right: -15%;
  bottom: -60%;
  width: 80%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(214, 161, 90, 0.16), rgba(142, 42, 38, 0.06) 55%, transparent);
  pointer-events: none;
}
.closing-title {
  position: relative;
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 10vw, 148px);
  line-height: 1;
  letter-spacing: 0.08em;
}
.closing-title em {
  font-style: normal;
  color: var(--amber-hi);
}
.closing p {
  position: relative;
  margin: 36px 0 0;
  max-width: 30em;
  font-size: var(--fs-lead);
  line-height: 1.9;
  color: var(--muted);
}
.closing .actions {
  position: relative;
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding-block: 64px 40px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
  color: var(--faint);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
}
.footer-grid p {
  margin: 14px 0 0;
  max-width: 22em;
}
.footer-grid h2 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-grid ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-grid a {
  color: var(--faint);
  text-decoration: none;
}
.footer-grid a:hover {
  color: var(--qu);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
}

/* ---------- 下载中心 ---------- */
.dl-hero {
  padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 96px);
}
.dl-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: end;
  gap: clamp(32px, 6vw, 96px);
}
.dl-hero .hero-title {
  font-size: clamp(34px, 4.6vw, 64px);
}

.recommend {
  margin-top: 40px;
  padding: 28px;
  max-width: 640px;
  border: 1px solid var(--amber-line);
  border-radius: 16px;
  background: radial-gradient(80% 90% at 0% 0%, rgba(214, 161, 90, 0.12), transparent 70%), var(--cellar);
}
.recommend .eyebrow {
  color: var(--amber-hi);
}
.recommend h2 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.4;
}
.recommend p {
  margin: 10px 0 0;
  color: var(--muted);
}
.recommend .actions {
  margin-top: 24px;
}

.qr-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cellar);
}
.qr-box {
  padding: 14px;
  border-radius: 10px;
  background: var(--qu);
}
.qr-box svg {
  display: block;
  width: 100%;
  height: auto;
}
.qr-card h2 {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
}
.qr-card p {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--faint);
}

.dl-rows {
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}
.dl-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1.3fr) minmax(0, 1.2fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.dl-row.mine {
  background: linear-gradient(90deg, var(--amber-wash), transparent 60%);
}
.dl-row .ptile-icon {
  margin-left: 12px;
}
.dl-name h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
}
.dl-name p,
.dl-req {
  margin: 4px 0 0;
  font-size: var(--fs-small);
  color: var(--faint);
}
.dl-meta {
  display: grid;
  gap: 4px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.dl-meta .dim {
  color: var(--faint);
}
.dl-action {
  display: flex;
  justify-content: flex-end;
}
.dl-hash {
  grid-column: 2 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
}
.dl-hash code {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--muted);
}
.copy-btn {
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: none;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  cursor: pointer;
}
.copy-btn:hover {
  border-color: var(--amber-line);
  color: var(--qu);
}

.web-entries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
}
.web-entry {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.web-entry:hover {
  border-color: var(--amber-line);
  background: var(--amber-wash);
}
.web-entry h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
}
.web-entry span {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--amber);
  overflow-wrap: anywhere;
}
.web-entry p {
  margin: 4px 0 0;
  font-size: var(--fs-small);
  color: var(--muted);
}

.releases {
  margin-top: 56px;
}
.release {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.release-when {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--faint);
}
.release-when b {
  display: block;
  font-weight: 400;
  font-size: 15px;
  color: var(--qu);
}
.release ul {
  margin: 0;
  padding-left: 1.1em;
  color: var(--muted);
}
.empty {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  color: var(--faint);
}

.guides {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--line);
}
.guide {
  min-width: 0;
  padding: 32px 28px 0 0;
}
.guide + .guide {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.guide h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
}
.guide p,
.guide li {
  font-size: 15px;
  color: var(--muted);
}
.guide ol {
  margin: 14px 0 0;
  padding-left: 1.2em;
}
.guide pre {
  margin: 12px 0 0;
  padding: 12px 14px;
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--cellar);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--qu);
}
.guide pre span {
  color: var(--faint);
}

/* ---------- 404 ---------- */
.lost {
  min-height: 60vh;
  display: grid;
  align-content: center;
  padding-block: 96px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .chain {
    grid-template-columns: minmax(0, 1fr);
    border-top: 0;
    border-left: 1px solid var(--line-strong);
    margin-left: 4px;
  }
  .chain::before {
    display: none;
  }
  .step {
    padding: 0 0 36px 32px;
  }
  .step:last-child {
    padding-bottom: 0;
  }
  .step::before {
    top: 4px;
    left: -5px;
  }
  .step p {
    max-width: 34em;
  }
  .roles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .role:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .role:nth-child(n + 3) {
    border-top: 1px solid var(--line);
    margin-top: 24px;
  }
  .platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ptile.featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .dl-row {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }
  .dl-req,
  .dl-meta {
    grid-column: 2 / 3;
  }
  .dl-action {
    grid-column: 3;
    grid-row: 1;
  }
  .web-entries,
  .guides {
    grid-template-columns: minmax(0, 1fr);
  }
  .guide,
  .guide + .guide {
    padding: 28px 0;
    border-left: 0;
  }
  .guide + .guide {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .dl-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-art {
    justify-self: center;
    max-width: 460px;
  }
  .cap-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .cap-index {
    display: none;
  }
  .qr-card {
    display: none;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 880px) {
  .nav,
  .header-actions .text-link,
  .header-actions .btn {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .site-header[data-open] .mobile-panel {
    display: grid;
    gap: 4px;
    padding-bottom: 24px;
  }
  .mobile-panel a:not(.btn) {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: var(--qu);
    text-decoration: none;
    font-family: var(--serif);
    font-size: 20px;
  }
  .mobile-panel .actions {
    margin-top: 20px;
  }
}

@media (max-width: 900px) {
  .war-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .war-flow {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .war-feed {
    height: 250px;
  }
}

@media (max-width: 720px) {
  .section-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .console-head {
    display: none;
  }
  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kpi:nth-child(3) {
    border-left: 0;
  }
  .kpi:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .kpi {
    padding: 12px 16px;
  }
  .war-flow canvas {
    height: 280px;
  }
  .stream-flow canvas {
    height: 500px;
  }
  .lp-tag {
    margin-left: 0;
  }
  .console-tag {
    margin-left: 0;
  }
  .log-line {
    grid-template-columns: 92px minmax(0, 1fr);
    grid-template-areas: "time stage" "time cap" "time out";
    font-size: 12px;
    gap: 0 12px;
    height: auto;
    padding-block: 6px;
  }
  .log-line.gap {
    height: 6px;
    padding-block: 0;
  }
  .log-time {
    grid-area: time;
    align-self: start;
  }
  .log-stage {
    grid-area: stage;
  }
  .log-cap {
    grid-area: cap;
  }
  .log-out {
    grid-area: out;
  }
  .console-body {
    height: 420px;
  }
  .hud {
    font-size: 10px;
    letter-spacing: 0.08em;
  }
  .hud-tr,
  .hud-bl {
    display: none;
  }
  .chapter {
    position: static;
    writing-mode: horizontal-tb;
    align-items: baseline;
    letter-spacing: 0.3em;
    font-size: 14px;
  }
  .facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .facts dd {
    font-size: 24px;
  }
  .points {
    grid-template-columns: minmax(0, 1fr);
  }
  .frames {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ecosystem {
    grid-template-columns: minmax(0, 1fr);
  }
  .roles,
  .gov-grid,
  .platforms {
    grid-template-columns: minmax(0, 1fr);
  }
  .role,
  .role + .role,
  .role:nth-child(3) {
    padding: 28px 0;
    margin-top: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .role:first-child {
    border-top: 0;
  }
  .gov-item,
  .gov-item:nth-child(even) {
    padding: 28px 0;
    border-left: 0;
  }
  .ptile.featured {
    padding: 24px;
  }
  .dl-row {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 24px 0;
  }
  .dl-row .ptile-icon {
    margin-left: 4px;
  }
  .dl-req,
  .dl-meta,
  .dl-action,
  .dl-hash {
    grid-column: 2 / -1;
  }
  .dl-action {
    grid-row: auto;
    justify-content: flex-start;
  }
  .dl-action:has([aria-disabled="true"]) {
    display: none;
  }
  .release {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

/* 书法标题图与印章 */
.cal-title {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 12px;
}
.cal-title .cal {
  flex: 0 1 auto;
  min-width: 0;
  max-width: calc(100% - 52px);
}
.cal-title .seal {
  flex: none;
}
.cal {
  display: block;
  height: auto;
  filter: drop-shadow(0 6px 26px rgba(214, 161, 90, 0.18));
}
.cal-hero {
  width: min(100%, 640px);
}
.cal-closing {
  width: min(78%, 520px);
}
.seal {
  width: clamp(32px, 3.4vw, 48px);
  height: auto;
  margin-bottom: 0.3em;
  opacity: 0.92;
}
.closing-title .seal {
  width: clamp(38px, 4vw, 56px);
}
.rh-brand b {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rh-calli {
  display: block;
  height: 30px;
  width: auto;
}
.rh-seal {
  display: block;
  height: 22px;
  width: auto;
}
@media (max-width: 720px) {
  .rh-calli {
    height: 24px;
  }
}
@media (max-width: 720px) {
  .facts dt {
    font-size: 12.5px;
    line-height: 1.5;
  }
}

/* CRM 仿真结构：状态徽标、客户表、渠道比例条 */
.st {
  display: inline-block;
  margin-right: 6px;
  padding: 0 6px;
  border-radius: 4px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 10.5px;
  line-height: 17px;
  white-space: nowrap;
  vertical-align: 1px;
}
.st-lead {
  background: rgba(237, 230, 218, 0.1);
  color: var(--muted);
}
.st-qualified {
  background: rgba(159, 212, 184, 0.14);
  color: #9fd4b8;
}
.st-active {
  background: rgba(214, 161, 90, 0.18);
  color: var(--amber-hi);
}
.st-dormant {
  background: rgba(229, 139, 119, 0.16);
  color: #e58b77;
}
.st-churned {
  background: rgba(133, 122, 109, 0.18);
  color: var(--faint);
}
.war-feed b code,
.war-feed span code,
.rh-crm code {
  margin-right: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--amber);
}
.war-feed span code {
  color: var(--muted);
}
.rh-chbar {
  display: flex;
  gap: 2px;
  height: 30px;
}
.rh-chbar .ch {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  transition: flex-grow 0.8s ease;
}
.rh-chbar .ch i {
  display: block;
  height: 5px;
  border-radius: 2px;
}
.rh-chbar .ch span {
  overflow: hidden;
  font-size: 10.5px;
  color: var(--faint);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.rh-chbar .ch b {
  padding: 0 2px;
  border-radius: 3px;
  font-family: var(--mono);
  font-weight: 400;
  color: var(--muted);
}
.rh-chbar .c0 i {
  background: #9fd4b8;
}
.rh-chbar .c1 i {
  background: #7fb8a2;
}
.rh-chbar .c2 i {
  background: #f0c98b;
}
.rh-chbar .c3 i {
  background: #d6a15a;
}
.rh-chbar .c4 i {
  background: #e58b77;
}
.rh-crm {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 11.5px;
}
.rh-crm th {
  padding: 0 4px 5px;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
  font-size: 10.5px;
  color: var(--faint);
  text-align: left;
}
.rh-crm th:nth-child(1) {
  width: 27%;
}
.rh-crm th:nth-child(3) {
  width: 13%;
}
.rh-crm th:nth-child(4) {
  width: 14%;
}
.rh-crm th:nth-child(5) {
  width: 13%;
}
.rh-crm th:nth-child(6),
.rh-crm td.num {
  text-align: right;
}
.rh-crm td {
  overflow: hidden;
  padding: 4px;
  border-bottom: 1px solid rgba(237, 230, 218, 0.05);
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.rh-crm td:nth-child(2) {
  color: var(--qu);
}
.rh-crm td.num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--qu);
  font-variant-numeric: tabular-nums;
}
.rh-crm .st {
  margin: 0;
}
.rh-crm tr.enter {
  animation: tradeIn 0.5s ease-out;
}
.rh-crm tr.upd td {
  animation: crmUpd 1.2s ease-out;
}
@keyframes crmUpd {
  0% {
    background: rgba(214, 161, 90, 0.2);
  }
}
@media (max-width: 720px) {
  .rh-dataflow li {
    grid-template-columns: 58px minmax(0, 1fr);
    height: auto;
    padding-block: 3px;
  }
  .rh-dataflow li span {
    grid-column: 1 / -1;
  }
  .rh-crm th:nth-child(3),
  .rh-crm td:nth-child(3),
  .rh-crm th:nth-child(4),
  .rh-crm td:nth-child(4) {
    display: none;
  }
}
.rh-market .rh-mapbox {
  min-height: 130px;
}
.rh-crm-wrap {
  flex: none;
  max-height: 178px;
  overflow: hidden;
}

/* ---------- 首页紧凑区（内核两栏 · 实况中心 · 能力数据卡 · 治理计数 · 结尾） ---------- */
.section.tight {
  padding-block: clamp(56px, 6.5vw, 96px);
}
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 48px;
}
.sec-head .eyebrow {
  margin: 0 0 14px;
}
.sec-note {
  margin: 0;
  max-width: 30em;
  font-size: var(--fs-small);
  line-height: 1.8;
  color: var(--faint);
}
.tight .note {
  margin-top: 28px;
}
.st-ok {
  background: rgba(159, 212, 184, 0.14);
  color: #9fd4b8;
}
.st-risk {
  background: rgba(229, 139, 119, 0.16);
  color: #e58b77;
}

/* 内核：文字 + 回执终端并排 */
.kernel-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
}
.kernel-grid .section-lead {
  margin-top: 18px;
  font-size: 16px;
}
.kernel-grid .console {
  margin-top: 0;
}
@media (min-width: 721px) {
  .kernel-grid .console-head,
  .kernel-grid .log-line {
    grid-template-columns: 96px 150px minmax(0, 1fr) minmax(0, 150px);
    gap: 12px;
  }
}
.kchain {
  counter-reset: none;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--amber-line);
}
.kchain li {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  padding: 7px 0 7px 18px;
}
.kchain li::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 17px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px rgba(240, 201, 139, 0.8);
}
.kchain b {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11px;
  line-height: 24px;
  color: var(--faint);
}
.kchain h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}
.kchain code {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11.5px;
  color: var(--amber);
}
.kchain p {
  margin: 1px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* 实况中心 */
.live-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(13, 10, 8, 0.7);
}
.live-tabs button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 8px 16px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.live-tabs button b {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
}
.live-tabs button small {
  font-size: 11.5px;
  color: var(--faint);
}
.live-tabs button:hover {
  color: var(--qu);
}
.live-tabs button[aria-selected="true"] {
  background: linear-gradient(180deg, rgba(214, 161, 90, 0.2), rgba(214, 161, 90, 0.07));
  box-shadow: inset 0 0 0 1px var(--amber-line);
  color: var(--amber-hi);
}
.live-tabs button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
.live-prog {
  display: block;
  height: 2px;
  margin-top: 22px;
  background: var(--line);
  overflow: hidden;
}
.live-prog b {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--amber-hi));
  transform: scaleX(0);
  transform-origin: left;
}
.live-stack {
  display: grid;
}
.live-pane {
  grid-area: 1 / 1;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s linear 0.5s;
}
.live-pane.on {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.live-pane .live-panel {
  margin-top: 14px;
}

/* 六大能力数据卡 */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}
.cc {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 20px 0;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(214, 161, 90, 0.05), transparent 38%), #0d0a08;
  overflow: hidden;
}
.cc header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--amber);
}
.cc-run {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  color: var(--ok);
}
.cc-run i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse 2s ease-out infinite;
}
.cc h3 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.3;
}
.cc > p {
  margin: 6px 0 0;
  min-height: 3.2em;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}
.cc-viz {
  position: relative;
  height: 124px;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}
.cc-kpi {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 14px -20px 0;
  border-top: 1px solid var(--line);
}
.cc-kpi div {
  min-width: 0;
  padding: 10px 14px 12px 20px;
}
.cc-kpi div + div {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}
.cc-kpi dt {
  font-size: 11.5px;
  color: var(--faint);
}
.cc-kpi dd {
  margin: 2px 0 0;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.3;
  color: var(--qu);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cc .hit {
  animation: cc-hit 0.9s ease-out;
}
@keyframes cc-hit {
  from {
    background-color: rgba(240, 201, 139, 0.18);
  }
  to {
    background-color: transparent;
  }
}

.cc-funnel {
  display: grid;
  gap: 5px;
}
.cc-funnel > div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 8px;
  height: 18px;
}
.cc-funnel span {
  font-family: var(--sans);
  color: var(--faint);
}
.cc-funnel i {
  height: 8px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.cc-funnel b {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(214, 161, 90, 0.35), var(--amber-hi));
  transition: width 0.8s ease;
}
.cc-funnel em {
  font-style: normal;
  text-align: right;
  color: var(--qu);
}
.cc-line {
  margin: 12px 0 0;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(237, 230, 218, 0.03);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cc-line code {
  margin-right: 8px;
  color: var(--amber);
}

.cc-board {
  position: relative;
  height: 120px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cc-board li {
  position: absolute;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 38px 24px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 8px;
  height: 24px;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cc-board code {
  color: var(--faint);
}
.cc-board span {
  font-family: var(--sans);
  color: var(--qu);
}
.cc-board i {
  height: 6px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.cc-board b {
  display: block;
  height: 100%;
  background: rgba(214, 161, 90, 0.55);
  transition: width 0.6s ease;
}
.cc-board em {
  font-style: normal;
  text-align: right;
  color: var(--qu);
}
.cc-board li.up b {
  background: var(--amber-hi);
  box-shadow: 0 0 10px rgba(240, 201, 139, 0.6);
}
.cc-board li.up em {
  color: #e8705f;
}

.cc-jobs {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cc-jobs li {
  border-radius: 4px;
}
.cc-jobs li > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  line-height: 20px;
}
.cc-jobs code {
  color: var(--amber);
}
.cc-jobs span {
  font-family: var(--sans);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cc-jobs em {
  font-style: normal;
  color: var(--qu);
}
.cc-jobs i {
  display: block;
  height: 4px;
  margin-top: 3px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.cc-jobs b {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(214, 161, 90, 0.4), var(--amber-hi));
  transition: width 0.9s linear;
}

.cc-book header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 11px;
}
.cc-book header code {
  color: var(--faint);
}
.cc-book header b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 16px;
  color: var(--qu);
}
.cc-book .up {
  color: #e8705f;
}
.cc-book .down {
  color: #5fbf8a;
}
.cc-side p {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0 6px;
  line-height: 16px;
}
.cc-side i {
  position: absolute;
  right: 0;
  top: 1px;
  bottom: 1px;
  z-index: 0;
  border-radius: 2px;
  transition: width 0.6s ease;
}
.cc-side span,
.cc-side em {
  position: relative;
  z-index: 1;
  font-style: normal;
}
.cc-side.cc-ask span {
  color: #e8705f;
}
.cc-side.cc-ask i {
  background: rgba(232, 112, 95, 0.14);
}
.cc-side.cc-bid {
  margin-top: 3px;
  padding-top: 3px;
  border-top: 1px dashed var(--line-strong);
}
.cc-side.cc-bid span {
  color: #5fbf8a;
}
.cc-side.cc-bid i {
  background: rgba(95, 191, 138, 0.13);
}

.cc-spark {
  display: block;
  width: 100%;
  height: 62px;
}
.cc-spark polyline,
.gt-spark polyline {
  fill: none;
  stroke: var(--amber-hi);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}
.cc-spark polygon {
  fill: rgba(214, 161, 90, 0.12);
}
.cc-mix {
  display: flex;
  gap: 2px;
  height: 8px;
  margin-top: 12px;
}
.cc-mix i {
  flex: 1 1 0;
  border-radius: 2px;
  transition: flex-grow 0.8s ease;
}
.cc-mix i:nth-child(1),
.cc-legend span:nth-child(1) i {
  background: #f0c98b;
}
.cc-mix i:nth-child(2),
.cc-legend span:nth-child(2) i {
  background: #d6a15a;
}
.cc-mix i:nth-child(3),
.cc-legend span:nth-child(3) i {
  background: #b0703d;
}
.cc-mix i:nth-child(4),
.cc-legend span:nth-child(4) i {
  background: #8e2a26;
}
.cc-mix i:nth-child(5),
.cc-legend span:nth-child(5) i {
  background: #9fd4b8;
}
.cc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  margin-top: 8px;
  font-family: var(--sans);
  color: var(--faint);
}
.cc-legend span i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 1px;
}
.cc-legend em {
  font-family: var(--mono);
  font-style: normal;
  color: var(--muted);
}

.cc-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  height: 100%;
}
.cc-week > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.cc-week i {
  position: relative;
  flex: 1;
  width: 100%;
}
.cc-week b {
  position: absolute;
  bottom: 0;
  border-radius: 2px 2px 0 0;
  transition: height 0.8s ease;
}
.cc-week .pl {
  left: 0;
  right: 0;
  border: 1px dashed var(--line-strong);
  border-bottom: 0;
}
.cc-week .dn {
  left: 22%;
  right: 22%;
  background: linear-gradient(180deg, var(--amber-hi), rgba(214, 161, 90, 0.35));
}
.cc-week span {
  font-family: var(--sans);
  color: var(--faint);
}
.cc-week .now span {
  color: var(--amber-hi);
}
.cc-week .now .dn {
  box-shadow: 0 0 12px rgba(240, 201, 139, 0.55);
}
.cap-grid + .ecosystem {
  margin-top: 28px;
  padding: 22px 0;
}

/* 治理：四个实时计数 + 角色 */
.gov2 {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.gov-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--line);
  overflow: hidden;
}
.gt {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 20px;
  background: #0d0a08;
}
.gt > span {
  font-size: 13px;
  color: var(--muted);
}
.gt > b {
  margin-top: 4px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.15;
  color: var(--amber-hi);
  font-variant-numeric: tabular-nums;
  border-radius: 4px;
  align-self: flex-start;
}
.gt > small {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
}
.gt-spark {
  width: 100%;
  height: 28px;
  margin-top: 10px;
}
.gt > p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.gt > b.hit {
  animation: cc-hit 0.9s ease-out;
}
.roles2 {
  padding: 18px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(142, 42, 38, 0.1), transparent 60%), #0d0a08;
}
.roles2 h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
}
.roles2 ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.roles2 li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.roles2 li:first-child {
  border-top: 0;
}
.roles2 li div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.roles2 b {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
}
.roles2 em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  color: var(--amber);
}
.roles2 p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* 结尾 + 多端 */
#devices.closing {
  padding-block: clamp(64px, 8vw, 112px);
}
.closing-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
.closing-grid .closing-title {
  font-size: clamp(48px, 7vw, 104px);
}
.closing-grid .closing-copy > p {
  margin-top: 24px;
}
.closing-devices {
  position: relative;
}
.closing-devices .eyebrow {
  margin: 0;
}
.closing-devices h3 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
}
.platforms.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: none;
  gap: 8px;
  margin-top: 18px;
}
.platforms.compact .ptile {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(13, 10, 8, 0.72);
}
.platforms.compact .ptile.featured {
  grid-column: 1 / -1;
  grid-row: auto;
  padding: 12px 14px;
}
.platforms.compact .ptile-top {
  display: contents;
}
.platforms.compact .ptile-icon {
  order: 0;
  flex: none;
  display: inline-flex;
  width: 18px;
  height: 18px;
}
.platforms.compact .ptile-icon svg {
  width: 18px;
  height: 18px;
}
.platforms.compact .ptile h3,
.platforms.compact .ptile.featured h3 {
  order: 1;
  margin: 0;
  font-size: 15px;
}
.platforms.compact .ptile:not(.featured) {
  flex-wrap: nowrap;
}
.platforms.compact .kind {
  order: 2;
  min-width: 0;
  margin: 0;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.platforms.compact .status {
  white-space: nowrap;
}
.platforms.compact .links {
  order: 2;
  margin: 0;
  gap: 12px;
  font-size: 13px;
}
.platforms.compact .status,
.platforms.compact .mine-tag,
.platforms.compact .ptile-action {
  order: 3;
  margin: 0 0 0 auto;
  padding: 0;
}
.platforms.compact .desc,
.platforms.compact .ptile.featured .ptile-action {
  display: none;
}
.closing-devices .more-link {
  margin-top: 14px;
}

@media (max-width: 1080px) {
  .kernel-grid,
  .gov2,
  .closing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .cap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .cap-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    margin-inline: calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 6px;
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .cap-grid::-webkit-scrollbar {
    display: none;
  }
  .cc {
    scroll-snap-align: start;
  }
  .gt {
    padding: 14px 14px 12px;
  }
  .gt > p {
    display: none;
  }
  .gt > b {
    font-size: 26px;
  }
  .gt > small {
    font-size: 10px;
  }
  .live-tabs {
    width: 100%;
  }
  .live-tabs button {
    flex: 1;
    padding: 7px 8px;
  }
  .live-tabs button small {
    display: none;
  }
  .platforms.compact {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .platforms.compact .ptile {
    gap: 4px 8px;
    padding: 10px 10px 10px 12px;
  }
  .platforms.compact .status {
    padding: 2px 8px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .live-pane,
  .cc-board li,
  .cc-funnel b,
  .cc-jobs b {
    transition: none;
  }
}
