/* ── Setup page ─────────────────────────────── */
.setup-heading {
    font-family: 'Fredoka One', cursive;
    color: #5ca4a9;
    font-size: 22px;
    margin-bottom: 30px;
}

.setup-section {
    margin-bottom: 28px;
}

.setup-section h3 {
    font-family: 'Fredoka One', cursive;
    color: #555555;
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 12px;
}

.option-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.option-btn {
    min-width: 60px;
    height: 44px;
    padding: 0 20px;
    border: 2px solid #cccccc;
    border-radius: 22px;
    background: #ffffff;
    color: #555555;
    font-family: 'Maven Pro', sans-serif;
    font-size: 15px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.option-btn:hover {
    border-color: #5ca4a9;
}

.option-btn.selected {
    border-color: #5ca4a9;
    background: #5ca4a9;
    color: #ffffff;
}

.option-btn:focus {
    outline: none;
    border-color: #ed6a5a;
}

.setup-actions {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.setup-play {
    font-size: 18px;
    padding: 13px 28px;
    height: auto;
}

.back-link {
    color: #888888;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.15s ease;
}

.back-link:hover {
    color: #555555;
}

/* ── Advanced game page ─────────────────────── */

/* Visible error text (base .hide already handles display:none) */
.error-message-container {
    color: #cc0000;
    font-size: 14px;
    margin-bottom: 8px;
    min-height: 20px;
    transition: opacity 0.2s ease;
}

/* Duplicate-digit highlight */
.input-field.duplicate {
    border-color: #cc0000 !important;
    background-color: #fff5f5;
}

/* Config badge shown below find-wrapper */
.config-badge {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 10px;
    border-radius: 12px;
    background: #5ca4a9;
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 0.4px;
}

@media (max-width: 481px) {
    .option-btn {
        height: 40px;
        font-size: 14px;
        padding: 0 14px;
    }

    .setup-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}
