/* ── 大小写转换器 ── */

/* Textarea */
.case-textarea {
    width: 100%;
    resize: vertical;
    min-height: 120px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.case-output {
    background: #f8f9fb;
    color: #1a1a1a;
    font-weight: 500;
}

/* Mode Buttons */
.case-modes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.case-mode-btn {
    padding: 0.6rem 1.2rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fafafa;
    color: #555;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.case-mode-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #f0f4ff;
}

/* Result */
.case-result {
    margin-top: 1.4rem;
    padding-top: 1.4rem;
    border-top: 1px solid #f0f0f0;
}

/* Mobile */
@media (max-width: 640px) {
    .case-modes {
        gap: 0.4rem;
    }
    .case-mode-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }
}