.ranking-page {
    padding: 20px;
}

.page-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
}

.ranking-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.ranking-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
}

.ranking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.ranking-header h2 {
    font-size: 18px;
    color: #333;
}

.more-btn {
    color: #999;
    font-size: 12px;
    cursor: pointer;
    transition: color 0.3s;
    text-decoration: none;
}

.more-btn:hover {
    color: #c62f2f;
}

.ranking-songs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.song-row {
    display: flex;
    align-items: center;
    padding: 8px 0;
    transition: background-color 0.3s;
}

.song-row:hover {
    background-color: #f8f8f8;
    border-radius: 4px;
    padding-left: 8px;
    padding-right: 8px;
}

.song-rank {
    width: 30px;
    text-align: center;
    color: #c62f2f;
    font-weight: bold;
    font-size: 16px;
}

.song-info {
    flex: 1;
    margin-left: 15px;
}

.song-title {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.song-artist {
    font-size: 12px;
    color: #999;
}

.song-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    width: 28px;
    height: 28px;
    background-color: transparent;
    color: #999;
    font-size: 14px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.action-btn:hover {
    background-color: #f0f0f0;
    color: #c62f2f;
}

/* 排行榜收藏按钮图标 */
.icon-favorite-small {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url('/assets/images/aixin.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.favorite-btn.favorited .icon-favorite-small {
    background-image: url('/assets/images/aixin.png');
    filter: brightness(0) saturate(100%) invert(20%) sepia(100%) saturate(5000%) hue-rotate(340deg) brightness(0.8);
}

