.iww-wall {
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--iww-columns), minmax(0, 1fr));
    gap: var(--iww-gap);
    height: var(--iww-height);
    padding: 0 var(--iww-side-padding);
    background: #ffffff;
    overflow: hidden;
    isolation: isolate;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 72px, #000 calc(100% - 72px), transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 72px, #000 calc(100% - 72px), transparent);
}

.iww-column {
    display: flex;
    flex-direction: column;
    gap: var(--iww-gap);
    min-width: 0;
    transform: translateY(-50%);
    animation: iww-fall var(--iww-speed) linear infinite;
    will-change: transform;
}

.iww-column:nth-child(2) {
    animation-duration: calc(var(--iww-speed) * 1.13);
}

.iww-column:nth-child(3) {
    animation-duration: calc(var(--iww-speed) * 0.91);
}

.iww-column:nth-child(4) {
    animation-duration: calc(var(--iww-speed) * 1.21);
}

.iww-column:nth-child(5) {
    animation-duration: calc(var(--iww-speed) * 0.86);
}

.iww-column:nth-child(6) {
    animation-duration: calc(var(--iww-speed) * 1.34);
}

.iww-card {
    position: relative;
    height: var(--iww-tile-height);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: var(--iww-radius);
    background: #ffffff;
    overflow: hidden;
}

.iww-card-link {
    color: inherit;
    text-decoration: none !important;
    transition: box-shadow 160ms ease, transform 160ms ease;
}

.iww-card-link:hover,
.iww-card-link:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.11);
}

.iww-wall .iww-card .iww-image {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    display: block;
    object-fit: contain;
    object-position: center;
}

.iww-acquired-tag {
    position: absolute;
    right: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    padding: 4px 8px;
    border-radius: 999px;
    background: #e9f8dd;
    color: #276221;
    border: 1px solid rgba(39, 98, 33, 0.16);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.iww-has-shadow .iww-card {
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.iww-pause-on-hover:hover .iww-column {
    animation-play-state: paused;
}

.iww-empty {
    padding: 12px 14px;
    border: 1px dashed currentColor;
}

@keyframes iww-fall {
    from {
        transform: translateY(-50%);
    }

    to {
        transform: translateY(0);
    }
}

@media (max-width: 720px) {
    .iww-wall {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-right: max(16px, calc(var(--iww-side-padding) * 0.5));
        padding-left: max(16px, calc(var(--iww-side-padding) * 0.5));
    }

    .iww-wall.iww-columns-1 {
        grid-template-columns: 1fr;
    }

    .iww-wall .iww-column:nth-child(n+3) {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .iww-column {
        animation: none;
    }
}
