.topic-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 0 24px;
    text-align: center;
}

.topic-pagination-detail {
    align-self: stretch;
    margin-top: 30px;
    padding: 0 20px 20px;
    gap: 12px;
}

.topic-pagination-total,
.topic-pagination-size,
.topic-pagination-link,
.topic-pagination-arrow,
.topic-pagination-input {
    display: block;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border: 2px solid #ecedf2;
    background: #ffffff;
    color: #666666;
    font-size: 14px;
    line-height: 30px;
    text-align: center;
    vertical-align: top;
    box-sizing: border-box;
}

.topic-pagination-total {
    min-width: 0;
    height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    line-height: 34px;
}

.topic-pagination-size {
    width: 80px;
    border-width: 1px;
    line-height: 32px;
}

.topic-pagination-arrow {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 2px solid #ecedf2;
    background: #ecedf2;
    color: #c0c4cc;
    line-height: 32px;
    box-sizing: border-box;
}

.topic-pagination-link {
    min-width: 38px;
    border-width: 1px;
    line-height: 32px;
}

.topic-pagination-link.is-current {
    border-color: #7db0ea;
    color: #0273c3;
}

.topic-pagination-input {
    width: 48px;
    border-width: 1px;
    line-height: 32px;
}

.topic-pagination-jump {
    display: block;
    color: #666666;
    font-size: 14px;
    line-height: 34px;
}

/* 修复 mricode 分页跳转区换行问题 */
.m-pagination-jump {
    width: auto;
    min-width: 90px;
}

.m-pagination-group {
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
    white-space: nowrap;
}

.m-pagination-group > input,
.m-pagination-group > button {
    float: left;
    box-sizing: border-box;
}

.m-pagination-group > input {
    height: 26px;
    line-height: 26px;
}

.m-pagination-group > button {
    height: 28px;
    line-height: 26px;
}
