.list1,
.list2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.list1 .li-box,
.list2 .li-box {
    position: relative;
    overflow: hidden;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform .25s, box-shadow .25s;
    cursor: pointer;
}

.list1 .li-box:hover,
.list2 .li-box:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: var(--shadow-hover);
}

.list1 .li-box img,
.list2 .li-box img {
    width: 100%;
    height: 140px;
    display: block;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.li-text {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    padding: 12px 14px;
    color: var(--ink);
}

.list5 {
    display: flex;
    flex-direction: column;
}

.list5 .li-box .li-text {
    padding: 12px 0;
}

.list5 .li-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 8px;
    border-radius: 12px;
    transition: .2s;
    cursor: pointer;
}

.list5 .li-box:hover {
    background: #f7f4ff;
}

.list5 .li-box .rank-num {
    width: 28px;
    height: 28px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    border-radius: 10px;
    background: #f0ecff;
    color: #9a8fd0;
}

.list5 .li-box:nth-child(1) .rank-num {
    background: linear-gradient(135deg, #b3b3c9, #8f8fb3);
}

.list5 .li-box:nth-child(2) .rank-num {
    background: linear-gradient(135deg, #d9a05b, #b06c2f);
}

.list5 .li-box:nth-child(-n+3) .rank-num {
    color: #fff;
}

.list5 .li-box img {
    width: 54px;
    height: 42px;
    border-radius: 10px;
}

.side-box {
    background: var(--card);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.side-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.side-title .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--violet), var(--pink));
}

.content {
    width: 96%;
    display: flex;
    justify-content: space-between;
    padding: 20px 2%;
    column-gap: 24px;
}

.main {
    width: 71%;
    display: flex;
    flex-direction: column;
    row-gap: 36px;
}

.c-right {
    min-width: 25%;
    position: relative;
    flex: 1;
}

.sticky {
    position: sticky;
    top: 80px;
    bottom: auto;

}

.c-right .m-box {
    margin-top: 20px;
}

.c-right .m-box .m-title {
    justify-content: space-between !important;
}

.m-title {
    width: calc(100% - 36px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: capitalize;
    font-size: 18px;
    margin-bottom: 16px;
    padding: 12px 18px;
    border-radius: 14px;
    color: #fff;
}

.mt-left {
    width: auto;
    display: flex;
    align-items: center;
    font-weight: bold;
}

.mt-right {
    width: auto;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, .25);
    border: 1px solid rgba(255, 255, 255, .5);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 999px;
    transition: .2s;
}

.c-right .m-title:nth-of-type(1) {
    justify-content: center;
}

.mt-right svg {
    width: 13px;
    margin-left: 5px;
    font-weight: 400;
}

.m-box:nth-of-type(3n+1) .m-title {
    background: linear-gradient(90deg, #ff8a3d, #ffb13d);
}

.m-box:nth-of-type(3n+2) .m-title {
    background: linear-gradient(90deg, #12c9b1, #4da3ff);
}

.m-box:nth-of-type(3n+3) .m-title {
    background: linear-gradient(90deg, #7b5cff, #b15cff);
}

.type-box {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.type-box a {
    font-size: 12px;
    font-weight: 600;
    padding: 7px 13px;
    border-radius: 999px;
    background: #f2efff;
    color: #6d63a8;
}

.type-box a:hover {
    background: #e5dfff;
    transform: translateY(-1px);
}

.m-box {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 10;
    border-radius: 10px;
}

.explore {
    width: 180px;
    line-height: 40px;
    margin: 20px auto;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    background-color: #ffffff;
    border: 2px solid #fff;
    box-shadow: 4px 4px 20px 0 rgb(10 148 228 / 50%);
    border-radius: 10px;
    position: relative;
    cursor: pointer;
}

.end {
    background-color: transparent;
    color: #000;
    font-size: 20px;
    text-align: center;
    line-height: 40px;
    box-shadow: 0px 0px 0px transparent;
    border: none;
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 999;
    display: flex;
    justify-content: center;
    border: 2px solid #000;
    align-items: center;
    display: none;
}

.loading::after {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 4px solid #fff;
    border-top-color: #000;
    animation: loading 1s linear infinite;
}

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

@media (max-width:1000px) {
    .content {
        width: 100%;
        padding: 0;
    }

    .main {
        width: calc(100% - 32px);
        margin: 20px auto 0;
    }

    .mt-right svg {
        width: 15px !important;
        margin-left: 5px;
    }

    .c-right {
        display: none;
    }

    .li-box img {
        width: 95%;
        height: 80px;
        display: block;
        border-radius: 5px;
        margin: auto;
    }

    .li-text {
        text-align: center;
        line-height: 1.5;
        text-align: center;
        margin-top: 5px;
        color: #000;
        font-size: 16px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
    }
}

@media (max-width: 600px) {

    .list1,
    .list2 {
        grid-template-columns: repeat(2, 1fr);
    }
}