.card-link {
    color: inherit;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}

.card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .08);
}

.contest-card-img,
.archive-photo {
    height: 220px;
    object-fit: cover;
}

.avatar-md,
.avatar-lg,
.avatar-xl,
.user-chip img,
.member-card img {
    object-fit: cover;
    border-radius: 50%;
    background: #f1f3f5;
}

.avatar-md { width: 42px; height: 42px; }
.avatar-lg { width: 72px; height: 72px; }
.avatar-xl { width: 96px; height: 96px; }

.user-chip {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    color: #212529;
}

.user-chip img {
    width: 28px;
    height: 28px;
}

.member-card {
    display: flex;
    gap: .75rem;
    align-items: center;
    padding: .75rem;
    border: 1px solid #dee2e6;
    border-radius: .75rem;
}

.member-card img {
    width: 44px;
    height: 44px;
}

.form-card {
    max-width: 760px;
    padding: 1.25rem;
    border: 1px solid #dee2e6;
    border-radius: .75rem;
    background: #fff;
}

.form-card input,
.form-card textarea,
.form-card select {
    width: 100%;
    max-width: 100%;
}

.qr-img {
    max-width: 260px;
    width: 100%;
}

.task-photo {
    max-height: 520px;
    object-fit: contain;
}

.judge-photo,
.modal-photo {
    max-height: 80vh;
    object-fit: contain;
}

@media (max-width: 576px) {
    .contest-card-img,
    .archive-photo {
        height: 180px;
    }
}
