.games-card--challenge {
    border: 1px solid rgba(0,0,0,0.06);
    padding: 2rem;
    gap: 1.5rem;
}

.challenge-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.challenge-badge {
    display: inline-flex;
    align-items: center;
    padding: .15rem .75rem;
    border-radius: 999px;
    background: var(--brand-light, #e9f7ef);
    color: var(--brand, #0c7c59);
    font-weight: 600;
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.challenge-body {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.challenge-info {
    display: flex;
    gap: 2rem;
    align-items: stretch;
}

.challenge-figure {
    margin: 0;
    flex: 1 1 260px;
    max-width: 420px;
}

.challenge-figure img {
    width: 100%;
    height: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.challenge-instructions {
    flex: 1 1 280px;
    background: #f8faf9;
    border-radius: .75rem;
    padding: 1rem 1.25rem;
    font-size: .95rem;
    line-height: 1.6;
}

.challenge-clue {
    border-left: 4px solid var(--brand, #0c7c59);
    padding-left: 1rem;
}

.challenge-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.challenge-form label {
    font-weight: 600;
    color: #333;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.challenge-form input,
.challenge-form textarea,
.challenge-form select {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: .65rem;
    padding: .9rem 1rem;
    font-size: 1rem;
    width: 100%;
}

.form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.challenge-submit {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.challenge-submit .help-text {
    font-size: .9rem;
    color: #5f6368;
    margin: 0;
}

.challenge-account {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: .75rem;
    padding: 1rem;
    background: #fafafa;
    margin-top: .5rem;
}

.challenge-checkbox {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: .35rem;
    font-weight: 600;
    margin: .3rem 0;
    cursor: pointer;
    width: auto;
    align-self: flex-start;
}

.challenge-checkbox input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin: 0;
}

.challenge-checkbox span {
    color: #1f2933;
}

#identification-feedback {
    min-height: 1.25rem;
    font-weight: 600;
}

#identification-feedback.success {
    color: #09814a;
}

#identification-feedback.error {
    color: #c0392b;
}

.challenge-info {
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .challenge-info {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .games-card--challenge {
        padding: 1.25rem;
    }

    .challenge-form input,
    .challenge-form textarea {
        font-size: .95rem;
    }
}
