/* 基础复用样式 */
.text-light-opacity-80 {
    color: rgba(255,255,255,0.8) !important;
}
.sidebar-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    padding: 1.2rem;
    margin-bottom: 1.5rem;
}
.sidebar-card li:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
/* 榜单切换栏 */
.rank-tab-bar {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}
.type-tab {
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}
.type-tab.active {
    background-color: #0d6efd;
    color: #fff;
}
.type-tab:hover:not(.active) {
    background-color: #f1f1f1;
}
.sort-tab-group {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.sort-tab {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.sort-tab.active {
    background-color:#0d6efd;
    color: #fff;
}
.sort-tab:hover:not(.active) {
    background-color: #f1f1f1;
}
/* 榜单列表样式 */
.rank-list-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.rank-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px dashed #eee;
    transition: all 0.2s;
}
.rank-item:last-child {
    border-bottom: none;
}
.rank-item:hover {
    background-color: #f8f9fa;
    padding-left: 0.5rem;
    border-radius: 4px;
}
/* 排名标识 */
.rank-num {
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    font-weight: bold;
    color: #fff;
    margin-right: 1rem;
    flex-shrink: 0;
}
.rank-num.top1 {
    background-color: #ffd700;
    color: #333;
}
.rank-num.top2 {
    background-color: #c0c0c0;
}
.rank-num.top3 {
    background-color: #cd7f32;
}
.rank-num.other {
    background-color: #0d6efd;
    opacity: 0.7;
}
/* 作品信息 */
.rank-work-info {
    flex-grow: 1;
}
.rank-work-title {
    font-weight: 600;
    color: #333;
    text-decoration: none;
    font-size: 1.05rem;
}
.rank-work-title:hover {
    color: #0d6efd;
}
.rank-work-meta {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.rank-work-tag {
    display: inline-block;
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background-color: #f1f1f1;
    color: #666;
    margin-right: 0.5rem;
}
.rank-work-data {
    text-align: right;
    flex-shrink: 0;
    min-width: 120px;
    color: #999;
    font-size: 0.9rem;
}
/* 分页样式 */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}
.page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}
.page-link {
    color: #333;
}
.page-link:hover {
    color: #0d6efd;
    border-color: #0d6efd;
}