/* styles/widgets/streak-leaderboard.css
 *
 * Extracted from styles/main.css during T4#20 (the May-2026
 * CSS-split refactor). Originally lived at lines 5093-5150
 * of main.css. Cascade order is preserved: main.css loads first
 * (themes + base + modal/tab/layout infra), then per-widget
 * files in alphabetical order via <link> tags in index.html.
 */

/* ── STREAK LEADERBOARD (Slice 4) ──────────────────────────── */
.streak-lb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.streak-lb-empty {
    color: var(--muted);
    text-align: center;
    padding: 16px 8px;
    line-height: 1.5;
}
.streak-lb-row {
    --habit-color: var(--green);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-left: 3px solid var(--habit-color);
    border-radius: 8px;
    background: var(--surface2);
}
.streak-lb-rank {
    flex: 0 0 auto;
    width: 28px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--muted);
}
.streak-lb-icon {
    flex: 0 0 auto;
    width: 24px;
    text-align: center;
    font-size: 18px;
}
.streak-lb-name {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.streak-lb-streak {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 700;
    color: var(--habit-color);
    font-variant-numeric: tabular-nums;
}

