/* ═══════════════════════════════════════════════════════════════════════════
   FBAnalytik – UEFA Champions League Inspired Design System
   Midnight Navy (#080D4D) · Dark Indigo (#10145C) · Royal Blue (#073BE8) · Cyan (#00D9FF)
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* ── Design System Tokens (FMD Warm Editorial Light + Fenerbahçe Navy & Amber) ── */
  /* Surfaces (Warm Cream Ground → Pure White Cards → Soft Cream Zebra) */
  --bg-primary: #F7F5EE;
  --bg-secondary: #EFECE3;
  --bg-card: #FFFFFF;
  --bg-elevated: #FAF8F3;
  --bg-input: #FAF8F3;

  /* Primary Accent: Warm Amber Gold & Deep Fenerbahçe Navy */
  --accent: #0E7490;
  --accent-hover: #155E75;
  --accent-soft: #D9F5F9;
  --accent-border: rgba(14, 116, 144, 0.35);

  /* Brand & Legacy Aliases */
  --brand-blue: #0A0E3F;
  --brand-blue-hover: #141B6B;
  --brand-blue-soft: rgba(10, 14, 63, 0.08);
  --accent-cyan: #0A0E3F;
  --accent-cyan-dim: rgba(10, 14, 63, 0.08);
  --accent-cyan-border: rgba(10, 14, 63, 0.22);
  --fb-yellow: #FFD400;
  --fb-yellow-light: #FFF4B8;
  --fb-yellow-dim: rgba(255, 212, 0, 0.18);
  --fb-gold: #FFD400;
  --fb-turquoise: #06B6D4;
  --fb-navy: #0A0E3F;
  --fb-navy-light: #141B6B;
  --fb-navy-card: #FFFFFF;
  --fb-blue: #0A0E3F;

  /* Text Hierarchy (High-Contrast Navy on Warm Cream & White) */
  --text-primary: #0A0E3F;
  --text-secondary: #5A6075;
  --text-muted: #7B8196;

  /* Borders (1px Subtle Warm Stone) */
  --border-subtle: #E8E4D9;
  --border-strong: #D4CFC2;
  --glass-bg: #FFFFFF;
  --glass-border: #E8E4D9;
  --glass-hover: rgba(255, 212, 0, 0.08);

  /* 3 Semantic Colors */
  --sem-pos: #059669;
  --sem-neg: #DC2626;
  --sem-warn: #0E7490;
  --green-win: #059669;
  --red-loss: #DC2626;
  --draw-color: #64748B;
  --amber-warn: #0E7490;

  /* Spacing Scale: 4 / 8 / 12 / 16 / 24 / 32 / 48 */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-12: 48px;

  /* Radii (Soft Editorial 16px Cards) */
  --r-card: 16px;
  --r-btn: 10px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 18px;

  /* Soft Editorial Shadow */
  --shadow-elev: 0 4px 16px rgba(10, 14, 63, 0.06);
  --shadow-card: 0 2px 10px rgba(10, 14, 63, 0.04);
  --shadow-glow: 0 4px 16px rgba(10, 14, 63, 0.08);

  /* Z-Index Scale */
  --z-sticky: 40;
  --z-header: 100;
  --z-dropdown: 200;
  --z-tooltip: 300;

  /* Broadcast Motion (150ms–200ms) */
  --transition-fast: 160ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-med: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  background-color: var(--bg-primary);
  background-image: radial-gradient(ellipse 80% 45% at 50% 0%, rgba(23, 37, 84, 0.42) 0%, rgba(9, 13, 22, 0) 70%);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

/* Enforce tabular numerals on all numerical data */
.hero-stat-val,
.standings-table td,
.points-cell,
.rank-num,
.info-card-value,
.prob-card-val,
.match-score,
.event-min,
.ucl-stat-num,
.ucl-match-score,
.upcoming-score-val,
.upcoming-xg,
.upcoming-prob-labels,
.player-rating,
.p-stat-val,
.player-form-pill,
.bench-rating,
.sim-result-score,
.sim-prob-bar,
.score-prob-item,
.coach-m-val,
.coach-period-badge,
.transfer-metrics strong {
  font-variant-numeric: tabular-nums;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-blue);
}

/* Keyboard Focus Accessibility */
:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ══════════════ HEADER & NAVIGATION ══════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, #0F172A 0%, #131C31 55%, #0B1120 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 clamp(16px, 3vw, 40px);
  box-shadow: 0 4px 18px rgba(2, 6, 23, 0.5);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-crest-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.sim-crest-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-badge {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--brand-blue) 0%, #0529A6 100%);
  border: 1px solid var(--accent-cyan-border);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.logo-title {
  display: block;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--text-primary);
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.logo-sub {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav.nav-mega {
  overflow: visible;
}
.nav::-webkit-scrollbar { display: none; }

.nav-link {
  position: relative;
  padding: 8px 15px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  color: #E2E8F0;
  transition: color var(--transition-fast), background-color var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.10);
}

.nav-link.active {
  color: #020838;
  background: #00E5FF;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(0, 229, 255, 0.35);
}

.nav-link.active::after {
  display: none;
}

.update-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

/* ══════════════ HERO BANNER (COMPACT UEFA BROADCAST HEADER) ══════════════ */
.hero {
  position: relative;
  padding: clamp(28px, 4vw, 44px) clamp(16px, 3vw, 40px);
  background: #0B0E14;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 28px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 13, 22, 0.86) 0%, rgba(9, 13, 22, 0.56) 55%, rgba(9, 13, 22, 0.80) 100%),
    url('hero_cover.jpg') center/cover no-repeat;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  text-align: left;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: rgba(7, 59, 232, 0.35);
  border: 1px solid var(--accent-cyan-border);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.6px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.hero-title br {
  display: none;
}

.hero-accent {
  color: var(--accent-cyan);
  margin-left: 6px;
}

.hero-desc {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  box-shadow: var(--shadow-card);
  margin-left: auto;
}

.hero-stat {
  text-align: center;
  padding: 0 22px;
}

.hero-stat-val {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.hero-stat:first-child .hero-stat-val {
  color: var(--accent-cyan);
}

.hero-stat-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 3px;
}

.hero-stat-divider {
  width: 1px;
  height: 38px;
  background: var(--border-subtle);
  flex-shrink: 0;
}

/* ══════════════ MAIN LAYOUT ══════════════ */
.main-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px) 72px;
}

.tab-section {
  display: none;
  animation: fadeIn 180ms ease-out;
}
.tab-section.active {
  display: block;
}

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

/* ══════════════ SECTION HEADER ══════════════ */
.section-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.section-header h2 {
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 400;
}

/* ══════════════ TABLES & STANDINGS ══════════════ */
.table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.standings-table thead tr {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.standings-table th {
  padding: 12px 14px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.standings-table th:nth-child(2) {
  text-align: left;
}

.standings-table tbody tr {
  border-bottom: 1px solid rgba(41, 50, 124, 0.55);
  transition: background-color var(--transition-fast);
}

.standings-table tbody tr:hover {
  background: rgba(7, 59, 232, 0.14);
}

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

.standings-table td {
  padding: 11px 14px;
  text-align: center;
  color: var(--text-primary);
  font-weight: 500;
}

.standings-table td:nth-child(2) {
  text-align: left;
}

.rank-num {
  font-weight: 700;
  font-size: 12px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

.rank-cl {
  background: rgba(7, 59, 232, 0.35);
  border: 1px solid rgba(0, 217, 255, 0.35);
  color: var(--accent-cyan);
}
.rank-el {
  background: rgba(245, 184, 65, 0.16);
  border: 1px solid rgba(245, 184, 65, 0.35);
  color: var(--amber-warn);
}
.rank-ecl {
  background: rgba(31, 209, 154, 0.15);
  border: 1px solid rgba(31, 209, 154, 0.35);
  color: var(--green-win);
}
.rank-rel {
  background: rgba(255, 84, 112, 0.15);
  border: 1px solid rgba(255, 84, 112, 0.35);
  color: var(--red-loss);
}
.rank-default {
  color: var(--text-secondary);
}

.team-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.team-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.team-name-cell {
  font-weight: 600;
  color: var(--text-primary);
}

.team-fb {
  color: var(--accent-cyan);
  font-weight: 700;
}

.form-badges {
  display: flex;
  gap: 4px;
  justify-content: center;
}

.form-badge {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.form-W { background: rgba(31, 209, 154, 0.18); color: var(--green-win); }
.form-D { background: rgba(143, 153, 196, 0.18); color: var(--draw-color); }
.form-L { background: rgba(255, 84, 112, 0.18); color: var(--red-loss); }

.points-cell {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text-primary);
}

.fb-row td {
  background: rgba(7, 59, 232, 0.22);
}
.fb-row td:first-child {
  box-shadow: inset 3px 0 0 var(--accent-cyan);
}
.fb-row .points-cell {
  color: var(--accent-cyan);
}

/* ══════════════ UEFA.COM OFFICIAL TABLE STYLE (WHITE CARD + PHASE SWITCHER) ══════════════ */
.uefa-phase-switcher-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 0 22px;
}

.uefa-phase-pills {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
}

.uefa-phase-pill {
  background: transparent;
  color: #E2E8F0;
  border: none;
  border-radius: 7px;
  padding: 8px 28px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.uefa-phase-pill.active {
  background: #040938;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.uefa-standings-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 18px 28px 28px;
  box-shadow: 0 10px 30px rgba(2, 8, 56, 0.38);
  position: relative;
}

.uefa-standings-table thead tr {
  background: #FFFFFF;
  border-bottom: none;
}

.uefa-standings-table th {
  color: #64748B;
  font-size: 12px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  padding: 10px 12px 6px;
}

.uefa-standings-table tbody tr {
  border-bottom: 1px solid #E2E8F0;
  background: #FFFFFF;
}

.uefa-standings-table tbody tr:hover {
  background: #F8FAFC;
}

.uefa-standings-table td {
  color: #1E293B;
  font-size: 14px;
  font-weight: 400;
  padding: 14px 12px;
}

.uefa-standings-table .points-cell {
  color: #0F172A;
  font-weight: 700;
  font-size: 15px;
}

.uefa-standings-table .team-name-cell {
  color: #0F172A;
  font-weight: 500;
  font-size: 15px;
}

/* Highlighted Fenerbahçe Row inside the UEFA White Table */
.uefa-standings-table .fb-row td {
  background: #EFF6FF;
}
.uefa-standings-table .fb-row td:first-child {
  box-shadow: inset 4px 0 0 #073BE8;
}
.uefa-standings-table .fb-row .team-fb {
  color: #073BE8;
  font-weight: 700;
}
.uefa-standings-table .fb-row .points-cell {
  color: #073BE8;
  font-weight: 800;
}

/* Qualification Zone Header Rows (STRAIGHT TO R16 style) */
.uefa-zone-row {
  border-bottom: none !important;
  background: #FFFFFF !important;
}
.uefa-zone-row:hover {
  background: #FFFFFF !important;
}
.uefa-zone-cell {
  text-align: left !important;
  padding: 14px 4px 6px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #64748B !important;
  border-bottom: 2px solid #94A3B8;
}

/* Rank + Movement Arrow */
.uefa-rank-td {
  width: 58px;
  padding-left: 8px !important;
  padding-right: 4px !important;
}

.uefa-rank-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.uefa-rank-num {
  font-size: 13.5px;
  color: #475569;
  font-weight: 500;
  min-width: 16px;
  text-align: right;
}

.uefa-trend {
  font-size: 9px;
  line-height: 1;
}
.uefa-trend.up { color: #16A34A; }
.uefa-trend.down { color: #DC2626; }
.uefa-trend.same { color: #94A3B8; font-size: 12px; font-weight: 700; }

/* Club Crests in Standings */
.uefa-club-crest-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}

.uefa-club-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: -0.3px;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

/* Circular Form Guide (Exact UEFA.com style with latest match underlined) */
.uefa-form-guide {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.uefa-form-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.uefa-form-wrap.is-latest::after {
  content: '';
  display: block;
  width: 18px;
  height: 2.5px;
  background: #15803D;
  border-radius: 2px;
  margin-top: 3px;
}

.uefa-form-guide .form-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.uefa-form-W {
  background: #15803D;
  color: #FFFFFF;
}

.uefa-form-D {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: #475569;
}

.uefa-form-L {
  background: #DC2626;
  color: #FFFFFF;
}

/* Simulate Results Pill CTA Button */
.uefa-simulate-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.uefa-simulate-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #073BE8;
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 12px 28px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(7, 59, 232, 0.42);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.uefa-simulate-pill-btn:hover {
  background: #1A4DFF;
  transform: translateY(-1px);
}

.uefa-sim-icon {
  font-size: 14px;
}

/* ══════════════ INFO CARDS ROW ══════════════ */
.cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
  box-shadow: var(--shadow-card);
}

.info-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-elevated);
}

.info-card.highlight {
  border-color: var(--accent-cyan-border);
  background: linear-gradient(135deg, rgba(7, 59, 232, 0.28) 0%, var(--bg-card) 100%);
}

.info-card-icon {
  font-size: 22px;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  display: grid;
  place-items: center;
}

.info-card-title {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
  margin-bottom: 3px;
}

.info-card-value {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

.info-card.highlight .info-card-value {
  color: var(--accent-cyan);
}

/* ══════════════ BUTTONS & CONTROLS ══════════════ */
.sim-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--brand-blue);
  color: var(--text-primary);
  border: 1px solid rgba(0, 217, 255, 0.35);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  box-shadow: 0 2px 10px rgba(7, 59, 232, 0.35);
}

.btn-primary:hover {
  background: var(--brand-blue-hover);
  border-color: var(--accent-cyan);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-primary.loading,
.btn-primary:disabled {
  opacity: 0.65;
  pointer-events: none;
}

.btn-icon {
  font-size: 11px;
  color: var(--accent-cyan);
}

.sim-info {
  color: var(--text-secondary);
  font-size: 13px;
}

/* Filter & Secondary Action Buttons */
.players-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 7px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.filter-btn:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.filter-btn.active {
  background: var(--brand-blue);
  color: var(--text-primary);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 1px rgba(0, 217, 255, 0.25);
}

/* ══════════════ CHARTS & ANALYTICAL CARDS ══════════════ */
.charts-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-bottom: 20px;
}

.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition-fast);
  grid-column: span 6;
}

.chart-card:hover {
  border-color: var(--border-strong);
}

.chart-card.wide { grid-column: span 12; }
.chart-card.full-width { grid-column: 1 / -1; }

.chart-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(41, 50, 124, 0.5);
  flex-wrap: wrap;
  gap: 8px;
}

.chart-card-header h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--text-primary);
}

.chart-badge {
  padding: 4px 10px;
  background: rgba(7, 59, 232, 0.28);
  border: 1px solid var(--accent-cyan-border);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-cyan);
}

.chart-wrap {
  position: relative;
  height: 280px;
}
.chart-wrap.tall {
  height: 350px;
}

/* ══════════════ PROBABILITY SUMMARY GRID ══════════════ */
.prob-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.prob-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
  box-shadow: var(--shadow-card);
}

.prob-card:hover {
  border-color: var(--accent-cyan-border);
  background: var(--bg-elevated);
}

.prob-card-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.prob-card-label {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}

.prob-card-val {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-cyan);
}

.prob-card-sub {
  font-size: 11.5px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ══════════════ EUROPE LEGEND ══════════════ */
.euro-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
}

.euro-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}
.euro-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

/* ══════════════ MATCH ANALYSIS & WIN PROBABILITY ══════════════ */
.match-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.match-selector-label {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.match-selector select,
.sim-select,
.db-input {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 500;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.match-selector select {
  min-width: 280px;
}

.match-selector select:hover,
.sim-select:hover,
.db-input:hover {
  border-color: var(--border-strong);
}

.match-selector select:focus,
.sim-select:focus,
.db-input:focus {
  border-color: var(--accent-cyan);
}

.match-scoreboard {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 40px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.match-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 120px;
}

.team-logo {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.8px;
}

.team-logo.yellow {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #04248F 100%);
  border: 1px solid var(--accent-cyan);
  color: var(--text-primary);
}

.team-logo.red {
  background: linear-gradient(135deg, #B81D3A 0%, #7A1125 100%);
  border: 1px solid rgba(255, 84, 112, 0.5);
  color: #fff;
}

.team-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
}

.match-score {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 6px 24px;
  min-width: 140px;
  text-align: center;
}

.legend-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}
.legend-dot { width: 12px; height: 3px; border-radius: 2px; }
.legend-dot.yellow { background: var(--accent-cyan); }
.legend-dot.gray { background: var(--draw-color); }
.legend-dot.red { background: var(--red-loss); }

.events-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.event-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 12.5px;
  transition: border-color var(--transition-fast);
}

.event-item:hover {
  border-color: var(--accent-cyan-border);
}

.event-min {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-cyan);
  background: var(--accent-cyan-dim);
  padding: 2px 6px;
  border-radius: 4px;
}

.event-type { font-size: 15px; }
.event-desc { color: var(--text-secondary); font-weight: 500; }

.event-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  margin-bottom: 8px;
}

.event-filter-btn {
  background: rgba(7, 59, 232, 0.12);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.event-filter-btn:hover,
.event-filter-btn.active {
  background: var(--accent-cyan-dim);
  border-color: var(--accent-cyan);
  color: var(--text-primary);
}

.event-item.is-sub {
  border-left: 3px solid #22d3a0;
  background: rgba(17, 74, 58, 0.18);
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 260px;
}

.event-item.is-goal {
  border-left: 3px solid #00D9FF;
  background: rgba(0, 217, 255, 0.12);
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 260px;
}

.event-item.is-card {
  border-left: 3px solid #ffb74d;
}

.event-item-top {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.sub-pills-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11.5px;
}

.sub-badge-in {
  color: #22d3a0;
  background: rgba(34, 211, 160, 0.15);
  border: 1px solid rgba(34, 211, 160, 0.35);
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
}

.sub-badge-out {
  color: #ff5470;
  background: rgba(255, 84, 112, 0.15);
  border: 1px solid rgba(255, 84, 112, 0.35);
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
}

.sub-impact-note {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  background: rgba(4, 7, 38, 0.45);
  border-radius: 4px;
  padding: 4px 8px;
  width: 100%;
}

.sub-delta-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: #00D9FF;
  margin-right: 4px;
}

/* 🔄 Taktik Hamle & Değişiklik Etki Kartları */
.sub-impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.sub-impact-card {
  background: rgba(7, 59, 232, 0.08);
  border: 1px solid rgba(34, 211, 160, 0.25);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sub-impact-card.positive {
  border-left: 3px solid #22d3a0;
}

.sub-impact-card.decisive {
  border-left: 3px solid #00D9FF;
  background: rgba(0, 217, 255, 0.08);
}

.sub-impact-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.sub-impact-time {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: #00D9FF;
  background: rgba(0, 217, 255, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ══════════════ UCL TAB ══════════════ */
.ucl-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.ucl-stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition-fast);
}

.ucl-stat-box:hover {
  border-color: var(--border-strong);
}

.ucl-stat-box.danger {
  border-color: rgba(255, 84, 112, 0.45);
  background: linear-gradient(180deg, rgba(255, 84, 112, 0.10) 0%, var(--bg-card) 100%);
}

.ucl-stat-box.warn {
  border-color: var(--accent-cyan-border);
  background: linear-gradient(180deg, rgba(7, 59, 232, 0.25) 0%, var(--bg-card) 100%);
}

.ucl-stat-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: -0.8px;
}

.ucl-stat-box.danger .ucl-stat-num { color: var(--red-loss); }

.ucl-stat-lbl {
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 4px;
  color: var(--text-primary);
}

.ucl-stat-sub {
  font-size: 11.5px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.ucl-match-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(41, 50, 124, 0.55);
  width: 100%;
}

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

.ucl-match-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ucl-opp-name {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text-primary);
}

.ucl-match-meta {
  font-size: 11.5px;
  color: var(--text-secondary);
}

.ucl-match-score {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 14px;
  color: var(--accent-cyan);
  background: rgba(7, 59, 232, 0.28);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: 5px;
}

.ucl-venue-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.ucl-venue-tag.home {
  background: rgba(7, 59, 232, 0.35);
  border: 1px solid rgba(0, 217, 255, 0.35);
  color: var(--accent-cyan);
}

.ucl-venue-tag.away {
  background: rgba(169, 177, 213, 0.14);
  color: var(--text-secondary);
}

.ucl-match-status {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ══════════════ UPCOMING MATCHES TAB ══════════════ */
.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 18px;
}

.upcoming-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.upcoming-card:hover {
  border-color: var(--accent-cyan-border);
  background: var(--bg-elevated);
}

.upcoming-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(41, 50, 124, 0.5);
}

.upcoming-week {
  color: var(--text-secondary);
  font-weight: 600;
}

.upcoming-venue-badge {
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.upcoming-venue-badge.home {
  background: rgba(31, 209, 154, 0.15);
  color: var(--green-win);
}

.upcoming-venue-badge.away {
  background: rgba(0, 217, 255, 0.14);
  color: var(--accent-cyan);
}

.upcoming-matchup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: center;
}

.upcoming-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.upcoming-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
}

.upcoming-badge.fb {
  background: var(--brand-blue);
  border: 1px solid var(--accent-cyan);
  color: var(--text-primary);
}

.upcoming-badge.opp {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.upcoming-team-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.upcoming-score-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  min-width: 108px;
}

.upcoming-score-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

.upcoming-score-val {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-cyan);
  font-family: 'JetBrains Mono', monospace;
  margin: 2px 0;
}

.upcoming-xg {
  font-size: 11px;
  color: var(--text-secondary);
}

.upcoming-probs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.upcoming-prob-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 600;
}

.upcoming-multi-bar {
  height: 7px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  background: var(--bg-primary);
}

.bar-seg.win { background: var(--accent-cyan); }
.bar-seg.draw { background: var(--draw-color); }
.bar-seg.lose { background: var(--red-loss); }

.upcoming-footer {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-secondary);
  padding-top: 10px;
  border-top: 1px solid rgba(41, 50, 124, 0.5);
}

/* ══════════════ PLAYERS TAB ══════════════ */
.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 16px;
}

.player-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.player-card:hover {
  border-color: var(--accent-cyan-border);
  background: var(--bg-elevated);
}

.player-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.player-no {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(7, 59, 232, 0.32);
  border: 1px solid var(--border-subtle);
  color: var(--accent-cyan);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.player-info { flex: 1; }

.player-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
}

.player-meta {
  font-size: 12px;
  color: var(--text-secondary);
}

.player-rating {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  border: 1.5px solid var(--accent-cyan);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13.5px;
  font-family: 'JetBrains Mono', monospace;
}

.player-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  background: var(--bg-primary);
  border: 1px solid rgba(41, 50, 124, 0.6);
  padding: 10px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.p-stat-val {
  display: block;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
}

.p-stat-lbl {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-top: 2px;
}

.player-footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-secondary);
}

.player-form-row {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.player-form-pill {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-primary);
}

.player-transfer {
  color: var(--text-muted);
  font-size: 11px;
}

/* ══════════════ SIMULATOR TAB ══════════════ */
.sim-top-row {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 1fr;
  gap: 18px;
  align-items: start;
}

.sim-panel,
.sim-vs-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.sim-vs-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.sim-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.sim-team-badge {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13.5px;
}

.yellow-badge {
  background: var(--brand-blue);
  border: 1px solid var(--accent-cyan);
  color: var(--text-primary);
}

.red-badge {
  background: #9E1B34;
  border: 1px solid rgba(255, 84, 112, 0.5);
  color: #fff;
}

.sim-team-name {
  font-weight: 700;
  font-size: 15.5px;
  color: var(--text-primary);
}

.sim-team-sub {
  font-size: 11.5px;
  color: var(--text-secondary);
}

.sim-select {
  margin-left: auto;
}

/* Tactical Pitch */
.pitch-container {
  width: 100%;
  margin-bottom: 16px;
}

.pitch {
  position: relative;
  width: 100%;
  height: 420px;
  background: linear-gradient(180deg, #0D3B2E 0%, #114A3A 25%, #0D3B2E 50%, #114A3A 75%, #0D3B2E 100%);
  border: 1.5px solid rgba(247, 248, 255, 0.28);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: inset 0 0 24px rgba(4, 7, 38, 0.55);
}

.pitch-lines::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(247, 248, 255, 0.22);
}

.pitch-lines::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(247, 248, 255, 0.22);
  border-radius: 50%;
}

.pitch-player {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform var(--transition-fast);
  z-index: 2;
  user-select: none;
}

.pitch-player:hover {
  transform: translate(-50%, -53%) scale(1.06);
}

.pitch-player.selected .pitch-player-circle {
  background: var(--accent-cyan);
  color: #080D4D;
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.45);
}

.pitch-player-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: var(--text-primary);
  border: 2px solid var(--accent-cyan);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 11.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.pitch-player-name {
  background: rgba(8, 13, 77, 0.92);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 10.5px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  margin-top: 3px;
  white-space: nowrap;
}

.pitch-player-role {
  font-size: 9.5px;
  color: var(--accent-cyan);
  font-weight: 600;
}

/* Bench */
.bench-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.bench-players {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bench-item {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.bench-item:hover,
.bench-item.ready-swap {
  border-color: var(--accent-cyan);
  background: rgba(7, 59, 232, 0.28);
}

.bench-no {
  color: var(--accent-cyan);
  font-weight: 700;
}

.bench-name { font-weight: 600; color: var(--text-primary); }

.bench-pos {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  padding: 1px 5px;
  border-radius: 3px;
}

.bench-rating {
  font-size: 11px;
  color: var(--green-win);
  font-weight: 700;
}

/* VS Center Panel */
.sim-vs-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
}

.sim-result-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  width: 100%;
}

.sim-result-team {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-secondary);
}

.sim-result-score {
  font-size: 34px;
  font-weight: 700;
  color: var(--accent-cyan);
  font-family: 'JetBrains Mono', monospace;
}

.sim-xg-row {
  font-size: 12.5px;
  color: var(--text-secondary);
}

.sim-xg-row strong {
  color: var(--accent-cyan);
}

.sim-probs {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sim-prob-bar {
  display: grid;
  grid-template-columns: 95px 1fr 48px;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
}

.prog-bar {
  height: 7px;
  background: var(--bg-primary);
  border-radius: 4px;
  overflow: hidden;
}

.prog-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 200ms ease;
}

.prog-fill.yellow { background: var(--accent-cyan); }
.prog-fill.gray { background: var(--draw-color); }
.prog-fill.red { background: var(--red-loss); }

/* Opponent Panel */
.opp-meta {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.opp-players-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.opp-player-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  cursor: pointer;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.opp-player-chip:hover {
  border-color: var(--accent-cyan-border);
  background: var(--bg-secondary);
}

.opp-player-chip.selected {
  border-color: var(--accent-cyan);
  background: rgba(7, 59, 232, 0.32);
}

.opp-chip-no {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 11px;
  width: 18px;
}

.score-prob-item {
  display: grid;
  grid-template-columns: 75px 1fr 48px;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(41, 50, 124, 0.45);
}

.score-prob-item:last-child { border-bottom: none; }

.score-prob-item.top-pick .score-prob-label,
.score-prob-item.top-pick .score-prob-pct {
  color: var(--accent-cyan);
  font-weight: 700;
}

.score-prob-bar-wrap {
  height: 6px;
  background: var(--bg-primary);
  border-radius: 3px;
  overflow: hidden;
}

.score-prob-bar-fill {
  height: 100%;
  background: var(--brand-blue);
  border-radius: 3px;
}

.score-prob-item.top-pick .score-prob-bar-fill {
  background: var(--accent-cyan);
}

/* ══════════════ COACH & TRANSFER ANALYTICS TAB ══════════════ */
.coach-top-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 18px;
}

.coach-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  padding: 14px;
  border-radius: var(--radius-md);
  text-align: center;
  margin-bottom: 16px;
}

.coach-m-val {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-cyan);
  font-family: 'JetBrains Mono', monospace;
}

.coach-m-lbl {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 2px;
}

.coach-periods-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.coach-period-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-cyan);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.coach-period-item.up { border-left-color: var(--green-win); }
.coach-period-item.down { border-left-color: var(--red-loss); }

.coach-period-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  gap: 8px;
}

.coach-period-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent-cyan);
  font-weight: 700;
}

.coach-period-note {
  font-size: 12px;
  color: var(--text-secondary);
}

.dom-for-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
}

.dom-players-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dom-player-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.transfer-impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 14px;
}

.transfer-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--transition-fast);
}

.transfer-card:hover {
  border-color: var(--border-strong);
}

.transfer-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14.5px;
  font-weight: 700;
}

.transfer-badge {
  font-size: 11px;
  font-weight: 600;
  background: rgba(7, 59, 232, 0.32);
  border: 1px solid var(--accent-cyan-border);
  color: var(--accent-cyan);
  padding: 2px 8px;
  border-radius: 4px;
}

.transfer-sub {
  font-size: 12px;
  color: var(--text-secondary);
}

.transfer-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--bg-secondary);
  border: 1px solid rgba(41, 50, 124, 0.55);
  padding: 10px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.transfer-metrics span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.transfer-metrics strong {
  font-size: 13px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}

/* ══════════════ MATCH STATS DETAIL & DATA ENGINE ══════════════ */
.match-stat-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.m-stat-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.m-stat-head {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
}

.db-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.db-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.db-field label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.db-events-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.db-event-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ══════════════ SHOT MAP (MAÇ ANALİZİ ŞUT HARİTASI) ══════════════ */
.shotmap-pitch {
  position: relative;
  width: 100%;
  height: 220px;
  background: linear-gradient(90deg, #0D3B2E 0%, #114A3A 25%, #0D3B2E 50%, #114A3A 75%, #0D3B2E 100%);
  border: 1.5px solid rgba(247, 248, 255, 0.3);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: inset 0 0 24px rgba(4, 7, 38, 0.55);
}

.shotmap-center-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(247, 248, 255, 0.25);
}

.shotmap-center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(247, 248, 255, 0.25);
  border-radius: 50%;
}

.shotmap-Penalty-left {
  position: absolute;
  left: 0;
  top: 22%;
  height: 56%;
  width: 16%;
  border: 1px solid rgba(247, 248, 255, 0.3);
  border-left: none;
}

.shotmap-Penalty-right {
  position: absolute;
  right: 0;
  top: 22%;
  height: 56%;
  width: 16%;
  border: 1px solid rgba(247, 248, 255, 0.3);
  border-right: none;
}

.shot-dot {
  position: absolute;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  transition: transform 160ms ease;
  z-index: 3;
}

.shot-dot:hover {
  transform: translate(-50%, -50%) scale(1.28);
  z-index: 10;
}

/* ══════════════ FOOTER ══════════════ */
.footer {
  background: #0B0E14;
  border-top: 1px solid var(--border-subtle);
  padding: 32px clamp(16px, 3vw, 40px);
  text-align: center;
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 12.5px;
  max-width: 540px;
  margin: 0 auto 6px;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 11.5px;
}

/* ══════════════ RESPONSIVE DESIGN ══════════════ */
@media (max-width: 1024px) {
  .sim-top-row {
    grid-template-columns: 1fr;
  }
  .hero-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-stats {
    margin-left: 0;
    width: 100%;
    justify-content: space-around;
  }
}

@media (max-width: 900px) {
  .charts-grid { grid-template-columns: 1fr !important; }
  .chart-card,
  .chart-card.wide,
  .chart-card.full-width { grid-column: 1 / -1 !important; width: 100%; }
  .coach-top-grid { grid-template-columns: 1fr; }
  .header-inner { gap: 12px; }
  .update-badge { display: none; }
}

@media (max-width: 640px) {
  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px;
  }
  .hero-stat {
    padding: 0 12px;
    flex: 1 1 40%;
  }
  .hero-stat-divider {
    display: none;
  }
  .match-scoreboard {
    padding: 18px 14px;
    gap: 14px;
  }
  .match-score {
    font-size: 32px;
    min-width: 96px;
    padding: 4px 14px;
  }
  .prob-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .standings-table {
    font-size: 12px;
  }
  .standings-table th,
  .standings-table td {
    padding: 9px 8px;
  }
  .db-form-grid {
    grid-template-columns: 1fr;
  }
  .upcoming-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   15. UEFA ŞAMPİYONLAR LİGİ AVRUPA FİKSTÜR & UÇUŞ ROTALARI HARİTASI
   (Referans Turkuaz Stil, Animasyonlu Kesikli Çizgiler, Pinler & Uçak İkonları)
   ========================================================================== */

.ucl-map-wrapper {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  background: #6bdbe8;
  transition: background 0.3s ease;
}

.ucl-europe-svg {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
}

/* Reference Theme (Matches User Reference Image) */
.ucl-map-wrapper.theme-reference {
  background: #6bdbe8;
}
.ucl-map-wrapper.theme-reference .ocean-bg {
  fill: #6bdbe8;
}
.ucl-map-wrapper.theme-reference .map-grid line {
  stroke: rgba(255, 255, 255, 0.28);
}
.ucl-map-wrapper.theme-reference .landmasses path {
  fill: #cbeef8;
  stroke: #8ee5f0;
  stroke-width: 1.2;
}
.ucl-map-wrapper.theme-reference .flight-line {
  stroke: #1e293b;
}
.ucl-map-wrapper.theme-reference .airplane-marker path {
  fill: #1e293b;
}

/* UCL Dark Theme Option */
.ucl-map-wrapper.theme-dark {
  background: #080f26;
  border-color: rgba(0, 217, 255, 0.25);
}
.ucl-map-wrapper.theme-dark .ocean-bg {
  fill: url(#oceanRadGrad);
}
.ucl-map-wrapper.theme-dark .map-grid line {
  stroke: rgba(148, 163, 184, 0.06);
}
.ucl-map-wrapper.theme-dark .landmasses path {
  fill: url(#landGrad);
  stroke: rgba(56, 189, 248, 0.24);
  stroke-width: 1.1;
}
.ucl-map-wrapper.theme-dark .flight-line {
  stroke: #00D9FF;
}
.ucl-map-wrapper.theme-dark .airplane-marker path {
  fill: #FFD700;
}
.ucl-map-wrapper .map-pin text,
.ucl-map-wrapper .origin-pin text {
  stroke: none !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  letter-spacing: 0.01em;
}

/* Flight Path Animation (Dashed curves moving forward like live radar) */
@keyframes flightRadarDash {
  to {
    stroke-dashoffset: -24;
  }
}

.flight-group {
  cursor: pointer;
}

.flight-line {
  stroke-width: 2.2px;
  stroke-dasharray: 6, 6;
  animation: flightRadarDash 2s linear infinite;
  transition: stroke 0.2s ease, stroke-width 0.2s ease, filter 0.2s ease;
}

.flight-group:hover .flight-line,
.flight-group.highlighted .flight-line {
  stroke: #e11d48 !important;
  stroke-width: 3.6px !important;
  filter: drop-shadow(0 0 6px rgba(225, 29, 72, 0.8));
}

.ucl-map-wrapper.theme-dark .flight-group:hover .flight-line,
.ucl-map-wrapper.theme-dark .flight-group.highlighted .flight-line {
  stroke: #FFD700 !important;
  stroke-width: 3.6px !important;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.85));
}

.airplane-marker {
  transition: transform 0.2s ease, filter 0.2s ease;
  pointer-events: none;
}

.flight-group:hover .airplane-marker,
.flight-group.highlighted .airplane-marker {
  filter: drop-shadow(0 0 5px rgba(225, 29, 72, 0.9));
}

/* Pins */
.map-pin {
  cursor: pointer;
  transition: filter 0.2s ease;
}

.map-pin:hover,
.map-pin.active {
  filter: drop-shadow(0 0 8px rgba(0, 217, 255, 0.95)) brightness(1.15);
}

.origin-pin {
  cursor: pointer;
  transition: filter 0.2s ease;
}

.origin-pin:hover {
  filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.95)) brightness(1.12);
}

/* Map Quick KPI Bar */
.ucl-map-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.ucl-map-stat-item {
  background: var(--bg-card, #131b2e);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: transform 0.2s, border-color 0.2s;
}

.ucl-map-stat-item:hover {
  border-color: rgba(0, 217, 255, 0.3);
  transform: translateY(-1px);
}

.ucl-map-stat-item .lbl {
  font-size: 11.5px;
  color: var(--text-secondary, #94a3b8);
  font-weight: 600;
}

.ucl-map-stat-item .val {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-primary, #ffffff);
}

.ucl-map-stat-item.highlight {
  border-color: rgba(0, 217, 255, 0.4);
  background: rgba(0, 217, 255, 0.06);
}

.ucl-map-stat-item.highlight .val {
  color: #00D9FF;
}

/* Floating Tooltip */
.ucl-map-tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(15, 23, 42, 0.95);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  z-index: 60;
  transform: translate(-50%, -115%);
  transition: opacity 0.15s ease, transform 0.15s ease;
  min-width: 240px;
  max-width: 320px;
}

.ucl-map-tooltip h4 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 800;
  color: #00D9FF;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ucl-map-tooltip .tt-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  font-size: 11.5px;
  color: #cbd5e1;
}

.ucl-map-tooltip .tt-row strong {
  color: #ffffff;
}

.ucl-map-tooltip .tt-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
  margin-top: 6px;
}

.ucl-map-tooltip .tt-badge.away {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.ucl-map-tooltip .tt-badge.home {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

/* Detail Card Panel */
.ucl-map-detail-panel {
  background: var(--bg-card, #131b2e);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  border-radius: 12px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.ucl-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ucl-detail-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ucl-detail-title h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary, #ffffff);
}

.ucl-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.ucl-detail-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px 14px;
}

.ucl-detail-box .d-lbl {
  font-size: 11px;
  color: var(--text-secondary, #94a3b8);
  font-weight: 600;
}

.ucl-detail-box .d-val {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary, #ffffff);
  margin-top: 2px;
}


/* ==========================================================================
   16. ANA SAYFA / DASHBOARD STILLERI
   (Haftalık Şampiyonluk Değişimi, Son Transferler & Kulüp Gelişmeleri)
   ========================================================================== */

.home-pulse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.home-pulse-card {
  background: var(--bg-card, #131b2e);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-pulse-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 217, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.home-pulse-card.primary {
  border-left: 4px solid #00D9FF;
}

.home-pulse-card.success {
  border-left: 4px solid #22c55e;
}

.home-pulse-card.warn {
  border-left: 4px solid #eab308;
}

.home-pulse-card.danger {
  border-left: 4px solid #ef4444;
}

.pulse-icon {
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
}

.pulse-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pulse-lbl {
  font-size: 11.5px;
  color: var(--text-secondary, #94a3b8);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.pulse-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary, #ffffff);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulse-delta {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.pulse-delta.down {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.pulse-delta.up {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

.pulse-sub {
  font-size: 11.5px;
  color: var(--text-secondary, #94a3b8);
  margin-top: 2px;
}

/* Contenders Bar */
.home-contenders-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.home-contender-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.home-contender-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.home-contender-tag.fb .dot { background: #00D9FF; box-shadow: 0 0 6px #00D9FF; }
.home-contender-tag.gs .dot { background: #FF334B; box-shadow: 0 0 6px #FF334B; }
.home-contender-tag.ts .dot { background: #C084FC; box-shadow: 0 0 6px #C084FC; }
.home-contender-tag.bjk .dot { background: #E2E8F0; box-shadow: 0 0 6px #E2E8F0; }

.home-contender-tag .name {
  font-weight: 600;
  color: var(--text-secondary, #94a3b8);
}

.home-contender-tag .prob {
  font-weight: 800;
  color: var(--text-primary, #ffffff);
}

.home-contender-tag .pts {
  font-size: 11px;
  color: var(--text-secondary, #64748b);
  margin-left: 2px;
}

/* Timeline Weekly Reasons */
.home-weekly-reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
}

.home-reason-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  line-height: 1.45;
  color: #cbd5e1;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.home-reason-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 217, 255, 0.3);
}

.home-reason-card strong {
  color: #00D9FF;
}

/* Two Column Grid */
.home-two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 960px) {
  .home-two-col-grid {
    grid-template-columns: 1fr;
  }
}

/* Transfers List */
.home-transfers-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 4px;
}

.home-transfer-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.home-transfer-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 217, 255, 0.3);
  transform: translateY(-1px);
}

.home-transfer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.home-transfer-name-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-transfer-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary, #ffffff);
}

.home-transfer-pos {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 217, 255, 0.12);
  color: #00D9FF;
  font-weight: 600;
}

.home-transfer-badge {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.home-transfer-badge.warn {
  background: rgba(234, 179, 8, 0.2);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.4);
}

.home-transfer-badge.primary {
  background: rgba(0, 217, 255, 0.2);
  color: #00D9FF;
  border: 1px solid rgba(0, 217, 255, 0.4);
}

.home-transfer-badge.success {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.home-transfer-badge.info {
  background: rgba(147, 51, 234, 0.2);
  color: #c084fc;
  border: 1px solid rgba(147, 51, 234, 0.4);
}

.home-transfer-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: var(--text-secondary, #94a3b8);
  flex-wrap: wrap;
  gap: 6px;
}

.home-transfer-stats {
  font-weight: 700;
  color: #ffffff;
}

.home-transfer-fee {
  font-weight: 700;
  color: #22c55e;
}

.home-transfer-note {
  font-size: 11.5px;
  color: #cbd5e1;
  line-height: 1.4;
  margin-top: 2px;
}

/* News List */
.home-news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 4px;
}

.home-news-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.home-news-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 217, 255, 0.3);
  transform: translateY(-1px);
}

.home-news-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.home-news-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}

.home-news-badge.danger {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.home-news-badge.success {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.home-news-badge.primary {
  background: rgba(0, 217, 255, 0.2);
  color: #00D9FF;
  border: 1px solid rgba(0, 217, 255, 0.4);
}

.home-news-badge.warn {
  background: rgba(234, 179, 8, 0.2);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.4);
}

.home-news-badge.info {
  background: rgba(147, 51, 234, 0.2);
  color: #c084fc;
  border: 1px solid rgba(147, 51, 234, 0.4);
}

.home-news-date {
  font-size: 11px;
  color: var(--text-secondary, #64748b);
}

.home-news-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-primary, #ffffff);
  line-height: 1.35;
}

.home-news-summary {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.45;
}

.home-news-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}

.home-news-impact {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.home-news-impact.warn {
  background: rgba(234, 179, 8, 0.15);
  color: #facc15;
}

.home-news-impact.success {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.home-news-impact.primary {
  background: rgba(0, 217, 255, 0.15);
  color: #00D9FF;
}

/* Clickable Home Overview Cards & Links */
.clickable-card {
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.clickable-card:hover {
  transform: translateY(-2px);
  border-color: #00D9FF !important;
  box-shadow: 0 6px 20px rgba(0, 217, 255, 0.18);
}

.hero-stat.clickable-card {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
}

.hero-stat.clickable-card:hover {
  background: rgba(0, 217, 255, 0.08);
  border-color: rgba(0, 217, 255, 0.4) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CLOUD-INSPIRED MEGA-MENU & EDITORIAL HOME ARCHITECTURE
   ═══════════════════════════════════════════════════════════════════════════ */

.nav-mega {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown {
  position: relative;
}

.nav-drop-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #cbd5e1;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.16s ease;
  white-space: nowrap;
}

.nav-drop-btn:hover,
.nav-dropdown:hover .nav-drop-btn,
.nav-dropdown.open .nav-drop-btn {
  background: rgba(0, 217, 255, 0.1);
  border-color: rgba(0, 217, 255, 0.32);
  color: #00D9FF;
}

.nav-drop-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.72);
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
}

.nav-drop-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-dropdown:hover .nav-drop-menu,
.nav-dropdown.open .nav-drop-menu {
  display: flex;
}

.nav-drop-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #F7F8FF;
  transition: background 0.15s ease;
}

.nav-drop-item:hover,
.nav-drop-item.active {
  background: rgba(7, 59, 232, 0.35);
}

.nav-drop-item-title {
  font-size: 13px;
  font-weight: 700;
  color: #F7F8FF;
}

.nav-drop-item.active .nav-drop-item-title {
  color: #00D9FF;
}

.nav-drop-item-sub {
  font-size: 11px;
  color: #94a3b8;
}

/* Band 1: 3-Card Announcement Strip */
.gc-announce-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.gc-announce-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.gc-announce-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}

.gc-announce-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  margin-bottom: 4px;
}

.gc-announce-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* Band 2: Split Overview + Accordion */
.gc-split-overview {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 36px;
  align-items: start;
  background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 28px;
}

.gc-overview-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.gc-overview-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 22px;
}

.gc-accordion {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-subtle);
}

.gc-acc-item {
  border-bottom: 1px solid var(--border-subtle);
}

.gc-acc-head {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 15px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  transition: color 0.15s;
}

.gc-acc-head:hover,
.gc-acc-item.open .gc-acc-head {
  color: var(--accent-cyan);
}

.gc-acc-body {
  display: none;
  padding: 0 4px 16px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.gc-acc-item.open .gc-acc-body {
  display: block;
}

/* Band 3: Dark Showcase Section */
.gc-dark-showcase {
  background: radial-gradient(circle at top right, rgba(26, 115, 232, 0.18), transparent 55%), var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 28px;
}

.gc-showcase-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

/* Band 4: Vertical Solutions Selector + Feature Panel */
.gc-solutions-band {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 28px;
  align-items: start;
}

.gc-sol-tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gc-sol-tab {
  background: transparent;
  border: 1px solid transparent;
  border-left: 3px solid transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 14px;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.16s ease;
}

.gc-sol-tab:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
}

.gc-sol-tab.active {
  background: rgba(26, 115, 232, 0.14);
  border-color: var(--accent-cyan-border);
  border-left-color: var(--accent-cyan);
  color: var(--text-primary);
  font-weight: 600;
}

.gc-sol-panel {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

/* Band 5: Bottom CTA & Multi-Column Footer */
.gc-cta-banner {
  background: linear-gradient(120deg, #1A73E8 0%, #131C31 70%, #0F172A 100%);
  border: 1px solid var(--accent-cyan-border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

.gc-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 24px;
  text-align: left;
  margin: 22px 0;
  padding: 22px 0;
  border-top: 1px solid rgba(41, 50, 124, 0.6);
  border-bottom: 1px solid rgba(41, 50, 124, 0.6);
}

.gc-footer-col h4 {
  font-size: 12.5px;
  font-weight: 800;
  color: #00D9FF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.gc-footer-col a {
  display: block;
  font-size: 12.5px;
  color: #A9B1D5;
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.15s;
}

.gc-footer-col a:hover {
  color: #F7F8FF;
}

@media (max-width: 960px) {
  .gc-announce-strip,
  .gc-split-overview,
  .gc-showcase-actions,
  .gc-solutions-band {
    grid-template-columns: 1fr;
  }
}

/* ── UEFA.com Visual-First Home Ticker, Story Rings, Headlines & Bento ── */
.uefa-home-ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 22px;
  scrollbar-width: none;
}

.uefa-home-ticker::-webkit-scrollbar { display: none; }

.uefa-ticker-card {
  min-width: 175px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 12px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.uefa-ticker-meta {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--accent-cyan);
  display: flex;
  justify-content: space-between;
}

.uefa-ticker-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.uefa-story-rings {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 2px 14px;
  margin-bottom: 22px;
  scrollbar-width: none;
}

.uefa-story-rings::-webkit-scrollbar { display: none; }

.uefa-story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 78px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.16s ease;
}

.uefa-story-item:hover {
  transform: translateY(-3px);
}

.uefa-story-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(135deg, #38BDF8 0%, #1A73E8 50%, #FACC15 100%);
  display: grid;
  place-items: center;
}

.uefa-story-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
}

.uefa-story-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.25;
  max-width: 82px;
}

.uefa-showcase-split {
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 24px;
}

.uefa-headlines-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.uefa-headline-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 8px;
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}

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

.uefa-headline-row:hover {
  background: rgba(56, 189, 248, 0.08);
}

.uefa-headline-thumb {
  width: 54px;
  height: 40px;
  border-radius: 6px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  color: var(--accent-cyan);
  flex-shrink: 0;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .uefa-showcase-split {
    grid-template-columns: 1fr;
  }
}

/* ── UEFA.com History Compare Club Stats + All-Time Leaders (Faz 3) ── */
.uefa-history-split {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 20px;
  margin-top: 24px;
  align-items: start;
}

.uefa-h2h-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.uefa-h2h-card {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.uefa-h2h-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-cyan);
}

.uefa-h2h-crests {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.uefa-leader-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13px;
}

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

.uefa-leader-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 800;
  color: var(--accent-cyan);
}

@media (max-width: 960px) {
  .uefa-history-split {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   UNIFIED COMPONENT SYSTEM (UI-CARD, UI-BTN, UI-TABS, UI-BADGE, GRID-12)
   ═══════════════════════════════════════════════════════════════════════════ */

.main-container {
  max-width: 1280px !important;
  margin: 0 auto;
  padding: var(--sp-6) var(--sp-4) var(--sp-12) !important;
}

@media (min-width: 768px) {
  .main-container {
    padding: var(--sp-8) var(--sp-6) var(--sp-12) !important;
  }
}

.ui-grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--sp-6);
}

.ui-col-12 { grid-column: span 12; }
.ui-col-8  { grid-column: span 8; }
.ui-col-6  { grid-column: span 6; }
.ui-col-4  { grid-column: span 4; }
.ui-col-3  { grid-column: span 3; }

@media (max-width: 1024px) {
  .ui-col-8, .ui-col-4 { grid-column: span 12; }
  .ui-col-3 { grid-column: span 6; }
}

@media (max-width: 640px) {
  .ui-col-6, .ui-col-3 { grid-column: span 12; }
}

.ui-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-card);
  padding: var(--sp-6);
  box-shadow: var(--shadow-elev);
}

.ui-card--interactive {
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.ui-card--interactive:hover,
.ui-card--interactive:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent-border);
  background: var(--bg-elevated);
  outline: none;
}

/* Unified Buttons */
.ui-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px var(--sp-4);
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.ui-btn--primary {
  background: var(--accent);
  color: #090D16;
}

.ui-btn--primary:hover {
  background: var(--accent-hover);
}

.ui-btn--secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.ui-btn--secondary:hover {
  border-color: var(--accent-border);
  color: var(--accent);
}

.ui-btn--ghost {
  background: transparent;
  color: var(--text-secondary);
}

.ui-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

/* Segmented Tabs */
.ui-tabs {
  display: inline-flex;
  gap: var(--sp-1);
  padding: var(--sp-1);
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-btn);
}

.ui-tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 6px var(--sp-3);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.ui-tab:hover {
  color: var(--text-primary);
}

.ui-tab.active {
  background: var(--accent);
  color: #090D16;
}

/* Badges */
.ui-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-input);
  color: var(--text-secondary);
}

.ui-badge--pos { color: var(--sem-pos); border-color: rgba(34, 197, 94, 0.32); background: rgba(34, 197, 94, 0.10); }
.ui-badge--neg { color: var(--sem-neg); border-color: rgba(248, 113, 113, 0.32); background: rgba(248, 113, 113, 0.10); }
.ui-badge--warn { color: var(--sem-warn); border-color: rgba(255, 212, 0, 0.32); background: rgba(255, 212, 0, 0.10); }
.ui-badge--accent { color: var(--accent); border-color: var(--accent-border); background: var(--accent-soft); }

/* Executive Hero Metric & KPI Cards */
.ui-hero-metric-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--sp-4);
  background: linear-gradient(145deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-card);
  padding: var(--sp-6);
}

.ui-hero-kpi-val {
  font-family: 'JetBrains Mono', monospace;
  font-variant-numeric: tabular-nums;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.ui-kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-card);
  padding: var(--sp-4) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.ui-kpi-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.ui-kpi-value {
  font-family: 'JetBrains Mono', monospace;
  font-variant-numeric: tabular-nums;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
}

.ui-kpi-meta {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

/* Status Dot + Tooltip in Header */
.ui-status-dot-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  font-size: 12px;
  color: var(--text-secondary);
}

.ui-status-dot-wrap:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.ui-status-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 240px;
  padding: 10px 12px;
  border-radius: var(--r-btn);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-elev);
  font-size: 12px;
  color: var(--text-primary);
  line-height: 1.45;
  display: none;
  z-index: var(--z-tooltip);
}

.ui-status-dot-wrap:hover .ui-status-tooltip,
.ui-status-dot-wrap:focus-visible .ui-status-tooltip {
  display: block;
}

/* Back-to-Top Floating Button */
.ui-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-elev);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
  z-index: var(--z-sticky);
}

.ui-back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.ui-back-to-top:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Enforce minimum 12px label readability & SVG icon alignment */
.ui-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

.nav-link.active {
  color: #090D16 !important;
  background: var(--accent) !important;
  font-weight: 700;
  box-shadow: none !important;
}

/* Sticky In-Page Section Nav */
.ui-section-nav {
  position: sticky;
  top: 66px;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  margin-bottom: var(--sp-6);
  background: rgba(9, 13, 22, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-btn);
  overflow-x: auto;
}

.ui-section-nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.ui-section-nav a:hover {
  background: var(--bg-elevated);
  color: var(--accent);
}

/* Dark Theme Standings Table & Enlarged G/B/M Form Badges */
.uefa-standings-card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--r-card) !important;
  overflow-x: auto;
}

.uefa-standings-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text-primary) !important;
}

.uefa-standings-table thead th {
  background: var(--bg-input) !important;
  color: var(--text-secondary) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 12px 10px !important;
  border-bottom: 1px solid var(--border-strong) !important;
  text-align: right;
  white-space: nowrap;
}

.uefa-standings-table thead th:first-child {
  text-align: left !important;
}

.uefa-standings-table thead th:last-child {
  text-align: center !important;
}

.uefa-standings-table tbody td {
  padding: 11px 10px !important;
  font-size: 13.5px !important;
  border-bottom: 1px solid var(--border-subtle) !important;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}

.uefa-standings-table tbody tr {
  background: var(--bg-card) !important;
  border-bottom: 1px solid var(--border-subtle) !important;
  transition: background-color 150ms ease;
}

.uefa-standings-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02) !important;
}

.uefa-standings-table tbody tr:hover {
  background: var(--bg-elevated) !important;
}

.uefa-standings-table tbody td {
  background: transparent !important;
  color: var(--text-primary) !important;
}

.uefa-standings-table .team-name-cell {
  color: var(--text-primary) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}

.uefa-standings-table .points-cell {
  color: var(--text-primary) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
}

.uefa-standings-table .uefa-rank-num {
  color: var(--text-secondary) !important;
  font-weight: 600 !important;
}

.uefa-standings-table tbody td.uefa-rank-td,
.uefa-standings-table tbody td.uefa-team-td {
  text-align: left !important;
}

.uefa-standings-table tbody td:last-child {
  text-align: center !important;
}

.uefa-standings-table tbody tr.fb-row {
  background: rgba(250, 204, 21, 0.09) !important;
}

.uefa-standings-table tbody tr.fb-row:hover {
  background: rgba(250, 204, 21, 0.14) !important;
}

.uefa-standings-table .fb-row td {
  background: transparent !important;
}

.uefa-standings-table .fb-row td:first-child {
  box-shadow: inset 3px 0 0 var(--accent) !important;
}

.uefa-standings-table .fb-row .team-fb,
.uefa-standings-table .fb-row .points-cell {
  color: var(--accent) !important;
  font-weight: 700 !important;
}

.uefa-standings-table tbody tr.uefa-zone-row,
.uefa-standings-table tbody tr.uefa-zone-row:hover {
  background: var(--bg-input) !important;
}

.uefa-standings-table .uefa-zone-cell {
  background: var(--bg-input) !important;
  color: var(--text-secondary) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-align: left !important;
  padding: 8px 12px !important;
  border-bottom: 1px solid var(--border-strong) !important;
}

.uefa-form-guide {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.uefa-form-guide .form-badge {
  width: 24px !important;
  height: 24px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  display: inline-grid !important;
  place-items: center !important;
}

.uefa-form-W { background: rgba(34, 197, 94, 0.18) !important; color: var(--sem-pos) !important; border: 1px solid rgba(34, 197, 94, 0.4) !important; }
.uefa-form-D { background: rgba(148, 163, 184, 0.16) !important; color: #CBD5E1 !important; border: 1px solid rgba(148, 163, 184, 0.35) !important; }
.uefa-form-L { background: rgba(248, 113, 113, 0.18) !important; color: var(--sem-neg) !important; border: 1px solid rgba(248, 113, 113, 0.4) !important; }

.ui-table-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-input);
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-secondary);
}

/* UCL & Genel Tablo Koyu Tema Tutarlılığı */
.uefa-official-table-card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--r-card) !important;
  overflow-x: auto;
}

.uefa-white-table {
  background: transparent !important;
  color: var(--text-primary) !important;
}

.uefa-white-table thead tr,
.uefa-white-table thead th {
  background: var(--bg-input) !important;
  color: var(--text-secondary) !important;
  border-bottom: 1px solid var(--border-strong) !important;
  font-size: 12px !important;
}

.uefa-white-table tbody tr {
  background: var(--bg-card) !important;
  border-bottom: 1px solid var(--border-subtle) !important;
}

.uefa-white-table tbody tr:hover {
  background: var(--bg-elevated) !important;
}

.uefa-white-table tbody td {
  color: var(--text-primary) !important;
}

/* ── Modern Fikstür Isı Haritası (Linear / Opta / FotMob Seviyesi) ── */
.fdr-shell {
  background: #0B0E14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
}

.fdr-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

.fdr-title {
  font-size: 20px;
  font-weight: 700;
  color: #F8FAFC;
  margin: 0;
  letter-spacing: -0.02em;
}

.fdr-subtitle {
  font-size: 13px;
  color: #94A3B8;
  margin: 4px 0 0;
}

.fdr-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.fdr-pill-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #131720;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 4px;
  flex-wrap: wrap;
}

.fdr-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: #94A3B8;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.fdr-pill-btn:hover {
  color: #F8FAFC;
  background: rgba(255, 255, 255, 0.04);
}

.fdr-pill-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-weight: 600;
}

.fdr-pill-btn:focus-visible,
.fdr-cell-btn:focus-visible,
.fdr-crit-card:focus-visible {
  outline: 2px solid #FACC15;
  outline-offset: 2px;
}

.fdr-legend-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 14px;
  background: #131720;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 12px;
  color: #94A3B8;
}

.fdr-scale-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.fdr-crit-ribbon {
  background: #131720;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

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

.fdr-crit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 10px;
}

.fdr-crit-card {
  text-align: left;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  padding: 10px 12px;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.fdr-crit-card:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.18);
}

.fdr-matrix-wrap {
  position: relative;
  overflow-x: auto;
  background: #131720;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.fdr-matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.fdr-matrix-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #131720;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 6px;
  font-size: 12px;
  font-weight: 600;
  color: #94A3B8;
  text-align: center;
  white-space: nowrap;
  min-width: 74px;
}

.fdr-matrix-table thead th.fdr-sticky-col,
.fdr-matrix-table tbody td.fdr-sticky-col {
  position: sticky;
  left: 0;
  z-index: 3;
  background: #131720;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 210px;
  max-width: 230px;
  text-align: left;
  padding: 10px 14px;
}

.fdr-matrix-table thead th.fdr-sticky-col {
  z-index: 4;
}

.fdr-matrix-table tbody tr + tr td {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.fdr-matrix-table tbody td.fdr-slot-td {
  padding: 5px;
  vertical-align: middle;
}

.fdr-cell-btn {
  width: 100%;
  min-width: 68px;
  min-height: 58px;
  padding: 6px 5px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  transition: transform 150ms ease, opacity 180ms ease, border-color 150ms ease;
  font-family: inherit;
}

.fdr-cell-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.25);
}

.fdr-cell-btn.is-selected {
  border-color: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.fdr-cell-btn.is-dimmed {
  opacity: 0.36;
}

.fdr-tier-1 { background: rgba(16, 185, 129, 0.22); color: #6EE7B7; }
.fdr-tier-2 { background: rgba(52, 211, 153, 0.12); color: #A7F3D0; }
.fdr-tier-3 { background: rgba(148, 163, 184, 0.10); color: #CBD5E1; }
.fdr-tier-4 { background: rgba(255, 212, 0, 0.22); color: #FCD34D; }
.fdr-tier-5 { background: rgba(239, 68, 68, 0.28); color: #FCA5A5; }

.fdr-venue-home {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.fdr-venue-away {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: inherit;
  opacity: 0.85;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}

.fdr-euro-pill {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 600;
  color: #E2E8F0;
}

.fdr-drawer {
  margin-top: 16px;
  background: #131720;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fdr-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 16px;
}

.fdr-team-card {
  background: #131720;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px;
}

.fdr-card-cells {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 8px;
}

@media (max-width: 768px) {
  .fdr-shell { padding: 14px; }
  .fdr-matrix-table thead th.fdr-sticky-col,
  .fdr-matrix-table tbody td.fdr-sticky-col {
    min-width: 154px;
    max-width: 168px;
    padding: 8px 10px;
  }
  .fdr-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Probability Evolution Hero Panel & Forecast Cards ── */
.pe-shell {
  background: #0B0E14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
  font-variant-numeric: tabular-nums;
}

.pe-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.pe-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #F8FAFC;
  letter-spacing: -0.02em;
}

.pe-kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.pe-kpi-pill {
  background: #1A202C;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pe-kpi-lbl {
  font-size: 12px;
  font-weight: 500;
  color: #94A3B8;
}

.pe-kpi-val {
  font-size: 16px;
  font-weight: 700;
  color: #F8FAFC;
}

.pe-chart-box {
  background: #131720;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 16px;
}

.pe-pin-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pe-pin-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  color: #CBD5E1;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.pe-pin-chip:hover,
.pe-pin-chip.active {
  background: rgba(34, 211, 238, 0.14);
  border-color: rgba(34, 211, 238, 0.45);
  color: #F8FAFC;
}

.pe-insight-banner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  background: #131720;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 18px;
}

.pe-insight-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pe-insight-col + .pe-insight-col {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 16px;
}

.up-card {
  background: #131720;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-variant-numeric: tabular-nums;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.up-card.is-active {
  background: #181E2B;
  border-top: 2px solid #22D3EE;
}

.up-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.up-venue-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
}

.up-venue-pill.home {
  background: rgba(16, 185, 129, 0.16);
  color: #6EE7B7;
}

.up-venue-pill.away {
  background: rgba(148, 163, 184, 0.14);
  color: #CBD5E1;
}

.up-matchup {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.up-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.up-score-center {
  text-align: center;
  padding: 8px 14px;
  border-radius: 10px;
  background: #1A202C;
}

.up-score-val {
  font-size: 22px;
  font-weight: 800;
  color: #F8FAFC;
  line-height: 1.1;
}

.up-xg-val {
  font-size: 12px;
  color: #94A3B8;
  margin-top: 4px;
}

.up-seg-bar {
  display: flex;
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  gap: 2px;
}

.up-spark-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #1A202C;
  border-radius: 9px;
  padding: 8px 12px;
}

.up-delta-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.up-delta-pill.pos {
  background: rgba(16, 185, 129, 0.18);
  color: #6EE7B7;
}

.up-delta-pill.neg {
  background: rgba(244, 63, 94, 0.18);
  color: #FDA4AF;
}

@media (max-width: 768px) {
  .pe-shell { padding: 14px; }
  .pe-insight-banner { grid-template-columns: 1fr; }
  .pe-insight-col + .pe-insight-col {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: 0;
    padding-top: 14px;
  }
}

/* ── Kurumsal Match Center (Maç İçi WPA & İstatistikler) ── */
.mc-scoreboard {
  position: sticky;
  top: 64px;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  background: rgba(19, 23, 32, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.mc-side {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mc-side--home {
  align-items: flex-start;
  text-align: left;
}

.mc-side--away {
  align-items: flex-end;
  text-align: right;
}

.mc-team-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mc-team-head .team-logo {
  width: 34px;
  height: 34px;
  font-size: 12px;
}

.mc-team-head .team-name {
  font-size: 15px;
  font-weight: 700;
  color: #F8FAFC;
}

.mc-scorers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 12px;
  color: #94A3B8;
}

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

.mc-status-pill {
  font-size: 12px;
  font-weight: 600;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 10px;
  border-radius: 999px;
}

.mc-score-val {
  font-size: 28px !important;
  font-weight: 800;
  color: #F8FAFC;
  line-height: 1.1;
}

.mc-meta {
  font-size: 12px;
  color: #94A3B8;
}

.mc-chart-card {
  background: #131720;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 18px;
}

.mc-pin-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mc-pin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #CBD5E1;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.mc-pin-btn:hover,
.mc-pin-btn.active {
  background: rgba(255, 212, 0, 0.16);
  border-color: rgba(255, 212, 0, 0.5);
  color: #F8FAFC;
}

.mc-grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.mc-col-7 { grid-column: span 7; }
.mc-col-5 { grid-column: span 5; }

.mc-timeline-card,
.mc-stat-card {
  background: #131720;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px;
  font-variant-numeric: tabular-nums;
}

.mc-event-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.mc-event-row {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  padding: 11px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mc-event-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mc-min-badge {
  min-width: 38px;
  text-align: center;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: #F8FAFC;
  font-size: 12px;
  font-weight: 700;
}

.mc-wpa-pill {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 212, 0, 0.14);
  color: #FCD34D;
}

.mc-impact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.mc-impact-pill {
  background: #1A202C;
  border-radius: 9px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mc-xpts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  background: #1A202C;
  border-radius: 10px;
  padding: 12px;
  margin-top: 16px;
}

@media (max-width: 1024px) {
  .mc-col-7,
  .mc-col-5 {
    grid-column: span 12;
  }
}

@media (max-width: 768px) {
  .mc-scoreboard {
    position: static;
    grid-template-columns: 1fr;
    text-align: center;
    padding: 14px;
  }
  .mc-side--home,
  .mc-side--away {
    align-items: center;
    text-align: center;
  }
  .mc-xpts-grid,
  .mc-impact-grid {
    grid-template-columns: 1fr;
  }
}

/* ── 13. Hafta Senaryo Simülatörü (Kurumsal Koyu Tema) ── */
.pan-shell {
  background: #0B0E14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px;
  font-variant-numeric: tabular-nums;
}

.pan-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.pan-kpi-card {
  background: #131720;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pan-grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.pan-col-left {
  grid-column: span 8;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pan-col-right {
  grid-column: span 4;
  position: sticky;
  top: 76px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pan-match-card {
  background: #131720;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pan-match-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pan-tag {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

.pan-tag--fb {
  background: rgba(255, 212, 0, 0.16);
  color: #FCD34D;
  border: 1px solid rgba(255, 212, 0, 0.35);
}

.pan-tag--rival {
  background: rgba(148, 163, 184, 0.12);
  color: #CBD5E1;
}

.pan-match-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.pan-seg {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  gap: 4px;
  background: #1A202C;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 4px;
}

.pan-seg-btn {
  padding: 7px 10px;
  border-radius: 7px;
  border: 1px solid transparent;
  background: transparent;
  color: #94A3B8;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.pan-seg-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #F8FAFC;
}

.pan-seg-btn.active {
  background: #252D3D;
  border-color: #F8FAFC;
  color: #F8FAFC;
}

.pan-match-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: #94A3B8;
}

.pan-sidebar-card {
  background: #131720;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
}

.pan-fb-row td {
  background: rgba(255, 212, 0, 0.08) !important;
}

.pan-fb-row td:first-child {
  box-shadow: inset 3px 0 0 #FFD400 !important;
}

@media (max-width: 1080px) {
  .pan-kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pan-col-left,
  .pan-col-right { grid-column: span 12; position: static; }
  .pan-match-body { grid-template-columns: 1fr; }
  .pan-seg { width: 100%; }
}

@media (max-width: 640px) {
  .pan-shell { padding: 14px; }
  .pan-kpi-row { grid-template-columns: 1fr; }
  .pan-seg { grid-template-columns: 1fr; }
}

/* ── Editoryal Stadyum & Derbi Arşivi ── */
.stad-tab-btn {
  padding: 7px 13px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #131720;
  color: #94A3B8;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.stad-tab-btn:hover {
  color: #F8FAFC;
  border-color: rgba(255, 255, 255, 0.18);
}

.stad-tab-btn.active {
  background: #FFD400;
  border-color: #FFD400;
  color: #0B0E14;
  font-weight: 600;
}

.stad-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 16px;
  font-variant-numeric: tabular-nums;
}

.stad-kpi-pill {
  background: #1A202C;
  border-radius: 9px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stad-milestone-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 960px) {
  .stad-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .stad-milestone-grid { grid-template-columns: 1fr; }
}

/* ── Açılır Menü (Mega Dropdown) Parlak Sarı Hover/Active Düzeltmesi ── */
.mega-dropdown-item:hover,
.mega-dropdown-item.active,
.mega-dropdown-item:focus-visible {
  background: #1A202C !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: none !important;
  outline: none !important;
}

.mega-dropdown-item .md-title {
  color: #F8FAFC !important;
}

.mega-dropdown-item:hover .md-title,
.mega-dropdown-item.active .md-title {
  color: #FACC15 !important;
}

.mega-dropdown-item .md-desc {
  color: #94A3B8 !important;
}

/* ── Taktik, Gol Dakikaları & Maç Senaryosu Profili ── */
.tp-shell {
  background: #0B0E14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px;
  margin-top: 24px;
  font-variant-numeric: tabular-nums;
}

.tp-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.tp-kpi-card {
  background: #131720;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tp-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tp-panel {
  background: #131720;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px;
}

.tp-scenario-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tp-scenario-row {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .tp-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .tp-shell { padding: 14px; }
  .tp-kpi-grid { grid-template-columns: 1fr; }
}

/* ══════════════ DESTEK OL MODALI & MOBİL OPTİMİZASYON ══════════════ */
.btn-support-nav {
  background: rgba(255, 212, 0, 0.12);
  color: #FFD400;
  border: 1px solid rgba(255, 212, 0, 0.45);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.btn-support-nav:hover {
  background: rgba(255, 212, 0, 0.22);
  border-color: #FFD400;
  transform: translateY(-1px);
}

.support-strip {
  margin-top: 20px;
  padding: 14px 18px;
  background: #131720;
  border: 1px solid rgba(255, 212, 0, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.support-strip-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12.5px;
  color: #94A3B8;
}

.support-strip-text strong {
  color: #F8FAFC;
  font-size: 13.5px;
}

.support-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(6, 10, 19, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.support-modal {
  width: 100%;
  max-width: 560px;
  background: #131720;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.support-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.support-modal-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #F8FAFC;
}

.support-modal-head p {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: #94A3B8;
}

.support-modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #CBD5E1;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.support-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.support-link-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.support-link-card:hover {
  border-color: rgba(255, 212, 0, 0.5);
  background: rgba(255, 212, 0, 0.06);
}

.support-card-tag {
  font-size: 11px;
  font-weight: 700;
  color: #FFD400;
  text-transform: uppercase;
}

.support-card-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #F8FAFC;
}

.support-card-desc {
  font-size: 12px;
  color: #94A3B8;
  line-height: 1.45;
}

.support-notice-box {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #E2E8F0;
  font-size: 12px;
  line-height: 1.45;
}

.support-wall {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.support-wall-title {
  font-size: 12px;
  font-weight: 700;
  color: #CBD5E1;
  margin-bottom: 8px;
}

.support-wall-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.support-wall-empty {
  font-size: 12px;
  color: #64748B;
}

.support-supporter-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 212, 0, 0.12);
  border: 1px solid rgba(255, 212, 0, 0.3);
  color: #FDE68A;
  font-size: 12px;
  font-weight: 600;
}

/* Mobil & TikTok In-App Browser (360px - 640px) İyileştirmeleri */
@media (max-width: 768px) {
  .ui-tabs,
  .ui-section-nav {
    overflow-x: auto;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .ui-tabs::-webkit-scrollbar,
  .ui-section-nav::-webkit-scrollbar {
    display: none;
  }
  .ui-tab,
  .fdr-pill-btn,
  .filter-btn {
    min-height: 36px;
    white-space: nowrap;
  }
  .map-controls-bar {
    width: 100%;
  }
  .ucl-map-stats-bar {
    grid-template-columns: 1fr;
  }
  .support-card-grid {
    grid-template-columns: 1fr;
  }
  .btn-support-nav {
    padding: 5px 10px;
    font-size: 12px;
  }
}

/* Genel Mobil Taşma Koruması & Responsive Grid Düzeltmeleri */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.main-content,
.section,
.charts-grid,
.chart-card,
.card,
.transfer-card,
.chart-wrap,
.table-card {
  min-width: 0;
  max-width: 100%;
}

.table-card {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.season-breakdowns-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.uefa-leader-val {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .season-breakdowns-grid {
    grid-template-columns: 1fr;
  }
  .header {
    padding: 8px 12px;
    z-index: 1100;
  }
  .header-inner {
    flex-wrap: nowrap;
    gap: 8px 10px;
    min-height: 50px;
    justify-content: space-between;
  }
  .logo-crest-img {
    width: 34px;
    height: 34px;
  }
  .logo-sub {
    display: none;
  }
  .nav.nav-mega {
    display: none !important;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .sim-select {
    max-width: 100%;
  }
  .hero {
    background-size: cover;
    background-position: center;
  }
  .chart-card,
  #since2000Section {
    padding: 14px 12px !important;
  }
  .chart-card-header {
    flex-wrap: wrap;
    gap: 8px;
  }
  .chart-card-header h3 {
    font-size: 14.5px;
  }
  .chart-wrap canvas {
    max-width: 100% !important;
  }
  .uefa-leader-row {
    flex-wrap: wrap;
    gap: 6px;
  }
  .footer {
    padding-bottom: 72px;
  }
  .ui-back-to-top {
    width: 38px;
    height: 38px;
    right: 12px;
    bottom: 12px;
  }
}

/* ══════════════ FMD İLHAMLİ SICAK EDİTORYAL TEMA & MOBİL UX ══════════════ */
body {
  background: #F7F5EE !important;
  color: #0A0E3F !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.045;
  background-image:
    radial-gradient(circle at 50% 35%, transparent 118px, #0A0E3F 119px, transparent 120px),
    linear-gradient(to right, rgba(10, 14, 63, 0.35) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 14, 63, 0.35) 1px, transparent 1px);
  background-size: 100% 100%, 96px 96px, 96px 96px;
}

.header {
  background: #FFFFFF !important;
  border-bottom: 1px solid #E8E4D9 !important;
  box-shadow: 0 2px 10px rgba(10, 14, 63, 0.04) !important;
}

.logo-title {
  color: #0A0E3F !important;
}
.logo-sub {
  color: #5A6075 !important;
}
.nav-link,
.nav-drop-btn {
  color: #0A0E3F !important;
}
.nav-link.active,
.nav-drop-btn:hover,
.nav-dropdown:hover .nav-drop-btn,
.nav-dropdown.open .nav-drop-btn {
  background: #FFF4B8 !important;
  border-color: rgba(217, 119, 6, 0.35) !important;
  color: #0A0E3F !important;
}
.nav-drop-menu {
  background: #FFFFFF !important;
  border: 1px solid #E8E4D9 !important;
  box-shadow: 0 12px 32px rgba(10, 14, 63, 0.12) !important;
}
.nav-drop-item-title {
  color: #0A0E3F !important;
}
.nav-drop-item-sub {
  color: #5A6075 !important;
}
.btn-support-nav {
  background: #0A0E3F !important;
  color: #FFFFFF !important;
  border-color: #0A0E3F !important;
}
.ui-status-dot-wrap {
  background: #FAF8F3 !important;
  border: 1px solid #E8E4D9 !important;
  color: #0A0E3F !important;
}

/* Hero Alanı: FMD Tarzı Koyu Lacivert Vurgu Kartı */
.hero {
  background: #0A0E3F !important;
  color: #FFFFFF !important;
}
.hero h1,
.hero .hero-stat-val,
.hero-sub {
  color: #FFFFFF !important;
}
.hero .hero-stat-val.accent {
  color: #FFD400 !important;
}
.hero .hero-stat-label {
  color: #CBD5E1 !important;
}

/* Kartlar, Tablolar & Inline Koyu Arka Plan Uyumlaması */
.chart-card,
.ui-card,
.transfer-card,
.table-card,
.prob-card,
[style*="background:#131720"],
[style*="background:#0B0E14"],
[style*="background:#080D4D"] {
  background: #FFFFFF !important;
  border: 1px solid #E8E4D9 !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 10px rgba(10, 14, 63, 0.04) !important;
  color: #0A0E3F !important;
}

#since2000Section {
  background: #FAF8F3 !important;
  border: 1px solid #E8E4D9 !important;
}
#since2000Section thead,
#since2000Table thead {
  background: #FAF8F3 !important;
}

.chart-card-header h3,
.section-header h2,
.prob-card-val,
[style*="color:#F8FAFC"],
[style*="color:#F7F8FF"],
[style*="color:#E2E8F0"],
[style*="color:#fff"] {
  color: #0A0E3F !important;
}

.section-header p,
.prob-card-label,
.prob-card-sub,
[style*="color:#94A3B8"],
[style*="color:#A9B1D5"],
[style*="color:#CBD5E1"] {
  color: #5A6075 !important;
}

.ui-badge,
.chart-badge,
.fdr-pill-btn {
  background: #FAF8F3 !important;
  border: 1px solid #E8E4D9 !important;
  color: #0A0E3F !important;
}
.fdr-pill-btn.active {
  background: #0A0E3F !important;
  border-color: #0A0E3F !important;
  color: #FFFFFF !important;
}
.btn-primary,
.sim-btn-primary {
  background: #FFD400 !important;
  color: #0A0E3F !important;
  font-weight: 700 !important;
  border: none !important;
}

.eyebrow-title {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0E7490;
  margin-bottom: 4px;
}

/* FMD Segmented Control & Inline Progress Bar */
.fmd-segmented {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: #FAF8F3;
  border: 1px solid #E8E4D9;
}
.fmd-seg-btn {
  border: none;
  background: transparent;
  color: #5A6075;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.fmd-seg-btn.active {
  background: #0A0E3F;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(10, 14, 63, 0.18);
}

.fmd-inline-bar-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #EFECE3;
  overflow: hidden;
  margin-top: 8px;
}
.fmd-inline-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: #0A0E3F;
  transition: width 0.35s ease;
}
.fmd-inline-bar-fill.amber {
  background: #FFD400;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4.5px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #FAF8F3;
  border: 1px solid #E8E4D9;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #0A0E3F;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1500;
  background: rgba(247, 245, 238, 0.99);
  backdrop-filter: blur(14px);
  overflow-y: auto;
  padding: 16px 18px 40px;
}
.mobile-nav-drawer.open {
  display: block;
}
.mobile-drawer-group {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E8E4D9;
}
.mobile-drawer-group:last-child {
  border-bottom: none;
}
.mobile-drawer-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  color: #0E7490;
  margin-bottom: 8px;
  padding-left: 6px;
}
.mobile-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.mobile-drawer-link:active,
.mobile-drawer-link.active {
  background: #FFF4B8;
}
.mobile-drawer-link strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: #0A0E3F;
}
.mobile-drawer-link small {
  display: block;
  font-size: 11.5px;
  color: #5A6075;
  margin-top: 2px;
}
.mobile-drawer-chev {
  font-size: 18px;
  color: #7B8196;
  font-weight: 600;
}

/* FMD Tarzı Yatay Kaydırılabilir Alt Sekmeler (Altı Kehribar Çizgili) */
.ui-section-nav {
  background: #FFFFFF !important;
  border: 1px solid #E8E4D9 !important;
  border-radius: 12px !important;
  gap: 4px;
}
.ui-section-nav a {
  color: #5A6075 !important;
  border-bottom: 2.5px solid transparent;
  border-radius: 6px 6px 0 0;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.ui-section-nav a.active {
  color: #0A0E3F !important;
  font-weight: 700;
  border-bottom-color: #FFD400;
  background: #FFF4B8;
}

/* Çerçevesiz Zebra Satırları & Mobil Tablo Kart-Satır Dönüşümü */
.standings-table th {
  color: #5A6075 !important;
  border-bottom: 1px solid #E8E4D9 !important;
}
.standings-table td {
  border-bottom: none !important;
  color: #0A0E3F;
}
.standings-table tbody tr:nth-child(even):not(.fb-row):not(.uefa-zone-row) {
  background: #FAF8F3;
}
.standings-table tr.fb-row {
  background: #FFF4B8 !important;
}
.uefa-zone-cell {
  background: #FAF8F3 !important;
  color: #5A6075 !important;
}

.mob-sub-record {
  display: none;
  font-size: 10.5px;
  color: #5A6075;
  font-weight: 500;
  margin-top: 1px;
}
.mob-only {
  display: none;
}

@media (max-width: 640px) {
  .mob-hide {
    display: none !important;
  }
  .desk-only {
    display: none !important;
  }
  .mob-only {
    display: block !important;
  }
  .mob-sub-record {
    display: block;
  }
  .team-cell {
    align-items: center;
  }
  .table-card .standings-table th:first-child,
  .table-card .standings-table td:first-child {
    position: sticky;
    left: 0;
    background: #FFFFFF;
    z-index: 2;
  }
  .table-card .standings-table tr:nth-child(even):not(.fb-row):not(.uefa-zone-row) td:first-child {
    background: #FAF8F3;
  }
  .table-card .standings-table tr.fb-row td:first-child {
    background: #FFF4B8;
  }
}


/* ══════════════ FENERBAHÇE KİMLİK PALETİ: LACİVERT · SARI · TURKUAZ ══════════════
   Gövde: sıcak krem / beyaz kartlar. Üst (header), hero ve alt (footer): derin lacivert + sarı çizgi.
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  --fb-navy-deep: #0A0E3F;
  --fb-yellow-brand: #FFD400;
  --fb-turquoise-brand: #06B6D4;
}

/* ── ÜST (HEADER): Lacivert + Sarı Alt Çizgi ── */
.header {
  background: #0A0E3F !important;
  border-bottom: 3px solid #FFD400 !important;
  box-shadow: 0 4px 16px rgba(10, 14, 63, 0.25) !important;
}
.logo-title { color: #FFFFFF !important; }
.logo-sub { color: #9FB3D9 !important; }
.nav-link,
.nav-drop-btn { color: #E6ECFA !important; }
.nav-link:hover,
.nav-drop-btn:hover,
.nav-dropdown:hover .nav-drop-btn,
.nav-dropdown.open .nav-drop-btn {
  background: rgba(255, 212, 0, 0.14) !important;
  border-color: rgba(255, 212, 0, 0.45) !important;
  color: #FFD400 !important;
}
.nav-link.active {
  background: #FFD400 !important;
  color: #0A0E3F !important;
  border-color: #FFD400 !important;
  font-weight: 800 !important;
}
.nav-drop-menu .nav-link,
.nav-drop-menu .nav-drop-item { color: #0A0E3F !important; background: transparent !important; }
.nav-drop-menu .nav-drop-item:hover { background: #FFF4B8 !important; }
.nav-drop-item-title { color: #0A0E3F !important; }
.nav-drop-item-sub { color: #5A6075 !important; }
.btn-support-nav {
  background: #FFD400 !important;
  color: #0A0E3F !important;
  border: 1px solid #FFD400 !important;
  font-weight: 800 !important;
}
.ui-status-dot-wrap {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #FFFFFF !important;
}
.mobile-menu-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
}
.mobile-menu-btn span { background: #FFD400 !important; }

/* ── HERO: Lacivert Katman + Stadyum Fotoğrafı, Sarı Vurgu, Turkuaz Etiket ── */
.hero { background: #0A0E3F !important; border-bottom: none !important; }
.hero-bg {
  background:
    linear-gradient(90deg, rgba(10, 14, 63, 0.94) 0%, rgba(10, 14, 63, 0.74) 55%, rgba(10, 14, 63, 0.90) 100%),
    url('hero_cover.jpg') center/cover no-repeat !important;
}
.hero-tag {
  background: rgba(6, 182, 212, 0.18) !important;
  border: 1px solid rgba(6, 182, 212, 0.55) !important;
  color: #67E8F9 !important;
}
.hero-title,
.hero h1 { color: #FFFFFF !important; }
.hero-accent { color: #FFD400 !important; }
.hero-desc,
.hero-sub { color: #C7D4EE !important; }
.hero-stats {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: none !important;
  backdrop-filter: blur(6px);
}
.hero-stat-val,
.hero .hero-stat-val { color: #FFFFFF !important; }
.hero-stat:first-child .hero-stat-val,
.hero .hero-stat-val.accent { color: #FFD400 !important; }
.hero-stat-label,
.hero .hero-stat-label { color: #9FB3D9 !important; }
.hero-stat-divider { background: rgba(255, 255, 255, 0.18) !important; }
.hero-stat.clickable-card:hover { background: rgba(255, 212, 0, 0.10) !important; }

/* ── ALT (FOOTER): Lacivert + Sarı Üst Çizgi ── */
.footer {
  background: #0A0E3F !important;
  border-top: 3px solid #FFD400 !important;
  color: #C7D4EE !important;
}
.footer-logo { color: #FFFFFF !important; }
.footer-desc { color: #9FB3D9 !important; }
.footer-copy { color: #8094BE !important; }
.gc-footer-col h4 { color: #FFD400 !important; }
.gc-footer-col a { color: #C7D4EE !important; }
.gc-footer-col a:hover { color: #67E8F9 !important; }

/* ── Vurgu Rengi: Turkuaz (okunur) + Sarı (dolgu) ── */
.eyebrow-title,
.mobile-drawer-label { color: #0E7490 !important; }
.fmd-inline-bar-fill { background: #0A0E3F; }
.fmd-inline-bar-fill.amber { background: #06B6D4 !important; }
.mobile-drawer-link:active,
.mobile-drawer-link.active { background: #FFF4B8 !important; }
.ui-section-nav a.active {
  background: #FFF4B8 !important;
  border-bottom-color: #FFD400 !important;
  color: #0A0E3F !important;
}
.standings-table tr.fb-row { background: #FFF8CC !important; }
.filter-btn.active,
.ui-tab.active,
.fmd-seg-btn.active {
  background: #0A0E3F !important;
  color: #FFD400 !important;
  border-color: #0A0E3F !important;
}
.btn-primary,
.sim-btn-primary {
  background: #FFD400 !important;
  color: #0A0E3F !important;
}

/* ── Açık Zeminde Okunabilirlik: Koyu Temadan Kalan Pastel Satır İçi Renkler ── */
[style*="color:#FFD400"],
[style*="color: #FFD400"],
[style*="color:#FACC15"],
[style*="color:#FCD34D"],
[style*="color:#FDE68A"],
[style*="color:#FDE047"],
[style*="color:#22D3EE"],
[style*="color:#38BDF8"],
[style*="color:#00D9FF"],
[style*="color:#67E8F9"],
[style*="color:#60a5fa"],
[style*="color:#A5B4FC"] { color: #0E7490 !important; }

[style*="color:#6EE7B7"],
[style*="color:#10B981"],
[style*="color:#1FD19A"],
[style*="color:#22d3a0"],
[style*="color:#22C55E"] { color: #059669 !important; }

[style*="color:#FDA4AF"],
[style*="color:#FF5470"],
[style*="color:#EF4444"],
[style*="color:#F87171"],
[style*="color:#F43F5E"] { color: #DC2626 !important; }

[style*="color:#D4DCF7"],
[style*="color:#cdd6f4"],
[style*="color:#8892b0"],
[style*="color:#64748B"] { color: #5A6075 !important; }

/* Hero / Header / Footer içindeki satır içi renkler lacivert üzerinde açık kalsın */
.hero [style*="color:#FFD400"],
.header [style*="color:#FFD400"],
.footer [style*="color:#FFD400"] { color: #FFD400 !important; }
.hero [style*="color:#94A3B8"],
.footer [style*="color:#94A3B8"] { color: #9FB3D9 !important; }


/* ══════════════ MOBİL MENÜ DÜZELTMESİ (hamburger her zaman görünür) ══════════════ */
@media (max-width: 900px) {
  .nav.nav-mega { display: none !important; }
  .mobile-menu-btn { display: inline-flex !important; width: 44px; height: 44px; }
  .mobile-nav-drawer { top: 70px; }
  .header-inner { flex-wrap: nowrap; justify-content: space-between; gap: 8px; }
  .btn-support-nav { padding: 8px 12px; min-height: 36px; }
  .ui-status-dot-wrap { display: none; }
}
@media (min-width: 901px) {
  .mobile-menu-btn,
  .mobile-nav-drawer { display: none !important; }
}


/* ══════════════ KOYU PANEL KALINTILARI → AÇIK EDİTORYAL TEMA ══════════════ */
.fdr-shell, .pe-shell, .pan-shell, .tp-shell { background: transparent !important; }

.fdr-pill-group, .fdr-legend-bar, .fdr-crit-ribbon, .fdr-matrix-wrap,
.fdr-matrix-table thead th, .fdr-matrix-table tbody td.fdr-sticky-col,
.fdr-drawer, .fdr-team-card, .pe-chart-box, .pe-insight-banner,
.up-card, .mc-chart-card, .mc-stat-card,
.pan-kpi-card, .pan-match-card, .pan-sidebar-card,
.stad-tab-btn, .tp-kpi-card, .tp-panel, .support-strip, .support-modal {
  background: #FFFFFF !important;
  border-color: #E8E4D9 !important;
  color: #0A0E3F !important;
}
.pe-kpi-pill, .up-score-center, .up-spark-box, .mc-impact-pill, .mc-xpts-grid,
.pan-seg, .stad-kpi-pill, .sub-impact-note {
  background: #FAF8F3 !important;
  border-color: #E8E4D9 !important;
  color: #0A0E3F !important;
}
.up-card.is-active { background: #FFF8CC !important; border-color: #FFD400 !important; }
.stad-tab-btn.active, .stad-tab-btn[aria-selected="true"] {
  background: #0A0E3F !important; color: #FFD400 !important; border-color: #0A0E3F !important;
}

/* Maç skor tahtası: lacivert zemin, tüm yazılar beyaz (skor kutusu görünür kalsın) */
.mc-scoreboard { background: #0A0E3F !important; border-color: #0A0E3F !important; }
.mc-scoreboard, .mc-scoreboard * { color: #F8FAFC !important; }
.mc-scoreboard [style*="background:#fff"], .mc-scoreboard [style*="background:#FFF"] { background: rgba(255,255,255,0.14) !important; }

/* Tablo içi koyu hücre/başlıklar */
.fdr-matrix-table thead th { color: #0A0E3F !important; border-bottom: 1px solid #E8E4D9 !important; }

/* ══════════════ MOBİLDE YATAY TAŞMA (701px) KORUMASI ══════════════ */
html { overflow-x: clip; }
.main-container, .tab-section { min-width: 0 !important; max-width: 100% !important; }
@media (max-width: 900px) {
  .charts-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .ui-grid-12 { grid-template-columns: minmax(0, 1fr) !important; }
  .ui-col-4, .ui-col-6, .ui-col-8, .ui-col-12 { grid-column: 1 / -1 !important; min-width: 0 !important; }
  .tab-section { overflow-x: clip; }
  .chart-card, .ui-card, .transfer-card, .chart-wrap, .chart-container { min-width: 0 !important; max-width: 100% !important; }
  .chart-wrap canvas, .chart-container canvas { max-width: 100% !important; }
  .table-card, .fdr-matrix-wrap, .uefa-standings-card { max-width: 100% !important; overflow-x: auto !important; }
  /* Dokunma hedefleri en az 40px */
  .filter-btn, .ui-tab, .fdr-pill-btn, .fmd-seg-btn, .ui-section-nav a, .ui-btn, .stad-tab-btn { min-height: 40px; }
  .mc-pin-bar button, .mc-pin-bar .mc-pin { min-height: 32px; min-width: 32px; }
  /* Sticky alt sekme çubuğu: yatay kaydırma ve gizli kaydırma çubuğu */
  .ui-section-nav { overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; top: 62px; }
  .ui-section-nav::-webkit-scrollbar { display: none; }
}


/* ══════════════ P0/P1 EK KONTRAST & ROZET DÜZELTMELERİ ══════════════ */
[style*="background:#1A202C"],
[style*="background:#10145C"],
[style*="background:#1E293B"] {
  background: #FAF8F3 !important;
  border: 1px solid #E8E4D9 !important;
  color: #0A0E3F !important;
}
#homeHeadlinesCompact .ui-badge,
#homeHeadlinesCompact span[class*="badge"] {
  max-width: none !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.ig-export-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #0A0E3F;
  color: #FFD400;
  border: 1px solid #0A0E3F;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.14s ease, opacity 0.14s ease;
}
.ig-export-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}


/* ══════════════ HIZLI KEŞİF KAROLARI & PWA YÜKLEME ŞERİDİ ══════════════ */
.fmd-quick-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #FAF8F3;
  border: 1px solid #E8E4D9;
  color: #0A0E3F;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.fmd-quick-tile:hover {
  background: #FFF8CC;
  border-color: #FFD400;
}
.fmd-quick-tile strong {
  display: block;
  font-size: 13.5px;
  color: #0A0E3F;
}
.fmd-quick-tile small {
  display: block;
  font-size: 11.5px;
  color: #5A6075;
  margin-top: 2px;
}

.pwa-install-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1400;
  background: #FFFFFF;
  border-top: 1px solid #E8E4D9;
  box-shadow: 0 -4px 18px rgba(10, 14, 63, 0.10);
  padding: 10px 14px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pwa-install-bar.visible {
  display: flex;
}
.pwa-install-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.pwa-install-info strong {
  display: block;
  font-size: 13px;
  color: #0A0E3F;
  line-height: 1.2;
}
.pwa-install-info span {
  display: block;
  font-size: 11px;
  color: #5A6075;
  margin-top: 1px;
}
.pwa-install-cta {
  padding: 7px 14px;
  border-radius: 9px;
  background: #0A0E3F;
  color: #FFD400;
  border: none;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.pwa-install-close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid #E8E4D9;
  color: #5A6075;
  cursor: pointer;
  font-size: 13px;
}
@media (min-width: 901px) {
  .pwa-install-bar { display: none !important; }
}


/* ══════════════ EKRAN GÖRÜNTÜSÜ KONTRAST DÜZELTMELERİ + SABİT MOBİL HEADER ══════════════ */
html, body {
  overflow-x: clip !important;
}

/* 1. Maç Olayları (winprob) koyu kart kalıntısı -> açık tema */
.mc-timeline-card,
.mc-event-feed {
  background: #FFFFFF !important;
  border-color: #E8E4D9 !important;
  color: #0A0E3F !important;
}
.mc-event-row {
  background: #FAF8F3 !important;
  border: 1px solid #E8E4D9 !important;
  color: #0A0E3F !important;
}
.mc-event-row strong,
.mc-event-head,
.mc-event-row .mc-event-title {
  color: #0A0E3F !important;
}

/* 2. Maç Skor Tahtası (2-2 beyaz-üstü-beyaz düzeltmesi) */
.mc-scoreboard .match-score,
.mc-scoreboard .mc-score-val,
.mc-scoreboard .mc-score-box {
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 212, 0, 0.45) !important;
  color: #FFD400 !important;
}

/* 3. Fikstür Evrimi & Hafta 13/14 En Olası Skor (beyaz-üstü-beyaz düzeltmesi) */
.pe-title,
.pe-kpi-val,
.up-score-val {
  color: #0A0E3F !important;
}
.pe-kpi-lbl {
  color: #5A6075 !important;
}

/* 4. Destek Ol Modalı (beyaz-üstü-beyaz düzeltmesi) */
.support-modal,
.support-modal-head h3,
.support-modal h4,
.support-modal strong,
.support-card-title,
.support-wall-title {
  color: #0A0E3F !important;
}
.support-modal p,
.support-modal-head p,
.support-card-desc,
.support-wall-empty {
  color: #475569 !important;
}
.support-link-card {
  background: #FAF8F3 !important;
  border: 1.5px solid #E2DDD0 !important;
  border-radius: 12px !important;
  padding: 16px !important;
  color: #0A0E3F !important;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease !important;
}
.support-link-card:hover {
  background: #FFF8CC !important;
  border-color: #FFD400 !important;
  transform: translateY(-2px);
}
.support-card-title {
  font-weight: 800 !important;
  font-size: 16px !important;
}
.support-wall {
  border-top: 1px solid #E8E4D9 !important;
  padding-top: 14px !important;
}
.support-wall-title {
  font-weight: 800 !important;
}
.support-modal-close {
  color: #0A0E3F !important;
  background: #FAF8F3 !important;
  border: 1px solid #E2DDD0 !important;
  border-radius: 8px !important;
}
.support-modal-close:hover {
  background: #0A0E3F !important;
  color: #FFD400 !important;
}
.support-notice-box {
  background: #FFF8CC !important;
  border: 1px solid #FFD400 !important;
  color: #0A0E3F !important;
}
.support-modal [style*="color:#FFD400"],
.support-modal [style*="color:#FACC15"],
.support-modal .support-card-tag {
  color: #0E7490 !important;
  font-weight: 800 !important;
}

/* 5. Teknik Direktör kartı iç koyu istatistik şeridi */
[style*="background:#11165B"] {
  background: #FAF8F3 !important;
  border: 1px solid #E8E4D9 !important;
  color: #0A0E3F !important;
}

/* 6. Mobilde UCL Shakhtar Detay Kartı taşma düzeltmesi */
@media (max-width: 640px) {
  .ucl-detail-grid {
    grid-template-columns: 1fr !important;
  }
  .ucl-detail-box {
    grid-column: auto !important;
    min-width: 0 !important;
  }
}

/* 7. Mobilde Aşağı Kaydırırken Her Zaman Sabit Kalan Üst Menü + ☰ Çekmece */
@media (max-width: 900px) {
  .header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1600 !important;
  }
  body {
    padding-top: 64px !important;
  }
  .mobile-nav-drawer {
    top: 64px !important;
    z-index: 1550 !important;
  }
  .ui-section-nav {
    position: sticky !important;
    top: 64px !important;
    z-index: 1100 !important;
  }
}

/* 8. FMD Tarzı Ana Sayfa Mini Veri Vitrini Kartları */
.fmd-home-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.fmd-mini-card {
  background: #FFFFFF;
  border: 1px solid #E8E4D9;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 2px 10px rgba(10, 14, 63, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
  font-variant-numeric: tabular-nums;
}
.fmd-mini-card:hover {
  border-color: #0E7490;
  transform: translateY(-2px);
}
.fmd-mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  padding: 5px 0;
  border-bottom: 1px solid #F2EFE7;
}
.fmd-mini-row:last-child {
  border-bottom: none;
}
.fmd-mini-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #0E7490;
  padding-top: 8px;
  border-top: 1px solid #E8E4D9;
}


/* ══════════════ KIRILMA NOKTALARI PİN BUTONLARI KONTRAST DÜZELTMESİ ══════════════ */
.mc-pin-bar {
  color: #0A0E3F !important;
}
.mc-pin-btn {
  background: #FAF8F3 !important;
  border: 1px solid #D4CFC2 !important;
  color: #334155 !important;
  font-weight: 600 !important;
}
.mc-pin-btn.active,
.mc-pin-btn:hover {
  background: #0A0E3F !important;
  border-color: #0A0E3F !important;
  color: #FFD400 !important;
  font-weight: 700 !important;
}


/* ══════════════ UCL TURNUVA AĞACI (UEFA SILVER / BLUE PATH BRACKET) ══════════════ */
.ucl-fb-road-banner {
  background: #0A0E3F;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 18px;
  color: #FFFFFF;
}
.ucl-fb-road-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.ucl-road-step {
  flex: 1 1 150px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 8px 11px;
}
.ucl-road-lbl {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #67E8F9 !important;
  margin-bottom: 3px;
}
.ucl-road-step strong {
  font-size: 12.5px;
  color: #FFFFFF !important;
  line-height: 1.3;
  display: block;
}
.ucl-road-arrow {
  color: #FFD400;
  font-weight: 800;
  font-size: 15px;
}

.ucl-brk-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}
.ucl-brk-headers {
  display: grid;
  grid-template-columns: 1.35fr 1.15fr 0.75fr 0.95fr;
  gap: 14px;
  min-width: 780px;
  padding: 0 4px 10px;
  border-bottom: 1px solid #E8E4D9;
  margin-bottom: 12px;
}
.ucl-brk-headers span {
  font-size: 11px;
  font-weight: 800;
  color: #0A0E3F;
  letter-spacing: 0.06em;
}
.ucl-brk-headers small {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: #5A6075;
  margin-top: 2px;
}
.ucl-brk-layout {
  display: grid;
  grid-template-columns: 3.25fr 0.95fr;
  gap: 14px;
  min-width: 780px;
  align-items: stretch;
}
.ucl-brk-pods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ucl-brk-path-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  padding: 4px 10px;
  border-radius: 6px;
  width: fit-content;
}
.ucl-brk-path-tag.silver { background: #EFECE3; color: #475569; }
.ucl-brk-path-tag.blue { background: #D9F5F9; color: #0E7490; }

.ucl-brk-pod {
  display: grid;
  grid-template-columns: 1.35fr 18px 1.15fr 18px 0.75fr;
  align-items: center;
  background: #FAF8F3;
  border: 1px solid #E8E4D9;
  border-left: 4px solid #94A3B8;
  border-radius: 12px;
  padding: 10px 12px;
}
.ucl-brk-pod.blue-path { border-left-color: #06B6D4; }
.ucl-brk-pod.has-fb {
  background: #FFFDF0;
  border-color: #FFD400;
  border-left: 4px solid #0A0E3F;
  box-shadow: 0 3px 12px rgba(10, 14, 63, 0.08);
}
.ucl-brk-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ucl-brk-pair {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #FFFFFF;
  border: 1px solid #E8E4D9;
  border-radius: 8px;
  padding: 5px 7px;
  flex-wrap: nowrap;
}
.ucl-brk-team {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: #0A0E3F;
  padding: 2px 5px;
  border-radius: 6px;
}
.ucl-brk-team.is-fb {
  background: #FFF4B8;
  border: 1px solid #FFD400;
  color: #0A0E3F;
}
.ucl-brk-seed {
  font-size: 10px;
  font-weight: 700;
  color: #5A6075;
  min-width: 14px;
}
.ucl-brk-or {
  font-size: 10px;
  color: #94A3B8;
  font-weight: 700;
}
.ucl-brk-conn {
  height: 36px;
  border-top: 1.5px solid #CBD5E1;
  border-bottom: 1.5px solid #CBD5E1;
  border-right: 1.5px solid #CBD5E1;
  border-radius: 0 6px 6px 0;
  margin-right: 4px;
}
.ucl-brk-slot {
  background: #FFFFFF;
  border: 1px dashed #CBD5E1;
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 11.5px;
  font-weight: 700;
  color: #0A0E3F;
  text-align: center;
}
.ucl-brk-slot.muted { color: #5A6075; font-weight: 600; }
.ucl-brk-date {
  font-size: 10px;
  color: #5A6075;
  text-align: center;
}
.ucl-brk-final-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 26px 0 4px;
}
.ucl-brk-sf-card {
  background: #FAF8F3;
  border: 1px solid #E8E4D9;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}
.ucl-brk-sf-card span { display: block; font-size: 12px; font-weight: 800; color: #0A0E3F; }
.ucl-brk-sf-card small { display: block; font-size: 10.5px; color: #5A6075; margin-top: 3px; }
.ucl-brk-trophy-card {
  background: #0A0E3F;
  border: 2px solid #FFD400;
  border-radius: 14px;
  padding: 18px 12px;
  text-align: center;
  color: #FFFFFF;
}
.ucl-brk-trophy-card strong { display: block; font-size: 12px; color: #FFD400 !important; margin-top: 8px; letter-spacing: 0.04em; }
.ucl-brk-trophy-card span { display: block; font-size: 11px; color: #C7D4EE !important; margin-top: 4px; }
@media (max-width: 640px) {
  .ucl-road-arrow { display: none; }
}


/* ══════════════ UCL TUR & ŞAMPİYONLUK OLASILIK ŞERİDİ + ANA SAYFA MİNİ KART ══════════════ */
.ucl-fb-prob-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
@media (max-width: 760px) {
  .ucl-fb-prob-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.ucl-fb-prob-cell {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}
.ucl-fb-prob-cell.is-title {
  background: rgba(255, 212, 0, 0.14);
  border-color: rgba(255, 212, 0, 0.45);
}
.ucl-fb-prob-lbl {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #C7D4EE !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ucl-fb-prob-val {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.1;
}
.ucl-fb-prob-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.ucl-fb-prob-fill {
  height: 100%;
  border-radius: 999px;
}

.ucl-ko-odds-card {
  margin-top: 18px;
  background: #FAF8F3;
  border: 1px solid #E8E4D9;
  border-radius: 14px;
  padding: 16px 18px;
}
.ucl-ko-odds-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}
.ucl-ko-odds-table th {
  text-align: right;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 800;
  color: #5A6075;
  border-bottom: 1px solid #E2DDD0;
  white-space: nowrap;
}
.ucl-ko-odds-table td {
  text-align: right;
  padding: 9px 10px;
  color: #0A0E3F;
  border-bottom: 1px solid #EFECE2;
}
.ucl-ko-odds-table tr.is-fb-row {
  background: #FFF8CC !important;
}
.ucl-fb-tag {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 999px;
  background: #0A0E3F;
  color: #FFD400;
  font-size: 10px;
  font-weight: 800;
  margin-left: 4px;
}
.ucl-odds-mini-bar {
  display: inline-block;
  width: 44px;
  height: 6px;
  border-radius: 999px;
  background: #E8E4D9;
  overflow: hidden;
  vertical-align: middle;
}
.ucl-odds-mini-bar > span {
  display: block;
  height: 100%;
  background: #0E7490;
  border-radius: 999px;
}
.ucl-ko-odds-table tr.is-fb-row .ucl-odds-mini-bar > span {
  background: #0A0E3F;
}

/* Ana Sayfa Küçük UCL Sonraki Turlar Olasılık Şeridi */
.home-ucl-ko-pills {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
  font-variant-numeric: tabular-nums;
}
.home-ucl-ko-pills > div {
  background: #FAF8F3;
  border: 1px solid #E8E4D9;
  border-radius: 8px;
  padding: 6px 6px;
  text-align: center;
}
.home-ucl-ko-pills > div.is-champ {
  background: #0A0E3F;
  border-color: #0A0E3F;
}
.home-ucl-ko-pills span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #5A6075;
}
.home-ucl-ko-pills > div.is-champ span {
  color: #C7D4EE;
}
.home-ucl-ko-pills strong {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: #0A0E3F;
  margin-top: 2px;
}
.home-ucl-ko-pills > div.is-champ strong {
  color: #FFD400;
}

/* Destekçi Duvarı Rozetleri (Açık Editoryal Tema) */
.support-wall-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.support-supporter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #FAF8F3 !important;
  border: 1px solid #E2DDD0 !important;
  color: #0A0E3F !important;
  font-size: 12px;
}
.support-supporter-pill strong {
  color: #0A0E3F !important;
  font-weight: 800;
}
.support-supporter-pill small {
  color: #0E7490 !important;
  font-weight: 600;
  font-size: 11px;
}

/* ══════════════ ANA SAYFA TOPLULUK & TARAFTAR YORUMLARI (DÖNEN MESAJLAR) ══════════════ */
.home-testi-card {
  padding: 20px 22px;
  background: #FFFFFF !important;
  border: 1px solid #E8E4D9 !important;
  border-radius: 16px;
}
.home-testi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.home-testi-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}
.home-testi-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #E2DDD0;
  background: #FAF8F3;
  color: #0A0E3F;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.home-testi-btn:hover {
  background: #0A0E3F;
  color: #FFD400;
  border-color: #0A0E3F;
}
.home-testi-cta {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #0A0E3F;
  background: #0A0E3F;
  color: #FFD400;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  margin-left: 4px;
}
.home-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 1040px) {
  .home-testi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .home-testi-grid {
    grid-template-columns: 1fr;
  }
}
.home-testi-item {
  background: #FAF8F3;
  border: 1px solid #E8E4D9;
  border-radius: 14px;
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  animation: homeTestiFade 0.35s ease;
}
@keyframes homeTestiFade {
  from { opacity: 0.35; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.home-testi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.home-testi-stars {
  color: #D97706;
  font-size: 12.5px;
  letter-spacing: 1px;
}
.home-testi-source {
  font-size: 10.5px;
  font-weight: 700;
  color: #0E7490;
  background: #E0F2FE;
  padding: 2px 8px;
  border-radius: 999px;
}
.home-testi-quote {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #1E293B;
  font-weight: 500;
}
.home-testi-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid #EAE5D9;
}
.home-testi-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0A0E3F;
  color: #FFD400;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.home-testi-author strong {
  display: block;
  font-size: 13px;
  color: #0A0E3F;
  line-height: 1.2;
}
.home-testi-author span {
  display: block;
  font-size: 11px;
  color: #5A6075;
  margin-top: 1px;
}
.home-testi-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}
.home-testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: #D4CFC2;
  cursor: pointer;
  padding: 0;
  transition: width 0.2s ease, background 0.2s ease;
}
.home-testi-dot.active {
  width: 22px;
  background: #0A0E3F;
}

/* ══════════════ UCL YOL & POD ZORLUK ORANI ROZETLERİ ══════════════ */
.ucl-brk-path-tag {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.ucl-brk-pod {
  position: relative;
  padding-top: 26px !important;
}
.ucl-pod-diff-badge {
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.ucl-path-diff-pill {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.ucl-pod-diff-badge.hard,
.ucl-path-diff-pill.hard {
  background: #FEE2E2;
  color: #B91C1C;
  border: 1px solid #FECACA;
}
.ucl-pod-diff-badge.med,
.ucl-path-diff-pill.med {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}
.ucl-pod-diff-badge.bal,
.ucl-path-diff-pill.bal {
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

/* ══════════════ ANA SAYFA FİKSTÜR ZORLUĞU (5 MAÇ) MİNİ KARTI ══════════════ */
.home-fdr-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-variant-numeric: tabular-nums;
}
.home-fdr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid #F2EFE7;
}
.home-fdr-row:last-child {
  border-bottom: none;
}
.home-fdr-left {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.home-fdr-slot {
  font-size: 10px;
  font-weight: 800;
  color: #5A6075;
  background: #FAF8F3;
  border: 1px solid #E8E4D9;
  border-radius: 5px;
  padding: 1px 5px;
  flex-shrink: 0;
}
.home-fdr-opp {
  font-size: 12.5px;
  font-weight: 700;
  color: #0A0E3F;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-fdr-venue {
  font-size: 10px;
  font-weight: 800;
  color: #5A6075;
  background: #F1F5F9;
  border-radius: 4px;
  padding: 1px 4px;
  flex-shrink: 0;
}
.home-fdr-venue.is-home {
  background: #FFF4B8;
  color: #0A0E3F;
}
.home-fdr-pill {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ══════════════ HAREKETLİ TAKTİK FUTBOL SAHASI ARKA PLANI ══════════════ */
.fb-pitch-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.92;
}
.fb-pitch-ambient svg {
  width: 100%;
  height: 100%;
  display: block;
}
.header,
.hero,
.main-container,
.footer {
  position: relative;
  z-index: 1;
}
.pitch-pass-line {
  animation: pitchDashFlow 18s linear infinite;
}
.pitch-pass-line.rev {
  animation: pitchDashFlowRev 22s linear infinite;
}
@keyframes pitchDashFlow {
  from { stroke-dashoffset: 360; }
  to   { stroke-dashoffset: 0; }
}
@keyframes pitchDashFlowRev {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: 360; }
}
.pitch-pulse-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: pitchPulseOut 9s ease-out infinite;
}
.pitch-pulse-ring.delay {
  animation-delay: 4.5s;
}
@keyframes pitchPulseOut {
  0%   { transform: scale(0.92); opacity: 0.55; }
  75%  { transform: scale(1.65); opacity: 0; }
  100% { transform: scale(1.65); opacity: 0; }
}
.pitch-node {
  animation: pitchNodeDriftA 16s ease-in-out infinite alternate;
}
.pitch-node.n2 { animation: pitchNodeDriftB 19s ease-in-out infinite alternate; }
.pitch-node.n3 { animation: pitchNodeDriftB 15s ease-in-out infinite alternate-reverse; }
.pitch-node.n4 { animation: pitchNodeDriftA 21s ease-in-out infinite alternate-reverse; }
@keyframes pitchNodeDriftA {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(26px, -16px); }
  100% { transform: translate(-14px, 18px); }
}
@keyframes pitchNodeDriftB {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(-24px, 18px); }
  100% { transform: translate(18px, -14px); }
}
@media (prefers-reduced-motion: reduce) {
  .pitch-pass-line,
  .pitch-pulse-ring,
  .pitch-node {
    animation: none !important;
  }
}

/* ══════════════ FMD TARZI DERİN GÖLGELİ HAREKETLİ KARTLAR & SCROLL REVEAL ══════════════ */
.fmd-mini-card {
  border-radius: 18px !important;
  box-shadow: 0 10px 28px rgba(10, 14, 63, 0.055), 0 1px 3px rgba(10, 14, 63, 0.04) !important;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease, border-color 0.2s ease !important;
  will-change: transform;
}
.fmd-mini-card:hover {
  transform: translateY(-5px) scale(1.008) !important;
  box-shadow: 0 20px 44px rgba(10, 14, 63, 0.11), 0 2px 8px rgba(10, 14, 63, 0.05) !important;
  border-color: #0E7490 !important;
}
.fmd-mini-card .fmd-mini-row {
  background: #FAF8F3;
  border: 1px solid #F0ECE0;
  border-radius: 9px;
  padding: 6px 10px;
  margin-bottom: 5px;
  border-bottom: 1px solid #F0ECE0;
  transition: background 0.15s ease, transform 0.15s ease;
}
.fmd-mini-card:hover .fmd-mini-row:hover {
  background: #FFF8CC;
  transform: translateX(2px);
}
.fmd-mini-card .fmd-mini-row:last-child {
  margin-bottom: 0;
}
.fmd-mini-card .fmd-inline-bar-track {
  height: 7px;
  border-radius: 999px;
  background: #ECE8DC;
  margin-top: 8px;
}
.fmd-mini-card .fmd-inline-bar-fill {
  border-radius: 999px;
  background: linear-gradient(90deg, #0A0E3F 0%, #0E7490 100%) !important;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Scroll'da yumuşakça süzülerek açılan kartlar */
.fmd-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.fmd-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fmd-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ══════════════ FMD BÜTÜNLEŞİK AÇIK EDİTORYAL HEADER & HERO (SAYFAYLA TEK PARÇA) ══════════════ */
.header {
  position: sticky !important;
  top: 0;
  z-index: 1600 !important;
  background: rgba(247, 245, 238, 0.88) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid #E5E0D3 !important;
  box-shadow: 0 2px 14px rgba(10, 14, 63, 0.04) !important;
}
.nav-drop-menu {
  z-index: 1700 !important;
}
.logo-title {
  color: #0A0E3F !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
}
.logo-sub {
  color: #5A6075 !important;
}
.nav-link,
.nav-drop-btn {
  color: #0A0E3F !important;
  font-weight: 600 !important;
  border-radius: 999px !important;
}
.nav-link:hover,
.nav-drop-btn:hover,
.nav-dropdown:hover .nav-drop-btn,
.nav-dropdown.open .nav-drop-btn {
  background: rgba(10, 14, 63, 0.06) !important;
  border-color: transparent !important;
  color: #0A0E3F !important;
}
.nav-link.active {
  background: #FFF4B8 !important;
  color: #0A0E3F !important;
  border: 1px solid rgba(217, 119, 6, 0.35) !important;
  font-weight: 800 !important;
}
.btn-support-nav {
  background: #FFF8D6 !important;
  color: #B45309 !important;
  border: 1.5px solid #F59E0B !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}
.btn-support-nav:hover {
  background: #FFD400 !important;
  color: #0A0E3F !important;
  border-color: #FFD400 !important;
}
.ui-status-dot-wrap {
  background: #FFFFFF !important;
  border: 1px solid #DFD9CA !important;
  color: #0A0E3F !important;
  border-radius: 999px !important;
}
.mobile-menu-btn {
  background: #FFFFFF !important;
  border: 1px solid #DFD9CA !important;
}
.mobile-menu-btn span {
  background: #0A0E3F !important;
}

/* HERO: Sayfanın sıcak krem zemini + hareketli futbol sahası çizgileriyle tek parça */
.hero {
  background: transparent !important;
  border-bottom: 1px solid #EAE5D9 !important;
  padding-top: 26px !important;
  padding-bottom: 26px !important;
}
.hero-bg {
  background:
    radial-gradient(ellipse 65% 80% at 50% 0%, rgba(255, 212, 0, 0.11) 0%, rgba(247, 245, 238, 0) 70%),
    radial-gradient(ellipse 45% 60% at 85% 30%, rgba(14, 116, 144, 0.07) 0%, rgba(247, 245, 238, 0) 70%) !important;
  opacity: 1 !important;
}
.hero-tag {
  background: #FFFFFF !important;
  border: 1px solid #E2DDD0 !important;
  color: #0E7490 !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px rgba(10, 14, 63, 0.04) !important;
}
.hero-title,
.hero h1 {
  color: #0A0E3F !important;
  letter-spacing: -0.035em !important;
  font-weight: 900 !important;
}
.hero-accent {
  color: #0E7490 !important;
  text-decoration: underline;
  text-decoration-color: #FFD400;
  text-decoration-thickness: 5px;
  text-underline-offset: 6px;
}
.hero-desc,
.hero-sub {
  color: #475569 !important;
}
.hero-stats {
  background: #FFFFFF !important;
  border: 1px solid #E5E0D3 !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 32px rgba(10, 14, 63, 0.06), 0 1px 3px rgba(10, 14, 63, 0.04) !important;
  backdrop-filter: none !important;
}
.hero-stat-val,
.hero .hero-stat-val {
  color: #0A0E3F !important;
  font-weight: 900 !important;
}
.hero-stat:first-child .hero-stat-val,
.hero .hero-stat-val.accent {
  color: #0E7490 !important;
}
.hero-stat-label,
.hero .hero-stat-label {
  color: #5A6075 !important;
  font-weight: 700 !important;
}
.hero-stat-divider {
  background: #EAE5D9 !important;
}
.hero-stat.clickable-card:hover {
  background: #FFF8CC !important;
  border-radius: 12px !important;
}
.hero [style*="color:#FFD400"] {
  color: #0E7490 !important;
}
.hero [style*="color:#94A3B8"] {
  color: #5A6075 !important;
}

/* ══════════════ ANA SAYFA "FİKRİNİZİ BİZİMLE PAYLAŞIN" FORMU ══════════════ */
.home-feedback-card {
  padding: 22px 24px !important;
  background: #FFFFFF !important;
  border: 1px solid #E8E4D9 !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 28px rgba(10, 14, 63, 0.05) !important;
}
.home-fb-head {
  margin-bottom: 16px;
}
.home-fb-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.home-fb-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 640px) {
  .home-fb-row {
    grid-template-columns: 1fr;
  }
}
.home-fb-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.home-fb-field label {
  font-size: 12px;
  font-weight: 700;
  color: #0A0E3F;
}
.home-fb-field input,
.home-fb-field select,
.home-fb-field textarea {
  width: 100%;
  padding: 10px 13px;
  border-radius: 10px;
  border: 1.5px solid #E2DDD0;
  background: #FAF8F3;
  color: #0A0E3F;
  font-family: inherit;
  font-size: 13.5px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.home-fb-field input:focus,
.home-fb-field select:focus,
.home-fb-field textarea:focus {
  outline: none;
  border-color: #0E7490;
  background: #FFFFFF;
}
.home-fb-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.home-fb-status {
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6075;
}
.home-fb-status.ok {
  color: #059669;
}
.home-fb-submit {
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  background: #0A0E3F;
  color: #FFD400;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.home-fb-submit:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}
.home-fb-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}
