/* ===== WHOIS 查询页专属样式（骨架复用 tools-jz.css） ===== */

/* 查询输入行 */
.whois-input-row { display: flex; gap: 12px; }
.whois-input {
  flex: 1; min-width: 0; height: 52px; padding: 0 18px;
  border: 2px solid #e5e7eb; border-radius: 14px;
  font-size: 16px; font-weight: 600; outline: none; transition: border-color .2s;
  font-family: 'JetBrains Mono', monospace;
}
.whois-input:focus { border-color: #f97316; }
.whois-input::placeholder { color: #c9d0da; font-weight: 500; }

/* 可注册徽标 */
.wi-avail { margin: 4px 0 14px; }
.wi-avail-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 700;
}
.wi-avail-badge.reg  { background: #fee2e2; color: #b91c1c; }
.wi-avail-badge.free { background: #dcfce7; color: #15803d; }
.wi-avail-badge.err  { background: #fef3c7; color: #b45309; }
.wi-avail-note { margin-top: 6px; font-size: 13px; color: #6b7280; }

/* 信息网格 */
.wi-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border: 1px solid #e5e7eb; border-radius: 14px; overflow: hidden;
}
.wi-row {
  display: flex; padding: 14px 18px; gap: 14px;
  border-bottom: 1px solid #f3f4f6; background: #fff;
}
.wi-row:nth-child(odd) { border-right: 1px solid #f3f4f6; }
.wi-row.wi-row-full { grid-column: 1 / -1; border-right: none; }
.wi-row:last-child, .wi-row:nth-last-child(2):nth-child(odd) { border-bottom: none; }
.wi-label {
  flex: 0 0 84px; font-size: 13px; color: #6b7280; font-weight: 600; padding-top: 2px;
}
.wi-value { flex: 1; font-size: 14px; color: #111827; font-weight: 600; word-break: break-all; }
.wi-empty { color: #9ca3af; font-weight: 500; }

/* 状态/DNS 标签 */
.wi-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.wi-tag {
  display: inline-block; padding: 3px 10px; border-radius: 6px;
  background: #f3f4f6; color: #374151; font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
}

/* 移动端：单列 */
@media (max-width: 768px) {
  .whois-input-row { flex-direction: column; }
  .wi-grid { grid-template-columns: 1fr; }
  .wi-row { border-right: none !important; }
  .wi-row:last-child { border-bottom: none; }
}
