@charset "utf-8";

.hwaterfall-row {
    width: 100%;
    display: flex;
}

.hwaterfall-item {
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 1;
    transition: opacity 0.18s ease;
}

.hwaterfall-rendering .hwaterfall-item {
    opacity: 0;
}

.hwaterfall-image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.hwaterfall-item-img {
    border-radius: 8px;
    display: block;
    object-fit: cover;
    transition: all 0.3s ease;
}

.hwaterfall-item-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    box-sizing: border-box;
    margin-top: 0;
    padding: 24px 10px 10px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.58));
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.hwaterfall-image-container:hover .hwaterfall-item-content {
    opacity: 1;
    visibility: visible;
}

.hwaterfall-item-tag {
    background: rgb(175, 175, 175, .4);
    color: #fff;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 5px;
    flex-shrink: 0;
}

.hwaterfall-item-title {
    font-size: 12px;
    color: #FFFFFF !important;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hwaterfall-skeleton-batch {
    width: 100%;
}

.hwaterfall-skeleton-row {
    width: 100%;
    display: flex;
}

.hwaterfall-skeleton-item {
    flex-shrink: 0;
    border-radius: 8px;
    background: linear-gradient(90deg, #eef2f8 0%, #f7f9fc 42%, #eef2f8 84%);
    background-size: 240% 100%;
    animation: hwaterfallSkeleton 1.15s ease-in-out infinite;
}

@keyframes hwaterfallSkeleton {
    0% {
        background-position: 120% 0;
    }

    100% {
        background-position: -120% 0;
    }
}
