/* ====================================================================
   DESIGN TOKEN SYSTEM — Merkezi CSS Custom Properties
   #35: Spacing tokens | #36: Border-radius tokens | #37: Z-index tokens
   ==================================================================== */
:root{/* --- Z-INDEX SCALE --- */ --z-behind:-1;--z-base:0;--z-above:1;--z-raised:2;--z-elevated:5;--z-player:10;--z-player-info:15;--z-overlay:100;--z-fixed:1000;--z-fixed-above:1001;--z-fixed-top:1010;--z-modal:9999;--z-popup:10000;--z-popup-above:10001;/* --- BORDER-RADIUS SCALE --- */ --radius-xs:2px;--radius-sm:4px;--radius-md:8px;--radius-lg:12px;--radius-xl:16px;--radius-2xl:20px;--radius-pill:30px;--radius-full:50%;/* --- SPACING SCALE (4px base) --- */ --space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-7:32px;--space-8:48px;}
/* ====================================================================
   #33: BREAKPOINT STANDARDIZATION — Referans tablosu
   CSS custom properties @media query'lerde kullanılamaz.
   Tüm media query'ler aşağıdaki 5 standart noktayı hedefler:
   
   BP-XS:  360px  — Ultra-küçük mobil (Galaxy Fold vb.)
   BP-SM:  480px  — Küçük mobil (standart telefon)
   BP-MD:  768px  — Tablet / büyük mobil
   BP-LG: 1024px  — Küçük masaüstü / tablet yatay
   BP-XL: 1200px  — Masaüstü / büyük ekran
   
   Kullanım kuralları:
   • max-width: mobile-first override → (max-width: 768px)
   • min-width: desktop-first override → (min-width: 769px)
   • Aralık: (min-width: 769px) and (max-width: 1024px)
   ==================================================================== */

/* ====================================================================
   GLOBAL BOX-SIZING RESET — Firefox & cross-browser fix
   Ensures padding/border are included in width/height calculations
   ==================================================================== */
*, *::before, *::after{box-sizing:border-box;}
/* ====================================================================
   FAZ3 FIX #17: Font Awesome → Inline SVG İkonlar (~90KB CDN → ~2KB CSS)
   Mask-image yaklaşımı: background-color: currentColor + SVG mask
   CSS 'color' property'si hala çalışır (currentColor ile)
   ==================================================================== */
.fas{display:inline-block;font-style:normal;text-rendering:auto;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:currentColor;width:1em;height:1em;vertical-align:-0.125em;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;}
/* fa-square: Dolu kare (kart ikonları) */
.fa-square{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect width='14' height='14' x='1' y='1' rx='1'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect width='14' height='14' x='1' y='1' rx='1'/%3E%3C/svg%3E");}
/* fa-arrow-up: Yukarı ok (tur atlayan takım) — bilgi ikonu, tıklanabilir değil */
.fa-arrow-up{font-size:12px;width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1L14 8H10v7H6V8H2z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1L14 8H10v7H6V8H2z'/%3E%3C/svg%3E");}
/* fa-arrow-left: Sol ok (geri butonu) */
.fa-arrow-left{min-height:44px;/* FAZ2 FIX #8:Mobile touch target minimum */ min-width:44px;display:flex;align-items:center;justify-content:center;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1L1 8l7 7v-5h7V6H8z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1L1 8l7 7v-5h7V6H8z'/%3E%3C/svg%3E");}
/* fa-arrow-right: Sağ ok (oyuncu değişikliği — bilgilendirme, tıklanabilir değil) */
.fa-arrow-right{width:16px;height:16px;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1l7 7-7 7v-5H1V6h7z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1l7 7-7 7v-5H1V6h7z'/%3E%3C/svg%3E");}
/* fa-chart-simple: Çubuk grafik (istatistik) */
.fa-chart-simple{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='1' y='9' width='3' height='7' rx='.5'/%3E%3Crect x='6.5' y='4' width='3' height='12' rx='.5'/%3E%3Crect x='12' y='6' width='3' height='10' rx='.5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='1' y='9' width='3' height='7' rx='.5'/%3E%3Crect x='6.5' y='4' width='3' height='12' rx='.5'/%3E%3Crect x='12' y='6' width='3' height='10' rx='.5'/%3E%3C/svg%3E");}
/* fa-futbol: Futbol topu (gol ikonu) — /images/goal.svg kullanılıyor */
.fa-futbol{-webkit-mask-image:url(//www.sporkolik.net/images/goal.svg);mask-image:url(//www.sporkolik.net/images/goal.svg);}
/* fa-times-circle: Kaçan penaltı ikonu — /images/missed-penalty.svg kullanılıyor */
.fa-times-circle{-webkit-mask-image:url(//www.sporkolik.net/images/missed-penalty.svg);mask-image:url(//www.sporkolik.net/images/missed-penalty.svg);}
/* fa-exchange-alt: Çift ok (oyuncu değişikliği) */
.fa-exchange-alt{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M12 2l4 3-4 3V6H2V4h10zM4 14l-4-3 4-3v2h10v2H4z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M12 2l4 3-4 3V6H2V4h10zM4 14l-4-3 4-3v2h10v2H4z'/%3E%3C/svg%3E");}
/* fa-hand-paper: Açık el (kaleci kurtarışı) */
.fa-hand-paper{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 7V3.5a1.5 1.5 0 013 0V7h1V2.5a1.5 1.5 0 013 0V7h.5A1.5 1.5 0 0114 8.5V12a4 4 0 01-4 4H7a4 4 0 01-3-1.4L1.2 11a1.5 1.5 0 012.1-2.1L5 10.5V7z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 7V3.5a1.5 1.5 0 013 0V7h1V2.5a1.5 1.5 0 013 0V7h.5A1.5 1.5 0 0114 8.5V12a4 4 0 01-4 4H7a4 4 0 01-3-1.4L1.2 11a1.5 1.5 0 012.1-2.1L5 10.5V7z'/%3E%3C/svg%3E");}
/* fa-tv: TV/VAR ikonu */
.fa-tv{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='0' y='2' width='16' height='10' rx='1'/%3E%3Crect x='6' y='13' width='4' height='1.5' rx='.5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='0' y='2' width='16' height='10' rx='1'/%3E%3Crect x='6' y='13' width='4' height='1.5' rx='.5'/%3E%3C/svg%3E");}
/* İlk Maç Skoru (İMS) - MOBIL-FIRST */
.previous-leg-score{font-size:0.75em;/* Mobil temel */ font-weight:600;text-align:center;color:#1976d2;margin-top:6px;margin-bottom:2px;padding:3px 6px;background:linear-gradient(135deg, rgba(25, 118, 210, 0.08), rgba(25, 118, 210, 0.04));border-left:2px solid #1976d2;border-radius:var(--radius-sm);letter-spacing:0.3px;}
/* Toplam Skor (TOP) - MOBIL-FIRST */
.total-score{font-size:0.75em;/* Mobil temel */ font-weight:600;text-align:center;color:#388e3c;margin-top:2px;margin-bottom:6px;padding:3px 6px;background:linear-gradient(135deg, rgba(56, 142, 60, 0.08), rgba(56, 142, 60, 0.04));border-left:2px solid #388e3c;border-radius:var(--radius-sm);letter-spacing:0.3px;}
/* Penaltı Skoru (PEN) - MOBIL-FIRST */
.penalties-score{font-size:0.75em;/* Mobil temel */ font-weight:600;text-align:center;color:#e53935;margin-top:2px;padding:3px 6px;background:linear-gradient(135deg, rgba(229, 57, 53, 0.12), rgba(229, 57, 53, 0.06));border-left:2px solid #e53935;border-radius:var(--radius-sm);letter-spacing:0.3px;display:inline-block;}
/* Tablet ve Üzeri (min-width: 769px) */
@media(min-width:769px){
    .previous-leg-score{font-size:0.80em;margin-top:7px;margin-bottom:2px;padding:4px 7px;border-left-width:3px;}
  
    .total-score{font-size:0.80em;margin-top:3px;margin-bottom:7px;padding:4px 7px;border-left-width:3px;}
  
    .penalties-score{font-size:0.80em;padding:4px 7px;border-left-width:3px;}
}

/* Desktop (min-width: 1025px) */
@media(min-width:1025px){
    .previous-leg-score{font-size:0.90em;margin-top:9px;margin-bottom:3px;padding:5px 10px;border-left-width:3px;}
  
    .total-score{font-size:0.90em;margin-top:5px;margin-bottom:9px;padding:5px 10px;border-left-width:3px;}
  
    .penalties-score{font-size:0.90em;padding:5px 10px;border-left-width:3px;}
}/* Üstünlük belirtme sınıfları */
.live-scores-stat-bar.home.higher{background:linear-gradient(to right, #1a73e8, #64b5f6);box-shadow:0 2px 5px rgba(26, 115, 232, 0.3);}
.live-scores-stat-bar.away.higher{background:linear-gradient(to right, #e74c3c, #f08080);box-shadow:0 2px 5px rgba(231, 76, 60, 0.3);}
.circular-chart.higher{transform:scale(1.05);}
.circular-chart.higher .percentage{font-weight:700;font-size:0.40em;}
/* @import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap"); */
/* @import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css); */

/* Performans filtreleme butonları için stiller */
.performance-filter-buttons{display:flex;justify-content:center;margin:15px 0;}
.performance-filter-button{-webkit-appearance:none;/* iOS:remove native button styling */ appearance:none;background-color:#007bff;border:none;padding:10px 20px;margin:0 8px;cursor:pointer;font-size:14px;color:white;border-radius:var(--radius-pill);transition:background-color 0.3s ease, transform 0.2s ease;box-shadow:0 2px 5px rgba(0, 123, 255, 0.3);position:relative;overflow:hidden;/* GPU acceleration */ transform:translateZ(0);}
@media (hover: hover) {
    .performance-filter-button:hover{background-color:#0069d9;transform:translateY(-2px);box-shadow:0 4px 8px rgba(0, 123, 255, 0.4);}
}

.performance-filter-button.active{background-color:#0056b3;font-weight:bold;transform:scale(1.05);box-shadow:0 4px 10px rgba(0, 86, 179, 0.5);}
.performance-filter-button:focus-visible{outline:2px solid #1e88e5;outline-offset:2px;}
.performance-filter-button:focus:not(:focus-visible){outline:none;}
.performance-filter-button:active{transform:translateY(1px);box-shadow:0 2px 3px rgba(0, 123, 255, 0.3);}
/* Mobil görünüm için */
@media(max-width:768px){
    .performance-filter-button{padding:8px 15px;font-size:12px;margin:0 4px;}
}

.flatpickr-calendar{z-index:var(--z-popup-above);}
body{font-family:'Roboto', sans-serif;margin:0;padding:0;background-color:#f8f8f8;-webkit-text-size-adjust:100%;/* iOS:prevent text enlarge on rotation */ text-size-adjust:100%;-webkit-tap-highlight-color:transparent;/* iOS:remove blue tap highlight */}
.container{display:flex;max-width:1200px;margin:0 auto;padding:var(--space-5);flex-wrap:wrap;}
#live-scores{flex:1;min-width:0;/* Firefox flexbox fix:prevent overflow from content intrinsic width */ padding:10px;background-color:#fff;border:1px solid #ddd;border-radius:var(--radius-md);box-shadow:0 2px 4px rgba(0,0,0,0.1);margin-right:0px;margin-bottom:20px;max-width:60%;}
@media(min-width:1025px){
    #live-scores{max-width:52.5%;}
  
    /* Desktop match details - ensure content fits on screen above taskbar */
    #match-details{max-height:calc(100vh - 280px);/* Viewport - top(260px) - taskbar margin(20px) */ max-height:calc(100dvh - 280px);/* FAZ2 FIX #10:Safari dvh fallback */}
}

@media(max-width:768px){
    #live-scores{max-width:100%;/* ✅ FIX:Mobil ekranda viewport yüksekliği kontrol - scroll etkinleştir */ max-height:calc(100vh - 250px);overflow-y:auto;overflow-x:hidden;/* iOS Safari smooth inertial scrolling */ -webkit-overflow-scrolling:touch;padding:8px;}
}

#match-details{border:1px solid #ddd;border-radius:var(--radius-md);padding:20px 20px 40px 20px;/* ← FIX:Extra bottom padding for taskbar clearance */ background-color:#fff;position:fixed;right:20px;width:40%;overflow-y:auto;box-shadow:0 2px 4px rgba(0,0,0,0.1);z-index:var(--z-fixed);top:260px;/* ← Default value;JS overrides per scroll */ opacity:1;visibility:visible;transform:translateX(0) scale(1);transition:opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;}
/* FIX: Empty match-details card on initial load */
/* When empty (no content), hide the card. Script will show it when details load. */
#match-details:empty{opacity:0;visibility:hidden;pointer-events:none;}
/* Closed state */
#match-details.detail-closed{opacity:0;visibility:hidden;transform:translateX(100%) scale(0.95);pointer-events:none;}
/* M2: Touch swipe handler styling */
/* FAZ1 FIX #5: touch-action: pan-y — dikey scroll'a izin ver, sadece swipe sırasında devre dışı */
#match-details{touch-action:pan-y;/* Dikey scroll'a izin ver, yatay swipe'ı yakala */ transition:none;/* Disable CSS transitions during swipe */}
#match-details.swiping{touch-action:none;/* Aktif swipe sırasında tüm touch'ı yakala */ cursor:grabbing;}
@media(max-width:768px){
    #match-details{position:fixed;width:100%;left:0;top:0;/* ✅ MOBİL FIX:Tam ekran — üstte boşluk bırakma */ right:0;bottom:0;/* Ekranın en altına kadar uzatmak için */ height:auto;/* height değerini kaldır, top ve bottom ile boyut belirlensin */ max-height:none;/* max-height kısıtlaması kaldır */ margin:0;overflow:auto;padding:10px 10px 50px 10px;/* ← FIX:50px alt padding - mobil navigasyon çubuğu için */ box-sizing:border-box;background:white;box-shadow:0 0 10px rgba(0,0,0,0.1);z-index:var(--z-fixed);transition:transform 0.3s ease, opacity 0.3s ease;border-radius:0;transform:translateY(0);display:flex;flex-direction:column;}
  
    /* Mobile closed state */
    #match-details.detail-closed{transform:translateY(100%);opacity:0;visibility:hidden;}
   /* Sekmeler için scroll yüksekliği güncellemesi */
    .live-scores-match-detail-content .live-scores-tab-content{/* NO overflow-y, NO max-height — parent #match-details handles scroll */ padding-bottom:20px;/* İçeriğin en altında biraz boşluk bırak */}
  
    /* M4 REVIZYON: Mobile entrance animation */
    #match-details.entrance-animation{transition:none;/* Override transition to allow animation */ animation:slideUpEntrance 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;}
}

/* Tablet (min-width: 769px and max-width: 1024px) */
@media(min-width:769px) and (max-width:1024px){
    #match-details{padding:12px 12px 0 12px;/* Tablet optimal padding */}
}

/* M4 REVIZYON: Smooth scroll behavior fallback for browsers that don't support scrollIntoView behavior */
html{scroll-behavior:smooth;}
/* M4 REVIZYON: Mobile entrance animation keyframes */
@keyframes slideUpEntrance {
    from{transform:translateY(100%);opacity:0;}
  to{transform:translateY(0);opacity:1;}
}

@media(min-width:769px){ /* #33: 992→769 standardized */
    #match-detail-sidebar{position:fixed;top:70px;/* WordPress menüsünün hemen altına hizalayın */ right:0;width:25%;/* Sidebar genişliğini belirleyin */ height:calc(100% - 70px);/* WordPress menüsünün yüksekliğini çıkarın */ overflow-y:auto;background-color:#fff;box-shadow:-2px 0 5px rgba(0,0,0,0.1);z-index:var(--z-fixed);transition:transform 0.3s ease;transform:translateX(100%);/* Başlangıçta gizli */}
   #match-detail-sidebar.show{transform:translateX(0);/* Gösterildiğinde konumu */}
   #match-detail-sidebar .live-scores-match-detail-header{background-color:#f8f9fa;padding:10px;font-size:18px;font-weight:bold;border-bottom:1px solid #ddd;}
   #match-detail-sidebar .live-scores-back-icon{cursor:pointer;font-size:28px;/* Tablet:keep consistent with mobile */ padding:10px;/* Touch area:48×48px */ position:absolute;/* ✅ FIX:top/right çalışması için */ top:10px;right:14px;}
}

@media(max-width:768px){ /* #33: 991→768 standardized */
    #match-detail-sidebar{width:100%;height:auto;position:absolute;}
}

.controls-card{display:flex;align-items:center;margin-bottom:20px;gap:15px;}
.switch-menu{display:flex;justify-content:center;align-items:center;margin-right:0;border:1px solid #ddd;border-radius:var(--radius-2xl);width:250px;flex-shrink:0;position:relative;background-color:#f5f5f5;overflow:hidden;}
/* FAZ4 FIX #31: Kayan indicator arka planı */
.switch-menu::before{content:'';position:absolute;top:2px;bottom:2px;left:2px;width:calc(50% - 4px);border-radius:var(--radius-2xl);background:linear-gradient(135deg, #1e88e5, #1565c0);box-shadow:0 2px 8px rgba(30, 136, 229, 0.3);transition:transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);z-index:var(--z-base);}
/* Indicator CANLI (sağ) konumunda → kaydır */
.switch-menu.indicator-right::before{transform:translateX(100%);}
.switch-option{flex:1;min-width:0;/* Firefox fix */ text-align:center;padding:8px 6px;cursor:pointer;transition:color 0.3s ease;position:relative;z-index:var(--z-above);font-size:14px;font-weight:700;border-radius:var(--radius-2xl);user-select:none;-webkit-user-select:none;/* iOS Safari */ -webkit-tap-highlight-color:transparent;color:#333;letter-spacing:0.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.switch-option#all-matches{color:#333;font-weight:700;}
.switch-option#live-matches{color:#333;font-weight:700;}
.switch-option.active{color:white;font-weight:700;}
.date-picker-container{display:none;/* ✅ Hidden by default - shows only with .visible class */ flex:0.9;min-width:0;}
.date-picker-container.visible{display:flex;/* ✅ Shows when TÜMÜ is selected */}
.date-picker-display{display:flex;justify-content:space-between;align-items:center;padding:10px;border:1px solid #ddd;border-radius:var(--radius-2xl);background-color:#fff;cursor:pointer;width:172.5px;/* ✅ Desktop:Fixed width */ text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:0;flex-basis:172.5px;}
.date-picker-prev, .date-picker-next{cursor:pointer;padding:0 10px;}
.date-picker-current{flex-grow:1;min-width:0;/* Firefox fix */}
.date-picker{position:absolute;top:100%;left:0;width:100%;background-color:#fff;border:1px solid #ddd;border-radius:var(--radius-md);box-shadow:0 2px 4px rgba(0,0,0,0.1);margin-top:5px;z-index:var(--z-fixed);max-height:300px;overflow-y:auto;}
.date-picker-item{padding:10px;text-align:center;cursor:pointer;transition:background-color 0.3s ease, color 0.3s ease;}
.date-picker-item.active{background-color:#007bff;color:#fff;}
.date-picker-item.today{background-color:#ff4136;color:#fff;}
@media (hover: hover) {
    .date-picker-item:hover{background-color:#f0f0f0;}
}

/* ✅ Tablet (769px - 1024px): Flexible sizing */
@media(max-width:1024px){
    .controls-card{gap:10px;}
  
    .switch-menu{flex:1;width:auto;min-width:120px;max-width:180px;}
  
    .switch-option{font-size:13px;padding:7px 5px;}
  
    .date-picker-container{display:none;/* ✅ Hidden by default on tablet */}
  
    .date-picker-container.visible{display:flex;flex:1;min-width:100px;}
  
    .date-picker-display{width:100%;font-size:12px;padding:7px 5px;flex:1;flex-basis:auto;}
  
    .date-picker-prev, .date-picker-next{padding:0 8px;font-size:13px;}
}

/* ✅ Mobile (480px - 768px): Compact layout, single line */
@media(max-width:768px){
    .controls-card{gap:8px;padding:8px;flex-wrap:nowrap;}
  
    .switch-menu{flex:1;width:auto;min-width:0;padding:0;}
  
    .switch-option{font-size:13px;padding:6px 4px;letter-spacing:0;}
  
    .date-picker-container{display:none;/* ✅ Hidden by default on mobile */}
  
    .date-picker-container.visible{display:flex;flex:0.9;min-width:0;}
  
    .date-picker-display{width:100%;font-size:12px;padding:6px 4px;flex:0.9;flex-basis:auto;}
  
    .date-picker-prev, .date-picker-next{padding:0 6px;font-size:11px;}
}

/* ✅ Small phones (< 480px): Extra compact */
@media(max-width:480px){
    .controls-card{gap:4px;padding:4px;}
  
    .switch-option{font-size:12px;padding:5px 3px;letter-spacing:-0.2px;}
  
    .date-picker-container{display:none;/* ✅ Hidden by default on small phones */}
  
    .date-picker-container.visible{display:flex;}
  
    .date-picker-display{font-size:11px;padding:5px 3px;flex:0.9;flex-basis:auto;}
  
    .date-picker-prev, .date-picker-next{padding:0 4px;font-size:10px;}
}

.hidden{display:none;}
.tournament{margin-bottom:5px;}
.live-scores-tournament-card{display:flex;align-items:center;padding:10px;background-color:#f4f4f4;border:1px solid #ddd;border-radius:var(--radius-md);margin-bottom:10px;box-shadow:0 1px 3px rgba(0, 0, 0, 0.1);width:100%;height:40px;box-sizing:border-box;/* Firefox fix:padding+border included in width */}
/* Maç listesi için özel kırmızı kart ikonu tanımı */
.match-list-red-card-icon{color:#e53935;margin-left:5px;font-size:14px;vertical-align:middle;filter:drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));transition:transform 0.2s ease;}
@media (hover: hover) {
    .match-list-red-card-icon:hover{transform:scale(1.2);}
}


@media(max-width:768px){
    .live-scores-tournament-card{height:30px;}
}

@media(min-width:769px) and (max-width:1024px){
    .live-scores-tournament-card{height:35px;}
}

@media(min-width:1025px){
    .live-scores-tournament-card{height:40px;}
}

.live-scores-tournament-flag{width:24px;height:24px;margin-right:10px;vertical-align:middle;margin-bottom:0 !important;}
.live-scores-tournament-title{font-size:14px;font-weight:bold;vertical-align:middle;}
/* Takım isimleri için genel stil */
.live-scores-name, .team-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
/* Turnuva isimleri için genel stil */
.live-scores-tournament-title{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
/* Küçük ekranlar için özel stiller */
@media(max-width:768px){
    .live-scores-name, .team-name{max-width:150px;/* uygun gördüğünüz bir değer */}
   .live-scores-tournament-title{max-width:280px;/* uygun gördüğünüz bir değer */}
}

.live-scores-no-live-events{display:flex;justify-content:center;align-items:center;height:100px;font-size:18px;font-weight:bold;color:#ff0000;text-align:center;}
.live-scores-match, .match-card{display:flex;justify-content:space-between;align-items:center;padding:10px;border:1px solid #ddd;border-radius:var(--radius-md);margin-bottom:10px;cursor:pointer;/* Optimize edilmiş transition - sadece background-color */ transition:background-color 0.2s ease;background-color:#fff;box-shadow:0 1px 3px rgba(0, 0, 0, 0.1);position:relative;height:55px;min-height:44px;/* FAZ2 FIX #8:Mobile touch target minimum */ overflow:hidden;box-sizing:border-box;/* Firefox fix:padding+border included in width */ /* GPU acceleration */ transform:translateZ(0);/* Layout değişikliğini önle */ contain:layout style;}
@media(max-width:768px){
    .live-scores-match, .match-card{height:55px;}
}

@media(min-width:769px) and (max-width:1024px){
    .live-scores-match, .match-card{height:50px;}
}

@media(min-width:1025px){
    .live-scores-match, .match-card{height:55px;}
}

.live-scores-match:hover, .match-card:hover{background-color:#f0f0f0;}
.live-scores-time-container, .time-container{display:flex;flex-direction:column;align-items:center;margin-right:12px;}
.live-scores-time, .time{font-weight:bold;font-size:14px;}
.live-scores-minute, .minute{font-size:16px;color:#666;min-width:70px;max-width:110px;display:inline-block;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;/* FIX 8:Dakika display flickering düzeltmesi - smooth transition */ transition:opacity 0.15s ease;}
/* Farklı ekran boyutları için responsive dakika alanı */
@media(max-width:480px){
    .live-scores-minute, .minute{font-size:14px;min-width:60px;/* %10 artırıldı (50px'den 55px'e) */ max-width:100px;/* Genişletildi:text dakika değerleri için */}
}

@media(min-width:481px) and (max-width:768px){
    .live-scores-minute, .minute{font-size:15px;min-width:65px;/* %10 artırıldı (55px'den 60.5px'e) */ max-width:105px;/* Genişletildi:text dakika değerleri için */}
}

/* FIX 8: Dakika update animasyonu - smooth fade effect */
.live-scores-minute.updating, .minute.updating{opacity:0.7;}
.live-scores-teams, .teams{flex-grow:1;min-width:0;/* Firefox fix:allow flex child to shrink below intrinsic content width */ display:flex;flex-direction:column;justify-content:space-between;}
.live-scores-team, .team{display:flex;align-items:center;justify-content:space-between;width:100%;min-width:0;/* Firefox fix:prevent team row from expanding beyond container */ overflow:hidden;/* Firefox fix:clip overflowing content */}
.team-logo, .match-card .team-logo{width:20px;height:20px;margin-right:5px;margin-bottom:0 !important;}
/* Maç Detay Kartı Takım Logosu - RESPONSIVE SIZING */
/* FIX #3: Optimize logo sizes based on card width & header space */
/* Calculated: Extra-small 44px → Small 48px → Mid 56px → Tablet 75px → Desktop 100px */
.match-details-team-logo{width:44px;/* Extra small phones (< 375px) */ height:44px;margin-bottom:4px;/* Mobile optimal */ margin-top:0;display:block;filter:drop-shadow(0 2px 4px rgba(0,0,0,0.1));transition:transform 0.2s ease, filter 0.2s ease;}
@media (hover: hover) {
    .match-details-team-logo:hover{transform:scale(1.05);filter:drop-shadow(0 4px 8px rgba(0,0,0,0.15));}
}

/* Small phones (375-480px) */
@media(min-width:375px){
    .match-details-team-logo{width:48px;height:48px;margin-bottom:4px;/* Keep mobile */}
}

/* Large phones (481px+) - FAZ2 FIX #15: Standardized breakpoint */
@media(min-width:481px){
    .match-details-team-logo{width:56px;height:56px;margin-bottom:4px;/* Keep mobile */}
}

/* Tablets (769px+) */
@media(min-width:769px){
    .match-details-team-logo{width:75px;height:75px;margin-bottom:5px;/* Tablet */}
}

/* Desktop (1025px+) */
@media(min-width:1025px){
    .match-details-team-logo{width:100px;height:100px;margin-bottom:6px;/* Desktop optimal */}
}

.live-scores-name, .match-card .team-name{font-size:14px;font-weight:500;vertical-align:middle;margin-top:0;}
.match-details-team-name{font-size:14px;font-weight:500;vertical-align:middle;margin-top:5px;margin-bottom:5px;}
.live-scores-score, .match-card .score{font-weight:bold;font-size:12px;flex-shrink:0;text-align:center;margin-left:auto;margin-top:2px;margin-bottom:2px;}
.live-scores-score-card, .match-card .score-card{background-color:#fff;border:1px solid #ddd;border-radius:var(--radius-md);padding:2px;display:flex;justify-content:center;align-items:center;box-shadow:0 1px 3px rgba(0,0,0,0.1);width:30px;height:calc(100% - 8px);text-align:center;box-sizing:border-box;margin-top:0;margin-bottom:0;}
@media(max-width:768px){
    .live-scores-score-card, .match-card .score-card{width:20px;padding:1px;font-size:12px;height:calc(100% - 6px);margin-top:0;margin-bottom:0;}
  .live-scores-score, .match-card .score{font-size:12px;}
}

@media(min-width:769px) and (max-width:1024px){
    .live-scores-score-card, .match-card .score-card{width:25px;padding:2px;font-size:13px;height:calc(100% - 7px);margin-top:0;margin-bottom:0;}
  .live-scores-score, .match-card .score{font-size:12px;}
}

@media(min-width:1025px){
    .live-scores-score-card, .match-card .score-card{width:30px;padding:2px;font-size:14px;height:calc(100% - 8px);margin-top:0;margin-bottom:0;}
  .live-scores-score, .match-card .score{font-size:12px;}
}

.live-scores-match .fa-chart-simple{margin-right:30px;color:#007bff;font-size:20px;position:absolute;right:15px;top:50%;transform:translateY(-50%);}
.live-scores-match-detail-header{display:flex;/* FIX #8:Semantic header with button + h1 */ align-items:center;gap:var(--space-3);/* Spacing between title and back button */ margin-bottom:15px;padding-bottom:10px;border-bottom:1px solid #ddd;flex-direction:row-reverse;/* ✅ Geri ikonu sağa taşı — button sağda, h1 solda */}
/* Semantic H1 heading */
.live-scores-match-detail-header h1, .live-scores-header-title{font-size:14px;/* Mobile-first base */ font-weight:600;color:#333;margin:0;padding:0;flex:1;/* Take remaining space */ min-width:0;/* Firefox fix:allow text truncation in flex */ overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
/* Back button styling */
.live-scores-back-button{background:none;border:none;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
/* Tablet (min-width: 769px) */
@media(min-width:769px){
    .live-scores-match-detail-header h1, .live-scores-header-title{font-size:16px;}
}

/* Desktop (min-width: 1025px) */
@media(min-width:1025px){
    .live-scores-match-detail-header h1, .live-scores-header-title{font-size:18px;}
}

.live-scores-match-detail-content{font-size:14px;/* Mobile-first base */}
/* Tablet (min-width: 769px) */
@media(min-width:769px){
    .live-scores-match-detail-content{font-size:16px;}
}

/* Desktop (min-width: 1025px) */
@media(min-width:1025px){
    .live-scores-match-detail-content{font-size:18px;}
}

.live-scores-menu{display:flex;justify-content:space-around;margin-top:20px;border-top:1px solid #ddd;padding-top:10px;overflow-x:auto;/* Taşan içeriğin kaydırılabilir olmasını sağlar */ -webkit-overflow-scrolling:touch;/* FIX #9:Smooth scroll momentum (iOS) */ white-space:nowrap;/* Metinlerin satır kaydırmasını engeller */ list-style:none;/* FIX #8:Nav element */ scrollbar-width:thin;/* FIX #9:Firefox thin scrollbar */ scrollbar-color:rgba(0,0,0,0.2) transparent;/* FIX #9:Firefox scrollbar color */ scroll-snap-type:x proximity;/* M-7 FIX:Smooth tab menu snapping on mobile */}
/* FIX #9: Webkit scrollbar styling (Chrome, Safari) */
.live-scores-menu::-webkit-scrollbar{height:6px;}
.live-scores-menu::-webkit-scrollbar-track{background:transparent;}
.live-scores-menu::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,0.2);border-radius:var(--radius-sm);}
.live-scores-menu::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,0.4);}
.live-scores-menu-item{cursor:pointer;padding:10px 12px;/* FIX #9:8px -> 10px vertical (WCAG AAA) */ font-size:13px;/* Mobile */ border-radius:var(--radius-md);transition:background-color 0.3s ease;position:relative;white-space:nowrap;/* Tab items stay on one line */ flex-shrink:0;/* Allow horizontal scroll */ background:none;/* FIX #8:Button styling reset */ border:none;color:#333;font-family:inherit;min-height:44px;/* FIX #9:WCAG AAA 44x44 minimum */ display:flex;/* FIX #9:Vertical centering */ align-items:center;justify-content:center;scroll-snap-align:center;/* M-7 FIX:Snap to center when scrolling */}
/* Tablet */
@media(min-width:769px){
    .live-scores-menu-item{padding:12px 16px;/* FIX #9:10px -> 12px vertical */ font-size:14px;/* Tablet */ min-height:48px;/* FIX #9:WCAG AAA 48x48 optimal */}
}

/* Desktop */
@media(min-width:1025px){
    .live-scores-menu-item{padding:12px 20px;/* FIX #9:10px -> 12px vertical */ font-size:16px;/* Desktop original */ min-height:48px;/* FIX #9:Maintained 48px */}
}

.live-scores-menu-item:hover{background-color:#f0f0f0;}
.live-scores-menu-item:focus{outline:2px solid #1e88e5;/* FIX #8:Keyboard focus visible */ outline-offset:2px;}
.live-scores-menu-item[aria-selected="true"]{background-color:#f5f7fa;color:#1e88e5;font-weight:600;}
.live-scores-menu-item[aria-selected="true"]::after{content:'';position:absolute;bottom:-2px;left:25%;width:50%;height:3px;background-color:#1e88e5;border-radius:var(--radius-sm);}
.live-scores-tab-content{display:none;padding-top:10px;/* Animasyon class'larıyla set edilecek */}
.live-scores-active{display:block;/* Animation class'ları tarafından override edilir */}
/* Tab geçiş animasyon durumları */
.live-scores-tab-content.entering{display:block !important;will-change:opacity, transform;animation:fadeIn 0.35s ease-in-out forwards;/* Fallback:fade in */}
.live-scores-tab-content.entering.slide-right{animation:slideInRight 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;}
.live-scores-tab-content.entering.slide-left{animation:slideInLeft 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;}
.live-scores-tab-content.exiting{will-change:opacity, transform;animation:fadeOut 0.15s ease-in forwards;/* Fallback:fade out */}
.live-scores-tab-content.exiting.slide-left{animation:slideOutLeft 0.15s ease-in forwards;}
.live-scores-tab-content.exiting.slide-right{animation:slideOutRight 0.15s ease-in forwards;}
/* Mobil cihazlar için optimize edilmiş animasyon süreleri */
@media(max-width:600px){
    .live-scores-tab-content.entering.slide-right, .live-scores-tab-content.entering.slide-left{animation-duration:0.25s;}
  
    .live-scores-tab-content.exiting.slide-left, .live-scores-tab-content.exiting.slide-right{animation-duration:0.12s;}
}

/* PHASE 2.10.2: Tab loading state - show skeleton/spinner while loading */
.live-scores-tab-content.loading{opacity:0.8;pointer-events:none;}
.live-scores-tab-content.loading .loading-spinner{display:block !important;margin:20px auto;}
@keyframes fadeIn {
    from{opacity:0;}
  to{opacity:1;}
}

@keyframes fadeOut {
    from{opacity:1;}
  to{opacity:0;}
}

/* Tab Animasyonları - Sağdan kayarak giriş */
@keyframes slideInRight {
    from{opacity:0;transform:translateX(20px);}
  to{opacity:1;transform:translateX(0);}
}

/* Tab Animasyonları - Sola kayarak çıkış */
@keyframes slideOutLeft {
    from{opacity:1;transform:translateX(0);}
  to{opacity:0;transform:translateX(-20px);}
}

/* Tab Animasyonları - Soldan kayarak giriş */
@keyframes slideInLeft {
    from{opacity:0;transform:translateX(-20px);}
  to{opacity:1;transform:translateX(0);}
}

/* Tab Animasyonları - Sağa kayarak çıkış */
@keyframes slideOutRight {
    from{opacity:1;transform:translateX(0);}
  to{opacity:0;transform:translateX(20px);}
}

.live-scores-lineup-card{margin-top:20px;padding:15px;background-color:#f9f9f9;border:1px solid #ddd;border-radius:var(--radius-md);box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);position:relative;}
.live-scores-lineup-card h3{margin-top:0;}
.live-scores-saha-image-container{position:relative;width:100%;height:auto;}
.live-scores-saha-image{width:100%;height:auto;max-height:400px;object-fit:contain;display:block;margin-top:0;}
@media(max-width:768px){
    .container{flex-direction:column;padding:10px;}
  .live-scores-match, .match-card{max-width:100%;}
}

.live-scores-match-card{display:flex;justify-content:space-between;align-items:center;padding:var(--space-3);/* Mobile base */ background:linear-gradient(145deg, #ffffff, #f9f9f9);border:none;border-radius:var(--radius-xl);margin-bottom:10px;box-shadow:0 10px 25px rgba(0,0,0,0.07);transition:transform 0.3s ease, box-shadow 0.3s ease;overflow:hidden;/* Firefox fix:prevent content overflow */ /* GPU acceleration */ transform:translateZ(0);}
.live-scores-match-card:hover{will-change:transform;/* FAZ3 FIX #18:Sadece hover sırasında layer promote et */ transform:translateY(-2px);box-shadow:0 12px 30px rgba(0,0,0,0.1);}
/* Tablet */
@media(min-width:769px) and (max-width:1024px){
    .live-scores-match-card{padding:var(--space-4);/* Tablet padding */}
}

/* Desktop */
@media(min-width:1025px){
    .live-scores-match-card{padding:var(--space-5);/* Desktop original */}
}

.live-scores-match-card .live-scores-team{display:flex;flex-direction:column;align-items:center;margin-bottom:6px;/* Mobile base */ min-width:auto;}
/* Tablet */
@media(min-width:769px){
    .live-scores-match-card .live-scores-team{margin-bottom:8px;/* Tablet */}
}

/* Desktop */
@media(min-width:1025px){
    .live-scores-match-card .live-scores-team{margin-bottom:10px;/* Desktop */}
}

/* Tablet */
@media(min-width:481px) and (max-width:768px){
    .live-scores-match-card .live-scores-team{margin-bottom:6px;flex:0 0 auto;min-width:85px;}
}

/* Tablet */
@media(min-width:769px){
    .live-scores-match-card .live-scores-team{margin-bottom:8px;}
}

/* Desktop */
@media(min-width:1025px){
    .live-scores-match-card .live-scores-team{margin-bottom:10px;min-width:100px;}
}

/* Match Detail Card - Aggregated Score Display (Two-legged matches) */
.live-scores-match-card .total-score{display:flex;flex-wrap:wrap;gap:8px;padding:6px 8px;background-color:#f8f9fa;border-radius:4px;font-size:12px;margin-bottom:8px;text-align:center;width:100%;box-sizing:border-box;min-height:24px;align-items:center;justify-content:center;border:1px solid #e0e0e0;line-height:1.4;}
.live-scores-match-card .total-score span{display:inline-flex;align-items:center;padding:2px 4px;background-color:rgba(0, 0, 0, 0.03);border-radius:3px;font-weight:500;color:#333;white-space:nowrap;font-size:12px;}
.live-scores-match-card .total-score span strong{font-weight:700;margin-right:3px;color:#0066cc;}
.live-scores-match-card .aggregate-ims{border-left:3px solid #ff6b6b;padding-left:8px;}
.live-scores-match-card .aggregate-penalty{border-left:3px solid #ffa500;padding-left:8px;}
/* Responsive: Stack on extra-small screens */
@media(max-width:360px){
    .live-scores-match-card .total-score{font-size:11px;gap:4px;padding:4px 6px;min-height:22px;}
  .live-scores-match-card .total-score span{padding:1px 3px;font-size:10px;}
}

/* Mobile: Single line wrap on small screens */
@media(max-width:480px){
    .live-scores-match-card .total-score{font-size:12px;flex-direction:row;justify-content:center;gap:6px;padding:6px 8px;}
  .live-scores-match-card .total-score span{font-size:12px;padding:2px 4px;}
}

/* Tablet and above: Horizontal layout */
@media(min-width:481px){
    .live-scores-match-card .total-score{justify-content:center;gap:10px;font-size:13px;padding:6px 8px;}
  .live-scores-match-card .total-score span{font-size:13px;padding:2px 4px;}
}

/* Desktop: Increase size for total-score */
@media(min-width:1025px){
    .live-scores-match-card .total-score{font-size:14px;padding:8px 12px;gap:8px;min-height:30px;margin-bottom:10px;width:100%;min-width:200px;flex-wrap:nowrap;line-height:1.4;}
  .live-scores-match-card .total-score span{font-size:14px;padding:2px 4px;flex:1;min-width:0;}
}

/* Match Card: Previous-leg-score Base */
.live-scores-match-card .previous-leg-score{display:flex;align-items:center;justify-content:center;text-align:center;width:100%;box-sizing:border-box;margin-bottom:8px;line-height:1.4;font-size:12px;padding:6px 8px;min-height:24px;}
.live-scores-match-card .previous-leg-score span{font-size:12px;padding:2px 4px;white-space:nowrap;}
/* Extra-small screens */
@media(max-width:360px){
    .live-scores-match-card .previous-leg-score{font-size:11px;padding:4px 6px;min-height:22px;}
  .live-scores-match-card .previous-leg-score span{font-size:10px;padding:1px 3px;}
}

/* Small mobile */
@media(max-width:480px){
    .live-scores-match-card .previous-leg-score{font-size:12px;padding:6px 8px;min-height:24px;}
  .live-scores-match-card .previous-leg-score span{font-size:12px;padding:2px 4px;}
}

/* Tablet and above */
@media(min-width:481px){
    .live-scores-match-card .previous-leg-score{font-size:13px;padding:6px 8px;min-height:24px;}
  .live-scores-match-card .previous-leg-score span{font-size:13px;padding:2px 4px;}
}

/* Desktop: Increase size for previous-leg-score in match card */
@media(min-width:1025px){
    .live-scores-match-card .previous-leg-score{font-size:14px;padding:8px 12px;min-height:30px;margin-bottom:10px;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4;}
  
    .live-scores-match-card .previous-leg-score span{width:100%;display:inline-block;white-space:nowrap;font-size:14px;padding:2px 4px;}
}

.live-scores-match-card .live-scores-team-name{font-weight:600;font-size:14px;margin-bottom:3px;text-align:center;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#212121;position:relative;display:inline-block;}
/* Desktop: Wider team name */
@media(min-width:1025px){
    .live-scores-match-card .live-scores-team-name{max-width:180px;}
}

/* Team name tooltip: only show on devices with hover (mouse) */
@media (hover: hover) {
    .live-scores-team-name:hover:after{content:attr(title);position:absolute;left:50%;transform:translateX(-50%);bottom:-25px;background-color:rgba(0,0,0,0.8);color:white;padding:5px 10px;border-radius:var(--radius-sm);font-size:12px;white-space:nowrap;z-index:var(--z-fixed);opacity:0;animation:fadeIn 0.3s forwards;}
}

/* Takım Skoru - MOBIL-FIRST */
.live-scores-match-card .live-scores-team-score{font-size:32px;/* Mobil temel - increased from 28px */ font-weight:700;color:#212121;text-shadow:0 1px 2px rgba(0,0,0,0.05);line-height:inherit;}
/* Small phones (max 480px) */
@media(max-width:480px){
    .live-scores-match-card .live-scores-team-score{font-size:26px;/* Keep smaller for very small screens */}
}

/* Tablet+ */
@media(min-width:769px){
    .live-scores-match-card .live-scores-team-score{font-size:30px;}
}

/* Desktop */
@media(min-width:1025px){
    .live-scores-match-card .live-scores-team-score{font-size:30px;}
}

/* Maç zamanı - MOBIL-FIRST */
.live-scores-match-card .live-scores-match-time{font-size:18px;/* Mobil temel - slightly reduced to fit better */ font-weight:600;text-align:center;margin-top:8px;flex:1;min-width:0;/* Firefox fix:allow flex child to shrink */ padding:4px 6px;background-color:#f5f7fa;border-radius:var(--radius-lg);box-shadow:inset 0 1px 3px rgba(0,0,0,0.03);min-height:32px;display:flex;align-items:center;justify-content:center;}
/* Small phones (max 480px) */
@media(max-width:480px){
    .live-scores-match-card .live-scores-match-time{font-size:16px;padding:3px 5px;min-height:28px;}
}

/* Tablet+ */
@media(min-width:769px){
    .live-scores-match-card .live-scores-match-time{font-size:22px;padding:6px 8px;margin-top:10px;}
}

/* Desktop */
@media(min-width:1025px){
    .live-scores-match-card .live-scores-match-time{font-size:28px;padding:8px 12px;margin-top:12px;min-height:40px;}
}

.live-scores-back-icon{font-size:28px;/* Mobile optimal */ cursor:pointer;z-index:var(--z-fixed-above);padding:var(--space-2);/* Touch area:44×44px */ display:flex;align-items:center;justify-content:center;transition:all 0.2s ease;color:#333;/* ✅ MOBİL FIX:İkon rengi belirgin */ flex-shrink:0;width:44px;height:44px;min-width:44px;min-height:44px;box-sizing:border-box;/* ✅ padding dahil 44px */ -webkit-mask-size:20px 20px;/* ✅ Görsel ok boyutu 20px */ mask-size:20px 20px;}
.live-scores-back-icon:hover{color:#666;transform:scale(1.05);/* Subtle scale on hover */}
.live-scores-back-icon:active{transform:scale(0.95);/* Press feedback */}
/* Desktop tab content - allow full scroll */
@media(min-width:1025px){
    .live-scores-match-detail-content .live-scores-tab-content{max-height:none;overflow-y:visible;}
}

/* Mobile/Tablet tab content — NO inner scroll (parent #match-details handles scroll) */
@media(max-width:1024px){
    .live-scores-match-detail-content .live-scores-tab-content{/* NO overflow-y, NO max-height */ padding-bottom:20px;}
  
    .live-scores-match-detail-content{display:flex;/* ← MOBILE FIX:Flexbox layout */ flex-direction:column;flex-grow:1;/* ← Expand to fill space */}
}

@media(min-width:769px){
    #match-details{top:250px;/* Varsayılan başlangıç yüksekliği */ position:fixed;right:20px;width:40%;max-height:calc(100vh - 310px);/* Viewport - top(250px) - taskbar margin(60px) */ max-height:calc(100dvh - 310px);/* Safari dvh */ overflow-y:auto;z-index:var(--z-fixed);}
}

@media(max-width:768px){
    .live-scores-match, .match-card{width:100%;}
}

.live-scores-lineup-card{display:flex;flex-direction:column;align-items:center;text-align:center;position:relative;}
.live-scores-lineup-card .live-scores-saha-image{width:100%;height:auto;max-height:400px;object-fit:contain;display:block;margin-top:0;}
.live-scores-lineup-card .live-scores-content{margin-top:20px;}
.live-scores-lineup-card-wrapper{display:flex;justify-content:space-between;gap:20px;}
.live-scores-lineup-card{width:48%;padding:var(--space-5);border:1px solid #ddd;border-radius:var(--radius-sm);background-color:#fff;}
.live-scores-lineup-card h3{margin-top:0;margin-bottom:10px;}
.live-scores-lineup-card ul{list-style-type:none;padding:0;}
.live-scores-lineup-card ul li{padding:5px 0;border-bottom:1px solid #ddd;}
.live-scores-lineup-card ul li:last-child{border-bottom:none;}
.live-scores-statistics-content{margin-top:20px;}
.live-scores-stat-row{display:flex;align-items:center;margin-bottom:24px;/* Daha fazla boşluk */ justify-content:space-between;position:relative;flex-direction:column;padding:0 5px;/* Yanlarda biraz boşluk */}
.live-scores-stat-label{width:100%;text-align:center;font-weight:600;font-size:14px;color:#333;position:absolute;top:-10px;margin-bottom:5px;letter-spacing:0.2px;font-family:'Roboto', Arial, sans-serif;}
@media(max-width:480px){
    .live-scores-stat-label{font-size:12px;}
}

@media(min-width:481px) and (max-width:768px){
    .live-scores-stat-label{font-size:13px;}
}

.live-scores-stat-bar-container{flex-grow:1;min-width:0;/* Firefox fix:allow flex child to shrink below content width */ display:flex;align-items:center;background-color:#f0f0f0;border-radius:var(--radius-md);overflow:hidden;height:10px;/* Biraz daha kalın */ width:100%;margin-top:10px;box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.05);/* İç gölge */}
@media(max-width:480px){
    .live-scores-stat-bar-container{height:12px;/* Mobile:daha kolay tıklanabilir */}
}

@media(min-width:481px) and (max-width:768px){
    .live-scores-stat-bar-container{height:11px;/* Tablet:medium yükseklik */}
}

.live-scores-stat-bar{height:100%;position:relative;transition:width 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);}
.live-scores-stat-bar.home{background:linear-gradient(to right, #1E88E5, #64B5F6);border-top-left-radius:10px;border-bottom-left-radius:10px;box-shadow:0 2px 3px rgba(0, 0, 0, 0.1);transition:all 0.3s ease;}
.live-scores-stat-bar.away{background:linear-gradient(to right, #E53935, #EF9A9A);border-top-right-radius:10px;border-bottom-right-radius:10px;box-shadow:0 2px 3px rgba(0, 0, 0, 0.1);transition:all 0.3s ease;}
.live-scores-stat-value{position:absolute;font-size:14px;color:#fff;}
.live-scores-stat-value.home{left:0;background-color:#1E88E5;padding:2px 8px;border-radius:var(--radius-sm);font-weight:500;box-shadow:0 1px 3px rgba(0, 0, 0, 0.1);transition:background-color 0.3s ease, box-shadow 0.3s ease;}
.live-scores-stat-value.away{right:0;background-color:#E53935;padding:2px 8px;border-radius:var(--radius-sm);font-weight:500;box-shadow:0 1px 3px rgba(0, 0, 0, 0.1);transition:background-color 0.3s ease, box-shadow 0.3s ease;}
/* CANLI yazısı için optimize edilmiş stiller - DOM güncelleme problemini çözmek için */
.match-status{display:inline-block;min-width:50px;max-width:140px;/* Flexible width - Türkçe metinler için (Başlamadı, Ertelendi) */ text-align:center;font-weight:bold;padding:2px 4px;word-wrap:break-word;overflow-wrap:break-word;white-space:normal;}
/* Mobile optimization for match-status */
@media(max-width:480px){
    .match-status{max-width:120px;/* Smaller max-width for very small phones */ font-size:0.9em;/* Slightly smaller font */ padding:2px 3px;/* Tighter padding */}
}

/* Tablet optimization */
@media(min-width:481px) and (max-width:768px){
    .match-status{max-width:130px;font-size:0.95em;padding:2px 4px;}
}

.match-status{border-radius:var(--radius-sm);box-sizing:border-box;/* Kritik:Auto boyut - esnek layout */ height:auto;line-height:1.3;/* GPU acceleration için transform kullan */ transform:translateZ(0);/* Layout thrashing'ı önle */ contain:layout style paint;}
.match-status-live{background-color:rgba(198, 40, 40, 0.1);color:#c62828;border:1px solid rgba(198, 40, 40, 0.3);/* Animasyon yerine sabit stil - performans için */ opacity:1;}
.match-status-notstarted{background-color:rgba(108, 117, 125, 0.1);color:#6c757d;border:1px solid rgba(108, 117, 125, 0.3);}
.match-status-finished{background-color:rgba(27, 94, 32, 0.1);color:#1b5e20;border:1px solid rgba(27, 94, 32, 0.3);}
.match-status-postponed{background-color:rgba(230, 81, 0, 0.1);color:#e65100;border:1px solid rgba(230, 81, 0, 0.3);}
/* Live indicator - optimize edilmiş animasyon */
.live-indicator{display:inline-block;width:8px;height:8px;border-radius:50%;background-color:#dc3545;margin-left:4px;vertical-align:middle;/* GPU acceleration */ transform:translateZ(0);/* Performanslı animasyon - sadece opacity değişimi */ animation:liveBlinking 2s infinite ease-in-out;/* Layout değişikliğini önle */ contain:layout;}
/* Optimize edilmiş blinking animasyonu - sadece opacity */
@keyframes liveBlinking {
    0%, 50%{opacity:1;}
  51%, 100%{opacity:0.3;}
}

/* Uzatma dakikası için stil */
.extra-time{font-size:0.8em;position:relative;top:-0.3em;color:#ff4136;/* Uzatma dakikasını kırmızı renkte göster */ font-weight:bold;}
/* Optimize edilmiş blinking quote - DOM güncelleme problemini çözmek için */
.blinking-quote{color:#3a6e3e;/* GPU acceleration için */ transform:translateZ(0);/* Performanslı animasyon - sadece opacity değişimi */ animation:blinkingText 1.5s infinite ease-in-out;/* Layout değişikliğini önle */ contain:layout;}
@keyframes blinkingText {
    0%, 40%{opacity:1;}
  41%, 100%{opacity:0.4;}
}

/* Uzatma dakikasında geçen süre gösterimi için stil */
.extra-time-elapsed{font-size:0.7em;margin-top:2px;color:#999;display:block;text-align:center;font-weight:normal;}
.live-scores-tournament-card .live-scores-tournament-flag{margin-bottom:0 !important;}
.place-holder{display:inline-block;width:30px;height:1px;margin-left:auto;}
#momentumChart{width:100%;height:200px;}
.lineup-field-image-container{width:100%;height:auto;position:relative;}
.lineup-field-image{width:100%;height:auto;}
.home-team-players .player, .away-team-players .player{position:absolute;transform:translate(-50%, -50%);text-align:center;}
.player.clickable-player{cursor:pointer;/* Tıklanabilir olduğunu göstermek için imleç */ position:absolute;/* Konumlandırma için gerekli */ z-index:var(--z-overlay);/* Diğer elementlerin üzerinde olması için yüksek bir değer */}
/* Yedek oyuncular için de tıklanabilir imleç */
.substitute-player.clickable-player{cursor:pointer;/* Tıklanabilir olduğunu göstermek için imleç */}
/* Tüm yedek oyuncular için tıklanabilir stil */
.substitute-player{cursor:pointer;/* Yedek oyuncuların tıklanabilir olduğunu göstermek için imleç */}
/* Tüm alt elemanlar için tıklama olaylarını geçir */
.player.clickable-player *,
.substitute-player.clickable-player *,
.substitute-player *{pointer-events:none;}
/* Tıklanabilirlik için player-jersey resminin görünür olduğundan emin ol */
.player-jersey{width:50px;/* Forma görselinin genişliği */ height:auto;pointer-events:auto !important;/* Resimin tıklanabilir olmasını sağla */}
.player-number{display:block;font-size:18px;/* Forma numarasının yazı boyutu */ font-weight:bold;margin-top:-50px;/* Forma numarası ile forma görseli arasındaki mesafe */ pointer-events:none;/* Tıklama olaylarını geçirmesini sağla */ z-index:var(--z-above);/* Forma görselinin altında kalmalı */}
.player-name{display:block;text-align:center;color:#ffffff;/* Beyaz yazı rengi */ font-size:12px;/* Oyuncu isminin yazı boyutu */ margin-top:20px;max-width:85px;/* Maksimum genişlik */ overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;/* Tıklama olaylarını geçirmesini sağla */ z-index:var(--z-above);/* Forma görselinin altında kalmalı */}
/* Rating ve Substitution ikonları için pointer-events ve z-index */
.player-rating, .substitution-icon{pointer-events:none;/* Tıklama olaylarını geçirmesini sağla */ z-index:var(--z-above);/* Forma görselinin altında kalmalı */}
@media only screen and (max-width: 600px) {
    .lineup-field-image-container{width:100%;}
}

@media(max-width:768px){
    .lineup-field-image{width:calc(100% - 6px);}
}

/* FAZ3 FIX #19: GPU-composited overlay-based flash animations (background-color yerine opacity) */
@keyframes flashGoal {
    0%, 20%, 40%, 60%, 80%, 100%{opacity:0;}
  10%, 30%, 50%, 70%, 90%{opacity:1;}
}

@keyframes flashCancel {
    0%, 20%, 40%, 60%, 80%, 100%{opacity:0;}
  10%, 30%, 50%, 70%, 90%{opacity:1;}
}

.flash-goal, .flash-cancel{position:relative;z-index:var(--z-player);border-radius:var(--radius-sm);}
.flash-goal::before, .flash-cancel::before{content:'';position:absolute;top:0;right:0;bottom:0;left:0;/* Samsung Internet <14 compat (inset shorthand) */ border-radius:inherit;pointer-events:none;z-index:var(--z-behind);}
.flash-goal::before{background-color:#3a6e3e;animation:flashGoal 3s steps(1, end) forwards;}
.flash-cancel::before{background-color:#ff4136;animation:flashCancel 3s steps(1, end) forwards;}
/* Box-shadow sadece animasyon sırasında - performans için */
.flash-goal.animating, .flash-cancel.animating{box-shadow:0 0 8px rgba(0, 0, 0, 0.2);}
.var-icon{color:#1976d2;/* ← UI/UX FIX:Consistent blue */}
.penalty-goal-icon{color:#4caf50;/* ← UI/UX FIX:Consistent green */}
.own-goal-icon{color:#d32f2f;/* ← UI/UX FIX:Consistent red */}
.qualified-icon{font-size:16px;/* Level 1:Status icons - Mobile */ color:#28a745;/* Green:Team qualified */ margin-left:4px;vertical-align:middle;filter:drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));transition:transform 0.2s ease;}
@media (hover: hover) {
    .qualified-icon:hover{transform:scale(1.15);}
}

/* Responsive: Qualified Icon */
@media(min-width:769px) and (max-width:1024px){
    .qualified-icon{font-size:18px;/* Level 1:Tablet */}
}

@media(min-width:1025px){
    .qualified-icon{font-size:20px;/* Level 1:Desktop */}
}

.goal-icon{color:#4caf50;/* ← UI/UX FIX:Added explicit green */}
.yellow-card-icon{color:#fbc02d;/* ← UI/UX FIX:Consistent yellow */ margin-left:5px;font-size:16px;/* Level 2:Small cards - Mobile */ vertical-align:middle;filter:drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));transition:transform 0.2s ease;}
@media (hover: hover) {
    .yellow-card-icon:hover{transform:scale(1.2);}
}

/* Responsive: Yellow Card */
@media(min-width:769px) and (max-width:1024px){
    .yellow-card-icon{font-size:18px;/* Level 2:Tablet */}
}

@media(min-width:1025px){
    .yellow-card-icon{font-size:20px;/* Level 2:Desktop */}
}

.red-card-icon{color:#c62828;/* ← UI/UX FIX:Darker red for contrast */ margin-left:5px;font-size:16px;/* Level 2:Small cards - Mobile */ vertical-align:middle;filter:drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));transition:transform 0.2s ease;}
@media (hover: hover) {
    .red-card-icon:hover{transform:scale(1.2);}
}

/* Responsive: Red Card */
@media(min-width:769px) and (max-width:1024px){
    .red-card-icon{font-size:18px;/* Level 2:Tablet */}
}

@media(min-width:1025px){
    .red-card-icon{font-size:20px;/* Level 2:Desktop */}
}

.penalty-missed-icon{color:#d32f2f;/* ← Kırmızı:kaçan penaltı daha belirgin */ margin-left:5px;font-size:16px;/* Level 2:Mobile */ vertical-align:middle;filter:drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));transition:transform 0.2s ease;}
@media (hover: hover) {
    .penalty-missed-icon:hover{transform:scale(1.2);}
}

/* Responsive: Penalty Missed */
@media(min-width:769px) and (max-width:1024px){
    .penalty-missed-icon{font-size:18px;/* Level 2:Tablet */}
}

@media(min-width:1025px){
    .penalty-missed-icon{font-size:20px;/* Level 2:Desktop */}
}

.goalkeeper-save-icon{color:#ff9800;/* ← UI/UX FIX:Added orange */}
.substitution-icon{color:#6c757d;}
.substitution-icon.injury{color:#c62828;/* ← UI/UX FIX:Darker red */}
.incident-details.home-incident span, .incident-details.away-incident span, .incident-details.general-incident span, .incident-details.home-incident i, .incident-details.away-incident i, .incident-details.general-incident i{margin-right:5px;}
/* ← UI/UX FIX: .incident-time moved outside .incident-details (new semantic HTML) */
.incident-time{color:#555;/* ← UI/UX FIX:Darker color for contrast */ white-space:nowrap;flex-shrink:0;font-weight:700;/* ← Consistent font-weight value */ display:inline-block;font-size:13px;/* ← Desktop default */ margin-right:12px;/* ← Desktop default */}
/* Old selector compatibility - for any nested .incident-time (if needed) */
.incident-details.home-incident .incident-time, .incident-details.away-incident .incident-time, .incident-details.general-incident .incident-time{margin-left:5px;}
/* Genel olay stili */
.incident{display:flex;align-items:center;margin-bottom:8px;padding:var(--space-3);background-color:#ffffff;/* FAZ2 FIX #14:Modern card design - white background */ border-radius:var(--radius-md);/* FAZ2 FIX #14:More rounded for modern look */ box-shadow:0 2px 8px rgba(0,0,0,0.12);/* FAZ2 FIX #14:More prominent shadow */ border:1px solid #e8e8e8;/* FAZ2 FIX #14:Subtle border for definition */ transition:all 0.2s ease;font-size:13px;/* ← Desktop default */}
.incident:hover{box-shadow:0 2px 5px rgba(0,0,0,0.15);}
/* ← UI/UX FIX: Focus state for keyboard navigation */
.incident:focus-within{outline:2px solid #0066cc;outline-offset:2px;box-shadow:0 0 0 4px rgba(0, 102, 204, 0.1);}
.incident:focus-visible{outline:2px solid #0066cc;outline-offset:2px;}
/* ← VAR CANCELLATION: Cancelled incident styling */
.incident.cancelled-incident{background-color:#f0f0f0;opacity:0.7;border-left:3px solid #999;}
.incident.cancelled-incident .incident-player{text-decoration:line-through;color:#999;}
.incident-details{font-size:13px;/* ← Desktop default */ display:flex;align-items:center;gap:6px;/* ← Desktop default */ flex-grow:1;min-width:0;/* Firefox fix:allow shrink on tablet+ */ color:#1a1a1a;flex-wrap:nowrap;}
.incident-score{font-weight:700;/* ← Consistent with incident-time */ margin-right:5px;flex-shrink:0;color:#d32f2f;/* ← Emphasis color */}
.incident-player{font-weight:700;/* ← Consistent with incident-time */ color:#1a1a1a;/* ← UI/UX FIX:Darker color */}
.incident-player-out{font-weight:700;/* ← Consistent with incident-time */ color:#c62828;/* ← UI/UX FIX:Darker red for contrast */}
.incident-player-in{font-weight:700;/* ← Consistent with incident-time */ color:#1b5e20;/* ← UI/UX FIX:Darker green (AAA contrast) */}
.assist{font-style:italic;color:#555;/* ← UI/UX FIX:Better contrast */ font-size:12px;}
/* Ev sahibi olayları */
.home-incident{display:flex;flex-direction:row;text-align:left;/* ← Text aligned LEFT */ align-items:center;justify-content:flex-start;/* ← Content starts from left */}
.home-incident .incident-time{order:-1;/* Time appears FIRST */ margin-left:0;margin-right:8px;}
.home-incident .incident-details{flex-grow:1;justify-content:flex-start;}
/* Deplasman olayları */
.away-incident{display:flex;flex-direction:row;text-align:right;/* ← Text aligned RIGHT */ align-items:center;justify-content:flex-end;/* ← Content ends at right */}
.away-incident .incident-time{order:1;/* Time appears LAST */ margin-left:8px;margin-right:0;}
.away-incident .incident-details{flex-grow:1;justify-content:flex-end;}
/* Genel olaylar — ortalanmış ve bold */
.general-incident{display:flex;justify-content:center;text-align:center;}
.general-incident .incident-details, .general-incident .incident-details.center-incident{justify-content:center;text-align:center;font-weight:700;}
/* Mobil optimizasyonlar */
@media(max-width:768px){
    #match-incidents{grid-template-columns:1fr;gap:0;padding:0;/* NO overflow-y, NO max-height — parent #match-details handles scroll */}
  
    .incident{padding:6px 8px;margin-bottom:3px;font-size:12px;min-height:auto;line-height:1.2;background-color:#fafafa;border-radius:0;box-shadow:none;}
  
    /* General incidents - centered */
    .incident.general-incident{display:flex;justify-content:center;align-items:center;text-align:center;background-color:#e0e0e0;padding:6px 8px;margin-bottom:3px;width:100%;/* ✅ Tam genişlik */}
  
    .incident.general-incident .incident-details{text-align:center;justify-content:center;font-weight:700;/* ✅ MOBİL FIX:Desktop ile uyumlu bold */ color:#333;gap:var(--space-1);font-size:12px;flex-direction:row;/* ✅ Tek satır */ width:100%;}
  
    /* Home incidents - left aligned */
    .home-incident{text-align:left;justify-content:flex-start;flex-direction:row;}
  
    /* Away incidents - right aligned */
    .away-incident{text-align:right;justify-content:flex-end;flex-direction:row;}
  
    .incident-details{gap:var(--space-1);flex:1;min-width:0;font-size:12px;flex-wrap:nowrap;display:flex;align-items:center;}
  
    .incident-time{font-size:12px;color:#000;}
  
    .home-incident .incident-time{order:-1;margin-right:4px;margin-left:0;}
  
    .away-incident .incident-time{order:1;margin-left:4px;margin-right:0;}
  
    .incident-score{font-size:12px;flex-shrink:0;}
  
    .incident-player, .incident-player-out,
    .incident-player-in{flex-shrink:0;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  
    /* Hide assist on mobile */
    .assist{display:none !important;}
  
    /* Icon sizing — ✅ MOBİL FIX: .incident scope ile sınırla (chart ikonlarını etkilemesin) */
    .incident i{font-size:12px;flex-shrink:0;}
  
    .incident .fa-futbol, .incident .fa-square,
    .incident .fa-exchange-alt, .incident .fa-times-circle{font-size:12px;flex-shrink:0;min-width:12px;min-height:12px;display:inline-block;}
  
    /* Arrow icon */
    .incident .fa-arrow-right{font-size:9px;margin:0 2px;flex-shrink:0;}
}

/* Tablet optimizasyonları (769px - 1024px) */
@media(min-width:769px) and (max-width:1024px){
    #match-incidents{grid-template-columns:1fr;gap:0;/* NO overflow-y, NO max-height — parent #match-details handles scroll */}
  
    .incident{padding:var(--space-2);margin-bottom:6px;font-size:12px;flex-wrap:wrap;align-items:center;}
  
    .incident-time{font-size:12px;margin-right:8px;}
  
    .incident-details{font-size:12px;gap:var(--space-1);}
}

/* Desktop optimizasyonları (1025px+) */
@media(min-width:1025px){
    #match-incidents{grid-template-columns:1fr;gap:0;/* NO overflow-y, NO max-height — parent #match-details handles scroll */}
  
    .incident{padding:var(--space-3);margin-bottom:8px;font-size:13px;flex-wrap:wrap;align-items:center;}
  
    .incident-time{font-size:13px;margin-right:8px;}
  
    .incident-details{font-size:13px;gap:6px;}
}

@media(max-width:479px){
    .incident{padding:6px;margin-bottom:3px;font-size:12px;}
  
    .incident-time{font-size:12px;margin-right:6px;}
  
    .incident-details{font-size:12px;flex-direction:row;/* ✅ Desktop gibi yatay düzen — alt alta değil */ align-items:center;gap:var(--space-1);flex-wrap:nowrap;}
  
    .assist{font-size:12px;}
}

.match-details-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:18px;}
.match-details-header .back-button{cursor:pointer;font-size:24px;}
.match-details-content{margin-top:10px;}
.match-details-content h3{font-size:20px;margin-top:0;}
.match-details-content p{margin-bottom:10px;}
.match-details-stats{margin-top:20px;}
.match-details-stats .stat{display:flex;justify-content:space-between;margin-bottom:10px;}
.match-details-stats .stat span{font-size:14px;}
.match-details-lineups{margin-top:20px;}
.match-details-lineups .team{display:flex;justify-content:space-between;align-items:center;padding:10px;border:1px solid #ddd;border-radius:var(--radius-sm);margin-bottom:10px;}
.match-details-lineups .team img{width:30px;height:auto;margin-right:10px;}
.match-details-lineups .team .name{flex-grow:1;min-width:0;/* Firefox fix */ overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;}
.match-details-lineups .team .score{font-weight:bold;font-size:16px;}
.incident p{margin:0;font-size:14px;}
#attack-momentum-chart{display:flex;justify-content:center;align-items:center;width:100%;padding:0;margin:0;flex-direction:column;}
#attack-momentum-graph-container{display:flex;align-items:center;position:relative;width:100%;margin:0;padding:0;flex-direction:column;}
/* Veri bulunamadığında gösterilecek mesaj stilini tanımlama */
.no-data-message{text-align:center;padding:var(--space-5);background-color:#f8f9fa;border-radius:var(--radius-md);margin:10px 0;color:#666;border:1px solid #ddd;}
.no-data-message p{margin:0;font-size:14px;}
/* Canlı maç bulunamadığında gösterilecek mesaj stili */
.live-scores-no-live-events, .live-scores-no-events{text-align:center;padding:40px 20px;background-color:#f8f9fa;border-radius:var(--radius-md);margin:20px 0;color:#666;border:1px solid #ddd;font-size:16px;font-weight:500;line-height:1.5;/* Okunabilirlik için */}
/* Canlı maç yok mesajı için özel stil */
.live-scores-no-live-events{background:linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);border-color:#ffcc80;color:#e65100;/* Animasyon ekleyelim */ animation:fadeIn 0.5s ease-in-out;}
/* Mobil uyumluluk */
@media(max-width:768px){
    .live-scores-no-live-events, .live-scores-no-events{padding:30px 15px;font-size:14px;margin:15px 0;}
}

.attack-momentum-team-logo{position:absolute;width:20px;height:20px;margin:0;}
.attack-momentum-team-logo img{width:20px;height:20px;}
.home-team-logo{top:25%;/* CSS fallback — JS chartArea plugin overrides with exact px */ left:5px;}
.away-team-logo{top:55%;/* CSS fallback — JS chartArea plugin overrides with exact px */ left:5px;}
#attack-momentum-graph-canvas{width:100%;padding-left:20px;margin:0;height:180px;position:relative;box-sizing:border-box;overflow:visible;/* Allow incident icons to display outside chart */ z-index:var(--z-above);/* Lower than icons so icons appear on top */}
/* Tablet (768px - 1024px) */
@media(max-width:1024px) and (min-width:769px){
    #attack-momentum-graph-canvas{height:160px;padding-left:15px;overflow:visible;}
}

/* Mobil - Tablet (480px - 768px) */
@media(max-width:768px){
    #attack-momentum-graph-canvas{width:100%;/* ✅ MOBİL FIX:box-sizing:border-box ile padding zaten dahil */ height:35vh;height:35dvh;/* FAZ2 FIX #10:Safari dvh */ min-height:180px;padding-left:15px;overflow:visible;}
}

/* Küçük mobil (< 480px) */
@media(max-width:479px){
    #attack-momentum-graph-canvas{width:100%;/* ✅ MOBİL FIX:box-sizing:border-box ile padding zaten dahil */ height:35vh;height:35dvh;/* FAZ2 FIX #10:Safari dvh */ min-height:160px;padding-left:10px;overflow:visible;}
}

/* Lejant stil tanımlamaları */
.attack-momentum-legend{display:flex;justify-content:center;margin-top:10px;width:100%;flex-wrap:wrap;}
.legend-item{display:flex;align-items:center;margin:0 10px;}
.legend-color{width:15px;height:15px;margin-right:5px;border-radius:var(--radius-sm);}
.home-color{background-color:rgba(0, 180, 0, 0.8);}
.away-color{background-color:rgba(0, 0, 200, 0.8);}
.legend-text{font-size:12px;color:#666;}
@media(max-width:768px){
    #attack-momentum-graph-container{padding-left:0;}
   .attack-momentum-team-logo{width:20px;height:20px;}
   .home-team-logo{top:25%;/* CSS fallback — JS chartArea plugin overrides with exact px */ left:0px;}
   .away-team-logo{top:55%;/* CSS fallback — JS chartArea plugin overrides with exact px */ left:0px;}
  
    .legend-item{margin:0 5px;}
  
    .legend-text{font-size:12px;}
}

@media(max-width:480px){
    #attack-momentum-graph-canvas{height:120px;}
  
    .attack-momentum-legend{flex-direction:row;/* ✅ Tek satırda göster */ align-items:center;justify-content:center;gap:var(--space-2);}
  
    .legend-item{margin:0;}
}

/* FAZ2 FIX #13: Tarih seçici mobil UX iyileştirmesi */
@media(max-width:768px){
    .date-picker-container{max-width:90%;margin:0 auto;}
   .date-picker-display{padding:8px 12px;/* FIX #13:2px → 8px 12px (WCAG dokunma hedef) */ display:flex;justify-content:center;text-align:center;width:100%;box-sizing:border-box;min-height:44px;/* FIX #13:WCAG minimum dokunma hedefi */ font-size:14px;/* FIX #13:Okunabilir font boyutu */ border-radius:var(--radius-md);}
   .date-picker-prev, .date-picker-next{padding:8px 12px;/* FIX #13:0 5px → 8px 12px (daha büyük dokunma alanı) */ min-width:44px;/* FIX #13:WCAG minimum dokunma hedefi */ min-height:44px;display:flex;align-items:center;justify-content:center;}
   .date-picker-current{flex:1;min-width:0;/* Firefox fix */ text-align:center;}
}

/* Maç Listesi Kartı İçin CSS */
.live-scores-team .live-scores-name{display:flex;align-items:center;justify-content:space-between;min-width:0;/* Firefox fix:allow name to shrink */ overflow:hidden;/* Firefox fix:clip overflow */}
.live-scores-team .live-scores-name .team-country{font-size:12px;color:#666;margin-left:5px;}
.live-scores-team-name, .match-details-team-name{font-size:13px;/* Mobile-first base */ font-weight:600;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#333;position:relative;display:inline-block;line-height:1.3;}
/* Tablet (min-width: 769px) */
@media(min-width:769px){
    .live-scores-team-name, .match-details-team-name{font-size:15px;max-width:200px;}
}

/* Desktop (min-width: 1025px) */
@media(min-width:1025px){
    .live-scores-team-name, .match-details-team-name{font-size:16px;max-width:180px;}
}

/* FAZ2 FIX #11: Tooltip sadece hover destekleyen cihazlarda göster */
@media (hover: hover) {
    .live-scores-team-name[title]:hover::after, .match-details-team-name[title]:hover::after{content:attr(title);position:absolute;left:50%;transform:translateX(-50%);top:100%;margin-top:5px;background-color:rgba(0,0,0,0.8);color:white;padding:5px 10px;border-radius:var(--radius-sm);font-size:12px;white-space:nowrap;z-index:var(--z-fixed-top);opacity:0;pointer-events:none;animation:tooltipFadeIn 0.3s forwards;}
}

@keyframes tooltipFadeIn {
    0%{opacity:0;transform:translateX(-50%) translateY(10px);}
  100%{opacity:1;transform:translateX(-50%) translateY(0);}
}

/* Maç listesi kartı için stil */
.live-scores-team-country{font-size:12px;color:gray;margin-left:5px;}
/* Maç detay kartı için stil */
.match-details-team-country{display:block;font-size:13px;font-weight:400;color:#616161;opacity:0.8;margin-top:3px;margin-bottom:3px;/* Mobile base */ letter-spacing:0.2px;font-family:'Roboto', sans-serif;}
/* Tablet */
@media(min-width:769px){
    .match-details-team-country{margin-bottom:4px;/* Tablet */}
}

/* Desktop */
@media(min-width:1025px){
    .match-details-team-country{margin-bottom:5px;/* Desktop */}
}

/* Responsive styles for team country and names */
@media(min-width:769px){
    .match-details-team-country{font-size:13px;/* Tablet size */ margin-top:3px;}
  
    .live-scores-team-name, .match-details-team-name{max-width:200px;/* More space on tablet for team names */}
}

@media(max-width:768px){
    .match-details-team-country{font-size:12px;/* Mobile override for smaller screen */ margin-top:2px;}
  
    .live-scores-team-name, .match-details-team-name{max-width:calc(100vw - 140px);/* Dinamik width:ekran genişliğinden logoların ve spacing'in uzunluğu çıkarılır */ /* Example:375px - 140px (2×logo 48px + padding 20px + score 24px) = 235px */}
}

/* İstatistik sekmesi butonları - modern tasarım */
.statistics-period-selection{display:flex;justify-content:center;margin-bottom:20px;background-color:#f5f5f5;border-radius:var(--radius-md);padding:6px;box-shadow:0 2px 5px rgba(0,0,0,0.05);gap:var(--space-1);}
@media(max-width:480px){
    .statistics-period-selection{padding:var(--space-2);gap:6px;margin-bottom:16px;}
}

@media(min-width:481px) and (max-width:768px){
    .statistics-period-selection{padding:7px;gap:5px;}
}

.statistics-period-selection button{-webkit-appearance:none;/* iOS */ appearance:none;background-color:transparent;border:none;padding:10px 20px;margin:0;cursor:pointer;font-size:14px;color:#555;border-radius:var(--radius-md);transition:all 0.3s ease;position:relative;overflow:hidden;flex:1;font-weight:500;letter-spacing:0.3px;font-family:'Roboto', Arial, sans-serif;min-height:40px;display:flex;align-items:center;justify-content:center;}
@media(max-width:480px){
    .statistics-period-selection button{min-height:44px;padding:12px 16px;font-size:13px;}
}

@media(min-width:481px) and (max-width:768px){
    .statistics-period-selection button{min-height:42px;padding:11px 18px;font-size:13px;}
}

@media (hover: hover) {
    .statistics-period-selection button:hover{background-color:rgba(0, 0, 0, 0.05);color:#333;}
}

.statistics-period-selection button.active{background-color:white;color:#1E88E5;font-weight:600;box-shadow:0 2px 5px rgba(0, 0, 0, 0.08);transition:all 0.3s ease;}
.statistics-period-selection button:focus-visible{outline:2px solid #1e88e5;outline-offset:2px;}
.statistics-period-selection button:focus:not(:focus-visible){outline:none;}
.statistics-period-selection button:active{transform:translateY(1px);box-shadow:0 2px 3px rgba(0, 123, 255, 0.3);}
.live-scores-statistics-content{padding:var(--space-5);}
.live-scores-stat-group h4{background-color:#f3f6fa;/* Daha açık bir arka plan rengi */ color:#2c3e50;/* Daha modern koyu mavi/gri renk */ padding:8px 12px;/* Daha fazla iç boşluk */ text-align:center;margin:0 0 16px 0;border-radius:var(--radius-md);/* Yuvarlak köşeler */ box-shadow:0 2px 8px rgba(0, 0, 0, 0.05);/* İnce gölge */ font-size:16px;/* Yazı boyutu */ font-weight:600;/* Kalın yazı tipi */ font-family:'Roboto', Arial, sans-serif;/* Modern yazı tipi */ transition:all 0.3s ease;/* Geçiş efektleri */ border-left:3px solid #4285f4;/* Sol kenar çizgisi */ letter-spacing:0.3px;/* Harf aralığı */}
.standings-buttons{display:flex;justify-content:center;margin-bottom:15px;}
.standings-table{width:100%;border-collapse:separate;border-spacing:0;border-radius:var(--radius-md);overflow:hidden;box-shadow:0 2px 10px rgba(0,0,0,0.05);margin-bottom:20px;}
.standings-table th, .standings-table td{padding:10px;text-align:center;transition:all 0.2s ease;}
.standings-table th{background-color:#f1f3f5;padding:12px 10px;font-weight:600;text-transform:uppercase;font-size:14px;letter-spacing:0.5px;color:#495057;border-bottom:2px solid #dee2e6;}
.standings-table td{border-bottom:1px solid #e9ecef;vertical-align:middle;}
/* Zebra çizgili tablo */
.standings-table tbody tr:nth-child(odd){background-color:#f8f9fa;}
.standings-table tbody tr:nth-child(even){background-color:#ffffff;}
/* Hover efekti */
.standings-table tbody tr:hover{background-color:#e9ecef;transition:background-color 0.2s ease;}
.standings-table td.team-cell{text-align:left;}
.standings-table tbody tr.highlighted-row{background-color:#e6f3fe;/* Vurgulamak için açık mavi bir renk */ font-weight:bold;}
/* Puan durumu tablosu statü renkleri - Lig formatı */
.promotion-champions{background-color:rgba(46, 204, 113, 0.2);border-left:3px solid #2ecc71;}
.promotion-champions-qual{background-color:rgba(39, 174, 96, 0.2);border-left:3px solid #27ae60;}
.promotion-europa{background-color:rgba(52, 152, 219, 0.2);border-left:3px solid #3498db;}
.promotion-conference{background-color:rgba(41, 128, 185, 0.2);border-left:3px solid #2980b9;}
.promotion-relegation{background-color:rgba(231, 76, 60, 0.2);border-left:3px solid #e74c3c;}
/* Puan durumu tablosu statü renkleri - Turnuva formatı */
.promotion-next-round{background-color:rgba(46, 204, 113, 0.2);/* açık yeşil (pale green) */ border-left:3px solid #2ecc71;}
.promotion-playoffs{background-color:rgba(241, 196, 15, 0.2);/* altın sarısı (gold) */ border-left:3px solid #f1c40f;}
.promotion-qualification-playoffs{background-color:rgba(230, 126, 34, 0.2);/* turuncu (orange) */ border-left:3px solid #e67e22;}
.promotion-qualified{background-color:rgba(52, 152, 219, 0.2);/* açık gökyüzü mavisi (light sky blue) */ border-left:3px solid #3498db;}
/* Tooltip stili */
.tooltip{position:relative;cursor:help;}
/* Özel tooltip stili */
.custom-tooltip{position:fixed;background:rgba(0,0,0,0.8);color:white;padding:6px 12px;border-radius:var(--radius-sm);font-size:12px;font-weight:normal;white-space:nowrap;z-index:var(--z-modal);display:block;min-width:60px;text-align:center;pointer-events:none;/* Mouse olaylarını alt elemanlarına geçir */ box-shadow:0 2px 5px rgba(0,0,0,0.2);opacity:0.9;}
/* Puan durumu lejant stili */
.standings-legend{margin-top:15px;padding:10px;background-color:#f8f9fa;border-radius:var(--radius-sm);font-size:14px;}
.legend-title{font-weight:bold;margin-bottom:10px;}
.legend-items{display:flex;flex-wrap:wrap;gap:10px;}
.legend-item{display:flex;align-items:center;margin-right:10px;}
.legend-color{display:inline-block;width:20px;height:20px;margin-right:5px;border:1px solid #ddd;}
.legend-text{font-size:13px;}
@media(max-width:768px){
    .legend-items{flex-direction:column;gap:5px;}
  
    .legend-item{margin-right:0;margin-bottom:5px;}
  
    .legend-color{width:15px;height:15px;}
  
    .legend-text{font-size:12px;}
}


/* Geniş ekranlar için */
@media screen and (min-width:769px){
    .standings-table{display:table;}
  .standings-table tbody tr{display:table-row;}
  .standings-table th, .standings-table td{display:table-cell;}
  .standings-table th.position-cell, .standings-table td.position-cell{width:5%;/* # sütunu genişliği */}
  .standings-table th.team-cell, .standings-table td.team-cell{width:35%;/* Takım sütunu genişliği */ text-align:left;}
  .standings-table th.matches-cell, .standings-table td.matches-cell,
    .standings-table th.wins-cell, .standings-table td.wins-cell,
    .standings-table th.draws-cell, .standings-table td.draws-cell,
    .standings-table th.losses-cell, .standings-table td.losses-cell,
    .standings-table th.goals-cell, .standings-table td.goals-cell,
    .standings-table th.points-cell, .standings-table td.points-cell{width:9%;/* Diğer sütunların genişlikleri */}
   .standings-table th{font-size:16px;/* Başlık font büyüklüğü */ font-weight:bold;/* Başlık font ağırlığı */}
   .standings-table td{font-size:14px;/* Veri font büyüklüğü */}
}

.standings-period-selection{text-align:center;margin-bottom:15px;}
.standings-period-selection button{-webkit-appearance:none;/* iOS */ appearance:none;background-color:#007bff;border:none;padding:10px 20px;margin:0 8px;cursor:pointer;font-size:14px;color:white;border-radius:var(--radius-pill);transition:all 0.3s ease;box-shadow:0 2px 5px rgba(0, 123, 255, 0.3);position:relative;overflow:hidden;}
@media (hover: hover) {
    .standings-period-selection button:hover{background-color:#0069d9;transform:translateY(-2px);box-shadow:0 4px 8px rgba(0, 123, 255, 0.4);}
}

.standings-period-selection button.active{background-color:#0056b3;font-weight:bold;transform:scale(1.05);box-shadow:0 4px 10px rgba(0, 86, 179, 0.5);}
.standings-period-selection button:focus-visible{outline:2px solid #1e88e5;outline-offset:2px;}
.standings-period-selection button:focus:not(:focus-visible){outline:none;}
.standings-period-selection button:active{transform:translateY(1px);box-shadow:0 2px 3px rgba(0, 123, 255, 0.3);}
.standings-table td.team-cell img{vertical-align:middle;}
/* Mobil Kart Görünümü Stilleri */
.standings-cards{display:none;/* Varsayılan olarak gizli, media query ile gösterilecek */}
.standings-card{background-color:#ffffff;border-radius:var(--radius-md);box-shadow:0 2px 5px rgba(0,0,0,0.1);padding:var(--space-3);margin-bottom:10px;display:flex;align-items:center;position:relative;transition:all 0.3s ease;}
.standings-card:hover{transform:translateY(-2px);box-shadow:0 4px 8px rgba(0,0,0,0.15);}
.card-position{width:30px;height:30px;border-radius:50%;background-color:#f8f9fa;display:flex;align-items:center;justify-content:center;font-weight:bold;margin-right:10px;}
.card-team{display:flex;align-items:center;flex:1;min-width:0;/* Firefox fix:flex child shrink */}
.card-team-logo{width:30px;height:30px;margin-right:10px;}
.card-team-name{font-weight:600;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:120px;}
.card-stats{min-width:100px;text-align:right;}
.card-stat{margin-bottom:5px;display:flex;flex-direction:column;align-items:center;}
.card-stat-label{font-size:12px;color:#6c757d;margin-right:5px;}
.card-stat-value{font-weight:600;font-size:14px;}
.card-points{font-size:20px;font-weight:700;color:#007bff;}
.card-stats-grid{display:grid;grid-template-columns:repeat(3, 1fr);gap:5px;margin-top:5px;}
/* Vurgulanan kartlar için stil */
.highlighted-card{box-shadow:0 0 0 2px #4dabf7;}
/* Küçük ekranlar için */
@media screen and (max-width:768px){
    /* Masaüstündeki tablo görünümünü göster */
    .standings-table{display:table !important;}
  
    /* Kart görünümünü gizle */
    .standings-cards{display:none !important;}
  
    .standings-table-container{display:block !important;overflow-x:auto;-webkit-overflow-scrolling:touch;/* iOS'ta daha akıcı kaydırma */ margin-bottom:10px;}
  
    /* Mobil için tablo görünümünü optimize edelim */
    .standings-table thead th{padding:8px 4px;font-size:12px;}
  
    .standings-table tbody td{padding:8px 4px;font-size:12px;}
  
    /* Takım hücresi için özel stil */
    .standings-table .team-cell{text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:120px;}
  
    /* Takım logosunu optimize edelim */
    .standings-table .team-cell img{width:16px;height:16px;margin-right:4px;vertical-align:middle;}
  
    /* Diğer hücreleri sıkıştıralım */
    .standings-table th.matches-cell, .standings-table td.matches-cell,
    .standings-table th.wins-cell, .standings-table td.wins-cell,
    .standings-table th.draws-cell, .standings-table td.draws-cell,
    .standings-table th.losses-cell, .standings-table td.losses-cell,
    .standings-table th.goals-cell, .standings-table td.goals-cell,
    .standings-table th.points-cell, .standings-table td.points-cell{padding:4px 2px;}
  
    /* Daha iyi bir kontrastlık için zebra çizgisi efektini güçlendirelim */
    .standings-table tbody tr:nth-child(odd){background-color:#f5f5f5;}
  
    /* Vurgulanan satırın her ekran boyutunda tutarlı görünmesini sağlayalım */
    .standings-table tbody tr.highlighted-row{background-color:#e6f3fe;/* Açık mavi arka plan */ font-weight:bold;}
  
    /* Hücrelerin hizalaması */
    .standings-table td{text-align:center;}
  
    /* Lejant bölümü optimizasyonu */
    .standings-legend{padding:var(--space-2);font-size:12px;}
  
    .legend-title{font-size:12px;margin-bottom:5px;}
  
    .legend-items{display:grid;grid-template-columns:repeat(2, 1fr);/* 2 sütunlu grid */ gap:5px;}
  
    .legend-item{margin-right:0;margin-bottom:5px;}
  
    .legend-color{width:12px;height:12px;}
  
    .legend-text{font-size:12px;}
}

/* Orta ekranlar için (tablet) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .standings-table{width:100%;}
  
    .standings-table th, .standings-table td{font-size:12px;padding:var(--space-2);text-align:center;}
   .standings-table th.position-cell, .standings-table td.position-cell{width:5%;}
   .standings-table th.team-cell, .standings-table td.team-cell{width:35%;text-align:left;vertical-align:middle;}
   .standings-table th.matches-cell, .standings-table td.matches-cell,
    .standings-table th.wins-cell, .standings-table td.wins-cell,
    .standings-table th.draws-cell, .standings-table td.draws-cell,
    .standings-table th.losses-cell, .standings-table td.losses-cell,
    .standings-table th.goals-cell, .standings-table td.goals-cell,
    .standings-table th.points-cell, .standings-table td.points-cell{width:9%;}
   .standings-table td.team-cell{line-height:1.5;}
   .standings-table td.team-cell img{width:20px;height:auto;margin-right:3px;vertical-align:middle;}
}

/* Skor bölümü kontaineri (İMS, Zaman, TOP, PEN) */
.live-scores-match-time-container{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 1 auto;/* Firefox fix:don't grow, allow shrink, natural width */ min-width:0;/* Firefox fix */ gap:2px;/* Skor öğeleri arasında boşluk */ padding:4px 0;}
@media(min-width:1025px){
    .live-scores-match-time-container{flex:1;/* Desktop:container genişsin */ min-width:auto;}
}

/* İMS - Üstte */
.previous-leg-score{order:1;display:flex;justify-content:center;align-items:center;width:100%;}
@media(min-width:1025px){
    .previous-leg-score{width:100%;min-width:200px;/* Minimum width güvence */}
}

/* Maç zamanı - Ortada */
.live-scores-match-time{font-size:1.2em;font-weight:700;text-align:center;letter-spacing:0.5px;order:2;/* TOP ve İMS'in ortasına yerleştir */ padding:2px 4px;min-height:28px;display:flex;align-items:center;justify-content:center;word-wrap:break-word;overflow-wrap:break-word;}
/* Mobile optimization for container match-time */
@media(max-width:768px){
    .live-scores-match-time{padding:2px 3px;/* Tighter padding on mobile */ min-height:24px;/* Smaller min-height */}
}

/* TOP - Zaman altında */
.total-score{order:3;}
/* PEN - Altta */
.penalties-score{order:4;}
.aggregated-score{font-size:0.8em;font-weight:normal;text-align:center;margin-bottom:5px;font-family:Arial, sans-serif;}
@media(max-width:768px){
    .lineup-field-image-container{width:100%;padding:5px 0;/* Saha görselinin çevresindeki boşluğu azalttık */}
  .lineup-field-image{width:100%;height:auto;}
  .home-team-players .player, .away-team-players .player{transform:translate(-50%, -50%) scale(0.8);/* Ölçeği biraz daha küçülttük */}
  .player-jersey{width:40px;/* Forma boyutunu daha da küçülttük */ height:auto;}
  .player-number{font-size:16px;/* Numara boyutunu küçülttük */ margin-top:-45px;/* Numarayı formaya daha yakın hale getirdik */}
  .player-name{font-size:12px;/* İsim boyutunu küçülttük */ margin-top:10px;/* İsmi formaya daha yakın hale getirdik */ max-width:80px;/* Maksimum genişliği artırdık */ overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
  /* Oyuncu konumlarını optimize etmek için gereksiz transform'ları kaldırdık */
    /* Bunlar zaten position: absolute ile sağlanan oyuncu konumlarını bozuyor */
    /* 
    .home-team-players .player:nth-child(odd),
    .away-team-players .player:nth-child(odd){transform:translateX(-60%) scale(0.8);}
  .home-team-players .player:nth-child(even),
    .away-team-players .player:nth-child(even){transform:translateX(-40%) scale(0.8);}
  */
    /* Rating ve substitution icon için eklenen stiller */
    .player-rating{bottom:20px;left:-10px;font-size:12px;padding:3px 6px;}
.substitution-icon{position:absolute;/* İkonun doğru şekilde konumlandırılması için ekleniyor */ bottom:18px !important;/* Forma görselinin altına yerleştirmek için */ right:-10px !important;/* Forma görselinin sağına yerleştirmek için */ font-size:16px;/* İkonun boyutunu ayarlayın */ color:#FF0000;/* Kırmızı renk, isteğe göre değiştirilebilir */}
}

/* KD-8 FIX: Breakpoint inversion düzeltildi — 480px efektif boyutlar artık 768px'ten küçük
   768px: jersey 40×0.8=32px, number 16×0.8=12.8px, name 12×0.8=9.6px
   480px: jersey 38×0.7=26.6px, number 15×0.7=10.5px, name 13×0.7=9.1px ✓ (monoton azalma) */
@media(max-width:480px){
    .player-jersey{width:38px;/* 38×0.7=26.6px < 768px'teki 32px ✓ */}
  .player-number{font-size:15px;/* 15×0.7=10.5px ✓ */ margin-top:-40px;}
  .player-name{font-size:13px;/* 13×0.7=9.1px ✓ */ margin-top:10px;max-width:70px;}
  .home-team-players .player, .away-team-players .player{transform:translate(-50%, -50%) scale(0.7);}
  /* Rating ve substitution icon için eklenen stiller */
    .player-rating{bottom:12px;left:-10px;font-size:14px;/* 14×0.7=9.8px ✓ */ padding:1px 2px;}
  .substitution-icon{font-size:12px;bottom:15px !important;right:-3px !important;}
}

/* FAZ4 FIX #25: Ultra-küçük ekranlar (≤360px) için formasyon scaling */
/* K-5 FIX: scale(0.6)→0.75, font-size artırıldı — min 10px efektif garanti */
@media(max-width:360px){
    .lineup-field-image-container{width:100%;overflow:hidden;}
  .home-team-players .player, .away-team-players .player{transform:translate(-50%, -50%) scale(0.75);}
  .player-jersey{width:35px;}
  .player-number{font-size:14px;/* 14 × 0.75 = 10.5px ✓ */ margin-top:-38px;}
  .player-name{font-size:14px;/* 14 × 0.75 = 10.5px ✓ (was 12px → 7.2px ✗) */ margin-top:8px;max-width:56px;/* K-9 FIX:70→56px — 5 oyunculu hatlarda çakışma önlenir */ overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
  .player-rating{font-size:13px;/* 13 × 0.75 = 9.75px ≈ 10px ✓ (was 9px → 5.4px ✗) */ padding:1px 3px;bottom:15px;left:-8px;}
  .substitution-icon{font-size:13px;/* 13 × 0.75 = 9.75px ✓ */ bottom:12px !important;right:-5px !important;}
  /* Takım bilgi kartları */
    .team-info .team-name{font-size:0.75em;}
  .team-info .team-coach, .team-info .team-formation{font-size:0.6em;}
}

/* FAZ4 FIX #25: Landscape modda formasyon optimize - daha az dikey alan */
@media (max-height: 500px) and (orientation: landscape) {
    .lineup-field-image-container{max-height:60vh;overflow:hidden;}
  .home-team-players .player, .away-team-players .player{transform:translate(-50%, -50%) scale(0.65);}
}

.stats-card{display:flex;justify-content:center;align-items:center;padding:10px;background-color:#f9f9f9;border:1px solid #ddd;border-radius:var(--radius-md);box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);margin-top:20px;}
.stats-card i{font-size:24px;color:#007bff;}
@media(max-width:768px){
    .stats-card{padding:5px;margin-top:10px;}
   .stats-card i{font-size:18px;}
}
/* ====================================================================
   Maç ayrıntıları tabı için stiller
   ARCHITECTURE: #match-details is the ONLY scroll container.
   All inner elements use overflow: visible to avoid nested scroll.
   ==================================================================== */

/* Base: hidden like all tabs. Active state shows as flex. */
#tab-details{display:none;/* ← Normal tab rules:hidden by default */ flex-direction:column;position:relative;min-height:0;}
/* When active, show as flex column */
#tab-details.live-scores-active{display:flex !important;}
#tab-details .tab-section{width:100%;}
#tab-details .top-section{order:1;margin-bottom:20px;flex-shrink:0;/* Attack momentum boyutu sabit kalsın */}
#tab-details .bottom-section{order:2;min-height:0;/* NO overflow-y, NO max-height — parent #match-details handles scroll */}
/* Tüm tab'lar seçili olmadığında gizlensin */
.live-scores-tab-content:not(.live-scores-active){display:none !important;}
/* ✅ Match Incidents Container — NO inner scroll */
#match-incidents{width:100%;display:grid;grid-template-columns:1fr;gap:0;min-height:0;/* NO overflow-y, NO max-height — parent #match-details handles scroll */}
/* General incidents span full width */
.incident.general-incident{grid-column:1;}
/* Mobile/Tablet: incident spacing */
@media(max-width:1024px){
    /* ← MOBILE FIX: Substitution arrow and player spacing */
    .incident-player-out, .incident-player-in{display:inline-block;max-width:calc(50% - 15px);word-break:break-word;white-space:normal;}
  
    .incident-details.away-incident, .incident-details.home-incident{flex-wrap:wrap;gap:var(--space-1);}
}

/* Genel stiller */
.team-info-card{background-color:#2e7d00;/* Zemin rengi — K-6 FIX:#59b200→2e7d00 kontrast 3.27:1→4.6:1 */ padding:6px 10px;/* ✅ Daha fazla iç boşluk — okunaklılık */ margin:0;/* Kartların arasındaki boşlukları kaldır */ border-radius:0;/* Kenarları oval yapmayı kaldır */ display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;color:#ffffff;/* Yazı rengi beyaz */ font-family:'Roboto', sans-serif;/* Yazı tipi */}
.away-team-info-card{background-color:#2e7d00;/* Zemin rengi — K-6 FIX */}
.team-info{display:flex;flex-direction:column;width:100%;position:relative;}
.team-info .team-name{font-size:1.1em;/* ✅ Daha büyük — okunaklı */ font-weight:bold;text-align:left;/* Takım ismi sola dayalı */ width:50%;/* Yüzde olarak genişlik ayarı */ display:inline-block;}
.team-info .team-coach{font-size:0.9em;/* ✅ Daha büyük — okunaklı */ text-align:left;/* Teknik direktör bilgisi sola dayalı */ width:100%;/* Yüzde olarak genişlik ayarı */}
.team-info .team-formation{font-size:0.9em;/* ✅ Daha büyük — okunaklı */ text-align:right;/* Diziliş bilgisi sağa dayalı */ width:50%;/* Yüzde olarak genişlik ayarı */ display:inline-block;position:absolute;top:0;right:5px;/* Sağdan biraz boşluk bıraktık */ vertical-align:top;/* Üst hizalama */}
/* Responsive tasarım */
@media(max-width:768px){
    .team-info-card{padding:5px 8px;/* ✅ Mobilde de yeterli padding */ margin:0;/* Kartların arasındaki boşlukları kaldır */}
   .team-info .team-name{font-size:1em;/* ✅ 0.9em→1em — okunaklı */}
   .team-info .team-coach, .team-info .team-formation{font-size:0.85em;/* ✅ 0.7em→0.85em — okunaklı */}
   .lineup-field-image-container{margin-top:0;/* Saha görselinin üst boşluğunu kaldır */ margin-bottom:0;/* Saha görselinin alt boşluğunu kaldır */}
}

@media(max-width:480px){
    .team-info-card{flex-direction:column;align-items:center;margin:0;/* Kartların arasındaki boşlukları kaldır */}
}

/* Kartlar ve saha görseli arasında boşluk kaldırma */
.lineup-field-image-container{margin:0;/* Saha görselinin tüm boşluklarını kaldır */}
.home-team-players, .away-team-players{margin:0;/* Oyuncu dizilimi ile saha görseli arasındaki boşluğu kaldır */}
.team-info-card:last-child{margin-top:0;/* Alt kart ile saha görseli arasındaki boşluğu kaldır */}
/* Ek CSS kuralları */
.lineup-field-image-container{padding:0;/* İç boşlukları kaldır */ display:flex;flex-direction:column;}
.home-team-info-card{margin-bottom:0;/* Üst kart ile saha görseli arasındaki boşluğu kaldır */}
.away-team-info-card{margin-top:0;/* Saha görseli ile alt kart arasındaki boşluğu kaldır */}
/* FAZ1 FIX #6: History butonları sadece tab aktifken görünsün */
#tab-history:not(.live-scores-active) .history-buttons{display:none !important;}
/* H2H filtreleme butonları için stiller */
.history-buttons{display:flex;justify-content:center;margin-bottom:15px;flex-wrap:wrap;/* Mobil için satır atlamasına izin ver */}
.history-buttons button{-webkit-appearance:none;/* iOS:remove native button styling */ appearance:none;background-color:#007bff;border:none;padding:10px 20px;margin:0 8px 8px 8px;/* Alt margin eklendi */ cursor:pointer;font-size:14px;color:white;border-radius:var(--radius-pill);transition:all 0.3s ease;box-shadow:0 2px 5px rgba(0, 123, 255, 0.3);position:relative;overflow:hidden;text-align:center;/* Buton içindeki metin ortalandı */ display:flex;align-items:center;justify-content:center;/* İçerik ortalandı */ min-width:120px;/* Minimum genişlik belirlendi */}
@media (hover: hover) {
    .history-buttons button:hover{background-color:#0069d9;transform:translateY(-2px);box-shadow:0 4px 8px rgba(0, 123, 255, 0.4);}
}

.history-buttons button.active{background-color:#0056b3;font-weight:bold;transform:scale(1.05);box-shadow:0 4px 10px rgba(0, 86, 179, 0.5);}
.history-buttons button:focus-visible{outline:2px solid #1e88e5;outline-offset:2px;}
.history-buttons button:focus:not(:focus-visible){outline:none;}
.history-buttons button:active{transform:translateY(1px);box-shadow:0 2px 3px rgba(0, 123, 255, 0.3);background-color:#003f7f;}
@media(max-width:768px){
    .history-buttons button{font-size:12px;padding:8px 16px;margin:0 4px 8px 4px;/* Alt margin korundu */ min-width:100px;/* Mobil için daha küçük minimum genişlik */ flex:0 0 calc(50% - 8px);/* 2 sütun için boyut hesaplama */ max-width:calc(50% - 8px);}
  
    /* Geçmiş sekme içeriği için padding azaltıldı */
    #history-content{padding:10px;}
}

@media(min-width:769px) and (max-width:1024px){
    .history-buttons button{font-size:13px;padding:9px 18px;}
}

@media(min-width:1025px){
    .history-buttons button{font-size:14px;padding:10px 20px;}
}

#history-content{padding:var(--space-5);}
.h2h-content{display:flex;flex-direction:column;gap:5px;}
.h2h-summary-title{font-size:16px;font-weight:bold;margin-bottom:10px;text-align:center;color:#333;padding:5px 0;background-color:#f5f5f5;border-radius:var(--radius-sm);}
/* Maç Karşılaşma İstatistik Barı */
.match-history-stats{margin:5px 0 15px 0;}
.match-history-stats-bar{display:flex;height:26px;width:100%;border-radius:var(--radius-sm);overflow:hidden;background-color:#f0f0f0;margin-bottom:8px;}
.match-history-segment{display:flex;justify-content:center;align-items:center;color:white;font-weight:bold;font-size:14px;transition:all 0.3s ease;}
.match-history-segment.home-wins{background-color:#007bff;/* Mevcut ev sahibi mavi renk */}
.match-history-segment.draws{background-color:#FFC107;/* Sarı */}
.match-history-segment.away-wins{background-color:#ff4136;/* Mevcut deplasman kırmızı renk */}
.match-history-stats-legend{display:flex;justify-content:space-between;font-size:12px;}
.legend-item{display:flex;align-items:center;}
.match-history-color{display:inline-block;width:12px;height:12px;margin-right:5px;border-radius:var(--radius-xs);}
.match-history-color.home-wins{background-color:#007bff;}
.match-history-color.draws{background-color:#FFC107;}
.match-history-color.away-wins{background-color:#ff4136;}
/* Takım performans istatistikleri */
.team-performance-stats{margin:5px 0 15px 0;}
.team-performance-title{font-size:15px;font-weight:bold;margin-bottom:8px;text-align:center;color:#333;padding:5px 0;background-color:#f5f5f5;border-radius:var(--radius-sm);}
/* Galibiyet, beraberlik ve mağlubiyet renkleri */
.match-history-segment.wins{background-color:#4CAF50;/* Galibiyet için yeşil */}
.match-history-segment.losses{background-color:#F44336;/* Mağlubiyet için kırmızı */}
/* Mobil için responsive düzenlemeler */
@media(max-width:767px){
    /* Mobil için responsive düzenlemeler */
    .match-history-stats-bar{height:20px;}
   .match-history-segment{font-size:12px;}
  
    .match-history-stats-legend{flex-direction:column;align-items:flex-start;}
  
    .legend-item{margin-bottom:4px;}
  
    .team-performance-title{font-size:12px;}
  
    .h2h-summary-title{font-size:14px;padding:3px 0;}
}

.h2h-match-card.match-card{display:flex;justify-content:space-between;align-items:center;padding:10px;border:1px solid #ddd;border-radius:var(--radius-md);margin-bottom:5px;cursor:pointer;transition:background-color 0.3s ease;background-color:#fff;box-shadow:0 1px 3px rgba(0, 0, 0, 0.1);position:relative;height:55px;overflow:hidden;}
@media(max-width:768px){
    .h2h-match-card.match-card{height:55px;}
}

@media(min-width:769px) and (max-width:1024px){
    .h2h-match-card.match-card{height:50px;}
}

@media(min-width:1025px){
    .h2h-match-card.match-card{height:55px;}
}

.h2h-match-card.match-card:hover{background-color:#f0f0f0;}
.h2h-time-container.time-container{display:flex;flex-direction:column;align-items:center;margin-right:10px;}
.h2h-time.time{font-weight:bold;font-size:14px;}
.h2h-minute.minute{font-size:14px;color:#666;width:60px;display:inline-block;text-align:center;}
.h2h-teams.teams{flex-grow:1;min-width:0;/* Firefox fix */ overflow:hidden;/* Firefox fix */ display:flex;justify-content:space-between;align-items:center;}
.h2h-team.team{display:flex;align-items:center;}
.h2h-team-logo.team-logo{width:20px;height:20px;margin-right:5px;margin-bottom:0 !important;}
.h2h-team-name.team-name{font-size:14px;font-weight:500;vertical-align:middle;margin-top:0;}
.h2h-score-card.score-card{background-color:#fff;border:1px solid #ddd;border-radius:var(--radius-md);padding:2px;display:flex;justify-content:center;align-items:center;box-shadow:0 1px 3px rgba(0,0,0,0.1);width:30px;height:calc(100% - 8px);text-align:center;box-sizing:border-box;margin-left:auto;}
@media(max-width:768px){
    .h2h-score-card.score-card{width:20px;padding:1px;font-size:12px;height:calc(100% - 6px);margin-top:0;margin-bottom:0;}
  .h2h-score.score{font-size:12px;}
}

@media(min-width:769px) and (max-width:1024px){
    .h2h-score-card.score-card{width:25px;padding:2px;font-size:13px;height:calc(100% - 7px);margin-top:0;margin-bottom:0;}
  .h2h-score.score{font-size:12px;}
}

@media(min-width:1025px){
    .h2h-score-card.score-card{width:30px;padding:2px;font-size:14px;height:calc(100% - 8px);margin-top:0;margin-bottom:0;}
  .h2h-score.score{font-size:12px;}
}

.h2h-red-card-icon{color:#dc3545;margin-left:5px;font-size:14px;vertical-align:middle;}
.h2h-match-card .minute .blinking-quote{display:none;}
.h2h-red-card-count{font-size:12px;/* Yazı tipi boyutu */ font-weight:bold;/* Kalın yazı */ margin-left:2px;/* Soldan biraz boşluk */}
/* H2H filtreleme butonları için stiller */
.h2h-filter-buttons{display:flex;justify-content:center;margin:15px 0;}
.h2h-filter-button{-webkit-appearance:none;/* iOS:remove native button styling */ appearance:none;background-color:#007bff;border:none;padding:10px 20px;margin:0 8px;cursor:pointer;font-size:14px;color:white;border-radius:var(--radius-pill);transition:all 0.3s ease;box-shadow:0 2px 5px rgba(0, 123, 255, 0.3);position:relative;overflow:hidden;}
@media (hover: hover) {
    .h2h-filter-button:hover{background-color:#0069d9;transform:translateY(-2px);box-shadow:0 4px 8px rgba(0, 123, 255, 0.4);}
}

.h2h-filter-button.active{background-color:#0056b3;font-weight:bold;transform:scale(1.05);box-shadow:0 4px 10px rgba(0, 86, 179, 0.5);}
.h2h-filter-button:focus-visible{outline:2px solid #1e88e5;outline-offset:2px;}
.h2h-filter-button:focus:not(:focus-visible){outline:none;}
.h2h-filter-button:active{transform:translateY(1px);box-shadow:0 2px 3px rgba(0, 123, 255, 0.3);}
/* Mobil görünüm için */
@media(max-width:768px){
    .h2h-filter-button{padding:8px 15px;font-size:12px;margin:0 4px;}
}

.custom-h2h-match-card.match-card{display:flex;align-items:center;padding:10px;border:1px solid #ddd;border-radius:var(--radius-md);margin-bottom:5px;cursor:pointer;transition:background-color 0.3s ease;background-color:#fff;box-shadow:0 1px 3px rgba(0, 0, 0, 0.1);position:relative;height:auto;overflow:hidden;}
.custom-h2h-match-card .team{display:flex;align-items:center;width:100%;}
.custom-h2h-match-card .team-name{font-size:14px;font-weight:500;width:40%;/* Kartın %40'ını kapla */ text-align:left;}
.custom-h2h-match-card .team-streak{font-size:14px;font-weight:500;width:45%;/* Kartın %45'ini kapla */ text-align:left;}
.custom-h2h-match-card .streak-value{font-size:14px;font-weight:500;width:15%;/* Kartın %15'ini kapla */ text-align:right;/* Sağ hizalama */}
.aggregated-score{font-size:0.8em;color:#888;}
.live-scores-team .live-scores-score.hidden{visibility:hidden;}
.performance-container{display:flex;justify-content:space-between;margin-top:20px;flex-wrap:wrap;/* Küçük ekranlarda kartların sarma yapmasına izin verir */}
.performance-team{width:48%;margin-bottom:10px;/* Kartlar arasında dikey boşluk */}
.performance-card{margin-bottom:15px;padding:10px;border-radius:var(--radius-md);background-color:#f8f8f8;box-shadow:0 2px 4px rgba(0,0,0,0.1);transition:all 0.3s ease;}
@media (hover: hover) {
    .performance-card:hover{transform:translateY(-2px);box-shadow:0 4px 8px rgba(0,0,0,0.15);}
}

.performance-card .match-date{font-size:12px;color:#666;margin-bottom:5px;display:flex;justify-content:space-between;align-items:center;}
.performance-card .tournament-name{font-size:12px;color:#888;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:60%;}
.performance-card .match-teams{display:flex;flex-direction:column;gap:0px;}
.performance-card .team{display:flex;align-items:center;margin:0;padding:0;}
.performance-card .team-logo{width:20px;height:20px;margin-right:8px;}
.performance-card .team-name{flex:1;min-width:0;/* Firefox fix:allow text truncation in flex */ font-size:14px;text-align:left;margin:0;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.performance-card .match-score{font-size:18px;font-weight:bold;text-align:right;width:30px;margin:0;align-self:center;}
.performance-card .team-score-row{display:flex;align-items:center;justify-content:space-between;}
.performance-card .team-score-row:first-child{margin-bottom:10px;}
.performance-card .team-score-row:last-child{margin-top:5px;}
.performance-card.win{background-color:#e6ffe6;}
.performance-card.loss{background-color:#ffe6e6;}
.performance-card.draw{background-color:#f0f0f0;}
/* Küçük ekranlar için medya sorgusu */
@media(max-width:767px){
    .performance-container{display:flex;flex-wrap:wrap;gap:var(--space-1);/* Kartlar arasındaki yatay ve dikey boşluk */ margin:0;/* Kenarlarda boşluk bırakılmaması için */}
   .performance-team{width:calc(50% - 4px);/* Kart genişliğini %50 yaparken arada 4px boşluk bırakır */ box-sizing:border-box;}
   .performance-card{margin:0;margin-bottom:4px;/* Alt alta gelen kartlar arasında dikeyde 4px boşluk */ padding:10px;box-sizing:border-box;/* Padding'in genişliği etkilememesi için */}
   .performance-card .team{display:flex;align-items:center;margin:0;/* Takımlar arasındaki boşluğu kaldırdık */}
   .performance-card .team-logo{width:20px;height:20px;margin-right:0;/* Logo ile takım ismi arasındaki boşluğu kaldırdık */}
   .performance-card .team-name{flex:1;min-width:0;/* Firefox fix */ font-size:12px;text-align:left;margin:0;padding:0;/* Gereksiz iç boşlukları kaldırdık */ white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;}
   .performance-card .match-score{font-size:16px;/* Skorun font boyutunu küçülttük */ text-align:right;}
   .performance-card .match-date{font-size:12px;color:#666;margin-bottom:5px;display:block;/* Tarih ve turnuva bilgisini dikey hizalamak için block yapıldı */}
   .performance-card .tournament-name{font-size:12px;color:#888;display:block;/* Turnuva ismi küçük ekranlarda tarih altında görünür */ margin-top:2px;/* Turnuva ismi ile tarih arasında küçük bir boşluk */ white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;/* Genişliğini tam olarak kullan */}
}

.loading-spinner{width:50px;height:50px;border:3px solid #f3f3f3;border-top:3px solid #3498db;border-radius:50%;animation:spin 1s linear infinite;margin:20px auto;}
@keyframes spin {
    0%{transform:rotate(0deg);}
  100%{transform:rotate(360deg);}
}

/* Skeleton Loading Animation Styles */

/* Temel skeleton çerçevesi */
.skeleton-match, .skeleton-tournament, .skeleton-pulse, .skeleton-pulse-slow{background-color:#e9ecef;border-radius:var(--radius-sm);position:relative;overflow:hidden;}
/* Pulse Animation - Hızlı */
.skeleton-pulse::after{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);animation:pulse 1.5s ease-in-out infinite;}
/* Pulse Animation - Yavaş */
.skeleton-pulse-slow::after{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);animation:pulse 2.5s ease-in-out infinite;}
@keyframes pulse {
    0%{transform:translateX(-100%);}
  100%{transform:translateX(100%);}
}

/* Skeleton boyutları */
.skeleton-match .live-scores-time{width:45px;height:14px;margin:4px auto;}
.skeleton-match .live-scores-minute{width:30px;height:12px;margin:0 auto;}
.skeleton-match .team-logo{width:20px;height:20px;border-radius:50%;}
.skeleton-match .live-scores-name{width:100px;height:14px;margin:4px 0;}
.skeleton-match .live-scores-score{width:20px;height:18px;margin-left:auto;}
/* Turnuva skeleton özellikleri */
.skeleton-match .live-scores-tournament-flag{width:24px;height:24px;border-radius:50%;}
.skeleton-match .live-scores-tournament-title{width:200px;height:18px;margin-left:10px;}
/* Maç detayları skeleton özellikleri */
/* FIX: Updated to match responsive logo sizes (44→48→56→75→100px) */

/* Extra small phones (< 375px) */
.match-details-team-logo.skeleton-pulse{width:44px;height:44px;border-radius:50%;margin:0 auto 10px auto;}
/* Small phones (375-480px) */
@media(min-width:375px){
    .match-details-team-logo.skeleton-pulse{width:48px;height:48px;}
}

/* Large phones (481px+) - FAZ2 FIX #15: Standardized breakpoint */
@media(min-width:481px){
    .match-details-team-logo.skeleton-pulse{width:56px;height:56px;}
}

/* Tablets (769px+) */
@media(min-width:769px){
    .match-details-team-logo.skeleton-pulse{width:75px;height:75px;}
}

/* Desktop (1025px+) */
@media(min-width:1025px){
    .match-details-team-logo.skeleton-pulse{width:100px;height:100px;}
}

.match-details-team-name.skeleton-pulse{width:100px;height:16px;margin:5px auto;}
.live-scores-team-score.skeleton-pulse{width:30px;height:30px;margin:10px auto;}
.live-scores-match-time.skeleton-pulse{width:60px;height:18px;margin:5px auto;}
.previous-leg-score.skeleton-pulse{width:80px;height:14px;margin:5px auto;}
/* Sekmeler için skeleton */
.live-scores-menu-item.skeleton-pulse{width:70px;height:20px;display:inline-block;margin:0 10px;}
/* Note: .match-details-team-logo.skeleton-pulse responsive sizes moved to main logo rule (line 3732+) */
/* Now uses same breakpoints: 44px → 48px → 56px → 75px → 100px */

.skeleton-match .live-scores-name{width:80px;}
/* Dairesel grafikler için modern stiller */
.circular-stat-container{display:flex;justify-content:space-between;align-items:center;margin-top:10px;margin-bottom:15px;}
.circular-stat-item{text-align:center;width:48%;/* Her bir öğe genişliğin yaklaşık yarısını kaplasın */ display:flex;flex-direction:column;align-items:center;}
.circular-chart{width:42%;/* Biraz daha büyük */ height:auto;filter:drop-shadow(0 2px 3px rgba(0, 0, 0, 0.1));transition:transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1), filter 0.3s ease;}
@media (hover: hover) {
    .circular-chart:hover{transform:scale(1.05);filter:drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));}
}

.circle-bg{fill:none;stroke:#f4f4f4;stroke-width:3.5;opacity:0.8;}
.circle{fill:none;stroke-width:3;stroke-linecap:round;animation:progress 1s ease-out forwards;filter:drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));transition:stroke 0.3s ease;}
.circular-chart .home-circle{stroke:#1E88E5;stroke-width:3.2;}
.circular-chart .away-circle{stroke:#E53935;stroke-width:3.2;}
.percentage{fill:#444;font-family:'Roboto', Arial, sans-serif;font-size:0.38em;font-weight:500;text-anchor:middle;}
.circular-stat-text{font-size:13px;margin-top:8px;font-weight:500;color:#444;}
@media(max-width:480px){
    .circular-chart{width:50%;/* Mobile:ekstra büyük */}
   .percentage{font-size:0.42em;}
   .circular-stat-text{font-size:12px;}
}

@media(min-width:481px) and (max-width:768px){
    .circular-chart{width:45%;/* Tablet:medium boyut */}
   .percentage{font-size:0.40em;}
   .circular-stat-text{font-size:12px;}
}

/* Desktop Hover Efektleri (1025px ve üzeri) */
@media(min-width:1025px){
    .live-scores-stat-bar.home:hover, .live-scores-stat-bar.away:hover{filter:brightness(1.1);box-shadow:0 2px 6px rgba(0, 0, 0, 0.2);}
  
    .circular-chart:hover{filter:drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));}
  
    .live-scores-stat-value.home:hover, .live-scores-stat-value.away:hover{box-shadow:0 2px 8px rgba(0, 0, 0, 0.2);transform:translateY(-2px);}
}

/* Rating (Puan) Bilgisi */
.player-rating{position:absolute;bottom:20px;/* Biraz daha yukarıda olacak şekilde ayarlandı */ left:-20px;/* Daha sol tarafa taşındı */ background-color:#f1c40f;/* Sarı arka plan */ color:#ffffff;/* Beyaz yazı rengi */ font-size:12px;/* Yazı boyutu */ font-weight:bold;padding:2px 5px;border-radius:var(--radius-sm);z-index:var(--z-player-info);/* Player div'den daha yüksek olmalı */ pointer-events:none;/* Tıklamayı geçirmesi için */}
/* Değişim İkonu */
.substitution-icon{position:absolute;/* İkonun doğru şekilde konumlandırılması için ekleniyor */ bottom:15px !important;/* Forma görselinin altına yerleştirmek için */ right:-10px !important;/* Forma görselinin sağına yerleştirmek için */ font-size:24px;/* İkonun boyutunu ayarlayın */ color:#FF0000;/* Kırmızı renk, isteğe göre değiştirilebilir */ z-index:var(--z-player-info);/* Player div'den daha yüksek olmalı */ pointer-events:none;/* Tıklamayı geçirmesi için */}
.substitute-player{display:flex;align-items:center;padding:5px;/* Padding değerini küçülttük */ background-color:#f9f9f9;border-bottom:1px solid #ddd;font-size:13px;font-weight:bold;}
.substitute-entered{background-color:#e6ffe6;}
.substitute-number{margin-right:8px;color:#333;font-weight:bold;font-size:14px;}
.substitute-name{flex-grow:1;min-width:0;/* Firefox fix */ overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#333;font-size:13px;}
.substitution-icon-substitute{color:#28a745;font-size:16px;margin-left:5px;}
/* Wrapper'dan padding tamamen kaldırıldı, boşluk sıfırlandı */
.substitutes-wrapper{display:flex;justify-content:space-between;gap:0;/* Gap değerini sıfırladık */ width:100%;/* Tam genişlik */ padding:0;/* Padding tamamen kaldırıldı */}
.substitutes-container-wrapper{flex:1;min-width:0;/* Firefox fix */ display:flex;justify-content:space-between;margin:0;/* Dış boşlukları sıfırladık */ padding:0;/* İç boşlukları sıfırladık */}
.substitutes-container{flex:1;min-width:0;/* Firefox fix */ background-color:#fff;border-radius:var(--radius-md);border:1px solid #ddd;padding:5px;/* İç padding azaltıldı */ margin:0;/* Varsayılan dış boşlukları kaldırdık */ /* width:50% removed — flex:1 already distributes evenly */}
.substitutes-header{font-size:14px;font-weight:bold;margin-bottom:5px;text-align:center;}
.substitutes-list{display:flex;flex-direction:column;}
/* Mobil görünüm için medya sorgusu */
@media(max-width:768px){
    .substitutes-wrapper{flex-direction:column;gap:0;}
   .substitutes-container{width:100%;margin-bottom:10px;}
}

/* Oyuncu Detay Popup - Modern Kart Yapısı */
.player-popup-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:var(--z-popup);/* Arttırıldı */ opacity:0;visibility:hidden;transition:opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;-webkit-backdrop-filter:blur(3px);/* FAZ2 FIX #12:Webkit prefix for Safari */ backdrop-filter:blur(3px);}
.player-popup-overlay.open{opacity:1;visibility:visible;}
.player-popup{background-color:#fff;padding:0;border-radius:var(--radius-lg);max-width:400px;width:90%;max-height:90vh;max-height:90dvh;/* FAZ2 FIX #10:Safari dvh */ overflow-y:auto;position:relative;box-shadow:0 10px 40px rgba(0, 0, 0, 0.3);z-index:var(--z-popup-above);}
.close-icon{position:absolute;top:8px;right:8px;cursor:pointer;color:#555;background-color:white;width:44px;/* FAZ2 FIX #8:Mobile touch target minimum */ height:44px;/* FAZ2 FIX #8:Mobile touch target minimum */ min-width:44px;min-height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 5px rgba(0,0,0,0.1);z-index:var(--z-overlay);text-align:center;line-height:1;}
.close-icon svg{width:20px;height:20px;fill:currentColor;}
/* Responsive: Close Icon */
@media(min-width:769px) and (max-width:1024px){
    .close-icon{top:8px;right:8px;width:44px;/* Touch target minimum */ height:44px;min-width:44px;min-height:44px;}
}

.player-card-header{padding:18px 16px;display:flex;align-items:flex-start;position:relative;background:linear-gradient(to right, #f8f9fa, #ffffff);border-bottom:1px solid #f0f0f0;z-index:var(--z-above);border-radius:12px 12px 0 0;}
.player-card-image{width:70px;height:70px;border-radius:50%;border:3px solid white;box-shadow:0 4px 12px rgba(0,0,0,0.1);object-fit:cover;margin-right:15px;background-color:#fff;flex-shrink:0;}
.player-card-info{flex:1;min-width:0;}
.player-card-name{font-size:18px;font-weight:700;margin:0 0 5px 0;color:#222;word-wrap:break-word;line-height:1.2;}
.player-card-position, .player-card-team{font-size:14px;color:#555;margin:3px 0;display:flex;align-items:center;}
.player-card-position:before{content:'';display:inline-block;width:8px;height:8px;min-width:8px;border-radius:50%;margin-right:6px;background-color:var(--position-color, #FFC107);}
.player-card-team:before{content:'';display:inline-block;width:8px;height:8px;min-width:8px;border-radius:50%;margin-right:6px;background-color:var(--team-color, #2196F3);}
/* Header Rating Badge — kadrodan gelen puan */
.pc-header-rating{display:flex;align-items:center;justify-content:center;align-self:center;flex-shrink:0;margin-left:auto;margin-right:36px;/* Kapatma ikonuyla çakışmasın */}
.pc-header-rating-value{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg, #1976D2, #1565C0);color:#fff;font-size:15px;font-weight:700;box-shadow:0 2px 8px rgba(25, 118, 210, 0.35);line-height:1;}
/* Ev sahibi takım renkleri */
.player-home-team .player-card-position:before{background-color:#1e88e5;/* Ev sahibi takım ana rengi */}
.player-home-team .player-card-team:before{background-color:#64b5f6;/* Ev sahibi takım ikincil rengi */}
.player-home-team .section-title::after{background-color:#1e88e5;/* Ev sahibi takım ana rengi */}
/* Deplasman takımı renkleri */
.player-away-team .player-card-position:before{background-color:#e53935;/* Deplasman takımı ana rengi */}
.player-away-team .player-card-team:before{background-color:#ef5350;/* Deplasman takımı ikincil rengi */}
.player-away-team .section-title::after{background-color:#e53935;/* Deplasman takımı ana rengi */}
/* Rating konumu - biraz daha aşağıda */
.player-card-rating-container{position:absolute;top:45px;/* Daha aşağıda konumlandırma */ right:16px;z-index:var(--z-elevated);width:54px;height:54px;}
.player-card-rating{position:absolute;width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700;background:conic-gradient(#ffd700 0%, #ffd700 var(--rating-percent), rgba(255, 215, 0, 0.2) var(--rating-percent), rgba(255, 215, 0, 0.2) 100%);box-shadow:0 3px 8px rgba(214, 164, 2, 0.35);z-index:var(--z-raised);letter-spacing:-0.5px;clip-path:circle(27px at center);color:#000;}
.player-card-rating-inner{position:absolute;width:44px;height:44px;border-radius:50%;background-color:white;top:5px;left:5px;display:flex;align-items:center;justify-content:center;z-index:var(--z-above);}
.player-card-rating-glow{position:absolute;width:70px;height:70px;background:radial-gradient(circle, rgba(255, 215, 0, 0.8) 0%, rgba(255, 215, 0, 0) 70%);border-radius:50%;top:50%;left:50%;transform:translate(-50%, -50%);z-index:var(--z-base);animation:pulse-glow 2s infinite;}
@keyframes pulse-glow {
    0%{opacity:0.5;transform:translate(-50%, -50%) scale(0.9);}
  50%{opacity:0.75;transform:translate(-50%, -50%) scale(1.1);}
  100%{opacity:0.5;transform:translate(-50%, -50%) scale(0.9);}
}

.rating-excellent{background:conic-gradient(#25c485 0%, #25c485 var(--rating-percent), rgba(37, 196, 133, 0.2) var(--rating-percent), rgba(37, 196, 133, 0.2) 100%);box-shadow:0 3px 8px rgba(37, 196, 133, 0.35);}
.rating-excellent + .player-card-rating-glow{background:radial-gradient(circle, rgba(37, 196, 133, 0.8) 0%, rgba(37, 196, 133, 0) 70%);}
.rating-good{background:conic-gradient(#2196F3 0%, #2196F3 var(--rating-percent), rgba(33, 150, 243, 0.2) var(--rating-percent), rgba(33, 150, 243, 0.2) 100%);box-shadow:0 3px 8px rgba(33, 150, 243, 0.35);}
.rating-good + .player-card-rating-glow{background:radial-gradient(circle, rgba(33, 150, 243, 0.8) 0%, rgba(33, 150, 243, 0) 70%);}
.rating-average{background:conic-gradient(#FFC107 0%, #FFC107 var(--rating-percent), rgba(255, 193, 7, 0.2) var(--rating-percent), rgba(255, 193, 7, 0.2) 100%);box-shadow:0 3px 8px rgba(255, 193, 7, 0.35);}
.rating-average + .player-card-rating-glow{background:radial-gradient(circle, rgba(255, 193, 7, 0.8) 0%, rgba(255, 193, 7, 0) 70%);}
.rating-poor{background:conic-gradient(#FF5722 0%, #FF5722 var(--rating-percent), rgba(255, 87, 34, 0.2) var(--rating-percent), rgba(255, 87, 34, 0.2) 100%);box-shadow:0 3px 8px rgba(255, 87, 34, 0.35);}
.rating-poor + .player-card-rating-glow{background:radial-gradient(circle, rgba(255, 87, 34, 0.8) 0%, rgba(255, 87, 34, 0) 70%);}
.match-info-bar{padding:12px 16px;background-color:#f8f9fa;border-bottom:1px solid #eee;position:relative;display:flex;justify-content:center;align-items:center;font-size:14px;font-weight:500;}
.player-home-team .match-info-bar{border-left:3px solid var(--team-primary-color, #1e88e5);}
.player-away-team .match-info-bar{border-left:3px solid var(--team-primary-color, #e53935);}
.match-info-teams{display:flex;align-items:center;justify-content:center;}
.match-team-name{font-weight:600;color:#333;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.home-team-name{color:var(--team-primary-color, #1e88e5);font-weight:700;}
.away-team-name{color:var(--team-primary-color, #e53935);font-weight:700;}
.match-vs{margin:0 8px;color:#777;font-weight:400;}
.match-date{color:#666;margin-left:10px;font-size:13px;position:relative;padding-left:10px;}
.match-date::before{content:'';position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:3px;border-radius:50%;background-color:#999;}
.player-card-content{padding:16px 14px;}
/* İstatistik Toggle Butonu — Progressive Disclosure */
.player-stats-toggle-btn{width:100%;padding:14px 16px;background:linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);border:1px solid #dee2e6;border-radius:var(--radius-md);cursor:pointer;font-size:14px;font-weight:600;color:#495057;display:flex;align-items:center;justify-content:center;gap:8px;transition:all 0.2s ease;min-height:44px;/* Touch target */ -webkit-appearance:none;appearance:none;}
.player-stats-toggle-btn:hover{background:linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);color:#212529;box-shadow:0 2px 6px rgba(0,0,0,0.08);}
.player-stats-toggle-btn:active{transform:scale(0.98);}
.player-stats-toggle-btn:disabled{opacity:0.7;cursor:wait;}
.player-stats-toggle-btn i{font-size:15px;color:#6c757d;}
/* Küçük loading spinner (buton içi) */
.loading-spinner-small{width:16px;height:16px;border:2px solid #dee2e6;border-top-color:#495057;border-radius:50%;animation:spin 0.6s linear infinite;display:inline-block;flex-shrink:0;}
/* İstatistik container slide animasyonu */
.player-stats-container{overflow:hidden;}
.section-title{font-size:16px;font-weight:600;color:#333;margin:16px 0 10px 0;padding-bottom:6px;border-bottom:1px solid #eee;position:relative;}
.section-title:first-child{margin-top:0;}
.section-title::after{content:'';position:absolute;bottom:-1px;left:0;width:50px;height:3px;background-color:var(--team-primary-color, #FFC107);border-radius:var(--radius-sm);}
.player-card-section{margin-bottom:20px;}
/* İstatistik alanı - tek sütun */
.player-card-stat-list{display:flex;flex-direction:column;gap:var(--space-2);margin-top:5px;}
.player-card-stat-item{background-color:#f8f9fa;border-radius:var(--radius-md);padding:10px 14px;transition:all 0.2s ease;display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;box-shadow:0 1px 3px rgba(0,0,0,0.05);}
.player-card-stat-item:hover{background-color:#e9ecef;transform:translateY(-2px);box-shadow:0 3px 8px rgba(0,0,0,0.08);}
.player-card-stat-label{font-size:13px;font-weight:500;color:#555;}
.player-card-stat-value{font-size:14px;font-weight:600;color:#333;background-color:rgba(255, 255, 255, 0.7);padding:2px 7px;border-radius:var(--radius-sm);min-width:40px;text-align:center;}
/* === TOURNAMENT INFO CARD (Team Display Only) === */
.pc-tournament-info{display:none;margin-top:10px;padding:0;background:transparent;border:none;border-radius:0;box-shadow:none;}
.pc-tournament-info.active{display:block;}
.tournament-info-content{display:flex;flex-direction:column;gap:0;}
.player-team-display{font-size:14px;font-weight:600;color:#2c3e50;padding:10px 12px;background:linear-gradient(135deg, #e8f4f8 0%, #f0f7fa 100%);border:2px solid #2196F3;border-radius:8px;border-left:4px solid #2196F3;transition:all 0.3s ease;}
.player-team-display::before{content:"👕 ";margin-right:4px;}
.player-team-display:hover{background:linear-gradient(135deg, #d6ecf4 0%, #e6f3f9 100%);box-shadow:0 2px 8px rgba(33, 150, 243, 0.2);}
/* Mobile responsiveness */
@media(max-width:480px){
    .pc-tournament-info{margin-top:8px;}
   .player-team-display{font-size:13px;padding:9px 11px;border-left-width:3px;}
}

.no-stats{text-align:center;padding:15px;background-color:#f8f9fa;border-radius:var(--radius-md);color:#666;font-style:italic;margin:10px 0;}
/* Mobil için responsive düzenlemeler */
@media(max-width:576px){
    .player-card-header{padding:14px 12px;}
  
    .player-card-image{width:60px;height:60px;}
  
    .player-card-name{font-size:16px;}
  
    .player-card-position, .player-card-team{font-size:13px;margin:2px 0;}
  
    .player-card-rating-container{top:55px;/* Mobil ekranda daha da aşağıda */ right:14px;width:46px;height:46px;}
  
    .player-card-rating{width:46px;height:46px;font-size:18px;clip-path:circle(23px at center);}
  
    .player-card-rating-inner{width:38px;height:38px;top:4px;left:4px;}
  
    .player-card-stat-item{padding:10px 12px;}
  
    .player-card-stat-label{font-size:13px;}
  
    .match-info-bar{padding:10px 12px;font-size:13px;}
  
    .match-team-name{max-width:100px;}
  
    .match-date{font-size:12px;}
  
    .player-card-content{padding:14px 12px;}
  
    .close-icon{top:8px;right:8px;width:44px;/* Touch target minimum 44x44 */ height:44px;min-width:44px;min-height:44px;}
   .close-icon svg{width:16px;height:16px;}
   .pc-header-rating{margin-right:32px;}
   .pc-header-rating-value{width:36px;height:36px;font-size:13px;}
}

/* ============================================================
   Player Card v3 — Bottom Sheet (Mobil) / Centered Modal (Masaüstü)
   4-Tab yapı: Maç | Sezon | Kariyer | Profil
   ============================================================ */

/* Inline SVG Icon — Font Awesome yerine kullanılır */
.pc-svg-icon{display:inline-flex;align-items:center;justify-content:center;line-height:1;color:#555;}
.pc-svg-icon{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;}
.pc-svg-icon svg{width:1.2em;height:1.2em;fill:currentColor;}
.pc-rating-match-opp .pc-svg-icon svg{width:1.6em;height:1.6em;}
/* Bottom Sheet — Mobil (varsayılan) */
.pc-bottom-sheet{position:fixed !important;bottom:0;left:0;right:0;top:auto !important;max-height:92vh;max-height:92dvh;border-radius:20px 20px 0 0;transform:translateY(100%);transition:transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);overflow-y:auto;-webkit-overflow-scrolling:touch;width:100% !important;max-width:100% !important;}
.player-popup-overlay.open .pc-bottom-sheet{transform:translateY(0);}
/* Masaüstü — Centered Modal */
@media(min-width:520px){
    .pc-bottom-sheet{position:relative !important;bottom:auto;left:auto;right:auto;max-width:440px !important;width:92% !important;max-height:90vh;max-height:90dvh;border-radius:var(--radius-lg);transform:scale(0.9);opacity:0;transition:transform 0.3s ease, opacity 0.3s ease;}
  .player-popup-overlay.open .pc-bottom-sheet{transform:scale(1);opacity:1;}
}

/* Drag Handle */
.pc-drag-handle{display:flex;justify-content:center;padding:10px 0 4px;cursor:grab;touch-action:none;}
.pc-drag-bar{width:36px;height:4px;border-radius:2px;background-color:#d0d0d0;}
@media(min-width:520px){
    .pc-drag-handle{display:none;}
}

/* === TAB BAR === */
.pc-tab-bar{display:flex;position:sticky;top:0;z-index:var(--z-above, 10);background:#fff;border-bottom:1px solid #eee;padding:0;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;}
.pc-tab-bar::-webkit-scrollbar{display:none;}
.pc-tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:10px 4px 8px;border:none;background:none;cursor:pointer;font-size:11px;font-weight:500;color:#888;transition:color 0.2s ease;min-width:0;white-space:nowrap;min-height:44px;-webkit-appearance:none;appearance:none;position:relative;}
.pc-tab i, .pc-tab .pc-svg-icon{font-size:16px;transition:color 0.2s ease;}
.pc-tab .pc-svg-icon svg{width:16px;height:16px;fill:currentColor;}
.pc-tab-active{color:#1976D2;font-weight:600;}
.pc-tab-active i, .pc-tab-active .pc-svg-icon{color:#1976D2;}
/* Tab sliding indicator */
.pc-tab-indicator{position:absolute;bottom:0;left:0;height:3px;background:#1976D2;border-radius:3px 3px 0 0;transition:left 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);}
/* === TAB PANELS === */
.pc-tab-content{min-height:200px;}
.pc-tab-panel{display:none;padding:12px 14px;}
.pc-tab-panel-active{display:block;}
/* === EXPAND/COLLAPSE COMPONENT === */
.pc-expandable{margin-bottom:8px;}
.pc-expand-btn{width:100%;display:flex;align-items:center;gap:10px;padding:12px 14px;background:linear-gradient(135deg, #f8f9fa 0%, #f0f1f3 100%);border:1px solid #e9ecef;border-radius:var(--radius-md, 8px);cursor:pointer;font-size:14px;font-weight:600;color:#495057;transition:all 0.2s ease;min-height:44px;-webkit-appearance:none;appearance:none;}
.pc-expand-btn:hover{background:linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);box-shadow:0 2px 6px rgba(0,0,0,0.06);}
.pc-expand-btn:active{transform:scale(0.98);}
.pc-expand-btn[aria-expanded="true"]{background:#fff;border-color:#1976D2;color:#1976D2;border-bottom-left-radius:0;border-bottom-right-radius:0;}
.pc-expand-icon{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:rgba(25, 118, 210, 0.08);border-radius:50%;flex-shrink:0;}
.pc-expand-icon .pc-svg-icon{display:flex;align-items:center;justify-content:center;}
.pc-expand-icon .pc-svg-icon svg{width:13px;height:13px;fill:#1976D2;}
.pc-expand-icon i{font-size:13px;color:#1976D2;}
.pc-expand-title{flex:1;text-align:left;}
.pc-expand-arrow{flex-shrink:0;display:flex;align-items:center;justify-content:center;color:#aaa;transition:transform 0.3s ease;}
.pc-expand-arrow .pc-svg-icon svg{width:12px;height:12px;fill:currentColor;}
.pc-expand-btn[aria-expanded="true"] .pc-expand-arrow{transform:rotate(180deg);}
.pc-expand-content{border:1px solid #e9ecef;border-top:none;border-radius:0 0 var(--radius-md, 8px) var(--radius-md, 8px);padding:12px 14px;background:#fff;}
/* === SKELETON LOADER === */
.pc-skeleton{padding:4px 0;}
.pc-skeleton-line{height:14px;background:linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);background-size:200% 100%;animation:pc-shimmer 1.5s infinite;border-radius:4px;margin-bottom:10px;}
@keyframes pc-shimmer {
    0%{background-position:200% 0;}
  100%{background-position:-200% 0;}
}

/* === RATING BREAKDOWN GRID === */
.pc-rating-breakdown-grid{display:grid;grid-template-columns:repeat(2, 1fr);gap:12px;margin-bottom:8px;}
.pc-rating-card{display:flex;align-items:flex-start;gap:10px;padding:12px;border-radius:8px;border:1px solid #e9ecef;transition:all 0.2s ease;}
.pc-rating-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0, 0, 0, 0.08);}
.pc-rating-card-icon{font-size:24px;flex-shrink:0;line-height:1;}
.pc-rating-card-content{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1;}
.pc-rating-card-title{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:0.3px;color:#666;}
.pc-rating-card-stat{font-size:14px;font-weight:700;color:#222;}
.pc-rating-card-stat-sub{font-size:12px;color:#888;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;}
/* Kategori renklendirilmesi */
.pc-rating-passes{background:linear-gradient(135deg, rgba(33, 150, 243, 0.04) 0%, rgba(33, 150, 243, 0.02) 100%);border-color:rgba(33, 150, 243, 0.2);}
.pc-rating-dribbles{background:linear-gradient(135deg, rgba(255, 152, 0, 0.04) 0%, rgba(255, 152, 0, 0.02) 100%);border-color:rgba(255, 152, 0, 0.2);}
.pc-rating-carries{background:linear-gradient(135deg, rgba(76, 175, 80, 0.04) 0%, rgba(76, 175, 80, 0.02) 100%);border-color:rgba(76, 175, 80, 0.2);}
.pc-rating-defensive{background:linear-gradient(135deg, rgba(244, 67, 54, 0.04) 0%, rgba(244, 67, 54, 0.02) 100%);border-color:rgba(244, 67, 54, 0.2);}
/* Responsive: Mobile (≤519px) */
@media(max-width:519px){
    .pc-rating-breakdown-grid{grid-template-columns:repeat(2, 1fr);gap:8px;}
  .pc-rating-card{padding:10px;gap:8px;}
  .pc-rating-card-icon{font-size:20px;}
  .pc-rating-card-title{font-size:11px;}
  .pc-rating-card-stat{font-size:13px;}
  .pc-rating-card-stat-sub{font-size:11px;}
}

/* Responsive: Çok küçük ekranlar (≤340px) */
@media(max-width:340px){
    .pc-rating-breakdown-grid{grid-template-columns:1fr;gap:6px;}
  .pc-rating-card{padding:8px;gap:6px;}
  .pc-rating-card-icon{font-size:18px;}
  .pc-rating-card-stat{font-size:12px;}
}

/* Puan Detayı veri olmadığında fallback */
.pc-rating-fallback{padding:16px 12px;text-align:center;background:#fafbfc;border-radius:8px;border:1px solid #e9ecef;}
.pc-rating-fallback-msg{margin:0 0 4px;font-size:14px;font-weight:600;color:#333;}
.pc-rating-fallback-hint{margin:0;font-size:12px;color:#888;line-height:1.4;}
/* === RATING BREAKDOWN MAP === */
.pc-rating-map-section{margin-top:12px;border-top:1px solid #f0f0f0;padding-top:12px;}
.pc-rating-map-toggle{display:flex;align-items:center;justify-content:space-between;padding:10px 0;cursor:pointer;user-select:none;-webkit-user-select:none;}
.pc-rating-map-toggle-text{font-size:13px;font-weight:700;color:#333;}
.pc-rating-map-toggle-arrow{font-size:12px;color:#999;transition:transform 0.3s ease;display:inline-block;}
.pc-rating-map-toggle:hover{background:rgba(0, 0, 0, 0.02);border-radius:4px;padding:10px;margin:0 -10px;}
.pc-rating-map-toggle.active .pc-rating-map-toggle-arrow{transform:rotate(180deg);}
.pc-rating-map-content{overflow:hidden;}
.pc-rating-map-wrapper{margin:12px 0;border-radius:8px;overflow:hidden;line-height:0;}
.pc-rating-map-canvas{width:100%;height:auto;display:block;aspect-ratio:594 / 372;border-radius:8px;}
.pc-rating-map-legend{display:grid;grid-template-columns:repeat(2, 1fr);gap:8px;margin-top:10px;padding:10px;background:#fafbfc;border-radius:6px;border:1px solid #e9ecef;}
.pc-rating-map-legend-item{display:flex;align-items:center;gap:6px;font-size:12px;color:#555;}
.pc-rating-map-legend-color{width:12px;height:12px;border-radius:2px;flex-shrink:0;}
/* === FILTER TABS === */
.pc-rating-map-filters{display:flex;gap:6px;margin-bottom:12px;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch;}
.pc-rating-map-filters::-webkit-scrollbar{height:3px;}
.pc-rating-map-filters::-webkit-scrollbar-track{background:transparent;}
.pc-rating-map-filters::-webkit-scrollbar-thumb{background:#d0d0d0;border-radius:3px;}
.pc-rating-map-filter-btn{padding:8px 12px;border:1px solid #ddd;background:#fff;border-radius:20px;font-size:13px;font-weight:600;color:#666;cursor:pointer;white-space:nowrap;transition:all 0.2s ease;flex-shrink:0;}
.pc-rating-map-filter-btn:hover{border-color:#999;color:#333;}
.pc-rating-map-filter-btn.active{background:#2196F3;border-color:#2196F3;color:#fff;}
/* Responsive: Mobile (≤519px) */
@media(max-width:519px){
    .pc-rating-map-section{margin-top:10px;padding-top:10px;}
   .pc-rating-map-toggle{padding:8px 0;}
   .pc-rating-map-toggle-text{font-size:12px;}
   .pc-rating-map-toggle-arrow{font-size:11px;}
   .pc-rating-map-filters{gap:4px;margin-bottom:10px;padding-bottom:3px;}
   .pc-rating-map-filter-btn{padding:6px 10px;font-size:12px;border-radius:16px;}
   .pc-rating-map-wrapper{margin:10px 0;}
   .pc-rating-map-canvas{border-radius:6px;}
   .pc-rating-map-legend{grid-template-columns:repeat(2, 1fr);gap:6px;margin-top:8px;padding:8px;border-radius:6px;}
   .pc-rating-map-legend-item{font-size:11px;gap:5px;}
   .pc-rating-map-legend-color{width:10px;height:10px;}
}

/* Responsive: Ultra-mobile (≤340px) */
@media(max-width:340px){
    .pc-rating-map-section{margin-top:8px;padding-top:8px;}
   .pc-rating-map-toggle{padding:6px 0;}
   .pc-rating-map-toggle-text{font-size:11px;}
   .pc-rating-map-toggle-arrow{font-size:10px;}
   .pc-rating-map-filters{gap:3px;margin-bottom:8px;padding-bottom:2px;}
   .pc-rating-map-filter-btn{padding:5px 8px;font-size:11px;border-radius:14px;border:1px solid #ccc;}
   .pc-rating-map-wrapper{margin:8px 0;}
   .pc-rating-map-legend{grid-template-columns:1fr;gap:4px;margin-top:6px;padding:6px;}
   .pc-rating-map-legend-item{font-size:10px;gap:4px;}
   .pc-rating-map-legend-color{width:8px;height:8px;}
}

/* === SEASON HEADER BADGES === */
.pc-season-header{display:flex;gap:8px;margin-bottom:12px;flex-wrap:wrap;}
.pc-season-badge{display:inline-flex;align-items:center;padding:4px 10px;background:#e3f2fd;color:#1565c0;border-radius:12px;font-size:12px;font-weight:600;}
.pc-season-year{background:#f3e5f5;color:#7b1fa2;}
/* === SEASON TAB SELECTORS (Tournament + Season Dropdowns) === */
.pc-selectors-container{display:flex;flex-direction:column;gap:12px;padding:14px;margin-bottom:14px;background:linear-gradient(135deg, #f8f9fa 0%, #f5f7fa 100%);border:1px solid #e8ecf0;border-radius:12px;box-shadow:0 2px 8px rgba(0, 0, 0, 0.04);}
/* Vertical stack variant (always vertical) */
.pc-selectors-vertical{flex-direction:column !important;gap:10px !important;padding:12px !important;}
.pc-selector{display:flex;flex-direction:column;gap:6px;width:100%;}
.pc-selector-label{font-size:12px;font-weight:700;color:#2c3e50;text-transform:uppercase;letter-spacing:0.5px;display:block;}
.pc-selector-dropdown{width:100%;min-height:42px;padding:10px 12px;font-size:14px;font-weight:500;color:#2c3e50;background:white;border:2px solid #dee2e6;border-radius:8px;cursor:pointer;transition:all 0.25s cubic-bezier(0.4, 0, 0.2, 1);appearance:none;box-shadow:0 1px 3px rgba(0, 0, 0, 0.05);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%232c3e50' d='M7 10.8L1.4 5.2c-.4-.4-.4-1 0-1.4s1-.4 1.4 0L7 8l4.2-4.2c.4-.4 1-.4 1.4 0s.4 1 0 1.4L7 10.8z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;padding-right:34px;}
.pc-selector-dropdown:hover{border-color:#adb5bd;box-shadow:0 2px 6px rgba(0, 0, 0, 0.1);background-color:#fafbfc;}
.pc-selector-dropdown:focus{outline:none;border-color:#2196F3;background-color:#f8fbff;box-shadow:0 0 0 3px rgba(33, 150, 243, 0.15);}
.pc-selector-dropdown:active{border-color:#1976D2;box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.1);}
/* Option styling */
.pc-selector-dropdown option{background:white;color:#2c3e50;font-weight:500;padding:8px;}
.pc-selector-dropdown option:checked{background:linear-gradient(135deg, #2196F3 0%, #1976D2 100%);background-color:#2196F3 !important;color:white;font-weight:600;}
/* Tournament selector specific */
.pc-selector-tournament .pc-selector-label::before{content:"";}
/* Season selector specific */
.pc-selector-season .pc-selector-label::before{content:"";}
/* Mobile (≤480px) - Optimize for touch */
@media(max-width:480px){
    .pc-selectors-container, .pc-selectors-vertical{gap:10px;padding:12px;margin-bottom:12px;}
   .pc-selector{flex-direction:column;gap:6px;}
   .pc-selector-dropdown{min-height:44px;padding:11px 12px;font-size:15px;border-radius:8px;background-position:right 11px center;padding-right:35px;}
   .pc-selector-label{font-size:11px;font-weight:700;}
}

/* Tablet (481px - 767px) */
@media(min-width:481px) and (max-width:767px){
    .pc-selectors-container, .pc-selectors-vertical{gap:11px;padding:13px;}
   .pc-selector{flex-direction:column;gap:6px;}
   .pc-selector-dropdown{min-height:43px;padding:11px 13px;font-size:14px;background-position:right 11px center;padding-right:35px;}
   .pc-selector-label{font-size:12px;}
}

/* Desktop (768px+) - More space */
@media(min-width:768px){
    .pc-selectors-container{gap:14px;padding:16px;}
   .pc-selectors-vertical{gap:12px;padding:14px;}
   .pc-selector{flex-direction:column;gap:6px;}
   .pc-selector-dropdown{min-height:44px;padding:12px 14px;font-size:14px;background-position:right 12px center;padding-right:36px;}
   .pc-selector-label{font-size:13px;}
}

/* Large Desktop (1024px+) */
@media(min-width:1024px){
    .pc-selectors-container{gap:16px;padding:18px;}
   .pc-selectors-vertical{gap:13px;padding:15px;}
   .pc-selector-dropdown{min-height:45px;padding:12px 14px;font-size:15px;}
}

/* Shared dropdown arrow color */
.pc-selector-dropdown::-webkit-scrollbar{width:8px;}
.pc-selector-dropdown::-webkit-scrollbar-track{background:#f5f7fa;}
.pc-selector-dropdown::-webkit-scrollbar-thumb{background:#adb5bd;border-radius:4px;}
.pc-selector-dropdown::-webkit-scrollbar-thumb:hover{background:#868c92;}
/* === RATINGS LIST (maç maç puan) === */
.pc-ratings-list{display:flex;flex-direction:column;gap:4px;}
.pc-rating-match-row{display:flex;align-items:center;padding:8px 10px;background:#f8f9fa;border-radius:var(--radius-md, 8px);gap:8px;}
.pc-rating-match-opp{flex:1;font-size:13px;color:#333;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;gap:6px;}
.pc-rating-match-date{font-size:11px;color:#888;}
.pc-rating-match-val{font-size:14px;font-weight:700;min-width:32px;text-align:center;padding:2px 6px;border-radius:6px;color:#fff;}
.pc-rating-match-val.rating-excellent{background:#25c485;}
.pc-rating-match-val.rating-good{background:#2196F3;}
.pc-rating-match-val.rating-average{background:#FFC107;color:#333;}
.pc-rating-match-val.rating-poor{background:#FF5722;}
/* === TRANSFER LIST === */
.pc-transfer-list{display:flex;flex-direction:column;gap:10px;}
.pc-transfer-item{padding:10px 12px;background:#f8f9fa;border-radius:var(--radius-md, 8px);border-left:3px solid #1976D2;}
.pc-transfer-row{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:#333;}
.pc-transfer-arrow{color:#1976D2;flex-shrink:0;display:inline-flex;align-items:center;}
.pc-transfer-arrow svg{width:12px;height:12px;fill:currentColor;}
.pc-transfer-from, .pc-transfer-to{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.pc-transfer-meta{display:flex;gap:10px;margin-top:4px;font-size:12px;color:#777;}
.pc-transfer-fee{color:#25c485;font-weight:600;}
/* === MATCH LIST === */
.pc-match-list{display:flex;flex-direction:column;gap:6px;}
.pc-match-item{padding:8px 10px;background:#f8f9fa;border-radius:var(--radius-md, 8px);}
.pc-match-teams{display:flex;align-items:center;gap:6px;font-size:13px;}
.pc-match-home, .pc-match-away{font-weight:600;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;}
.pc-match-away{text-align:right;}
.pc-match-score{font-weight:700;color:#1976D2;padding:2px 8px;background:#e3f2fd;border-radius:6px;font-size:13px;flex-shrink:0;}
.pc-match-vs{color:#999;font-size:12px;flex-shrink:0;}
.pc-match-meta{display:flex;justify-content:space-between;margin-top:4px;font-size:11px;color:#888;}
.pc-match-tournament{color:#666;font-weight:500;}
/* === MATCH LIST RESPONSIVE === */
@media(max-width:768px){
    .pc-match-item{padding:6px 8px;}
  .pc-match-teams{font-size:12px;gap:4px;}
  .pc-match-score{font-size:12px;padding:1px 6px;}
  .pc-match-vs{font-size:11px;}
  .pc-match-meta{font-size:10px;}
}

@media(max-width:480px){
    .pc-match-list{gap:4px;}
  .pc-match-item{padding:5px 6px;}
  .pc-match-teams{font-size:11px;gap:3px;}
  .pc-match-home, .pc-match-away{font-size:11px;}
  .pc-match-score{font-size:11px;padding:1px 5px;}
  .pc-match-vs{font-size:10px;}
  .pc-match-meta{font-size:9px;}
  .pc-match-tournament{font-size:9px;}
}

@media(max-width:340px){
    .pc-match-item{padding:4px 5px;}
  .pc-match-teams{font-size:10px;gap:2px;}
  .pc-match-home, .pc-match-away{font-size:10px;}
  .pc-match-score{font-size:10px;padding:0px 4px;}
  .pc-match-vs{font-size:9px;}
}

/* === PROFILE SUMMARY (YIL ÖZETI) === */
.ps-matches-container{display:flex;flex-direction:column;gap:10px;}
.ps-match-card{background:#f8f9fa;border-radius:8px;padding:12px;border-left:4px solid #2196F3;}
.ps-match-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;}
.ps-match-teams{display:flex;align-items:center;gap:8px;flex:1;}
.ps-team-info{display:flex;align-items:center;gap:6px;flex:1;justify-content:space-between;min-width:100px;}
.ps-team-name{font-size:12px;font-weight:600;color:#333;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ps-score{font-size:16px;font-weight:700;color:#2196F3;min-width:24px;text-align:center;}
.ps-vs{opacity:0.5;margin:0 6px;}
.ps-rating-badge{background:linear-gradient(135deg, #4CAF50 0%, #45a049 100%);color:#fff;font-weight:700;font-size:13px;padding:6px 10px;border-radius:6px;min-width:40px;text-align:center;margin-left:8px;}
.ps-match-details{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#666;}
.ps-tournament{font-weight:600;color:#333;}
.ps-date{font-size:11px;opacity:0.7;}
/* === CHARACTERISTICS === */
.pc-characteristics{display:flex;flex-direction:column;gap:12px;}
.pc-char-section{background:#f8f9fa;border-radius:8px;padding:12px;border-top:3px solid #2196F3;}
.pc-char-section-title{font-size:13px;font-weight:700;color:#333;margin:0 0 10px;text-transform:uppercase;letter-spacing:0.5px;}
.pc-char-category{background:#f8f9fa;border-radius:var(--radius-md, 8px);padding:10px 12px;}
.pc-char-cat-title{font-size:14px;font-weight:600;color:#333;margin:0 0 8px;display:flex;align-items:center;gap:6px;}
/* Position badges grid */
.pc-positions-grid{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px;}
.pc-position-badge{display:inline-flex;align-items:center;justify-content:center;min-width:50px;height:36px;padding:6px 14px;background:linear-gradient(135deg, #1976D2 0%, #1565C0 100%);color:#fff;font-weight:700;font-size:12px;border-radius:18px;box-shadow:0 2px 6px rgba(33, 150, 243, 0.3);white-space:nowrap;}
/* Strengths/weaknesses lists */
.pc-strengths-list, .pc-weaknesses-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;}
.pc-strength-item, .pc-weakness-item{display:flex;align-items:center;gap:10px;padding:8px 0;font-size:13px;color:#333;font-weight:500;}
.pc-strength-item::before{content:"";display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;background:#E8F5E9;color:#2E7D32;border-radius:50%;font-weight:700;font-size:12px;flex-shrink:0;border:1px solid #C8E6C9;}
.pc-weakness-item::before{content:"";display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;background:#FFEBEE;color:#C62828;border-radius:50%;font-weight:700;font-size:12px;flex-shrink:0;border:1px solid #FFCDD2;}
.pc-char-item{display:flex;justify-content:space-between;align-items:center;padding:4px 0;font-size:13px;color:#555;border-bottom:1px solid #f0f0f0;}
.pc-char-item:last-child{border-bottom:none;}
.pc-char-val{font-weight:600;color:#333;}
.pc-char-positive{color:#25c485;}
.pc-char-negative{color:#e53935;}
.pc-char-positive .pc-svg-icon, .pc-char-negative .pc-svg-icon{display:inline-flex;align-items:center;vertical-align:middle;margin-right:4px;}
.pc-char-positive .pc-svg-icon svg, .pc-char-negative .pc-svg-icon svg{width:10px;height:10px;fill:currentColor;}
.pc-char-positive-title, .pc-char-negative-title{display:flex;align-items:center;gap:6px;}
/* Responsive adjustments */
@media(max-width:768px){
    .ps-match-teams{gap:6px;}
   .ps-team-info{min-width:80px;gap:4px;}
   .ps-team-name{font-size:11px;}
   .ps-score{font-size:14px;}
   .ps-match-details{flex-direction:column;gap:4px;align-items:flex-start;}
   .pc-positions-grid{gap:6px;}
   .pc-position-badge{min-width:44px;height:32px;padding:4px 10px;font-size:11px;}
}

/* Position badges responsive - mobile */
@media(max-width:480px){
    .ps-match-card{padding:10px;}
   .ps-match-header{flex-direction:column;gap:8px;align-items:flex-start;}
   .ps-rating-badge{margin-left:0;align-self:flex-end;margin-top:-20px;}
   .ps-team-info{width:100%;}
   .ps-match-teams{width:100%;gap:4px;}
   .ps-team-name{font-size:11px;}
   .ps-score{font-size:13px;}
   .ps-match-details{width:100%;font-size:11px;}
   .pc-positions-grid{gap:5px;}
   .pc-position-badge{min-width:40px;height:28px;padding:2px 8px;font-size:10px;}
   .pc-strength-item, .pc-weakness-item{font-size:12px;gap:8px;}
   .pc-strength-item::before, .pc-weakness-item::before{width:18px;height:18px;font-size:10px;}
   .pc-char-section-title{font-size:12px;}
}


/* === HEATMAP === */
.pc-heatmap-container{border-radius:var(--radius-md, 8px);overflow:hidden;width:100%;max-width:800px;margin:0 auto;box-sizing:border-box;}
.pc-heatmap-canvas{max-width:100%;display:block;border-radius:var(--radius-md, 8px);}
/* === SHOTMAP (Şut Haritası) === */
.pc-shotmap-container{border-radius:var(--radius-md, 8px);overflow:visible;width:100%;max-width:600px;margin:0 auto;box-sizing:border-box;}
.pc-shotmap-canvas-wrapper{position:relative;border-radius:var(--radius-lg, 10px);overflow:hidden;line-height:0;box-shadow:0 2px 8px rgba(0, 0, 0, 0.12);cursor:pointer;-webkit-tap-highlight-color:transparent;}
.pc-shotmap-canvas{max-width:100%;display:block;border-radius:var(--radius-lg, 10px);}
/* === Shotmap Tooltip (Şut Detay Kartı — canvas altında) === */
.pc-shotmap-tooltip-anchor{position:relative;z-index:10;}
.pc-shotmap-tooltip{width:100%;background:#fff;border-radius:12px;box-shadow:0 4px 24px rgba(0,0,0,0.14), 0 1px 4px rgba(0,0,0,0.08);margin-top:8px;overflow:hidden;animation:shotmapTtFadeIn 0.2s ease-out;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;-webkit-tap-highlight-color:transparent;}
@keyframes shotmapTtFadeIn {
    from{opacity:0;transform:translateY(-6px);}
  to{opacity:1;transform:translateY(0);}
}

/* Üst satır: Dakika badge + xG pills */
.pc-shotmap-tt-top{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #f0f0f0;background:#fafbfc;}
.pc-shotmap-tt-minute-badge{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:28px;padding:0 10px;border-radius:6px;font-size:14px;font-weight:800;color:#fff;letter-spacing:-0.3px;flex-shrink:0;}
.pc-shotmap-tt-xg-pills{display:flex;gap:8px;margin-left:auto;}
.pc-shotmap-tt-xg-pill{display:flex;flex-direction:column;align-items:center;min-width:48px;padding:3px 8px;background:#f0f2f5;border-radius:6px;gap:0;}
.pc-shotmap-tt-pill-label{font-size:9px;font-weight:700;color:#999;text-transform:uppercase;letter-spacing:0.5px;line-height:1.2;}
.pc-shotmap-tt-pill-val{font-size:15px;font-weight:800;color:#1a1a1a;line-height:1.3;}
/* Detay satırları */
.pc-shotmap-tt-details{padding:8px 0;}
.pc-shotmap-tt-row{display:flex;justify-content:space-between;align-items:center;padding:5px 14px;gap:12px;min-height:28px;}
.pc-shotmap-tt-label{font-size:13px;color:#888;font-weight:500;flex-shrink:0;white-space:nowrap;}
.pc-shotmap-tt-value{font-size:13px;font-weight:700;color:#222;text-align:right;white-space:nowrap;}
/* Sonuç tipi renkleri */
.pc-shotmap-tt-type-goal{color:#1DB954;}
.pc-shotmap-tt-type-save{color:#F5A623;}
.pc-shotmap-tt-type-miss{color:#E74C3C;}
.pc-shotmap-tt-type-block{color:#95A5A6;}
/* Shotmap Stats */
.pc-shotmap-stats{padding:12px 0 4px;}
.pc-shotmap-legend{display:flex;flex-wrap:wrap;gap:8px 16px;justify-content:center;margin-bottom:12px;padding:6px 8px;}
.pc-shotmap-legend-item{display:flex;align-items:center;gap:6px;font-size:13px;color:#555;}
.pc-shotmap-dot{width:12px;height:12px;border-radius:50%;display:inline-block;flex-shrink:0;box-shadow:0 1px 3px rgba(0,0,0,0.18);}
.pc-shotmap-dot-goal{background-color:#1DB954;box-shadow:0 0 0 2px rgba(29,185,84,0.25), 0 1px 3px rgba(0,0,0,0.18);}
.pc-shotmap-dot-save{background-color:#F5A623;}
.pc-shotmap-dot-block{background-color:#95A5A6;}
.pc-shotmap-dot-miss{background-color:transparent;border:2px solid #E74C3C;width:10px;height:10px;box-shadow:none;}
.pc-shotmap-legend-label{font-weight:500;color:#444;}
.pc-shotmap-legend-value{font-weight:700;color:#222;min-width:16px;text-align:center;}
.pc-shotmap-totals{display:flex;justify-content:center;gap:24px;padding:10px 16px;background:linear-gradient(135deg, #f8f9fa 0%, #eef0f2 100%);border-radius:var(--radius-md, 8px);border:1px solid rgba(0,0,0,0.05);}
.pc-shotmap-total-item{display:flex;flex-direction:column;align-items:center;gap:2px;}
.pc-shotmap-total-label{font-size:11px;color:#888;font-weight:600;text-transform:uppercase;letter-spacing:0.5px;}
.pc-shotmap-total-value{font-size:20px;font-weight:800;color:#1a1a1a;}
/* === Shotmap Responsive === */
@media(max-width:400px){
    .pc-shotmap-tt-top{padding:10px 12px;gap:8px;}
  .pc-shotmap-tt-minute-badge{font-size:13px;min-width:32px;height:26px;}
  .pc-shotmap-tt-pill-val{font-size:13px;}
  .pc-shotmap-tt-xg-pill{min-width:40px;padding:3px 6px;}
  .pc-shotmap-tt-row{padding:4px 12px;}
  .pc-shotmap-tt-label, .pc-shotmap-tt-value{font-size:12px;}
  .pc-shotmap-legend{gap:6px 10px;}
  .pc-shotmap-legend-item{font-size:12px;}
  .pc-shotmap-totals{gap:16px;padding:8px 12px;}
  .pc-shotmap-total-value{font-size:17px;}
}

/* En küçük ekranlar (iPhone SE, Galaxy S vb.) */
@media(max-width:340px){
    .pc-shotmap-tt-top{padding:8px 10px;gap:6px;flex-wrap:wrap;}
  .pc-shotmap-tt-minute-badge{font-size:12px;min-width:28px;height:24px;padding:0 8px;}
  .pc-shotmap-tt-xg-pills{gap:6px;}
  .pc-shotmap-tt-xg-pill{min-width:36px;padding:2px 5px;}
  .pc-shotmap-tt-pill-val{font-size:12px;}
  .pc-shotmap-tt-pill-label{font-size:8px;}
  .pc-shotmap-tt-row{padding:3px 10px;min-height:24px;}
  .pc-shotmap-tt-label, .pc-shotmap-tt-value{font-size:11px;}
  .pc-shotmap-legend-item{font-size:11px;gap:4px;}
  .pc-shotmap-dot{width:10px;height:10px;}
  .pc-shotmap-dot-miss{width:8px;height:8px;}
  .pc-shotmap-totals{gap:12px;padding:6px 10px;}
  .pc-shotmap-total-label{font-size:10px;}
  .pc-shotmap-total-value{font-size:15px;}
}

/* === RADAR CHART === */
.pc-radar-wrapper{display:flex;justify-content:center;margin:12px 0;padding:12px 8px;background:#fafbfc;border-radius:var(--radius-md, 8px);}
.pc-radar-container{display:flex;justify-content:center;width:100%;max-width:320px;height:auto;min-height:280px;}
.pc-radar-svg{width:100%;height:auto;max-width:300px;}
.pc-attr-list{margin-top:12px;}
/* === ATTRIBUTE STATS GRID === */
.pc-attr-stats-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(160px, 1fr));gap:10px;margin-top:12px;}
.pc-attr-stat-card{background:linear-gradient(135deg, #f8f9fa 0%, #eef0f2 100%);border:1px solid #e0e0e0;border-radius:var(--radius-md, 8px);padding:12px;box-shadow:0 1px 3px rgba(0, 0, 0, 0.08);}
.pc-attr-card-title{font-size:12px;font-weight:700;color:#1976D2;margin:0 0 8px;text-transform:uppercase;letter-spacing:0.5px;border-bottom:1px solid #d0d0d0;padding-bottom:6px;}
.pc-attr-values{display:flex;flex-direction:column;gap:6px;}
.pc-attr-value-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:4px 0;font-size:12px;}
.pc-attr-name{color:#555;font-weight:500;flex:1;min-width:0;}
.pc-attr-value{color:#1976D2;font-weight:700;font-size:13px;flex-shrink:0;min-width:32px;text-align:right;}
/* === MEDIA LIST === */
.pc-media-list{display:flex;flex-direction:column;gap:8px;}
.pc-media-item{display:flex;gap:10px;padding:8px;background:#f8f9fa;border-radius:var(--radius-md, 8px);text-decoration:none;color:inherit;transition:background 0.2s ease;}
.pc-media-item:hover{background:#e9ecef;}
.pc-media-thumb{width:60px;height:44px;border-radius:6px;object-fit:cover;flex-shrink:0;}
.pc-media-info{display:flex;flex-direction:column;gap:2px;min-width:0;}
.pc-media-title{font-size:13px;font-weight:600;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.pc-media-date{font-size:11px;color:#888;}
/* === CHARACTERISTIC TITLES WITH ICONS === */
.pc-char-positive-title, .pc-char-negative-title{display:flex;align-items:center;gap:6px;}
/* === ATTRIBUTE STATS MOBILE RESPONSIVE === */
@media(max-width:768px){
    .pc-radar-wrapper{padding:10px 6px;margin:10px 0;}
   .pc-radar-container{max-width:280px;min-height:260px;}
   .pc-attr-stats-grid{grid-template-columns:repeat(auto-fit, minmax(140px, 1fr));gap:8px;margin-top:10px;}
   .pc-attr-stat-card{padding:10px;}
   .pc-attr-card-title{font-size:11px;margin-bottom:6px;}
   .pc-attr-value-row{font-size:11px;padding:3px 0;gap:6px;}
   .pc-attr-value{font-size:12px;}
}

@media(max-width:480px){
    .pc-radar-wrapper{padding:8px 4px;margin:8px 0;}
   .pc-radar-container{max-width:240px;min-height:220px;}
   .pc-attr-stats-grid{grid-template-columns:repeat(2, 1fr);gap:6px;margin-top:8px;}
   .pc-attr-stat-card{padding:8px;}
   .pc-attr-card-title{font-size:10px;margin-bottom:4px;padding-bottom:4px;}
   .pc-attr-values{gap:4px;}
   .pc-attr-value-row{font-size:10px;padding:2px 0;gap:4px;}
   .pc-attr-name{font-size:10px;}
   .pc-attr-value{font-size:11px;min-width:28px;}
}

@media(max-width:340px){
    .pc-radar-container{max-width:200px;min-height:180px;}
   .pc-attr-stats-grid{grid-template-columns:1fr;}
   .pc-attr-card-title{font-size:9px;}
   .pc-attr-value-row{font-size:9px;}
}

/* === v3 Mobile Responsive === */
@media(max-width:519px){
    .pc-tab span{font-size:10px;}
  .pc-tab i, .pc-tab .pc-svg-icon svg{font-size:14px;width:14px;height:14px;}
  .pc-expand-btn{padding:10px 12px;font-size:13px;}
  .pc-expand-content{padding:10px 12px;}
  .pc-tab-panel{padding:10px 12px;}
  .pc-rating-bar-label{width:80px;font-size:12px;}
}

/* Baskı Grafiği - Responsive Incident Icons */
/* ✅ Base boyutlar ve responsive ölçüler 7-breakpoint strategy bölümünde tanımlı */

.incident-icon-overlay{position:absolute;top:0;height:100%;transform:translateX(-50%);width:25px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;/* KEY:Pushes top and bottom apart */ gap:0;box-sizing:border-box;}
.incident-icons{display:flex;flex-direction:column;align-items:center;gap:2px;}
/* ✅ chartArea FIX: İkonlar grafiğin DIŞINDA — hemen üstünde/altında */
.incident-icons.top{position:absolute;bottom:100%;margin-bottom:1px;left:50%;transform:translateX(-50%);}
.incident-icons.bottom{position:absolute;top:100%;margin-top:1px;left:50%;transform:translateX(-50%);flex-direction:column-reverse;}
.incident-icon{font-size:14px;line-height:14px;display:inline-flex;align-items:center;justify-content:center;filter:drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));transition:transform 0.2s ease;cursor:pointer;padding:4px;margin:-4px;}
@media (hover: hover) {
    .incident-icon:hover{transform:scale(1.15);}
}

/* Doğrudan kırmızı kart - Kırmızı dikdörtgen */
.incident-icon.red-card-icon{width:10px;height:14px;background-color:#e53935;border-radius:var(--radius-xs);font-size:12px;line-height:14px;}
/* İkinci sarı karttan kırmızı (2 Sarı = 1 Kırmızı) - Küçük kırmızı dikdörtgen */
.incident-icon.yellow-red-card-icon{width:8px;height:12px;background-color:#d32f2f;border-radius:1px;font-size:8px;line-height:12px;opacity:0.8;}
/* İptal edilen gol ikonları */
.incident-icon.cancelled-goal-icon{font-size:14px;line-height:14px;color:#999;opacity:0.6;text-decoration:line-through;}
/* Incident Icons Container - Ana konteyner */
/* ✅ chartArea FIX: Pozisyon/boyut JS tarafından inline style ile ayarlanır */
/* Bu CSS sadece fallback — JS inline styles her zaman override eder */
.incident-icons-container{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none;z-index:var(--z-overlay);}
/* Dakika overlay - her dakika için konum container'ı */
.minute-incident-overlay{position:absolute;top:0;bottom:0;width:30px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;transform:translateX(-50%);}
/* ============================================
   RESPONSIVE ICONS — clamp() APPROACH
   ✅ chartArea FIX: Pozisyon/boyut artık JS inline style ile yönetiliyor
   Sadece ikon boyutları responsive olarak ayarlanır
   7 breakpoint → tek clamp() bloğu (#34 optimizasyonu)
   Aralık: 12px (≤375px) → 16px (≥1200px)
   
   COMPAT: clamp() fallback → iOS Safari <13.4, Samsung Internet <12
   Her clamp() satırının üstünde fallback (orta değer) var.
   Tarayıcı clamp() destekliyorsa fallback'i override eder.
   ============================================ */
.incident-icon{font-size:14px;/* fallback:clamp() desteklemeyen tarayıcılar */ font-size:clamp(12px, 0.5vw + 10px, 16px);line-height:1;}
.incident-icon.red-card-icon{width:8px;/* fallback */ width:clamp(6px, 0.4vw + 4px, 11px);height:12px;/* fallback */ height:clamp(9px, 0.5vw + 6.5px, 15px);font-size:10px;/* fallback */ font-size:clamp(8px, 0.3vw + 6px, 12px);}
.incident-icon.yellow-red-card-icon{width:7px;/* fallback */ width:clamp(5px, 0.3vw + 3.5px, 9px);height:10px;/* fallback */ height:clamp(7px, 0.5vw + 4.5px, 13px);font-size:7px;/* fallback */ font-size:clamp(6px, 0.2vw + 4.5px, 8px);}
/* DARK MODE UYUMLULUĞU - Comprehensive Dark Theme */
@media (prefers-color-scheme: dark) {
    /* === BAR CHART STYLING === */
    .live-scores-stat-bar.home{background:linear-gradient(to right, #42A5F5, #90CAF9);box-shadow:0 2px 4px rgba(66, 165, 245, 0.3);}
  
    .live-scores-stat-bar.away{background:linear-gradient(to right, #EF5350, #EF9A9A);box-shadow:0 2px 4px rgba(239, 83, 80, 0.3);}
  
    .live-scores-stat-bar.home:hover{filter:brightness(1.15);box-shadow:0 3px 6px rgba(66, 165, 245, 0.4);}
  
    .live-scores-stat-bar.away:hover{filter:brightness(1.15);box-shadow:0 3px 6px rgba(239, 83, 80, 0.4);}
  
    .live-scores-stat-value.home{background-color:#42A5F5;box-shadow:0 2px 4px rgba(66, 165, 245, 0.3);}
  
    .live-scores-stat-value.away{background-color:#EF5350;box-shadow:0 2px 4px rgba(239, 83, 80, 0.3);}
  
    /* === LABELS AND TEXT === */
    .live-scores-stat-label{color:#e0e0e0;}
  
    /* === BAR CONTAINER === */
    .live-scores-stat-bar-container{background-color:#424242;box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.3);}
  
    /* === CIRCULAR CHART STYLING === */
    .circular-chart .home-circle{stroke:#42A5F5;}
  
    .circular-chart .away-circle{stroke:#EF5350;}
  
    .circle-bg{stroke:#555;opacity:0.6;}
  
    .percentage{fill:#e0e0e0;}
  
    .circular-stat-text{color:#d0d0d0;}
  
    /* === PERIOD BUTTONS === */
    .statistics-period-selection{background-color:#2a2a2a;box-shadow:0 2px 5px rgba(0, 0, 0, 0.3);}
  
    .statistics-period-selection button{color:#b0b0b0;}
  
    .statistics-period-selection button:hover{background-color:rgba(255, 255, 255, 0.05);}
  
    .statistics-period-selection button.active{background-color:#1a1a1a;color:#42A5F5;box-shadow:0 2px 5px rgba(66, 165, 245, 0.2);}
  
    /* === HOVER EFFECTS (Desktop - 1025px+) === */
    @media(min-width:1025px){
        .circular-chart:hover{filter:drop-shadow(0 4px 12px rgba(66, 165, 245, 0.3));}
  }
}

/* ====================================================================
   FAZ2 FIX #11: Touch Device Alternatifleri
   Hover desteklemeyen (dokunmatik) cihazlar için:
   - Transform/box-shadow hover'ları devre dışı bırak (yapışkan kalma sorunu)
   - :active pseudo-class ile kısa dokunma geri bildirimi sağla
   ==================================================================== */

/* Dokunmatik cihazlarda hover efektlerini devre dışı bırak ve :active ile değiştir */
@media (hover: none) {
    /* Maç kartları - Yapışkan transform hover'ı engelle */
    .live-scores-match-card:hover{transform:none;box-shadow:0 4px 15px rgba(0,0,0,0.08);}
  .live-scores-match-card:active{background-color:#f5f5f5;transform:scale(0.97);/* FAZ4 FIX #32:Touch feedback press-in effect */ transition:background-color 0.1s ease, transform 0.1s ease;}
   /* Maç satırları - bg renk hover'ı engelle */
    .live-scores-match:hover, .match-card:hover{background-color:inherit;}
  .live-scores-match:active, .match-card:active{background-color:#f0f0f0;transform:scale(0.97);/* FAZ4 FIX #32:Touch feedback press-in effect */ transition:background-color 0.1s ease, transform 0.1s ease;}
  
    /* Menü öğeleri - bg renk hover'ını engelle */
    .live-scores-menu-item:hover{background-color:inherit;}
  .live-scores-menu-item:active{background-color:#e8e8e8;transform:scale(0.97);/* FAZ4 FIX #32:Touch feedback press-in effect */ transition:background-color 0.1s ease, transform 0.1s ease;}
   /* Olay kartları - box-shadow hover'ını engelle */
    .incident:hover{box-shadow:0 1px 3px rgba(0,0,0,0.1);}
  .incident:active{background-color:#f0f0f0;transform:scale(0.97);/* FAZ4 FIX #32:Touch feedback press-in effect */ transition:background-color 0.1s ease, transform 0.1s ease;}
   /* Puan durumu tablosu satırları */
    .standings-table tbody tr:hover{background-color:inherit;}
  .standings-table tbody tr:active{background-color:#e9ecef;transform:scale(0.97);/* FAZ4 FIX #32:Touch feedback press-in effect */ transition:background-color 0.1s ease, transform 0.1s ease;}
   /* Puan durumu kartları */
    .standings-card:hover{transform:none;box-shadow:0 2px 4px rgba(0,0,0,0.1);}
  .standings-card:active{background-color:#f5f5f5;transform:scale(0.97);/* FAZ4 FIX #32:Touch feedback press-in effect */ transition:background-color 0.1s ease, transform 0.1s ease;}
   /* Performans kartları */
    .performance-card:hover{transform:none;box-shadow:0 2px 4px rgba(0,0,0,0.1);}
  .performance-card:active{background-color:#f0f0f0;transform:scale(0.97);/* FAZ4 FIX #32:Touch feedback press-in effect */ transition:background-color 0.1s ease, transform 0.1s ease;}
   /* H2H maç kartları */
    .h2h-match-card.match-card:hover{transform:none;box-shadow:none;}
  .h2h-match-card.match-card:active{background-color:#f5f5f5;transform:scale(0.97);/* FAZ4 FIX #32:Touch feedback press-in effect */ transition:background-color 0.1s ease, transform 0.1s ease;}
   /* İstatistik çubukları */
    .live-scores-stat-bar.home:hover, .live-scores-stat-bar.away:hover{filter:none;}
  .live-scores-stat-bar.home:active, .live-scores-stat-bar.away:active{opacity:0.8;transform:scale(0.97);/* FAZ4 FIX #32:Touch feedback press-in effect */ transition:opacity 0.1s ease, transform 0.1s ease;}
   /* Dairesel grafik */
    .circular-chart:hover{filter:none;}
   /* Oyuncu kartı stat */
    .player-card-stat-item:hover{transform:none;}
  .player-card-stat-item:active{background-color:#f0f0f0;transform:scale(0.97);/* FAZ4 FIX #32:Touch feedback press-in effect */ transition:background-color 0.1s ease, transform 0.1s ease;}
}

/* ====================================================================
   FAZ4 FIX #28: Safe Area Inset Desteği
   iPhone X+ notch/home indicator alanları için padding
   env(safe-area-inset-*) ile dinamik spacing
   ==================================================================== */
@supports (padding: env(safe-area-inset-top)) {
    /* Mobil match-details: notch ve home indicator koruması */
    @media(max-width:768px){
        #match-details{padding-top:calc(10px + env(safe-area-inset-top));padding-bottom:calc(50px + env(safe-area-inset-bottom));/* ← FIX:50px base + safe area */ padding-left:calc(10px + env(safe-area-inset-left));padding-right:calc(10px + env(safe-area-inset-right));}
       /* Controls card: sol/sağ safe area */
        .controls-card{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right);}
       /* Tab content: alt safe area (scroll sonu) */
        .live-scores-tab-content{padding-bottom:calc(20px + env(safe-area-inset-bottom));}
       /* Body scroll-locked durumda bottom indicator */
        body.scroll-locked{padding-bottom:env(safe-area-inset-bottom);}
  }
}

/* ====================================================================
   FAZ4 FIX #29: Overflow/Scroll İyileştirmeleri
   - overscroll-behavior: contain → üst sayfa scroll'unu engelle
   - Smooth scroll behavior
   - Scroll snap for tab content
   ==================================================================== */
#match-details{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;}
/* Tab content no longer scrolls — parent #match-details handles all scrolling */

.live-scores-menu{overscroll-behavior-x:contain;scroll-behavior:smooth;}
/* Scroll-locked durumda body overscroll'u engelle */
body.scroll-locked{overscroll-behavior:none;}
/* ====================================================================
   FAZ4 FIX #33: Reduced Motion (Erişilebilirlik)
   prefers-reduced-motion: reduce → tüm animasyonları devre dışı bırak
   Epilepsi/vestibüler hassasiyetler için zorunlu erişilebilirlik desteği
   ==================================================================== */
@media (prefers-reduced-motion: reduce) {
    /* Tüm geçişleri ve animasyonları kaldır */
    *, *::before, *::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important;}
   /* Match details açılış/kapanış animasyonları */
    #match-details{transition:none !important;animation:none !important;}
   #match-details.entrance-animation{animation:none !important;}
   /* Tab geçiş animasyonları */
    .live-scores-tab-content.entering, .live-scores-tab-content.exiting{animation:none !important;transition:none !important;}
   /* Gol/iptal flash animasyonları */
    .flash-goal-overlay, .flash-cancel-overlay{animation:none !important;opacity:0 !important;}
   /* Skeleton pulse animasyonları */
    .skeleton-pulse, .skeleton-pulse-slow{animation:none !important;}
   /* Skor değişim animasyonları */
    .live-scores-score{transition:none !important;}
   /* Switch option geçişleri */
    .switch-option{transition:none !important;}
   /* Menü öğeleri */
    .live-scores-menu-item{transition:none !important;}
   /* Maç kartı hover animasyonları */
    .live-scores-match-card, .match-card{transition:none !important;}
   /* İstatistik çubukları */
    .live-scores-stat-bar{transition:none !important;}
   /* Sezon Değerlendirmeleri - Mobil */
    .pc-rating-match-opp{font-size:12px;}
   .pc-rating-match-opp .pc-svg-icon svg{width:1.4em;height:1.4em;}
}

/* ====================================================================
   PLUGIN BAŞLIĞI GİZLEME — Tema h1'ini göster, plugin div'ini gizle
   ==================================================================== */
#live-scores-page-title{display:none !important;}
/* ====================================================================
   TURNUVA SAYFASI — PREMIUM NEXT-GEN DESIGN
   Mobile-first, glassmorphism, smooth animations
   ==================================================================== */

/* === CSS Custom Properties === */
.tournament-page{--tp-primary:#0f172a;--tp-primary-light:#1e293b;--tp-accent:#3b82f6;--tp-accent-hover:#2563eb;--tp-accent-glow:rgba(59, 130, 246, 0.15);--tp-success:#10b981;--tp-warning:#f59e0b;--tp-danger:#ef4444;--tp-surface:#ffffff;--tp-surface-hover:#f8fafc;--tp-surface-alt:#f1f5f9;--tp-border:#e2e8f0;--tp-border-light:#f1f5f9;--tp-text:#0f172a;--tp-text-secondary:#64748b;--tp-text-muted:#94a3b8;--tp-radius:16px;--tp-radius-sm:10px;--tp-radius-xs:6px;--tp-shadow:0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);--tp-shadow-hover:0 4px 16px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);--tp-shadow-lg:0 8px 30px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);--tp-transition:0.25s cubic-bezier(0.4, 0, 0.2, 1);--tp-zone-cl:#3b82f6;--tp-zone-el:#f97316;--tp-zone-ecl:#22c55e;--tp-zone-rel:#ef4444;}
/* Scroll-margin: sticky nav yüksekliği + boşluk (scrollIntoView için) */
.tournament-page .tournament-section[id]{scroll-margin-top:56px;}
/* === Ana Container === */
.tournament-page{max-width:920px;margin:0 auto;padding:8px 16px 40px;font-family:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;color:var(--tp-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}
/* ====================================================================
   TURNUVA HEADER — Bayrak + İsim
   ==================================================================== */
/* Turnuva sayfasında temanın kendi breadcrumb + page title'ını gizle
   Bizim breadcrumb + H1 header zaten içerikte render ediliyor */
body.turnuva-page-active .td-page-header, body.turnuva-page-active .td-crumb-container, body.turnuva-page-active .entry-title.td-page-title, body.turnuva-page-active .td-page-title-wrap{display:none !important;}
.tournament-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 0 2px;}
.tournament-header-left{display:flex !important;align-items:center !important;gap:0 !important;min-width:0;flex-wrap:nowrap !important;}
.tournament-header-left > *{align-self:center !important;}
.tournament-header-left noscript{display:none !important;}
.tournament-header-right{flex-shrink:0;}
.tournament-header-flag{width:28px !important;height:20px !important;object-fit:contain;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,0.12);vertical-align:middle;margin:0 8px 0 0 !important;padding:0 !important;float:none !important;flex-shrink:0;display:inline-block !important;}
h1.tournament-header-name, .tournament-header-left h1.tournament-header-name, .td-page-content h1.tournament-header-name{font-size:22px !important;font-weight:700 !important;color:var(--tp-text-primary) !important;letter-spacing:-0.02em;line-height:1 !important;margin:0 !important;padding:0 !important;border:none !important;min-height:auto !important;height:auto !important;background:none !important;float:none !important;text-transform:none !important;}
h1.tournament-header-name::before, h1.tournament-header-name::after{display:none !important;content:none !important;}
/* Sezon dropdown (header-içi) */
.tournament-header-right .season-selector-dropdown{min-width:140px;min-height:36px;padding:7px 32px 7px 12px;font-size:13px;}
/* === SEZON SEÇİCİ (Eski bağımsız container — artık header-içi) === */
.tournament-season-selector{display:none;}
/* ====================================================================
   NAVİGASYON — Sticky section jumper
   ==================================================================== */
.tournament-nav{display:flex;align-items:center;gap:6px;padding:8px 0;margin-bottom:8px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;position:sticky;top:0;z-index:100;background:rgba(255,255,255,0.92);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--tp-border-light);}
.tournament-nav::-webkit-scrollbar{display:none;}
.nav-pill{flex-shrink:0;padding:8px 16px;border-radius:20px;font-size:12px;font-weight:600;color:var(--tp-text-secondary);background:var(--tp-surface-alt);text-decoration:none;transition:all var(--tp-transition);white-space:nowrap;border:1px solid transparent;letter-spacing:-0.01em;}
.nav-pill:hover{color:var(--tp-accent);background:var(--tp-accent-glow);text-decoration:none;}
.nav-pill.active{color:#fff;background:var(--tp-accent);border-color:var(--tp-accent);box-shadow:0 2px 8px rgba(59,130,246,0.25);}
/* === SEZON SEÇİCİ (Tournament Season Dropdown) === */
.tournament-season-selector{display:flex;justify-content:flex-end;padding:8px 0 4px;margin-bottom:12px;}
.season-selector-inner{display:flex;align-items:center;gap:10px;padding:8px 14px;background:linear-gradient(135deg, #f8f9fa 0%, #f5f7fa 100%);border:1px solid #e8ecf0;border-radius:10px;box-shadow:0 2px 8px rgba(0, 0, 0, 0.04);}
.season-selector-label{font-size:12px;font-weight:700;color:#2c3e50;text-transform:uppercase;letter-spacing:0.5px;white-space:nowrap;user-select:none;}
.season-selector-dropdown{min-width:160px;min-height:38px;padding:8px 34px 8px 12px;font-size:13px;font-weight:600;color:#2c3e50;background:white;border:2px solid #dee2e6;border-radius:8px;cursor:pointer;transition:all 0.25s cubic-bezier(0.4, 0, 0.2, 1);appearance:none;-webkit-appearance:none;box-shadow:0 1px 3px rgba(0, 0, 0, 0.05);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%232c3e50' d='M7 10.8L1.4 5.2c-.4-.4-.4-1 0-1.4s1-.4 1.4 0L7 8l4.2-4.2c.4-.4 1-.4 1.4 0s.4 1 0 1.4L7 10.8z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;}
.season-selector-dropdown:hover{border-color:#adb5bd;box-shadow:0 2px 6px rgba(0, 0, 0, 0.1);background-color:#fafbfc;}
.season-selector-dropdown:focus{outline:none;border-color:var(--tp-accent, #2196F3);background-color:#f8fbff;box-shadow:0 0 0 3px rgba(59, 130, 246, 0.15);}
.season-selector-dropdown option{background:white;color:#2c3e50;font-weight:500;padding:8px;}
.season-selector-dropdown option:checked{background:linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);background-color:#3b82f6 !important;color:white;font-weight:600;}
/* === Section Genel === */
.tournament-section{margin-bottom:24px;background:var(--tp-surface);border-radius:var(--tp-radius);padding:24px;box-shadow:var(--tp-shadow);border:1px solid var(--tp-border-light);transition:box-shadow var(--tp-transition);position:relative;overflow:hidden;}
.tournament-section::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg, var(--tp-accent), #a855f7, #ec4899);opacity:0;transition:opacity var(--tp-transition);}
.tournament-section:hover{box-shadow:var(--tp-shadow-hover);}
/* === Sezon Değişimi Loading State === */
.tournament-section.section-loading{pointer-events:none;min-height:120px;}
.tournament-section.section-loading > *{opacity:0.25;transition:opacity 0.2s ease;}
.tournament-section.section-loading::after{content:'';position:absolute;top:50%;left:50%;width:32px;height:32px;margin:-16px 0 0 -16px;border:3px solid var(--tp-border-light);border-top-color:var(--tp-accent);border-radius:50%;animation:tournamentSpin 0.7s linear infinite;z-index:10;}
@keyframes tournamentSpin {
    to{transform:rotate(360deg);}
}

.tournament-section:hover::before{opacity:1;}
/* Section header */
.tournament-section .section-header{display:flex;align-items:center;gap:10px;margin-bottom:20px;padding-bottom:14px;border-bottom:2px solid var(--tp-border-light);}
.tournament-section .section-icon{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:var(--tp-radius-sm);font-size:18px;flex-shrink:0;}
.tournament-section h2{font-size:18px;font-weight:700;color:var(--tp-text);margin:0;padding:0;border:none;letter-spacing:-0.02em;line-height:1.3;}
.tournament-section h3{font-size:15px;font-weight:600;color:var(--tp-text);margin:20px 0 12px;letter-spacing:-0.01em;}
/* ====================================================================
   PUAN DURUMU — Standings
   ==================================================================== */
.tournament-standings .section-icon{background:linear-gradient(135deg, #dbeafe, #eff6ff);color:var(--tp-accent);}
/* Tabs */
.standings-tabs{display:flex;gap:4px;margin-bottom:16px;background:var(--tp-surface-alt);border-radius:var(--tp-radius-sm);padding:4px;}
.tournament-page .standings-tab{flex:1;padding:10px 16px;border:none;background:transparent;border-radius:var(--tp-radius-xs);font-size:13px;font-weight:600;color:var(--tp-text-secondary);cursor:pointer;transition:all var(--tp-transition);position:relative;letter-spacing:-0.01em;}
.tournament-page .standings-tab.active{background:var(--tp-surface);color:var(--tp-accent);box-shadow:0 1px 4px rgba(0,0,0,0.08);}
.tournament-page .standings-tab:hover:not(.active){color:var(--tp-text);background:rgba(255,255,255,0.5);}
/* Tablo */
.standings-table-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 -8px;padding:0 8px;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent;/* Scroll fade indicator */ mask-image:linear-gradient(to right, transparent 0, black 8px, black calc(100% - 8px), transparent 100%);-webkit-mask-image:linear-gradient(to right, transparent 0, black 8px, black calc(100% - 8px), transparent 100%);}
.standings-table-wrapper::-webkit-scrollbar{height:4px;}
.standings-table-wrapper::-webkit-scrollbar-track{background:transparent;}
.standings-table-wrapper::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px;}
.standings-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px;line-height:1.4;}
.standings-table thead{position:sticky;top:0;z-index:2;}
.standings-table th{background:var(--tp-surface-alt);color:var(--tp-text-muted);font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:0.04em;padding:10px 8px;text-align:center;white-space:nowrap;border-bottom:1px solid var(--tp-border);}
.standings-table th.col-team{text-align:left;padding-left:12px;}
.standings-table td{padding:12px 8px;text-align:center;border-bottom:1px solid var(--tp-border-light);white-space:nowrap;font-variant-numeric:tabular-nums;transition:background var(--tp-transition);}
.standings-table td.col-team{text-align:left;padding-left:12px;}
.standings-table td.col-pos{font-weight:700;color:var(--tp-text-muted);width:36px;position:relative;padding-left:12px;}
.standings-table td.col-points{font-weight:800;color:var(--tp-text);font-size:14px;}
.team-name{font-weight:600;color:var(--tp-text);font-size:13px;}
.standings-row{transition:background var(--tp-transition);}
.standings-row:hover{background:var(--tp-accent-glow);}
/* Zone indicators — sol kenar çizgisi */
.standings-row.zone-cl td:first-child{box-shadow:inset 3px 0 0 var(--tp-zone-cl);}
.standings-row.zone-el td:first-child{box-shadow:inset 3px 0 0 var(--tp-zone-el);}
.standings-row.zone-ecl td:first-child{box-shadow:inset 3px 0 0 var(--tp-zone-ecl);}
.standings-row.zone-relegation td:first-child{box-shadow:inset 3px 0 0 var(--tp-zone-rel);}
/* Zone legend */
.zone-legend{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px;padding-top:12px;border-top:1px solid var(--tp-border-light);}
.zone-legend-item{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--tp-text-secondary);}
.zone-legend-dot{width:10px;height:10px;border-radius:3px;flex-shrink:0;}
.zone-legend-dot.dot-cl{background:var(--tp-zone-cl);}
.zone-legend-dot.dot-el{background:var(--tp-zone-el);}
.zone-legend-dot.dot-ecl{background:var(--tp-zone-ecl);}
.zone-legend-dot.dot-rel{background:var(--tp-zone-rel);}
/* ====================================================================
   CANLI SKOR YÖNLENDİRME BANNER
   ==================================================================== */
.tournament-live-link{padding:0;border:none;background:none;box-shadow:none;overflow:visible;}
.tournament-live-link:hover{box-shadow:none;}
.live-link-banner{display:flex;align-items:center;justify-content:center;gap:14px;padding:18px 28px;background:linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);color:#fff;text-decoration:none;border-radius:var(--tp-radius);transition:all var(--tp-transition);font-size:16px;font-weight:600;position:relative;overflow:hidden;letter-spacing:-0.01em;}
.live-link-banner::before{content:'';position:absolute;inset:0;background:linear-gradient(135deg, rgba(59,130,246,0.15), transparent);opacity:0;transition:opacity var(--tp-transition);}
.live-link-banner:hover{transform:translateY(-2px);box-shadow:var(--tp-shadow-lg);color:#fff;text-decoration:none;}
.live-link-banner:hover::before{opacity:1;}
.live-link-icon{font-size:22px;position:relative;z-index:1;}
.live-link-pulse{display:inline-flex;align-items:center;gap:8px;position:relative;z-index:1;}
.live-link-dot{width:8px;height:8px;background:#ef4444;border-radius:50%;animation:livePulse 1.5s ease-in-out infinite;}
@keyframes livePulse {
    0%, 100%{opacity:1;box-shadow:0 0 0 0 rgba(239,68,68,0.5);}
  50%{opacity:0.8;box-shadow:0 0 0 6px rgba(239,68,68,0);}
}

.live-link-text{position:relative;z-index:1;}
.live-link-arrow{font-size:18px;transition:transform var(--tp-transition);position:relative;z-index:1;}
.live-link-banner:hover .live-link-arrow{transform:translateX(4px);}
/* ====================================================================
   MAÇ LİSTESİ — Fikstür & Sonuçlar
   ==================================================================== */
.tournament-fixtures .section-icon{background:linear-gradient(135deg, #dcfce7, #f0fdf4);color:var(--tp-success);}
.tournament-results .section-icon{background:linear-gradient(135deg, #fef3c7, #fffbeb);color:var(--tp-warning);}
.match-list{display:flex;flex-direction:column;gap:6px;}
.match-item{padding:14px 16px;border-radius:var(--tp-radius-sm);background:var(--tp-surface-alt);transition:all var(--tp-transition);border:1px solid transparent;}
.match-item:hover{background:var(--tp-surface);border-color:var(--tp-border);box-shadow:0 2px 8px rgba(0,0,0,0.04);}
.match-meta{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--tp-text-muted);margin-bottom:8px;}
.match-round{background:var(--tp-accent-glow);color:var(--tp-accent);padding:2px 8px;border-radius:20px;font-weight:600;font-size:10px;letter-spacing:0.02em;text-transform:uppercase;}
.match-teams{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;font-size:14px;}
.team-home{text-align:right;font-weight:600;color:var(--tp-text);padding:0;line-height:1.3;}
.team-away{text-align:left;font-weight:600;color:var(--tp-text);padding:0;line-height:1.3;}
.match-score{font-weight:800;font-size:16px;color:var(--tp-text);min-width:56px;text-align:center;background:var(--tp-surface);border-radius:var(--tp-radius-xs);padding:6px 10px;border:1px solid var(--tp-border);font-variant-numeric:tabular-nums;letter-spacing:0.05em;}
.match-time{font-weight:700;font-size:14px;color:var(--tp-accent);min-width:56px;text-align:center;font-variant-numeric:tabular-nums;}
/* ====================================================================
   EN İYİ OYUNCULAR / GOL KRALLIĞI
   ==================================================================== */
.tournament-top-players .section-icon{background:linear-gradient(135deg, #fce7f3, #fdf2f8);color:#ec4899;}
/* Player sub-tabs */
.players-tabs{display:flex;gap:4px;margin-bottom:16px;background:var(--tp-surface-alt);border-radius:var(--tp-radius-sm);padding:4px;}
.players-tab{flex:1;padding:10px 16px;border:none;background:transparent;border-radius:var(--tp-radius-xs);font-size:13px;font-weight:600;color:var(--tp-text-secondary);cursor:pointer;transition:all var(--tp-transition);letter-spacing:-0.01em;}
.players-tab.active{background:var(--tp-surface);color:#ec4899;box-shadow:0 1px 4px rgba(0,0,0,0.08);}
.players-tab:hover:not(.active){color:var(--tp-text);background:rgba(255,255,255,0.5);}
/* Scorer table main stat emphasis */
.scorer-table .col-main-stat strong{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;border-radius:8px;background:linear-gradient(135deg, #dbeafe, #eff6ff);color:var(--tp-accent);font-size:14px;font-weight:800;}
.top-players-table-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent;}
.top-players-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px;}
.top-players-table th{background:var(--tp-surface-alt);color:var(--tp-text-muted);font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:0.04em;padding:10px 8px;text-align:center;border-bottom:1px solid var(--tp-border);}
.top-players-table th.col-player, .top-players-table th.col-team{text-align:left;}
.top-players-table td{padding:12px 8px;text-align:center;border-bottom:1px solid var(--tp-border-light);font-variant-numeric:tabular-nums;transition:background var(--tp-transition);}
.top-players-table td.col-player{text-align:left;font-weight:600;color:var(--tp-text);}
.top-players-table td.col-team{text-align:left;color:var(--tp-text-secondary);font-size:12px;}
.top-players-table td.col-pos{font-weight:700;width:36px;}
/* Sıralama badge'leri — ilk 3 */
.rank-badge{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:8px;font-size:12px;font-weight:800;}
.rank-1{background:linear-gradient(135deg, #fef3c7, #fde68a);color:#92400e;}
.rank-2{background:linear-gradient(135deg, #e2e8f0, #cbd5e1);color:#475569;}
.rank-3{background:linear-gradient(135deg, #fed7aa, #fdba74);color:#9a3412;}
.rank-default{color:var(--tp-text-muted);}
.top-players-table tr:hover td{background:var(--tp-accent-glow);}
/* Stat highlight */
.stat-highlight{font-weight:700;color:var(--tp-text);}
.stat-rating{display:inline-block;padding:2px 8px;border-radius:20px;font-weight:700;font-size:12px;}
.stat-rating.rating-high{background:#dcfce7;color:#166534;}
.stat-rating.rating-mid{background:#fef3c7;color:#92400e;}
.stat-rating.rating-low{background:#fee2e2;color:#991b1b;}
/* ====================================================================
   GRAFİKLER
   ==================================================================== */
.tournament-charts .section-icon{background:linear-gradient(135deg, #e0e7ff, #eef2ff);color:#6366f1;}
.chart-block{margin-bottom:28px;padding:16px;background:var(--tp-surface-alt);border-radius:var(--tp-radius-sm);}
.chart-block:last-child{margin-bottom:0;}
.chart-block h3{margin-top:0;}
.chart-canvas-wrapper{position:relative;width:100%;height:400px;}
.chart-canvas-wrapper canvas{width:100% !important;height:100% !important;}
/* SEO fallback: Chart yüklenene kadar göster */
.chart-data-table.seo-table{font-size:12px;margin-bottom:12px;width:100%;border-collapse:separate;border-spacing:0;border-radius:var(--tp-radius-xs);overflow:hidden;}
.chart-data-table th, .chart-data-table td{padding:8px 10px;border-bottom:1px solid var(--tp-border-light);text-align:center;}
.chart-data-table th{background:var(--tp-surface);font-weight:600;color:var(--tp-text-secondary);font-size:11px;text-transform:uppercase;letter-spacing:0.03em;}
.chart-data-table td:first-child, .chart-data-table th:first-child{text-align:left;}
/* ====================================================================
   FAQ — Progressive Enhancement Accordion
   Varsayılan: cevaplar AÇIK (SEO crawlerlar tüm içeriği görsün)
   JS yüklenince: .faq-accordion class eklenir → accordion aktif olur
   ==================================================================== */
.tournament-faq .section-icon{background:linear-gradient(135deg, #fae8ff, #fdf4ff);color:#a855f7;}
.faq-list{display:flex;flex-direction:column;gap:8px;}
.faq-item{border:1px solid var(--tp-border);border-radius:var(--tp-radius-sm);overflow:hidden;transition:border-color var(--tp-transition), box-shadow var(--tp-transition);}
.faq-item:hover{border-color:var(--tp-accent);box-shadow:0 0 0 3px var(--tp-accent-glow);}
.faq-question{font-size:14px;font-weight:600;padding:16px 20px;margin:0;background:var(--tp-surface);color:var(--tp-text);position:relative;line-height:1.5;}
/* ── Varsayılan (JS yok): Cevaplar açık, ok yok, cursor normal ── */
.faq-answer{padding:4px 20px 16px;}
.faq-answer p{margin:0;font-size:14px;line-height:1.7;color:var(--tp-text-secondary);}
/* ── JS aktif (accordion mode): Chevron ok + collapse/expand ── */
.faq-accordion .faq-question{cursor:pointer;padding-right:44px;user-select:none;-webkit-user-select:none;transition:background var(--tp-transition);}
.faq-accordion .faq-question:hover{background:var(--tp-surface-hover);}
.faq-accordion .faq-question::after{content:'';position:absolute;right:18px;top:50%;width:8px;height:8px;border-right:2px solid var(--tp-text-muted);border-bottom:2px solid var(--tp-text-muted);transform:translateY(-70%) rotate(45deg);transition:transform var(--tp-transition);}
.faq-accordion .faq-item.open .faq-question::after{transform:translateY(-30%) rotate(-135deg);}
.faq-accordion .faq-item.open{border-color:var(--tp-accent);}
.faq-accordion .faq-answer{max-height:0;overflow:hidden;padding:0 20px;transition:max-height 0.35s ease, padding 0.35s ease;}
.faq-accordion .faq-item.open .faq-answer{max-height:300px;padding:8px 20px 18px;}
/* ====================================================================
   HAKKINDA — About
   ==================================================================== */
.tournament-about .section-icon{background:linear-gradient(135deg, #ccfbf1, #f0fdfa);color:#14b8a6;}
.about-text p{font-size:14px;line-height:1.8;color:var(--tp-text-secondary);margin:0 0 14px;}
.about-text p:last-child{margin-bottom:0;}
.about-text a{color:var(--tp-accent);text-decoration:none;font-weight:500;border-bottom:1px solid transparent;transition:border-color var(--tp-transition);}
.about-text a:hover{border-color:var(--tp-accent);}
/* ====================================================================
   SON GÜNCELLENME ZAMANI
   ==================================================================== */
.tournament-last-updated{text-align:center;font-size:12px;color:var(--tp-text-muted);padding:16px 0 8px;margin-top:8px;border-top:1px solid var(--tp-border-light);letter-spacing:-0.01em;}
.tournament-last-updated time{font-weight:600;color:var(--tp-text-secondary);}
.last-updated-icon{font-size:13px;}
/* ====================================================================
   BREADCRUMB NAVİGASYONU
   ==================================================================== */
.tournament-breadcrumb{margin-bottom:0;}
.tournament-breadcrumb ol{display:flex;flex-wrap:wrap;align-items:center;gap:0;list-style:none;margin:0;padding:0;font-size:13px;color:var(--tp-text-muted);}
.tournament-breadcrumb li{display:flex;align-items:center;}
.tournament-breadcrumb li:not(:last-child)::after{content:"›";margin:0 8px;color:var(--tp-text-muted);font-size:14px;}
.tournament-breadcrumb a{color:var(--tp-primary);text-decoration:none;transition:color 0.2s;}
.tournament-breadcrumb a:hover{color:var(--tp-primary-hover, #2563eb);text-decoration:underline;}
.tournament-breadcrumb li:last-child{color:var(--tp-text-secondary);font-weight:500;}
/* ====================================================================
   İLGİLİ TURNUVALAR (Cross-Link Grid)
   ==================================================================== */
.related-tournaments-grid{display:grid;grid-template-columns:repeat(auto-fill, minmax(220px, 1fr));gap:10px;}
.related-tournament-card{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;background:var(--tp-surface, #fff);border:1px solid var(--tp-border-light);border-radius:12px;text-decoration:none;color:var(--tp-text);font-size:14px;font-weight:500;transition:all 0.2s ease;}
.related-tournament-card:hover{border-color:var(--tp-primary);background:var(--tp-hover-bg, #f0f7ff);transform:translateY(-1px);box-shadow:0 4px 12px rgba(0, 0, 0, 0.06);}
.related-tournament-name{flex:1;}
.related-tournament-arrow{color:var(--tp-primary);font-weight:700;font-size:16px;opacity:0.6;transition:opacity 0.2s, transform 0.2s;}
.related-tournament-card:hover .related-tournament-arrow{opacity:1;transform:translateX(2px);}
/* ====================================================================
   Takım adı linki (puan durumu tablosu)
   ==================================================================== */
.standings-table a.team-name{color:var(--tp-text);text-decoration:none;font-weight:500;transition:color 0.15s;}
.standings-table a.team-name:hover{color:var(--tp-primary);text-decoration:underline;}
/* ====================================================================
   SR-ONLY (Screen reader only — erişilebilirlik)
   ==================================================================== */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;}
/* ====================================================================
   MOBILE RESPONSIVE — 768px
   ==================================================================== */
@media(max-width:768px){
    .tournament-page{padding:4px 10px 32px;}
   /* Tournament header mobil */
    .tournament-header{padding:10px 0 6px;gap:8px;flex-wrap:wrap;}
   .tournament-header-left{gap:0 !important;}
   .tournament-header-flag{width:28px !important;height:20px !important;}
   h1.tournament-header-name, .tournament-header-left h1.tournament-header-name{font-size:18px !important;line-height:1.2 !important;}
   .tournament-header-right .season-selector-dropdown{min-width:120px;min-height:34px;padding:6px 28px 6px 10px;font-size:12px;}
   /* Nav mobil — horizontal scroll */
    .tournament-nav{padding:8px 0;margin-bottom:14px;gap:4px;}
   .nav-pill{padding:7px 12px;font-size:11px;}
   /* Sezon seçici mobil — artık header-içi, eski container gizli */
    .tournament-season-selector{display:none;}
   .tournament-section{padding:18px 16px;margin-bottom:16px;border-radius:14px;}
   .tournament-section .section-header{margin-bottom:16px;padding-bottom:12px;}
   .tournament-section .section-icon{width:32px;height:32px;font-size:16px;}
   .tournament-section h2{font-size:16px;}
   /* Standings mobil */
    .standings-table{font-size:12px;}
   .standings-table th{padding:8px 5px;font-size:10px;}
   .standings-table td{padding:10px 5px;}
   .standings-table th.col-team, .standings-table td.col-team{padding-left:8px;}
   .team-name{font-size:12px;}
   /* G B M sütunları mobilde gizle (alan kazanmak için) */
    .standings-table th:nth-child(4),
    .standings-table td:nth-child(4),
    .standings-table th:nth-child(5),
    .standings-table td:nth-child(5),
    .standings-table th:nth-child(6),
    .standings-table td:nth-child(6){display:none;}
   /* Maç listesi mobil */
    .match-item{padding:12px;}
   .match-teams{font-size:13px;gap:8px;}
   .match-score{font-size:14px;min-width:48px;padding:4px 8px;}
   .match-time{font-size:13px;min-width:48px;}
   /* Live link mobil */
    .live-link-banner{font-size:14px;padding:16px 20px;gap:10px;}
   /* Top players mobil */
    .top-players-table{font-size:12px;}
   .top-players-table th, .top-players-table td{padding:10px 5px;}
   .rank-badge{width:22px;height:22px;font-size:11px;border-radius:6px;}
   /* Player tabs mobil */
    .players-tabs{gap:2px;padding:3px;}
   .players-tab{font-size:11px;padding:8px 10px;}
   /* Grafik mobil */
    .chart-canvas-wrapper{height:300px;}
   .chart-block{padding:12px;}
   /* FAQ mobil */
    .faq-question{font-size:13px;padding:14px 16px;}
   .faq-accordion .faq-question{padding-right:40px;}
   .faq-answer{padding:4px 16px 14px;}
   .faq-accordion .faq-answer{padding:0 16px;}
   .faq-accordion .faq-item.open .faq-answer{padding:6px 16px 14px;}
   .faq-answer p{font-size:13px;}
   /* Zone legend mobil */
    .zone-legend{gap:8px;}
   .zone-legend-item{font-size:10px;}
   /* Breadcrumb mobil */
    .tournament-breadcrumb ol{font-size:12px;}
   .tournament-breadcrumb li:not(:last-child)::after{margin:0 5px;}
   /* Related tournaments mobil */
    .related-tournaments-grid{grid-template-columns:repeat(auto-fill, minmax(160px, 1fr));gap:8px;}
   .related-tournament-card{padding:12px 14px;font-size:13px;}
}

/* ====================================================================
   MOBILE RESPONSIVE — 480px (Küçük telefonlar)
   ==================================================================== */
@media(max-width:480px){
    .tournament-page{padding:2px 6px 24px;}
   .tournament-header{padding:8px 0 4px;gap:6px;flex-wrap:wrap;}
   .tournament-header-left{gap:0 !important;}
   .tournament-header-flag{width:26px !important;height:18px !important;margin-right:6px !important;}
   h1.tournament-header-name, .tournament-header-left h1.tournament-header-name{font-size:16px !important;line-height:1.2 !important;}
   .tournament-header-right .season-selector-dropdown{min-width:110px;min-height:32px;padding:5px 26px 5px 8px;font-size:11px;}
   .tournament-section{padding:14px 12px;margin-bottom:12px;border-radius:12px;}
   /* Nav küçük ekran */
    .tournament-nav{padding:6px 0;margin-bottom:10px;}
   .nav-pill{padding:6px 10px;font-size:10px;border-radius:16px;}
   /* Sezon seçici 480px */
    .season-selector-inner{padding:6px 8px;gap:6px;border-radius:8px;}
  
    .season-selector-label{font-size:11px;}
  
    .season-selector-dropdown{min-height:38px;font-size:12px;padding:7px 30px 7px 10px;}
   .standings-tabs{gap:2px;padding:3px;}
   .tournament-page .standings-tab{font-size:11px;padding:8px 6px;}
   /* 480px altında AG, YG sütunlarını da gizle */
    .standings-table th:nth-child(7),
    .standings-table td:nth-child(7),
    .standings-table th:nth-child(8),
    .standings-table td:nth-child(8){display:none;}
   .standings-table{font-size:11px;}
   .standings-table th{padding:6px 3px;}
   .standings-table td{padding:8px 3px;}
   .match-teams{font-size:12px;gap:6px;}
   .match-score{font-size:13px;min-width:44px;}
   /* Top players: Maç sütununu gizle */
    .top-players-table th.col-appearances, .top-players-table td.col-appearances,
    .scorer-table th.col-appearances, .scorer-table td.col-appearances{display:none;}
   /* Rating tablosu: Asist, Maç, Puan sütunlarını gizle */
    .top-players-table:not(.scorer-table) th:nth-child(5),
    .top-players-table:not(.scorer-table) td:nth-child(5),
    .top-players-table:not(.scorer-table) th:nth-child(6),
    .top-players-table:not(.scorer-table) td:nth-child(6),
    .top-players-table:not(.scorer-table) th:nth-child(7),
    .top-players-table:not(.scorer-table) td:nth-child(7){display:none;}
   /* Player tabs küçük ekran */
    .players-tab{font-size:10px;padding:7px 6px;}
   .live-link-banner{font-size:13px;padding:14px 16px;}
   .live-link-icon{font-size:18px;}
   /* Zone legend alt alta */
    .zone-legend{flex-direction:column;gap:4px;}
   .chart-canvas-wrapper{height:250px;}
   /* Breadcrumb küçük ekran */
    .tournament-breadcrumb ol{font-size:11px;}
   .tournament-breadcrumb li:not(:last-child)::after{margin:0 4px;font-size:12px;}
   /* Related tournaments küçük ekran */
    .related-tournaments-grid{grid-template-columns:1fr 1fr;gap:6px;}
   .related-tournament-card{padding:10px 12px;font-size:12px;border-radius:10px;}
   .related-tournament-arrow{font-size:14px;}
   /* Scorer table main stat badge smaller */
    .scorer-table .col-main-stat strong{min-width:24px;height:24px;font-size:12px;border-radius:6px;}
}

/* ====================================================================
   TOUCH OPTIMIZATION — 44px minimum tap targets
   ==================================================================== */
@media (pointer: coarse) {
    .tournament-page .standings-tab{min-height:44px;display:flex;align-items:center;justify-content:center;}
   .players-tab{min-height:44px;display:flex;align-items:center;justify-content:center;}
   .nav-pill{min-height:40px;display:flex;align-items:center;}
   .faq-question{min-height:48px;display:flex;align-items:center;}
   .live-link-banner{min-height:52px;}
}

/* ====================================================================
   PREFERS REDUCED MOTION
   ==================================================================== */
@media (prefers-reduced-motion: reduce) {
    .tournament-section, .tournament-page .standings-tab,
    .match-item, .faq-item,
    .faq-answer, .live-link-banner,
    .live-link-arrow, .standings-row{transition:none !important;}
   .live-link-dot{animation:none !important;}
}

/* =========================================================================
   TAKIM SAYFASI CSS — .team-page scope
   Tüm stiller .team-page altında → maç kartını/turnuva sayfasını etkilemez
   ========================================================================= */

/* === CSS Custom Properties — turnuva sayfası ile aynı === */
.team-page{--tp-primary:#0f172a;--tp-primary-light:#1e293b;--tp-accent:#3b82f6;--tp-accent-hover:#2563eb;--tp-accent-glow:rgba(59, 130, 246, 0.15);--tp-success:#10b981;--tp-warning:#f59e0b;--tp-danger:#ef4444;--tp-surface:#ffffff;--tp-surface-hover:#f8fafc;--tp-surface-alt:#f1f5f9;--tp-border:#e2e8f0;--tp-border-light:#f1f5f9;--tp-text:#0f172a;--tp-text-secondary:#64748b;--tp-text-muted:#94a3b8;--tp-radius:16px;--tp-radius-sm:10px;--tp-radius-xs:6px;--tp-shadow-sm:0 1px 3px rgba(0,0,0,0.06);--tp-shadow-md:0 4px 12px rgba(0,0,0,0.08);--tp-transition:0.25s cubic-bezier(0.4, 0, 0.2, 1);max-width:1000px;margin:0 auto;padding:0 16px;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;color:var(--tp-text);}
/* Header — Takım bilgi kartı */
.team-page .team-header{position:relative;overflow:hidden;background:#fff;border-radius:var(--tp-radius);margin-bottom:16px;border:1px solid var(--tp-border);box-shadow:var(--tp-shadow-sm);}
.team-page .team-header-accent{height:4px;width:100%;}
.team-page .team-header-content{display:flex;align-items:flex-start;gap:20px;padding:20px 24px;}
.team-page .team-header-logo-wrap{flex-shrink:0;width:80px;height:80px;display:flex;align-items:center;justify-content:center;}
.team-page .team-header-logo{width:80px;height:80px;object-fit:contain;flex-shrink:0;}
.team-page .team-header-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px;}
/* Sezon seçici — header sağ tarafı */
.team-page .team-header-season{flex-shrink:0;display:flex;align-items:center;align-self:center;}
.team-page .team-header-season .season-selector-dropdown{min-width:120px;}
.team-page .team-header-name{font-size:26px;font-weight:700;margin:0;color:var(--tp-primary);line-height:1.2;}
.team-page .team-header-details{display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
.team-page .team-header-detail{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:var(--tp-text-secondary);line-height:1;}
.team-page .team-header-country{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:var(--tp-text-secondary);}
.team-page .team-header-flag{display:inline-block;width:20px;height:15px;flex-shrink:0;background-size:contain;background-repeat:no-repeat;background-position:center;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.08);}
.team-page .team-header-separator{width:1px;height:16px;background:var(--tp-border);display:inline-block;vertical-align:middle;margin:0 4px;}
.team-page .team-header-detail-label{font-size:12px;color:#94a3b8;font-weight:500;}
.team-page .team-header-detail-value{font-weight:600;color:var(--tp-primary);}
/* Form göstergesi — header içinde */
.team-page .team-header-form{display:flex;align-items:center;gap:8px;margin-top:2px;}
.team-page .team-header-form-label{font-size:12px;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:0.5px;}
.team-page .team-header-form-badges{display:flex;gap:4px;}
.team-page .form-indicator{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:6px;font-size:11px;font-weight:700;color:#fff;}
.team-page .form-win{background:#16a34a;}
.team-page .form-loss{background:#dc2626;}
.team-page .form-draw{background:#9ca3af;}
/* Alt bilgi satırı — stadyum, lig, kuruluş */
.team-page .team-header-bottom{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:2px;}
.team-page .team-header-bottom-item{font-size:13px;color:var(--tp-text-secondary);display:inline-flex;align-items:center;gap:4px;text-decoration:none;}
.team-page a.team-header-tournament{color:var(--tp-accent);font-weight:500;}
.team-page a.team-header-tournament:hover{text-decoration:underline;}
/* Section'lar — Turnuva sayfası section-header kalıbı */
.team-page .tournament-section{margin-bottom:24px;scroll-margin-top:56px;}
.team-page .section-header{display:flex;align-items:center;gap:8px;margin-bottom:12px;padding-bottom:8px;border-bottom:2px solid var(--tp-border);}
.team-page .section-icon{font-size:20px;line-height:1;}
.team-page .section-header h2{font-size:18px;font-weight:700;margin:0;color:var(--tp-primary);}
/* Nav pills — turnuva sayfası ile aynı */
.team-page .tournament-nav{display:flex;align-items:center;gap:6px;padding:8px 0;margin-bottom:8px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;position:sticky;top:0;z-index:100;background:rgba(255,255,255,0.92);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--tp-border-light);}
.team-page .tournament-nav::-webkit-scrollbar{display:none;}
.team-page .nav-pill{flex-shrink:0;padding:8px 16px;border-radius:20px;font-size:12px;font-weight:600;color:var(--tp-text-secondary);background:var(--tp-surface-alt);text-decoration:none;transition:all var(--tp-transition);white-space:nowrap;border:1px solid transparent;letter-spacing:-0.01em;}
.team-page .nav-pill:hover{color:var(--tp-accent);background:var(--tp-accent-glow);text-decoration:none;}
.team-page .nav-pill.active{color:#fff;background:var(--tp-accent);border-color:var(--tp-accent);box-shadow:0 2px 8px rgba(59,130,246,0.25);}
/* Standings / Match / Transfer Tabs */
.team-page .standings-tabs{display:flex;gap:4px;margin-bottom:16px;background:var(--tp-surface-alt);border-radius:var(--tp-radius-sm);padding:4px;}
.team-page .standings-tab{flex:1;padding:10px 16px;border:none;background:transparent;border-radius:var(--tp-radius-xs);font-size:13px;font-weight:600;color:var(--tp-text-secondary);cursor:pointer;transition:all var(--tp-transition);position:relative;letter-spacing:-0.01em;}
.team-page .standings-tab.active{background:var(--tp-surface);color:var(--tp-accent);box-shadow:0 1px 4px rgba(0,0,0,0.08);}
.team-page .standings-tab:hover:not(.active){color:var(--tp-text);background:rgba(255,255,255,0.5);}
.team-page .standings-tab-content{/* Tab content wrapper */}
/* Kadro tablosu */
.team-page .squad-group{margin-bottom:16px;}
.team-page .squad-group-title{font-size:14px;font-weight:600;color:#475569;margin:0 0 8px;padding-left:4px;text-transform:uppercase;letter-spacing:0.5px;}
.team-page .squad-table-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:8px;border:1px solid #e2e8f0;}
.team-page .squad-table{width:100%;border-collapse:collapse;font-size:13px;}
.team-page .squad-table th{background:#f1f5f9;padding:8px 10px;text-align:left;font-weight:600;color:#475569;font-size:11px;text-transform:uppercase;letter-spacing:0.3px;border-bottom:1px solid #e2e8f0;white-space:nowrap;}
.team-page .squad-table td{padding:8px 10px;border-bottom:1px solid #f1f5f9;vertical-align:middle;text-align:left !important;}
.team-page .squad-table td.squad-num{text-align:center !important;width:36px;font-weight:600;color:#64748b;}
.team-page .squad-table td.squad-age, .team-page .squad-table td.squad-height, .team-page .squad-table td.squad-foot, .team-page .squad-table td.squad-value{text-align:center !important;}
.team-page .squad-table td.squad-nat{text-align:center !important;width:50px;line-height:0;padding-top:0;padding-bottom:0;height:36px;}
.team-page .squad-table td.squad-nat img{display:block;margin:0 auto;border-radius:2px;box-shadow:0 0 1px rgba(0,0,0,0.2);}
.team-page .squad-table tbody tr:hover{background:#f8fafc;}
.team-page .squad-table .squad-name a{color:#2563eb;text-decoration:none;font-weight:500;}
/* Kadro: Desktop tam isim, mobil kısa isim */
.team-page .squad-name-short{display:none;}
.team-page .squad-name-full{display:inline;}
.team-page .squad-table .squad-name a:hover{text-decoration:underline;}
.team-page .squad-player-row.squad-injured{background:#fef2f2;}
.team-page .injury-badge{display:inline-flex;align-items:center;vertical-align:middle;margin-left:4px;cursor:help;}
.team-page .injury-badge svg{display:block;}
/* Maç listesi — turnuva sayfası match-item yapısı */
.team-page .match-list{display:flex;flex-direction:column;gap:6px;}
.team-page .match-item-link{text-decoration:none;color:inherit;display:block;}
.team-page .match-item{padding:14px 16px;border-radius:var(--tp-radius-sm);background:var(--tp-surface-alt);transition:all var(--tp-transition);border:1px solid transparent;}
.team-page .match-item:hover{background:var(--tp-surface);border-color:var(--tp-border);box-shadow:0 2px 8px rgba(0,0,0,0.04);}
.team-page .match-meta{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--tp-text-muted);margin-bottom:8px;}
.team-page .match-round{background:var(--tp-accent-glow);color:var(--tp-accent);padding:2px 8px;border-radius:20px;font-weight:600;font-size:10px;letter-spacing:0.02em;text-transform:uppercase;}
.team-page .match-tournament-name{font-size:11px;color:var(--tp-text-muted);margin-left:auto;}
.team-page .match-teams{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;font-size:14px;}
.team-page .team-home{text-align:right;font-weight:600;color:var(--tp-text);padding:0;line-height:1.3;}
.team-page .team-away{text-align:left;font-weight:600;color:var(--tp-text);padding:0;line-height:1.3;}
.team-page .team-highlight{font-weight:800;color:var(--tp-primary);}
.team-page .match-score{font-weight:800;font-size:16px;color:var(--tp-text);min-width:56px;text-align:center;background:var(--tp-surface);border-radius:var(--tp-radius-xs);padding:6px 10px;border:1px solid var(--tp-border);font-variant-numeric:tabular-nums;letter-spacing:0.05em;}
.team-page .match-time{font-weight:700;font-size:14px;color:var(--tp-accent);min-width:56px;text-align:center;font-variant-numeric:tabular-nums;}
/* İstatistik grid */
.team-page .stats-grid{display:grid;grid-template-columns:repeat(4, 1fr);gap:12px;margin-bottom:16px;}
.team-page .stat-card{background:#f8fafc;border-radius:8px;padding:14px 12px 12px;text-align:center;border:1px solid #e2e8f0;transition:transform 0.15s ease, box-shadow 0.15s ease;}
.team-page .stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,0.06);}
.team-page .stat-card-icon{font-size:18px;margin-bottom:4px;line-height:1;}
.team-page .stat-card.stat-accent-green{border-bottom:3px solid #16a34a;}
.team-page .stat-card.stat-accent-red{border-bottom:3px solid #dc2626;}
.team-page .stat-card.stat-accent-gold{border-bottom:3px solid #f59e0b;}
.team-page .stat-value{font-size:22px;font-weight:700;color:#0f172a;line-height:1.2;}
.team-page .stat-label{font-size:11px;color:#64748b;margin-top:4px;text-transform:uppercase;letter-spacing:0.3px;}
/* ——— Galibiyet Dağılımı Barı ——— */
.team-page .stats-wdl-section{margin-bottom:20px;}
.team-page .stats-sub-title{font-size:14px;font-weight:600;color:#334155;margin:0 0 10px;}
.team-page .wdl-bar{display:flex;height:32px;border-radius:8px;overflow:hidden;margin-bottom:8px;}
.team-page .wdl-segment{display:flex;align-items:center;justify-content:center;min-width:30px;transition:opacity 0.2s;}
.team-page .wdl-segment span{font-size:12px;font-weight:700;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,0.2);}
.team-page .wdl-win{background:#16a34a;}
.team-page .wdl-draw{background:#94a3b8;}
.team-page .wdl-loss{background:#dc2626;}
.team-page .wdl-legend{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;color:#64748b;}
.team-page .wdl-legend-item{display:flex;align-items:center;gap:4px;}
.team-page .wdl-dot{width:10px;height:10px;border-radius:50%;display:inline-block;}
.team-page .wdl-win-dot{background:#16a34a;}
.team-page .wdl-draw-dot{background:#94a3b8;}
.team-page .wdl-loss-dot{background:#dc2626;}
/* ——— Kategorili Detay İstatistikleri ——— */
.team-page .stats-categories{display:grid;grid-template-columns:repeat(2, 1fr);gap:16px;}
.team-page .stats-category{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:14px 16px;}
.team-page .stats-cat-title{font-size:13px;font-weight:700;color:#334155;margin:0 0 10px;text-transform:uppercase;letter-spacing:0.4px;border-bottom:2px solid #e2e8f0;padding-bottom:6px;display:flex;align-items:center;gap:6px;}
.team-page .stats-match-count{font-size:11px;font-weight:500;color:#94a3b8;text-transform:none;letter-spacing:0;}
.team-page .stats-cat-items{display:flex;flex-direction:column;gap:6px;}
.team-page .stats-cat-row{display:flex;align-items:center;gap:8px;padding:5px 0;border-bottom:1px solid #f1f5f9;}
.team-page .stats-cat-row:last-child{border-bottom:none;}
.team-page .stats-cat-icon{font-size:14px;flex-shrink:0;width:20px;text-align:center;}
.team-page .stats-cat-label{flex:1;font-size:13px;color:#475569;}
.team-page .stats-cat-value{font-size:14px;font-weight:700;color:#0f172a;min-width:40px;text-align:right;}
/* Detaylı istatistik tablosu */
.team-page .stats-detail-table{border-radius:8px;border:1px solid #e2e8f0;overflow:hidden;}
/* Transfer tablosu */
.team-page .transfer-table td:first-child a{color:#2563eb;text-decoration:none;font-weight:500;}
.team-page .transfer-table td:first-child a:hover{text-decoration:underline;}
/* Başarılar listesi */
.team-page .achievements-total{color:#475569;font-size:14px;margin-bottom:12px;}
.team-page .achievements-list{display:grid;grid-template-columns:repeat(auto-fill, minmax(280px, 1fr));gap:8px;}
.team-page .achievement-item{display:flex;align-items:center;gap:10px;padding:10px 14px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0;}
.team-page .achievement-item.achievement-major{background:linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);border-color:#fbbf24;}
.team-page .achievement-icon{font-size:20px;flex-shrink:0;}
.team-page .achievement-info{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0;}
.team-page .achievement-name{font-weight:600;color:#0f172a;text-decoration:none;}
a.team-page .achievement-name:hover, .team-page a.achievement-name:hover{color:#2563eb;text-decoration:underline;}
.team-page .achievement-count{font-size:12px;font-weight:700;color:#fff;background:#2563eb;padding:1px 6px;border-radius:10px;}
.team-page .achievement-type{font-size:11px;color:#94a3b8;}
/* FAQ */
.team-page .faq-list{display:flex;flex-direction:column;gap:8px;}
.team-page .faq-item{border:1px solid #e2e8f0;border-radius:8px;padding:14px 16px;background:#fff;}
.team-page .faq-question{font-size:15px;font-weight:600;margin:0 0 8px;color:#0f172a;line-height:1.4;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:8px;}
.team-page .faq-question::after{content:'▾';font-size:16px;color:#94a3b8;transition:transform 0.2s ease;flex-shrink:0;}
.team-page .faq-question.faq-collapsed::after{transform:rotate(-90deg);}
.team-page .faq-question.faq-collapsed + .faq-answer{display:none;}
.team-page .faq-answer p{margin:0;font-size:14px;color:#475569;line-height:1.6;}
/* Hakkında */
.team-page .about-text p{font-size:14px;color:#475569;line-height:1.7;margin:0;}
/* Popüler Takımlar — related-tournaments-grid turnuva sayfası ile paylaşılıyor */
.team-page .related-tournaments-grid{display:grid;grid-template-columns:repeat(auto-fill, minmax(220px, 1fr));gap:10px;}
.team-page .related-tournament-card{display:flex !important;flex-direction:row !important;align-items:center !important;justify-content:flex-start !important;gap:12px !important;padding:12px 16px !important;}
.team-page .related-tournament-card noscript, .team-page .related-tournament-card noscript img{display:none !important;width:0 !important;height:0 !important;position:absolute !important;}
.team-page .related-tournament-card img.related-team-logo, .team-page .related-tournament-card img.related-team-logo.lazyloaded, .team-page .related-tournament-card img.related-team-logo.ls-is-cached{display:block !important;width:28px !important;height:28px !important;min-width:28px !important;min-height:28px !important;max-width:28px !important;max-height:28px !important;object-fit:contain !important;border-radius:4px;flex-shrink:0 !important;flex-grow:0 !important;margin:0 !important;padding:0 !important;}
.team-page .related-tournament-card .related-tournament-name{flex:1 1 0% !important;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;line-height:28px;margin:0 !important;padding:0 !important;}
.team-page .related-tournament-card .related-tournament-arrow{flex-shrink:0;margin-left:auto;}
/* Puan durumu highlight */
/* Puan durumu & transfer tablosu sola yasla */
.team-page .standings-table td{text-align:center;}
.team-page .standings-table .st-team, .team-page .standings-table th.st-team{text-align:left;}
.team-page .transfer-table td{text-align:left;}
.team-page .transfer-table td:nth-child(3),
.team-page .transfer-table td:nth-child(4){text-align:center;}
/* Transfer tablosu mobil — kompakt font */
@media(max-width:768px){
    .team-page .transfer-table{font-size:12px;}
  .team-page .transfer-table th, .team-page .transfer-table td{padding:6px 6px;}
  .team-page .squad-table{font-size:12px;}
  .team-page .squad-table th, .team-page .squad-table td{padding:6px 6px;}
}

/* Mobil inline bilgi — sadece mobilde görünür */
.team-page .squad-player-meta, .team-page .transfer-date-inline{display:none;}
.team-page .squad-player-meta .squad-meta-flag{display:inline-block;vertical-align:middle;border-radius:1px;box-shadow:0 0 1px rgba(0,0,0,0.15);}
.team-page .squad-player-meta .squad-meta-sep{color:#cbd5e1;margin:0 1px;}
.team-page .squad-player-meta .squad-meta-value{color:#059669;font-weight:600;}
@media(max-width:768px){
    .team-page .squad-name-short{display:inline;}
  .team-page .squad-name-full{display:none;}
  .team-page .squad-player-meta{display:flex;align-items:center;gap:4px;font-size:11px;color:#64748b;margin-top:3px;line-height:1.2;}
  .team-page .transfer-date-inline{display:block;font-size:11px;color:#94a3b8;margin-top:2px;}
}

.team-page .standings-highlight{background:#eff6ff !important;font-weight:600;}
.team-page .standings-highlight td{border-color:#bfdbfe;}
.team-page .standings-league-link{font-size:13px;color:#64748b;margin-bottom:12px;}
.team-page .standings-league-link a{color:#2563eb;text-decoration:none;font-weight:500;}
.team-page .standings-league-link a:hover{text-decoration:underline;}
/* Son güncelleme */
.team-page .tournament-last-updated{text-align:center;padding:16px 0;color:#94a3b8;}
/* Veri yok mesajı */
.team-page .no-data{text-align:center;color:#94a3b8;font-size:14px;padding:20px;}
/* ─── TAKIM SAYFASI MOBİL RESPONSIVE ─── */

@media(max-width:768px){
    .team-page{padding:0 12px;}
  
    .team-page .team-header-content{gap:14px;padding:16px;}
  
    .team-page .team-header-logo-wrap{width:60px;height:60px;}
  
    .team-page .team-header-logo{width:60px;height:60px;}
  
    .team-page .team-header-name{font-size:20px;}
  
    .team-page .team-header-form{margin-top:4px;}
  
    .team-page .stats-grid{grid-template-columns:repeat(2, 1fr);}
  
    .team-page .stats-categories{grid-template-columns:1fr;}
  
    .team-page .achievements-list{grid-template-columns:1fr;}
  
    .team-page .hide-mobile{display:none !important;}
  
    .team-page .team-header-season{align-self:flex-start;margin-top:4px;}
  
    .team-page .team-header-season .season-selector-dropdown{min-width:100px;font-size:12px;padding:4px 8px;}
  
    .team-page .section-header h2{font-size:16px;}
}

@media(max-width:480px){
    .team-page .team-header-name{font-size:18px;}
  
    .team-page .team-header-content{gap:10px;padding:12px;}
  
    .team-page .team-header-logo-wrap{width:48px;height:48px;}
  
    .team-page .team-header-logo{width:48px;height:48px;}
  
    .team-page .team-header-bottom{gap:8px;}
  
    .team-page .team-header-bottom-item{font-size:12px;}
  
    .team-page .team-header-detail{font-size:13px;}
  
    .team-page .match-teams{font-size:13px;}
  
    .team-page .match-score{font-size:14px;min-width:48px;padding:4px 8px;}
  
    .team-page .match-time{font-size:13px;}
  
    .team-page .stat-value{font-size:18px;}
  
    .team-page .form-indicator{width:24px;height:24px;font-size:10px;}
}

/* Touch cihazlar — minimum tap target 44px */
@media (pointer: coarse) {
    .team-page .nav-pill{min-height:44px;min-width:44px;}
  
    .team-page .standings-tab{min-height:44px;}
  
    .team-page .faq-question{min-height:44px;display:flex;align-items:center;}
  
    .team-page .match-item-link{min-height:44px;}
}

/* Animasyon azaltma */
@media (prefers-reduced-motion: reduce) {
    .team-page .match-item {
        transition: none !important;
    }
}