/* 排行榜样式 */
.leaderboard-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.leaderboard-modal {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.leaderboard-header {
    text-align: center;
    margin-bottom: 30px;
}

.leaderboard-header h2 {
    font-size: 2em;
    color: #4a5568;
    margin-bottom: 10px;
}

.leaderboard-list {
    list-style: none;
    padding: 0;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: #f7fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.leaderboard-item:hover {
    background: #edf2f7;
    transform: translateY(-2px);
}

.leaderboard-rank {
    font-size: 1.5em;
    font-weight: bold;
    width: 50px;
    text-align: center;
    color: #4a5568;
}

.leaderboard-rank.rank-1 {
    color: #ffd700;
}

.leaderboard-rank.rank-2 {
    color: #c0c0c0;
}

.leaderboard-rank.rank-3 {
    color: #cd7f32;
}

.leaderboard-info {
    flex: 1;
    margin-left: 15px;
}

.leaderboard-name {
    font-size: 1.2em;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 5px;
}

.leaderboard-time {
    font-size: 0.9em;
    color: #718096;
}

.leaderboard-score {
    font-size: 1.3em;
    font-weight: bold;
    color: #48bb78;
}

.leaderboard-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.empty-leaderboard {
    text-align: center;
    padding: 40px 20px;
    color: #718096;
}

.empty-leaderboard-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.empty-leaderboard-text {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.empty-leaderboard-hint {
    font-size: 1em;
    color: #a0aec0;
}