.leaderboard-table-container { 
            background: rgba(14, 18, 28, 0.75); 
            border: 1px solid rgba(255, 255, 255, 0.08); 
            border-top: 3px solid var(--primary);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-radius: 0; 
            padding: 24px; 
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
            position: relative;
            margin-bottom: 10px;
        }
        .rank-col { width: 32px; min-width: 28px; padding-left: 2px !important; padding-right: 2px !important; text-align: center; color: var(--text-muted); font-weight: 700; }
        .lb-select-wrapper { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
        .lb-select { 
            background: rgba(14, 18, 28, 0.85); 
            border: 1px solid rgba(255, 255, 255, 0.12); 
            color: #ffffff; 
            padding: 9px 16px; 
            border-radius: 0; 
            outline: none; 
            font-family: 'Rajdhani', sans-serif; 
            font-size: 14px; 
            font-weight: 700;
            letter-spacing: 0.5px;
            cursor: pointer; 
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            transition: all 0.2s;
        }
        .faction-toggle-container {
            display: inline-flex;
            gap: 4px;
            background: rgba(14, 18, 28, 0.85);
            padding: 3px;
            border-radius: 4px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
            overflow-x: auto;
        }
        .faction-toggle-btn {
            background: transparent;
            border: none;
            color: #8c9ba5;
            font-family: 'Rajdhani', sans-serif;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 1px;
            padding: 6px 14px;
            cursor: pointer;
            border-radius: 4px;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            white-space: nowrap;
            text-transform: uppercase;
        }
        .faction-toggle-btn:hover {
            color: #fff;
            background: rgba(255, 255, 255, 0.05);
        }
        .faction-toggle-btn.active {
            color: #0b0e14;
            font-weight: 800;
            background: var(--primary);
            border-radius: 4px;
            box-shadow: 0 0 16px rgba(255, 179, 0, 0.5);
        }

        /* ==========================================================================
           Leaderboards Tracks & Carousels
           ========================================================================== */
        .lb-track-section {
            margin-bottom: 24px;
        }
        .lb-track-section:last-of-type {
            margin-bottom: 10px;
        }
        .lb-track-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            margin-bottom: 14px;
            padding-bottom: 8px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            flex-wrap: wrap;
            gap: 10px;
        }
        .lb-track-title {
            margin: 0;
            font-size: 20px;
            font-weight: 800;
            letter-spacing: 1.2px;
            color: #ffffff;
            text-transform: uppercase;
        }
        .lb-track-title span {
            color: var(--primary);
            text-shadow: 0 0 15px rgba(255, 179, 0, 0.35);
        }
        .lb-track-subtitle {
            font-size: 11.5px;
            font-weight: 600;
            color: #8c9ba5;
            letter-spacing: 0.6px;
            margin-top: 4px;
            display: block;
        }
        .lb-track-nav {
            display: flex;
            gap: 8px;
            align-items: center;
        }
        .track-nav-btn {
            width: 32px;
            height: 32px;
            background: rgba(14, 18, 28, 0.85);
            border: 1px solid rgba(255, 255, 255, 0.12);
            color: #ffffff;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            cursor: pointer;
            transition: all 0.15s ease;
        }
        .track-nav-btn:hover {
            border-color: var(--primary);
            color: var(--primary);
            background: rgba(255, 179, 0, 0.1);
        }

        .lb-carousel-track {
            display: flex;
            gap: 16px;
            overflow-x: auto;
            scroll-behavior: smooth;
            scroll-snap-type: x mandatory;
            padding-bottom: 12px;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;
            scrollbar-color: rgba(255, 179, 0, 0.3) rgba(14, 18, 28, 0.6);
        }
        .lb-carousel-track::-webkit-scrollbar {
            height: 6px;
        }
        .lb-carousel-track::-webkit-scrollbar-track {
            background: rgba(14, 18, 28, 0.6);
            border-radius: 3px;
        }
        .lb-carousel-track::-webkit-scrollbar-thumb {
            background: rgba(255, 179, 0, 0.3);
            border-radius: 3px;
        }
        .lb-carousel-track::-webkit-scrollbar-thumb:hover {
            background: var(--primary);
        }

        .lb-carousel-card {
            flex: 0 0 calc((100% - (16px * 3)) / 4);
            min-width: 280px;
            scroll-snap-align: start;
            background: rgba(14, 18, 28, 0.75);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-top: 2px solid var(--primary);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-radius: 4px;
            padding: 14px 16px;
            display: flex;
            flex-direction: column;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
            transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
        }
        .lb-carousel-card:hover {
            border-color: rgba(255, 255, 255, 0.18);
            transform: translateY(-2px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
        }
        .lb-carousel-card h3 {
            font-size: 13px;
            font-weight: 800;
            letter-spacing: 1px;
            color: #ffffff;
            text-transform: uppercase;
            margin: 0 0 10px 0;
            padding-bottom: 8px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .lb-carousel-card .table-container {
            flex: 1;
            margin-bottom: 8px;
            overflow-x: hidden;
        }
        .lb-carousel-card .panel-footer,
        .lb-carousel-card .lb-card-footer {
            margin-top: auto;
            padding-top: 8px;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            text-align: center;
        }
        .lb-carousel-card .view-all-link,
        .lb-carousel-card .lb-view-btn {
            display: inline-block;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.6px;
            color: #8c9ba5;
            text-decoration: none;
            text-transform: uppercase;
            transition: color 0.15s, transform 0.15s;
        }
        .lb-carousel-card .view-all-link:hover,
        .lb-carousel-card .lb-view-btn:hover {
            color: var(--primary);
            transform: translateX(2px);
        }

        /* Track 1 Specific Card Elements */
        .api-card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
            padding-bottom: 8px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }
        .api-header-left {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .api-icon-wrap {
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 4px;
            flex-shrink: 0;
        }
        .api-icon-img {
            width: 18px;
            height: 18px;
            object-fit: contain;
            filter: brightness(1.2);
        }
        .api-title-wrap {
            display: flex;
            flex-direction: column;
        }
        .api-name {
            font-size: 14px;
            font-weight: 800;
            letter-spacing: 0.8px;
            color: #ffffff;
            text-transform: uppercase;
        }
        .api-role-desc {
            font-size: 10px;
            font-weight: 600;
            color: #79869a;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }
        .api-top-tag {
            font-size: 10px;
            font-weight: 800;
            color: #8c9ba5;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            padding: 2px 6px;
            border-radius: 3px;
        }

        .api-list {
            display: flex;
            flex-direction: column;
            gap: 4px;
            flex: 1;
            margin-bottom: 8px;
        }
        .api-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 4px 6px;
            background: rgba(255, 255, 255, 0.015);
            border: 1px solid rgba(255, 255, 255, 0.04);
            border-radius: 3px;
            gap: 6px;
            transition: background 0.15s;
        }
        .api-row:hover {
            background: rgba(255, 255, 255, 0.04);
        }
        .api-row-left {
            display: flex;
            align-items: center;
            gap: 6px;
            min-width: 0;
            flex: 1;
        }
        .api-rank {
            font-size: 11px;
            font-weight: 700;
            color: #79869a;
            width: 18px;
            text-align: center;
        }
        .api-rank.rank-top {
            color: #ffb300;
        }
        .api-ava {
            width: 22px;
            height: 22px;
            border-radius: 3px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            object-fit: cover;
            flex-shrink: 0;
        }
        .api-name-link {
            font-size: 12px;
            font-weight: 600;
            color: #d1d5db;
            text-decoration: none;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            transition: color 0.15s;
        }
        .api-name-link:hover {
            color: #ffffff;
        }
        .api-row-right {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-shrink: 0;
        }
        .api-val {
            font-size: 10.5px;
            font-family: 'JetBrains Mono', monospace;
            color: #8c9ba5;
            font-weight: 500;
        }
        .api-pill {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #ffffff;
            font-size: 10.5px;
            font-weight: 700;
            padding: 1px 5px;
            border-radius: 3px;
            font-family: 'Rajdhani', sans-serif;
        }

        .api-season-toggle {
            display: inline-flex;
            gap: 4px;
            background: rgba(14, 18, 28, 0.85);
            padding: 3px;
            border-radius: 4px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
        .api-season-btn {
            background: transparent;
            border: none;
            color: #8c9ba5;
            font-family: 'Rajdhani', sans-serif;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 1px;
            padding: 5px 12px;
            cursor: pointer;
            border-radius: 4px;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            white-space: nowrap;
            text-transform: uppercase;
        }
        .api-season-btn:hover {
            color: #fff;
            background: rgba(255, 255, 255, 0.05);
        }
        .api-season-btn.active {
            color: #0b0e14;
            font-weight: 800;
            background: var(--primary);
            border-radius: 4px;
            box-shadow: 0 0 16px rgba(255, 179, 0, 0.5);
        }

        @media (max-width: 1200px) {
            .lb-carousel-card { flex: 0 0 calc((100% - 16px) / 2); min-width: 270px; }
        }
        @media (max-width: 640px) {
            .lb-carousel-card { flex: 0 0 85%; min-width: 260px; }
        }
