/* 排行榜页面专用样式 */
.leaderboard-container {
    max-width: 1000px;
    margin: 30px auto;
    overflow-x: auto;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
}

.leaderboard-table th,
.leaderboard-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.leaderboard-table th {
    background-color: #0047AB;
    color: white;
    font-weight: bold;
    font-size: 16px;
    position: sticky;
    top: 0;
}

.leaderboard-table tbody tr:hover {
    background-color: #f8f9fa;
}

.leaderboard-table tbody tr:nth-child(1) {
    background-color: white;
}

.leaderboard-table tbody tr:nth-child(1) td:first-child {
    position: relative;
}

.leaderboard-table tbody tr:nth-child(1) td:first-child::after {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

.leaderboard-table tbody tr:nth-child(2) td:first-child::after {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

.leaderboard-table tbody tr:nth-child(3) td:first-child::after {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

.leaderboard-table tbody tr:nth-child(2) td:first-child,
.leaderboard-table tbody tr:nth-child(3) td:first-child {
    position: relative;
}

.leaderboard-info {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: left;
    font-size: 14px;
    color: #666;
}

.leaderboard-info p {
    margin: 8px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {

    .leaderboard-table th,
    .leaderboard-table td {
        padding: 10px 8px;
        font-size: 14px;
    }

    h1 {
        font-size: 32px;
    }
}

.no-wrap {
    white-space: nowrap;
    display: block;
    width: 100%;
    font-size: min(6vw, 48px);
}