
/* Used by:
 *   Leaderboard/Detailed.html
 *   Leaderboard/top_leaderboard.html
 */

.top-leaderboard-widget {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}
.top-leaderboard-widget h3 {
    margin-bottom: 1rem;
    color: var(--hw-gold);
}
.top-leaderboard-widget .lb-description {
    margin-bottom: 1rem;
    font-style: italic;
    opacity: 0.8;
}
.top-lb-table {
    width: 100%;
    border-collapse: collapse;
}
.top-lb-table caption {
    text-align: left;
    padding: 0 0.75rem 0.5rem;
    font-weight: 600;
}
.top-lb-table th {
    text-align: left;
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.6;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.top-lb-table th:last-child {
    text-align: right;
}
.top-lb-table td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.top-lb-table tr:last-child td {
    border-bottom: none;
}
.top-lb-table tr.top-lb-current-user {
    background-color: rgba(255,203,0,0.15);
}
.top-lb-rank {
    width: 2.5rem;
    font-weight: 700;
    color: var(--hw-gold);
    font-size: 1.1rem;
}
.top-lb-rank-1 {
    font-size: 1.3rem;
}
.top-lb-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.top-lb-name img {
    width: 32px;
    height: 32px;
}
.top-lb-name a {
    color: #fff;
    text-decoration: none;
}
.top-lb-name a:hover {
    color: var(--hw-gold);
}
.top-lb-value {
    text-align: right;
    font-weight: 600;
    white-space: nowrap;
}
.top-lb-more {
    text-align: right;
    margin-top: 0.75rem;
}
.top-lb-more a {
    color: var(--hw-gold);
    text-decoration: none;
    font-weight: 600;
}
