/* ===== DNS 域名解析批量查询页专属样式（骨架复用 tools-jz.css，表格复用 whois.css） ===== */

/* 布局：同 WHOIS——查询框与右侧栏同行且底部齐平，示例横条独占一排，结果表最下 */
.wz-dns .jz-main { align-items: stretch; }
.wz-dns .result-top { flex-wrap: nowrap; }
.wz-dns .result-actions { flex-wrap: nowrap; flex-shrink: 0; }
.wz-dns .result-left { min-width: 0; }
.wz-dns .result-count-line { margin: -12px 0 14px; line-height: 1.4; }
.wz-dns .result-count-line:has(.result-count:empty) { display: none; }
.wz-dns .jz-main > .jz-hero { grid-row: 1; display: flex; flex-direction: column; margin-bottom: 0; }
.wz-dns .jz-main > .jz-hero .jz-hero-inner { flex: 1; display: flex; flex-direction: column; }
.wz-dns .jz-main > .jz-hero .jz-hero-badge { align-self: flex-start; }
.wz-dns .jz-main > .jz-hero .jz-box { flex: 1; display: flex; flex-direction: column; margin-top: 20px; }
.wz-dns .jz-main > .jz-hero .jz-box .query-card { display: flex; flex-direction: column; flex: 1; }
.wz-dns .jz-main > .jz-side { grid-row: 1; align-self: stretch; justify-content: space-between; }
.wz-dns .jz-main > .jz-side .jz-panel:last-child { flex: 1; }
@media (max-width: 960px) {
  .wz-dns .jz-main > .jz-hero, .wz-dns .jz-main > .jz-side { grid-row: auto; align-self: auto; }
  .wz-dns .jz-main > .jz-hero { display: block; }
  .wz-dns .jz-main > .jz-hero .jz-hero-inner,
  .wz-dns .jz-main > .jz-hero .jz-box { display: block; }
}

/* DNS 表列宽：IP/归属地等宽处理，归属地不换行（link114 风格整体展示） */
.dns-table td:nth-child(2) { font-family: 'JetBrains Mono', monospace; white-space: nowrap; }
.dns-table th:nth-child(3), .dns-table td:nth-child(3) { white-space: nowrap; }
.dns-table { min-width: 560px; }

/* 状态徽标（对齐 Python 脚本三态：解析成功/未解析/解析错误） */
.wi-st.dns-ok { background: #dcfce7; color: #15803d; }   /* 解析成功：绿 */
.wi-st.nx     { background: #f3f4f6; color: #6b7280; }   /* 未解析：灰（终态） */
.wi-st.err    { background: #fee2e2; color: #b91c1c; }   /* 解析错误：红（可重试） */
