.top-premium-front .top-premium-photo.top-premium-photo--cover {
    padding: 0;
    overflow: hidden;
}

.top-premium-front .top-premium-photo.top-premium-photo--cover > img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: none;
    max-height: none;
    padding: 0;
    object-fit: cover !important;
    object-position: 50% 35% !important;
}

.profile-form:has([name="profile_photo_fit"] option[value="cover"]:checked) .media-preview > img {
    width: min(100%, 8rem);
    height: auto;
    aspect-ratio: 8 / 13;
    max-height: none;
    object-fit: cover;
    object-position: 50% 35%;
    border-radius: .75rem;
}
