@font-face {
    font-family: "BebasNeue";
    src: url("BebasNeue.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    /* 防止白屏字体 */
}
.font-bebas {
    font-family: "BebasNeue", sans-serif;
}
body{
    background-color: #f3f3f3;
}

/* 隐藏滚动条（Chrome / Safari / Edge） */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* 隐藏滚动条（Firefox） */
.scrollbar-hide {
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* IE 10+ */
}



.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: #E84B5B;
    border-color: #E84B5B;
}

/* 当前页 */
.pagination .active span {
    color: #fff;
    background: #E84B5B;
    border-color: #E84B5B;
    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;
    }
}