/* Generated from leaderboard.html inline styles */
.page-header { padding: calc(var(--nav-height) + 60px) 0 30px; text-align: center; }
        .leaderboard-wrap { max-width: 640px; margin: 0 auto; padding: 0 24px 80px; }
        .lb-row {
            display: flex; align-items: center; gap: 16px;
            background: var(--bg-glass); border: 1px solid var(--border-glass);
            border-radius: var(--radius-md, 10px); padding: 14px 18px; margin-bottom: 10px;
        }
        .lb-rank {
            width: 36px; height: 36px; border-radius: 50%; display: flex;
            align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0;
            background: rgba(127,127,127,0.15); color: var(--text-secondary);
        }
        .lb-row:nth-child(1) .lb-rank { background: #FFD700; color: #4A3800; }
        .lb-row:nth-child(2) .lb-rank { background: #C0C0C0; color: #333; }
        .lb-row:nth-child(3) .lb-rank { background: #CD7F32; color: #fff; }
        .lb-info { flex: 1; min-width: 0; }
        .lb-info .lb-name { font-weight: 600; }
        .lb-info .lb-dept { font-size: 0.82rem; color: var(--text-muted); }
        .lb-hours { font-weight: 700; color: var(--accent); white-space: nowrap; }
        .empty-note { text-align: center; color: var(--text-muted); padding: 60px 24px; }
        .skeleton {
            background: linear-gradient(90deg, rgba(127,127,127,0.12) 25%, rgba(127,127,127,0.22) 37%, rgba(127,127,127,0.12) 63%);
            background-size: 400% 100%;
            animation: skeleton-shimmer 1.4s ease infinite;
            border-radius: var(--radius-md, 10px);
        }
        @keyframes skeleton-shimmer {
            0% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        .lb-skeleton { height: 64px; margin-bottom: 10px; }

/* Badges container inside name flex */
.lb-name-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.lb-badges-strip {
    display: flex;
    align-items: center;
    gap: 4px;
}
.lb-badge-icon {
    position: relative;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lb-badge-icon:hover {
    transform: scale(1.2) rotate(8deg);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Tooltip design */
.lb-badge-icon .tooltip {
    visibility: hidden;
    width: 180px;
    background-color: #1e293b;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 6px 10px;
    position: absolute;
    z-index: 10;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s ease;
    font-size: 0.75rem;
    line-height: 1.25;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    pointer-events: none;
}
.lb-badge-icon .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #1e293b transparent transparent transparent;
}
.lb-badge-icon:hover .tooltip {
    visibility: visible;
    opacity: 1;
}
