.pagination {
    align-self: stretch;
    width: 100%;
    overflow: visible;
    justify-content: center;
    align-items: center;
    gap: 12px;
    display: flex;
    flex-wrap: wrap;
    padding-block: 4px;
}

.pagination-btn {
    width: 48px;
    min-width: 48px;
    height: 48px;
    padding: 0;
    background: #3D3D3D;
    overflow: hidden;
    border-radius: 999px;
    justify-content: center;
    align-items: center;
    display: flex;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.55);
    font-size: 16px;
    font-family: PingFang SC, sans-serif;
    font-weight: 400;
    line-height: 22px;
    text-decoration: none;
    box-sizing: border-box;
    flex-shrink: 0;
}

a.pagination-btn:hover {
    color: #F5F5F5;
}

.pagination-btn.is-disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

.pagination-btn--wide {
    width: 48px;
    min-width: 48px;
}

.pagination-btn--active {
    background: #FF4B02;
    color: #FFFFFF;
}

.pagination-btn--arrow {
    width: 48px;
    min-width: 48px;
    padding: 0;
}

.pagination-arrow {
    width: 24px;
    height: 24px;
    display: block;
}

.pagination-ellipsis {
    width: 32px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 16px;
    font-family: PingFang SC, sans-serif;
    font-weight: 400;
    line-height: 22px;
    word-wrap: break-word;
    flex-shrink: 0;
}

.pagination-jump {
    overflow: visible;
    justify-content: center;
    align-items: center;
    gap: 8px;
    display: flex;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    flex-shrink: 0;
}

.pagination-jump-label {
    color: rgba(255, 255, 255, 0.55);
    font-size: 16px;
    font-family: "Noto Sans SC", "PingFang SC", sans-serif;
    font-weight: 400;
    line-height: 22px;
    word-wrap: break-word;
    flex-shrink: 0;
}

.pagination-jump-input {
    width: 72px;
    height: 48px;
    padding: 0;
    background: #3D3D3D;
    overflow: hidden;
    border: none;
    border-radius: 999px;
    border: none;
    color: rgba(255, 255, 255, 0.55);
    font-size: 16px;
    font-family: "Noto Sans SC", "PingFang SC", sans-serif;
    font-weight: 400;
    line-height: 22px;
    text-align: center;
    box-sizing: border-box;
}

.pagination-jump-input::-webkit-outer-spin-button,
.pagination-jump-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pagination-jump-input:focus,
.pagination-jump-input:focus-visible {
    color: #F5F5F5;
    outline: none;
    outline-color: transparent;
    box-shadow: none;
}

.pagination-jump-submit {
    width: 96px;
    height: 48px;
    padding: 0;
    background: #FF4B02;
    overflow: hidden;
    border: none;
    border-radius: 999px;
    color: #FFFFFF;
    font-size: 16px;
    font-family: "Noto Sans SC", "PingFang SC", sans-serif;
    font-weight: 400;
    line-height: 22px;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    display: flex;
    box-sizing: border-box;
}

.pagination-jump-submit:hover {
    background: #e94300;
}

@media (max-width: 767px) {
    .pagination {
        width: 100%;
        overflow: visible;
        flex-wrap: wrap;
        justify-content: center;
    }

    .pagination-jump {
        display: none;
    }
}

.pagination-btn:focus-visible, .pagination-jump-submit:focus-visible, .pagination-jump-input:focus-visible { outline: 2px solid #FF4B02; outline-offset: 2px; }
@media (max-width: 767px) {
 .pagination { width: max-content; max-width: 100%; gap: clamp(2px, calc((100vw - 302px) / 8), 9.375px); justify-content: center; align-self: center; margin-inline: auto; flex-wrap: nowrap; }
 .pagination-btn { width: 30px; min-width: 30px; height: 30px; font-size: 14px; line-height: 20px; background: rgba(255,255,255,.1); }
 .pagination-btn--active { background: #FF4B02; }
 .pagination-arrow { width: 16px; height: 16px; }
 .pagination-ellipsis { width: 28px; height: 30px; font-size: 14px; }
}
