/* ==========================================================================
   VPNVan · iplookup.css
   网络检测页专属样式:检测结果卡、结果解读卡、自查步骤与隐私提示。
   颜色、圆角、字体一律引用 base.css 的 :root 令牌。
   ========================================================================== */

/* ---------- 首屏工具卡 ---------- */

.ipx-hero{padding-bottom:var(--space-7)}

.ipx-tool{
  width:100%;
  max-width:860px;
  margin:var(--space-6) auto 0;
  text-align:left;
}

.ipx-panel-head{justify-content:space-between}
.ipx-panel-head .badge{margin-left:auto;flex:none}

.ipx-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin:0;
}

.ipx-field{
  min-width:0;
  padding:13px 16px 15px;
  border-radius:var(--radius-md);
  border:1px solid var(--border-soft);
  background:var(--bg-panel-tint);
  box-shadow:var(--shadow-hair);
}

.ipx-field--wide{grid-column:1 / -1}

.ipx-field dt{
  margin:0 0 7px;
  font-family:var(--font-mono);
  font-size:10.5px;
  font-weight:600;
  letter-spacing:.12em;
  color:var(--text-muted);
}

.ipx-field dd{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin:0;
  min-width:0;
}

.ipx-value{
  display:inline-block;
  min-width:0;
  max-width:100%;
  font-family:var(--font-mono);
  font-size:clamp(15px,1.7vw,19px);
  font-weight:600;
  letter-spacing:-.01em;
  line-height:1.4;
  color:var(--text);
  overflow-wrap:anywhere;
  word-break:break-word;
}

.ipx-field--wide .ipx-value{font-size:clamp(17px,2vw,22px)}

.ipx-copy{flex:none;margin-left:auto}

.ipx-status{
  margin:var(--space-4) 0 0;
  padding:11px 14px;
  border-radius:var(--radius-sm);
  border:1px solid var(--border-soft);
  border-left:3px solid var(--border-strong);
  background:var(--bg-panel-2);
  font-size:13px;
  line-height:1.65;
  color:var(--text);
}

.ipx-status.is-ok{
  border-left-color:var(--success);
  background:var(--tint-success);
}

.ipx-status.is-error{
  border-left-color:var(--warn);
  background:var(--tint-warn);
}

.ipx-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  margin-top:var(--space-4);
}

.ipx-stamp{
  font-family:var(--font-mono);
  font-size:11.5px;
  letter-spacing:.02em;
  color:var(--text-faint);
}

.ipx-after{
  max-width:640px;
  margin:var(--space-4) 0 0;
  font-size:12.5px;
  line-height:1.7;
  color:var(--text-muted);
  text-align:center;
}

/* ---------- 区块标题 ---------- */

.ipx-head{max-width:720px}
.ipx-head h2{margin:0}

.ipx-lead{
  margin:10px 0 0;
  font-size:15.5px;
  line-height:1.75;
  color:var(--text-muted);
}

/* ---------- 结果解读卡 ---------- */

.ipx-notes{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:var(--space-6);
}

.ipx-note{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
  padding:22px;
  border-radius:var(--radius-lg);
  border:1px solid var(--border);
  background:var(--bg-panel);
  box-shadow:var(--shadow-card), var(--edge-light);
}

.ipx-note-kicker{
  margin:0;
  font-family:var(--font-mono);
  font-size:10.5px;
  font-weight:600;
  letter-spacing:.12em;
  color:var(--accent-dark);
}

.ipx-note h3{
  margin:0;
  font-size:17px;
  letter-spacing:-.01em;
}

.ipx-note p{
  margin:0;
  font-size:14px;
  line-height:1.75;
  color:var(--text-muted);
}

/* ---------- DNS 自查 ---------- */

.ipx-split{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);
  gap:var(--space-6);
  align-items:start;
}

.ipx-steps{
  counter-reset:ipx-step;
  display:flex;
  flex-direction:column;
  gap:16px;
  margin:var(--space-5) 0 0;
  padding:0;
  list-style:none;
}

.ipx-steps li{
  position:relative;
  min-width:0;
  padding-left:44px;
  font-size:15px;
  line-height:1.75;
  color:var(--text);
}

.ipx-steps li::before{
  counter-increment:ipx-step;
  content:counter(ipx-step);
  position:absolute;
  left:0;
  top:2px;
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:50%;
  border:1px solid var(--border);
  background:var(--bg-panel);
  box-shadow:var(--shadow-hair);
  font-family:var(--font-mono);
  font-size:12px;
  font-weight:700;
  color:var(--accent-dark);
}

.ipx-steps strong{
  font-weight:600;
  color:var(--text);
}

.ipx-combo{
  display:flex;
  flex-direction:column;
  gap:16px;
  margin:0;
  padding:0;
  list-style:none;
}

.ipx-combo li{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
  min-width:0;
}

.ipx-combo .badge{flex:none}

.ipx-combo p{
  margin:0;
  font-size:13.5px;
  line-height:1.7;
  color:var(--text-muted);
}

/* ---------- 隐私提示 ---------- */

.ipx-privacy{
  display:flex;
  gap:18px;
  align-items:flex-start;
  padding:24px 26px;
  border-radius:var(--radius-xl);
  border:1px solid var(--border);
  background:var(--grad-promo);
  box-shadow:var(--shadow-card);
}

.ipx-privacy-icon{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  flex:none;
  border-radius:var(--radius-md);
  border:1px solid var(--border);
  background:var(--bg-panel);
  color:var(--accent-dark);
  box-shadow:var(--shadow-hair);
}

.ipx-privacy-body{min-width:0}

.ipx-privacy h2{
  margin:0 0 8px;
  font-size:var(--fs-h3);
}

.ipx-privacy p{
  margin:0 0 8px;
  font-size:14.5px;
  line-height:1.8;
  color:var(--text-muted);
}

.ipx-privacy p:last-child{margin:0}

/* ---------- 断点 ---------- */

@media (max-width:980px){
  .ipx-split{grid-template-columns:minmax(0,1fr)}
}

@media (max-width:640px){
  .ipx-grid{grid-template-columns:minmax(0,1fr)}
  .ipx-notes{grid-template-columns:minmax(0,1fr)}
  .ipx-tool{margin-top:var(--space-5)}
  .ipx-note{padding:18px}
  .ipx-privacy{flex-direction:column;padding:20px}
  .ipx-actions .btn{width:100%}
  .ipx-stamp{width:100%}
  .ipx-steps li{font-size:14.5px;padding-left:40px}
}