/* ==========================================================================
   Solo Tipster - Match Center & Tactical Lineups Styles
   File: match.css
   ========================================================================== */

/* 🚀 FOUC / Breadcrumb Parlamasını Engelleyen Temel Kural */
.global-breadcrumb-wrapper, 
.global-breadcrumb, 
.page-title-box, 
.breadcrumb-header { 
    display: none !important; 
    visibility: hidden !important; 
    height: 0 !important; 
    overflow: hidden !important; 
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
}

/* 🎯 3 Sütunlu Kusursuz Skor Tabelası */
.match-header-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    gap: 10px;
}
.mh-left { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 8px; 
    overflow: hidden; 
}
.mh-center { 
    text-align: center; 
    white-space: nowrap; 
}
.mh-right { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 8px; 
    overflow: hidden; 
}

.mh-badge { 
    font-size: 11px; 
    padding: 5px 10px; 
    border: 1px solid rgba(255,255,255,0.2); 
    white-space: nowrap; 
    flex-shrink: 0; 
}
.mh-score-text { 
    font-size: 1.25rem; 
    font-weight: 800; 
    margin: 0; 
    color: #ffc107; 
    letter-spacing: 1px; 
}
.mh-team-link { 
    color: #ffffff; 
    text-decoration: none; 
    font-weight: 700; 
    font-size: 1.1rem; 
    transition: color 0.15s ease; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    white-space: nowrap; 
}
.mh-team-link:hover { 
    color: #38bdf8; 
    text-decoration: underline; 
}

@media (max-width: 768px) {
    .mh-badge { font-size: 8.5px !important; padding: 3px 6px !important; }
    .mh-score-text { font-size: 0.95rem !important; }
    .mh-team-link { font-size: 0.85rem !important; }
}
@media (max-width: 480px) {
    .mh-badge { font-size: 7px !important; padding: 2px 4px !important; }
    .mh-score-text { font-size: 0.80rem !important; }
    .mh-team-link { font-size: 0.75rem !important; }
}

/* 🏟️ Taktik Saha ve Pozisyonlar */
.bg-earth { 
    background-color: #795548 !important; 
}
.pos-title-badge { 
    font-size: 8px; 
    letter-spacing: 0.2px; 
    text-transform: uppercase; 
    font-weight: 700; 
    border: 1px solid #000000 !important; 
    padding: 2px 5px; 
    white-space: nowrap; 
    max-width: 100%; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}
.football-pitch { 
    background: linear-gradient(to bottom, #2e7d32, #1b5e20); 
    border: 2px solid #ffffff; 
    border-radius: 8px; 
    min-height: 540px; 
    width: 100%; 
    position: relative; 
    overflow: hidden; 
    box-shadow: inset 0 0 10px rgba(0,0,0,0.3); 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    padding: 8px 4px; 
    box-sizing: border-box; 
}
.pitch-line-center { 
    position: absolute; 
    top: 50%; 
    left: 0; 
    width: 100%; 
    height: 2px; 
    background: rgba(255, 255, 255, 0.3); 
    pointer-events: none; 
}
.pitch-circle-center { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 65px; 
    height: 65px; 
    border: 2px solid rgba(255, 255, 255, 0.3); 
    border-radius: 50%; 
    pointer-events: none; 
}
.pitch-box-top { 
    position: absolute; 
    top: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 120px; 
    height: 40px; 
    border: 2px solid rgba(255, 255, 255, 0.3); 
    border-top: none; 
    pointer-events: none; 
}
.pitch-box-bottom { 
    position: absolute; 
    bottom: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 120px; 
    height: 40px; 
    border: 2px solid rgba(255, 255, 255, 0.3); 
    border-bottom: none; 
    pointer-events: none; 
}
.pitch-row { 
    z-index: 2; 
    display: flex; 
    align-items: flex-start; 
    width: 100%; 
    margin-bottom: 2px; 
}
.pitch-row-spread { 
    justify-content: space-between !important; 
    padding: 0 2px; 
}
.pitch-row-center { 
    justify-content: center !important; 
}
.pitch-slot-container { 
    flex: 1 1 0; 
    max-width: 32.5%; 
    min-width: 0; 
}
.player-card-badge { 
    background: rgba(0, 0, 0, 0.35) !important; 
    color: #fff; 
    border-radius: 5px; 
    padding: 2px 4px; 
    width: 100%; 
    max-width: 130px; 
    box-sizing: border-box; 
    text-shadow: 0 1px 2px rgba(0,0,0,0.9); 
    transition: transform 0.15s ease, background-color 0.15s ease; 
}
.pitch-player-card:hover { 
    background: rgba(0, 0, 0, 0.75) !important; 
    transform: scale(1.03); 
}
.player-name { 
    font-size: 10.5px; 
    font-weight: bold; 
}
.rating-badge { 
    font-weight: bold; 
    font-size: 9px; 
    padding: 1px 3px; 
    border-radius: 3px; 
    text-shadow: none; 
}
.micro-flag-tr { 
    background-color: #e30a17; 
    color: #ffffff; 
    font-size: 7.5px; 
    font-weight: 800; 
    padding: 0px 3px; 
    border-radius: 3px; 
    display: inline-block; 
    vertical-align: middle; 
    margin-right: 2px; 
    border: 1px solid rgba(255,255,255,0.5); 
    line-height: 1.2; 
}
.micro-flag-world { 
    font-size: 10px; 
    vertical-align: middle; 
    margin-right: 2px; 
}

/* 📊 Takım Sütunları ve Güç Reytingi Efektleri */
.team-col-home { 
    border-right: 1px solid #dee2e6; 
}
@media (max-width: 767.98px) { 
    .team-col-home { 
        border-right: none; 
        border-bottom: 1px solid #dee2e6; 
        padding-bottom: 20px; 
        margin-bottom: 20px; 
    } 
}
@keyframes glowPulse { 
    0%, 100% { text-shadow: 0 0 2px rgba(16, 185, 129, 0.4); opacity: 0.9; } 
    50% { text-shadow: 0 0 10px rgba(16, 185, 129, 0.9); opacity: 1; } 
}
.rating-glow-text { 
    animation: glowPulse 1.6s infinite ease-in-out; 
    color: #10b981 !important; 
    font-weight: 800; 
}

/* ⏱️ Match Timeline (Maç Olay Akışı) */
.match-timeline { 
    position: relative; 
    padding: 15px 0; 
}
.match-timeline::before { 
    content: ""; 
    position: absolute; 
    top: 0; 
    bottom: 0; 
    left: 50%; 
    width: 2px; 
    background: #e9ecef; 
    transform: translateX(-50%); 
    z-index: 0; 
}
.timeline-row { 
    position: relative; 
    z-index: 1; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 15px; 
}
.timeline-min { 
    width: 44px; 
    text-align: center; 
    font-weight: bold; 
    font-size: 10.5px; 
    background: #343a40; 
    color: #fff; 
    border-radius: 12px; 
    padding: 4px 0; 
    margin: 0 15px; 
    border: 2px solid #fff; 
    box-shadow: 0 0 0 1px #dee2e6; 
    flex-shrink: 0; 
}
.timeline-content { 
    flex: 1; 
    font-size: 11px; 
}
.timeline-home { 
    text-align: right; 
}
.timeline-away { 
    text-align: left; 
}