/* ════════════════════════════════════════════════════════════════════
   MatchChase — MOBILE LEAGUE (lig sayfası)
   ════════════════════════════════════════════════════════════════════
   SCOPE: Lig sayfası mobil kuralları — dashboard-header, tab bar
   (12-sütun grid 4+2 üst-alt), Takımlar, Puan Tablosu, Lig Fikstürü,
   Teknik Direktörler, Hakemler.

   İLGİLİ VIEW DOSYALARI:
     - mc_teams.js (mc-teams-table)
     - mc_standings.js (mc-standings-table)
     - mc_fixtures.js (mc-league-fixtures-table)
     - mc_officials.js (mc-managers-table + mc-referees-table)

   Önceki konumu: css/style.css @media (max-width: 900px) bloğu
   Pattern memory: project_oturum_2026_05_10_lig_sayfasi_mobil
   ════════════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {

    /* ════════════════════════════════════════════════════════════════
       Lig sayfası header — stats DOM-move ile league-info-text içine
       ════════════════════════════════════════════════════════════════ */
    .stats {
        gap: 1rem;
    }

    .dashboard-header {
        /* Mobilde stats bloğu JS DOM move ile .league-info-text içine alındı,
           dolayısıyla header artık tek-row: logo solda, metin bloğu sağda.
           Padding üst-alt dengeli, sol-sağ kompakt. */
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
    }
    /* Stats league-info-text içindeyken alt yazının altında yatay tek satır */
    .league-info-text > .stats {
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.35rem;
        margin-top: 6px;
    }

    .stat-box {
        align-items: flex-start;
    }

    /* ════════════════════════════════════════════════════════════════
       Lig sayfası tab bar — 12-sütun CSS Grid (4 üst + 2 alt ortada)
       ════════════════════════════════════════════════════════════════ */
    /* ── LİG SEKMELERİ — APPLE-STYLE MOBİL (2026-06-06) ──────────────────
       Eski 2-satır CSS Grid + dikey lacivert ayraç KALDIRILDI. Masaüstüyle
       birebir Apple dili: şeffaf zemin + aktif sekme altında yeşil çizgi +
       yatay kaydırmalı. Dikey ayraç (border-right) YOK. Padding/renk/border-bottom
       style.css .tab-btn'den miras (Apple tek merkez, 12px standart). */
    .stats-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 0 !important;
        width: 100% !important;
        border-bottom: 1px solid #e2e8f0 !important;
        scrollbar-width: none !important;
    }
    .stats-tabs::-webkit-scrollbar { display: none !important; }
    .stats-tabs .tab-btn,
    .stats-tabs .tab-btn[data-target] {
        grid-column: auto !important;
        grid-row: auto !important;
        min-width: auto !important;
        justify-self: auto !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        border-left: none !important;
        border-right: none !important;
        white-space: nowrap !important;
        /* MENÜ TİPOGRAFİ STANDARDI (mobil 13px, pasif medium soluk gri) */
        font-size: 13px !important;
        font-weight: 500 !important;
        color: #64748b !important;
    }
    /* Aktif sekme: bold füme + yeşil çizgi container gri çizgisiyle çakışsın */
    .stats-tabs .tab-btn.active {
        margin-bottom: -1px !important;
        font-weight: 700 !important;
        color: #0f172a !important;
    }

    /* ════════════════════════════════════════════════════════════════
       Lig > Takımlar tablosu — 6 sütun
       1) Logo (26), 2) Takım Adı (kalan + ellipsis), 3) Kadro (40),
       4) Yaş Ort (30), 5) Boy Ort (30), 6) Piyasa Değeri (60)
       ════════════════════════════════════════════════════════════════ */
    /* Full-bleed: kart mobilde kenara TAM yaslı (diğer lig tablarıyla aynı dil);
       tablo ilk sütun (logo) sol 12px, son sütun (Piyasa Değeri) sağ 12px nefes.
       Kullanıcı kuralı 2026-06-02: "tablo TAM yaslı, yazı 12px nefes".
       ORTAK: takımlar + puan tablosu aynı kadro dilini paylaşır (2026-06-02). */
    .mc-teams-card,
    .mc-standings-card {
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .mc-teams-card .data-table-container,
    .mc-standings-card .data-table-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    /* "Takım İstatistikleri" siyah bant (mc-panel-header) — kadro dili: kenara TAM
       yaslı + DÜZ köşe (ovallik alındı) + yazı 12px nefes.
       Kullanıcı 2026-06-02: "siyah zemini sağa sola yasla düz yap ovallikleri al,
       sağdan soldan padding 12". */
    .mc-teams-card .mc-panel-header,
    .mc-standings-card .mc-panel-header {
        border-radius: 0 !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    /* Puan tablosu — full-bleed sonrası SON sütun (Form) sağ 12px nefes (kadro dili,
       2026-06-02). İLK sütun (#) sol 12px aşağıda nth-child(1) bloğunda (width ile
       birlikte, çakışmasın diye tek yerde). */
    .mc-standings-table th:last-child,
    .mc-standings-table td:last-child {
        padding-right: 12px !important;
    }
    /* ── 7 SÜTUN (2026-06-06): logo | TAKIM ADI | MP | FORM | xGF | xGA | DEĞER ──
       full-bleed + % genişlik (table-layout:fixed) + 12px iç nefes ilk/son hücre.
       Eski 6-sütun (Kadro/Yaş/Boy/Yabancı) düzeni kaldırıldı (xGF/xGA/MP-Skor geldi). */
    .mc-teams-table {
        table-layout: fixed !important;
        width: 100% !important;
    }
    .mc-teams-table th, .mc-teams-table td {
        border-left: none !important;
        border-right: none !important;   /* tutarsız dikey ayraç çizgisi kaldırıldı */
    }
    .mc-teams-table th { white-space: nowrap !important; }   /* başlıklar tek satır (XGA/DEĞER kırılmaz) */

    /* 1) logo — sol 12px nefes */
    .mc-teams-table th.mc-tt-logo,
    .mc-teams-table td.mc-tt-logo {
        width: 8% !important;
        padding: 0.4rem 0 0.4rem 12px !important;
    }
    /* 2) TAKIM ADI — geniş (sol boşluk buraya), ellipsis ile uzun ad kısalır */
    .mc-teams-table th:nth-child(2),
    .mc-teams-table td:nth-child(2) {
        width: 24% !important;
        padding: 0.4rem 0.4rem !important;
        text-align: left !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .mc-teams-table td:nth-child(2) > span {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    /* 3-6) METRİK SÜTUNLARI — tabloya EŞİT/SİMETRİK dağılır (yapışıklık önlendi).
       MP %13 · FORM %15 · xGF %12 · xGA %12 → ortadaki blok nefes alır. */
    .mc-teams-table th:nth-child(3),
    .mc-teams-table td:nth-child(3) { width: 13% !important; padding: 0.4rem 0.25rem !important; }
    .mc-teams-table th:nth-child(4),
    .mc-teams-table td:nth-child(4) { width: 15% !important; padding: 0.4rem 0.25rem !important; }
    .mc-teams-table th:nth-child(5),
    .mc-teams-table td:nth-child(5) { width: 12% !important; padding: 0.4rem 0.25rem !important; }
    .mc-teams-table th:nth-child(6),
    .mc-teams-table td:nth-child(6) { width: 12% !important; padding: 0.4rem 0.25rem !important; }
    /* 7) DEĞER — başlık + "338 M €" sığar + sağ 12px nefes (artık sola yapışmaz) */
    .mc-teams-table th:nth-child(7),
    .mc-teams-table td:nth-child(7) {
        width: 16% !important;
        padding: 0.4rem 12px 0.4rem 0.35rem !important;
    }
    /* Sayı/değer td'leri tek satır */
    .mc-teams-table td:nth-child(3),
    .mc-teams-table td:nth-child(4),
    .mc-teams-table td:nth-child(5),
    .mc-teams-table td:nth-child(6),
    .mc-teams-table td:nth-child(7) {
        white-space: nowrap;
    }
    /* Tüm satır td'leri eşit font ve dikey padding (başlıklar dokunulmuyor) */
    .mc-teams-table tbody td:nth-child(1n) {
        font-size: 0.85rem !important;
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }

    /* ════════════════════════════════════════════════════════════════
       Lig > Puan Tablosu — 12 sütun sütun cerrahisi
       Logo 22, # 18, TAKIM auto+ellipsis, O/G/B/M/A/Y/P 15, AV 22, FORM 83
       ════════════════════════════════════════════════════════════════ */
    .mc-standings-table th.mc-st-logo,
    .mc-standings-table td.mc-st-logo {
        width: 22px !important;
        min-width: 22px !important;
        padding: 0.4rem 0 0.4rem 0.3rem !important;
    }
    .mc-standings-table td.mc-st-logo img.st-logo {
        width: 17px !important;
        height: 17px !important;
    }
    /* FORM sütunu 87→83 (3-4px daha dar) */
    .mc-standings-table th:nth-child(12),
    .mc-standings-table td:nth-child(12) {
        width: 83px !important;
        min-width: 83px !important;
        max-width: 83px !important;
    }
    /* # sütunu 2 dijit sığsın (11, 12...) + full-bleed sonrası sol 12px nefes
       (kadro dili, 2026-06-02). width sayı+nefes için 18→30px. */
    .mc-standings-table th:nth-child(1),
    .mc-standings-table td:nth-child(1) {
        width: 30px !important;
        min-width: 30px !important;
        padding-left: 12px !important;
        padding-right: 2px !important;
        white-space: nowrap;
    }
    /* O G B M A Y P — kullanıcı isteği 15px (kalan piksel TAKIM'a kayar) */
    .mc-standings-table th:nth-child(4),
    .mc-standings-table td:nth-child(4),
    .mc-standings-table th:nth-child(5),
    .mc-standings-table td:nth-child(5),
    .mc-standings-table th:nth-child(6),
    .mc-standings-table td:nth-child(6),
    .mc-standings-table th:nth-child(7),
    .mc-standings-table td:nth-child(7),
    .mc-standings-table th:nth-child(8),
    .mc-standings-table td:nth-child(8),
    .mc-standings-table th:nth-child(9),
    .mc-standings-table td:nth-child(9),
    .mc-standings-table th:nth-child(11),
    .mc-standings-table td:nth-child(11) {
        width: 15px !important;
        min-width: 15px !important;
        padding-left: 1px !important;
        padding-right: 1px !important;
        white-space: nowrap;
    }
    /* AV "+41" / "-38" 3 karakter */
    .mc-standings-table th:nth-child(10),
    .mc-standings-table td:nth-child(10) {
        width: 22px !important;
        min-width: 22px !important;
        padding-left: 2px !important;
        padding-right: 2px !important;
        white-space: nowrap;
    }
    /* TAKIM (3.) — kalan alan + ellipsis (uzun adlar Manchester City Manc... şeklinde) */
    .mc-standings-table td:nth-child(3) {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 0;
    }
    /* Tüm satır td'leri eşit font */
    .mc-standings-table tbody td {
        font-size: 0.75rem !important;
    }

    /* ════════════════════════════════════════════════════════════════
       Lig Fikstürü — KADRO DİLİ (2026-06-02): full-bleed kart + siyah bant düz +
       12px nefes. Scope #league-tab-pane-fixtures (SADECE lig fikstürü; tablo class'ı
       mc-league-fixtures-table 4 dosyada paylaşıldığı için kart kuralı ID-scope'lu).
       Bant-içi "Sezon Seç:/Hafta Seç:" etiketleri gizlenir (dropdown zaten değeri
       gösteriyor) + gap daraltılır ki "34. Hafta" taşmasın (375'te right:401 kesiliyordu). */
    #league-tab-pane-fixtures .mc-card {
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    #league-tab-pane-fixtures .mc-card .data-table-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    #league-tab-pane-fixtures .mc-panel-header {
        border-radius: 0 !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        flex-wrap: wrap !important;       /* sığmazsa alt satıra (kesilmesin) */
        gap: 6px 8px !important;
    }
    #league-tab-pane-fixtures .mc-panel-header-right {
        gap: 8px !important;
        flex-wrap: wrap !important;
    }
    /* "Sezon Seç:" / "Hafta Seç:" etiketleri mobilde gizli — dropdown değeri yeterli */
    #league-tab-pane-fixtures .mc-panel-header-right > span {
        display: none !important;
    }
    /* Full-bleed sonrası tablo içerik 12px nefes — SADECE lig fikstürü (scope'lu;
       ortak mc-league-fixtures-table kuralı 4 dosyada, takım fikstürü/maç bozulmasın). */
    #league-tab-pane-fixtures .mc-league-fixtures-table th:first-child,
    #league-tab-pane-fixtures .mc-league-fixtures-table td:first-child {
        padding-left: 12px !important;
    }
    #league-tab-pane-fixtures .mc-league-fixtures-table tr > th:last-child,
    #league-tab-pane-fixtures .mc-league-fixtures-table tr > td:last-child {
        padding-right: 12px !important;
    }
    /* Başlık hizalama — takım fikstürüyle BİREBİR (2026-06-02): EV SAHİBİ (2.) sağa,
       DEPLASMAN (5.) sola → veri zaten ev=right/dep=left, başlık da hizalansın.
       Lig'de eksikti (center kalmıştı), kullanıcı yakaladı. */
    #league-tab-pane-fixtures .mc-league-fixtures-table thead th:nth-child(2) { text-align: right !important; }
    #league-tab-pane-fixtures .mc-league-fixtures-table thead th:nth-child(5) { text-align: left !important; }
    /* İŞ-2B (2026-06-12): translateX(-8px) buton kuralı SİLİNDİ — scope'u
       .mc-league-fixtures-table runtime'da YOK (enrichFixtureRows class'ı söküp
       mc-card-fixture basıyor; SmartStats dahil tüm sayfalar enrich'li, grep kanıtı).
       Aralık standardı: ikon hücresi gap:5px (mobile-mainpage ortak scope). */

    /* ════════════════════════════════════════════════════════════════
       Lig Fikstürü tablosu — 7 sütun
       TARİH 62 ("04/05/26" + "Pzt, 22:00" alt alta), MS 35, İY 30,
       Aksiyon 18×2 (chevron + istatistik), sağ kenar padding 6
       ════════════════════════════════════════════════════════════════ */
    /* TARİH — 2026-06-02: sütun 62→74px + sol 12px nefes. mc-card-fixture HARİÇ
       (kart grid modeli mobile-mainpage.css'te; çift class çakışması yerleşimi bozuyordu). */
    .mc-league-fixtures-table:not(.mc-card-fixture) th:first-child,
    .mc-league-fixtures-table:not(.mc-card-fixture) td:first-child {
        width: 74px !important;
        min-width: 74px !important;
        padding-left: 12px !important;
        padding-right: 4px !important;
        text-align: center;
        white-space: normal;
        line-height: 1.2;
    }
    .mc-league-fixtures-table:not(.mc-card-fixture) th:nth-child(3),
    .mc-league-fixtures-table:not(.mc-card-fixture) td:nth-child(3) {
        width: 35px !important;
        min-width: 35px !important;
        padding-left: 2px !important;
        padding-right: 2px !important;
    }
    .mc-league-fixtures-table:not(.mc-card-fixture) th:nth-child(4),
    .mc-league-fixtures-table:not(.mc-card-fixture) td:nth-child(4) {
        width: 30px !important;
        min-width: 30px !important;
        padding-left: 2px !important;
        padding-right: 2px !important;
    }
    .mc-league-fixtures-table:not(.mc-card-fixture) th:nth-child(6),
    .mc-league-fixtures-table:not(.mc-card-fixture) td:nth-child(6),
    .mc-league-fixtures-table:not(.mc-card-fixture) th:nth-child(7),
    .mc-league-fixtures-table:not(.mc-card-fixture) td:nth-child(7) {
        width: 18px !important;
        min-width: 18px !important;
        padding-left: 1px !important;
        padding-right: 1px !important;
        text-align: center;
    }
    .mc-league-fixtures-table:not(.mc-card-fixture) tr > th:last-child,
    .mc-league-fixtures-table:not(.mc-card-fixture) tr > td:last-child {
        padding-right: 12px !important;
    }
    /* Kırmızı kart — masaüstü kompakt tablo (mc-card-fixture hariç eski 7 sütun düzeni).
       İŞ-2 (2026-06-11): X2 count akış içinde düz kırmızı (köşe-bindirme SÖKÜLDÜ). */
    .mc-league-fixtures-table:not(.mc-card-fixture) .mc-red-card-wrap {
        position: relative !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 3px !important;
        margin: 0 2px 0 3px !important;
        overflow: visible !important;
        line-height: 0 !important;
    }
    .mc-league-fixtures-table:not(.mc-card-fixture) .mc-red-card-multi {
        margin-right: 2px !important;
    }
    .mc-league-fixtures-table:not(.mc-card-fixture) .mc-red-card-icon {
        display: block !important;
        width: 10px !important;
        height: 13px !important;
    }
    .mc-league-fixtures-table:not(.mc-card-fixture) .mc-red-card-count {
        position: static !important;
        font-size: 0.62rem !important;
        line-height: 1 !important;
        font-weight: 700 !important;
        color: #dc2626 !important;
        background: none !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        pointer-events: none !important;
        box-shadow: none !important;
        white-space: nowrap !important;
    }
    /* TD değişimi badge'i — kırmızı kart oranına yakın kompakt rozet (9×11 visual).
       İçindeki fa-arrows-rotate ikonu font-size 0.5rem ile rozete sığar. Tıklama alanı pseudo ile genişler. */
    .mc-league-fixtures-table td .mc-td-change-badge {
        width: 9px !important;
        height: 11px !important;
        padding: 0 !important;
        margin: 0 1px !important;
        font-size: 0.5rem !important;
        line-height: 1 !important;
        border-radius: 2px !important;
        position: relative;
    }
    .mc-league-fixtures-table td .mc-td-change-badge::after {
        content: '';
        position: absolute;
        top: -10px;
        bottom: -10px;
        left: -8px;
        right: -8px;
    }

    /* ════════════════════════════════════════════════════════════════
       Teknik Direktörler + Hakemler — KADRO DİLİ (2026-06-02): full-bleed kart +
       siyah bant düz + 12px nefes (takımlar/puan/fikstür ile aynı). Scope hem
       #league-tab-pane-managers HEM #league-tab-pane-referees (ortak). ════════════ */
    #league-tab-pane-managers .mc-card,
    #league-tab-pane-referees .mc-card {
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    #league-tab-pane-managers .mc-card .data-table-container,
    #league-tab-pane-referees .mc-card .data-table-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    #league-tab-pane-managers .mc-panel-header,
    #league-tab-pane-referees .mc-panel-header {
        border-radius: 0 !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        flex-wrap: wrap !important;
        gap: 6px 8px !important;
    }
    /* Tablo içerik 12px nefes — ilk sütun (Teknik Direktör) sol, son sütun (MBP) sağ */
    #league-tab-pane-managers .mc-managers-table th:first-child,
    #league-tab-pane-managers .mc-managers-table td:first-child {
        padding-left: 12px !important;
    }
    #league-tab-pane-managers .mc-managers-table tr > th:last-child,
    #league-tab-pane-managers .mc-managers-table tr > td:last-child {
        padding-right: 12px !important;
    }

    /* ════════════════════════════════════════════════════════════════
       mc-managers-table SCOPE — Teknik Direktörler tab'ı (mobile only)
       Lig sayfası /tab/managers — desktop dokunulmuyor.
       ════════════════════════════════════════════════════════════════ */
    /* fixed-layout: width !important kurallarının auto-layout'ta yenilmemesi için */
    .mc-managers-table { table-layout: fixed !important; }
    /* Sıralama oku başlık altı 2. satıra düşsün */
    .mc-managers-table thead th > span {
        display: block !important;
        margin-left: 0 !important;
    }
    /* 2026-06-02 TEK-MERKEZ (Faz 2): mc-managers-table MCTable'a taşındı → sütun
       GENİŞLİKLERİ artık config'te width:{mobile,desktop} % (mc_officials.js).
       Buradaki nth-child px width'ler SİLİNDİ (facia kökü: px + büyüyen root font →
       3 haneli sayı kırılıyordu). Sayı sütunlarına nowrap (kırılma engeli) + sadece
       padding/hizalama kalır. */
    .mc-managers-table td:not(:first-child),
    .mc-managers-table th:not(:first-child) {
        white-space: nowrap !important;
    }
    /* TEKNİK DİREKTÖR (1) — SOLA yaslı + 12px sol nefes + ellipsis (uzun isim kısalır) */
    .mc-managers-table th:first-child,
    .mc-managers-table td:first-child {
        text-align: left !important;
        padding-left: 12px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .mc-managers-table td.mc-cell-above {
        background: rgba(13, 131, 45, 0.22) !important;
    }
    .mc-managers-table td.mc-cell-below {
        background: rgba(220, 50, 50, 0.18) !important;
    }
    /* TD adı sütunundaki sol ikon — margin yarıya (8→4) */
    .mc-managers-table tbody td:first-child .fa-user-tie {
        margin-right: 4px !important;
    }
    /* Sayı sütunlarında dijit hizası — virgüller/noktalar dikey hizalı */
    .mc-managers-table tbody td:not(:first-child),
    .mc-managers-table thead th:not(:first-child) {
        font-variant-numeric: tabular-nums;
    }

    /* ════════════════════════════════════════════════════════════════
       mc-referees-table SCOPE — Hakemler tab'ı (mobile only)
       Lig sayfası /tab/referees — desktop dokunulmuyor.
       ════════════════════════════════════════════════════════════════ */
    .mc-referees-table { table-layout: fixed !important; }
    .mc-referees-table thead th > span {
        display: block !important;
        margin-left: 0 !important;
    }
    .mc-referees-table tbody td.mc-cell-above {
        background: rgba(13, 131, 45, 0.22) !important;
    }
    .mc-referees-table tbody td.mc-cell-below {
        background: rgba(220, 50, 50, 0.18) !important;
    }
    .mc-referees-table tbody td:first-child .fa-stopwatch {
        margin-right: 4px !important;
    }
    .mc-referees-table tbody td:not(:first-child),
    .mc-referees-table thead th:not(:first-child) {
        font-variant-numeric: tabular-nums;
    }
    /* 2026-06-02 TEK-MERKEZ (Faz 2): mc-referees-table MCTable'a taşındı → sütun
       GENİŞLİKLERİ artık config'te width:{mobile,desktop} % (mc_officials.js).
       Buradaki nth-child px width'ler SİLİNDİ (facia kökü: px + büyüyen root font).
       Sayı sütunlarına nowrap (3 haneli sayı kırılmasın) + isim sola/12px/ellipsis. */
    .mc-referees-table td:not(:first-child),
    .mc-referees-table th:not(:first-child) {
        white-space: nowrap !important;
    }
    /* HAKEMLER (1) — SOLA yaslı + 12px sol nefes + ellipsis (uzun isim kısalır) */
    .mc-referees-table th:first-child,
    .mc-referees-table td:first-child {
        text-align: left !important;
        padding-left: 12px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* ════════════════════════════════════════════════════════════════
       Lig TAHMİN kontrol bar — derli toplu (2026-06-02)
       Kullanıcı: takım tahmin sayfası lig'den daha derli toplu. Sebep: lig'de
       Hafta dropdown DAR (104px), space-between iki grubu uçlara itip ortada
       ~73px DEV BOŞLUK bırakıyordu (takımda Tümü/Ev/Dep 141px → boşluk az).
       Çözüm: SADECE lig tahmin (#league-tab-pane-predictions scope) — space-between
       yerine sola topla (flex-start) + makul gap, dev boşluk dağılır. Takım bozulmaz.
       NOT: Ev/Dep EKLENMEZ — lig genelinde anlamsız, Hafta seçici doğru. ════════ */
    #league-tab-pane-predictions .pv-controls-bar {
        justify-content: flex-start !important;
        gap: 16px !important;
    }
    /* "Tahminler / İstatistik Takımlar" sub-nav — mobilde 2 buton TAM GENİŞLİK %50/%50
       (2026-06-02). Eskiden içeriğe göre genişleyip sola toplanıyordu, sağda boşluk +
       alttaki market sekmeleriyle hizasızdı. flex:1 ile eşit böl → simetrik, hizalı.
       SADECE mobil (@media) + lig tahmin scope — masaüstü .pv-sub-tab tasarımı korunur. */
    #league-tab-pane-predictions .pv-sub-tabs {
        width: 100% !important;
    }
    #league-tab-pane-predictions .pv-sub-tab {
        flex: 1 1 0 !important;
        text-align: center !important;
        justify-content: center !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    /* İstatistik Takımlar sekmesi kontrol barı (#pv-panel-team-stats içindeki class'sız
       div, sadece Hepsini/Rozetleri butonları — Hafta seçici YOK) — Tahminler sekmesinin
       kontrol barıyla AYNI DİL: sol-sağ 12px kenar nefes, gap 8px (2026-06-02). Eskiden
       sol 0px'e yapışık + sağda dev boşluktu → Tahminler'le hizasız. Kullanıcı: iki
       sekmede uyum sağla. */
    #pv-panel-team-stats > div:has(> .pv-mode-btn) {
        padding-left: 12px !important;
        padding-right: 12px !important;
        gap: 8px !important;
        align-items: center !important;
    }
} /* @media (max-width: 900px) kapanışı — eksikti, 2026-06-06'da kapatıldı */
