/* ── 繁转简转换器 ── */
.ft-converter {
    max-width: 100%;
}

.ft-input-wrap {
    margin-bottom: 1rem;
}

.ft-textarea {
    width: 100%;
    min-height: 200px;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.8;
    resize: vertical;
    background: #fafafa;
    color: #333;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.ft-textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
    background: white;
}

.ft-textarea::placeholder {
    color: #bbb;
}

.ft-char-count {
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.3rem;
    text-align: right;
}

.ft-output-wrap {
    margin-top: 1.5rem;
}

.ft-output {
    width: 100%;
    min-height: 150px;
    padding: 1rem;
    border: 1px solid #e8eaf0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.8;
    background: #f8f9fb;
    color: #333;
    white-space: pre-wrap;
    word-break: break-all;
    box-sizing: border-box;
}

.ft-output-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.8rem;
}

.ft-convert-count {
    font-size: 0.82rem;
    color: #999;
}

/* ── Mobile ── */
@media (max-width: 640px) {
    .ft-textarea {
        min-height: 150px;
        font-size: 0.95rem;
    }

    .ft-output {
        min-height: 120px;
        font-size: 0.95rem;
    }
}