/* --- Gerador de letras estilizadas / Fancy Text Generator --- */

.fx-input {
    width: 100%;
    min-height: 90px;
    resize: vertical;
    box-sizing: border-box;
    font-size: 1.05rem;
}

.fx-input-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
}

.fx-count {
    font-size: 0.8rem;
    color: var(--muted);
}

.fx-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.fx-chip {
    border: 1px solid var(--line);
    background: var(--paper-raised);
    color: var(--ink);
    font: inherit;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
}

.fx-chip:hover {
    border-color: var(--accent);
}

.fx-chip.is-active,
.fx-chip.is-active:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.fx-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fx-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.fx-body {
    min-width: 0;
    flex: 1;
}

.fx-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin-bottom: 2px;
}

.fx-output {
    font-size: 1.15rem;
    line-height: 1.5;
    color: var(--ink);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.fx-empty {
    color: var(--muted);
    margin: 0;
}

.fx-note {
    font-size: 0.82rem;
    color: var(--muted);
    margin: 14px 0 0;
}

@media (max-width: 600px) {
    .fx-item {
        flex-direction: column;
        align-items: stretch;
    }
}