/* ============================================================
   Stat Leaders Widget  [ch_stat_leaders]
   ============================================================ */

.ch-stat-leaders {
    background: var(--surface);
    border: 1px solid #002a5e;
    overflow: hidden;
    font-family: 'Barlow Condensed', sans-serif;
}

.ch-sl-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg)
}

.ch-sl-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 14px;
}

.ch-sl-season {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.ch-sl-season:hover {
    color: #d4b06e;
}

/* Tabs */

.ch-sl-tabs {
    display: flex;
    background: var(--surface-raised);
    border-bottom: 1px solid var(--border);
}

.ch-sl-tab {
    flex: 1;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    padding: 10px 12px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.15s, border-bottom-color 0.15s;
}

.ch-sl-tab.ch-sl-tab--active {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

.ch-sl-tab:hover:not(.ch-sl-tab--active) {
    color: var(--text);
}

/* Panels */

.ch-sl-panel {
    display: none;
}

.ch-sl-panel.ch-sl-panel--active {
    display: block;
}

/* Rows */

.ch-sl-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    border-bottom: 1px solid var(--border);
}

.ch-sl-row:last-child {
    border-bottom: none;
}

.ch-sl-cat {
    flex-shrink: 0;
    width: 52px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #c8bfa8;
    line-height: 1.2;
}

.ch-sl-player {
    flex: 1;
    min-width: 0;
}

.ch-sl-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.ch-sl-meta {
    font-size: 11px;
    color: #c8bfa8;
    margin-top: 2px;
}

.ch-sl-value {
    flex-shrink: 0;
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.02em;
    min-width: 40px;
    text-align: right;
    line-height: 1;
}

/* Null / empty state */

.ch-sl-null {
    padding: 28px 16px;
    text-align: center;
    font-size: 13px;
    font-family: 'Barlow', sans-serif;
    color: var(--text-faint);
}
