/* ==========================================================================
   VPNDT · nodes.css — 服务器节点页专属样式
   仅本页使用;颜色/圆角/阴影一律引用 base.css 的设计令牌
   ========================================================================== */

/* ---------- 页首 ---------- */
.nodes-hero{
  position:relative;
  overflow-x:clip;
  max-width:100%;
  padding-top:34px;
  padding-bottom:6px;
  background:linear-gradient(180deg,var(--accent-05) 0%,transparent 68%),var(--bg);
}
.nodes-hero__in{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.nodes-hero h1{
  font-family:var(--font-display);
  font-size:clamp(30- px,4.4vw,54px);
  line-height:1.1;
  letter-spacing:-.02em;
  color:var(--text);
  margin-bottom:12px;
  max-width:20ch;
}
.nodes-hero__sub{
  font-size:16.5px;
  line-height:1.72;
  color:var(--muted);
  max-width:720px;
  margin-bottom:18px;
}
.nodes-hero__sub strong{color:var(--text);font-weight:600}

/* 地区徽章墙(纯装饰) */
.region-wall{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  margin-top:22px;
  max-width:780px;
}
.region-chip{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:28px;
  padding:0 12px;
  border-radius:var(--r-pill);
  background:var(--bg-panel);
  border:1px solid var(--border);
  box-shadow:inset 0 1px 0 var(--hilite);
  font-size:12.5px;
  color:var(--muted);
  white-space:nowrap;
  max-width:100%;
  overflow:hidden;
}
.region-chip i{
  width:6px;
  height:6px;
  border-radius:50%;
  flex:none;
  background:var(--mist);
}
.region-chip:nth-child(3n+2) i{background:var(--apricot)}
.region-chip:nth-child(3n) i{background:var(--coral)}

/* 装饰性线路拓扑描线 */
.route-art{
  display:block;
  width:100%;
  max-width:900px;
  height:auto;
  margin:26px auto 0;
}
.route-art__line{
  fill:none;
  stroke:var(--accent);
  stroke-width:2;
  stroke-linecap:round;
  opacity:.42;
}
.route-art__node{
  fill:var(--bg-panel);
  stroke:var(--accent);
  stroke-width:2;
}

/* ---------- 正文容器 ---------- */
.nodes-body{
  padding-top:24px;
  padding-bottom:0;
}
.nodes-sec{
  padding-top:44px;
  padding-bottom:44px;
  min-width:0;
}
.nodes-intro{margin-bottom:24px}
.nodes-intro p{color:var(--muted);font-size:15px}
.nodes-intro strong{color:var(--text);font-weight:600}
.nodes-note{
  margin-top:14px;
  font-size:13px;
  color:var(--muted);
}

/* 表格里并排的流媒体标签 */
.data-table td .pill + .pill{margin-left:5px}

/* ---------- 线路类型卡 ---------- */
.line-type-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.line-type{
  display:flex;
  flex-direction:column;
  gap:12px;
  min-width:0;
  background:var(--bg-panel);
  border:1px solid var(--border);
  border-radius:var(--r-panel);
  box-shadow:var(--shadow-card);
  padding:24px 22px;
}
.line-type__art{
  width:100%;
  height:78px;
  border-radius:var(--r-sm);
  background:var(--bg-panel2);
  border:1px solid var(--border);
  display:grid;
  place-items:center;
  overflow:hidden;
}
.line-type__art svg{
  width:78%;
  height:auto;
  max-height:58px;
  color:var(--accent);
}
.line-type__hd{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.line-type__name{
  font-family:var(--font-display);
  font-size:21px;
  font-weight:600;
  letter-spacing:-.01em;
  color:var(--text);
}
.line-type p{
  font-size:14px;
  line-height:1.74;
  color:var(--muted);
}
.line-type__use{
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:13.5px;
  margin-top:2px;
}
.line-type__use li{
  display:flex;
  align-items:flex-start;
  gap:8px;
  color:var(--text);
}
.line-type__use svg{
  width:14px;
  height:14px;
  color:var(--accent);
  flex:none;
  margin-top:3px;
}
.line-type__cost{
  margin-top:auto;
  padding-top:12px;
  border-top:1px dashed var(--border);
  font-size:12.5px;
  color:var(--muted);
}

/* ---------- 选线建议卡 ---------- */
.pick-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(232px,1fr));
  gap:16px;
}
.pick-card{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width:0;
  background:var(--bg-panel);
  border:1px solid var(--border);
  border-radius:var(--r-card);
  box-shadow:var(--shadow-card);
  padding:22px 20px 20px;
}
.pick-card::before{
  content:"";
  display:block;
  width:34px;
  height:3px;
  border-radius:2px;
  background:var(--accent);
  margin-bottom:2px;
}
.pick-card:nth-child(5n+2)::before{background:var(--apricot)}
.pick-card:nth-child(5n+3)::before{background:var(--coral)}
.pick-card:nth-child(5n+4)::before{background:var(--mist)}
.pick-card:nth-child(5n+5)::before{background:var(--accent-dark)}
.pick-card__use{
  font-family:var(--font-display);
  font-size:18px;
  font-weight:600;
  color:var(--text);
}
.pick-card__rec{
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-size:12.5px;
  font-weight:600;
  color:var(--accent);
}
.pick-card p{
  font-size:13.5px;
  line-height:1.72;
  color:var(--muted);
}

/* ---------- 命名规则 ---------- */
.naming-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:16px;
}
.naming-item{
  min-width:0;
  background:var(--bg-panel2);
  border:1px solid var(--border);
  border-radius:var(--r-card);
  padding:16px 18px;
}
.naming-item__ex{
  font-family:var(--font-mono);
  font-size:13px;
  color:var(--accent-dark);
  margin-bottom:8px;
  overflow-wrap:anywhere;
}
.naming-item p{
  font-size:13.5px;
  line-height:1.7;
  color:var(--muted);
}

/* ---------- 响应 ---------- */
@media (max-width:900px){
  .nodes-hero{padding-top:26px}
  .line-type-grid{grid-template-columns:1fr}
  .nodes-sec{padding-top:38px;padding-bottom:38px}
}
@media (max-width:640px){
  .nodes-hero h1{font-size:clamp(26px,7.4vw,36px)}
  .nodes-hero__sub{font-size:15px}
  .route-art{margin-top:18px}
  .region-wall{margin-top:18px}
  .pick-card{padding:18px 16px}
}