/* UEFA Konferans Ligi Arşiv Teması - GÜNCELLENMİŞ V2 */

/* 1. Genel Konteyner */
.uecl-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 850px;
    margin: 20px 0;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #e0e0e0;
    overflow: hidden;
}

/* 1. Varsayılan okları her tarayıcıda gizle */
details summary::-webkit-details-marker {
    display: none !important;
}
details summary {
    list-style: none !important;
    outline: none;
}

/* 2. Başlık Bandındaki Karakterler */
.uecl-header::after {
    content: '[+]';
    font-family: monospace;
    font-weight: bold;
}

details[open] .uecl-header::after {
    content: '[-]';
}


/* 2. Başlık Bandı (Beyaz ve Bold Yapıldı) */
.uecl-header {
    background: linear-gradient(90deg, #003300 0%, #00ff00 100%);
    color: #ffffff !important; 
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 900; /* Ekstra Bold */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8); /* Okunurluk için hafif gölge */
}

/* 3. Playoff Konteyner ve Satır Düzeni (Yanyana Durma Garantili) */
.playoff-match-row {
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #222;
    padding: 12px 5px;
    background: #000;
}

.p-col-ana {
    flex: 6;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Takım isimlerini ve logoları yan yana tutan sarmalayıcı */
.t-sol-wrap, .t-sag-wrap {
    width: 240px; 
    display: flex;
    align-items: center;
    gap: 10px;
}

.t-sol-wrap { justify-content: flex-end; text-align: right; }
.t-sag-wrap { justify-content: flex-start; text-align: left; }

/* 4. Logolar İçin Standart (HTML'de img eklediğinde çalışır) */
.p-col-ana img {
    width: 28px !important;
    height: 28px !important;
    background: #fff;
    border-radius: 50%;
    padding: 2px;
    object-fit: contain;
    flex-shrink: 0;
}

/* 5. Kazanan Kutusu (Oval ve Yeşil) */
.winner-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 255, 0, 0.15) !important;
    border: 1.5px solid #00ff00 !important;
    border-radius: 30px;
    padding: 4px 12px;
    color: #ffffff !important;
}

.vs { width: 40px; text-align: center; color: #555; font-weight: bold; margin: 0 10px; }

/* 6. Skor Sütunları */
.p-col-skor { width: 60px; text-align: center; color: #aaa; font-size: 13px; }
.p-col-skor-total { width: 60px; text-align: center; font-weight: bold; color: #00ff00; }

/* 7. MOBİL AYARLAR (Yazıların küçülmesi ve logoların gizlenmesi) */
@media screen and (max-width: 768px) {
    .uecl-header { font-size: 0.9rem; padding: 10px; }
    
    /* Takım isimleri ve skorları mobilde küçültüyoruz */
    .t-ad-fix, .vs, .p-col-skor, .p-col-skor-total { 
        font-size: 11px !important; 
    }

    .t-sol-wrap, .t-sag-wrap { 
        width: auto !important; 
        flex: 1; 
        gap: 4px; 
    }

    /* Mobilde yer kazanmak için logoları gizle (Avrupa Ligindeki gibi) */
    .p-col-ana img { display: none !important; }
    
    .vs { width: 20px; margin: 0 5px; }
    
    .winner-box { padding: 2px 8px; }
}

.p-col-skor-total {
    display: flex;
    flex-direction: column; /* İçerikleri alt alta dizer */
    justify-content: center;
    align-items: center;
    line-height: 1.2; /* Satır aralığını daraltır ki çok kopuk durmasın */
    font-size: 13px; /* Genel font boyutu */
}

/* Eğer sadece parantez içindeki yazı daha küçük olsun istersen (Opsiyonel) */
.p-col-skor-total br + text, 
.p-col-skor-total {
    /* Parantez içindeki metne özel bir stil vermek istersen burayı kullanabilirsin */
}

/* Başlık satırı fontu ve boşluğu */
.playoff-header {
    display: flex; 
    background: #1a1a1a; 
    color: #00ff00;; 
    font-weight: bold; 
    padding: 12px; 
    border-bottom: 2px solid #333; 
    text-align: center;
    font-size: 14px; /* Masaüstü başlık fontu */
}
@media (max-width: 768px) {
    /* Başlık fontlarını küçültme */
    .playoff-header div { 
        font-size: 10px !important; 
    }

    /* Takım isimleri, VS ve Skor fontlarını küçültme */
    .t-ad-fix, .vs, .p-col-skor, .p-col-skor-total { 
        font-size: 11px !important; 
    }

    /* Mobilde o bitişikliği engellemek için minimum genişliği kapatıyoruz */
    .t-sol-wrap, .t-sag-wrap { 
        width: auto !important; 
        flex: 1; 
        gap: 5px; /* Mobilde yer dar olduğu için boşluğu biraz azalttık ama bitişik değil */
    }

    /* Mobilde VS arasını daraltalım yer açılsın */
    .vs { width: 20px; margin: 0 5px; }
}


/* Konferans Ligi Puan Tablosu Modern Tasarım */
.lig-konteynir {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #1a1a1a; /* Font rengi siyah/koyu */
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.tablo-baslik {
    background: #0000CC;
    color: #ffffff;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}

.satir {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    text-align: center;
}

.satir.header {
    background: #0000CC;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    color: #ffffff;
}

/* Sütun Genişlik Ayarları */
.h-sira { width: 40px; }
.h-takim { flex: 1; text-align: left; display: flex; align-items: center; gap: 10px; padding-left: 10px; }
.h-ist { width: 35px; } /* O, G, B, M, Ag, Yg için ortak */
.h-av { width: 45px; }
.h-puan { width: 50px; font-weight: bold; }

.t-logo-p {
    width: 26px;
    height: 26px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    padding: 2px;
    border: 1px solid #eee;
}

/* Mobil Optimizasyon */
@media screen and (max-width: 600px) {
    /* Mobilde Gizlenecekler: O, G, M, Ag, Yg */
    .m-gizle {
        display: none !important;
    }
    
    .h-takim {
        font-size: 13px;
    }
    
    .t-logo-p {
        display: none; /* Mobilde logoyu gizleyerek yer kazanıyoruz */
    }

    .h-puan {
        width: 40px;
    }
}

.aciklama-kutusu {
        padding: 20px; 
        border: 1px solid #333; 
        background-color: #000; 
        font-family: 'Segoe UI', Tahoma, sans-serif; 
        line-height: 1.8; 
        color: #fff; 
        border-radius: 8px;
        font-size: 15px; /* Masaüstü boyutu */
    }

    /* Mobil Cihazlar İçin Ayar */
    @media only screen and (max-width: 480px) {
        .aciklama-kutusu {
            padding: 15px;
            font-size: 10px; /* Mobilde yazı biraz küçülür */
            line-height: 1.6;
        }
    }
