.option-btn:hover:not(:disabled) { background-color: #f3f4f6; }
.correct { background-color: #d1fae5 !important; border-color: #10b981 !important; color: #065f46 !important; }
.incorrect { background-color: #fee2e2 !important; border-color: #ef4444 !important; color: #991b1b !important; }

/* Foco visível (teclado) — não substitui o anel do Tailwind em todos os casos */
button:focus-visible,
.option-btn:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 2px;
}

/* Categoria selecionada na tela inicial */
.category-btn {
    position: relative;
    transition: box-shadow 0.15s ease, transform 0.1s ease;
}
.category-btn.category-btn-selected {
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px #1d4ed8;
    transform: scale(1.02);
}

.category-btn-has-count {
    padding-top: 2.25rem;
    padding-right: 2.85rem;
    padding-left: 1.25rem;
}

.category-btn-content {
    width: 100%;
}

.category-btn-label {
    line-height: 1.35;
    text-wrap: balance;
}

.category-count {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.75rem;
    height: 1.75rem;
    padding: 0 0.35rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.25);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    pointer-events: none;
}
