@charset "utf-8";



.waterfall {
    display: flex;
    position: relative;
}

.waterfall a,
.waterfall img {
    user-select: none;
    text-decoration: none;
}


.waterfall-item {
    border-radius: 8px;
    height: auto;
    cursor: pointer;
}

.waterfall-item-img {
    border-radius: 8px;
    width: 100%;
    height: auto;
    max-height: 450px;
    display: block;
    object-fit: cover;
    transition: all 0.3s ease;
}

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

.waterfall-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;
}

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

.waterfall-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;
}

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

.swiperContainer {
    position: absolute;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.swiper {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
}

.swiper-slide {
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(0deg, #2f3238 50%, #2f3238 50%);
}

.swiper-slide-white-bg {
    background: #fff;
}

.swiper-slide img {
    border-radius: 8px;
    height: auto;
    width: auto;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.swiper-pagination {
    width: auto !important;
    position: relative !important;
    bottom: 0 !important;
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.swiper-pagination-current {
    opacity: 1;
    margin: 0 !important;
    background: #fff !important;
    width: 10px !important;
    height: 10px !important;
}

.swiper-pagination-bullet {
    opacity: 1;
    background: #999;
    width: 7px;
    height: 7px;
    margin: 0 !important;
    margin-right: 8px !important;
}

.swiper-title {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 16px;

}

.swiper-custom-left {
    margin-top: 40px;
    padding: 0px 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.swiper-custom-right {
    margin-top: 40px;
    flex-shrink: 0;
    padding: 0px 10px;
    display: flex;
    align-items: center;
}

.swiper-custom-right span {
    position: relative;
    z-index: 1;
    background: rgba(137, 137, 137, 0.15);
    border-radius: 5px;
    color: #E3E3E3;
    font-size: 12px;
    padding: 5px;
    margin-left: 10px;
    cursor: pointer;
}

.swiper-mask {
    z-index: 1;
    height: 100%;
    width: 100%;
    transition: translate 0s;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    user-select: none;
    pointer-events: none;
    mask-image: linear-gradient(0deg, #2f3238 16%, transparent 26%);
    -webkit-mask-image: linear-gradient(0deg, #2f3238 16%, transparent 26%);
    background-color: #2f3238;
    border-radius: 8px;
}

.swiper-custom {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
    border-radius: 8px;
}

.waterfall-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    display: none;
    z-index: 4;
  
}

.waterfall-hover-content {
    padding: 10px;
    color: #fff;
}

.waterfall-hover-content a {
    color: #fff;
}

.waterfall-float {
    position: absolute;
    display: none;
    width: 100%;
    top: 60px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.waterfall-favorites-float {
    padding: 10px;
    border-radius: 10px;
    max-height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
    z-index: 100;
}

.waterfall-float.loading {
    height: 100%;
    width: 100%;
    top: 0;
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
}

.waterfall-float.loading::before {
    position: absolute;
    content: '';
    display: inline-block;
    width: 26px;
    height: 26px;
    border: 2px solid #e0e0e0;
    border-top-color: #5D89FF;
    border-radius: 50%;
    margin-right: 8px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.waterfall-favorites-float::-webkit-scrollbar {
    width: 4px;
}

.waterfall-favorites-float::-webkit-scrollbar-track {
    background: transparent;
}

.waterfall-favorites-float::-webkit-scrollbar-thumb {
    background: #c6cbd7;
    border-radius: 2px;
    border-top: 10px solid transparent;
    border-bottom: 15px solid transparent;
    background-clip: padding-box;
}

.waterfall-favorites-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 25px;
    cursor: pointer;
    color: #fff;
}

.waterfall-favorites-item> :first-child {
    display: flex;
    align-items: center;
}

.waterfall-favorites-item-1 {
    font-size: 14px;
}

.waterfall-favorites-item-2 {
    margin-left: 5px;
    font-size: 14px;
}

.waterfall-favorites-item-3 {
    flex-shrink: 0;
    margin-left: 20px;
    font-size: 14px;
}

.waterfall-hover-content-right {
    float: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.waterfall-hover-icon {
    margin-bottom: 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 26px;
    height: 26px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.7);
}

.waterfall-hover-icon a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.waterfall-hover-icon .iconfont {
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    font-size: 14px;
    position: relative;
}

.waterfall-render-tag {
    min-width: 26px;
    height: 26px;
    box-sizing: border-box;
    padding: 0 6px;
    border-radius: 6px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 14px;
    line-height: 26px;
    text-align: center;
    list-style: none;
    white-space: nowrap;
}

.waterfall-favorites {
    display: none;
    flex-wrap: nowrap;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
    padding-left: 5px;
}

.waterfall-hover-title {
    font-size: 12px;
}

.waterfall-hover-content-left .iconfont {
    font-size: 12px;
}

.waterfall-hover-icon.icon1:hover .waterfall-favorites {
    display: flex;
}

.waterfall-hover-icon:hover {
    width: auto;
}

.waterfall-hover-icon.icon2:hover::before {
    content: "不喜欢";
    margin-left: 10px;
    font-size: 12px;
    cursor: pointer;
    height: 26px;
    width: fit-content;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    position: absolute;
    right: 32px;
    padding: 0 10px;
    transition: width 0.3s ease;

}

.mask-text {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 18px;
    font-weight: bold;
    z-index: 1000;
    text-align: center;
    pointer-events: none;
}

.waterfall-image-container:hover .waterfall-hover {
    display: block;
}
