.sectionTitle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 2px solid var(--primary-color);
}

.sectionTitle h2 {
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    color: var(--color-333);
    position: relative;
    padding: 0 10px;
}

.sectionTitle a {
    font-size: 14px;
    color: var(--color-333);
    text-decoration: none;
    padding-right: 12px;
    position: relative;
    transition: all 0.2s;
}

.sectionTitle a::before {
    position: absolute;
    content: '';
    width: 9px;
    height: 9px;
    border-top: 1px solid var(--color-333);
    border-left: 1px solid var(--color-333);
    transform: rotate(135deg);
    top: 5px;
    right: 2px;
    transition: all 0.2s;
}

.sectionTitle a:hover {
    color: var(--primary-active-color);
}

.sectionTitle a:hover::before {
    border-top: 1px solid var(--primary-active-color);
    border-left: 1px solid var(--primary-active-color);
}

/* 書籍列表 */
.listBox {
    display: flex;
    justify-content: flex-start;
    /* align-items: flex-start; */
    flex-wrap: wrap;
}

.listBox .listItem {
    margin-top: 15px;
    width: 338px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: all 0.3s;
}

.listImgBox {
    position: relative;
    overflow: hidden;
    width: 108px;
    height: 144px;
    border-radius: 4px;
}

.listImgBox img {
    width: 100%;
    height: 100%;
    transition: all 0.3s;
}

.listItem:hover .listImgBox img {
    transform: scale(1.06);
}

.listImgBox em {
    position: absolute;
    bottom: 3px;
    left: 3px;
    padding: 3px 5px;
    border-radius: 2px;
    font-size: 12px;
    line-height: 1;
    display: inline-block;
    color: var(--white-color);
}

.listImgBox em.tip-1 {
    background: linear-gradient(120deg, #1a1a1a, var(--primary-color));
}

.listImgBox em.tip-2 {
    background: linear-gradient(120deg, var(--primary-color-2), var(--primary-color));
}

.listImgBox .adultIcon,
.listImgBox .hotIcon {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 32px;
    height: 32px;
}

.listImgBox .adultIcon {
    background: url(/images/HX/18.png) no-repeat center center;
    background-size: 100% 100%;
}

.listImgBox .hotIcon {
    background: url(/images/HX/hot.png) no-repeat center center;
    background-size: 100% 100%;
}

.listInfoBox {
    width: calc(100% - 120px);
}

.itemName {
    font-size: 15px;
    color: var(--color-333);
    line-height: 20px;
    height: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
    font-weight: bold;
    transition: all 0.3s;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.listItem:hover .itemName {
    color: var(--primary-color);
}

.itemAuthor {
    padding-top: 10px;
    font-size: 14px;
    color: var(--color-999);
    line-height: 18px;
    margin-bottom: 5px;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.itemAuthor em {
    display: inline-block;
    line-height: 1;
    font-size: 12px;
    padding: 3px 4px;
    background: linear-gradient(120deg, var(--primary-color-2), var(--primary-color));
    border-radius: 2px;
    color: var(--white-color);
    margin-right: 6px;
}

.itemAuthor em:last-child {
    margin-right: 0;
}

.itemAuthor em:first-child {
    position: relative;
    margin-left: 1em;
}

.itemAuthor em:first-child::before {
    content: '';
    position: absolute;
    right: 100%;
    /* margin-right: 6px; */
    display: inline-block;
    color: var(--color-999);
    white-space: nowrap;
}

.itemDesc {
    margin-top: 15px;
    font-size: 14px;
    color: var(--color-999);
    line-height: 18px;
    height: 54px;
    margin-bottom: 16px;
    /* 限制只出现两行 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* 长图横布局一排两个 */
.listBox-w2 .listItem:nth-child(2n+1) {
    margin: 18px 18px 0 0;
}

/* 长图横布局一排三个 */
.listBox-ww3-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.swiper-ww3 {
    width: 100%;
    overflow: visible;
    padding-bottom: 18px;
}

.listBox-ww3 {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
}

.listBox-ww3 .swiper-slide {
    width: 340px;
    flex-shrink: 0;
    height: auto;
}

.listBox-ww3 .listItem {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-top: 15px;
    margin-right: 0;
    width: 340px;
    display: flex;
}

.listBox-ww3 .listImgBox {
    width: 340px;
    height: 102px;
}

.listBox-ww3 .listImgBox img {
    height: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.listBox-ww3 .listItem:hover .listImgBox img {
    transform: translateY(-50%) scale(1.06);
}

.listBox-ww3 .listImgBox.size16x9 {
    width: 340px;
    height: 191px;
}

.listBox-ww3 .listInfoBox {
    width: 100%;
}

.listBox-ww3 .listItem .itemName {
    height: auto;
    margin-top: 10px;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 横布局一排三个 */
.listBox-w3 .listItem:nth-child(3n+2) {
    margin: 15px 15px 0;
}

/* 大图版本 - PC端一排4个，移动端一排2个 */
.listBox-w4 .listItem {
    flex-direction: column;
    width: calc(25% - 11.25px);
    margin-right: 15px;
}

.listBox-w4 .listItem:nth-child(4n) {
    margin-right: 0;
}

.listBox-w4 .listImgBox {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    margin-bottom: 10px;
}

.listBox-w4 .listInfoBox {
    width: 100%;
}

.listBox-w4 .itemDesc,
.listBox-w4 .itemAuthor {
    display: none;
}

.listBox-w4 .itemName {
    height: auto;
    margin-top: 0;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    -webkit-line-clamp: 1;
}

.listBox-w4 .itemMeta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--color-666);
    margin-top: 0;
}

.listBox-w4 .itemMeta .itemTag {
    display: inline-block;
    line-height: 1;
    font-size: 12px;
    padding: 3px 4px;
    background: linear-gradient(120deg, var(--primary-color-2), var(--primary-color));
    border-radius: 2px;
    color: var(--white-color);
    margin-right: 4px;
}

.listBox-w4 .itemMeta .itemPlayCount {
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
    margin-left: auto;
    flex-shrink: 0;
}

.listBox-w4 .itemMeta .itemPlayCount span {
    line-height: 1;
}

.listBox-w4 .itemMeta .itemPlayCount img {
    width: 14px;
    height: 14px;
    background-color: var(--primary-color);
}


.listBoxSwiperInner .itemPlayCount {
    display: flex;
    align-items: center;
    min-width: 100%;
    gap: 4px;
    line-height: 1;
    margin-top: 6px;
    justify-content: center;
}

.listBoxSwiperInner .itemPlayCount i {
    line-height: 1;
}

.listBoxSwiperInner .itemPlayCount img {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: none !important;
}

/* 大图版本 - PC端一排5个，移动端一排2个 */
.listBox-w5 .listItem {
    flex-direction: column;
    width: calc(20% - 12px);
    margin-right: 15px;
}

.listBox-w5 .listItem:nth-child(5n) {
    margin-right: 0;
}

.listBox-w5 .listImgBox {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    margin-bottom: 10px;
}

.listBox-w5 .listInfoBox {
    width: 100%;
}

.listBox-w5 .itemDesc,
.listBox-w5 .itemAuthor {
    display: none;
}

.listBox-w5 .itemName {
    height: auto;
    margin-top: 0;
    margin-bottom: 8px;
    /* text-align: center; */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    -webkit-line-clamp: 1;
}

.listBox-w5 .itemMeta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--color-666);
    margin-top: 0;
}

.listBox-w5 .itemMeta .itemTag {
    display: inline-block;
    line-height: 1;
    font-size: 12px;
    padding: 3px 4px;
    background: linear-gradient(120deg, var(--primary-color-2), var(--primary-color));
    border-radius: 2px;
    color: var(--white-color);
    margin-right: 4px;
}

.listBox-w5 .itemMeta .itemPlayCount {
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
    margin-left: auto;
    flex-shrink: 0;
}

.listBox-w5 .itemMeta .itemPlayCount span {
    line-height: 1;
}

.listBox-w5 .itemMeta .itemPlayCount img {
    width: 14px;
    height: 14px;
    background-color: var(--primary-color);
}

/* 大图版本 - PC端一排6个，移动端一排3个 */
.listBox-w6 .listItem {
    flex-direction: column;
    width: calc(16.666% - 12.5px);
    margin-right: 15px;
}

.listBox-w6 .listItem:nth-child(6n) {
    margin-right: 0;
}

.listBox-w6 .listImgBox {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    margin-bottom: 10px;
}

.listBox-w6 .listInfoBox {
    width: 100%;
}

.listBox-w6 .itemDesc,
.listBox-w6 .itemAuthor {
    display: none;
}

.listBox-w6 .itemName {
    height: auto;
    margin-top: 0;
    margin-bottom: 8px;
    /* text-align: center; */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    -webkit-line-clamp: 1;
}

.listBox-w6 .itemMeta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    min-height: 18px;
    color: var(--color-666);
    margin-top: 0;
}

.listBox-w6 .itemMeta .itemTag {
    display: inline-block;
    line-height: 1;
    font-size: 12px;
    padding: 3px 4px;
    background: linear-gradient(120deg, var(--primary-color-2), var(--primary-color));
    border-radius: 2px;
    color: var(--white-color);
    margin-right: 4px;
}

.listBox-w6 .itemMeta .itemPlayCount {
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
    margin-left: auto;
    flex-shrink: 0;
}

.listBox-w6 .itemMeta .itemPlayCount span {
    line-height: 1;
}

.listBox-w6 .itemMeta .itemPlayCount img {
    width: 14px;
    height: 14px;
    background-color: var(--primary-color);
}

/* 大图版本 - PC端一排8个，移动端一排3个 */
.listBox-w8 .listItem {
    flex-direction: column;
    width: calc(12.5% - 13.125px);
    margin-right: 15px;
}

.listBox-w8 .listItem:nth-child(8n) {
    margin-right: 0;
}

.listBox-w8 .listImgBox {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    margin-bottom: 10px;
}

.listBox-w8 .listInfoBox {
    width: 100%;
}

.listBox-w8 .itemDesc,
.listBox-w8 .itemAuthor {
    display: none;
}

.listBox-w8 .itemName {
    height: 40px;
    line-height: 20px;
    margin-top: 0;
    margin-bottom: 0px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
}

.listBox-w8 .itemMeta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    min-height: 18px;
    color: var(--color-666);
    margin-top: 0;
}

    .listBox-w8 .itemMeta .itemTag {
        display: inline-block;
        line-height: 1;
        font-size: 12px;
        padding: 3px 4px;
        background: linear-gradient(120deg, var(--primary-color-2), var(--primary-color));
        border-radius: 2px;
        color: var(--white-color);
        margin-right: 4px;
    }

    .listBox-w8 .itemMeta .itemPlayCount {
        display: flex;
        align-items: center;
        gap: 4px;
        line-height: 1;
        margin-left: auto;
        flex-shrink: 0;
    }

        .listBox-w8 .itemMeta .itemPlayCount span {
            line-height: 1;
        }

        .listBox-w8 .itemMeta .itemPlayCount img {
            width: 14px;
            height: 14px;
            background-color: var(--primary-color);
        }

/* 横图版本 - PC端前3个一排，后面4个一排，移动端1个一排 */
.listBox-w0 .listItem {
    flex-direction: column;
    width: calc(33.333% - 10px);
    margin-right: 15px;
    margin-top: 15px;
}

/* 前三个的右边距 */
.listBox-w0 .listItem:nth-child(-n+3):nth-child(3n) {
    margin-right: 0;
}

/* 第四个及以后改为4个一排 */
.listBox-w0 .listItem:nth-child(n+4) {
    width: calc(25% - 11.25px);
}

/* 第7、11、15...个（4+3, 4+7, 4+11...）的右边距为0 */
.listBox-w0 .listItem:nth-child(4n+3):nth-child(n+4) {
    margin-right: 0;
}

.listBox-w0 .listImgBox {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin-bottom: 10px;
}

.listBox-w0 .listInfoBox {
    width: 100%;
}

.listBox-w0 .itemAuthor em:first-child {
    margin-left: 0;
}

.listBox-w0 .itemAuthor em:first-child::before {
    display: none;
}

.listBox-w0 .itemDesc {
    font-size: 14px;
    color: var(--color-666);
    line-height: 18px;
    min-height: 36px;
    height: 36px;
    margin-top: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-align: center;
}

.listBox-w0 .itemAuthor {
    margin-top: 8px;
    margin-bottom: 0;
    padding-top: 0;
    text-align: center;
}

.listBox-w0 .itemName {
    height: auto;
    margin-top: 0;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    -webkit-line-clamp: 1;
    text-align: center;
}

.listBox-w0 .itemMeta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--color-666);
    margin-top: 0;
}

.listBox-w0 .itemMeta .itemTag {
    display: inline-block;
    line-height: 1;
    font-size: 12px;
    padding: 3px 4px;
    background: linear-gradient(120deg, var(--primary-color-2), var(--primary-color));
    border-radius: 2px;
    color: var(--white-color);
    margin-right: 4px;
}

.listBox-w0 .itemMeta .itemPlayCount {
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
    margin-left: auto;
    flex-shrink: 0;
}

.listBox-w0 .itemMeta .itemPlayCount span {
    line-height: 1;
}

.listBox-w0 .itemMeta .itemPlayCount img {
    width: 14px;
    height: 14px;
    background-color: var(--primary-color);
}

/* 含swiper list */

.listBoxSwiper {
    margin-top: 18px;
    padding: 22px 18px;
    background: linear-gradient(180deg, var(--primary-light-color-2), var(--primary-light-color));
    width: 100%;
    overflow: hidden;
}

.listBoxSwiper .swiper-container-2 {
    overflow: hidden;
}

.listBoxSwiper .swiper-wrapper {
    overflow: visible;
}

.listBoxSwiper .swiper-slide {
    z-index: 1;
    overflow: visible;
}

.listBoxSwiper .swiper-slide-active {
    z-index: 2;
}

.listBoxSwiper .swiper-slide .bannerImg {
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.listBoxSwiper .swiper-slide .bannerImg img {
    box-shadow: 0 3px 3px #333;
    width: 108px;
    height: 144px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
    display: block;
}

.listBoxSwiper .swiper-slide-prev .bannerImg,
.listBoxSwiper .swiper-slide-next .bannerImg {
    transform: scale(0.8);
    opacity: 0.8;
}

.listBoxSwiper .swiper-slide-active .bannerImg {
    transform: scale(1);
    opacity: 1;
    position: relative;
    overflow: visible;
}


.listBoxSwiperInner {
    display: none;
}

.listBoxSwiper .swiper-slide-active .listBoxSwiperInner {
    display: flex;
    width: 274px;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
}

.listBoxSwiperInner h4 {
    width: 100%;
    font-weight: 700;
    padding: 18px 0 0;
    text-align: center;
    font-size: 16px;
    color: var(--color-333);
    transition: all 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.listBoxSwiper .swiper-slide .bannerImg:hover h4 {
    color: var(--primary-color);
}

.listBoxSwiperInner .authorName {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    padding-top: 14px;
    color: var(--color-666);
}

.listBoxSwiperInner .authorName em {
    display: inline-block;
    position: relative;
    line-height: 1;
    font-size: 12px;
    padding: 3px 4px;
    background: linear-gradient(120deg, var(--primary-color-2), var(--primary-color));
    border-radius: 2px;
    color: var(--white-color);
    margin-left: 1em;
}

.listBoxSwiperInner .authorName em::before {
    content: '';
    position: absolute;
    right: 100%;
    display: inline-block;
    color: var(--color-666);
    white-space: nowrap;
    /* margin-right: 6px; */
}

.listBoxSwiperInner .desc {
    width: 100%;
    text-align: center;
    font-size: 14px;
    height: 36px;
    line-height: 18px;
    padding-top: 14px;
    color: var(--color-666);
    /* 限制只出现两行 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 滚动样式 - PC端固定宽度，移动端展示3.5个 */
.swiper-wscroll {
    width: 100%;
    overflow: hidden;
    padding-bottom: 18px;
}

.listBox-wscroll {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
}

.listBox-wscroll .swiper-slide {
    width: 170px;
    flex-shrink: 0;
    height: auto;
}
.listBox-wscroll.more .swiper-slide {
    width: 114px;
}

.listBox-wscroll .listItem {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-top: 15px;
    margin-right: 0;
    width: 100%;
    display: flex;
}

.listBox-wscroll .listImgBox {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
}

.listBox-wscroll .listImgBox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listBox-wscroll .listItem:hover .listImgBox img {
    transform: scale(1.06);
}

.listBox-wscroll .listImgBox.size3x4 {
    width: 100%;
    aspect-ratio: 3 / 4;
}

.listBox-wscroll .listInfoBox {
    width: 100%;
    margin-top: 10px;
}

.listBox-wscroll .listItem .itemName {
    height: auto;
    margin-top: 0;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
}

.listBox-wscroll .listItem .itemAuthor {
    font-size: 12px;
    padding-top: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media screen and (max-width: 1080px) {
    .listImgBox {
        width: 78px;
        height: 104px;
    }
    .listInfoBox {
        width: calc(100% - 90px);
    }
    .itemDesc {
        height: 36px;
        -webkit-line-clamp: 2;
        margin-top: 10px;
        margin-bottom: 0;
    }
    .listBox {
        width: 100%;
    }

    .listBox .listItem {
        width: 100%;
        margin: 12px 0 0 0 !important;
    }

    .listBoxSwiper {
        width: 100%;
        margin: 12px 0 0 0 !important;
        padding: 16px 12px;
    }
    .listBoxSwiper .swiper{
        width: 274px;
        margin: 0 auto;
    }

    .listBoxSwiper .swiper-slide .bannerImg {
        width: auto;
        height: auto;
    }

    /*.listBoxSwiper .swiper-slide .bannerImg img {
        width: 105px;
        height: 140px;
    }*/

    .listBoxSwiper .swiper-slide-active .listBoxSwiperInner {
        width: calc(100vw - 48px);
        max-width: calc(100vw - 48px);
    }

    .listBox-ww3 .swiper-slide {
        width: calc(100vw - 60px);
    }

    .listBox-ww3 .listImgBox {
        width: calc(100vw - 60px);
        height: calc((100vw - 60px) * 0.3);
    }

    .listBox-ww3 .swiper-slide.size16x9 {
        width: calc(100vw - 60px);
    }

    .listBox-ww3 .listImgBox.size16x9 {
        width: calc(100vw - 60px);
        height: calc((100vw - 60px) * 9 / 16);
    }

    /* 滚动样式 - 移动端展示2.5个 */
    .listBox-wscroll .swiper-slide {
        width: calc((100vw - 54px) / 2.5);
    }
    .listBox-wscroll.more .swiper-slide {
        width: calc((100vw - 54px) / 4.5);
    }
}

/* 含排行榜样式 */
.listBoxHasRank {
    margin-top: 15px;
}

.listBoxHasRankNotHasTab {
    margin-top: 30px;
}

.listBoxRankTab {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    width: 100%;
    background-color: var(--color-efefef);
    border-radius: 4px;
}

.listBoxRankTab a {
    padding: 4px 12px;
    font-size: 14px;
    color: var(--color-666);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    background-color: transparent;
}

.listBoxRankTab a:hover,
.listBoxRankTab a.active {
    background: linear-gradient(120deg, var(--primary-color-2), var(--primary-color));
    color: var(--white-color);
    transform: scale(1.05);
}

.listBoxRankList {
    counter-reset: rank-counter;
    list-style: none;
    padding: 0;
    margin: 0;
}

.listBoxRankList li {
    position: relative;
    margin-top: 12px;
    padding-left: 36px;
    counter-increment: rank-counter;
    display: flex;
    align-items: center;
}

/* 前三个项目不需要 flex 布局，保持原样 */
.listBoxRankList li:nth-child(-n+3) {
    display: block;
}

.listBoxRankList li::before {
    content: counter(rank-counter);
    position: absolute;
    left: 0;
    top: 14px;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    line-height: 1;
}

/* 前三个特殊颜色 */
.listBoxRankList li:nth-child(1)::before {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--white-color);
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.4);
}

.listBoxRankList li:nth-child(2)::before {
    background: linear-gradient(135deg, #C0C0C0, #808080);
    color: var(--white-color);
    box-shadow: 0 2px 6px rgba(192, 192, 192, 0.4);
}

.listBoxRankList li:nth-child(3)::before {
    background: linear-gradient(135deg, #CD7F32, #8B4513);
    color: var(--white-color);
    box-shadow: 0 2px 6px rgba(205, 127, 50, 0.4);
}

/* 第四名及以后灰色 */
.listBoxRankList li:nth-child(n+4)::before {
    background: var(--color-efefef);
    color: var(--color-666);
}

/* 前三个显示图片 */
.listBoxRankList li:nth-child(-n+3) .listImgBox {
    display: block;
    width: 72px;
    height: 96px;
    flex-shrink: 0;
    transition: all 0.3s;
}

.listBoxHasRankBigImage .listBoxRankList li:nth-child(-n+3) .listImgBox {
    width: 100px;
    height: 133px;
}

.listBoxHasRankBigImage .listBoxRankList li:nth-child(-n+3) .itemMeta {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: var(--color-666);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.listBoxHasRankBigImage .listBoxRankList li:nth-child(-n+3) .itemMeta .itemTag {
    display: inline-block;
    line-height: 1;
    font-size: 12px;
    padding: 3px 4px;
    background: linear-gradient(120deg, var(--primary-color-2), var(--primary-color));
    border-radius: 2px;
    color: var(--white-color);
}

.listBoxHasRankBigImage .listBoxRankList li:nth-child(-n+3) .itemPlayCount {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
}

.listBoxHasRankBigImage .listBoxRankList li .itemPlayCount img {
    width: 14px;
    height: 14px;
    background-color: var(--primary-color);
}

.listBoxHasRankBigImage .listBoxRankList li .itemPlayCount span {
    line-height: 1;
}


.listBoxRankList li:nth-child(-n+3) .listImgBox img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    transition: all 0.3s;
}

.listBoxRankList li:nth-child(-n+3) .listItem:hover .listImgBox img {
    transform: scale(1.05);
}

.listBoxRankList li:nth-child(n+4) .listImgBox {
    display: none;
}

/* 前三个项目的布局保持原样 */
.listBoxRankList li:nth-child(-n+3) .listItem {
    display: flex;
    justify-content: space-between;
    /* align-items: flex-start; */
}

.listBoxRankList li:nth-child(-n+3) .listInfoBox {
    width: calc(100% - 82px);
    display: block;
}

.listBoxHasRankBigImage .listBoxRankList li:nth-child(-n+3) .listInfoBox {
    width: calc(100% - 110px);
    position: relative;
}

/* 第四个及以后的项目布局调整（无图片）- 左右两端布局 */
.listBoxRankList li:nth-child(n+4) {
    justify-content: space-between;
}

.listBoxRankList li:nth-child(n+4) .listItem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.listBoxRankList li:nth-child(n+4) .listInfoBox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex: 1;
}

.listBoxRankList li:nth-child(n+4) .itemName {
    flex: 1;
    margin-right: 15px;
    line-height: 28px;
    margin-bottom: 0;
    font-weight: normal;
}

.listBoxRankList li:nth-child(n+4) .itemAuthor {
    padding-top: 0;
    margin-bottom: 0;
}

/* 第四个及以后的项目不显示标签 */
.listBoxRankList li:nth-child(n+4) .itemAuthor em {
    display: none;
}

/* 排行榜中所有书名改为一行显示 */
.listBoxRankList .itemName {
    height: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
}

/* 前三个项目的书名显示2行 */
.listBoxRankList li:nth-child(-n+3) .itemName {
    /*margin-top: 0;*/
    max-height: 20px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    font-weight: bold;
}

.listBoxRankList li:nth-child(-n+3) .itemDesc {
    margin-top: 8px;
    margin-bottom: 8px;
    -webkit-line-clamp: 1;
    height: 18px;
}
.listBoxRankList li:nth-child(-n+3) .itemAuthor {
    margin-bottom: 0;
    padding-top: 0px;
}


/* 响应式 */
@media screen and (max-width: 1080px) {
    .listBoxRankList li {
        padding-left: 35px;
    }

    .listBoxRankList li::before {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    /* 移动端大图版本 - 一排2个 */
    .listBox-w4 .listItem {
        width: calc((100% - 12px) / 2) !important;
        margin: 12px 12px 0 0 !important;
    }

    .listBox-w4 .listItem:nth-child(4n) {
        margin-right: 12px !important;
    }

    .listBox-w4 .listItem:nth-child(2n) {
        margin-right: 0 !important;
    }

    .listBox-w5 .listItem {
        width: calc((100% - 12px) / 2) !important;
        margin: 12px 12px 0 0 !important;
    }

    .listBox-w5 .listItem:nth-child(5n) {
        margin-right: 12px !important;
    }

    .listBox-w5 .listItem:nth-child(2n) {
        margin-right: 0 !important;
    }

    /* 移动端大图版本 - 一排3个 */
    .listBox-w6 .listItem {
        width: calc((100% - 24px) / 3) !important;
        margin: 12px 12px 0 0 !important;
    }

    .listBox-w6 .listItem:nth-child(3n) {
        margin-right: 0 !important;
    }

    /* 移动端大图版本 - 一排3个 */
    .listBox-w8 .listItem {
        width: calc((100% - 36px) / 4) !important;
        margin: 12px 12px 0 0 !important;
    }

    .listBox-w8 .listItem:nth-child(8n) {
        margin-right: 12px !important;
    }

    .listBox-w8 .listItem:nth-child(4n) {
        margin-right: 0 !important;
    }

    

    /* 移动端横图版本 - 一排1个 */
    .listBox-w0 .listItem {
        width: 100% !important;
        margin: 12px 0 0 0 !important;
    }
}