.entry-captcha-card {
    padding: 0.25rem 0 0;
}

.entry-captcha-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.7rem;
}

.entry-captcha-label {
    flex: 0 0 5.7rem;
    margin: 0;
}

.entry-captcha-block {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.entry-captcha-art {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12.5rem;
    min-width: 12.5rem;
    min-height: 4rem;
    padding: 0.3rem;
    border: 1px solid rgba(61, 67, 58, 0.1);
    border-radius: 0.8rem;
    background: rgba(60, 66, 58, 0.04);
}

.entry-captcha-art-loading {
    color: var(--muted-ink);
    font-size: 0.9rem;
}

.entry-captcha-image {
    width: min(100%, 12rem);
    height: auto;
}

.entry-captcha-refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.55rem 0.82rem;
    border: 1px solid rgba(61, 67, 58, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--accent-strong);
    appearance: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.entry-captcha-refresh:hover,
.entry-captcha-refresh:focus-visible {
    border-color: rgba(47, 106, 65, 0.22);
    color: var(--accent-strong);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(36, 39, 32, 0.08);
}

.entry-captcha-refresh-status {
    min-height: 1.1rem;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.entry-captcha-refresh-status[data-state='error'] {
    color: #a83b3b;
}

.entry-captcha-input {
    flex: 0 0 9.5rem;
    width: 9.5rem;
    text-transform: uppercase;
}

.entry-captcha-help {
    margin: 0.45rem 0 0;
    padding-left: 6.4rem;
    color: #5f665a;
    font-size: 0.88rem;
    line-height: 1.45;
}

.entry-captcha-message {
    display: block;
    margin-top: 0.35rem;
    padding-left: 6.4rem;
}

@media (max-width: 720px) {
    .entry-captcha-row {
        flex-wrap: wrap;
        align-items: stretch;
    }

    .entry-captcha-label,
    .entry-captcha-input {
        flex-basis: 100%;
        width: 100%;
        min-width: 0;
    }

    .entry-captcha-block {
        width: 100%;
        align-items: center;
        flex-direction: row;
        gap: 0.45rem;
    }

    .entry-captcha-art {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        min-height: 3.75rem;
    }

    .entry-captcha-help,
    .entry-captcha-message {
        padding-left: 0;
    }

    .entry-captcha-refresh {
        flex: 0 0 4.75rem;
        width: auto;
        min-height: 2.25rem;
        padding: 0.45rem 0.5rem;
        font-size: 0.84rem;
    }
}
