/*
 * ActiveFoot — Lot 11d7
 * Finition thème clair public : header d'origine, navigation tournoi, partenaire.
 * Chargé après le stabilisateur 11d6.
 */

/* 1) Bandeau haut : conserver l'aspect sombre d'origine et supprimer le contour artificiel du logo. */
html[data-af-theme="light"] body .site-header{
  background:#0F1117 !important;
  background-image:none !important;
  border-bottom:1px solid rgba(38,51,71,.92) !important;
  box-shadow:0 10px 26px rgba(7,17,31,.24) !important;
}
html[data-af-theme="light"] body .site-header .logo,
html[data-af-theme="light"] body .site-header a.logo,
html[data-af-theme="light"] body .site-header .brand-logo,
html[data-af-theme="light"] body .site-header .site-logo{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  outline:0 !important;
  border-radius:0 !important;
  padding:0 !important;
  min-width:0 !important;
  min-height:0 !important;
  overflow:visible !important;
}
html[data-af-theme="light"] body .site-header .logo img,
html[data-af-theme="light"] body .site-header .brand-logo img,
html[data-af-theme="light"] body .site-header .site-logo img{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  filter:none !important;
  opacity:1 !important;
  mix-blend-mode:normal !important;
}
html[data-af-theme="light"] body .site-header :is(a,button,.af-social-nav,.social-nav,[class*="social"]){
  color:#E2EAF5 !important;
}
html[data-af-theme="light"] body .site-header :is(.pill,.badge,[class*="pill"],[class*="badge"]){
  opacity:1 !important;
}

/* 2) Navigation du tournoi : carte sombre assumée, textes et boutons lisibles. */
html[data-af-theme="light"] body .af-pubnav,
html[data-af-theme="light"] body .af-pubnav.af-pubnav--simple{
  background:linear-gradient(135deg,#131A24 0%,#0F1117 72%,#11251F 100%) !important;
  border:1px solid rgba(34,197,94,.30) !important;
  color:#E2EAF5 !important;
  box-shadow:0 16px 42px rgba(7,17,31,.22) !important;
}
html[data-af-theme="light"] body .af-pubnav .af-pubnav__title{
  color:#22C55E !important;
  opacity:1 !important;
  text-shadow:none !important;
}
html[data-af-theme="light"] body .af-pubnav .af-pubnav__hint,
html[data-af-theme="light"] body .af-pubnav .af-pubnav__shortcut,
html[data-af-theme="light"] body .af-pubnav .af-pubnav__empty,
html[data-af-theme="light"] body .af-pubnav .af-pubnav__result-meta{
  color:#B9C7DA !important;
  opacity:1 !important;
  text-shadow:none !important;
}
html[data-af-theme="light"] body .af-pubnav .af-pubnav__search-title,
html[data-af-theme="light"] body .af-pubnav .af-pubnav__result-name{
  color:#F8FAFC !important;
  opacity:1 !important;
}
html[data-af-theme="light"] body .af-pubnav .af-pubnav__btn,
html[data-af-theme="light"] body .af-pubnav .af-pubnav__link,
html[data-af-theme="light"] body .af-pubnav-mini .af-pubnav__link{
  background:#F7FAFE !important;
  border:1px solid #B8C8DB !important;
  color:#07111F !important;
  opacity:1 !important;
  box-shadow:0 6px 16px rgba(7,17,31,.10) !important;
  text-shadow:none !important;
}
html[data-af-theme="light"] body .af-pubnav .af-pubnav__btn *,
html[data-af-theme="light"] body .af-pubnav .af-pubnav__link *,
html[data-af-theme="light"] body .af-pubnav-mini .af-pubnav__link *{
  color:inherit !important;
  opacity:1 !important;
}
html[data-af-theme="light"] body .af-pubnav .af-pubnav__btn:hover,
html[data-af-theme="light"] body .af-pubnav .af-pubnav__link:hover,
html[data-af-theme="light"] body .af-pubnav-mini .af-pubnav__link:hover{
  background:#ECFDF3 !important;
  border-color:#16A34A !important;
  color:#052E16 !important;
}
html[data-af-theme="light"] body .af-pubnav .af-pubnav__btn.is-active,
html[data-af-theme="light"] body .af-pubnav-mini .af-pubnav__link.is-active{
  background:linear-gradient(135deg,#22C55E,#86EFAC) !important;
  border-color:#16A34A !important;
  color:#052E16 !important;
}
html[data-af-theme="light"] body .af-pubnav .af-pubnav__btn--search{
  background:linear-gradient(135deg,#FACC15,#FEF3C7) !important;
  border-color:#D99E16 !important;
  color:#422006 !important;
}
html[data-af-theme="light"] body .af-pubnav .af-pubnav__input{
  background:#F7FAFE !important;
  border-color:#9FB3CA !important;
  color:#07111F !important;
  box-shadow:none !important;
}
html[data-af-theme="light"] body .af-pubnav .af-pubnav__input::placeholder{
  color:#52647A !important;
  opacity:1 !important;
}
html[data-af-theme="light"] body .af-pubnav .af-pubnav__result{
  background:#F7FAFE !important;
  border-color:#B8C8DB !important;
  color:#07111F !important;
}
html[data-af-theme="light"] body .af-pubnav .af-pubnav__result-meta{
  color:#52647A !important;
}
html[data-af-theme="light"] body .af-pubnav .af-pubnav__result-go{
  color:#047A39 !important;
}

/* 3) Partenaire officiel : contrer le style injecté par public-official-partner.js. */
html[data-af-theme="light"] body .af-official-partner .af-official-partner-card,
html[data-af-theme="light"] body .af-official-partner-home .af-official-partner-card{
  background:linear-gradient(135deg,#131A24 0%,#0F1117 62%,#0D2A21 100%) !important;
  border:1px solid rgba(34,197,94,.34) !important;
  color:#E2EAF5 !important;
  box-shadow:0 16px 42px rgba(7,17,31,.22) !important;
}
html[data-af-theme="light"] body .af-official-partner .af-official-partner-card::before,
html[data-af-theme="light"] body .af-official-partner-home .af-official-partner-card::before{
  background:radial-gradient(circle at 82% 20%,rgba(34,197,94,.16),transparent 42%) !important;
}
html[data-af-theme="light"] body .af-official-partner .af-official-partner-kicker,
html[data-af-theme="light"] body .af-official-partner-home .af-official-partner-kicker{
  color:#22C55E !important;
  opacity:1 !important;
  text-shadow:none !important;
}
html[data-af-theme="light"] body .af-official-partner .af-official-partner-title,
html[data-af-theme="light"] body .af-official-partner-home .af-official-partner-title{
  color:#F8FAFC !important;
  opacity:1 !important;
  text-shadow:none !important;
}
html[data-af-theme="light"] body .af-official-partner .af-official-partner-sub,
html[data-af-theme="light"] body .af-official-partner-home .af-official-partner-sub{
  color:#C7D2E2 !important;
  opacity:1 !important;
  text-shadow:none !important;
}
html[data-af-theme="light"] body .af-official-partner .af-official-partner-pill,
html[data-af-theme="light"] body .af-official-partner-home .af-official-partner-pill{
  background:rgba(79,168,255,.12) !important;
  border-color:rgba(147,197,253,.28) !important;
  color:#DBEAFE !important;
  opacity:1 !important;
}
html[data-af-theme="light"] body .af-official-partner .af-official-partner-logoBox,
html[data-af-theme="light"] body .af-official-partner-home .af-official-partner-logoBox{
  background:#FFFFFF !important;
  border:1px solid rgba(255,255,255,.82) !important;
  box-shadow:0 10px 26px rgba(0,0,0,.22) !important;
}
html[data-af-theme="light"] body .af-official-partner .af-official-partner-logoBox img,
html[data-af-theme="light"] body .af-official-partner-home .af-official-partner-logoBox img{
  opacity:1 !important;
  filter:none !important;
  mix-blend-mode:normal !important;
}
