.leaderboard-page {
    max-width: 900px;
}

#leaderboard-content {
    overflow-x: auto;
}

.leaderboard-page table {
    width: 100%;

    border-collapse: separate;
    border-spacing: 0 10px;

    font-variant-numeric: tabular-nums;
}

.leaderboard-page th {
    padding: 0 16px 8px;

    color: var(--muted-text);

    font-size: 0.78rem;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.leaderboard-page td {
    padding: 16px;

    background: var(--surface-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.leaderboard-page td:first-child {
    width: 90px;

    border-left: 1px solid var(--border);
    border-radius: 12px 0 0 12px;

    font-size: 1.1rem;
    font-weight: 800;
    text-align: center;
}

.leaderboard-page td:last-child {
    border-right: 1px solid var(--border);
    border-radius: 0 12px 12px 0;

    color: var(--accent-hover);
    font-size: 1.1rem;
    font-weight: 800;
    text-align: right;
}

.leaderboard-page tbody tr:nth-child(1) td:first-child {
    color: #ffd76a;
}

.leaderboard-page tbody tr:nth-child(2) td:first-child {
    color: #c7cfdd;
}

.leaderboard-page tbody tr:nth-child(3) td:first-child {
    color: #d99a6c;
}

@media (max-width: 500px) {
    .leaderboard-page th,
    .leaderboard-page td {
        padding: 12px 10px;
    }

    .leaderboard-page th:nth-child(3),
    .leaderboard-page td:nth-child(3) {
        display: none;
    }
}

.leaderboard-page th:first-child {
    width: 90px;
    text-align: center;
}

.leaderboard-page th:last-child {
    text-align: right;
}

.leaderboard-page .leaderboard-empty {
    width: auto;

    color: var(--muted-text);
    border: 1px solid var(--border);
    border-radius: 12px;

    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
}