/* =============================================================
   VPNEM —— nodes.css
   线路页(zh-CN/nodes.html)专属样式:
   首屏线路拓扑装饰 / 三类线路卡 / 覆盖范围面板 / 页内小节奏
   所有颜色与圆角引用 :root 设计令牌,不新增硬编码色值
   ============================================================= */

/* =============================================================
   1. 首屏:左文案 + 右线路拓扑装饰
   ============================================================= */
.nodes-hero{
  padding-top:44px;
  padding-bottom:44px;
}
.nodes-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,0.86fr);
  gap:56px;
  align-items:center;
}
.nodes-hero-art{
  display:flex;
  justify-content:center;
  min-width:0;
}
.route-art{
  width:100%;
  max-width:520px;
  height:auto;
}

/* 拓扑线条与节点(纯装饰,配合 motion.js 的 draw-lines 描线) */
.ra-path{
  fill:none;
  stroke-width:1.7;
  stroke-linecap:round;
}
.ra-a{stroke:var(--accent)}
.ra-b{stroke:var(--relay)}
.ra-c{
  stroke:var(--accent-2);
  opacity:.55;
}
.ra-node{
  fill:var(--white);
  stroke-width:2;
}
.ra-node-a{stroke:var(--accent)}
.ra-node-b{stroke:var(--relay)}
.ra-core{
  fill:var(--bg-panel2);
  stroke:var(--border);
  stroke-width:1.4;
}
.ra-dot{fill:var(--accent)}

/* =============================================================
   2. 表格后的说明块
   ============================================================= */
.nodes-callout{margin-top:26px}

/* =============================================================
   3. 三类线路卡
   ============================================================= */
.lt-lead{
  max-width:80ch;
  margin:0 auto 26px;
  text-align:center;
  font-size:16px;
  line-height:1.72;
  color:var(--muted);
}
.lt-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(272px,1fr));
  gap:20px;
  align-items:stretch;
}
.lt-card{
  display:flex;
  flex-direction:column;
  padding:24px 22px;
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--r-md);
  box-shadow:0 10px 26px var(--tint-ink-04);
}
.lt-head{
  display:flex;
  align-items:center;
  gap:10px;
}
.lt-head .sched-key{margin-top:0}
.lt-name{
  font-size:16px;
  font-weight:700;
}
.lt-en{
  margin-left:auto;
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:.06em;
  color:var(--muted);
}
.lt-card h3{
  margin-top:14px;
  font-size:19px;
  line-height:1.35;
}
.lt-card p{
  margin-top:10px;
  font-size:15.5px;
  line-height:1.72;
  color:var(--muted);
}
.lt-facts{
  margin-top:16px;
  padding-top:14px;
  border-top:1px dashed var(--border);
  display:flex;
  flex-direction:column;
  gap:12px;
}
.lt-facts dt{
  font-size:11.5px;
  font-weight:700;
  letter-spacing:.06em;
  color:var(--muted);
}
.lt-facts dd{
  margin-top:4px;
  font-size:14.5px;
  line-height:1.68;
  color:var(--text);
}

/* =============================================================
   4. 对照表与收尾说明 / 正文内链
   ============================================================= */
.nodes-table{margin-top:28px}
.lt-tail{
  margin-top:22px;
  max-width:88ch;
  font-size:15.5px;
  line-height:1.72;
  color:var(--muted);
}
.t-link{
  color:var(--accent);
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:2px;
}
.t-link:hover{color:var(--accent-dark)}

/* =============================================================
   5. 覆盖范围面板
   ============================================================= */
.cover-panel{
  display:flex;
  flex-direction:column;
  gap:18px;
  align-items:flex-start;
  padding:28px;
  background:var(--bg-panel);
  border:1px solid var(--border);
  border-radius:var(--r-lg);
  box-shadow:0 12px 28px var(--tint-ink-04);
}
.cover-lead{
  max-width:82ch;
  font-size:16px;
  line-height:1.75;
  color:var(--muted);
}
.cover-note{
  width:100%;
  padding-top:16px;
  border-top:1px solid var(--border);
  font-family:var(--font-mono);
  font-size:12.5px;
  line-height:1.65;
  color:var(--muted);
}

/* =============================================================
   6. 响应式
   ============================================================= */
@media (max-width:960px){
  .nodes-hero{
    padding-top:36px;
    padding-bottom:36px;
  }
  .nodes-hero-grid{
    grid-template-columns:minmax(0,1fr);
    gap:36px;
  }
  .nodes-hero-art{
    max-width:520px;
    margin-inline:auto;
  }
  .lt-lead{text-align:left}
}
@media (max-width:640px){
  .lt-card{padding:20px 18px}
  .lt-facts dd{font-size:14px}
  .cover-panel{
    padding:20px 18px;
    gap:14px;
  }
  .route-art{max-width:100%}
}