
body{
    background-color: #f9f9f9;
    font-size: 14px;
}


.nav .nav-link{
    display: block;
    font-size: 14px;
    padding: 0.3rem .6rem;
    border-radius: 4px;
}
.nav .nav-link:hover,
.nav .nav-link.active{
    background-color: #E4002B;
    color: #fff;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 16px 0;
    list-style: none;
    margin: 0;
}

.pagination li {
    display: inline-flex;
}

.pagination a,
.pagination span {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
    line-height: 1;
    text-decoration: none;

    color: #333;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;

    transition: all 0.15s ease;
}

/* hover */
.pagination a:hover {
    color: #fff;
    background: #E4002B;
    border-color: #E4002B;
}

/* 当前页 */
.pagination .active span {
    color: #fff;
    background: #E4002B;
    border-color: #E4002B;
    cursor: default;
}

/* 禁用 */
.pagination .disabled span {
    color: #9ca3af;
    background: #f9fafb;
    border-color: #e5e7eb;
    cursor: not-allowed;
}

/* 上一页 / 下一页稍微大一点 */
.pagination li:first-child span,
.pagination li:last-child a {
    font-size: 16px;
}

@media (max-width: 480px) {
    .pagination {
        gap: 4px;
    }

    .pagination a,
    .pagination span {
        min-width: 26px;
        height: 26px;
        font-size: 12px;
        padding: 0 6px;
    }
}


.live-btn::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: linear-gradient(120deg,
            transparent 20%,
            rgba(228, 0, 43, 0.1),
            transparent 80%);
    animation: borderScan 2.2s linear infinite;
}

@keyframes borderScan {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}