:root {
    --bea-navy: #10233f;
    --bea-gold: #c69b45;
    --bea-cream: #f8f5ee;
    --bea-green: #18794e;
    --bea-red: #b42318;
}

.bea-auction-card {
    margin: 1.25rem 0;
    padding: 1.4rem;
    border: 1px solid #ded8ca;
    border-radius: 12px;
    background: var(--bea-cream);
    color: var(--bea-navy);
}

.bea-status {
    display: inline-block;
    padding: .28rem .65rem;
    border-radius: 999px;
    background: #e5e7eb;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.bea-status-live {
    background: #d1fae5;
    color: var(--bea-green);
}

.bea-status-ended {
    background: #fee2e2;
    color: var(--bea-red);
}

.bea-current {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin: 1rem 0 .5rem;
}

.bea-current strong {
    color: var(--bea-gold);
    font-size: 1.55rem;
}

.bea-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .6rem 1rem;
    margin-bottom: 1rem;
    font-size: .9rem;
}

.bea-bid-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .7rem;
    margin-top: .35rem;
}

.bea-bid-row input {
    min-height: 46px;
    border: 1px solid #b8b2a6;
    border-radius: 6px;
    padding: .65rem .8rem;
}

.bea-bid-row button,
.bea-auction-card .bea-login,
.bea-auction-tile .button {
    border: 0;
    border-radius: 6px;
    background: var(--bea-navy);
    color: #fff;
    font-weight: 700;
}

.bea-message {
    margin: .65rem 0 0;
    min-height: 1.4em;
}

.bea-message.is-error {
    color: var(--bea-red);
}

.bea-message.is-success {
    color: var(--bea-green);
}

.bea-auction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.bea-auction-tile {
    overflow: hidden;
    border: 1px solid #e5e0d6;
    border-radius: 12px;
    background: #fff;
}

.bea-auction-tile img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.bea-tile-content {
    padding: 1rem;
}

.bea-tile-content h3 {
    margin: .65rem 0;
}

@media (max-width: 520px) {
    .bea-bid-row {
        grid-template-columns: 1fr;
    }
}
