/* ==========================================================================
   CL1 BIOLOGICAL COMPUTER — 专题页样式
   依赖 /assets/css/site.css 的变量、顶栏、按钮与页脚基础样式
   ========================================================================== */

:root {
  --c-cyan: #52d2ff;
  --c-cyan-soft: rgba(82, 210, 255, 0.14);
  --c-blue: #4d7fff;
  --c-mint: #6ff2d0;
  --glass: linear-gradient(150deg, rgba(22, 38, 58, 0.62), rgba(9, 15, 25, 0.42));
  --glass-strong: linear-gradient(150deg, rgba(26, 45, 68, 0.78), rgba(8, 13, 22, 0.72));
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 9px;
}

body.page-cl1 {
  background-image:
    radial-gradient(1100px 700px at 78% -10%, rgba(40, 120, 180, 0.20), transparent 60%),
    radial-gradient(760px 560px at 4% 12%, rgba(24, 52, 92, 0.24), transparent 62%),
    linear-gradient(180deg, #06090f, #070a10 40%, #06090f);
  scroll-padding-top: 96px;
}

body.page-cl1 ::selection { background: rgba(82, 210, 255, 0.3); color: #fff; }

/* ---------- 顶栏微调 ---------- */
.page-cl1 .topbar__inner { gap: 22px; }
.page-cl1 .topnav { gap: 10px; }
.page-cl1 .topnav a.is-current { color: var(--accent); }
.page-cl1 .lang-switch { flex: none; }
.page-cl1 .topbar__mail { padding-left: 16px; }

.cl1-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 120;
  background: transparent;
  pointer-events: none;
}
.cl1-progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--c-blue), var(--c-cyan), var(--mint));
  box-shadow: 0 0 14px rgba(82, 210, 255, 0.55);
  transition: width 0.12s linear;
}

/* ---------- 通用 ---------- */
.cl1-sec {
  position: relative;
  padding: clamp(76px, 9vw, 128px) 0;
  border-top: 1px solid var(--line);
}
.cl1-sec--alt {
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(40, 110, 170, 0.10), transparent 60%),
    rgba(255, 255, 255, 0.012);
}
.sec-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.sec-head { max-width: 820px; margin-bottom: clamp(34px, 5vw, 56px); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--dim);
}
.eyebrow span {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 20px;
  padding: 0 6px;
  border: 1px solid rgba(82, 210, 255, 0.35);
  border-radius: 3px;
  color: var(--c-cyan);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.sec-title {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #f2f7fd;
}
.sec-lead {
  margin: 20px 0 0;
  font-size: clamp(14.5px, 1.15vw, 16.5px);
  line-height: 1.95;
  color: var(--ink-2);
}
.sub-title {
  margin: clamp(46px, 6vw, 72px) 0 10px;
  font-size: clamp(18px, 1.8vw, 23px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #eaf2fb;
}
.sub-title::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  margin-right: 12px;
  vertical-align: middle;
  background: var(--c-cyan);
}
.sub-lead { margin: 0 0 24px; color: var(--muted); font-size: 14px; }
.sec-note {
  margin: clamp(34px, 4vw, 46px) 0 0;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--dim);
}
.prose-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.prose-cols > p { margin: 0; font-size: 15.5px; line-height: 2; color: var(--ink-2); }

.glass-panel {
  position: relative;
  background: var(--glass);
  border: 1px solid rgba(148, 195, 235, 0.16);
  border-radius: var(--r-lg);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* 可信度标签 */
.c-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  white-space: nowrap;
  border: 1px solid transparent;
}
.c-tag::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.9; }
.c-tag--official { color: #7fe3c4; background: rgba(111, 242, 208, 0.08); border-color: rgba(111, 242, 208, 0.24); }
.c-tag--academic { color: #8fc6ff; background: rgba(77, 127, 255, 0.09); border-color: rgba(110, 160, 255, 0.26); }
.c-tag--estimate { color: #f4c97a; background: rgba(244, 201, 122, 0.08); border-color: rgba(244, 201, 122, 0.24); }
.c-tag--unverified { color: #f09a9a; background: rgba(240, 154, 154, 0.08); border-color: rgba(240, 154, 154, 0.24); }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.sim-pill {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border: 1px solid rgba(244, 201, 122, 0.4);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: #f4c97a;
  background: rgba(244, 201, 122, 0.07);
  white-space: nowrap;
}
.muted { color: var(--muted); }
.small { font-size: 12px; }
.panel-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- 首屏 ---------- */
.cl1-hero {
  position: relative;
  padding: 128px var(--gutter) 0;
  max-width: 1320px;
  margin: 0 auto;
  overflow: hidden;
}
.cl1-hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  pointer-events: none;
  mask-image: radial-gradient(75% 80% at 62% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(75% 80% at 62% 40%, #000 20%, transparent 78%);
}
.cl1-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 198, 242, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 198, 242, 0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 76%);
  pointer-events: none;
}
.cl1-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  min-height: 560px;
  padding-top: 18px;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  color: #8fb6d4;
}
.hero-kicker .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--c-mint);
  box-shadow: 0 0 0 4px rgba(111, 242, 208, 0.12), 0 0 16px rgba(111, 242, 208, 0.7);
  animation: pulse 2.6s var(--ease) infinite;
}
.hero-title {
  margin: 0;
  font-size: clamp(42px, 6.6vw, 84px);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: #f4f9ff;
}
.hero-title span {
  display: inline-block;
  margin-top: 6px;
  font-size: clamp(20px, 2.8vw, 34px);
  letter-spacing: 0.12em;
  line-height: 1.2;
  background: linear-gradient(96deg, var(--c-cyan), #9be7ff 45%, var(--c-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-cn {
  margin: 20px 0 0;
  font-size: clamp(17px, 1.7vw, 21px);
  letter-spacing: 0.24em;
  color: #dcebf9;
}
.hero-sub {
  margin: 10px 0 0;
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--ink-2);
}
.hero-intro {
  margin: 18px 0 0;
  max-width: 560px;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.hero-meta {
  margin: 26px 0 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #63768c;
}

.cl1-hero__visual { position: relative; }
.hero-device { padding: 16px; overflow: hidden; }
.hero-device::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(82, 210, 255, 0.10), transparent 42%, rgba(77, 127, 255, 0.08));
  pointer-events: none;
}
.device-top,
.device-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 6px 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: #7f9cb8;
}
.device-foot { padding: 10px 6px 2px; }
.device-rate { color: var(--c-cyan); }
.device-led {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-mint);
  box-shadow: 0 0 10px rgba(111, 242, 208, 0.8);
}
#deviceCanvas { width: 100%; height: auto; border-radius: 12px; background: radial-gradient(60% 60% at 50% 50%, rgba(22, 44, 68, 0.5), rgba(5, 9, 15, 0.9)); }
.hero-note {
  margin: 12px 4px 0;
  font-size: 10.5px;
  line-height: 1.7;
  color: #66798f;
}
.cl1-hero__stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-stat {
  padding: 18px 14px 16px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-stat:last-child { border-right: 0; }
.hero-stat b {
  font-family: var(--mono);
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 500;
  color: #e9f5ff;
  letter-spacing: -0.01em;
}
.hero-stat span { font-size: 10.5px; line-height: 1.6; color: var(--muted); }
.hero-stat .c-tag { margin-top: 4px; align-self: flex-start; font-size: 8.5px; padding: 1px 6px; }

.mod-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 0 56px;
}
.mod-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 18, 29, 0.5);
  font-size: 11.5px;
  color: var(--muted);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}
.mod-chip i {
  font-family: var(--mono);
  font-style: normal;
  font-size: 9px;
  color: #5f89a8;
}
.mod-chip:hover {
  color: var(--ink);
  border-color: rgba(82, 210, 255, 0.42);
  background: rgba(82, 210, 255, 0.06);
}

/* ---------- 01 ---------- */
.company-card { padding: 24px 26px; }
.company-card h3 { margin: 0 0 14px; font-size: 14px; letter-spacing: 0.08em; color: #cfe3f5; }
.kv-list { margin: 0; display: grid; gap: 12px; }
.kv { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 12px; padding-bottom: 11px; border-bottom: 1px dashed var(--line); }
.kv:last-child { border-bottom: 0; padding-bottom: 0; }
.kv dt { color: var(--dim); font-size: 11.5px; letter-spacing: 0.06em; }
.kv dd { margin: 0; color: var(--ink-2); font-size: 12.5px; line-height: 1.8; }

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.fact-card {
  position: relative;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(160deg, rgba(18, 31, 48, 0.55), rgba(9, 15, 24, 0.35));
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.fact-card:hover { border-color: rgba(82, 210, 255, 0.3); transform: translateY(-2px); }
.fact-no {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #4f7d9e;
}
.fact-card h3 { margin: 10px 0 9px; font-size: 15.5px; font-weight: 600; color: #ecf5ff; }
.fact-card p { margin: 0; font-size: 12.8px; line-height: 1.9; color: var(--muted); }

.tl { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 0; border-left: 1px solid var(--line-strong); }
.tl-item { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; padding: 0 0 30px 24px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -4.5px; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--c-cyan);
  box-shadow: 0 0 12px rgba(82, 210, 255, 0.6);
}
.tl-item:last-child { padding-bottom: 0; }
.tl-year { font-family: var(--mono); font-size: 20px; color: #8fbad8; letter-spacing: -0.02em; }
.tl-body h4 { margin: 0 0 6px; font-size: 14.5px; font-weight: 600; color: #e8f2fc; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tl-body p { margin: 0; font-size: 13px; line-height: 1.9; color: var(--muted); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(8, 13, 21, 0.45); }
.data-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.data-table th, .data-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.75;
  vertical-align: top;
}
.data-table th {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #7d97ae;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.018);
  white-space: nowrap;
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td:first-child { color: var(--ink-2); }
.data-table tbody tr:hover td { background: rgba(82, 210, 255, 0.035); }
.compare-table td:nth-child(2) { color: #cfe7f9; }
.compare-wrap { margin-top: 24px; }

.def-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.def-card { padding: 26px; border-radius: var(--r-md); border: 1px solid rgba(82, 210, 255, 0.18); background: linear-gradient(150deg, rgba(23, 44, 66, 0.5), rgba(8, 14, 23, 0.4)); }
.def-en { margin: 0 0 4px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--c-cyan); }
.def-card h4 { margin: 0 0 10px; font-size: 16px; color: #eef7ff; }
.def-card p { margin: 0; font-size: 13px; line-height: 1.95; color: var(--muted); }

.myth-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.myth { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-sm); background: rgba(9, 15, 24, 0.4); }
.myth p { margin: 0; font-size: 12.5px; line-height: 1.85; display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; }
.myth-x { color: #8d9cae; }
.myth-x span { color: #e08585; }
.myth-y { margin-top: 8px !important; color: var(--ink-2); }
.myth-y span { color: var(--c-mint); }

/* ---------- 02 ---------- */
.subsys { margin-top: 10px; }
.subsys-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
}
.subsys-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(10, 16, 26, 0.5);
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}
.subsys-tab i { font-family: var(--mono); font-style: normal; font-size: 10px; color: #5f86a3; }
.subsys-tab:hover { color: var(--ink); border-color: var(--line-strong); }
.subsys-tab.is-on {
  color: #f0f8ff;
  border-color: rgba(82, 210, 255, 0.5);
  background: linear-gradient(160deg, rgba(28, 64, 92, 0.7), rgba(12, 24, 38, 0.7));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.subsys-tab.is-on i { color: var(--c-cyan); }
.subsys-body {
  margin-top: 10px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid rgba(148, 195, 235, 0.14);
  border-radius: var(--r-lg);
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.subsys-panel {}
.subsys-intro { margin: 0 0 26px; font-size: 14.5px; line-height: 1.95; color: var(--ink-2); }
.subsys-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 34px; }
.subsys-group h4 {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6f94b0;
}
.subsys-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.subsys-group li { padding-left: 14px; border-left: 1px solid var(--line); }
.subsys-group li b { display: block; font-size: 13px; font-weight: 600; color: #dcecf9; margin-bottom: 3px; }
.subsys-group li span { font-size: 12.2px; line-height: 1.85; color: var(--muted); }
.subsys-note {
  margin: 26px 0 0;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(244, 201, 122, 0.06);
  border: 1px solid rgba(244, 201, 122, 0.18);
  font-size: 12px;
  line-height: 1.85;
  color: #d9c49b;
}

/* ---------- 03 闭环 ---------- */
.loop-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 264px;
  gap: 18px;
  align-items: start;
}
.loop-steps { display: grid; gap: 6px; }
.loop-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(9, 15, 24, 0.42);
  color: var(--muted);
  text-align: left;
  font-size: 12.3px;
  line-height: 1.55;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.loop-step .ls-no { font-family: var(--mono); font-size: 9.5px; color: #5f86a3; letter-spacing: 0.06em; }
.loop-step:hover { color: var(--ink); border-color: var(--line-strong); }
.loop-step.is-on {
  color: #f1f9ff;
  border-color: rgba(82, 210, 255, 0.48);
  background: linear-gradient(120deg, rgba(26, 62, 92, 0.7), rgba(10, 20, 32, 0.7));
  box-shadow: 0 0 0 1px rgba(82, 210, 255, 0.12), 0 10px 30px -18px rgba(82, 210, 255, 0.6);
}
.loop-step.is-on .ls-no { color: var(--c-cyan); }
.loop-stage { padding: 16px; }
.loop-canvas-wrap { position: relative; }
.loop-canvas-wrap canvas { width: 100%; height: 300px; border-radius: 12px; background: radial-gradient(70% 80% at 50% 45%, rgba(20, 40, 60, 0.55), rgba(5, 9, 14, 0.92)); }
.loop-canvas-wrap .sim-pill { position: absolute; top: 10px; right: 10px; }
.loop-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.btn--sm { padding: 8px 15px; font-size: 11.5px; letter-spacing: 0.08em; }
.btn--ghost { background: rgba(10, 16, 26, 0.5); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.range-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.05em;
}
.range-label input[type="range"] { width: 110px; accent-color: var(--c-cyan); }
.loop-side { display: grid; gap: 14px; }
.readouts {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(9, 15, 24, 0.44);
}
.readouts .panel-label { margin-bottom: 10px; }
.ro { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.ro:last-child { border-bottom: 0; }
.ro span { font-size: 11.5px; color: var(--muted); }
.ro b { font-family: var(--mono); font-size: 13px; font-weight: 500; color: #d9efff; }
.step-detail { padding: 18px; min-height: 168px; }
.step-detail h4 { margin: 0 0 8px; font-size: 14px; color: #eaf6ff; }
.step-detail p { margin: 0; font-size: 12.3px; line-height: 1.9; color: var(--muted); }
.step-detail .io {
  display: inline-block;
  margin-top: 10px;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 9.5px;
  color: #7fb4d6;
}

/* ---------- 04 拆解 ---------- */
.td-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
}
.td-stage-wrap { padding: 16px; overflow: hidden; }
.td-stage {
  position: relative;
  height: 480px;
  border-radius: 14px;
  background:
    radial-gradient(60% 55% at 50% 45%, rgba(26, 58, 88, 0.45), transparent 70%),
    radial-gradient(80% 80% at 50% 100%, rgba(82, 210, 255, 0.08), transparent 60%),
    #05080d;
  overflow: hidden;
  cursor: grab;
  perspective: 1400px;
  touch-action: none;
  outline-offset: -2px;
}
.td-stage:active { cursor: grabbing; }
.td-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(82, 210, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 210, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 78%);
  pointer-events: none;
}
.td-scene {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 62deg)) rotateY(var(--ry, -26deg));
  transition: transform 0.12s linear;
}
.td-layer {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 330px;
  height: 210px;
  margin-left: -165px;
  margin-top: -105px;
  padding: 0;
  border: 0;
  background: transparent;
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--z, 0) * 1px));
  cursor: pointer;
  opacity: 0;
  animation: tdIn 0.7s var(--ease) forwards;
  animation-delay: calc(var(--i) * 60ms);
}
@keyframes tdIn { to { opacity: 1; } }
.td-face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(110, 190, 235, 0.28);
  background:
    radial-gradient(60% 60% at 40% 30%, rgba(82, 210, 255, 0.12), transparent 70%),
    linear-gradient(150deg, rgba(20, 40, 60, 0.86), rgba(7, 13, 22, 0.92));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 18px 40px -26px #000;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.td-layer--shell .td-face { border-color: rgba(150, 180, 205, 0.4); background: linear-gradient(150deg, rgba(28, 38, 50, 0.94), rgba(8, 12, 18, 0.96)); }
.td-layer--chamber .td-face { border-color: rgba(150, 230, 255, 0.38); }
.td-layer--culture .td-face { background: radial-gradient(60% 60% at 50% 50%, rgba(111, 242, 208, 0.18), rgba(8, 20, 24, 0.9) 70%); border-color: rgba(111, 242, 208, 0.4); }
.td-layer--mea .td-face { background: linear-gradient(150deg, rgba(28, 54, 82, 0.9), rgba(8, 16, 26, 0.95)); border-color: rgba(120, 190, 255, 0.5); }
.td-layer--electrodes .td-face { border-color: rgba(244, 201, 122, 0.45); background: radial-gradient(70% 70% at 50% 50%, rgba(244, 201, 122, 0.1), rgba(12, 18, 24, 0.9)); }
.td-layer--fluid .td-face { border-color: rgba(82, 210, 255, 0.45); }
.td-layer--thermal .td-face { border-color: rgba(255, 140, 120, 0.42); }
.td-layer--gas .td-face { border-color: rgba(160, 220, 255, 0.4); }
.td-layer--mainboard .td-face { border-color: rgba(150, 180, 120, 0.4); }
.td-layer--power .td-face { border-color: rgba(220, 190, 110, 0.4); }
.td-layer--comm .td-face { border-color: rgba(140, 220, 240, 0.45); }

.td-layer--shell { width: 380px; height: 250px; margin-left: -190px; margin-top: -125px; }
.td-layer--chamber { width: 340px; height: 215px; margin-left: -170px; margin-top: -107px; }
.td-layer--culture { width: 260px; height: 160px; margin-left: -130px; margin-top: -80px; }
.td-layer--mea { width: 300px; height: 180px; margin-left: -150px; margin-top: -90px; }
.td-layer--electrodes { width: 210px; height: 125px; margin-left: -105px; margin-top: -62px; }
.td-layer--fluid { width: 250px; height: 150px; margin-left: -125px; margin-top: -75px; }
.td-layer--thermal { width: 270px; height: 165px; margin-left: -135px; margin-top: -82px; }
.td-layer--gas { width: 235px; height: 145px; margin-left: -117px; margin-top: -72px; }
.td-layer--mainboard { width: 320px; height: 195px; margin-left: -160px; margin-top: -97px; }
.td-layer--power { width: 255px; height: 155px; margin-left: -127px; margin-top: -77px; }
.td-layer--comm { width: 200px; height: 120px; margin-left: -100px; margin-top: -60px; }

.td-layer:hover .td-face,
.td-layer.is-on .td-face {
  border-color: rgba(160, 235, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(82, 210, 255, 0.35), 0 0 50px rgba(82, 210, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  background: linear-gradient(150deg, rgba(40, 76, 104, 0.9), rgba(10, 20, 32, 0.95));
}
.td-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateZ(2px);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: #a9cde4;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  pointer-events: none;
  white-space: nowrap;
  text-shadow: 0 2px 12px #000;
}
.td-layer:hover .td-label,
.td-layer.is-on .td-label { opacity: 1; }
.td-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(closest-side, transparent 58%, rgba(82, 210, 255, 0.10) 59%, transparent 60%);
}
.td-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; padding: 0 4px; }
.td-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.td-hint { margin: 12px 4px 0; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; color: #5f7488; }
.schematic-note {
  margin: 10px 4px 4px;
  display: inline-block;
  padding: 4px 9px;
  border: 1px dashed rgba(244, 201, 122, 0.35);
  border-radius: 4px;
  font-size: 10px;
  color: #c9b384;
}
.td-side .panel-label { margin: 4px 0 10px; }
.td-parts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.part-chip {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(9, 15, 24, 0.45);
  color: var(--muted);
  font-size: 11px;
  text-align: left;
  cursor: pointer;
  transition: all 0.22s var(--ease);
}
.part-chip em { font-style: normal; font-family: var(--mono); font-size: 8.5px; color: #5c7d96; }
.part-chip:hover { color: var(--ink); border-color: var(--line-strong); }
.part-chip.is-on { color: #eaf7ff; border-color: rgba(82, 210, 255, 0.45); background: rgba(82, 210, 255, 0.08); }
.td-detail { padding: 20px; }
.td-detail h3 { margin: 0 0 14px; font-size: 17px; color: #f0f9ff; }
.td-detail dl { margin: 0; display: grid; gap: 10px; }
.td-detail dt { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #6f8ca4; }
.td-detail dd { margin: 2px 0 0; font-size: 12.3px; line-height: 1.85; color: var(--muted); }
.td-detail .muted { margin: 16px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); }

/* ---------- 05 制造 ---------- */
.warn-box {
  margin: 0 0 28px;
  padding: 18px 22px;
  border: 1px solid rgba(240, 154, 154, 0.28);
  border-radius: var(--r-md);
  background: rgba(240, 154, 154, 0.055);
}
.warn-box b { display: block; margin-bottom: 6px; font-size: 12.5px; color: #f6bcbc; letter-spacing: 0.06em; }
.warn-box p { margin: 0; font-size: 12.5px; line-height: 1.9; color: #cbb0b0; }
.phases { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.phase {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(9, 15, 24, 0.45);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.phase:has(.phase-head[aria-expanded="true"]) { border-color: rgba(82, 210, 255, 0.28); }
.phase-head {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: 0;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.phase-no { font-family: var(--mono); font-size: 12px; color: #5f86a3; letter-spacing: 0.08em; }
.phase-title { font-size: 15px; font-weight: 600; }
.phase-toggle { position: relative; width: 12px; height: 12px; justify-self: end; }
.phase-toggle::before, .phase-toggle::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: #7d9ab4;
  transform: translate(-50%, -50%);
}
.phase-toggle::before { width: 12px; height: 1px; }
.phase-toggle::after { width: 1px; height: 12px; transition: transform 0.25s var(--ease); }
.phase-head[aria-expanded="true"] .phase-toggle::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.phase-head[aria-expanded="true"] .phase-toggle::before { background: var(--c-cyan); }
.phase-body { padding: 0 22px 22px 92px; }
.phase-goal { margin: 0 0 16px; font-size: 12.8px; line-height: 1.9; color: var(--muted); }
.phase-goal b, .phase-foot b {
  display: inline-block;
  margin-right: 10px;
  padding: 1px 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #83a8c2;
  font-weight: 400;
}
.phase-items { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 7px; }
.phase-items li { position: relative; padding-left: 16px; font-size: 12.6px; line-height: 1.8; color: var(--ink-2); }
.phase-items li::before { content: ""; position: absolute; left: 0; top: 10px; width: 5px; height: 5px; border: 1px solid #527c9a; border-radius: 50%; }
.phase-foot { display: grid; gap: 8px; padding-top: 14px; border-top: 1px dashed var(--line); }
.phase-foot p { margin: 0; font-size: 12px; line-height: 1.85; color: var(--muted); }

/* ---------- 06 材料库 ---------- */
.bom-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.search-input {
  flex: 1 1 260px;
  max-width: 380px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 15, 24, 0.6);
  color: var(--ink);
  font-size: 12.5px;
}
.search-input::placeholder { color: #5f7488; }
.search-input:focus { outline: none; border-color: rgba(82, 210, 255, 0.5); }
.cat-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-chip {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 15, 24, 0.4);
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
  transition: all 0.22s var(--ease);
}
.cat-chip:hover { color: var(--ink); border-color: var(--line-strong); }
.cat-chip.is-on { color: #eaf8ff; border-color: rgba(82, 210, 255, 0.5); background: rgba(82, 210, 255, 0.1); }
.bom-count { margin-left: auto; font-family: var(--mono); font-size: 10px; color: #5f7488; letter-spacing: 0.06em; }
.bom-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bom-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(160deg, rgba(16, 28, 44, 0.55), rgba(8, 13, 21, 0.45));
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.bom-card:hover { border-color: rgba(82, 210, 255, 0.4); transform: translateY(-2px); }
.bom-card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.bom-cat { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.08em; color: #6f8faa; }
.bom-card__name { font-size: 13.2px; font-weight: 600; color: #eaf5ff; line-height: 1.5; }
.bom-card__fn { font-size: 11.5px; line-height: 1.8; color: var(--muted); flex: 1; }
.bom-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 9px; border-top: 1px dashed var(--line); font-family: var(--mono); font-size: 10.5px; color: #9cc6e2; }
.bom-more { color: var(--c-cyan); }
.bom-empty { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--muted); font-size: 13px; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__scrim { position: absolute; inset: 0; background: rgba(3, 6, 10, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal__dialog {
  position: relative;
  width: min(680px, 100%);
  max-height: 84vh;
  overflow: auto;
  padding: 30px;
  background: var(--glass-strong);
  border-radius: var(--r-lg);
  animation: modalIn 0.28s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(0.99); } }
.modal__close {
  position: absolute;
  top: 12px; right: 14px;
  width: 32px; height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(9, 15, 24, 0.6);
  color: var(--muted);
  cursor: pointer;
}
.modal__close:hover { color: var(--ink); border-color: var(--line-strong); }
#bomModalBody h3 { margin: 0 40px 6px 0; font-size: 21px; color: #f2f9ff; }
#bomModalBody .bom-modal-cat { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: #6f94b0; }
#bomModalBody dl { margin: 22px 0 0; display: grid; gap: 14px; }
#bomModalBody dt { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: #6f8ca4; }
#bomModalBody dd { margin: 3px 0 0; font-size: 13px; line-height: 1.9; color: var(--ink-2); }
#bomModalBody .bom-price { font-family: var(--mono); color: var(--c-cyan); }

/* ---------- 07 代码 ---------- */
.code-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.code-tab {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 15, 24, 0.45);
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}
.code-tab.is-on { color: #eaf8ff; border-color: rgba(82, 210, 255, 0.45); background: rgba(82, 210, 255, 0.08); }
.code-pane[hidden] { display: none; }
.warn-inline {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-left: 2px solid rgba(244, 201, 122, 0.6);
  background: rgba(244, 201, 122, 0.05);
  font-size: 11.5px;
  line-height: 1.8;
  color: #cbb894;
}
.code-block { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #070b12; }
.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: #6f8ca4;
}
.copy-btn {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  cursor: pointer;
}
.copy-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.code-block pre { margin: 0; padding: 18px; overflow-x: auto; }
.code-block code { font-family: var(--mono); font-size: 11.5px; line-height: 1.85; color: #c5dbf0; white-space: pre; }
.demo-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 18px; }
.demo-stage { padding: 16px; }
.demo-stage canvas { width: 100%; height: 300px; border-radius: 10px; background: #05080d; }
.demo-controls { display: flex; gap: 8px; margin-top: 12px; }
.demo-side { padding: 6px 4px; }
.demo-side > p { margin: 0 0 16px; font-size: 12.5px; line-height: 1.95; color: var(--muted); }

/* ---------- 08 实验室 ---------- */
.zone-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.zone-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(155deg, rgba(17, 30, 46, 0.55), rgba(8, 13, 21, 0.4));
}
.zone-card h3 { margin: 0 0 9px; font-size: 14px; color: #e9f4ff; }
.zone-card p { margin: 0 0 12px; font-size: 12px; line-height: 1.85; color: var(--muted); }
.lab-cols { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 30px; align-items: start; }
.people-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.people-list li { padding: 15px 0; border-bottom: 1px dashed var(--line); font-size: 12.5px; line-height: 1.85; color: var(--muted); }
.people-list li b { display: inline-block; margin-right: 10px; color: #dcecf9; font-weight: 600; }
.people-list li .c-tag { margin-left: 8px; }
.compliance { padding: 26px; }
.compliance h3 { margin: 0 0 14px; font-size: 14px; color: #eaf5ff; }
.compliance ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.compliance li { position: relative; padding-left: 20px; font-size: 12.3px; line-height: 1.85; color: var(--muted); }
.compliance li::before { content: "✓"; position: absolute; left: 0; color: var(--c-mint); font-size: 11px; }

/* ---------- 09 研发 ---------- */
.tier-list { display: grid; gap: 16px; }
.tier-card {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(155deg, rgba(17, 30, 46, 0.5), rgba(8, 13, 21, 0.4));
}
.tier-card.is-featured { border-color: rgba(82, 210, 255, 0.32); background: linear-gradient(155deg, rgba(22, 46, 70, 0.6), rgba(8, 14, 23, 0.5)); }
.tier-head { display: flex; gap: 16px; align-items: flex-start; }
.tier-key {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border: 1px solid rgba(82, 210, 255, 0.4);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 17px;
  color: var(--c-cyan);
  background: rgba(82, 210, 255, 0.06);
}
.tier-head h3 { margin: 0 0 3px; font-size: 19px; color: #f0f9ff; letter-spacing: -0.01em; }
.tier-tag { margin: 0; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: #6f94b0; }
.tier-desc { margin: 14px 0 0; font-size: 13px; line-height: 1.95; color: var(--muted); }
.tier-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 22px; }
.tier-grid h4, .tier-valid h4 { margin: 0 0 8px; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #6f8ca4; }
.tier-grid ul, .tier-valid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 5px; }
.tier-grid li, .tier-valid li { position: relative; padding-left: 12px; font-size: 11.8px; line-height: 1.8; color: var(--muted); }
.tier-grid li::before, .tier-valid li::before { content: ""; position: absolute; left: 0; top: 8px; width: 4px; height: 4px; border-radius: 50%; background: #527c9a; }
.tier-meta { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 22px; padding: 14px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.tier-meta p { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.tier-meta span { font-size: 10px; letter-spacing: 0.12em; color: #6f8ca4; }
.tier-meta b { font-family: var(--mono); font-size: 15px; font-weight: 500; color: #d9efff; }
.tier-valid { margin-top: 16px; }
.not-real { margin: 14px 0 0; font-size: 11px; color: #d8a87f; }

/* ---------- 10 应用 ---------- */
.use-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.use-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(9, 15, 24, 0.42); }
.use-top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.use-m { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; color: #6f8ca4; }
.use-card h3 { margin: 0 0 8px; font-size: 14px; color: #e9f4ff; }
.use-card p { margin: 0; font-size: 12.2px; line-height: 1.85; color: var(--muted); }

/* ---------- 11 预算 ---------- */
.calc { padding: clamp(18px, 2.6vw, 28px); }
.calc-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 16px; }
.preset-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.preset-group .panel-label { margin: 0 6px 0 0; }
.preset-btn {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(9, 15, 24, 0.45);
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
}
.preset-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.preset-btn.is-on { color: #eaf8ff; border-color: rgba(82, 210, 255, 0.45); background: rgba(82, 210, 255, 0.08); }
.calc-cur, .calc-rate { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; color: var(--dim); }
.calc-cur select, .calc-rate input {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(9, 15, 24, 0.7);
  color: var(--ink-2);
  font-size: 11.5px;
}
.calc-rate input { width: 74px; }
.calc-table { min-width: 720px; }
.calc-table th.num, .calc-table td.num { text-align: right; }
.calc-table td { font-size: 12px; }
.calc-table .qty-input, .calc-table .price-input {
  width: 86px;
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(5, 9, 14, 0.7);
  color: #d9efff;
  font-family: var(--mono);
  font-size: 11.5px;
  text-align: right;
}
.calc-table .qty-input { width: 62px; }
.calc-table input:focus { outline: none; border-color: rgba(82, 210, 255, 0.5); }
.calc-table .stage-cell { color: #8fb4cf; font-size: 10.5px; white-space: nowrap; }
.calc-table .basis-cell { color: #6f8498; font-size: 10.5px; }
.calc-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 20px; }
.calc-stages { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-stage {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(9, 15, 24, 0.4);
  font-size: 10.5px;
  color: var(--muted);
}
.calc-stage b { display: block; margin-top: 2px; font-family: var(--mono); font-size: 12px; font-weight: 500; color: #cfe7f9; }
.calc-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; margin-left: auto; }
.calc-total span:first-child { font-size: 11px; letter-spacing: 0.1em; color: var(--dim); }
.calc-total b { font-family: var(--mono); font-size: clamp(22px, 2.6vw, 30px); font-weight: 500; color: var(--c-cyan); letter-spacing: -0.02em; }
.calc-total .calc-usd { font-family: var(--mono); font-size: 12px; color: #7f9cb8; }
.calc-actions { display: flex; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.diff-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.diff-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(9, 15, 24, 0.4); }
.diff-card h4 { margin: 0 0 8px; font-size: 13px; color: #e6f2fc; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.diff-card p { margin: 0; font-size: 12px; line-height: 1.85; color: var(--muted); }

/* ---------- 12 资料库 ---------- */
.ref-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.ref-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}
.ref-type {
  display: inline-block;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #6f94b0;
}
.ref-item h3 { margin: 0 0 6px; font-size: 15px; line-height: 1.55; color: #e9f4ff; }
.ref-item h3 a { transition: color 0.22s var(--ease); }
.ref-item h3 a:hover { color: var(--c-cyan); }
.ref-meta { margin: 0 0 8px; font-size: 11px; color: #6f8498; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ref-abs { margin: 0 0 10px; font-size: 12.3px; line-height: 1.9; color: var(--muted); }
.ref-link { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; color: #8fc6e6; border-bottom: 1px solid rgba(143, 198, 230, 0.3); }
.ref-link:hover { color: var(--c-cyan); }
.save-btn {
  align-self: start;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--dim);
  font-size: 10.5px;
  cursor: pointer;
  white-space: nowrap;
}
.save-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.save-btn[aria-pressed="true"] { color: var(--c-cyan); border-color: rgba(82, 210, 255, 0.45); background: rgba(82, 210, 255, 0.08); }
.bookmark-empty { margin: 22px 0 0; padding: 22px; border: 1px dashed var(--line); border-radius: 10px; font-size: 12px; color: var(--muted); text-align: center; }
.term-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.term-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(9, 15, 24, 0.4);
}
.term-item h3 { margin: 0 0 4px; font-family: var(--mono); font-size: 13px; font-weight: 500; color: #dff2ff; letter-spacing: 0.01em; }
.term-cat { margin: 0 0 7px !important; font-size: 9.5px !important; color: #6f8498 !important; display: flex; gap: 8px; align-items: center; }
.term-item p { margin: 0; font-size: 12px; line-height: 1.85; color: var(--muted); }
.faq-list { display: grid; gap: 8px; margin-top: 20px; }
.faq { border: 1px solid var(--line); border-radius: 10px; background: rgba(9, 15, 24, 0.4); overflow: hidden; }
.faq summary {
  padding: 16px 20px;
  cursor: pointer;
  font-size: 13.5px;
  color: #e6f2fc;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: #6f94b0; }
.faq[open] summary::after { content: "−"; color: var(--c-cyan); }
.faq p { margin: 0; padding: 0 20px 18px; font-size: 12.5px; line-height: 1.95; color: var(--muted); }

/* ---------- 页脚补充 ---------- */
.footer__privacy { margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 10.5px; line-height: 1.8; color: #5f7488; }
.footer__mark svg { width: 34px; height: 34px; }

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 42px; height: 42px;
  border: 1px solid rgba(148, 195, 235, 0.26);
  border-radius: 50%;
  background: rgba(10, 18, 29, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink-2);
  font-size: 15px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.25s var(--ease);
}
.back-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.back-top:hover { border-color: rgba(82, 210, 255, 0.5); color: var(--c-cyan); }

/* ---------- 入场 ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.82); }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1180px) {
  .cl1-hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .cl1-hero__visual { max-width: 640px; }
  .cl1-hero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-stat:nth-child(3n) { border-right: 0; }
  .hero-stat:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .bom-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .loop-layout { grid-template-columns: 220px minmax(0, 1fr); }
  .loop-side { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .td-layout { grid-template-columns: 1fr; }
  .td-side { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
  .td-parts { grid-column: 1 / -1; margin-bottom: 0; }
  .tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .page-cl1 .topbar__mail { display: none; }
  .page-cl1 .topbar__inner { gap: 18px; }
  .page-cl1 .topnav {
    min-width: 0;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }
  .page-cl1 .topnav::-webkit-scrollbar { display: none; }
  .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subsys-groups { grid-template-columns: 1fr; gap: 22px; }
  .zone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .use-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-layout { grid-template-columns: 1fr; }
  .term-list { grid-template-columns: 1fr; }
  .lab-cols { grid-template-columns: 1fr; }
  .prose-cols { grid-template-columns: 1fr; }
  .td-stage { height: 420px; }
}

@media (max-width: 760px) {
  body.page-cl1 { scroll-padding-top: 84px; }
  .cl1-hero { padding-top: 104px; }
  /* 窄屏隐藏页内锚点导航，首屏 mod-chips 已提供完整模块入口 */
  .page-cl1 .topnav { display: none; }
  .page-cl1 .lang-switch { margin-left: auto; }
  .cl1-hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stat:nth-child(3n) { border-right: 1px solid var(--line); }
  .hero-stat:nth-child(2n) { border-right: 0; }
  .hero-stat:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .bom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact-grid, .def-grid, .myth-grid, .zone-grid, .use-grid, .diff-grid, .tier-grid { grid-template-columns: 1fr; }
  .loop-layout { grid-template-columns: 1fr; }
  .loop-side { grid-template-columns: 1fr; }
  .td-side { grid-template-columns: 1fr; }
  .td-stage { height: 360px; }
  .td-layer--shell { width: 290px; height: 190px; margin-left: -145px; margin-top: -95px; }
  .td-layer--chamber { width: 260px; height: 165px; margin-left: -130px; margin-top: -82px; }
  .td-layer--mainboard { width: 250px; height: 155px; margin-left: -125px; margin-top: -77px; }
  .td-layer--mea { width: 235px; height: 140px; margin-left: -117px; margin-top: -70px; }
  .td-layer--thermal { width: 215px; height: 132px; margin-left: -107px; margin-top: -66px; }
  .td-layer--fluid { width: 200px; height: 120px; margin-left: -100px; margin-top: -60px; }
  .td-layer--gas { width: 185px; height: 115px; margin-left: -92px; margin-top: -57px; }
  .td-layer--power { width: 195px; height: 118px; margin-left: -97px; margin-top: -59px; }
  .td-layer--culture { width: 205px; height: 125px; margin-left: -102px; margin-top: -62px; }
  .td-layer--electrodes { width: 168px; height: 100px; margin-left: -84px; margin-top: -50px; }
  .td-layer--comm { width: 158px; height: 95px; margin-left: -79px; margin-top: -47px; }
  .phase-body { padding: 0 18px 20px 18px; }
  .phase-head { grid-template-columns: 42px minmax(0, 1fr) 20px; padding: 16px 18px; }
  .calc-foot { flex-direction: column; align-items: stretch; }
  .calc-total { margin-left: 0; }
  .ref-item { grid-template-columns: 1fr; }
  .save-btn { justify-self: start; }
  .bom-count { margin-left: 0; }
}

@media (max-width: 520px) {
  .cl1-hero { padding-left: 18px; padding-right: 18px; }
  .hero-title { font-size: clamp(34px, 10vw, 46px); }
  .hero-title span { font-size: 15px; letter-spacing: 0.08em; }
  .hero-cn { letter-spacing: 0.16em; }
  .bom-grid { grid-template-columns: 1fr; }
  .td-stage { height: 300px; }
  .td-layer--shell { width: 220px; height: 145px; margin-left: -110px; margin-top: -72px; }
  .td-layer--chamber { width: 200px; height: 128px; margin-left: -100px; margin-top: -64px; }
  .td-layer--mainboard { width: 190px; height: 120px; margin-left: -95px; margin-top: -60px; }
  .td-layer--mea { width: 175px; height: 110px; margin-left: -87px; margin-top: -55px; }
  .td-layer--thermal { width: 165px; height: 104px; margin-left: -82px; margin-top: -52px; }
  .td-layer--fluid { width: 155px; height: 98px; margin-left: -77px; margin-top: -49px; }
  .td-layer--gas { width: 145px; height: 92px; margin-left: -72px; margin-top: -46px; }
  .td-layer--power { width: 150px; height: 94px; margin-left: -75px; margin-top: -47px; }
  .td-layer--culture { width: 158px; height: 100px; margin-left: -79px; margin-top: -50px; }
  .td-layer--electrodes { width: 132px; height: 84px; margin-left: -66px; margin-top: -42px; }
  .td-layer--comm { width: 124px; height: 78px; margin-left: -62px; margin-top: -39px; }
  .td-label { display: none; }
  .loop-canvas-wrap canvas { height: 240px; }
  .demo-stage canvas { height: 240px; }
  .tier-meta { gap: 18px; }
  .calc-table .qty-input { width: 52px; }
  .calc-table .price-input { width: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}
