/* ── 大写转换器专题页 ── */

/* Mode Tabs */
.dz-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.dz-tab {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: #f8f9fb;
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.dz-tab:not(:last-child) {
    border-right: 1px solid #e0e0e0;
}

.dz-tab:hover {
    background: #eef2ff;
    color: #2563eb;
}

.dz-tab.active {
    background: #2563eb;
    color: white;
}

/* Result */
.dz-result {
    margin-top: 1.4rem;
}

.dz-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: #f8f9fb;
    border: 1px solid #e8eaf0;
    border-radius: 8px;
    margin-bottom: 0.8rem;
}

.dz-result-label {
    font-size: 0.85rem;
    color: #999;
    white-space: nowrap;
    min-width: 60px;
}

.dz-result-value {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    word-break: break-all;
    line-height: 1.6;
}

.dz-copy-btn {
    padding: 0.35rem 0.8rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: white;
    color: #666;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
}

.dz-copy-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
}

/* Mapping Table */
.mapping-table-wrap {
    overflow-x: auto;
}

.mapping-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e8eaf0;
}

.mapping-table th,
.mapping-table td {
    padding: 0.75rem 1rem;
    text-align: center;
    border: 1px solid #e8eaf0;
    font-size: 0.9rem;
}

.mapping-table th {
    background: #f8f9fb;
    font-weight: 600;
    color: #333;
}

.mapping-table td:first-child {
    background: #f8f9fb;
    font-weight: 500;
    color: #555;
    white-space: nowrap;
}

.mapping-table tbody tr:nth-child(1) td:not(:first-child) {
    color: #2563eb;
    font-weight: 600;
    font-size: 1rem;
}

/* Mobile */
@media (max-width: 640px) {
    .dz-result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .dz-result-value {
        font-size: 1rem;
    }
    .mapping-table th,
    .mapping-table td {
        padding: 0.5rem 0.4rem;
        font-size: 0.8rem;
    }
    .mapping-table tbody tr:nth-child(1) td:not(:first-child) {
        font-size: 0.85rem;
    }
}