.amu-item-art {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}
.amu-item-crop {
    display: block;
    width: 100%;
    max-height: 100%;
    aspect-ratio: var(--amu-item-art-ratio, 1);
    background-repeat: no-repeat;
}
@supports (width: 1cqh) {
    .amu-item-art { container-type: size; }
    .amu-item-crop { width: min(100cqw, calc(100cqh * var(--amu-item-art-ratio, 1))); }
}
