/* ==========================================================================
   SÜPER LİG TEKNİK DİREKTÖR ENDEKSİ - PROFESYONEL VERİ TABLOSU
   Dengeli, Keskin Kenarlı (Minimal Radius), Gerçek Spor Analitiği Tasarımı
   ========================================================================== */

:root {
  /* Renkler: Ciddi, Profesyonel & Veri Odaklı */
  --bg-page: #f9fafb;
  --bg-card: #ffffff;
  --bg-table-head: #f3f4f6;
  --bg-row-hover: #f1f5f9;
  --bg-subtle: #f3f4f6;

  --text-main: #111111;
  --text-muted: #3f3f46;
  --text-light: #475569;

  --border: #e5e7eb;
  --border-subtle: #f3f4f6;

  /* Rating Renkleri: Açık Yeşil (En Yüksek) -> Koyu Yeşil -> Sarı -> Turuncu -> Kırmızı (En Düşük) */
  --c-elite: #22c55e;
  /* Açık Yeşil: En Yüksek / Zirve / Baskın Galibiyet */
  --c-high: #15803d;
  /* Koyu Yeşil: Yüksek / Net Galibiyet Puanları */
  --c-mid: #eab308;
  /* Canlı Sarı: Orta / Beraberlik Puanları */
  --c-below: #ea580c;
  /* Turuncu: Alt / Çekişmeli Mağlubiyet Puanları */
  --c-low: #dc2626;
  /* Net Kırmızı: En Düşük / Ağır Mağlubiyet Puanları */

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Dengeli Kenar Yuvarlaklıkları (Keskin & Sade: 3px - 4px) */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 6px;

  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-modal: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.45;
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font-family: inherit;
  outline: none;
  font-size: 12px;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   1. HEADER & TOOLS (KESKİN & PROFESYONEL)
   ========================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 30;
}

/* Alt sayfalarda (F5 / doğrudan link) ana sayfanın anlık gözükmesini (FOUC) engeller */
html.is-subroute-boot #hubView,
html.is-subroute-boot #headerLeagueNav {
  display: none !important;
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  min-width: 0;
  transition: opacity 0.15s ease;
}

.header-brand:hover {
  opacity: 0.9;
}

.brand-sq {
  width: 48px;
  height: 48px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  flex-shrink: 0;
  transition: transform 0.16s ease;
}

.brand-sq svg {
  width: 48px;
  height: 48px;
  display: block;
}

.header-brand:hover .brand-sq {
  transform: scale(1.04);
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}

.brand-name {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.035em;
  color: #111111;
  line-height: 1;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: #52525b;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .header-inner {
    height: 62px;
    padding: 0 14px;
  }
  .brand-sq,
  .brand-sq svg {
    width: 38px;
    height: 38px;
  }
  .brand-name {
    font-size: 21px;
  }
  .brand-tagline {
    font-size: 8.5px;
    letter-spacing: 0.1em;
  }
}

.header-crumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-sep {
  width: 1px;
  height: 18px;
  background: #cbd5e1;
  flex-shrink: 0;
}

.header-main-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #111111;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-sub-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #3f3f46;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.search-field {
  position: relative;
  width: 240px;
}

.search-field svg {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #3f3f46;
  width: 14px;
  height: 14px;
}

.search-field input {
  width: 100%;
  height: 34px;
  padding: 0 12px 0 32px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #111111;
  font-size: 12.5px;
  transition: all 0.15s ease;
}

.search-field input:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 13px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #111111;
  font-weight: 600;
  font-size: 12.5px;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.tool-btn svg {
  width: 14px;
  height: 14px;
}

.tool-btn:hover {
  background: #f8fafc;
  border-color: #111111;
}

/* ==========================================================================
   2. FİLTRELER & TOOLBAR
   ========================================================================== */
.page-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 6px 16px 48px;
  flex: 1 0 auto;
}

.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  gap: 4px;
}

.filter-btn {
  padding: 5px 10px;
  border-radius: var(--r-xs);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: #ffffff;
  transition: all 0.1s;
}

.filter-btn:hover {
  color: var(--text-main);
  background: var(--bg-subtle);
}

.filter-btn.active {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
}

.table-info .info-note {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   3. PROFESYONEL LİSTE TABLOSU (TRANSFERMARKT / OPTA TARZI)
   ========================================================================== */
.table-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow-x: auto;
  box-shadow: var(--shadow-card);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-variant-numeric: tabular-nums;
  font-size: 12.5px;
}

.data-table thead th {
  background: var(--bg-table-head);
  padding: 9px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  user-select: none;
}

.data-table thead th.sortable {
  cursor: pointer;
}

.data-table thead th.sortable:hover {
  color: var(--text-main);
  background: #ebeef2;
}

.data-table thead th.sortable.active {
  color: var(--text-main);
}

.data-table thead th.col-num {
  text-align: right;
}

.data-table thead th.col-rank,
.data-table thead th.col-club-rank,
.data-table thead th.col-form,
.data-table thead th.col-matches,
.data-table thead th.col-record,
.data-table thead th.col-rating {
  text-align: center;
}

.data-table thead th.col-rank {
  width: 36px;
}

.data-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.08s;
  cursor: pointer;
}

.data-table tbody tr:hover {
  background: var(--bg-row-hover);
}

.data-table tbody td {
  padding: 10px 12px;
  vertical-align: middle;
}

/* ============================================================
   ANA SIRALAMA TABLOSU SÜTUNLARI (1'den 11'e Sırasıyla)
   ============================================================ */

/* 1. Sütun: Sıra Numarası (#) */
.col-rank-cell {
  text-align: center;
  font-weight: 700;
  color: var(--text-light);
  font-size: 11.5px;
}

/* 2. Sütun: Teknik Direktör */
.col-coach-cell {
  /* Hoca hücre kapsayıcısı */
}

.coach-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.coach-img {
  width: 48px;
  height: 50px;
  border-radius: 8px;
  object-fit: fill;
  object-position: center 18%;
  background: #f8fafc;
  border: 1px solid var(--border);
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease;
}

.coach-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.coach-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.coach-text-name {
  font-weight: 700;
  color: var(--text-main);
  font-size: 13.5px;
  line-height: 1.2;
}

.coach-flag-badge {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  vertical-align: middle;
  display: inline-block;
  flex-shrink: 0;
}

.coach-text-meta {
  font-size: 11.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* 3. Sütun: Kulüp */
.col-team-cell {
  /* Kulüp hücre kapsayıcısı */
}

.team-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 13px;
  color: var(--text-main);
}

.team-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

/* 4. Sütun: Kulüp Sırası */
.col-club-rank-cell {
  text-align: center;
  white-space: nowrap;
}

.club-rank-badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: white;
  background: var(--c-mid);

  padding: 3px 4px;
  border-radius: var(--r-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  box-sizing: border-box;
}

.club-rank-badge.rank-leader {
  background: var(--c-elite);
  border-color: #ffffff;
  color: #ffffff;
}

.club-rank-badge.rank-ucl {
  background: var(--c-high);
  border-color: #000000;
  color: #ffffff;

}

.club-rank-badge.rank-rel {
  background: var(--c-low);
  border-color: #000000;
  color: #ffffff;
}

/* 5. Sütun: Diziliş / Formasyon */
.col-form-cell {
  text-align: center;
  white-space: nowrap;
}

.form-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  background: white;
  padding: 2px 6px;
  border-radius: var(--r-xs);
  border: 0px solid var(--border);
  display: inline-block;
}

/* 6. Sütun: Maç Sayısı */
.col-matches-cell,
.num-cell.col-matches-cell {
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 600;
}

/* 7. Sütun: G - B - M (Galibiyet - Beraberlik - Mağlubiyet) */
.col-record-cell {
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 600;
  white-space: nowrap;
}

/* 8. Sütun: Galibiyet Yüzdesi */
.col-winpct-cell {
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 600;
}

/* 9. Sütun: Puan Ortalaması (PPM) */
.col-ppm-cell,
.num-cell.ppm {
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-main);
}

/* 10. Sütun: Son Maç Reytingi */
.col-lastm-cell,
.num-cell.last-m {
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 700;
}

/* 11. Sütun: OVR Reytingi */
.col-rating-cell,
.rating-cell {
  text-align: center;
}

.ovr-box-sq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  padding: 0 6px;
  border-radius: var(--r-xs);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
}

.ovr-box-sq.elite {
  background: var(--c-elite);
  color: #ffffff;
  text-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.25);
}

.ovr-box-sq.high {
  background: var(--c-high);
  color: #ffffff;
}

.ovr-box-sq.mid {
  background: var(--c-mid);
  color: #ffffff;
  text-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.25);
}

.ovr-box-sq.below {
  background: var(--c-below);
  color: #ffffff;
}

.ovr-box-sq.low {
  background: var(--c-low);
  color: #ffffff;
}

.text-elite {
  color: var(--c-elite) !important;
}

.text-high {
  color: var(--c-high) !important;
}

.text-mid {
  color: var(--c-mid) !important;
}

.text-below {
  color: var(--c-below) !important;
}

.text-low {
  color: var(--c-low) !important;
}

/* ==========================================================================
   4. DETAY MODALI (KESKİN & DENGELİ)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17, 17, 17, 0.45);
  backdrop-filter: blur(2px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
  position: relative;
}

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fbfcfd;
}

.m-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.m-avatar {
  width: 76px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center 18%;
  border: 1.5px solid var(--border);
  background: #f8fafc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.m-info h3 {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.m-club {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 3px;
  font-weight: 600;
}

.m-club img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

.bullet {
  color: var(--text-light);
}

.m-score-block {
  text-align: right;
  margin-right: 28px;
}

.m-score-val {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 800;
  color: var(--c-elite);
  line-height: 1;
}

.m-score-lbl {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 24px;
  height: 24px;
  border-radius: var(--r-xs);
  background: var(--bg-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.modal-close-btn:hover {
  background: #e5e7eb;
  color: var(--text-main);
}

/* Modal Sekmeleri */
.modal-nav {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
  padding: 0 20px;
}

.m-nav-item {
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: all 0.1s;
}

.m-nav-item:hover {
  color: var(--text-main);
}

.m-nav-item.active {
  color: var(--text-main);
  border-bottom-color: var(--text-main);
  font-weight: 700;
}

/* Modal İçerik */
.modal-content-area {
  padding: 18px 20px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* İstatistik Kutucukları */
.metric-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.tile {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  padding: 9px 12px;
}

.tile-num {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  display: block;
  line-height: 1.1;
}

.tile-num.text-green {
  color: var(--c-elite);
}

.tile-lbl {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 2px;
  display: block;
}

/* Detay Satırları */
.detail-list {
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  margin-bottom: 16px;
  background: #ffffff;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 12px;
}

.detail-row:last-child {
  border-bottom: none;
}

.d-key {
  color: var(--text-muted);
}

.d-val {
  color: var(--text-main);
  font-weight: 600;
}

.box-subtitle {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.clean-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.clean-bullet-list li::before {
  content: "• ";
  color: var(--text-light);
  font-weight: bold;
}

/* Taktik & Radar Paneli */
.tactics-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.radar-box,
.pitch-box {
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  padding: 10px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pitch-container {
  position: relative;
  width: 100%;
  height: 200px;
  background: #15803d;
  border-radius: var(--r-xs);
  border: 1px solid rgba(255, 255, 255, 0.4);
  overflow: hidden;
  margin-top: 4px;
}

.pitch-f-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: var(--r-xs);
}

.pitch-half-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.pitch-half-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.pitch-node-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: var(--r-xs);
  background: #ffffff;
  color: #111111;
  font-size: 8px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.tactics-p {
  font-size: 12px;
  color: var(--text-main);
  line-height: 1.45;
  margin-bottom: 8px;
}

/* Son Maçlar */
.matches-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.match-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  font-size: 12px;
  background: #ffffff;
}

.m-team-block {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.m-team-block img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.score-badge {
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 1px 5px;
  border-radius: var(--r-xs);
  font-size: 11px;
}

.score-badge.W {
  background: #dcfce7;
  color: #15803d;
}

.score-badge.D {
  background: #fef3c7;
  color: #b45309;
}

.score-badge.L {
  background: #fee2e2;
  color: #b91c1c;
}

.match-note {
  font-size: 11.5px;
  color: var(--text-muted);
  flex: 1;
  margin: 0 12px;
}

.match-rating-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--c-high);
}

/* ==========================================================================
   5. DÜELLO & SİMÜLATÖR (KESKİN KENARLI)
   ========================================================================== */
.duel-selector-bar {
  display: grid;
  grid-template-columns: 1fr 30px 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.d-select-col label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
  margin-bottom: 3px;
}

.d-vs {
  text-align: center;
  font-weight: 800;
  font-size: 11px;
  color: var(--text-light);
  margin-top: 14px;
}

.clean-select {
  padding: 6px 8px;
  border-radius: var(--r-xs);
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text-main);
  font-size: 12px;
}

.clean-select.full-w {
  width: 100%;
}

.duel-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-top: 8px;
}

.duel-table td {
  padding: 7px 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.duel-table .col-metric {
  text-align: center;
  font-size: 10.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.duel-table .col-p1 {
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--c-high);
}

.duel-table .col-p2 {
  text-align: left;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--c-elite);
}

/* Puan Ver Slider Listesi */
.slider-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.slider-row {
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  padding: 6px 10px;
  background: #ffffff;
}

.s-label {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 600;
  margin-bottom: 2px;
}

.s-label b {
  font-family: var(--font-mono);
  color: var(--c-high);
}

.data-range {
  width: 100%;
  accent-color: var(--text-main);
  cursor: pointer;
}

.sim-result-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  padding: 10px 14px;
  background: var(--bg-subtle);
}

.sim-big-score {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.primary-btn {
  background: var(--text-main);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: var(--r-xs);
  font-weight: 600;
  font-size: 11.5px;
}

.primary-btn:hover {
  background: #1f2937;
}

.toast-box {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 120;
}

.toast-msg {
  background: var(--text-main);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: var(--r-xs);
  font-size: 12px;
  box-shadow: var(--shadow-card);
}

/* ==========================================================================
   9. ANA MENÜ / HOCA ARAMA & LİG LİSTESİ (HUB VIEW)
   ========================================================================== */
.hub-section {
  animation: hubFadeIn 0.25s ease-out;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 2px 0 6px 0;
}

@keyframes hubFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ferah & Modern Hero Bölümü (Kompakt & Kaydırmasız) */
.hub-hero {
  text-align: center;
  padding: 4px 16px 2px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hub-live-badge,
.hub-season-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.hub-live-dot,
.status-live-dot {
  display: none !important;
}

.hub-hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin: 0 0 4px 0;
  line-height: 1.15;
}

.hero-brand-name {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.8px;
  color: #111111;
  line-height: 1.1;
}

.brand-radar {
  color: #16a34a;
}

.brand-radar-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #dc2626;
  margin-left: 4px;
  vertical-align: super;
  position: relative;
  top: -2px;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.22);
  animation: radarSignalPulse 2.6s ease-out infinite;
}

.brand-name .brand-radar-dot,
.brand-radar-dot.is-sm {
  width: 5px;
  height: 5px;
  top: -1px;
  margin-left: 3px;
  box-shadow: 0 0 0 2.5px rgba(220, 38, 38, 0.22);
}

@keyframes radarSignalPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.42);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(220, 38, 38, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-radar-dot {
    animation: none;
  }
}

.hero-brand-sub {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.hub-hero-subtitle {
  font-size: 13.5px;
  color: #64748b;
  max-width: 620px;
  margin: 0 0 12px 0;
  line-height: 1.45;
  font-weight: 450;
}

/* Spotlight Arama Çubuğu */
.hub-search-box {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin: 0;
  z-index: 30;
}

.hub-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--r-sm);
  padding: 9px 16px;
  box-shadow: 0 2px 10px rgba(17, 17, 17, 0.05);
  transition: all 0.2s ease;
}

.hub-search-bar:focus-within {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.14), 0 4px 18px rgba(17, 17, 17, 0.08);
  transform: translateY(-1px);
}

.hub-search-icon {
  color: #111111;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  transition: color 0.15s ease;
}

.hub-search-bar:focus-within .hub-search-icon {
  color: #16a34a;
}

#hubSearchInput {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: #111111;
  outline: none;
  font-family: inherit;
}

#hubSearchInput::placeholder {
  color: #94a3b8;
  font-size: 13.5px;
}

.hub-search-clear {
  background: #f1f5f9;
  border: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
}

.hub-search-clear:hover {
  background: #e2e8f0;
  color: #111111;
}

/* Hero Altı Kısa Bilgiler */
.hub-hero-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.hub-stat-sep {
  color: #cbd5e1;
}

/* Arama Sonuçları Dropdown */
.hub-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.14);
  max-height: 380px;
  overflow-y: auto;
  z-index: 100;
  text-align: left;
  padding: 6px;
  animation: hubFadeIn 0.15s ease-out;
}

.hub-search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: var(--r-xs);
  cursor: pointer;
  transition: background 0.12s ease;
  gap: 12px;
}

.hub-search-item:hover {
  background: #f8fafc;
}

.hub-search-coach-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hub-search-avatar {
  width: 38px;
  height: 42px;
  border-radius: var(--r-xs);
  object-fit: cover;
  border: 1px solid var(--border);
  background: #111111;
  flex-shrink: 0;
}

.hub-search-names {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hub-search-cname {
  font-weight: 700;
  font-size: 13.5px;
  color: #111111;
}

.hub-search-tname {
  font-size: 11.5px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hub-search-tlogo {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.hub-search-score-badge {
  font-size: 13px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--r-xs);
  font-family: var(--font-mono);
}

.hub-search-empty {
  padding: 20px;
  text-align: center;
  color: #64748b;
  font-size: 13px;
}

/* ==========================================================================
   LİGLER BÖLÜMÜ - CEZBEDİCİ KART IZGARASI (LEAGUES SHOWCASE)
   ========================================================================== */
.hub-leagues-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hub-leagues-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
}

.hlh-title {
  font-size: 14px;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.2px;
  margin: 0;
  line-height: 1.2;
}

.hlh-desc {
  font-size: 11px;
  color: #64748b;
  margin: 1px 0 0 0;
}

.hlh-badge {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 1.5px 7px;
  border-radius: var(--r-xs);
  letter-spacing: 0.4px;
}

/* 6'lı Lig Kart Izgarası (Ferah & Dengeli 3x2) */
.hub-league-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hub-league-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--r-sm);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(17, 17, 17, 0.04);
  position: relative;
  cursor: pointer;
  min-height: 122px;
}

.hub-league-card:hover {
  transform: translateY(-3px);
  border-color: #16a34a;
  box-shadow: 0 8px 22px rgba(22, 163, 74, 0.13);
}

.hub-league-card.is-active-league {
  background: #ffffff;
}

.hub-league-card.is-active-league:hover {
  border-color: #16a34a;
}

/* Kart İçi: Üst Şerit (Bayrak & Ülke) */
.hlc-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.hlc-country {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hlc-flag {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* Kart İçi: Logo & Başlık */
.hlc-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hlc-logo-box {
  width: 46px;
  height: 46px;
  border-radius: var(--r-xs);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.hlc-logo-img {
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.hub-league-card:hover .hlc-logo-img {
  transform: scale(1.08);
}

.hlc-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hlc-title {
  font-size: 15.5px;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.3px;
  margin: 0;
  line-height: 1.2;
}

/* Kart İçi: Alt Kısım (Meta ve Buton) */
.hlc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.hlc-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hlc-meta-pill {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 3px 8px;
  border-radius: var(--r-xs);
}

.hlc-btn {
  padding: 5px 12px;
  border-radius: var(--r-xs);
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
}

.hlc-btn.btn-active {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.hub-league-card:hover .hlc-btn.btn-active {
  background: #16a34a;
  border-color: #16a34a;
}

/* Responsive Grid */
@media (max-width: 1024px) {
  .hub-league-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hub-league-grid {
    grid-template-columns: 1fr;
  }

  .hub-hero-title {
    font-size: 22px;
  }

  .hub-search-box {
    max-width: 100%;
  }

  .hlc-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .hlc-btn {
    justify-content: center;
  }
}

/* ==========================================================================
   10. LİG İÇİ DETAY ŞERİDİ & GEÇİŞ
   ========================================================================== */
.league-detail-section {
  animation: hubFadeIn 0.25s ease-out;
}

.league-nav-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 8px 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  gap: 12px;
}

.nav-back-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  font-size: 12px;
  font-weight: 600;
  color: #3f3f46;
  transition: all 0.15s ease;
  cursor: pointer;
}

.nav-back-chip:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.league-nav-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.league-nav-flag {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.league-nav-title h2 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
}

.active-season-tag {
  font-size: 11px;
  font-weight: 600;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  padding: 2px 8px;
  border-radius: 999px;
}

.back-hub-btn {
  background: #f1f5f9;
  color: #111111;
  font-weight: 700;
  border: 1px solid var(--border);
  transition: all 0.15s ease;
}

.back-hub-btn:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

/* Responsive */
@media (max-width: 1024px) {
  .hub-league-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .tactics-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    height: auto;
    padding: 10px 16px;
    align-items: stretch;
  }

  .search-field {
    width: 100%;
  }

  .filter-group {
    overflow-x: auto;
  }

  .hub-league-grid {
    grid-template-columns: 1fr;
  }

  .hub-title {
    font-size: 26px;
  }

  .league-nav-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .hub-list-header {
    display: none;
  }

  .league-list-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 16px;
  }

  .league-list-action {
    justify-content: stretch;
  }

  .league-list-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   8. AYRI SAYFA TEKNİK DİREKTÖR PROFİLİ (FULL PAGE COACH PROFILE)
   ========================================================================== */
.coach-profile-section {
  animation: fadeIn 0.25s ease-out;
  padding-top: 16px;
  padding-bottom: 60px;
  margin-top: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Üst Navigasyon Çubuğu */
.cp-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.cp-nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cp-chip-subtle {
  background: #f1f5f9;
  color: var(--text-muted);
  border-color: var(--border);
}

.cp-chip-subtle:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.cp-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cp-stepper-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.cp-stepper-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: #ffffff;
  transition: all 0.15s ease;
  border: none;
}

.cp-stepper-btn:hover {
  background: #f8fafc;
  color: var(--text-main);
}

.cp-jump-select {
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  background: #fafafa;
  cursor: pointer;
  max-width: 220px;
}

.cp-jump-select:focus {
  background: #ffffff;
  outline: none;
}

/* Genel Profil Kart Yapısı */
.cp-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  margin-bottom: 18px;
  overflow: hidden;
}

/* Bölüm Başlıkları (01, 02, 03) */
.cp-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-subtle);
  background: #fafbfc;
}

.cp-section-heading-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cp-section-heading-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cp-heading-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--r-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cp-icon-wrap-primary {
  background: #f1f5f9;
  color: #111111;
  border: 1px solid #cbd5e1;
}

.cp-icon-wrap-career {
  background: #f1f5f9;
  color: #111111;
  border: 1px solid #cbd5e1;
}

.cp-heading-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cp-season-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #111111;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 2px 8px;
  border-radius: var(--r-xs);
  letter-spacing: 0.5px;
}

.cp-section-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: #111111;
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: var(--r-xs);
  letter-spacing: 0.5px;
}

.cp-heading-title {
  font-size: 18px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 2px;
  letter-spacing: -0.3px;
  line-height: 1.25;
}

.cp-heading-desc {
  font-size: 11.5px;
  color: #64748b;
  margin: 0;
}

/* 1. BÖLÜM: HERO & KISA BİYOGRAFİ */
.cp-hero-block {
  padding: 14px 18px;
}

.cp-hero-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.cp-avatar-wrap {
  position: relative;
  width: 90px;
  height: 98px;
  flex-shrink: 0;
  background: #111111;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 2px solid #e2e8f0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.cp-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.cp-badge-rank {
  position: absolute;
  top: 4px;
  left: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  background: rgba(17, 17, 17, 0.88);
  color: #4ade80;
  padding: 2px 6px;
  border-radius: var(--r-xs);
  backdrop-filter: blur(4px);
}

.cp-hero-info {
  flex: 1;
  min-width: 0;
}

.cp-tags-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.cp-club-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--text-main);
}

.cp-club-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.cp-bullet {
  color: #cbd5e1;
  font-size: 11px;
}

.cp-nation-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 500;
}

.cp-nation-flag {
  width: 16px;
  height: 11px;
  object-fit: cover;
  border-radius: 1px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cp-contract-chip {
  font-size: 10.5px;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
  padding: 1px 7px;
  border-radius: var(--r-xs);
  border: 1px solid #e2e8f0;
}

.cp-title-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.4px;
  margin-bottom: 6px;
  line-height: 1.15;
}

.cp-tactics-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cp-pill-formation {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  background: #111111;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: var(--r-xs);
  letter-spacing: 0.5px;
}

.cp-pill-style {
  font-size: 11px;
  font-weight: 600;
  color: #111111;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 3px 10px;
  border-radius: var(--r-xs);
}

.cp-hero-rating {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cp-hero-ovr-badge {
  width: 78px !important;
  height: 78px !important;
  min-width: 78px !important;
  aspect-ratio: 1 / 1;
  padding: 0 !important;
  border-radius: var(--r-xs) !important;
  font-family: var(--font-mono);
  font-size: 33px !important;
  font-weight: 800 !important;
  line-height: 1;
  letter-spacing: -0.7px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  cursor: default;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cp-hero-ovr-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* EN ÜSTTE KISA BİYOGRAFİ & KARİYER BAŞARILARI (DENGELİ İKİYE BÖLÜNMÜŞ ALAN) */
.cp-bio-trophy-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 16px;
  align-items: stretch;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

.cp-bio-trophy-split.is-bio-full {
  grid-template-columns: 1fr;
}

.cp-compare-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid #d4d4d8;
  background: #ffffff;
  color: #111111;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.cp-compare-btn:hover {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.cp-bio-col {
  background: #fafbfc;
  border: 1px solid #e2e8f0;
  border-radius: var(--r-sm);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  transition: all 0.2s ease;
}

.cp-bio-col:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.cp-trophy-col {
  background: #fafbfc;
  border: 1px solid #e2e8f0;
  border-radius: var(--r-sm);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  min-height: 0;
}

.cp-trophy-col:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.cp-block-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #edf2f7;
  flex-shrink: 0;
}

.cp-title-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  color: #111111;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.cp-title-left svg {
  color: #111111;
  flex-shrink: 0;
}

.cp-trophy-col .cp-title-left svg {
  color: #d97706;
}

.cp-block-badge {
  font-size: 10px;
  font-weight: 700;
  color: #111111;
  background: #f1f5f9;
  padding: 2px 7px;
  border-radius: var(--r-xs);
  letter-spacing: 0.5px;
}

.cp-trophy-badge {
  font-size: 10px;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  padding: 2px 7px;
  border-radius: var(--r-xs);
  letter-spacing: 0.5px;
}

.cp-bio-paragraph {
  font-size: 13.5px;
  line-height: 1.7;
  color: #3f3f46;
  font-weight: 450;
  margin: 0;
  letter-spacing: -0.1px;
}

/* Kariyer Başarıları & Kupalar: Min 3 Satır, Biyografi Yüksekliğine Göre Dinamik Uyumlu Liste */
.cp-trophy-ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0 4px 0 0;
  flex: 1 1 0;
  min-height: 126px;
  overflow-y: auto;
}

.cp-trophy-ul::-webkit-scrollbar {
  width: 5px;
}

.cp-trophy-ul::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.cp-trophy-ul::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.cp-trophy-ul::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.cp-trophy-li {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 7px 10px;
  border-radius: var(--r-xs);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: all 0.15s ease;
  min-height: 38px;
  height: 38px;
  box-sizing: border-box;
  line-height: 1.3;
  flex-shrink: 0;
}

.cp-trophy-li:hover {
  border-color: #f59e0b;
  background: #fffdf5;
  transform: translateX(1px);
}

.cp-trophy-li span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cp-trophy-icon {
  color: #d97706;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}

/* YENİ HOCA ETİKETLERİ (<= 5 Maç) */
.coach-badge-new {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  color: #111111;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 1px 6px;
  border-radius: var(--r-xs);
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  vertical-align: middle;
}

.cp-pill-new {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #111111;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 3px 9px;
  border-radius: var(--r-xs);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 2. BÖLÜM: GÜNCEL SEZON İSTATİSTİKLERİ (ÖNE ÇIKAN PRIMARY COLOR VURGUSU) */
.cp-stats-block {
  padding: 0;
}

.cp-current-season-card {
  border-top: 3px solid #111111;
  border-color: #cbd5e1;
  box-shadow: 0 3px 14px -2px rgba(17, 17, 17, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.cp-current-season-card .cp-section-heading {
  background: linear-gradient(90deg, #f8fafc 0%, #ffffff 65%);
  border-bottom: 1px solid #e2e8f0;
}

.cp-current-season-card .cp-section-num {
  background: #111111;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(17, 17, 17, 0.22);
}

.cp-season-standing-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #111111;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 4px 10px;
  border-radius: var(--r-xs);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

/* İKİ SÜTUNLU SEZON PERFORMANSI (Sezon Karnesi [Sol] & Son 5 Maç [Sağ]) */
.cp-season-two-col {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 16px;
  padding: 16px 18px;
  align-items: stretch;
}

.cp-season-box {
  background: #fafbfc;
  border: 1px solid #e2e8f0;
  border-radius: var(--r-sm);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.cp-season-box:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

/* SOL KUTU: Son 5 Maç Performans Grafiği */
.cp-weekly-chart-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--r-xs);
  padding: 16px 14px 12px;
  position: relative;
}

.cp-weekly-chart-stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding-top: 4px;
}

.cp-ovr-ref-line {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1.5px dashed rgba(21, 128, 61, 0.45);
  z-index: 1;
  pointer-events: none;
  margin-bottom: 74px;
}

.cp-wbar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  align-items: end;
  position: relative;
  z-index: 2;
}

.cp-wbar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 4px 2px;
  border-radius: var(--r-sm);
  transition: background 0.15s ease, transform 0.15s ease;
  cursor: default;
}

.cp-wbar-col:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.cp-wbar-col.is-prev-coach {
  opacity: 0.48;
  filter: grayscale(0.6);
}

.cp-wbar-val {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.cp-wbar-val.elite {
  color: #16a34a;
}

.cp-wbar-val.high {
  color: #15803d;
}

.cp-wbar-val.mid {
  color: #ca8a04;
}

.cp-wbar-val.below {
  color: #ea580c;
}

.cp-wbar-val.low {
  color: #dc2626;
}

.cp-wbar-track {
  width: 32px;
  height: 110px;
  background: #f1f5f9;
  border-radius: 6px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.cp-wbar-fill {
  width: 100%;
  border-radius: 5px 5px 0 0;
  transition: height 0.35s ease;
}

.cp-wbar-fill.elite {
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
}

.cp-wbar-fill.high {
  background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
}

.cp-wbar-fill.mid {
  background: linear-gradient(180deg, #facc15 0%, #eab308 100%);
}

.cp-wbar-fill.below {
  background: linear-gradient(180deg, #fb923c 0%, #ea580c 100%);
}

.cp-wbar-fill.low {
  background: linear-gradient(180deg, #f87171 0%, #dc2626 100%);
}

.cp-wbar-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-top: 2px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

.cp-wbar-score-pill {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  color: #ffffff;
  line-height: 1.2;
}

.cp-wbar-score-pill.res-W {
  background: #16a34a;
}

.cp-wbar-score-pill.res-D {
  background: #64748b;
}

.cp-wbar-score-pill.res-L {
  background: #dc2626;
}

.cp-wbar-week {
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}

/* SAĞ KUTU: Sezon İstatistik Karnesi (G/B/M 3'lü Kartlar + 2x3 Yatay Veri Satırları) */
.cp-scorecard-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  justify-content: space-between;
}

.cp-wdl-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.cp-wdl-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--r-xs);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.cp-wdl-box.wdl-w {
  border-top: 3px solid #16a34a;
}

.cp-wdl-box.wdl-d {
  border-top: 3px solid #64748b;
}

.cp-wdl-box.wdl-l {
  border-top: 3px solid #dc2626;
}

.cp-wdl-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.cp-wdl-lbl {
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.4px;
}

.cp-wdl-pct {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  padding: 1px 5px;
  border-radius: 3px;
}

.cp-wdl-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.cp-wdl-box.wdl-w .cp-wdl-num {
  color: #15803d;
}

.cp-wdl-box.wdl-d .cp-wdl-num {
  color: #475569;
}

.cp-wdl-box.wdl-l .cp-wdl-num {
  color: #dc2626;
}

.cp-stat-rows-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cp-stat-row-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #cbd5e1;
  border-radius: var(--r-xs);
  padding: 10px 13px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  min-height: 58px;
  box-sizing: border-box;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.cp-stat-row-item:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  border-left-color: #111111;
  box-shadow: 0 2px 8px rgba(17, 17, 17, 0.05);
}

.cp-srow-left {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  width: 100%;
}

.cp-srow-bullet {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #94a3b8;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.cp-stat-row-item:hover .cp-srow-bullet {
  background: #111111;
}

.cp-srow-lbl {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cp-srow-val {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.01em;
  line-height: 1.25;
  white-space: nowrap;
}

/* ============================================================== */
/* TRANSFER BİLANÇOSU & KADRO YATIRIMLARI                         */
/* ============================================================== */
.cp-transfers-card {
  margin-top: 16px;
}

.cp-icon-wrap-transfer {
  background: #111111;
  color: #ffffff;
}

.cp-transfers-summary-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
}

.cp-transfers-summary-pill.active {
  background: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}

.cp-transfers-summary-pill.neutral {
  background: #f8fafc;
  color: #64748b;
  border-color: #e2e8f0;
}

.cp-transfer-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 16px 20px 0 20px;
}

.cp-transfer-kpi-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--r-sm);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.15s ease;
}

.cp-transfer-kpi-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.cp-tkpi-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
}

.cp-tkpi-val {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 900;
  color: #111111;
  line-height: 1.2;
}

.cp-tkpi-val.text-blue {
  color: #111111;
}

.cp-tkpi-val.text-emerald {
  color: #059669;
}

.cp-tkpi-sub {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
}

.cp-transfers-content-area {
  padding: 16px 20px 20px 20px;
}

/* Bilgilendirme Notu: Henüz Transfer Dönemi Geçirmeyen Hocalar İçin (Sade & Tema Uyumlu) */
.cp-transfer-notice-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.cp-tnotice-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
}

.cp-tnotice-body {
  flex: 1;
  min-width: 0;
}

.cp-tnotice-text {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

.cp-tnotice-text strong {
  color: #111111;
  font-weight: 700;
}

/* Transfer Tablosu */
.cp-transfers-table-wrap {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: var(--r-sm);
  background: #ffffff;
}

.cp-transfers-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.cp-transfers-table th {
  background: #f8fafc;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 14px;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}

.cp-transfers-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.cpt-row:last-child td {
  border-bottom: none;
}

.cpt-row:hover {
  background: #f8fafc;
}

.cpt-player-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cpt-player-photo {
  width: 38px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.cpt-avatar-fallback {
  width: 38px;
  height: 46px;
  border-radius: 8px;
  background: #e2e8f0;
  color: #3f3f46;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #cbd5e1;
}

.cpt-player-info {
  display: flex;
  flex-direction: column;
}

.cpt-player-name {
  font-weight: 700;
  color: #111111;
}

.cpt-player-pos {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
}

.cpt-period-pill {
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.cpt-from-club {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #262626;
  white-space: nowrap;
}

.cpt-club-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.cpt-club-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
}

.cpt-fee-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  background: #f1f5f9;
  color: #262626;
  border: 1px solid #e2e8f0;
}

.cpt-matches-val {
  font-size: 12px;
  font-weight: 600;
  color: #3f3f46;
  white-space: nowrap;
}

.cpt-td-stats {
  white-space: nowrap;
}

.cpt-stats-text {
  font-size: 12px;
  font-weight: 600;
  color: #262626;
}

.cpt-td-rating {
  white-space: nowrap;
}

.cpt-rating-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 26px;
  padding: 0 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  border-radius: var(--r-sm);
  letter-spacing: -0.02em;
}

.cpt-rating-chip.elite {
  background: var(--c-elite);
  color: #ffffff;
  text-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.25);
  box-shadow: 0 1px 3px rgba(34, 197, 94, 0.3);
}

.cpt-rating-chip.high {
  background: var(--c-high);
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(21, 128, 61, 0.3);
}

.cpt-rating-chip.mid {
  background: var(--c-mid);
  color: #ffffff;
  text-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.25);
  box-shadow: 0 1px 3px rgba(234, 179, 8, 0.3);
}

.cpt-rating-chip.below {
  background: var(--c-below);
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(234, 88, 12, 0.3);
}

.cpt-rating-chip.low {
  background: var(--c-low);
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(220, 38, 38, 0.3);
}

.cpt-rating-chip.neutral,
.ovr-box-sq.neutral {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
  box-shadow: none;
}

/* BÖLÜM 3: Bağımsız Maç Performans Geçmişi Kartı */
.cp-recent-matches-body {
  padding: 18px 22px;
}

.cp-matches-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 4px;
}

.cp-matches-list::-webkit-scrollbar {
  width: 5px;
}

.cp-matches-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.cp-matches-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.cp-match-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: var(--r-xs);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.cp-match-row:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.cp-match-row.prev-period {
  background: #fafbfc;
  opacity: 0.72;
  border-style: dashed;
  border-color: #cbd5e1;
}

.cp-match-row.prev-period:hover {
  opacity: 0.98;
  background: #f1f5f9;
  border-color: #94a3b8;
}

.cp-match-prev-badge {
  font-family: var(--font-main);
  font-size: 9.5px;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 1.5px 6px;
  border-radius: var(--r-xs);
  margin-left: 6px;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.cp-match-week-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 2px 6px;
  border-radius: var(--r-xs);
  min-width: 52px;
  text-align: center;
  flex-shrink: 0;
}

.cp-match-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
}

.cp-match-opp-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.cp-match-opp-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
}

.cp-match-score {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--r-xs);
}

.cp-match-score.W {
  background: #dcfce7;
  color: #15803d;
}

.cp-match-score.D {
  background: #fef3c7;
  color: #b45309;
}

.cp-match-score.L {
  background: #fee2e2;
  color: #b91c1c;
}

.cp-match-note {
  flex: 1;
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cp-match-rating-badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--r-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  text-align: center;
  color: #ffffff;
  background: #64748b;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  flex-shrink: 0;
}

.cp-match-rating-badge.elite {
  background: var(--c-elite) !important;
  background-color: #22c55e !important;
  color: #ffffff !important;
  text-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.25);
  box-shadow: 0 1px 3px rgba(34, 197, 94, 0.35);
}

.cp-match-rating-badge.high {
  background: var(--c-high) !important;
  background-color: #15803d !important;
  color: #ffffff !important;
  box-shadow: 0 1px 3px rgba(21, 128, 61, 0.35);
}

.cp-match-rating-badge.mid {
  background: var(--c-mid) !important;
  background-color: #eab308 !important;
  color: #ffffff !important;
  text-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.25);
  box-shadow: 0 1px 3px rgba(234, 179, 8, 0.35);
}

.cp-match-rating-badge.below {
  background: var(--c-below) !important;
  background-color: #ea580c !important;
  color: #ffffff !important;
  box-shadow: 0 1px 3px rgba(234, 88, 12, 0.35);
}

.cp-match-rating-badge.low {
  background: var(--c-low) !important;
  background-color: #dc2626 !important;
  color: #ffffff !important;
  box-shadow: 0 1px 3px rgba(220, 38, 38, 0.35);
}

.cp-match-rating-badge.prev-period {
  opacity: 0.65;
  box-shadow: none !important;
  filter: grayscale(45%);
  border: 1px dashed rgba(255, 255, 255, 0.45) !important;
}



/* 3. BÖLÜM: ÇALIŞTIRDIĞI TAKIMLAR SEZONLARA GÖRE (KARİYER TABLOSU) */
.cp-career-block {
  padding: 0;
  border-top: 3px solid #111111;
}

.cp-career-block .cp-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  background: linear-gradient(90deg, #f8fafc 0%, #ffffff 50%);
  border-bottom: 1px solid var(--border);
}

.cp-career-title,
.cp-career-block .cp-heading-title {
  font-size: 18px;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.3px;
  margin: 0;
  line-height: 1.25;
}

.cp-career-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 3px 9px;
  border-radius: var(--r-xs);
  letter-spacing: 0.5px;
}

.cp-career-table-wrapper {
  overflow-x: auto;
}

.cp-career-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}

.cp-career-table thead th {
  background: #f8fafc;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.cp-career-table tbody tr {
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.12s ease;
}

.cp-career-table tbody tr:hover {
  background: #f8fafc;
}

.cp-career-table tbody tr:last-child {
  border-bottom: none;
}

.cp-career-table td {
  padding: 14px 18px;
  vertical-align: middle;
}

.cpc-season-badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: #111111;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 3px 8px;
  border-radius: var(--r-xs);
  display: inline-block;
  white-space: nowrap;
}

.cpc-team-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text-main);
}

.cpc-team-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.cpc-role-badge {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 2px 8px;
  border-radius: var(--r-xs);
  white-space: nowrap;
}

.cpc-matches-cell {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-main);
}

.cpc-ppm-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--r-xs);
  display: inline-block;
}

.cpc-ppm-badge.high {
  background: #dcfce7;
  color: #15803d;
}

.cpc-ppm-badge.mid {
  background: #f1f5f9;
  color: #111111;
}

.cpc-ppm-badge.low,
.cpc-ppm-badge.neutral {
  background: #f3f4f6;
  color: #4b5563;
}

.cpc-note-text {
  color: #475569;
  font-size: 12px;
  line-height: 1.4;
}

/* Responsive Coach Profile Breakpoints */
@media (max-width: 1100px) {
  .cp-metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .cp-hero-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .cp-hero-rating {
    align-items: flex-start;
    text-align: left;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cp-season-two-col {
    grid-template-columns: 1fr;
  }

  .cp-stat-rows-grid {
    grid-template-columns: 1fr;
  }

  .cp-transfer-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cp-bio-trophy-split {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cp-trophy-ul {
    max-height: 220px;
  }

  .cp-sub-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cp-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cp-transfer-kpi-grid {
    grid-template-columns: 1fr;
  }

  .cp-nav-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .cp-stepper-box {
    width: 100%;
    justify-content: space-between;
  }

  .cp-jump-select {
    max-width: none;
    flex: 1;
  }
}

/* ============================================================== */
/* 2026-2027 SEZONU GÖREVDEN AYRILAN TEKNİK DİREKTÖRLER BÖLÜMÜ    */
/* ============================================================== */
.departed-section {
  margin-top: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.departed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(90deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}

.departed-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.departed-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
}

.departed-badge-top {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #64748b;
  margin-bottom: 2px;
}

.departed-title {
  font-size: 17px;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.3px;
  margin: 0;
  line-height: 1.25;
}

.departed-subtitle {
  font-size: 11.5px;
  color: var(--text-muted);
  margin: 2px 0 0 0;
}

.departed-count-badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  background: #f1f5f9;
  color: #3f3f46;
  border: 1px solid #cbd5e1;
}

.departed-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--bg-card);
}

#departedCoachesTable {
  margin: 0;
  border-top: none;
}

#departedCoachesTable tbody tr:last-child {
  border-bottom: none;
}

/* Eski Hocalar Tablosu Özel Rozetleri */
.dep-table-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 1.5px 6px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  white-space: nowrap;
  letter-spacing: -0.2px;
  display: inline-flex;
  align-items: center;
}

.dep-reason-meta {
  color: #64748b;
  font-size: 11px;
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  vertical-align: bottom;
}

.meta-dot {
  color: #cbd5e1;
  font-weight: 700;
  margin: 0 1px;
}

/* PROFİL SAYFASI: AYRILAN HOCA BİLDİRİM BANNERI */
.cp-departed-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  background: linear-gradient(90deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 600;
  color: #92400e;
  line-height: 1.4;
}

.cp-departed-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  background: #b45309;
  color: #ffffff;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

/* AYNI SEZONDA 2 KULÜP ÇALIŞTIRAN HOCALAR İÇİN SADE DÖNEM GEÇİŞİ */
.cp-spells-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.cp-spells-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 4px;
}

.cp-spells-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cp-spell-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: var(--r-xs);
  border: 1px solid var(--border);
  background: #ffffff;
  color: #3f3f46;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.12s ease;
  font-family: inherit;
}

.cp-spell-tab:hover {
  border-color: #94a3b8;
  color: #111111;
  background: #f8fafc;
}

.cp-spell-tab.active {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.cp-spell-logo {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

.cp-spell-sub {
  font-size: 10.5px;
  font-weight: 500;
  opacity: 0.7;
}

.hub-search-dep-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  vertical-align: middle;
}

/* ============================================================== */
/* KURUMSAL MİNİMALİST FOOTER & BİLGİ/YASAL MODAL                 */
/* ============================================================== */
.site-footer {
  margin-top: auto;
  flex-shrink: 0;
  width: 100%;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #3f3f46;
}

.footer-brand-sq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #111111;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.footer-link-btn {
  font-size: 12px;
  font-weight: 500;
  color: #3f3f46;
  padding: 2px 0;
  transition: color 0.12s ease;
}

.footer-link-btn:hover {
  color: #111111;
}

.info-modal-body {
  padding: 18px 22px 22px;
  font-size: 13px;
  line-height: 1.65;
  color: #3f3f46;
  max-height: 70vh;
  overflow-y: auto;
}

.info-modal-body h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: #111111;
  margin: 14px 0 6px;
}

.info-modal-body h4:first-child {
  margin-top: 0;
}

.info-modal-body p {
  margin: 0 0 10px;
}

.info-modal-body ul {
  margin: 0 0 12px 18px;
  padding: 0;
}

.info-modal-body li {
  margin-bottom: 5px;
}

.info-formula-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #111111;
  margin: 8px 0 12px;
}

.noscript-banner {
  background: #111111;
  color: #f8fafc;
  padding: 14px 20px;
  text-align: center;
  font-size: 13px;
}

/* ============================================================== */
/* HOCA ODAKLI MAÇ DETAY MODALI & TIKLANABİLİR MAÇ SATIRLARI      */
/* ============================================================== */
.cp-match-row.is-clickable {
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease, transform 0.12s ease;
}

.cp-match-row.is-clickable:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.cp-match-row-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cp-match-chevron {
  color: #94a3b8;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.14s ease, color 0.14s ease;
}

.cp-match-row.is-clickable:hover .cp-match-chevron {
  color: #111111;
  transform: translateX(2px);
}

.cp-wbar-col.is-clickable {
  cursor: pointer;
}

.cp-wbar-col.is-clickable:hover .cp-wbar-track {
  background: #e2e8f0;
}

.md-modal-card {
  max-width: 600px;
  width: 94%;
}

.md-header-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: #262626;
  letter-spacing: 0.01em;
}

.md-body {
  padding: 0;
  max-height: 76vh;
  overflow-y: auto;
  background: #ffffff;
}

.md-scoreboard-head {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.md-scoreboard-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.md-sb-team {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.md-sb-team.is-left {
  justify-content: flex-end;
  text-align: right;
}

.md-sb-team.is-right {
  justify-content: flex-start;
  text-align: left;
}

.md-sb-team-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.md-sb-name {
  font-size: 14px;
  font-weight: 800;
  color: #0a0a0a;
  line-height: 1.2;
}

.md-sb-coach {
  font-size: 12px;
  font-weight: 500;
  color: #262626;
}

.md-team-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.md-sb-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 72px;
}

.md-sb-score {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 800;
  color: #0a0a0a;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.md-sb-ht {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #3f3f46;
}

.md-coach-ratings-row {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  display: grid;
  grid-template-columns: 1fr 140px 1fr;
  align-items: center;
}

.md-cr-side.is-left {
  display: flex;
  justify-content: flex-end;
  padding-right: 14px;
}

.md-cr-side.is-right {
  display: flex;
  justify-content: flex-start;
  padding-left: 14px;
}

.md-cr-mid {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #262626;
}

.md-section {
  padding: 16px 24px;
  border-bottom: 1px solid #f1f5f9;
}

.md-section:last-child {
  border-bottom: none;
}

.md-section-head {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #111111;
  text-align: center;
  margin-bottom: 10px;
}

.md-stats-table {
  display: flex;
  flex-direction: column;
}

.md-stat-row {
  display: grid;
  grid-template-columns: 1fr 180px 1fr;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid #f1f5f9;
}

.md-stat-row:last-child {
  border-bottom: none;
}

.md-stat-val {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 400;
  color: #262626;
}

.md-stat-val.is-left { text-align: right; padding-right: 14px; }
.md-stat-val.is-right { text-align: left; padding-left: 14px; }
.md-stat-val.is-lead { font-weight: 800; color: #0a0a0a; }
.md-stat-val.is-trail { font-weight: 400; color: #262626; }

.md-stat-lbl {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #262626;
}

.md-subs-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.md-subs-col {
  display: flex;
  flex-direction: column;
}

.md-subs-col:first-child {
  padding-right: 16px;
  border-right: 1px solid #e2e8f0;
}

.md-subs-col:last-child {
  padding-left: 16px;
}

.md-subs-col-head {
  font-size: 12px;
  font-weight: 700;
  color: #111111;
  padding-bottom: 7px;
  margin-bottom: 4px;
  border-bottom: 1px solid #f1f5f9;
}

.md-subs-table {
  display: flex;
  flex-direction: column;
}

.md-sub-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid #f8fafc;
  font-size: 12px;
}

.md-sub-row:last-child {
  border-bottom: none;
}

.md-sub-min {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: #0a0a0a;
  min-width: 28px;
}

.md-sub-name {
  color: #111111;
  font-weight: 500;
  flex: 1;
  min-width: 0;
}

.md-sub-impact {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #15803d;
  white-space: nowrap;
}

.md-empty-line {
  font-size: 12px;
  color: #3f3f46;
  padding: 6px 0;
}

.md-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.md-nav-btn {
  padding: 6px 12px;
  border-radius: var(--r-xs);
  border: 1px solid var(--border);
  background: #ffffff;
  color: #111111;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.12s ease;
}

.md-nav-btn:hover:not(:disabled) {
  border-color: #111111;
  color: #0a0a0a;
}

.md-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.md-nav-pos {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: #262626;
}

@media (max-width: 640px) {
  .md-scoreboard-head,
  .md-section,
  .md-footer {
    padding-left: 16px;
    padding-right: 16px;
  }
  .md-subs-split {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .md-subs-col:first-child {
    padding-right: 0;
    border-right: none;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
  }
  .md-subs-col:last-child {
    padding-left: 0;
  }
  .md-stat-row {
    grid-template-columns: 1fr 130px 1fr;
  }
  .md-sb-name {
    font-size: 12.5px;
  }
}

/* ============================================================== */
/* TAM SAYFA 50/50 SİMETRİK HOCA KIYASLAMA (#duelPageView)        */
/* ============================================================== */
.duel-page-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 14px;
}

.duel-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Ortalanmış Sade Bölüm Başlıkları */
.duel-sec-head-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 3px;
  padding: 15px 20px 13px;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.duel-sec-title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.01em;
}

.duel-sec-sub {
  font-size: 11.5px;
  font-weight: 500;
  color: #64748b;
}

/* 50/50 VS Arena Hero (Nötr, Keskin, Sade) */
.duel-arena-card {
  padding: 0;
  overflow: visible;
  position: relative;
}

.duel-arena-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.duel-arena-half {
  padding: 18px 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #ffffff;
}

.duel-arena-half.is-left {
  border-right: 1px solid var(--border);
  border-bottom-left-radius: var(--r-md);
}

.duel-arena-half.is-right {
  border-bottom-right-radius: var(--r-md);
}

.duel-center-vs-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #111111;
  color: #ffffff;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 10px rgba(17, 17, 17, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  z-index: 3;
}

.duel-half-select-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.duel-arena-half.is-right .duel-half-select-wrap {
  align-items: flex-end;
}

.duel-half-lbl {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #262626;
}

.duel-coach-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 15px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color 0.14s ease, background 0.14s ease;
}

.duel-coach-card:hover {
  background: #ffffff;
  border-color: #94a3b8;
}

.duel-coach-card.is-p2 {
  flex-direction: row-reverse;
  text-align: right;
}

.duel-coach-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.duel-coach-card.is-p2 .duel-coach-left {
  flex-direction: row-reverse;
}

/* 300x390 (1 : 1.3) Portre Oranına Tam Uyumlu Çerçeve */
.duel-avatar-frame {
  width: 58px;
  height: 75px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(17, 17, 17, 0.08);
}

.duel-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.duel-cmeta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.duel-cname {
  font-size: 16px;
  font-weight: 800;
  color: #111111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.duel-cclub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #262626;
}

.duel-coach-card.is-p2 .duel-cclub {
  justify-content: flex-end;
}

.duel-cclub img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.duel-csub {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: #262626;
}

/* Kafa Kafaya Maç Bölümü */
.duel-h2h-body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.duel-h2h-match {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: #f8fafc;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.14s ease, background 0.14s ease;
}

.duel-h2h-match:hover {
  background: #ffffff;
  border-color: #94a3b8;
}

.duel-h2h-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.duel-h2h-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #262626;
}

.duel-h2h-scoreline {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.duel-h2h-side {
  display: flex;
  align-items: center;
  gap: 10px;
}

.duel-h2h-side.right {
  justify-content: flex-end;
  text-align: right;
}

.duel-h2h-side img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.duel-h2h-team-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.duel-h2h-tname {
  font-size: 14px;
  font-weight: 800;
  color: #111111;
}

.duel-h2h-cname {
  font-size: 11.5px;
  color: #262626;
}

.duel-h2h-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.duel-h2h-score {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 900;
  padding: 4px 14px;
  border-radius: 8px;
  background: #111111;
  color: #ffffff;
  letter-spacing: 1px;
}

.duel-h2h-substats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
  font-size: 11.5px;
  font-weight: 600;
  color: #111111;
  font-family: var(--font-mono);
}

/* 50/50 Çizgisiz & Kutusuz Sade Tipografik Karşılaştırma Tablosu */
.duel-bars-header {
  display: grid;
  grid-template-columns: 1fr 240px 1fr;
  align-items: center;
  max-width: 740px;
  margin: 0 auto;
  padding: 12px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #111111;
}

.duel-bh-side.is-left { text-align: right; padding-right: 18px; }
.duel-bh-mid { text-align: center; color: #262626; font-size: 10.5px; font-weight: 700; }
.duel-bh-side.is-right { text-align: left; padding-left: 18px; }

.duel-bars-list {
  max-width: 740px;
  margin: 0 auto;
  padding: 4px 24px 16px;
  display: flex;
  flex-direction: column;
}

.duel-bar-row {
  display: grid;
  grid-template-columns: 1fr 240px 1fr;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.12s ease;
}

.duel-bar-row:hover {
  background: #fafbfc;
}

.duel-bar-row:last-child {
  border-bottom: none;
}

.duel-bar-row.is-highlight-row {
  background: #f8fafc;
  margin: 2px -12px;
  padding: 11px 12px;
  border-radius: var(--r-xs);
  border-bottom: none;
}

.duel-bar-side {
  display: flex;
  align-items: center;
}

.duel-bar-side.is-left {
  justify-content: flex-end;
  padding-right: 18px;
}

.duel-bar-side.is-right {
  justify-content: flex-start;
  padding-left: 18px;
}

/* Kutusuz, bordersız, eşit puntoda canlı koyu siyah tipografi (soluk gri yok) */
.duel-bar-val {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 400;
  color: #262626;
  white-space: nowrap;
}

.duel-bar-val.is-trail {
  font-size: 13.5px;
  font-weight: 400;
  color: #262626;
}

.duel-bar-val.is-lead {
  font-size: 13.5px;
  font-weight: 800;
  color: #0a0a0a;
}

/* Reyting satırlarında her hoca KENDİ gerçek ManagerRadar puan rengiyle ve aynı boyutta görünür */
.duel-rating-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 26px;
  padding: 0 8px;
  border-radius: var(--r-xs);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
}
.duel-rating-chip.is-trail {
  font-weight: 500;
}
.duel-rating-chip.is-lead {
  font-weight: 800;
}
.duel-rating-chip.elite { background: var(--c-elite); }
.duel-rating-chip.high  { background: var(--c-high); }
.duel-rating-chip.mid   { background: var(--c-mid); }
.duel-rating-chip.below { background: var(--c-below); }
.duel-rating-chip.low   { background: var(--c-low); }
.duel-rating-chip.neutral { background: #3f3f46; }

.duel-bar-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #262626;
  padding: 0 8px;
}

/* Taktik Kimlik & Oyun Tarzı Farkları (Gerçek Veri — 50/50) */
.duel-tactic-list {
  display: flex;
  flex-direction: column;
}

.duel-tactic-row {
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
}

.duel-tactic-row:last-child {
  border-bottom: none;
}

.duel-tactic-cell {
  padding: 13px 22px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.duel-tactic-cell.is-left {
  text-align: right;
  align-items: flex-end;
  border-right: 1px solid #f1f5f9;
}

.duel-tactic-cell.is-right {
  text-align: left;
  align-items: flex-start;
  border-left: 1px solid #f1f5f9;
}

.duel-tactic-main {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: #111111;
}

.duel-tactic-sub {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.35;
}

.duel-tactic-mid {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
  background: #fafbfc;
  height: 100%;
  justify-content: center;
}

.duel-tactic-param {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #3f3f46;
}

.duel-tactic-diff {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #64748b;
}

/* Son 5 Maç 50/50 Yan Yana */
.duel-last5-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.duel-last5-box {
  background: #ffffff;
  padding: 16px 24px 20px;
}

.duel-last5-box:first-child {
  border-right: 1px solid var(--border);
}

.duel-last5-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.duel-last5-cname {
  font-size: 13px;
  font-weight: 800;
  color: #111111;
}

/* Transfer Verimliliği 50/50 — İnteraktif Transfer Listesi & Özet */
.duel-transfers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.duel-tr-box {
  background: #ffffff;
  padding: 18px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.duel-tr-box:first-child {
  border-right: 1px solid var(--border);
}

.duel-tr-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.duel-tr-summary-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: var(--r-xs);
}

.duel-tr-sum-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.duel-tr-sum-lbl {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #3f3f46;
  letter-spacing: 0.03em;
}

.duel-tr-sum-val {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
  color: #111111;
}

.duel-tr-player-list {
  display: flex;
  flex-direction: column;
}

.duel-tr-player-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 4px;
  border-bottom: 1px solid #f1f5f9;
}

.duel-tr-player-row:last-child {
  border-bottom: none;
}

.duel-tr-player-row.is-hidden-extra {
  display: none;
}

.duel-tr-player-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.duel-tr-player-photo {
  width: 36px;
  height: 46px;
  border-radius: 7px;
  object-fit: cover;
  object-position: center top;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.duel-tr-player-fallback {
  width: 36px;
  height: 46px;
  border-radius: 7px;
  background: #e2e8f0;
  color: #3f3f46;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.duel-tr-player-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}

.duel-tr-player-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #111111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.duel-tr-player-meta {
  font-size: 11px;
  color: #262626;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.duel-tr-player-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.duel-tr-player-fee {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: #111111;
}

.duel-tr-expand-btn {
  align-self: center;
  font-size: 11.5px;
  font-weight: 700;
  color: #3f3f46;
  padding: 6px 14px;
  border-radius: var(--r-xs);
  background: #f8fafc;
  border: 1px solid var(--border);
  transition: all 0.12s ease;
}

.duel-tr-expand-btn:hover {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

@media (max-width: 960px) {
  .duel-arena-split,
  .duel-last5-grid,
  .duel-transfers-grid {
    grid-template-columns: 1fr;
  }
  .duel-arena-half.is-left,
  .duel-last5-box:first-child,
  .duel-tr-box:first-child {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .duel-center-vs-badge {
    display: none;
  }
  .duel-arena-half.is-right .duel-half-select-wrap {
    align-items: stretch;
  }
  .duel-coach-card.is-p2 {
    flex-direction: row;
    text-align: left;
  }
  .duel-coach-card.is-p2 .duel-coach-left {
    flex-direction: row;
  }
  .duel-coach-card.is-p2 .duel-cclub {
    justify-content: flex-start;
  }
  .duel-bars-header,
  .duel-bar-row {
    grid-template-columns: 1fr 140px 1fr;
  }
  .duel-h2h-scoreline {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .duel-h2h-side,
  .duel-h2h-side.right {
    justify-content: center;
    text-align: center;
  }
}


/* ============================================================== */
/* ANA SAYFA (HUB) EDİTORYAL BLOKLAR — v2.3 ManagerRadar          */
/* ============================================================== */
.hub-section {
  display: flex;
  flex-direction: column;
  gap: 46px;
}

.hub-hero {
  padding: 26px 0 8px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.hub-hero-h1 {
  margin: 0 0 8px 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111111;
  line-height: 1.18;
}

.hub-hero-subtitle {
  margin: 0 0 18px 0;
  font-size: 13.5px;
  font-weight: 400;
  color: #3f3f46;
  line-height: 1.5;
}

.hub-meta-strip {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #3f3f46;
  letter-spacing: 0.01em;
}

.hub-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 34px;
}

.hub-block + .hub-block {
  margin-top: 48px;
}

.hub-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
}

.hub-sec-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.01em;
}

.hub-sec-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #3f3f46;
}

.hub-sec-link {
  font-size: 12px;
  font-weight: 700;
  color: #16a34a;
  transition: opacity 0.14s ease;
}

.hub-sec-link:hover {
  opacity: 0.78;
}

/* 50/50 Yan Yana Dikey Tablolar (Haftanın Zirvesi / Sezon Liderleri & Yeni İmzalar / Flaş Ayrılıklar) */
.hub-boards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.hub-board-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hub-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 18px;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
}

.hub-board-title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #111111;
}

.hub-board-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #3f3f46;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 4px;
}

.hub-board-list {
  display: flex;
  flex-direction: column;
}

.hub-board-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background 0.12s ease;
}

.hub-board-row:last-child {
  border-bottom: none;
}

.hub-board-row:hover {
  background: #f8fafc;
}

.hub-board-rank {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: #3f3f46;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.hub-board-photo-wrap {
  width: 34px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  flex-shrink: 0;
}

.hub-board-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hub-board-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.hub-board-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #111111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hub-board-sub {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: #3f3f46;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hub-mini-logo {
  width: 15px;
  height: 15px;
  object-fit: contain;
  flex-shrink: 0;
}

.hub-sub-sep {
  color: #94a3b8;
}

.hub-match-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #262626;
}

/* Öne Çıkan Hoca Kıyaslamaları (2x2) */
.hub-duels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.hub-duel-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--r-md);
  padding: 13px 16px 15px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  cursor: pointer;
  transition: border-color 0.14s ease, transform 0.14s ease, box-shadow 0.14s ease;
}

.hub-duel-card:hover {
  border-color: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.10);
}

.hub-duel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.hub-duel-tag {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #3f3f46;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hub-duel-cta {
  font-weight: 700;
  color: #16a34a;
}

.hub-duel-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.hub-duel-side {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.hub-duel-side.is-right {
  justify-content: flex-end;
  text-align: right;
}

.hub-duel-photo {
  width: 36px;
  height: 46px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  flex-shrink: 0;
}

.hub-duel-txt {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.hub-duel-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #111111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hub-duel-club {
  font-size: 11px;
  color: #3f3f46;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hub-duel-vs {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  color: #3f3f46;
  background: #f1f5f9;
  padding: 4px 7px;
  border-radius: 4px;
}

/* Yeni İmzalar & Flaş Ayrılıklar Sağ Rozet Grubu */
.hub-move-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.hub-new-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 2px 7px;
  border-radius: 3px;
}

.hub-dep-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 2px 7px;
  border-radius: 3px;
}

.hub-pending-sq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 24px;
  border-radius: var(--r-xs);
  background: #f1f5f9;
  color: #3f3f46;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 960px) {
  .hub-boards-grid,
  .hub-duels-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hub-section {
    gap: 34px;
  }
  .hub-hero-h1 {
    font-size: 22px;
  }
  .hub-duel-photo {
    width: 30px;
    height: 39px;
  }
}


/* ============================================================== */
/* HEADER HIZLI LİG MENÜSÜ + EDİTORYAL KOMUTA HERO BANNER (v2.3)  */
/* ============================================================== */
.header-league-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.hln-btn {
  padding: 6px 11px;
  border-radius: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: #262626;
  white-space: nowrap;
  transition: background 0.14s ease, color 0.14s ease;
}

.hln-btn:hover {
  background: #f1f5f9;
  color: #111111;
}

.hln-btn.is-active {
  color: #16a34a;
  background: #f0fdf4;
}

#openDuelBtn {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

#openDuelBtn:hover {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}

.hub-hero-banner {
  margin-top: 16px;
  background: #111111;
  border-radius: var(--r-md);
  padding: 30px 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.85fr);
  align-items: center;
  gap: 34px;
  position: relative;
  border: 1px solid #262626;
}

.hub-hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
}

.hub-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #4ade80;
  letter-spacing: 0.05em;
  margin-bottom: 9px;
}

.hub-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.hub-hero-banner .hub-hero-h1 {
  color: #ffffff;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 7px 0;
  line-height: 1.15;
}

.hub-hero-banner .hub-hero-subtitle {
  color: #d4d4d8;
  font-size: 13.5px;
  margin: 0 0 19px 0;
  line-height: 1.5;
}

.hub-hero-banner .hub-search-box {
  width: 100%;
  max-width: 580px;
  margin: 0;
}

.hub-hero-banner .hub-search-bar {
  background: #ffffff;
  border: 1px solid #3f3f46;
  height: 44px;
  border-radius: var(--r-sm);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.24);
}

.hub-hero-banner .hub-search-bar:focus-within {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.28), 0 6px 20px rgba(0, 0, 0, 0.30);
}

.hub-quick-chips {
  margin-top: 13px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.hub-qc-lbl {
  font-size: 11.5px;
  font-weight: 600;
  color: #a1a1aa;
  margin-right: 2px;
}

.hub-qc-btn {
  padding: 4px 10px;
  border-radius: var(--r-sm);
  font-size: 11.5px;
  font-weight: 600;
  color: #f4f4f5;
  background: #1f1f1f;
  border: 1px solid #333333;
  transition: all 0.14s ease;
}

.hub-qc-btn:hover {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}

.hub-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-left: 28px;
  border-left: 1px solid #262626;
}

.hub-stat-cell {
  background: #181818;
  border: 1px solid #2a2a2a;
  border-radius: var(--r-sm);
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hub-stat-num {
  font-family: var(--font-mono);
  font-size: 27px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hub-stat-num.is-accent {
  color: #4ade80;
}

.hub-stat-lbl {
  font-size: 11.5px;
  font-weight: 600;
  color: #d4d4d8;
}

@media (max-width: 1080px) {
  .header-league-nav {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .hub-hero-banner {
    grid-template-columns: 1fr;
    padding: 22px 18px;
    gap: 20px;
  }
  .hub-hero-stats {
    grid-template-columns: repeat(4, 1fr);
    padding-left: 0;
    padding-top: 16px;
    border-left: none;
    border-top: 1px solid #262626;
  }
  .hub-stat-cell {
    padding: 12px 10px;
  }
  .hub-stat-num {
    font-size: 22px;
  }
}

@media (max-width: 600px) {
  .hub-hero-banner .hub-hero-h1 {
    font-size: 23px;
  }
  .hub-hero-stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========================================================================== */
/* DUEL: KIYASLAMA HAVUZU (AKTİF / ARŞİV) & BOŞ SEÇİM DURUMLARI               */
/* ========================================================================== */
.duel-pool-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 11px 22px;
  background: #fafafa;
  border-bottom: 1px solid var(--border);
  border-radius: var(--r-md) var(--r-md) 0 0;
}

.duel-pool-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.duel-pool-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #111111;
}

.duel-pool-count {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #3f3f46;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 999px;
}

.duel-pool-seg {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: #efefef;
  border: 1px solid var(--border);
  border-radius: 9px;
}

.duel-pool-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: #262626;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease, box-shadow 0.14s ease;
  white-space: nowrap;
}

.duel-pool-btn:hover:not(.is-active) {
  color: #0a0a0a;
  background: rgba(255, 255, 255, 0.7);
}

.duel-pool-btn.is-active {
  background: #111111;
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.14);
}

.duel-empty-slot {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 101px;
  padding: 14px 16px;
  background: #fafafa;
  border: 1.5px dashed #d4d4d8;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.duel-empty-slot:hover {
  border-color: #111111;
  background: #ffffff;
}

.duel-empty-slot.is-right {
  flex-direction: row-reverse;
  text-align: right;
}

.duel-empty-slot.is-waiting {
  border-color: #16a34a;
  background: #f0fdf4;
}

.duel-empty-avatar {
  width: 54px;
  height: 70px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e4e4e7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #71717a;
  flex-shrink: 0;
}

.duel-empty-slot.is-waiting .duel-empty-avatar {
  border-color: #bbf7d0;
  color: #16a34a;
}

.duel-empty-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.duel-empty-slot-title {
  font-size: 14px;
  font-weight: 800;
  color: #111111;
}

.duel-empty-slot-sub {
  font-size: 12px;
  font-weight: 500;
  color: #52525b;
}

.duel-empty-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 40px 24px;
}

.duel-empty-prompt-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #111111;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.duel-empty-prompt-title {
  margin: 0;
  font-size: 16.5px;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.01em;
}

.duel-empty-prompt-sub {
  margin: 0;
  max-width: 520px;
  font-size: 13px;
  line-height: 1.55;
  color: #3f3f46;
}

.cp-stepper-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  pointer-events: none;
}

.duel-cclub-archived {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #52525b;
  background: #f4f4f5;
  border: 1px solid #d4d4d8;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 4px;
}

/* Milli Takım Bayrağı Oran Düzeltmesi (Kariyer & Transfer Tabloları) */
.cpc-team-logo.is-flag-logo,
.cpt-club-logo.is-flag-logo {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(17, 17, 17, 0.14);
}

@media (max-width: 680px) {
  .duel-pool-bar {
    padding: 10px 14px;
  }
  .duel-pool-seg {
    width: 100%;
  }
  .duel-pool-btn {
    flex: 1;
    text-align: center;
    padding: 6px 8px;
    font-size: 11px;
  }
}

/* ========================================================================== */
/* DUEL: ARAMALI TEKNİK DİREKTÖR SEÇİCİ (AUTOCOMPLETE COMBOBOX)               */
/* ========================================================================== */
.duel-picker {
  position: relative;
  width: 100%;
}

.duel-picker-ico {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #52525b;
  pointer-events: none;
  z-index: 2;
}

.duel-picker-input {
  width: 100%;
  height: 40px;
  padding: 0 36px 0 36px;
  border: 1px solid #d4d4d8;
  border-radius: var(--r-sm);
  background: #ffffff;
  color: #111111;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  outline: none;
  transition: border-color 0.14s ease, box-shadow 0.14s ease;
}

.duel-picker-input::placeholder {
  color: #71717a;
  font-weight: 500;
}

.duel-picker-input:hover {
  border-color: #a1a1aa;
}

.duel-picker-input:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.duel-picker-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: #f4f4f5;
  color: #262626;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.12s ease, color 0.12s ease;
}

.duel-picker-clear:hover {
  background: #111111;
  color: #ffffff;
}

.duel-picker-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 360px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #d4d4d8;
  border-radius: var(--r-sm);
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.14);
  z-index: 50;
  text-align: left;
}

.duel-picker-group-hd {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 7px 12px;
  background: #f4f4f5;
  border-bottom: 1px solid #e4e4e7;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #262626;
}

.duel-picker-group-hd.is-archived {
  background: #fafafa;
  color: #52525b;
}

.duel-picker-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border: none;
  border-bottom: 1px solid #f4f4f5;
  background: #ffffff;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background 0.1s ease;
}

.duel-picker-item:last-child {
  border-bottom: none;
}

.duel-picker-item:hover,
.duel-picker-item.is-active {
  background: #f4f4f5;
}

.duel-picker-item.is-selected-other {
  opacity: 0.52;
  cursor: not-allowed;
}

.duel-picker-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.duel-picker-avatar {
  width: 30px;
  height: 38px;
  border-radius: 5px;
  object-fit: cover;
  object-position: center 15%;
  border: 1px solid #e4e4e7;
  background: #fafafa;
  flex-shrink: 0;
}

.duel-picker-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.duel-picker-name {
  font-size: 13px;
  font-weight: 700;
  color: #111111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 6px;
}

.duel-picker-club {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 500;
  color: #3f3f46;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.duel-picker-club img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
}

.duel-picker-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.duel-picker-tag {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #52525b;
  background: #f4f4f5;
  border: 1px solid #d4d4d8;
  padding: 1px 5px;
  border-radius: 4px;
}

.duel-picker-ovr {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  min-width: 34px;
  height: 24px;
  padding: 0 6px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.duel-picker-empty {
  padding: 18px 14px;
  text-align: center;
  font-size: 12.5px;
  color: #52525b;
}

.duel-picker-archive-hint {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border: none;
  border-top: 1px solid #e4e4e7;
  background: #fafafa;
  color: #111111;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: background 0.12s ease;
}

.duel-picker-archive-hint:hover {
  background: #f0fdf4;
  color: #15803d;
}

.duel-picker-archive-cta {
  font-size: 11px;
  font-weight: 800;
  color: #16a34a;
  white-space: nowrap;
}

/* ================================================================
   AVRUPA KUPALARI (UEFA) KARTLARI & PROFİL TURNUVA SEÇİCİ
   ================================================================ */
.hub-euro-grid {
  grid-template-columns: repeat(3, 1fr);
}

.hub-league-card.is-euro {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-color: #cbd5e1;
}

.hub-league-card.is-euro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #111111 0%, #16a34a 100%);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  opacity: 0.85;
}

.hub-league-card.is-euro:hover {
  border-color: #16a34a;
  box-shadow: 0 10px 26px rgba(17, 17, 17, 0.11);
}

.hlc-euro-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  background: #111111;
  color: #ffffff;
}

.hub-league-card.is-euro[data-league-id="ucl"] .hlc-euro-badge {
  background: #0f172a;
  color: #ffffff;
}

.hub-league-card.is-euro[data-league-id="uel"] .hlc-euro-badge {
  background: #c2410c;
  color: #ffffff;
}

.hub-league-card.is-euro[data-league-id="uecl"] .hlc-euro-badge {
  background: #15803d;
  color: #ffffff;
}

/* Hero Kıyasla + Paylaş Buton Grubu */
.cp-hero-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cp-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 6px;
  border: 1px solid #d4d4d8;
  background: #ffffff;
  color: #3f3f46;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cp-share-btn:hover {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

/* Profil Sayfası Turnuva Geçiş Çubuğu (UEFA <-> Yerel Lig) */
.cp-comp-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 12px 20px;
  background: #fafafa;
  border-bottom: 1px solid #e4e4e7;
  border-radius: var(--r-md) var(--r-md) 0 0;
}

.cp-comp-bar-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #52525b;
}

.cp-comp-switcher {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 3px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
}

.cp-comp-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #3f3f46;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
  white-space: nowrap;
}

.cp-comp-pill:hover:not(.is-active) {
  background: #ffffff;
  color: #111111;
}

.cp-comp-pill.is-active {
  background: #111111;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(17, 17, 17, 0.16);
}

.cp-comp-pill-logo {
  width: 17px;
  height: 17px;
  object-fit: contain;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 3px;
  padding: 1px;
}

.cp-comp-pill-ovr {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
  color: inherit;
}

.cp-comp-pill:not(.is-active) .cp-comp-pill-ovr {
  background: #e2e8f0;
  color: #111111;
}

.cp-comp-pill.is-active .cp-comp-pill-ovr {
  background: #16a34a;
  color: #ffffff;
}

@media (max-width: 900px) {
  .hub-euro-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cp-comp-bar {
    padding: 10px 14px;
  }
  .cp-comp-switcher {
    width: 100%;
  }
  .cp-comp-pill {
    flex: 1 1 auto;
    justify-content: center;
    padding: 6px 8px;
    font-size: 11.5px;
  }
}

/* ================================================================
   ÜST BAR AVRUPA KISAYOLLARI, HUB YEREL/AVRUPA SEKMELERİ & DÜELLO UEFA
   ================================================================ */
.hln-sep {
  display: inline-block;
  width: 1px;
  height: 15px;
  background: #d4d4d8;
  margin: 0 3px;
  flex-shrink: 0;
}

.hln-btn.is-euro {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #15803d;
  padding: 5px 8px;
}

.hln-btn.is-euro:hover,
.hln-btn.is-euro.is-active {
  background: #111111;
  color: #ffffff;
}

/* Hub Haftanın Öne Çıkanları & Sezon Sıralaması Yerel/Avrupa Sekmeleri */
.hub-board-tabs {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
}

.hub-btab {
  border: none;
  background: transparent;
  color: #52525b;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.14s ease;
  white-space: nowrap;
}

.hub-btab:hover:not(.is-active) {
  color: #111111;
  background: rgba(255, 255, 255, 0.75);
}

.hub-btab.is-active {
  background: #111111;
  color: #ffffff;
}

.hub-euro-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 1px 5px;
  border-radius: 4px;
  background: #111111;
  color: #ffffff;
  flex-shrink: 0;
}

.hub-euro-pill.is-uel {
  background: #c2410c;
}

.hub-euro-pill.is-uecl {
  background: #15803d;
}

/* Düello Turnuva Seçici Barı & H2H Turnuva Etiketi */
.duel-comp-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 12px 20px;
  background: #fafafa;
}

.duel-h2h-comp-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 4px;
  background: #111111;
  color: #ffffff;
  margin-right: 6px;
}

.duel-h2h-comp-pill.is-euro {
  background: #15803d;
}

@media (max-width: 1180px) {
  .header-league-nav {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .duel-comp-bar {
    padding: 10px 14px;
  }
  .hub-board-head {
    gap: 8px;
  }
  .cp-nav-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .cp-nav-left {
    width: 100%;
    flex-wrap: wrap;
    gap: 6px;
  }
  .cp-nav-right {
    width: 100%;
    max-width: 100%;
  }
  .cp-stepper-box {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  .cp-stepper-btn {
    padding: 8px 11px;
    flex-shrink: 0;
  }
  .cp-stepper-btn span {
    display: none;
  }
  .cp-jump-select {
    flex: 1 1 0;
    min-width: 0 !important;
    width: 0 !important;
    max-width: 100%;
    text-overflow: ellipsis;
  }
}

/* ================================================================
   TR / EN DİL SEÇİCİ (HEADER LANGUAGE SWITCHER)
   ================================================================ */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 34px;
  padding: 2px;
  border-radius: 7px;
  border: 1px solid #cbd5e1;
  background: #f1f5f9;
  flex-shrink: 0;
}

.lang-btn {
  border: none;
  background: transparent;
  color: #52525b;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  height: 28px;
  padding: 0 8px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.14s ease;
}

.lang-btn:hover:not(.is-active) {
  color: #111111;
  background: rgba(255, 255, 255, 0.8);
}

.lang-btn.is-active {
  background: #111111;
  color: #ffffff;
}
