/* ==========================================================================
   C6VPN · iplookup.css
   出口 IP 查询页专属样式:查询卡 / 结果解读卡 / 自查步骤 / 结尾链接块
   只引用 base.css 的令牌,不重复定义共享组件。
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 页首与查询卡
   -------------------------------------------------------------------------- */
.ip-hero{padding-block:44px 20px}
.ip-head{max-width:720px}
.ip-head h1{margin-top:14px}
.ip-head .sec-lead{margin-top:14px}

.ip-tool{
  margin-top:28px;
  padding:var(--sp-6);
  box-shadow:var(--shadow-card),inset 0 1px 0 var(--hl-1);
}
.ip-tool-top{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-bottom:16px;
  border-bottom:1px solid var(--border);
}
.ip-tool-name{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-width:0;
  font-family:var(--font-mono);
  font-size:10.5px;
  letter-spacing:.14em;
  color:var(--text-muted);
}
.ip-tool-dot{
  width:6px;
  height:6px;
  flex:none;
  border-radius:1px;
  background:var(--accent);
  box-shadow:0 0 0 3px var(--tint-accent);
}
.ip-tool .btn-secondary[disabled]{opacity:.55;cursor:not-allowed;transform:none}

.ip-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:18px;
}
.ip-field{
  min-width:0;
  padding:16px 18px;
  background:var(--bg-panel-2);
  border:1px solid var(--border);
  border-radius:var(--r-md);
  box-shadow:inset 0 1px 0 var(--hl-3);
}
.ip-key{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-family:var(--font-mono);
  font-size:10px;
  letter-spacing:.13em;
  color:var(--text-muted);
}
.ip-key i{width:5px;height:5px;flex:none;background:var(--candy-bar)}
.ip-val{
  margin-top:9px;
  font-family:var(--font-mono);
  font-size:20px;
  font-weight:500;
  line-height:1.35;
  letter-spacing:.01em;
  color:var(--text);
  overflow-wrap:anywhere;
  word-break:break-word;
}
.ip-val--body{
  font-family:var(--font-body);
  font-size:15.5px;
  font-weight:600;
  line-height:1.5;
  letter-spacing:0;
}
.ip-field[data-state="pending"] .ip-val{color:var(--text-muted);font-weight:500}
.ip-field[data-state="missing"] .ip-val{color:var(--text-muted)}

.ip-foot{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px 18px;
  margin-top:18px;
}
.ip-status{
  flex:1 1 240px;
  min-width:0;
  font-family:var(--font-mono);
  font-size:11.5px;
  line-height:1.7;
  letter-spacing:.02em;
  color:var(--text-muted);
}
.ip-status[data-tone="ok"]{color:var(--accent-dark)}
.ip-status[data-tone="err"]{color:var(--error)}

.ip-hint{
  margin-top:16px;
  max-width:760px;
  font-size:12.5px;
  line-height:1.75;
  color:var(--text-muted);
}
.ip-copy-sink{
  position:fixed;
  left:-9999px;
  top:0;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}

/* --------------------------------------------------------------------------
   2. 结果解读卡
   -------------------------------------------------------------------------- */
.ip-notes{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.ip-note{
  min-width:0;
  padding:24px;
  background:var(--bg-panel);
  border:1px solid var(--border);
  border-radius:var(--r-lg);
  box-shadow:inset 0 1px 0 var(--hl-1),var(--shadow-soft);
}
.ip-note-k{
  display:block;
  font-family:var(--font-mono);
  font-size:10px;
  letter-spacing:.14em;
  color:var(--accent-dark);
}
.ip-note h3{margin-top:8px;font-size:17px}
.ip-note p{
  margin-top:8px;
  font-size:13.8px;
  line-height:1.8;
  color:var(--text-muted);
}
.ip-note-flags{margin-top:14px}
.ip-note-cap{
  margin-top:10px;
  font-size:12px;
  line-height:1.6;
  color:var(--text-muted);
}

/* --------------------------------------------------------------------------
   3. 自查步骤
   -------------------------------------------------------------------------- */
.ip-steps li p{
  font-size:14px;
  line-height:1.8;
  color:var(--text-muted);
}
.ip-steps li p + p{margin-top:8px}
.ip-steps + .callout{margin-top:28px}

/* --------------------------------------------------------------------------
   4. 结尾链接块
   -------------------------------------------------------------------------- */
.ip-links{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:18px 28px;
}
.ip-links h2{font-size:20px}
.ip-links p{
  margin-top:6px;
  max-width:520px;
  font-size:13.5px;
  line-height:1.7;
  color:var(--text-muted);
}
.ip-links .btn-row{flex:none}

/* --------------------------------------------------------------------------
   5. 响应式
   -------------------------------------------------------------------------- */
@media (max-width:820px){
  .ip-hero{padding-block:32px 12px}
  .ip-tool{padding:var(--sp-5)}
  .ip-grid{grid-template-columns:minmax(0,1fr)}
  .ip-notes{grid-template-columns:minmax(0,1fr)}
  .ip-val{font-size:18px}
  .ip-links .btn-row{width:100%}
}

@media (max-width:640px){
  .ip-note{padding:20px}
  .ip-status{font-size:11px}
}