.tool-section {
    padding: 2rem 0 5rem;
    background: #fff;
}

/* ========== 查询卡片 ========== */
.dns-search-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem;
}
.dns-search-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.75rem;
}

/* 记录类型按钮 */
.rtype-btn {
    padding: 0.4rem 0.65rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: 'SF Mono','Fira Code','Consolas',monospace;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}
.rtype-btn:hover {
    border-color: #818cf8;
    color: #4f46e5;
    background: #eef2ff;
}
.rtype-btn.active {
    background: #4f46e5;
    color: #fff;
    border-color: #4f46e5;
}

/* 快速域名标签 */
.dns-tag {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: 'SF Mono','Fira Code','Consolas',monospace;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s;
}
.dns-tag:hover {
    background: #e0e7ff;
    border-color: #818cf8;
    color: #4f46e5;
}

/* ========== 结果卡片 ========== */
.dns-result-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem;
}
.dns-result-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    font-family: 'SF Mono','Fira Code','Consolas',monospace;
}
.dns-type-badge {
    background: #dbeafe;
    color: #2563eb;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: 'SF Mono','Fira Code','Consolas',monospace;
}
.dns-count {
    font-size: 0.82rem;
    color: #94a3b8;
}

/* DNS 记录表格 */
.dns-table-wrap {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}
.dns-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.dns-table th {
    background: #f8fafc;
    padding: 0.7rem 1rem;
    text-align: left;
    font-weight: 600;
    color: #64748b;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e2e8f0;
}
.dns-table td {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-size: 0.85rem;
    vertical-align: middle;
}
.dns-table tr:last-child td { border-bottom: none; }
.dns-table tbody tr:hover { background: #f8fafc; }
.dns-table td.mono {
    font-family: 'SF Mono','Fira Code','Consolas',monospace;
    font-size: 0.82rem;
}
.dns-table .ttl-cell {
    color: #94a3b8;
    font-size: 0.8rem;
    white-space: nowrap;
}
.dns-table .rec-type-tag {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: 'SF Mono','Fira Code','Consolas',monospace;
    background: #ede9fe;
    color: #7c3aed;
}

/* 空状态 */
.dns-empty {
    padding: 3rem 1rem;
    text-align: center;
    color: #94a3b8;
}
.dns-empty svg { margin-bottom: 0.5rem; }
.dns-empty p { margin: 0; font-size: 0.85rem; }

/* 复制值按钮 */
.dns-copy-btn {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.15rem;
    border-radius: 4px;
    transition: all 0.15s;
    line-height: 1;
    margin-left: 0.35rem;
}
.dns-copy-btn:hover { color: #4f46e5; background: #eef2ff; }

@media (max-width: 767px) {
    .tool-section { padding: 1.5rem 0 3rem; }
    .dns-table th:nth-child(3),
    .dns-table td:nth-child(3) { display: none; }
}
