@import url('user-comments.css');

/* ===== BREADCRUMB JUMP - Scroll hedefi offset (başlık görünsün, navbar altında) ===== */
[id^="section-"] {
  scroll-margin-top: 100px;
}

.match-follow-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 12px 0 20px;
}
.ms-follow-toolbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.1);
  color: var(--accent-green, #22c55e);
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
}
.ms-follow-toolbar-btn:hover {
  background: rgba(34, 197, 94, 0.18);
}

/* ===== MATCH DETAIL RIGHT SIDEBAR ===== */
.sidebar-right-match-detail .sidebar-block {
  padding: 16px;
}

.sidebar-right-match-detail .sidebar-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.sidebar-right-match-detail .sidebar-title i {
  color: var(--accent-green);
  margin-right: 6px;
}

/* Yapay Zeka Tahmini bloğu */
.sidebar-predictions {
  border-radius: 12px;
  padding: 16px;
}

.sidebar-predictions .sidebar-title {
  color: #fff;
}


.sidebar-predictions .prediction-card-sidebar {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sidebar-predictions .prediction-card-sidebar .prediction-type {
  color: #b8b8b8;
}

.sidebar-predictions .prediction-card-sidebar .prediction-type i {
  color: var(--accent-gold);
}

.sidebar-predictions .prediction-card-sidebar .prediction-pick {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.sidebar-predictions .prediction-card-sidebar .prediction-pick-value {
  color: #f5b731;
}

.sidebar-predictions .prediction-card-sidebar .prediction-reasoning {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.08);
}

.sidebar-predictions .prediction-card-sidebar .prediction-reasoning i {
  color: var(--accent-gold);
}

.sidebar-predictions .prediction-card-sidebar .prediction-reasoning p {
  color: #c8c8c8;
}

.sidebar-block-yapay-banner {
  margin-bottom: 16px;
}
.sidebar-yapay-banner-btn {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.sidebar-yapay-banner-btn:hover {
  opacity: 0.92;
  transform: scale(1.02);
}
.sidebar-yapay-banner-btn:focus-visible {
  outline: 2px solid var(--accent-green);
  outline-offset: 2px;
}
.sidebar-yapay-banner-btn img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  vertical-align: middle;
}

.sidebar-block-duello-banner {
  margin-bottom: 16px;
}
.sidebar-duello-banner-link {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  transition: opacity 0.2s, transform 0.2s;
}
.sidebar-duello-banner-link:hover {
  opacity: 0.9;
  transform: scale(1.02);
}
.sidebar-duello-banner-link img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  vertical-align: middle;
}

.sidebar-block-related-news {
  margin-bottom: 16px;
}
.sidebar-related-news-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sidebar-related-news-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.sidebar-related-news-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(22, 163, 74, 0.28);
}
.sidebar-related-news-thumb {
  flex-shrink: 0;
  width: 88px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-primary);
}
.sidebar-related-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sidebar-related-news-title {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary, #e2e8f0);
}

/* Ligdeki diğer maç özetleri - görsellerle */
.sidebar-block-league-videos {
  margin-bottom: 16px;
}
.sidebar-league-videos-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sidebar-league-video-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.sidebar-league-video-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(22, 163, 74, 0.25);
}
.sidebar-league-video-thumb {
  position: relative;
  flex-shrink: 0;
  width: 100px;
  aspect-ratio: 16/9;
  background: var(--bg-primary);
  overflow: hidden;
}
.sidebar-league-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sidebar-league-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}
.sidebar-league-video-item:hover .sidebar-league-video-play {
  opacity: 1;
  background: #fff;
}
.sidebar-league-video-play .ms-icon {
  font-size: 20px;
  color: var(--accent-red, #e53935);
}
.sidebar-league-video-info {
  flex: 1;
  min-width: 0;
  padding: 8px 12px 8px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-league-video-teams {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-league-video-score {
  font-size: 0.75rem;
  color: var(--accent-green);
  font-weight: 600;
}

.sidebar-right-match-detail .sidebar-block .sidebar-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.sidebar-right-match-detail .sidebar-title .ms-icon {
  font-size: 22px;
  color: var(--accent-green);
  flex-shrink: 0;
}

.sidebar-predictions .sidebar-title .ms-icon {
  color: var(--accent-primary);
}

.section-title .ms-icon {
  font-size: 22px;
  margin-right: 0;
  color: var(--accent-green);
}

.lineup-accordion-title .ms-icon {
  font-size: 22px;
  margin-right: 8px;
  color: var(--accent-green);
}

.lineup-accordion-icon {
  font-size: 20px !important;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}
.lineup-accordion-trigger[aria-expanded="true"] .lineup-accordion-icon {
  transform: rotate(180deg);
}

.sidebar-stats-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-stat-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-stat-value {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  min-width: 24px;
  text-align: center;
}

.sidebar-stat-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sidebar-stat-label {
  font-size: 0.68rem;
  color: var(--text-secondary);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-stat-bar {
  display: flex;
  height: 5px;
  border-radius: 3px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.sidebar-stat-bar-home {
  background: var(--accent-blue);
  border-radius: 3px 0 0 3px;
}

.sidebar-stat-bar-away {
  background: var(--accent-gold);
  border-radius: 0 3px 3px 0;
}

/* Sidebar mini charts - Top Hakimiyeti & Toplam Şut */
.sidebar-mini-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.sidebar-mini-chart {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 6px;
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}
.sidebar-mini-chart-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.sidebar-mini-pie-wrap {
  position: relative;
  width: 56px;
  height: 56px;
}
.sidebar-mini-pie {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.sidebar-mini-pie-center {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--text-primary);
  pointer-events: none;
}
.sidebar-mini-shots .sidebar-mini-bars {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  width: 100%;
  justify-content: center;
}
.sidebar-mini-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  max-width: 48px;
}
.sidebar-mini-bar-val {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-primary);
}
.sidebar-mini-bar-wrap {
  width: 100%;
  height: 36px;
  background: var(--bg-secondary);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.sidebar-mini-bar {
  width: 100%;
  min-height: 4px;
  border-radius: 4px 4px 0 0;
  transition: height 0.3s ease;
}
.sidebar-mini-bar-home { background: var(--accent-blue); }
.sidebar-mini-bar-away { background: var(--accent-gold); }

/* Maç istatistikleri - Top Hakimiyeti pasta grafik */
.stats-possession-wrap {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.stats-possession-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stats-pie-chart {
  position: relative;
  width: 140px;
  height: 140px;
}

.stats-pie {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.stats-pie-center {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stats-pie-legends {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.stats-pie-legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.stats-pie-legend-home .stats-chart-logo { border: 1px solid var(--accent-blue); }
.stats-pie-legend-away .stats-chart-logo { border: 1px solid var(--accent-gold); }

.stats-chart-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 4px;
}

.stats-chart-logo-ph {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* Maç istatistikleri - Yatay bar grafik (görsel referans tasarımı) */
.stats-chart-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 100%;
  margin: 0 auto;
}


.stats-chart-row-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border-color, rgba(0,0,0,0.08));
}

[data-theme="dark"] .stats-chart-row-title {
  border-bottom-color: rgba(255,255,255,0.08);
}

.stats-chart-item {
  margin-bottom: 12px;
}

.stats-chart-hbar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.stats-chart-value {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 48px;
}

.stats-chart-value-left {
  text-align: right;
}

.stats-chart-value-right {
  text-align: left;
}

.stats-chart-hbar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.stats-chart-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.2;
}

.stats-chart-hbar {
  display: flex;
  width: 100%;
  height: 10px;
  background: #F5F5F5;
  border-radius: 4px;
  overflow: hidden;
}

[data-theme="dark"] .stats-chart-hbar {
  background: rgba(255,255,255,0.08);
}

.stats-chart-hbar-seg {
  height: 100%;
  min-width: 0;
  flex-shrink: 0;
  transition: width 0.3s ease;
}

.stats-chart-hbar-seg:not(.stats-chart-hbar-empty)[style*="width: 0"] {
  min-width: 0;
}

.stats-chart-hbar-push-right {
  margin-left: auto;
}

.stats-chart-hbar-red {
  background: #455d83;
}

.stats-chart-hbar-black {
  background: #1a1a1a;
}

[data-theme="dark"] .stats-chart-hbar-black {
  background: #424242;
}

.stats-chart-hbar-empty {
  background: transparent;
}

.section-stats .section-header {
  margin-bottom: 20px;
}

.predictions-grid-sidebar {
  gap: 10px;
}

.prediction-card-sidebar {
  padding: 10px 12px;
}

.prediction-card-sidebar .prediction-type {
  font-size: 0.72rem;
}

.prediction-card-sidebar .prediction-pick {
  padding: 8px 10px;
}

.prediction-card-sidebar .prediction-reasoning {
  font-size: 0.75rem;
}

.sidebar-empty-msg {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  font-style: italic;
}


.unavailable-teams-sidebar {
  max-width: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.unavailable-teams-sidebar .unavailable-row {
  min-height: 44px;
  padding: 5px 8px;
  border-bottom: 1px solid var(--border-color);
}

.unavailable-teams-sidebar .unavailable-row:last-child {
  border-bottom: none;
}

.unavailable-teams-sidebar .unavailable-team-name {
  font-size: 0.78rem;
}

.unavailable-teams-sidebar .unavailable-name {
  font-size: 0.75rem;
}

.unavailable-teams-sidebar .unavailable-reason {
  font-size: 0.68rem;
}

.unavailable-teams-sidebar .unavailable-photo,
.unavailable-teams-sidebar .unavailable-photo-placeholder {
  width: 28px;
  height: 28px;
  min-width: 28px;
}

/* Sakat ve cezalı oyuncular - tek oyuncu + toplam sayı, dar alan */
.hero-unavailable-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 100px;
  flex-shrink: 1;
  min-width: 0;
}
.hero-unavailable-cards-left {
  align-items: flex-start;
}
.hero-unavailable-cards-right {
  align-items: flex-end;
}
.hero-unavailable-card-clickable {
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.hero-unavailable-card-clickable:hover {
  opacity: 0.9;
}
.hero-unavailable-card-clickable:active {
  transform: scale(0.98);
}
.hero-unavailable-card {
  position: relative;
  border-radius: 10px;
  padding: 6px 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-color);
  width: max-content;
  max-width: 100%;
}
.hero-unavailable-cards .hero-unavailable-card:nth-child(1) {
  background: #21a417;
}
.hero-unavailable-cards .hero-unavailable-card:nth-child(2) {
  background: #dc2626;
}
.hero-unavailable-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-unavailable-cards-left .hero-unavailable-icon {
  left: 0;
}
.hero-unavailable-cards-right .hero-unavailable-icon {
  right: 0;
}
.hero-unavailable-cards-left .hero-unavailable-card {
  padding-left: 26px;
}
.hero-unavailable-cards-right .hero-unavailable-card {
  padding-right: 26px;
}
.hero-unavailable-icon .ms-icon {
  font-size: 20px;
  color: #fff;
  padding: 5px;
}
.hero-unavailable-more {
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  margin-left: 4px;
  align-self: center;
  flex-shrink: 0;
}
.hero-unavailable-cards-right .hero-unavailable-more {
  margin-left: 0;
  margin-right: 4px;
}
.hero-unavailable-avatars {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  min-height: 32px;
}
.hero-unavailable-avatars-stack {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.hero-unavailable-empty-msg {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  line-height: 1.3;
  max-width: 120px;
}
.hero-unavailable-avatars-stack > :first-child {
  margin-left: 0;
  z-index: 3;
}
.hero-unavailable-avatars-stack > :nth-child(2) {
  z-index: 2;
}
.hero-unavailable-avatars-stack > :not(:first-child) {
  margin-left: -10px;
}
.hero-unavailable-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.hero-unavailable-avatar-ph {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  border: 2px solid rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* Maç yorumu, yayın, kadrolar ve tab üstü bloklar */
.match-lineup-block,
.match-broadcast-block,
.match-commentary-block,
.match-related-news-block,
.match-related-content-block,
.detail-above-tabs {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 16px;
  background: var(--bg-secondary);
}

/* Lineup tabs block - diğer bloklarla aynı hizada, görsel referans stili */
.match-lineup-block.lineup-tabs-block {
  background: var(--bg-secondary);
  border-radius: 10px;
  overflow: hidden;
}

/* Yayın bloğu üst bilgi barı */
.match-broadcast-info-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
  padding: 12px 16px;
  background: rgba(34, 197, 94, 0.15);
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.match-broadcast-info-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.match-broadcast-info-item .ms-icon {
  font-size: 18px;
  opacity: 0.85;
}

/* Yayın ve kadro blokları başlık */
.match-broadcast-block .section-header,
.match-lineup-block .section-header {
  margin-bottom: 12px;
}

.match-broadcast-block .section-header {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.section-broadcast-sentence {
  font-weight: normal;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0.35em 0 0 0;
  width: 100%;
}

/* Lineup tabs - referans görsel stili: aktif tab içerikle birleşik */
.lineup-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 10px 16px 0;
  background: transparent;
}

.lineup-tabs-block .lineup-tab-panel {
  padding: 20px 16px;
  background: var(--bg-card);
  border-radius: 0 0 8px 8px;
}

.lineup-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: none;
  border-radius: 6px 6px 0 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  margin-bottom: -1px;
}

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

.lineup-tab-btn[data-lineup-tab="sakat"]:hover {
  background: rgba(34, 197, 94, 0.15);
  color: var(--accent-green);
}

.lineup-tab-btn[data-lineup-tab="cezali"]:hover {
  background: rgba(239, 68, 68, 0.15);
  color: var(--accent-red);
}

/* Aktif tab: içerik paneliyle aynı arka plan, kesintisiz birleşim */
.lineup-tab-btn.active[data-lineup-tab="gelismeler"],
.lineup-tab-btn.active[data-lineup-tab="kadrolar"],
.lineup-tab-btn.active[data-lineup-tab="onceki"] {
  background: var(--bg-card);
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.lineup-tab-btn.active[data-lineup-tab="sakat"] {
  background: var(--bg-card);
  color: var(--accent-green);
  position: relative;
  z-index: 1;
}

.lineup-tab-btn.active[data-lineup-tab="cezali"] {
  background: var(--bg-card);
  color: var(--accent-red);
  position: relative;
  z-index: 1;
}

.lineup-tab-btn .ms-icon {
  font-size: 18px;
}

.lineup-tab-panel {
  display: none;
}

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

.lineup-gelismeler-wrap {
  padding: 0;
}
.lineup-gelismeler-split.has-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 768px) {
  .lineup-gelismeler-split.has-stats {
    grid-template-columns: 1fr;
  }
}
.lineup-gelismeler-left {
  min-width: 0;
}
.lineup-gelismeler-right {
  min-width: 0;
}
.lineup-gelismeler-right .section-stats-gelismeler {
  padding: 0;
  overflow: hidden;
}
.lineup-gelismeler-right .stats-chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.lineup-gelismeler-right .stats-chart-group {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px;
}

.lineup-gelismeler-right .stats-chart-pairs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.lineup-gelismeler-right .stats-chart-pair {
  display: contents;
}

.lineup-gelismeler-right .stats-chart-pair-item {
  min-width: 0;
}

@media (max-width: 900px) {
  .lineup-gelismeler-right .stats-chart-grid {
    grid-template-columns: 1fr;
  }
  .lineup-gelismeler-right .stats-chart-pairs {
    grid-template-columns: 1fr;
  }
}
.lineup-gelismeler-right .stats-chart-group .stats-chart-row-title {
  margin-bottom: 4px;
  padding-bottom: 2px;
}
.lineup-gelismeler-right .stats-chart-item {
  margin-bottom: 0;
  padding: 8px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-secondary);
}

.widget-h2h-proxy {
  margin: 0 0 10px;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--bg-secondary);
}

.widget-h2h-hidden {
  display: none !important;
}

.widget-game-broadcast-row {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-color);
  color: var(--text-secondary);
  font-size: 0.78rem;
  line-height: 1.35;
  text-align: center;
}

.widget-game-video-row {
  margin-top: 10px;
  width: 100%;
}

.widget-game-video-row .video-splash-header-notice {
  margin-bottom: 8px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 8px 10px;
  background: #ff1f4a33;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.widget-game-video-row .video-splash-notice-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.widget-game-video-row .video-splash-notice-text {
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.widget-game-video-row .video-splash-yt-btn-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--accent-green);
  font-size: 0.78rem;
  font-weight: 700;
}

.widget-game-video-row .modal-close {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

.widget-game-video-row iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 10px;
  display: block;
}

.detail-ai-poll-wrap {
  width: 100%;
  box-sizing: border-box;
}
.detail-ai-poll-wrap .detail-ai-poll-section {
  margin-bottom: 0;
}
.detail-ai-poll-section {
  margin-bottom: 24px;
}
.match-related-content-block .detail-ai-poll-section {
  margin-bottom: 20px;
}
.match-related-content-block .related-news-grid {
  margin-top: 0;
}
.detail-ai-poll-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 640px) {
  .detail-ai-poll-row {
    grid-template-columns: 1fr;
  }
}
.detail-ai-block, .detail-poll-block {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
}
.detail-ai-title, .detail-poll-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.detail-ai-title .ms-icon,
.detail-poll-title .ms-icon {
  color: var(--accent-green);
}
.predictions-grid-detail {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prediction-card-detail {
  padding: 10px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
}
.detail-ai-empty {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}
.detail-poll-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.detail-poll-content.results-only .detail-poll-vote-wrap {
  display: none;
}
.detail-poll-content.results-only .detail-poll-results-wrap {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}
.detail-poll-vote-wrap {
  flex: 1;
  min-width: 0;
}
.detail-poll-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.detail-poll-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.2s, border-color 0.2s;
}
.detail-poll-option-home {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.3);
}
.detail-poll-option-draw {
  background: rgba(148, 163, 184, 0.15);
  border-color: rgba(148, 163, 184, 0.3);
}
.detail-poll-option-away {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}
.detail-poll-option:hover {
  opacity: 0.9;
}
.detail-poll-option:has(input:checked) {
  opacity: 1;
}
.detail-poll-option-home:has(input:checked) {
  background: rgba(34, 197, 94, 0.25);
  border-color: #22c55e;
}
.detail-poll-option-draw:has(input:checked) {
  background: rgba(148, 163, 184, 0.25);
  border-color: #94a3b8;
}
.detail-poll-option-away:has(input:checked) {
  background: rgba(59, 130, 246, 0.25);
  border-color: #3b82f6;
}
.detail-poll-option input {
  width: 18px;
  height: 18px;
}
.detail-poll-option-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}
.detail-poll-submit-btn {
  margin-top: 10px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent-green);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.detail-poll-submit-btn:hover:not(:disabled) {
  opacity: 0.9;
}
.detail-poll-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.detail-poll-results-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.detail-poll-pie-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}
.detail-poll-pie {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.detail-poll-pie-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.detail-poll-pie-val {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
}
.detail-poll-pie-val[data-vote="home"] { color: #22c55e; }
.detail-poll-pie-val[data-vote="draw"] { color: #94a3b8; }
.detail-poll-pie-val[data-vote="away"] { color: #3b82f6; }

/* Yapay Zeka'ya Sor modal */
.ai-ask-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.ai-ask-modal-overlay.active {
  display: flex;
}
.ai-ask-modal-content {
  width: 100%;
  max-width: 920px;
  max-height: min(92vh, 880px);
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: 14px;
  box-shadow: 0 16px 56px rgba(0,0,0,0.45);
  overflow: hidden;
}
.ai-ask-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}
.ai-ask-modal-header .modal-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  margin: 0;
  font-weight: 700;
}
.ai-ask-modal-header .ms-icon { color: var(--accent-green); font-size: 26px; }
.ai-ask-modal-matchbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(0,0,0,0.15);
  flex-shrink: 0;
}
.ai-ask-match-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  max-width: 42%;
}
.ai-ask-match-logo {
  width: 67px;
  height: 67px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
}
.ai-ask-match-logo-ph {
  width: 67px;
  height: 67px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
}
.ai-ask-match-name {
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  color: var(--text-primary);
  word-break: break-word;
}
.ai-ask-match-vs {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}
.ai-ask-modal-body {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: row;
}
.ai-ask-modal-sidebar {
  width: 260px;
  min-width: 220px;
  max-width: 34%;
  padding: 14px 12px 14px 16px;
  border-right: 1px solid var(--border-color);
  background: rgba(0,0,0,0.12);
  overflow-y: auto;
  flex-shrink: 0;
}
.ai-ask-sidebar-heading {
  margin: 0 0 8px 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-green);
}
.ai-ask-sidebar-heading--secondary {
  margin-top: 16px;
  color: #94a3b8;
}
.ai-ask-preset-list,
.ai-ask-suggest-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ai-ask-preset-btn,
.ai-ask-suggest-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.ai-ask-preset-btn:hover,
.ai-ask-suggest-btn:hover {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
}
.ai-ask-modal-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.ai-ask-messages {
  flex: 1;
  min-height: 220px;
  max-height: min(48vh, 420px);
  overflow-y: auto;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ai-ask-msg {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 1.05rem;
  line-height: 1.55;
}
.ai-ask-msg.user {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  align-self: flex-end;
  max-width: 88%;
}
.ai-ask-msg.ai {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  align-self: flex-start;
  max-width: 92%;
}
.ai-ask-msg.loading {
  color: var(--text-muted);
  font-style: italic;
}
.ai-ask-form-wrap {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-shrink: 0;
}
.ai-ask-input {
  flex: 1;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--bg-primary);
  color: var(--text-primary);
  resize: none;
  min-height: 52px;
}
.ai-ask-input:focus {
  outline: none;
  border-color: var(--accent-green);
}
.ai-ask-send-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent-green);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.ai-ask-send-btn:hover:not(:disabled) { opacity: 0.9; }
.ai-ask-send-btn:disabled { opacity: 0.5; cursor: not-allowed; }

@media (max-width: 768px) {
  .ai-ask-modal-content {
    max-height: 95vh;
  }
  .ai-ask-modal-body {
    flex-direction: column;
  }
  .ai-ask-modal-sidebar {
    width: 100%;
    max-width: none;
    max-height: 38vh;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  .ai-ask-messages {
    max-height: 36vh;
  }
}

@media (max-width: 480px) {
  .detail-poll-content {
    flex-direction: column;
  }
  .detail-poll-content.results-only .detail-poll-results-wrap {
    max-width: 100%;
  }
}
.detail-poll-loading {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 8px 0;
}
.lineup-gelismeler-section-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
  padding-bottom: 6px;
}
.lineup-gelismeler-section-title-center {
  text-align: center;
}

.lineup-gelismeler-stats-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color, rgba(0,0,0,0.08));
}
.lineup-gelismeler-stats-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lineup-gelismeler-stats-logo .stats-header-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 6px;
}
.lineup-gelismeler-stats-logo .stats-header-logo-ph {
  width: 34px;
  height: 34px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lineup-gelismeler-stats-title {
  margin: 0;
  flex: 0 0 auto;
  text-align: center;
}
.stats-chart-scroll-wrap {
  overflow: hidden;
  min-height: 0;
}
.lineup-gelismeler-right.stats-header-cut .lineup-gelismeler-stats-header {
  display: none;
}

.stats-show-all-wrap {
  text-align: center;
  padding: 12px 0 0;
  margin-top: 8px;
  border-top: 1px solid var(--border-color, rgba(0,0,0,0.08));
}
.stats-show-all-btn {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-blue, #3b82f6);
  background: transparent;
  border: 1px solid var(--border-color, rgba(0,0,0,0.12));
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.stats-show-all-btn:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: var(--accent-blue, #3b82f6);
}

/* Stats splash modal */
.stats-splash-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.stats-splash-overlay.active {
  opacity: 1;
  visibility: visible;
}
.stats-splash-content {
  background: var(--bg-secondary);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px 20px 40px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}
.stats-splash-overlay.active .stats-splash-content {
  transform: translateY(0);
}
.stats-splash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.stats-splash-header .modal-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}
.stats-splash-header .modal-close {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--text-secondary);
  border-radius: 6px;
}
.stats-splash-header .modal-close:hover {
  background: rgba(0,0,0,0.06);
  color: var(--text-primary);
}
.stats-splash-body {
  min-height: 100px;
}

/* Takım ve Oyuncu splash modalları */
.team-player-splash-overlay {
  position: fixed;
  inset: 0;
  z-index: 310;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.team-player-splash-overlay.active {
  opacity: 1;
  visibility: visible;
}
.team-player-splash-content {
  background: var(--bg-secondary);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}
.team-player-splash-overlay.active .team-player-splash-content {
  transform: translateY(0);
}
.team-player-splash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  flex-shrink: 0;
}
.team-player-splash-header .modal-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.team-player-splash-header .modal-title .ms-icon {
  font-size: 1.25rem;
  color: var(--accent-green);
}
.team-player-splash-header .modal-close {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--text-secondary);
  border-radius: 6px;
}
.team-player-splash-header .modal-close:hover {
  background: rgba(0,0,0,0.06);
  color: var(--text-primary);
}
.team-player-splash-body {
  flex: 1;
  min-height: 200px;
  overflow-y: auto;
  padding: 0 20px 32px;
}
.team-player-splash-body #teamSplashTarget,
.team-player-splash-body #playerSplashTarget {
  min-height: 180px;
}

/* Oyuncu splash - API Sports widget içeriği dark tema uyumu */
[data-theme="dark"] #playerSplashTarget {
  color: var(--text-primary);
}
[data-theme="dark"] #playerSplashTarget * {
  border-color: var(--border-color) !important;
}
[data-theme="dark"] #playerSplashTarget p,
[data-theme="dark"] #playerSplashTarget span,
[data-theme="dark"] #playerSplashTarget td,
[data-theme="dark"] #playerSplashTarget th,
[data-theme="dark"] #playerSplashTarget li,
[data-theme="dark"] #playerSplashTarget div {
  color: var(--text-primary) !important;
}
[data-theme="dark"] #playerSplashTarget a {
  color: var(--accent-green) !important;
}
[data-theme="dark"] #playerSplashTarget a:hover {
  color: var(--accent-green-light) !important;
}
[data-theme="dark"] #playerSplashTarget .player-detail,
[data-theme="dark"] #playerSplashTarget [class*="player"],
[data-theme="dark"] #playerSplashTarget [class*="detail"],
[data-theme="dark"] #playerSplashTarget section,
[data-theme="dark"] #playerSplashTarget table {
  background: var(--bg-card) !important;
  background-color: var(--bg-card) !important;
}
[data-theme="dark"] #playerSplashTarget th,
[data-theme="dark"] #playerSplashTarget td {
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
}
[data-theme="dark"] #playerSplashTarget tr:nth-child(even) td {
  background: var(--bg-panel) !important;
}
/* Oyuncu splash - görev aldığı maçlar listesi (her tema) */
#playerSplashTarget .player-splash-matches {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}
.player-splash-matches-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.player-splash-matches-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.player-splash-match-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  align-items: center;
}
.player-splash-match-item .match-info {
  color: var(--text-primary);
  font-size: 0.9rem;
}
.player-splash-match-item .match-info small {
  color: var(--text-muted);
  font-size: 0.8rem;
}
.player-splash-match-item .match-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.player-splash-match-item .match-stats span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.team-player-splash-iframe {
  width: 100%;
  min-height: 70vh;
  border: none;
  border-radius: 8px;
  background: var(--bg-primary);
}

.stats-splash-body .stats-chart-grid {
  gap: 16px;
}
.lineup-gelismeler-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 16px 0 12px;
}

.lineup-gelismeler-wrap .events-timeline-compact {
  max-height: none;
  overflow: visible;
}

.lineup-inj-sus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.lineup-inj-sus-col {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

.lineup-tabs-block .lineup-inj-sus-col {
  background: var(--bg-secondary);
  border-radius: 10px;
}

.lineup-inj-sus-col-home {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.lineup-inj-sus-col-away {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.lineup-inj-sus-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  width: 100%;
}

.lineup-inj-sus-col-home .lineup-inj-sus-team {
  align-items: flex-start;
}

.lineup-inj-sus-col-away .lineup-inj-sus-team {
  align-items: flex-end;
}

.lineup-inj-sus-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  padding: 4px;
}

.lineup-inj-sus-logo-ph {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--glass);
  border-radius: 12px;
}

.lineup-inj-sus-team-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 0 10px;
}

.lineup-inj-sus-team-no-logo {
  padding: 12px 0 8px;
}

.lineup-inj-sus-list {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
  width: 100%;
}

.lineup-inj-sus-col-away .lineup-inj-sus-list {
  text-align: right;
}

.lineup-inj-sus-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0px 16px;
  border-bottom: 1px solid var(--border-color);
}

.lineup-inj-sus-col-away .lineup-inj-sus-item {
  flex-direction: row-reverse;
}

.lineup-inj-sus-item:last-child {
  border-bottom: none;
}

.lineup-inj-sus-photo,
.lineup-inj-sus-ph {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.lineup-inj-sus-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.lineup-inj-sus-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lineup-inj-sus-col-away .lineup-inj-sus-info {
  align-items: flex-end;
}

.lineup-inj-sus-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.lineup-inj-sus-reason {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.lineup-tab-empty {
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin: 0;
}

.broadcast-channels-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.broadcast-channels-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Maç Özet Videoları */
.match-videos-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.match-video-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}
.match-video-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px 0;
}
.match-video-thumb-wrap {
  flex: 0 0 25%;
  max-width: 25%;
  min-width: 0;
}
.match-video-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  background: #111;
}
.match-video-meta {
  flex: 1;
  min-width: 0;
}
.match-video-meta .match-video-title {
  margin: 0 0 4px;
}
.match-video-meta .match-video-channel {
  margin: 0 0 8px;
}
.match-video-embed-wrap {
  aspect-ratio: 16/9;
  background: #000;
}
.match-video-embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.match-video-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 12px 16px 4px;
  line-height: 1.4;
}
.match-video-channel {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 16px 12px;
}

/* İlgili Haberler - maç detay: en fazla 8 kart, 4 sütun (küçük ekranda tek/iki sütun) */
.match-related-news-block .section-header,
.match-related-content-block .section-header {
  margin-bottom: 12px;
}
.related-news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
#section-related-news .related-news-grid {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
  #section-related-news .related-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.related-news-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.related-news-card:hover {
  border-color: rgba(22, 163, 74, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.related-news-card-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  align-items: stretch;
}
.related-news-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  overflow: hidden;
  background: var(--bg-primary);
  flex-shrink: 0;
}
.related-news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.related-news-card-body {
  flex: 1;
  min-width: 0;
  padding: 10px 12px 12px;
}
.related-news-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-news-card-summary {
  display: none;
}
@media (max-width: 640px) {
  .related-news-grid {
    grid-template-columns: 1fr;
  }
  #section-related-news .related-news-grid {
    grid-template-columns: 1fr;
  }
}
.broadcast-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.broadcast-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.broadcast-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.broadcast-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-card);
}
.detail-above-tabs .section {
  padding: 0;
}
.match-commentary-block .section-header {
  margin-bottom: 12px;
}

/* Maç yorumu – görsel sağda float, yazı çevreler */
.commentary-with-image {
  overflow: hidden;
}
.commentary-image-wrap {
  float: right;
  width: 40%;
  max-width: 40%;
  margin: 0 0 16px 20px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}
.commentary-image-wrap .commentary-template-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}
.commentary-text-wrap {
  overflow: visible;
}
.commentary-below {
  clear: both;
  width: 100%;
  padding-top: 12px;
}
.commentary-read-more-btn {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary, #333);
  background: var(--bg-card, #f5f5f0);
  border: 1px solid var(--border-color, #ddd);
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}
.commentary-read-more-btn:hover {
  background: var(--bg-tertiary, #e8e8e0);
}
.commentary-with-image .match-commentary-preview .commentary-read-more-btn {
  vertical-align: baseline;
}
@media (max-width: 768px) {
  .commentary-image-wrap {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 16px 0;
  }
}

.match-commentary-block .match-commentary-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-secondary);
  white-space: pre-line;
}

.match-commentary-text {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-secondary);
  white-space: pre-line;
}

.match-commentary-empty {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
}

/* ===== DETAIL TABS ===== */
.detail-tabs-wrapper {
  position: sticky;
  top: 93px;
  z-index: 90;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.detail-tabs {
  display: flex;
  overflow-x: auto;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 4px;
  -webkit-overflow-scrolling: touch;
}

.detail-tabs::-webkit-scrollbar { display: none; }

.detail-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  font-family: inherit;
}

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

.detail-tab.active {
  color: var(--accent-green);
  border-bottom-color: var(--accent-green);
}

.detail-tab .tab-badge {
  background: var(--accent-red);
  color: #fff;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 10px;
}

/* ===== BREADCRUMB ===== */
.detail-breadcrumb-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.breadcrumb-jump-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb-jump-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.breadcrumb-jump-icon .ms-icon {
  font-size: 20px;
  color: #16a34a;
}

.breadcrumb-jump-icon:hover .ms-icon {
  color: #15181d;
}

/* Sayfa içi scroll hedefi - yanıp sönme efekti */
.section-flash {
  animation: sectionFlash 2.5s ease-out;
}

@keyframes sectionFlash {
  0% { background-color: rgba(245, 183, 49, 0.5); }
  30% { background-color: rgba(245, 183, 49, 0.3); }
  100% { background-color: transparent; }
}

.detail-breadcrumb .breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.detail-breadcrumb a.breadcrumb-item:hover {
  color: var(--accent-green);
}

.breadcrumb-sport-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.breadcrumb-flag {
  width: 18px;
  height: 14px;
  object-fit: contain;
  border-radius: 2px;
}

.breadcrumb-sep {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  user-select: none;
}

.detail-breadcrumb-hr {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.match-summary-strip {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.match-summary-team {
  min-width: 0;
}

.match-summary-team-home {
  text-align: left;
}

.match-summary-team-away {
  text-align: right;
}

.match-summary-team-name {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-summary-team-link {
  color: var(--text-primary);
  text-decoration: none;
}

.match-summary-team-link:hover {
  color: var(--accent-gold);
}

.match-summary-team-meta {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.match-summary-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.match-summary-card {
  width: 8px;
  height: 12px;
  border-radius: 2px;
  display: inline-block;
}

.match-summary-card-yellow { background: #eab308; }
.match-summary-card-red { background: #ef4444; }

.match-summary-center {
  text-align: center;
}

.match-summary-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.match-summary-score-sep {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 700;
}

.match-summary-datetime {
  margin-top: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 768px) {
  .detail-breadcrumb-wrap {
    padding: 10px 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .detail-breadcrumb {
    font-size: 0.75rem;
  }
  .breadcrumb-jump-icon {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
  .match-summary-strip {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 8px;
  }
  .match-summary-team-home,
  .match-summary-team-away {
    text-align: center;
  }
  .breadcrumb-sport-icon { width: 14px; height: 14px; }
  .breadcrumb-flag { width: 16px; height: 12px; }
}

/* ===== MATCH HEADER ===== */
.match-header {
  text-align: center;
  position: relative;
  background: var(--bg-secondary);
}
.match-header-inner {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 16px 10px;
}

.match-league-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 20px;
}

.match-league-info img {
  width: 18px;
  height: 14px;
  border-radius: 2px;
}

.match-league-divider {
  opacity: 0.4;
}

.match-teams-hero {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.match-hero-team {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-width: 0;
}
.match-hero-team-home {
  flex-direction: row;
  justify-content: flex-start;
}
.match-hero-team-away {
  flex-direction: row;
  justify-content: flex-end;
}
.hero-team-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-width: 94px;
}

.match-hero-logo {
  width: 94px;
  height: 94px;
  min-width: 94px;
  min-height: 94px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.match-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.match-hero-name {
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}


.match-hero-form {
  display: flex;
  gap: 2px;
  justify-content: center;
}

.match-hero-form-dot {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  font-size: 0.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.match-hero-form-dot.form-w { background: #00a83f; }
.match-hero-form-dot.form-d { background: #6b7280; }
.match-hero-form-dot.form-l { background: #dc2626; }

.form-dot {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  font-size: 0.55rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.form-dot.win { background: var(--accent-green); }
.form-dot.draw { background: var(--text-muted); }
.form-dot.loss { background: var(--accent-red); }

.match-hero-center-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-shrink: 0;
}

.match-hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.match-hero-score {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-score {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-primary);
  min-width: 30px;
  text-align: center;
  line-height: 1;
}

.hero-score-sep {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-muted);
}

.match-hero-status {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 12px;
  border-radius: 50px;
  margin-top: 4px;
}

.match-hero-status.live {
  color: var(--accent-red);
  background: rgba(239, 68, 68, 0.1);
  animation: pulse-live 1.5s ease-in-out infinite;
}

.match-hero-status.finished {
  color: var(--text-muted);
  background: var(--glass);
}

.match-hero-countdown-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.match-hero-countdown {
  display: flex;
  align-items: center;
  gap: 3px;
}

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 6px 8px;
  min-width: 38px;
}

.countdown-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
}

.countdown-unit {
  font-size: 0.48rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.countdown-sep {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.match-hero-datetime,
.match-hero-venue {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.match-hero-info-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
  font-size: 0.72rem;
  color: var(--text-muted);
  width: 100%;
}

.match-hero-info-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.match-hero-info-item .ms-icon {
  font-size: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ===== DETAIL TABS ===== */
.detail-tabs-wrapper {
  position: sticky;
  top: 93px;
  z-index: 90;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(20px);
}

.detail-tabs {
  display: flex;
  overflow-x: auto;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.detail-tabs::-webkit-scrollbar { display: none; }

.detail-tab {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 14px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
  font-family: inherit;
}

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

.detail-tab.active {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
  gap: 6px;
}

.detail-tab i {
  font-size: 0.9rem;
}

.detail-tab .tab-label {
  display: none;
}

.detail-tab.active .tab-label {
  display: inline;
}

.tab-badge {
  font-size: 0.55rem;
  font-weight: 700;
  background: #ef4444;
  color: #fff;
  min-width: 16px;
  height: 16px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  margin-left: 3px;
}

.detail-tab.active .tab-badge {
  display: none;
}

/* ===== PREDICTIONS ===== */
.predictions-grid {
  background-color: #333333;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.prediction-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 14px 16px;
  transition: all 0.3s ease;
}

.prediction-card:hover {
  border-color: rgba(245, 183, 49, 0.15);
  box-shadow: var(--shadow);
}

.prediction-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.prediction-type {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.prediction-type i {
  color: var(--accent-gold);
}

.prediction-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.prediction-badge.free {
  background: rgba(34, 197, 94, 0.1);
  color: var(--accent-green);
}

.prediction-badge.vip {
  background: rgba(245, 183, 49, 0.1);
  color: var(--accent-gold);
}

.prediction-badge.vip i {
  margin-right: 4px;
}

.prediction-pick {
  background: var(--glass);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 12px;
}

.prediction-pick-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 3px;
}

.prediction-pick-value {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent-gold);
}

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

.prediction-meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.prediction-meta-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.prediction-meta-value {
  font-size: 0.85rem;
  font-weight: 800;
}

.prediction-meta-value.highlight {
  color: var(--accent-green);
}

.prediction-reasoning {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(245, 183, 49, 0.04);
  border: 1px solid rgba(245, 183, 49, 0.08);
  border-radius: 8px;
}

.prediction-reasoning i {
  color: var(--accent-gold);
  font-size: 0.78rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.prediction-reasoning p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* VIP Prediction Overlay */
.vip-prediction {
  position: relative;
  overflow: hidden;
}

.vip-prediction .prediction-locked-content {
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
}

.vip-prediction-overlay {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  gap: 8px;
  background: linear-gradient(180deg, transparent 0%, var(--bg-card) 30%);
}

.vip-prediction-overlay .vip-lock-icon {
  width: 52px;
  height: 52px;
  background: var(--vip-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #000;
  box-shadow: 0 4px 20px rgba(245, 183, 49, 0.3);
}

.vip-prediction-overlay .vip-lock-text {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.vip-prediction-overlay .vip-lock-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.vip-prediction-overlay .vip-lock-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--vip-gradient);
  color: #000;
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 4px;
}

.vip-prediction-overlay .vip-lock-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 183, 49, 0.3);
}

/* ===== TEAM TABS ===== */
.team-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.team-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--glass);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.team-tab:hover {
  border-color: var(--accent-gold);
  color: var(--text-primary);
}

.team-tab.active {
  background: rgba(245, 183, 49, 0.1);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.team-tab-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}

.team-tab-content {
  display: none;
}

.team-tab-content.active {
  display: block;
}

/* ===== NEWS CARDS ===== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-card {
  display: flex;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 16px;
  transition: all 0.3s ease;
}

.news-card:hover {
  border-color: rgba(245, 183, 49, 0.15);
}

.news-card-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-card-body {
  flex: 1;
  min-width: 0;
}

.news-card-title {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 5px;
  line-height: 1.3;
}

.news-card-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-time {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== LINEUP - Üç sütun (sol kadro | saha | sağ kadro) ===== */
.match-lineup-block {
  background: var(--bg-secondary);
}

.match-lineup-block .section-header {
  margin-bottom: 12px;
}

.match-lineup-block .lineup-three-col {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(340px, 1.6fr) minmax(200px, 1fr);
  gap: 20px;
  margin-top: 20px;
  align-items: start;
}

.lineup-col {
  background: var(--bg-primary);
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.lineup-col-header {
  background: #3b82f6;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 14px;
}

.lineup-col-header-subs {
  background: #2563eb;
  margin-top: 12px;
}

.lineup-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.lineup-table th, .lineup-table td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.lineup-table thead {
  background: rgba(0,0,0,0.05);
}

.lineup-table tbody tr.lineup-row-even {
  background: #fafafa;
}

.lineup-table tbody tr.lineup-row-odd {
  background: #f0f0f0;
}

.lineup-th-no { width: 40px; }
.lineup-td-no { font-weight: 600; color: var(--text-secondary); }
.lineup-td-player { font-weight: 500; }
.lineup-td-pos { color: var(--text-muted); font-size: 0.8rem; }

.lineup-col-pitch {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lineup-pitch-field {
  position: relative;
  background: #22c55e;
  border-radius: 8px;
  aspect-ratio: 2 / 1;
  min-height: 220px;
  overflow: visible;
}

.lineup-pitch-markings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lineup-pitch-halfline {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: rgba(255,255,255,0.9);
}

.lineup-pitch-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.9);
}

.lineup-pitch-box {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 18%;
  border: 2px solid rgba(255,255,255,0.9);
  border-bottom: none;
  border-radius: 4px 4px 0 0;
}

.lineup-pitch-box-home {
  top: 0;
}

.lineup-pitch-box-away {
  top: auto;
  bottom: 0;
  border-bottom: 2px solid rgba(255,255,255,0.9);
  border-top: none;
  border-radius: 0 0 4px 4px;
}

.lineup-pitch-home-half,
.lineup-pitch-away-half {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 10px 16px;
  z-index: 2;
  gap: 4px;
}

.lineup-pitch-home-half { top: 0; }
.lineup-pitch-away-half { bottom: 0; }

.lineup-pitch-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-height: 52px;
}

.lineup-pitch-player {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  background: #1e40af;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.95);
  border-radius: 50%;
  width: 41px;
  height: 41px;
  flex-shrink: 0;
  font-weight: 600;
  position: relative;
  z-index: 999;
}

.lineup-pitch-num {
  font-size: 1rem;
  line-height: 1;
}

.lineup-pitch-name {
  font-size: 0.6rem;
  line-height: 1.1;
  max-width: 44px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.lineup-formations {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.lineup-formation-badge {
  padding: 4px 10px;
  background: var(--bg-primary);
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.match-lineup-block .lineup-empty-msg {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 12px;
}

@media (max-width: 900px) {
  .match-lineup-block .lineup-three-col {
    grid-template-columns: 1fr;
  }

  .lineup-col-pitch {
    order: -1;
  }

  .lineup-pitch-field {
    min-height: 180px;
  }

  .lineup-pitch-player {
    width: 38px;
    height: 38px;
    font-size: 0.7rem;
  }
}

/* ===== LINEUP PITCH - Reference style (light grey, grid, circular photos) ===== */
#tab-lineup {
  padding: 16px 16px;
}

#tab-lineup .section-header {
  margin-bottom: 10px;
}

.lineup-pitch-wrap {
  margin-bottom: 16px;
}

.lineup-empty-msg {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

.lineup-team-badges {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding: 0 4px;
}

.lineup-team-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 800;
}

.lineup-team-badge-home {
  background: rgba(249, 115, 22, 0.15);
  color: #ea580c;
}

.lineup-team-badge-away {
  background: rgba(34, 197, 94, 0.15);
  color: var(--accent-green);
}

.lineup-badge-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: contain;
}

.lineup-badge-formation {
  font-weight: 800;
}

.lineup-pitch-title {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.lineup-wrap {
  max-width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Saha + yan yedekler düzeni */
.lineup-pitch-with-subs {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

.lineup-subs-side {
  flex-shrink: 0;
  width: 160px;
  max-width: 160px;
  max-height: 260px;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  min-height: 100px;
  align-self: stretch;
}

.lineup-subs-side-home {
  border-left: 3px solid rgba(249, 115, 22, 0.6);
}

.lineup-subs-side-away {
  border-right: 3px solid rgba(34, 197, 94, 0.6);
}

.lineup-subs-side-header {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 8px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}

.lineup-subs-side-list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.lineup-subs-side-item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  font-size: 0.62rem;
  color: var(--text-primary);
}

.lineup-subs-side-num {
  font-size: 0.58rem;
  font-weight: 800;
  color: var(--text-muted);
  min-width: 14px;
  flex-shrink: 0;
}

.lineup-subs-side-name {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.lineup-subs-side-pos {
  font-size: 0.55rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Dark mode: Yan yedek panelleri */
[data-theme="dark"] .lineup-subs-side {
  background: var(--bg-card);
  border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .lineup-subs-side-home {
  border-left-color: rgba(251, 146, 60, 0.5);
}

[data-theme="dark"] .lineup-subs-side-away {
  border-right-color: rgba(74, 222, 128, 0.5);
}

[data-theme="dark"] .lineup-subs-side-header {
  background: rgba(255,255,255,0.04);
  border-bottom-color: rgba(255,255,255,0.06);
  color: var(--text-muted);
}


.lineup-pitch-with-subs .lineup-pitch {
  flex: 1;
  min-width: 0;
}

.lineup-pitch {
  position: relative;
  display: flex;
  background: repeating-linear-gradient(
    0deg,
    #3d6b35 0px,
    #3d6b35 20px,
    #4a7c42 20px,
    #4a7c42 40px
  );
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.85);
  aspect-ratio: 2 / 1;
  min-height: 130px;
  max-height: 260px;
  overflow: visible;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Mobil: saha ekran dışına taşmasın, yedekler sahanın altında */
@media (max-width: 768px) {
  .lineup-wrap {
    overflow-x: hidden;
    max-width: 100%;
  }
  .lineup-pitch-with-subs {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  .lineup-pitch {
    order: 1;
    flex-shrink: 0;
  }
  .lineup-subs-side-home {
    order: 2;
    border-left: none;
    border-top: 3px solid rgba(249, 115, 22, 0.6);
  }
  .lineup-subs-side-away {
    order: 3;
    border-right: none;
    border-top: 3px solid rgba(34, 197, 94, 0.6);
  }
  .lineup-subs-side {
    width: 100%;
    max-width: none;
    max-height: 140px;
    min-height: 60px;
  }
  .lineup-subs-side-item {
    padding: 2px 6px;
    font-size: 0.58rem;
  }
  .lineup-subs-side-name {
    font-size: 0.56rem;
  }
  .lineup-subs-side-pos {
    display: none;
  }
  .lineup-pitch {
    min-height: 100px;
    aspect-ratio: 2 / 1;
  }
  .lineup-pitch-half {
    padding: 6px 4px;
  }
  .lineup-formation-row {
    gap: 2px;
  }
}
@media (max-width: 419px) {
  .lineup-player-photo-wrap,
  .lineup-player-photo {
    width: 20px;
    height: 20px;
  }
  .lineup-player-name {
    max-width: 32px;
    font-size: 0.5rem;
  }
}

.lineup-pitch-markings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Dark mode: Saha renkleri */
[data-theme="dark"] .lineup-pitch {
  background: repeating-linear-gradient(
    0deg,
    #234a2f 0px,
    #234a2f 20px,
    #2d5c3a 20px,
    #2d5c3a 40px
  );
  border-color: rgba(255,255,255,0.2);
}
[data-theme="dark"] .lineup-pitch::before {
  background: rgba(255,255,255,0.2);
}
[data-theme="dark"] .lineup-penalty-home,
[data-theme="dark"] .lineup-penalty-away,
[data-theme="dark"] .lineup-pitch-center {
  border-color: rgba(255,255,255,0.2);
}
[data-theme="dark"] .lineup-player-photo {
  border-color: rgba(255,255,255,0.25);
  background: var(--bg-card);
}
[data-theme="dark"] .lineup-player-name {
  color: var(--text-primary);
}
[data-theme="dark"] .lineup-player-card {
  filter: none;
}
[data-theme="dark"] .lineup-team-badge-home {
  background: rgba(249, 115, 22, 0.2);
  color: #fb923c;
}
[data-theme="dark"] .lineup-team-badge-away {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

/* Ceza sahası (penalty area) - sol (ev sahibi kale) */
.lineup-penalty-home {
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 18%;
  border: 2px solid rgba(255,255,255,0.9);
  border-left: none;
  border-radius: 0 4px 4px 0;
}

/* Altı pas (goal area) - sol */
.lineup-goal-home {
  position: absolute;
  left: 0;
  top: 25%;
  bottom: 25%;
  width: 7%;
  border: 2px solid rgba(255,255,255,0.9);
  border-left: none;
  border-radius: 0 4px 4px 0;
}

/* Ceza sahası - sağ (deplasman kale) */
.lineup-penalty-away {
  position: absolute;
  right: 0;
  top: 10%;
  bottom: 10%;
  width: 18%;
  border: 2px solid rgba(255,255,255,0.9);
  border-right: none;
  border-radius: 4px 0 0 4px;
}

/* Altı pas - sağ */
.lineup-goal-away {
  position: absolute;
  right: 0;
  top: 25%;
  bottom: 25%;
  width: 7%;
  border: 2px solid rgba(255,255,255,0.9);
  border-right: none;
  border-radius: 4px 0 0 4px;
}

.lineup-pitch-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.85);
  z-index: 1;
  pointer-events: none;
}

/* Orta saha çizgisi */
.lineup-pitch::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.9);
  z-index: 1;
  pointer-events: none;
}

.lineup-pitch-half {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: stretch;
  padding: 8px 4px;
  position: relative;
  z-index: 10;
  min-width: 0;
}

.lineup-pitch-home {
  flex-direction: row;
}

.lineup-pitch-away {
  flex-direction: row-reverse;
}

.lineup-formation-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 10;
}

.lineup-player-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
  position: relative;
  z-index: 999;
}

.lineup-player-photo-wrap {
  position: relative;
  z-index: 999;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lineup-player-photo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
  background: var(--bg-card);
  position: relative;
  z-index: 999;
}

.lineup-player-home .lineup-player-photo {
  border-color: rgba(59, 130, 246, 0.5);
}

.lineup-player-away .lineup-player-photo {
  border-color: rgba(239, 68, 68, 0.5);
}

.lineup-player-number-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  position: relative;
  z-index: 999;
}

.lineup-player-number-badge.home {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border: 2px solid rgba(96, 165, 250, 0.5);
}

.lineup-player-number-badge.away {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  border: 2px solid rgba(248, 113, 113, 0.5);
}

.lineup-player-num {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-primary);
}

.lineup-player-name {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-primary);
  max-width: 48px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  position: relative;
  z-index: 999;
}

@media (min-width: 420px) {
  .lineup-player-photo-wrap,
  .lineup-player-photo {
    width: 24px;
    height: 24px;
  }
  .lineup-player-name {
    max-width: 40px;
    font-size: 0.58rem;
  }
}

@media (min-width: 540px) {
  .lineup-player-photo-wrap,
  .lineup-player-photo {
    width: 26px;
    height: 26px;
  }
  .lineup-player-name {
    max-width: 44px;
    font-size: 0.6rem;
  }
}

@media (min-width: 768px) {
  .lineup-player-photo-wrap,
  .lineup-player-photo {
    width: 37px;
    height: 37px;
  }
  .lineup-player-name {
    max-width: 64px;
    font-size: 0.68rem;
  }
}

/* Yedek oyuncuları göster butonu */
.lineup-subs-toggle-wrap {
  margin-top: 12px;
  text-align: center;
}

.lineup-subs-toggle-btn {
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
  background: rgba(245, 183, 49, 0.12);
  border: 1px solid rgba(245, 183, 49, 0.4);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.lineup-subs-toggle-btn:hover {
  background: rgba(245, 183, 49, 0.2);
  border-color: rgba(245, 183, 49, 0.6);
}

/* Yedekler – iki sütun */
.lineup-subs-wrap {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.lineup-subs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.lineup-subs-col {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 14px;
}

.lineup-subs-header {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lineup-subs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lineup-subs-item {
  font-size: 0.78rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.lineup-subs-num {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  min-width: 20px;
  flex-shrink: 0;
}

.lineup-subs-pos {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-left: auto;
}

@media (max-width: 480px) {
  .lineup-subs-grid {
    gap: 12px;
    padding: 0 4px;
  }
  .lineup-subs-col {
    padding: 10px 12px;
  }
}

/* Legacy pitch (kept for fallback) */
.pitch-formations { display: flex; justify-content: space-between; margin-bottom: 8px; }
.pitch-formation-label { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 700; color: var(--text-secondary); }
.pitch-formation-val { font-size: 0.68rem; font-weight: 700; color: var(--accent-gold); background: rgba(245, 183, 49, 0.1); padding: 2px 8px; border-radius: 50px; }
.pitch-team-icon { width: 18px; height: 18px; border-radius: 4px; object-fit: contain; }
.pitch { position: relative; display: flex; background: var(--bg-secondary); border-radius: 10px; border: 1px solid var(--border-color); aspect-ratio: 2/1; min-height: 0; overflow: hidden; }
.pitch-team { flex: 1; display: flex; padding: 8px 6px; position: relative; z-index: 2; }
.formation-row { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; align-items: center; gap: 1px; min-width: 0; }

/* Substitutes */
.subs-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.subs-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.subs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.subs-team-col {
  background: var(--bg-secondary);
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
}

.subs-team-name {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sub-player {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 0.78rem;
}

.sub-number {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  min-width: 22px;
  text-align: center;
}

.sub-name {
  font-size: 0.78rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== LINEUPS ===== */
.lineup-status {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-gold);
  background: rgba(245, 183, 49, 0.1);
  padding: 4px 12px;
  border-radius: 50px;
}

.formation-badge {
  display: inline-flex;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.lineup-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lineup-player {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 16px;
  transition: border-color 0.3s ease;
}

.lineup-player:hover {
  border-color: rgba(245, 183, 49, 0.15);
}

.player-number {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--glass);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-secondary);
  flex-shrink: 0;
}

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

.player-name {
  font-size: 0.85rem;
  font-weight: 700;
}

.player-position {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.player-status {
  font-size: 0.85rem;
  flex-shrink: 0;
}

.player-status.available { color: var(--accent-green); }
.player-status.doubtful { color: var(--accent-gold); }
.player-status.out { color: var(--accent-red); }

/* ===== INJURIES (OYNAMAYACAK layout) ===== */
.unavailable-header {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  padding: 10px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.unavailable-teams-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}

.unavailable-team-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.unavailable-team-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  width: 100%;
  justify-content: center;
}

.unavailable-team-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.unavailable-team-icon {
  font-size: 1.5rem;
}

.unavailable-team-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.unavailable-players-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.unavailable-empty-msg {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  padding: 12px 10px;
  margin: 0;
  line-height: 1.4;
}

.unavailable-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  min-height: 52px;
  width: 100%;
  box-sizing: border-box;
}
.unavailable-row.injury-row-faded {
  opacity: 0.5;
}
.unavailable-row.injury-row-hidden {
  display: none;
}
#injuries-section.expand .unavailable-row.injury-row-hidden {
  display: flex;
}
#injuries-section.expand .unavailable-row.injury-row-faded {
  opacity: 1;
}
.injury-show-more {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--accent-green);
  text-decoration: none;
  font-weight: 600;
}
.injury-show-more:hover {
  text-decoration: underline;
}

.unavailable-row.unavailable-row-odd,
.unavailable-row.unavailable-row-even {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

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

[data-theme="light"] .unavailable-row.unavailable-row-odd,
[data-theme="light"] .unavailable-row.unavailable-row-even {
  background: #ffffff;
}

.unavailable-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.unavailable-photo-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.unavailable-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  text-align: left;
}

.unavailable-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.unavailable-reason {
  font-size: 0.72rem;
  color: var(--text-muted);
}

@media (max-width: 500px) {
  .unavailable-teams-grid,
  .unavailable-teams-compact {
    grid-template-columns: 1fr;
  }
}

/* Legacy injury-card (kept for compatibility) */
.injury-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.injury-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 16px;
}

.injury-player-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.injury-number {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--glass);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-secondary);
}

.injury-player-name {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
}

.injury-player-pos {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.injury-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.injury-type {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.injury-type i {
  color: var(--accent-red);
}

.injury-status {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.injury-status.doubtful {
  background: rgba(245, 183, 49, 0.1);
  color: var(--accent-gold);
}

.injury-status.out {
  background: rgba(239, 68, 68, 0.1);
  color: var(--accent-red);
}

.injury-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

.no-injuries-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.1);
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--accent-green);
  font-weight: 500;
}

/* ===== H2H / Önceki Maçlar ===== */
.section-prev-matches.section {
  padding: 0;
}
.section-h2h {
  overflow-x: hidden;
}

.section-prev-matches .h2h-section-title {
  margin-bottom: 24px;
}

/* Önceki Maçlar iç tabları - H2H sola, takım sekmeleri sağa */
.prev-matches-tabs-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0;
}

.prev-matches-tabs-right {
  display: flex;
  gap: 4px;
}

.prev-matches-tab-btn {
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
  font-family: inherit;
}
.prev-matches-tab-btn:hover {
  color: var(--text-primary);
}
.prev-matches-tab-btn.active {
  color: var(--accent-green);
  border-bottom-color: var(--accent-green);
}

.prev-matches-tab-panel {
  display: none;
}
.prev-matches-tab-panel.active {
  display: block;
}

.prev-matches-empty {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 24px 16px;
  text-align: center;
}

.prev-matches-group {
  margin-bottom: 28px;
}
.prev-matches-group:last-child {
  margin-bottom: 0;
}

.prev-matches-group-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px;
  line-height: 1.4;
}

.prev-matches-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prev-match-item {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}

.prev-match-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 56px minmax(0, 1fr) 132px;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 0.9rem;
}

a.prev-match-row:hover {
  border-color: var(--accent-green);
  background: rgba(34, 197, 94, 0.06);
}

.prev-match-row[role="presentation"] {
  cursor: default;
}

.prev-match-date {
  flex-shrink: 0;
  min-width: 72px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.prev-match-home,
.prev-match-away {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.prev-match-home {
  justify-content: flex-end;
  text-align: right;
}

.prev-match-away {
  justify-content: flex-start;
}

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

.prev-match-score {
  flex-shrink: 0;
  font-weight: 700;
  min-width: 48px;
  text-align: center;
}

.prev-match-score.home-win {
  color: var(--accent-green);
}

.prev-match-score.away-win {
  color: var(--accent-red);
}

.prev-match-score.draw {
  color: var(--text-muted);
}

.prev-match-league {
  max-width: 132px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: right;
}

.h2h-section-title {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 20px;
  line-height: 1.4;
}

.h2h-layout {
  display: flex;
  gap: 20px;
  align-items: stretch;
  max-width: 100%;
}

.h2h-left {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.h2h-right {
  flex: 0 0 46%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}

.h2h-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 0;
}

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

.h2h-team-name {
  font-size: 0.82rem;
  font-weight: 700;
}

.h2h-wins {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--accent-green);
}

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

.h2h-draws-count {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--text-muted);
}

.h2h-draws-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.h2h-bar {
  display: flex;
  height: 8px;
  border-radius: 8px;
  overflow: hidden;
}

.h2h-bar-home {
  background: var(--accent-blue);
  font-size: 0;
}

.h2h-bar-draw {
  background: var(--text-muted);
  font-size: 0;
}

.h2h-bar-away {
  background: var(--accent-red);
  font-size: 0;
}

.h2h-subtitle {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.h2h-matches {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-height: 0;
  min-width: 0;
  overflow: auto;
}

.h2h-match {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 8px 12px;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}

.h2h-match-faded {
  opacity: 0.5;
}

.h2h-match-hidden {
  display: none;
}

#h2h-section.expand .h2h-match-hidden {
  display: flex;
}

#h2h-section.expand .h2h-match-faded {
  opacity: 1;
}

.h2h-show-more {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--accent-green);
  text-decoration: none;
  font-weight: 600;
}
.h2h-show-more:hover {
  text-decoration: underline;
}

.h2h-date {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.h2h-result {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.h2h-team-home {
  font-size: 0.8rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
}

.h2h-team-away {
  font-size: 0.8rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

.h2h-score {
  font-size: 0.85rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 8px;
  white-space: nowrap;
  text-align: center;
  width: 64px;
  box-sizing: border-box;
}

.h2h-score.home-win {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-blue);
}

.h2h-score.away-win {
  background: rgba(239, 68, 68, 0.1);
  color: var(--accent-red);
}

.h2h-score.draw {
  background: rgba(138, 148, 166, 0.1);
  color: var(--text-muted);
}

.h2h-comp {
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  min-width: 80px;
  text-align: right;
}

.h2h-goals-stats {
  display: flex;
  flex-direction: column;
}

.h2h-goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.h2h-goals-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 18px 12px;
  text-align: center;
}

.h2h-goals-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.h2h-goals-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .lineup-tabs-nav {
    padding-left: 12px;
    padding-right: 12px;
  }
  .lineup-tabs-block .lineup-tab-panel {
    padding: 16px 12px;
  }
}

@media (max-width: 600px) {
  .lineup-tabs-nav {
    padding: 8px 12px 0;
  }
  .lineup-tab-btn {
    padding: 6px 12px;
    font-size: 0.76rem;
  }
  .lineup-tabs-block .lineup-tab-panel {
    padding: 12px;
  }
  .lineup-inj-sus-grid {
    grid-template-columns: 1fr;
  }

  .match-header-inner {
    padding: 16px 12px 22px;
  }

  .match-teams-hero {
    gap: 6px;
  }

  .match-hero-center-wrap {
    gap: 10px;
  }

  .match-hero-team {
    gap: 18px;
  }

  /* Sakat ve cezalı oyuncu butonlarını mobilde gizle */
  .hero-unavailable-cards {
    display: none !important;
  }

  .hero-unavailable-card {
    padding: 5px 6px;
  }

  .hero-unavailable-cards-left .hero-unavailable-card {
    padding-left: 24px;
  }
  .hero-unavailable-cards-right .hero-unavailable-card {
    padding-right: 24px;
  }

  .hero-unavailable-more {
    font-size: 0.95rem;
  }

  .hero-unavailable-avatars {
    min-height: 28px;
  }

  .hero-unavailable-avatar,
  .hero-unavailable-avatar-ph {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .hero-team-main {
    min-width: 58px;
  }

  .match-hero-logo {
    width: 58px;
    height: 58px;
    min-width: 58px;
    min-height: 58px;
    border-radius: 12px;
  }

  .match-hero-logo img {
    padding: 4px;
  }

  .match-hero-name {
    font-size: 0.75rem;
  }

  .match-hero-form {
    gap: 2px;
  }

  .form-dot {
    width: 16px;
    height: 16px;
    font-size: 0.45rem;
    border-radius: 4px;
  }

  .countdown-block {
    padding: 4px 5px;
    min-width: 30px;
    border-radius: 6px;
  }

  .countdown-value {
    font-size: 0.85rem;
  }

  .countdown-unit {
    font-size: 0.4rem;
  }

  .countdown-sep {
    font-size: 0.75rem;
    margin-bottom: 6px;
  }

  .match-hero-datetime,
  .match-hero-venue {
    font-size: 0.62rem;
  }

  .match-league-info {
    font-size: 0.72rem;
    margin-bottom: 14px;
  }

  .h2h-layout {
    flex-direction: column;
    min-height: auto;
  }

  .h2h-left,
  .h2h-right {
    flex: none;
  }

  .h2h-matches {
    overflow-y: visible;
  }

  .h2h-result {
    gap: 6px;
    grid-template-columns: 1fr 56px 1fr;
  }

  .h2h-team-home,
  .h2h-team-away {
    font-size: 0.72rem;
  }

  .h2h-score {
    width: 56px;
  }

  .h2h-date {
    display: none;
  }

  .h2h-goals-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .h2h-goals-item {
    padding: 14px 8px;
  }

  .h2h-goals-value {
    font-size: 1.1rem;
  }

  .prev-match-row {
    grid-template-columns: 58px minmax(0, 1fr) 50px minmax(0, 1fr) 90px;
    gap: 8px;
    font-size: 0.85rem;
  }

  .prev-match-date {
    min-width: 58px;
    font-size: 0.8rem;
  }

  .prev-match-league {
    max-width: 90px;
  }
}

/* Odds Tab Styles */
.odds-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.odds-group {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
}

.odds-group-title {
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--card-border);
}

.odds-row-header {
  display: flex;
  justify-content: space-between;
  padding: 8px 16px;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--card-border);
}

.odds-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--card-border);
  transition: background 0.2s;
}

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

.odds-row:hover {
  background: var(--bg-secondary);
}

.odds-label {
  font-size: 0.8rem;
  color: var(--text-primary);
}

.odds-value {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(255, 193, 7, 0.1);
  padding: 3px 10px;
  border-radius: 6px;
}

/* Empty tab message */
.tab-empty {
  text-align: center;
  color: var(--text-secondary);
  padding: 2rem 1rem;
  font-size: 0.82rem;
}
.tab-empty i {
  margin-right: 6px;
}

/* Events Timeline */
#tab-events {
  padding: 16px 16px;
}

#tab-events .section-header {
  margin-bottom: 10px;
}

.section-events-above .section-header {
  margin-bottom: 4px;
}

.detail-above-tabs .section-events-above {
  padding-bottom: 8px;
}

.events-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

/* Olaylar compact - daha dar, az yer kaplar */
.events-timeline-compact {
  max-height: 238px;
  overflow-y: auto;
}

.events-timeline-compact .events-table .events-col {
  padding: 3px 10px;
  min-height: 22px;
}

.events-timeline-compact .event-minute-box {
  min-width: 38px;
  padding: 2px 6px;
  font-size: 0.72rem;
}

.events-timeline-compact .event-cell {
  font-size: 0.76rem;
}

.events-timeline-compact .event-cell-icon {
  font-size: 0.8rem;
  width: 18px;
}

.events-timeline-compact .section-header {
  margin-bottom: 4px;
}

.events-timeline-compact .section-title {
  font-size: 0.9rem;
}

/* Events sidebar - sağ sidebar için kompakt */

.events-timeline-sidebar .events-table .events-col {
  padding: 2px 6px;
  min-height: 20px;
}

.events-timeline-sidebar .event-minute-box {
  min-width: 32px;
  padding: 2px 4px;
  font-size: 0.68rem;
}

.events-timeline-sidebar .event-cell {
  font-size: 0.7rem;
}

.events-timeline-sidebar .event-cell-icon {
  font-size: 0.72rem;
  width: 16px;
}

.events-timeline-sidebar .event-card-box {
  width: 10px;
  height: 10px;
}

.events-timeline-sidebar .event-cell-text {
  font-size: 0.68rem;
  line-height: 1.25;
}

/* Olaylar header (artık kullanılmıyor - form match-header'da) */
.events-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

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

.events-team-home { text-align: center; }
.events-team-away { text-align: center; }

.events-header-vs {
  width: 24px;
  flex-shrink: 0;
}

.events-team-logo-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.events-team-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.events-team-logo-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
}

.events-team-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.events-form-wrap {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  justify-content: center;
}

.events-form-dot {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  font-size: 0.55rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.events-form-dot.form-w { background: #00a83f; }
.events-form-dot.form-d { background: #6b7280; }
.events-form-dot.form-l { background: #dc2626; }

/* Olaylar tablo: 3 sütun */
.events-table {
  width: 100%;
  border-collapse: collapse;
}

.events-table tbody tr.events-row {
  transition: background 0.15s ease;
}

/* Zebra: beyaz / gri satırlar */
.events-timeline-compact .events-table tbody tr.events-row:nth-child(odd) td {
  background: #ffffff;
}

.events-timeline-compact .events-table tbody tr.events-row:nth-child(even) td {
  background: #e8e8e8;
}

/* Hover efekti */
.events-timeline-compact .events-table tbody tr.events-row:hover td {
  background: #e0eef9 !important;
}

.events-table .events-col {
  min-height: 28px;
  padding: 6px 12px;
  vertical-align: middle;
}

.events-table .events-col-home {
  text-align: right;
  width: 45%;
}

.events-table .events-col-minute {
  text-align: center;
  width: 10%;
}

.events-table .events-col-away {
  text-align: left;
  width: 45%;
}

.events-table .events-col-home .event-cell {
  display: inline-flex;
  justify-content: flex-end;
}

.events-table .events-col-away .event-cell {
  display: inline-flex;
  justify-content: flex-start;
}

.event-minute-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 4px 8px;
  background: #374151;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 6px;
}


.event-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-primary);
}

.event-cell-home { flex-direction: row-reverse; }
.event-cell-away { flex-direction: row; }

.event-desc-muted {
  font-size: 0.8rem;
  color: var(--text-secondary, #64748b);
  font-style: italic;
}

.event-cell-icon {
  flex-shrink: 0;
  font-size: 0.9rem;
  width: 22px;
  text-align: center;
}

.event-cell-icon.event-icon-goal .ms-icon { color: #0a0a0a; }
.event-cell-icon .event-icon-ball,
.sidebar-title .event-icon-ball {
  font-size: 1rem;
  line-height: 1;
  display: inline-block;
}
.sidebar-title .event-icon-ball {
  font-size: 1.1rem;
}
.event-cell-icon.event-icon-subst .ms-icon { color: #717874; }
.event-cell-icon.event-icon-default .ms-icon { color: #22c55e; }
.event-card-box {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 2px;
  vertical-align: middle;
}
.event-card-box.event-card-yellow { background: #eab308; }
.event-card-box.event-card-red { background: #dc2626; }

.event-cell-text {
  line-height: 1.35;
}

.event-player-bold {
  font-weight: 400;
  color: var(--text-primary);
}

.event-player {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.event-detail {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.event-assist {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* Statistics */
.stats-container {
  padding: 0 8px;
}
.stats-team-names {
  display: flex;
  justify-content: space-between;
  padding: 8px 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}
.stat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}
.stat-value-home,
.stat-value-away {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  min-width: 36px;
  text-align: center;
}
.stat-bar-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-align: center;
}
.stat-bar {
  display: flex;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  background: var(--bg-secondary);
}
.stat-bar-home {
  background: var(--accent-blue);
  border-radius: 3px 0 0 3px;
}
.stat-bar-away {
  background: var(--accent-gold);
  border-radius: 0 3px 3px 0;
}

/* Injury photo */
.injury-photo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

/* ===== DETAIL INTERNAL LINKS (SEO) ===== */
.detail-internal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: flex-start;
  padding: 12px 0;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}
.detail-internal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--accent-blue);
  text-decoration: none;
}
.detail-internal-link:hover {
  color: var(--accent-green);
  text-decoration: underline;
}
.detail-internal-link .ms-icon {
  font-size: 18px;
}
.detail-similar-matches {
  flex: 1;
  min-width: 200px;
}
.detail-internal-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.detail-internal-title .ms-icon {
  font-size: 18px;
}
.detail-similar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.detail-similar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: var(--bg-secondary);
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: background 0.2s;
}
.detail-similar-item:hover {
  background: var(--accent-blue);
  color: #fff;
}
.detail-similar-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.detail-similar-teams {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.detail-similar-score {
  font-weight: 700;
  color: var(--accent-green);
}
.detail-similar-date {
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.match-hero-team-link {
  color: inherit;
  text-decoration: none;
}
.match-hero-team-link:hover {
  color: var(--accent-blue);
  text-decoration: underline;
}

/* ===== DARK THEME - Match Detail (Football field, Event timeline) ===== */
[data-theme="dark"] .lineup-pitch-field,
[data-theme="dark"] .lineup-pitch::before {
  background: var(--field-green) !important;
}
[data-theme="dark"] .lineup-pitch-halfline,
[data-theme="dark"] .lineup-pitch-circle,
[data-theme="dark"] .lineup-pitch-box,
[data-theme="dark"] .lineup-pitch-box-home,
[data-theme="dark"] .lineup-pitch-box-away {
  border-color: var(--field-lines) !important;
  background: transparent !important;
}
[data-theme="dark"] .lineup-pitch-halfline {
  background: var(--field-lines) !important;
}
[data-theme="dark"] .lineup-pitch-circle {
  background: transparent !important;
}
[data-theme="dark"] .lineup-pitch-num,
[data-theme="dark"] .lineup-pitch-name {
  color: var(--text-primary);
}
[data-theme="dark"] .lineup-pitch-player {
  background: rgba(0, 0, 0, 0.25);
  border-color: var(--field-lines);
}
[data-theme="dark"] .match-lineup-block.lineup-tabs-block {
  background: var(--bg-secondary);
  border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .lineup-tab-btn:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
}

[data-theme="dark"] .lineup-tab-btn.active[data-lineup-tab="gelismeler"],
[data-theme="dark"] .lineup-tab-btn.active[data-lineup-tab="kadrolar"],
[data-theme="dark"] .lineup-tab-btn.active[data-lineup-tab="onceki"] {
  background: var(--bg-card);
  color: var(--text-primary);
}
[data-theme="dark"] .events-timeline,
[data-theme="dark"] .events-timeline-compact,
[data-theme="dark"] .events-timeline-sidebar {
  background: var(--bg-event-timeline);
  border-color: var(--border-color);
}
[data-theme="dark"] .events-timeline-compact .events-table tbody tr.events-row:nth-child(odd) td {
  background: var(--bg-card);
}
[data-theme="dark"] .events-timeline-compact .events-table tbody tr.events-row:nth-child(even) td {
  background: var(--bg-panel);
}
[data-theme="dark"] .events-timeline-compact .events-table tbody tr.events-row:hover td {
  background: var(--bg-card-hover) !important;
}
[data-theme="dark"] .lineup-gelismeler-wrap .events-timeline-compact {
  background: var(--bg-card);
  border-color: var(--border-color);
}
[data-theme="dark"] .lineup-gelismeler-title {
  color: var(--text-primary);
}
[data-theme="dark"] .event-minute-box {
  background: var(--bg-minute-badge);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
[data-theme="dark"] .event-cell,
[data-theme="dark"] .lineup-gelismeler-wrap .event-cell-text {
  color: var(--text-primary);
}
[data-theme="dark"] .event-card-box.event-card-yellow {
  background: var(--accent-yellow);
}
[data-theme="dark"] .event-card-box.event-card-red {
  background: var(--accent-red);
}
[data-theme="dark"] .event-cell-icon.event-icon-goal .ms-icon {
  color: var(--accent-green);
}
[data-theme="dark"] .sidebar-right-match-detail .sidebar-block {
  background: transparent;
}

[data-theme="dark"] .breadcrumb-jump-icon:hover .ms-icon {
  color: var(--text-primary);
}

/* Rövanş (Return Leg) Banner */
.return-leg-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, rgba(34,197,94,0.10) 0%, rgba(34,197,94,0.04) 100%);
  border: 1px solid rgba(34,197,94,0.22);
  border-radius: 12px;
}
.return-leg-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34,197,94,0.18);
  color: #22c55e;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.return-leg-badge .ms-icon {
  font-size: 17px;
}
.return-leg-first-match {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: #94a3b8;
}
.return-leg-label {
  font-weight: 600;
  color: #cbd5e1;
  white-space: nowrap;
}
.return-leg-teams {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.return-leg-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 2px;
  flex-shrink: 0;
}
.return-leg-team-name {
  color: #e2e8f0;
  font-weight: 500;
  white-space: nowrap;
}
.return-leg-team-link {
  text-decoration: none;
  color: inherit;
  transition: color 0.15s ease;
}
.return-leg-team-link:hover {
  color: var(--accent-green);
}
.return-leg-score {
  font-weight: 700;
  color: #22c55e;
  background: rgba(34,197,94,0.12);
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}
.return-leg-date {
  color: #64748b;
  font-size: 0.82rem;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .return-leg-banner {
    flex-direction: column;
    gap: 8px;
    padding: 10px 14px;
  }
  .return-leg-first-match {
    justify-content: center;
  }
}

/* ===== Match content hint (tabs summary) ===== */
.match-content-hint {
  margin: 12px 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.55);
  border-radius: 12px;
}
.match-content-hint--footer {
  margin-top: 28px;
  margin-bottom: 0;
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(148, 163, 184, 0.28);
}
.match-content-hint-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: #e2e8f0;
  margin: 0 0 6px;
  font-size: 0.98rem;
}
.match-content-hint-title .ms-icon {
  font-size: 20px;
  color: #38bdf8;
}
.match-content-hint-text {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.45;
}
.match-content-hint-text strong {
  color: #e2e8f0;
  font-weight: 800;
}
.match-content-hint-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.match-content-hint-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(2, 6, 23, 0.35);
  color: #cbd5e1;
  font-size: 0.85rem;
  white-space: nowrap;
}
.match-content-hint-pill .ms-icon {
  font-size: 18px;
  opacity: 0.9;
}
.match-content-hint-pill.is-active {
  border-color: rgba(56, 189, 248, 0.55);
  background: rgba(56, 189, 248, 0.12);
  color: #e2e8f0;
}

/* Maç detay yorumları — haber detay ile aynı görünüm (haber-detay.php ile uyumlu sınıflar) */
.haber-inline-register {
  width: 100%;
  margin: 0.25rem 0 0.5rem;
}
.haber-inline-register-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}
.haber-inline-register-row .match-user-comment-input {
  flex: 1;
  min-height: 40px;
  padding: 8px 14px;
  resize: none;
  line-height: 1.35;
}
.haber-inline-register-msg {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary, #cbd5e1);
}
.haber-comment-item-flash {
  animation: haberCommentFlash 2.5s ease;
}
@keyframes haberCommentFlash {
  0%, 100% { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.06); }
  15% { background: rgba(34, 197, 94, 0.12); border-color: rgba(34, 197, 94, 0.45); box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35); }
}
.haber-comment-reaction-btn--selected { outline: 2px solid rgba(34, 197, 94, 0.55); background: rgba(34, 197, 94, 0.12) !important; }
.haber-detay-comment-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  min-height: 36px;
  padding-right: min(46%, 200px);
  padding-bottom: 40px;
}
.haber-detay-comment-head-main { flex: 1; min-width: 0; }
.haber-detay-comment-head-aside {
  position: absolute;
  right: 0;
  top: 0;
  max-width: 46%;
  text-align: right;
  z-index: 2;
}
.haber-detay-comment-avatar { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 600; color: #94a3b8; }
.haber-detay-comment-avatar img { width: 100%; height: 100%; object-fit: cover; }
.haber-detay-comment-author-link { color: var(--accent, #22c55e); font-weight: 600; text-decoration: none; }
.haber-detay-comment-author-link:hover { text-decoration: underline; }
.haber-detay-comment-author-txt { font-weight: 600; color: var(--text-primary, #fff); }
.haber-detay-comment-reactions {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  width: max-content;
  max-width: min(100vw, 280px);
  margin-left: auto;
}
.haber-comment-reaction-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border: none;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.haber-comment-reaction-btn:hover { background: rgba(34, 197, 94, 0.15); transform: scale(1.05); }
.haber-comment-reaction-num { font-size: 0.7rem; color: rgba(255, 255, 255, 0.6); margin-left: 2px; }
.haber-detay-comments { margin: 2rem 0; }
.haber-detay-comments.match-user-comments-block { margin: 2rem 0; }
.haber-detay-comments-loading,
.haber-detay-comments-empty {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted, #94a3b8);
}
.haber-detay-comment-ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.haber-detay-comment-item {
  position: relative;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.2s, border-color 0.2s;
}
.haber-detay-comment-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}
.haber-detay-comment-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin: 0;
  white-space: nowrap;
}
.haber-detay-comment-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; flex: 1; min-width: 0; }
.haber-detay-comment-text { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--text-primary, #eee); }
