/* ============================================================
   VPN-LG · nodes.css(线路列表页专属样式)
   只引用 base.css 的 :root 设计令牌,不新增硬编码颜色。
   ============================================================ */

/* ---------- 页头 ---------- */
.page-head{
  position:relative;
  padding-top:48px;
  padding-bottom:8px;
  text-align:center;
}
.nodes-decor{
  position:absolute;
  left:0;right:0;top:-140px;
  height:420px;
  overflow-x:clip;
  max-width:100%;
  pointer-events:none;
  z-index:0;
}
.nodes-glow{
  position:absolute;
  left:0;right:0;top:0;
  height:340px;
  width:min(720px,90vw);
  margin:0 auto;
  border-radius:50%;
  background:radial-gradient(48% 58% at 50% 32%,var(--accent-10) 0%,var(--accent-06) 44%,transparent 74%);
}
.page-head > *:not(.nodes-decor){position:relative;z-index:1}
.page-head h1{max-width:22ch;margin-inline:auto}
.page-head .lede{margin:14px auto 0;max-width:700px}
.page-head .fact-row{justify-content:center;margin-top:18px}
.page-head .cta-row{margin-top:22px}

/* ---------- 地区徽章墙 ---------- */
.region-badges{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  margin-top:22px;
}
.region-badges li{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:32px;
  padding:0 12px;
  border-radius:var(--r-pill);
  background:var(--bg-panel);
  box-shadow:var(--shadow-card);
  font-size:12.5px;
  color:var(--text-muted);
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.region-badges .flag{width:16px;height:16px}

/* ---------- 分区标题(左对齐) ---------- */
.nodes-head{max-width:740px;margin-bottom:20px}
.nodes-head h2 + p{margin-top:12px}

/* ---------- 地区分组与表格 ---------- */
.region-block + .region-block{margin-top:34px}
.region-head{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:12px;
}
.region-head h3{font-size:19px}
.region-head .region-note{font-size:13px;color:var(--text-muted)}
.table-note{
  margin-top:14px;
  font-size:12.5px;
  line-height:1.75;
  color:var(--text-muted);
}
.region-block + .table-note{margin-top:26px}

/* ---------- 线路类型卡 ---------- */
.type-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.type-card{
  display:flex;
  flex-direction:column;
  gap:10px;
  background:var(--bg-panel);
  border-radius:var(--r);
  box-shadow:var(--shadow-card);
  padding:24px 22px;
  min-width:0;
}
.type-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:2px;
}
.type-card h3{font-size:19px}
.type-cost{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:0 10px;
  border-radius:var(--r-pill);
  font-size:11.5px;
  font-weight:700;
  white-space:nowrap;
  flex:none;
}
.cost-high{background:var(--accent-12);color:var(--accent-dark)}
.cost-mid{background:var(--success-18);color:var(--success)}
.cost-low{background:var(--bg-panel2);color:var(--text-muted)}
.type-row{
  display:flex;
  gap:10px;
  font-size:13.5px;
  line-height:1.72;
  color:var(--text-muted);
}
.type-row .k{
  flex:none;
  min-width:56px;
  font-weight:700;
  color:var(--text);
}

/* ---------- 选线建议 ---------- */
.pick-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.pick-card{
  display:flex;
  flex-direction:column;
  gap:10px;
  background:var(--bg-panel);
  border-radius:var(--r);
  box-shadow:var(--shadow-card);
  padding:20px;
  min-width:0;
}
.pick-card h3{font-size:17px}
.pick-card .row{gap:8px}
.pick-card p{font-size:13.5px;line-height:1.78;color:var(--text-muted)}

/* ---------- 覆盖范围卡 ---------- */
#coverage .card .row{gap:10px}
#coverage .chip{white-space:normal;height:auto;padding:8px 14px;line-height:1.5;align-items:flex-start}
#coverage .table-note{margin-top:16px}

/* ---------- 收尾 ---------- */
.nodes-cta .card{padding:32px 24px}
.nodes-cta .cta-row{margin-top:20px}

/* ---------- 断点 ---------- */
@media (max-width:900px){
  .type-grid{grid-template-columns:1fr}
  .pick-grid{grid-template-columns:1fr}
}
@media (max-width:768px){
  .page-head{padding-top:34px}
  .region-head h3{font-size:17px}
}
@media (max-width:640px){
  .page-head{padding-top:26px}
  .type-row{flex-direction:column;gap:2px}
  .type-row .k{min-width:0}
  .nodes-cta .card{padding:22px 18px}
}