/* =========================================================================
   VPNWu — home.css
   首页专属：核心卖点面板 / 节点说明 / 线路状态容器 / 流量包 / 装饰线
   ========================================================================= */

/* ------------------------------------------------------------ 隐藏的旗帜精灵 */
.svg-sprite{
  position:absolute;
  width:0;
  height:0;
  overflow:hidden;
  pointer-events:none;
}

/* ------------------------------------------------------------ 核心卖点面板 */
.feature-panel .feature-body[hidden]{display:none}
.feature-panel .dark-note{top:18px;right:24px}

.feature-foot{
  max-width:760px;
  margin-top:24px;
  display:grid;
  gap:10px;
}
.feature-foot p{font-size:15.5px;line-height:1.8;color:var(--muted)}
.feature-foot strong{color:var(--ink);font-weight:650}

/* ------------------------------------------------------------------ 节点区 */
.topo-line{
  display:block;
  width:min(340px,100%);
  height:auto;
  margin:0 0 18px;
  opacity:.9;
}

.node-notes{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:22px;
}
.node-notes .card{padding:20px}
.node-notes .card h3{font-size:16px}
.node-notes .card p{margin-top:8px;font-size:14.5px;line-height:1.75;color:var(--muted)}
.node-notes .card p + p{margin-top:8px}

/* -------------------------------------------------------------- 线路状态容器 */
.server-status-block{
  margin-top:26px;
  padding:18px 20px 10px;
  background:var(--bg-panel);
  border:1px solid var(--border);
  border-radius:var(--r-md);
  box-shadow:var(--shadow-card);
  overflow:hidden;
}
.server-status-head{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}
.server-status-head h3{font-size:16px}
.server-status-note{
  margin-top:6px;
  font-size:13px;
  line-height:1.65;
  color:var(--muted);
}

#server-status.server-status{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 24px;
  margin:10px 0 0;
  overflow:hidden;
  max-width:100%;
}
#server-status.server-status:empty{display:none}

.server-status .srv-row{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
  min-height:40px;
  padding:8px 0;
  border-bottom:1px solid var(--border-soft);
  font-size:13.5px;
  color:var(--ink);
}
.server-status .srv-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  flex:none;
  background:var(--success);
  box-shadow:0 0 0 3px var(--success-wash);
  animation:dot-breathe 2.6s ease-in-out infinite;
}
.server-status .srv-flag{
  width:20px;
  height:14px;
  flex:none;
  overflow:hidden;
  line-height:0;
  border:1px solid var(--border);
  border-radius:2px;
}
.server-status .srv-flag svg,
.server-status .srv-flag img{
  display:block;
  width:100%;
  height:100%;
}
.server-status .srv-name{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.server-status .srv-type{
  flex:none;
  display:inline-flex;
  align-items:center;
  height:18px;
  padding:0 7px;
  border-radius:var(--r-pill);
  font-size:10.5px;
  font-weight:600;
  letter-spacing:.02em;
  color:var(--accent-dark);
  background:var(--accent-wash);
}
.server-status .srv-ms{
  margin-left:auto;
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--muted);
}
.server-status .srv-bw{
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--muted);
  min-width:66px;
  text-align:right;
}

/* ------------------------------------------------------------------ 流量包 */
.pack-block{margin-top:28px}
.pack-title{font-size:17px;line-height:1.4}
.pack-note{
  margin-top:10px;
  font-size:13.5px;
  line-height:1.7;
  color:var(--muted);
}

/* ------------------------------------------------------------------ 响应式 */
@media (max-width:980px){
  .node-notes{grid-template-columns:minmax(0,1fr)}
  #server-status.server-status{grid-template-columns:minmax(0,1fr)}
}

@media (max-width:640px){
  .server-status-block{padding:16px 16px 8px}
  .server-status .srv-bw{min-width:56px}
  .feature-foot p{font-size:15px}
}