/**
 * SPOTD — Thème public homogène (DA mockup esports premium)
 * Fond #121214, surfaces #1A1A23, accent violet #7B61FF — body.spotd-theme-drafted
 */

body.spotd-theme-drafted .spotd-nav {
  --spotd-nav-text-accent: var(--spotd-accent-soft, #a78bfa);
}

/* -------------------------------------------------------------------------- */
/* Sous-titres — Jost Black (voir --spotd-font-subtitle) */
/* -------------------------------------------------------------------------- */
body.spotd-theme-drafted .guest-call-to-action .header2,
body.spotd-theme-drafted .spotd-home-banner .hero-banner-subtitle-advanced,
body.spotd-theme-drafted .hero-subtitle,
body.spotd-theme-drafted .hero-subtitle-generic,
body.spotd-theme-drafted .filter-section .filter-subtitle,
body.spotd-theme-drafted .spotd-home-games .section-subtitle,
body.spotd-theme-drafted .spotd-home-games-carousel .container > p.text-muted {
  font-family: var(--spotd-font-subtitle, "Jost", sans-serif);
  font-weight: 900;
  letter-spacing: 0.03em;
}

/* Libellés boutons — Jost Black */
body.spotd-theme-drafted .btn:not(.btn-close):not(.spotd-home-games-nav),
body.spotd-theme-drafted .btn-primary-advanced,
body.spotd-theme-drafted .btn-guest-homepage,
body.spotd-theme-drafted .accordion-button,
body.spotd-theme-drafted .hero-search-btn,
body.spotd-theme-drafted .search-btn,
body.spotd-theme-drafted .btn-spotd-accent,
body.spotd-theme-drafted .btn-spotd-outline,
body.spotd-theme-drafted .btn-tournament-primary {
  font-family: var(--spotd-font-button, "Jost", sans-serif);
  font-weight: 900;
  letter-spacing: 0.04em;
}

body.spotd-theme-drafted {
  --spotd-drafted-bg: var(--spotd-bg-page, #0d0d17);
  --spotd-drafted-bg-elevated: rgba(22, 22, 31, 0.94);
  --spotd-drafted-border: rgba(255, 255, 255, 0.07);
  --spotd-drafted-border-strong: rgba(99, 102, 241, 0.38);
  --spotd-drafted-text: var(--spotd-text, #ffffff);
  --spotd-drafted-muted: var(--spotd-text-muted, #94a3b8);
  --spotd-drafted-accent: var(--spotd-accent, #7b61ff);
  font-family: var(--spotd-font-sans, "Inter", system-ui, sans-serif);
  --spotd-drafted-accent-hover: #c4b5fd;
  --spotd-nav-text-accent: var(--spotd-drafted-accent);
  /* Fond page = plat (mockup), sans grille ni halos — l’accent reste sur l’UI */
  background: var(--spotd-drafted-bg) !important;
  background-image: none !important;
  color: var(--spotd-drafted-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Bandeau compte en attente (réf. Drafted) */
.spotd-pending-verification-banner {
  width: 100%;
  background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
  color: #0a0a0a;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  z-index: 1025;
  position: relative;
}

.spotd-pending-verification-banner__icon {
  color: rgba(0, 0, 0, 0.75);
  font-size: 1.1rem;
}

.spotd-pending-verification-banner__more {
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.2) !important;
  border: 1px solid rgba(0, 0, 0, 0.25) !important;
  color: #0a0a0a !important;
  font-weight: 600;
}

.spotd-pending-verification-banner__more:hover {
  background: rgba(0, 0, 0, 0.28) !important;
  color: #000 !important;
}

/* Pas de z-index — évite d’enfermer les modales Bootstrap sous le backdrop (voir spotd-modals-layer.css). */
body.spotd-theme-drafted .spotd-front-main {
  flex: 1 0 auto;
  position: relative;
}

/* Pas de calque décoratif sur le main — évite halos violets + aspect « grille tech » */
body.spotd-theme-drafted .spotd-front-main::before {
  content: none;
}

/* Cartes / panneaux génériques (utilisable sur les vues au besoin) */
body.spotd-theme-drafted .spotd-drafted-card {
  background: var(--spotd-drafted-bg-elevated, rgba(22, 22, 31, 0.94));
  border: 1px solid var(--spotd-drafted-border);
  border-radius: var(--spotd-radius-md, 12px);
  box-shadow: var(--spotd-frame-shadow, 0 12px 44px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.04));
}

/* Bootstrap: fonds clairs par défaut → assombrir zones courantes */
body.spotd-theme-drafted .bg-light {
  background-color: rgba(39, 39, 42, 0.5) !important;
}

body.spotd-theme-drafted .text-dark {
  color: var(--spotd-drafted-text) !important;
}

/* Surfaces réellement claires : sans ça, .text-dark reste forcé en clair → illisible sur bg-white */
body.spotd-theme-drafted .bg-white,
body.spotd-theme-drafted .bg-body {
  color: #1e293b;
}
body.spotd-theme-drafted .bg-white .text-dark,
body.spotd-theme-drafted .bg-body .text-dark {
  color: #0f172a !important;
}
body.spotd-theme-drafted .bg-white .text-muted,
body.spotd-theme-drafted .bg-body .text-muted {
  color: #64748b !important;
}
body.spotd-theme-drafted .bg-white .breadcrumb-item a,
body.spotd-theme-drafted .bg-body .breadcrumb-item a {
  color: #64748b !important;
}
body.spotd-theme-drafted .bg-white .breadcrumb-item.active {
  color: #475569 !important;
}

/* Modales sans classe carte : fond clair Bootstrap + texte hérité du body = illisible */
body.spotd-theme-drafted .modal-content {
  background: var(--spotd-drafted-bg-elevated);
  color: var(--spotd-drafted-text);
  border: 1px solid var(--spotd-drafted-border);
}
body.spotd-theme-drafted .modal-header {
  border-bottom-color: var(--spotd-drafted-border);
}
body.spotd-theme-drafted .modal-footer {
  border-top-color: var(--spotd-drafted-border);
}
body.spotd-theme-drafted .modal-body .text-muted,
body.spotd-theme-drafted .modal-content .text-muted {
  color: var(--spotd-drafted-muted) !important;
}

/* Formulaires : .form-text utilise --bs-secondary-color (souvent gris foncé) → illisible sur fond sombre */
body.spotd-theme-drafted .form-text {
  color: var(--spotd-drafted-muted, #a1a1aa) !important;
}
body.spotd-theme-drafted .bg-white .form-text,
body.spotd-theme-drafted .bg-body .form-text {
  color: #64748b !important;
}
body.spotd-theme-drafted .card-body .form-check-label,
body.spotd-theme-drafted .modal-body .form-check-label {
  color: var(--spotd-drafted-text, #fafafa);
}

body.spotd-theme-drafted .border {
  border-color: var(--spotd-drafted-border) !important;
}

/* Footer Drafted */
.spotd-footer--drafted {
  position: relative;
  flex-shrink: 0;
  margin-top: auto;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.98) 0%, #030304 100%);
  border-top: 1px solid var(--spotd-drafted-border, rgba(123, 97, 255, 0.15));
}

.spotd-footer--drafted::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 100% 80% at 50% 120%, rgba(168, 85, 247, 0.08), transparent 55%);
  opacity: 0.9;
}

.spotd-footer--drafted .spotd-footer__inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1.5rem;
}

@media (min-width: 992px) {
  .spotd-footer--drafted .spotd-footer__inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.spotd-footer--drafted .spotd-footer__brand {
  font-family: var(--spotd-font-title, "Valorant", sans-serif);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 0.5rem;
}

.spotd-footer--drafted .spotd-footer__brand-logo .spotd-brand-logo {
  max-height: 40px;
  width: auto;
  max-width: min(100%, 220px);
}

.spotd-footer--drafted .spotd-footer__tagline {
  color: var(--spotd-drafted-muted, #a1a1aa);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 36rem;
  margin-bottom: 1.25rem;
}

.spotd-footer--drafted .spotd-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  color: var(--spotd-drafted-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.spotd-footer--drafted .spotd-footer__social a:hover {
  color: var(--spotd-drafted-accent, #a78bfa);
  border-color: rgba(124, 92, 255, 0.35);
  background: rgba(124, 92, 255, 0.08);
}

.spotd-footer--drafted .spotd-footer__cols h6 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--spotd-drafted-muted);
  margin-bottom: 0.75rem;
}

.spotd-footer--drafted .spotd-footer__cols ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.spotd-footer--drafted .spotd-footer__cols li {
  margin-bottom: 0.45rem;
}

.spotd-footer--drafted .spotd-footer__cols a {
  color: #d4d4d8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.spotd-footer--drafted .spotd-footer__cols a:hover {
  color: var(--spotd-drafted-accent, #a78bfa);
}

.spotd-footer--drafted .spotd-footer__newsletter .form-control {
  background: rgba(24, 24, 27, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 10px;
}

.spotd-footer--drafted .spotd-footer__newsletter .form-control::placeholder {
  color: #71717a;
}

.spotd-footer--drafted .spotd-footer__newsletter .btn-primary {
  border-radius: 10px;
  background: linear-gradient(135deg, #7c5cff, #5a3fd4) !important;
  border: none !important;
  font-weight: 900;
}

.spotd-footer--drafted hr.spotd-footer__rule {
  border-color: rgba(255, 255, 255, 0.08);
  margin: 1.75rem 0 1rem;
  opacity: 1;
}

.spotd-footer--drafted .spotd-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--spotd-drafted-muted);
}

.spotd-footer--drafted .spotd-footer__bar a {
  color: var(--spotd-drafted-muted);
  text-decoration: none;
  transition: color 0.2s ease, filter 0.2s ease;
}

.spotd-footer--drafted .spotd-footer__bar a:hover {
  color: var(--spotd-drafted-accent, #a78bfa);
  filter: drop-shadow(0 0 8px rgba(123, 97, 255, 0.45));
}

.spotd-footer--drafted .spotd-footer__beta {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(123, 97, 255, 0.15);
  color: #ddd6fe;
  border: 1px solid rgba(123, 97, 255, 0.35);
}

.spotd-footer--drafted .spotd-footer__links-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .spotd-footer--drafted .spotd-footer__links-inline {
    justify-content: flex-end;
  }
}

.spotd-footer--drafted .spotd-footer__sep {
  opacity: 0.45;
  user-select: none;
}

/* Pied de page compact (liens rapides Explore / Support retirés) */
.spotd-footer--drafted.spotd-footer--compact .spotd-footer__inner {
  padding-top: 1.35rem;
  padding-bottom: 1rem;
}

.spotd-footer--drafted .spotd-footer__tagline--compact {
  font-size: 0.82rem;
  line-height: 1.45;
  max-width: 42rem;
  opacity: 0.92;
}

.spotd-footer--drafted .spotd-footer__tagline--compact p:first-child {
  margin-bottom: 0.65rem;
}

.spotd-footer--drafted .spotd-footer__tagline--compact p:last-child {
  margin-bottom: 0;
}

.spotd-footer--drafted .spotd-footer__tagline-accent {
  color: rgba(244, 244, 245, 0.95);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.spotd-footer--drafted hr.spotd-footer__rule--compact {
  margin: 1rem 0 0.85rem;
}

/* --------------------------------------------------------------------------
   Pages liste / détail — héros, cartes, filtres (alignement Drafted)
   -------------------------------------------------------------------------- */

body.spotd-theme-drafted .text-gradient-primary {
  background: linear-gradient(135deg, #f0ebff 0%, #c4b5fd 28%, #7b61ff 62%, #5a3fd4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.spotd-theme-drafted .hero-tournaments-section,
body.spotd-theme-drafted .hero-teams-section,
body.spotd-theme-drafted .hero-games-section,
body.spotd-theme-drafted .hero-leaderboard-section,
body.spotd-theme-drafted .hero-news-section,
body.spotd-theme-drafted .hero-contact-section,
body.spotd-theme-drafted .hero-about-section {
  background: linear-gradient(155deg, #121214 0%, #1a1628 42%, #12121a 100%) !important;
  background-attachment: scroll !important;
}

/* Hauteur bannière d’accueil : voir fin de fichier (texte + swiper) */

body.spotd-theme-drafted .hero-tournaments-section,
body.spotd-theme-drafted .hero-teams-section,
body.spotd-theme-drafted .hero-games-section {
  min-height: 0 !important;
  padding-top: 2.75rem !important;
  padding-bottom: 2.75rem !important;
  /* style.css impose overflow:hidden + contenu hero en absolute → hauteur = padding seul → tout est clippé */
  overflow: visible !important;
}

body.spotd-theme-drafted .hero-news-section,
body.spotd-theme-drafted .hero-contact-section,
body.spotd-theme-drafted .hero-about-section {
  overflow: visible !important;
}

/* Contenu héros dans le flux : la section prend la hauteur réelle (titre + recherche), plus de troncature */
body.spotd-theme-drafted .hero-tournaments-section .hero-content,
body.spotd-theme-drafted .hero-teams-section .hero-content-generic,
body.spotd-theme-drafted .hero-games-section .hero-content-generic,
body.spotd-theme-drafted .hero-news-section .hero-content-generic,
body.spotd-theme-drafted .hero-contact-section .hero-content-generic,
body.spotd-theme-drafted .hero-about-section .hero-content {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  flex-shrink: 0;
  width: min(100%, 42rem) !important;
  max-width: 42rem !important;
}

body.spotd-theme-drafted .hero-leaderboard-section {
  min-height: 0 !important;
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

body.spotd-theme-drafted .hero-news-section,
body.spotd-theme-drafted .hero-contact-section,
body.spotd-theme-drafted .hero-about-section {
  min-height: 0 !important;
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
}

body.spotd-theme-drafted .spotd-search-hero .container.py-5 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

body.spotd-theme-drafted .hero-about-section .overlay {
  background: rgba(0, 0, 0, 0.45) !important;
}

body.spotd-theme-drafted .hero-about-section .hero-content h1 {
  color: #fafafa !important;
}

body.spotd-theme-drafted .hero-overlay,
body.spotd-theme-drafted .hero-overlay-generic {
  background: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(124, 92, 255, 0.08), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.75)) !important;
}

body.spotd-theme-drafted .hero-title-generic,
body.spotd-theme-drafted .hero-subtitle-generic,
body.spotd-theme-drafted .hero-description-generic {
  color: #fafafa !important;
}

body.spotd-theme-drafted .hero-subtitle-generic,
body.spotd-theme-drafted .hero-description-generic {
  opacity: 0.88;
}

body.spotd-theme-drafted .hero-search-input-group,
body.spotd-theme-drafted .advanced-search-form .search-input-group,
body.spotd-theme-drafted .search-input-group {
  border: 1px solid rgba(124, 92, 255, 0.22) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  border-radius: 14px !important;
  background: rgba(24, 24, 27, 0.55) !important;
}

body.spotd-theme-drafted .hero-search-btn,
body.spotd-theme-drafted .search-btn {
  background: linear-gradient(135deg, #7c5cff, #5a3fd4) !important;
  border: none !important;
  color: #fff !important;
}

/* Page tournois : groupe recherche — le bouton violet doit remplir la hauteur du pill (évite barre flottante) */
body.spotd-theme-drafted .hero-tournaments-section .advanced-search-form .search-input-group {
  display: flex !important;
  align-items: stretch !important;
  overflow: hidden !important;
}

body.spotd-theme-drafted .hero-tournaments-section .search-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: stretch !important;
  border-radius: 0 12px 12px 0 !important;
  margin: 0 !important;
  transform: none !important;
  flex: 0 0 auto !important;
}

body.spotd-theme-drafted .hero-tournaments-section .search-btn:hover {
  transform: none !important;
  filter: brightness(1.06);
}

body.spotd-theme-drafted .hero-tournaments-section .search-input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

/* Évite le léger translateY du focus qui peut faire « sortir » le pill du parent */
body.spotd-theme-drafted .hero-tournaments-section .search-input-group:focus-within,
body.spotd-theme-drafted .hero-teams-section .hero-search-input-group:focus-within,
body.spotd-theme-drafted .hero-games-section .hero-search-input-group:focus-within,
body.spotd-theme-drafted .hero-news-section .hero-search-input-group:focus-within {
  transform: none !important;
}

@media (max-width: 768px) {
  body.spotd-theme-drafted .hero-tournaments-section .advanced-search-form .search-input-group {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body.spotd-theme-drafted .hero-tournaments-section .search-btn {
    border-radius: 0 0 12px 12px !important;
    width: 100% !important;
  }

  body.spotd-theme-drafted .hero-teams-section .hero-search-input-group,
  body.spotd-theme-drafted .hero-games-section .hero-search-input-group {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body.spotd-theme-drafted .hero-teams-section .hero-search-btn,
  body.spotd-theme-drafted .hero-games-section .hero-search-btn {
    border-radius: 0 0 12px 12px !important;
    width: 100% !important;
  }

  body.spotd-theme-drafted .hero-news-section .hero-search-input-group {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body.spotd-theme-drafted .hero-news-section .hero-search-btn {
    border-radius: 0 0 12px 12px !important;
    width: 100% !important;
  }
}

/* Même logique que tournois : bouton recherche aligné sur toute la hauteur du pill (évite découpe en desktop) */
body.spotd-theme-drafted .hero-teams-section .hero-search-input-group,
body.spotd-theme-drafted .hero-games-section .hero-search-input-group {
  display: flex !important;
  align-items: stretch !important;
}

body.spotd-theme-drafted .hero-teams-section .hero-search-btn,
body.spotd-theme-drafted .hero-games-section .hero-search-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: stretch !important;
  border-radius: 0 12px 12px 0 !important;
  margin: 0 !important;
  transform: none !important;
  flex: 0 0 auto !important;
}

body.spotd-theme-drafted .hero-teams-section .hero-search-btn:hover,
body.spotd-theme-drafted .hero-games-section .hero-search-btn:hover {
  transform: none !important;
  filter: brightness(1.06);
}

body.spotd-theme-drafted .hero-teams-section .hero-search-input,
body.spotd-theme-drafted .hero-games-section .hero-search-input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

body.spotd-theme-drafted .hero-news-section .hero-search-input-group {
  display: flex !important;
  align-items: stretch !important;
}

body.spotd-theme-drafted .hero-news-section .hero-search-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: stretch !important;
  border-radius: 0 12px 12px 0 !important;
  margin: 0 !important;
  transform: none !important;
  flex: 0 0 auto !important;
}

body.spotd-theme-drafted .hero-news-section .hero-search-btn:hover {
  transform: none !important;
  filter: brightness(1.06);
}

body.spotd-theme-drafted .hero-news-section .hero-search-input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

body.spotd-theme-drafted .hero-btn-primary {
  background: linear-gradient(135deg, #7c5cff, #6344e8) !important;
  border: 1px solid rgba(124, 92, 255, 0.35) !important;
  color: #fff !important;
}

body.spotd-theme-drafted .hero-btn-secondary {
  background: rgba(24, 24, 27, 0.6) !important;
  border: 1px solid rgba(124, 92, 255, 0.25) !important;
  color: #f4f4f5 !important;
}

body.spotd-theme-drafted .hero-btn-secondary:hover {
  border-color: rgba(124, 92, 255, 0.55) !important;
  color: #fff !important;
}

/* Filtres tournois */
body.spotd-theme-drafted .filter-pill {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(24, 24, 27, 0.5) !important;
  color: #d4d4d8 !important;
}

body.spotd-theme-drafted .filter-pill:hover {
  border-color: rgba(124, 92, 255, 0.35) !important;
  color: #f5f3ff !important;
}

body.spotd-theme-drafted .filter-pill.active {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.35), rgba(124, 58, 237, 0.2)) !important;
  border-color: rgba(124, 92, 255, 0.5) !important;
  color: #f5f3ff !important;
}

body.spotd-theme-drafted .filter-section .filter-title,
body.spotd-theme-drafted .filter-header .filter-title {
  color: #fafafa !important;
}

body.spotd-theme-drafted .filter-section .filter-subtitle {
  color: #a1a1aa !important;
}

/* Stats bandeau tournois */
body.spotd-theme-drafted .stat-item {
  background: rgba(24, 24, 27, 0.65) !important;
  border: 1px solid rgba(123, 97, 255, 0.12) !important;
  border-radius: 14px !important;
}

body.spotd-theme-drafted .stat-item .stat-number {
  color: #c4b5fd !important;
}

/* Cartes tournoi grille */
body.spotd-theme-drafted .tournament-card-ultra-inner {
  background: rgba(24, 24, 27, 0.72) !important;
  border: 1px solid rgba(123, 97, 255, 0.14) !important;
  border-radius: 18px !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4) !important;
}

body.spotd-theme-drafted .tournament-content-ultra .tournament-title-ultra a {
  color: #fafafa !important;
}

body.spotd-theme-drafted .tournament-content-ultra .tournament-title-ultra a:hover {
  color: #c4b5fd !important;
}

body.spotd-theme-drafted .btn-tournament-primary {
  background: linear-gradient(135deg, #7c5cff, #5a3fd4) !important;
  border: none !important;
}

/* Leaderboard */
body.spotd-theme-drafted .leaderboard-section.bg-dark {
  background-color: transparent !important;
}

body.spotd-theme-drafted .leaderboard-section .nav-pills .nav-link,
body.spotd-theme-drafted .spotd-lb .nav-pills .nav-link {
  color: #d4d4d8 !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(24, 24, 27, 0.5) !important;
}

body.spotd-theme-drafted .leaderboard-section .nav-pills .nav-link.active,
body.spotd-theme-drafted .spotd-lb .nav-pills .nav-link.active {
  background: linear-gradient(135deg, #7c5cff, #6344e8) !important;
  border-color: transparent !important;
  color: #fff !important;
}

body.spotd-theme-drafted .leaderboard-card {
  background: rgba(24, 24, 27, 0.92) !important;
  border: 1px solid rgba(123, 97, 255, 0.12) !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35) !important;
}

body.spotd-theme-drafted .points-badge {
  background: linear-gradient(90deg, #7c5cff, #5a3fd4) !important;
}

/* Teams & games cards */
body.spotd-theme-drafted .team-card {
  background: rgba(24, 24, 27, 0.75) !important;
  border: 1px solid rgba(123, 97, 255, 0.12) !important;
  border-radius: 16px !important;
}

body.spotd-theme-drafted .team-name {
  color: #fafafa !important;
}

body.spotd-theme-drafted .game-card {
  background: rgba(24, 24, 27, 0.75) !important;
  border: 1px solid rgba(123, 97, 255, 0.12) !important;
  border-radius: 14px !important;
}

body.spotd-theme-drafted .game-card .game-name {
  color: #a78bfa !important;
}

body.spotd-theme-drafted .game-filter-buttons .btn-outline-primary {
  border-color: rgba(124, 92, 255, 0.35) !important;
  color: #e9d5ff !important;
}

body.spotd-theme-drafted .game-filter-buttons .btn-primary {
  background: linear-gradient(135deg, #7c5cff, #6344e8) !important;
  border: none !important;
}

/* Home — hero (cartes info retirées : bloc plus bas sans 100vh) */
body.spotd-theme-drafted section.hero {
  background: transparent !important;
}

body.spotd-theme-drafted section.hero.hero--compact {
  padding-top: 1.75rem !important;
  padding-bottom: 1.25rem !important;
}

body.spotd-theme-drafted .guest-call-to-action .header1 {
  color: #fafafa !important;
}

body.spotd-theme-drafted .guest-call-to-action .header2,
body.spotd-theme-drafted .guest-call-to-action .text {
  color: #a1a1aa !important;
}

body.spotd-theme-drafted .info-card {
  border: 1px solid rgba(123, 97, 255, 0.15) !important;
  background: rgba(24, 24, 27, 0.55) !important;
}

/* Communauté */
body.spotd-theme-drafted .spotd-community {
  background: transparent !important;
}

body.spotd-theme-drafted .spotd-community__title-icon {
  color: #a78bfa;
}

body.spotd-theme-drafted .spotd-community__back {
  color: #a1a1aa !important;
}

body.spotd-theme-drafted .spotd-community__back:hover {
  color: #a78bfa !important;
}

body.spotd-theme-drafted .btn-spotd-accent {
  background: linear-gradient(135deg, #7c5cff, #6344e8) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 900;
  border-radius: 12px;
  padding: 0.5rem 1.1rem;
}

body.spotd-theme-drafted .btn-spotd-accent:hover {
  filter: brightness(1.08);
  color: #fff !important;
}

body.spotd-theme-drafted .btn-spotd-outline {
  border: 1px solid rgba(124, 92, 255, 0.35) !important;
  color: #f4f4f5 !important;
  background: rgba(24, 24, 27, 0.4) !important;
  border-radius: 12px;
}

body.spotd-theme-drafted .btn-spotd-outline:hover {
  border-color: rgba(124, 92, 255, 0.55) !important;
  color: #fff !important;
}

body.spotd-theme-drafted .alert-spotd-success {
  background: rgba(34, 197, 94, 0.15) !important;
  color: #86efac !important;
  border-radius: 12px;
}

body.spotd-theme-drafted .spotd-community .spotd-post-card {
  background: rgba(24, 24, 27, 0.85) !important;
  border: 1px solid rgba(123, 97, 255, 0.12) !important;
  border-radius: 16px !important;
}

body.spotd-theme-drafted .spotd-community .spotd-post-card .text-muted {
  color: #a1a1aa !important;
}

body.spotd-theme-drafted .spotd-community .spotd-post-card a.text-decoration-none {
  color: #a78bfa !important;
}

/* Fil communauté — médias responsives (image / GIF / vidéo) */
.spotd-community-media-wrap {
  margin-top: 0.75rem;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  text-align: center;
}

.spotd-community-media-wrap--feed {
  max-height: 240px;
}

.spotd-community-media-wrap--detail {
  max-height: min(70vh, 560px);
}

.spotd-community-img,
.spotd-community-video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: inherit;
  object-fit: contain;
}

.spotd-community-media-wrap--feed .spotd-community-img,
.spotd-community-media-wrap--feed .spotd-community-video {
  max-height: 240px;
  margin-left: auto;
  margin-right: auto;
}

.spotd-community-media-wrap--detail .spotd-community-img,
.spotd-community-media-wrap--detail .spotd-community-video {
  max-height: min(70vh, 560px);
}

.spotd-community-comment--nested {
  margin-left: 0.75rem;
  padding-left: 0.75rem;
  border-left: 2px solid rgba(161, 161, 170, 0.35);
}

@media (min-width: 768px) {
  .spotd-community-comment--nested {
    margin-left: 1.25rem;
    padding-left: 1rem;
  }
}

/* Pagination Bootstrap */
body.spotd-theme-drafted .pagination .page-link {
  background: rgba(24, 24, 27, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
  color: #e4e4e7;
}

body.spotd-theme-drafted .pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #7c5cff, #6344e8);
  border-color: transparent;
  color: #fff;
}

/* Fiche tournoi — héros (surcharge les styles inline éventuels de la vue) */
body.spotd-theme-drafted .hero-tournament-detail-advanced {
  background: linear-gradient(155deg, #121214 0%, #1a1628 42%, #12121a 100%) !important;
}

body.spotd-theme-drafted .hero-tournament-detail-advanced--has-game-banner {
  background: #121214 !important;
}

/* Contact / formulaires */
body.spotd-theme-drafted .contact-section .form-control,
body.spotd-theme-drafted .contact-section textarea {
  background: rgba(24, 24, 27, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #fafafa !important;
  border-radius: 12px;
}

body.spotd-theme-drafted .contact-section .form-control::placeholder {
  color: #71717a;
}

body.spotd-theme-drafted .contact-section .btn-primary {
  background: linear-gradient(135deg, #7c5cff, #6344e8) !important;
  border: none !important;
  border-radius: 12px;
  font-weight: 900;
}

/* Liste actualités */
body.spotd-theme-drafted section.news-container {
  background: transparent !important;
  padding-top: 2rem;
  padding-bottom: 3rem;
}

/* FAQ & accordéons */
body.spotd-theme-drafted .accordion-item {
  background: rgba(24, 24, 27, 0.75) !important;
  border: 1px solid rgba(123, 97, 255, 0.12) !important;
  border-radius: 12px !important;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

body.spotd-theme-drafted .accordion-button {
  background: rgba(39, 39, 42, 0.9) !important;
  color: #fafafa !important;
  box-shadow: none !important;
}

body.spotd-theme-drafted .accordion-button:not(.collapsed) {
  background: rgba(124, 92, 255, 0.12) !important;
  color: #c4b5fd !important;
}

body.spotd-theme-drafted .accordion-button::after {
  filter: invert(1) brightness(1.2);
}

body.spotd-theme-drafted .accordion-body {
  background: rgba(12, 12, 14, 0.5) !important;
  color: #d4d4d8 !important;
}

/* Cartes Bootstrap bg-secondary (aide, etc.) */
body.spotd-theme-drafted .spotd-front-main .card.bg-secondary {
  background: rgba(24, 24, 27, 0.85) !important;
  border: 1px solid rgba(123, 97, 255, 0.12) !important;
  border-radius: 16px !important;
}

body.spotd-theme-drafted .spotd-front-main .card.bg-secondary .btn-primary {
  background: linear-gradient(135deg, #7c5cff, #6344e8) !important;
  border: none !important;
  border-radius: 10px;
}

body.spotd-theme-drafted section.bg-dark.py-5 {
  background-color: transparent !important;
}

/* Typo titres — Valorant (assets_front/Valorant Font.ttf) */
body.spotd-theme-drafted .spotd-front-main h1,
body.spotd-theme-drafted .spotd-front-main h2,
body.spotd-theme-drafted .spotd-front-main h3,
body.spotd-theme-drafted .spotd-front-main .h1,
body.spotd-theme-drafted .spotd-front-main .h2,
body.spotd-theme-drafted .spotd-front-main .h3 {
  font-family: var(--spotd-font-title, "Valorant", sans-serif);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Ancienne grille ::after retirée — fond page = uni (mockup), pas de quadrillage violet */

/* Scrollbar — thème Drafted */
body.spotd-theme-drafted * {
  scrollbar-width: thin;
  scrollbar-color: #7c5cff #121214;
}

body.spotd-theme-drafted ::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

body.spotd-theme-drafted ::-webkit-scrollbar-track {
  background: #09090b;
  border-left: 1px solid #27272a;
}

body.spotd-theme-drafted ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #52525b 0%, #3f3f46 100%);
  border-radius: 4px;
  border: 2px solid #09090b;
}

body.spotd-theme-drafted ::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #8b7cff 0%, #6d4ed4 100%);
}

/* Accueil — bandeau stats (comme Home.jsx) */
body.spotd-theme-drafted .spotd-home-stat {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

body.spotd-theme-drafted .spotd-home-stat:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 92, 255, 0.35) !important;
}

body.spotd-theme-drafted .spotd-home-stat__icon {
  font-size: 1.35rem;
  color: #a78bfa;
  opacity: 0.95;
}

body.spotd-theme-drafted .spotd-home-stat__value {
  font-size: 1.75rem;
  font-weight: 800;
  font-family: var(--spotd-font-title, "Valorant", sans-serif);
  color: #fafafa;
  line-height: 1.2;
}

body.spotd-theme-drafted .spotd-home-stat__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a1a1aa;
  margin-top: 0.25rem;
}

/* Page recherche unifiée */
body.spotd-theme-drafted .spotd-search-hero {
  position: relative;
  overflow: hidden;
}

body.spotd-theme-drafted .spotd-search-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #121214 0%, #1a1628 50%, #12121a 100%);
  opacity: 1;
}

body.spotd-theme-drafted .spotd-search-hero .container {
  z-index: 1;
}

body.spotd-theme-drafted .spotd-search-hero__title {
  font-family: var(--spotd-font-title, "Valorant", sans-serif);
  font-weight: 800;
  color: #fafafa;
  letter-spacing: -0.03em;
}

body.spotd-theme-drafted .spotd-search-bar {
  max-width: 640px;
  border-radius: 14px !important;
  overflow: hidden;
  border: 1px solid rgba(124, 92, 255, 0.22) !important;
  background: rgba(24, 24, 27, 0.75) !important;
}

body.spotd-theme-drafted .spotd-search-bar .form-control {
  background: transparent !important;
  color: #fafafa !important;
}

body.spotd-theme-drafted .spotd-search-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 1050;
  max-height: min(52vh, 360px);
  overflow-y: auto;
  border-radius: 14px;
  border: 1px solid rgba(124, 92, 255, 0.28);
  background: rgba(24, 24, 27, 0.98);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  text-align: left;
}

body.spotd-theme-drafted .spotd-search-suggest__group-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a1a1aa;
  padding: 0.65rem 0.85rem 0.35rem;
}

body.spotd-theme-drafted .spotd-search-suggest__item {
  display: block;
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: 0;
  background: transparent;
  color: #fafafa;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.12s ease;
}

body.spotd-theme-drafted .spotd-search-suggest__group .spotd-search-suggest__item:first-child {
  border-top: 0;
}

body.spotd-theme-drafted .spotd-search-suggest__item:hover,
body.spotd-theme-drafted .spotd-search-suggest__item:focus-visible {
  background: rgba(124, 92, 255, 0.12);
  outline: none;
}

body.spotd-theme-drafted .spotd-search-suggest__item small {
  display: block;
  color: #a1a1aa;
  font-size: 0.78rem;
  margin-top: 0.15rem;
}

body.spotd-theme-drafted .spotd-search-tabs .nav-link {
  border-radius: 12px !important;
  color: #d4d4d8 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(24, 24, 27, 0.45) !important;
  padding: 0.45rem 0.9rem !important;
}

body.spotd-theme-drafted .spotd-search-tabs .nav-link:hover {
  border-color: rgba(124, 92, 255, 0.35) !important;
  color: #f5f3ff !important;
}

body.spotd-theme-drafted .spotd-search-tabs .nav-link.active {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.4), rgba(124, 58, 237, 0.25)) !important;
  border-color: rgba(124, 92, 255, 0.45) !important;
  color: #fff !important;
}

body.spotd-theme-drafted .spotd-search-card {
  transition: transform 0.18s ease, border-color 0.18s ease;
}

body.spotd-theme-drafted .spotd-search-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 92, 255, 0.4) !important;
}

body.spotd-theme-drafted .spotd-search-avatar-fallback {
  background: linear-gradient(135deg, #6344e8, #7c5cff);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Bouton retour en haut (Layout Drafted) — rester sous les modales Bootstrap (~1055+) */
.spotd-scroll-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1036;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  border: 1px solid rgba(124, 92, 255, 0.35);
  background: rgba(24, 24, 27, 0.92);
  color: #a78bfa;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.spotd-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.spotd-scroll-top:hover {
  color: #c4b5fd;
  border-color: rgba(124, 92, 255, 0.55);
  background: rgba(39, 39, 42, 0.98);
}

/* Pages légales / CMS (contentpage) */
body.spotd-theme-drafted .spotd-legal-content a {
  color: var(--spotd-drafted-accent, #a78bfa);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.spotd-theme-drafted .spotd-legal-content a:hover {
  color: var(--spotd-drafted-accent-hover, #c4b5fd);
}

/* Accueil — bannière hero : voir spotd-home-landing.css (hauteur ~50vh, texte en colonne) */
/* Pages internes : annule 100vh de style.css si la bannière advanced est réutilisée sans .spotd-home-banner */
body.spotd-theme-drafted .hero-banner-section-advanced:not(.spotd-home-banner) {
  height: auto !important;
  min-height: min(28vh, 280px) !important;
  margin-top: 0 !important;
}

body.spotd-theme-drafted .hero-banner-section-advanced:not(.spotd-home-banner) .hero-banner-slide-advanced {
  min-height: min(28vh, 280px) !important;
  padding: clamp(2rem, 5vw, 2.75rem) 1rem;
}

/* Héros « génériques » (tournois, équipes, jeux, actus, contact) : typo fluide */
body.spotd-theme-drafted .hero-tournaments-section .hero-title,
body.spotd-theme-drafted .hero-title-generic {
  font-size: clamp(1.5rem, 5vw, 2.6rem) !important;
  line-height: 1.15 !important;
  margin-bottom: 0.5rem !important;
  word-wrap: break-word;
}

body.spotd-theme-drafted .hero-subtitle,
body.spotd-theme-drafted .hero-subtitle-generic {
  font-size: clamp(0.88rem, 2.4vw, 1.1rem) !important;
  line-height: 1.4 !important;
  margin-bottom: 1rem !important;
}

body.spotd-theme-drafted .hero-description-generic {
  font-size: clamp(0.82rem, 2vw, 0.98rem) !important;
  line-height: 1.45 !important;
  margin-bottom: 1.25rem !important;
  max-width: 36rem;
}

body.spotd-theme-drafted .hero-content-generic,
body.spotd-theme-drafted .hero-content {
  width: min(100%, 40rem);
  padding: 0 1rem;
}

body.spotd-theme-drafted .hero-search-container {
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  body.spotd-theme-drafted .hero-tournaments-section,
  body.spotd-theme-drafted .hero-teams-section,
  body.spotd-theme-drafted .hero-games-section,
  body.spotd-theme-drafted .hero-news-section,
  body.spotd-theme-drafted .hero-contact-section {
    min-height: 0 !important;
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
}

/* =============================================================================
   MOCKUP UNIFIÉ — composants Bootstrap & utilitaires (tout le site public / espace membre)
   Charbon + violet #7B61FF, sans accents rose hérités de style.css
   ============================================================================= */

/* Titres avec span .text-gradient (CMS / sections) → dégradé violet uniquement */
body.spotd-theme-drafted .text-gradient,
body.spotd-theme-drafted .section-title .text-gradient {
  background: linear-gradient(135deg, #f5f3ff 0%, #c4b5fd 35%, #7b61ff 72%, #5a3fd4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

body.spotd-theme-drafted .text-gradient-alt {
  background: linear-gradient(135deg, #a78bfa 0%, #7b61ff 50%, #5a3fd4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.spotd-theme-drafted .spotd-front-main a:not(.btn):not(.dropdown-item):not(.nav-link):not(.page-link):not(.list-group-item-action):not(.game-card-ultra):not(.spotd-quick-tile):not(.tournament-card-community):not(.tournament-card-community-link) {
  color: #c4b5fd;
}

body.spotd-theme-drafted .spotd-front-main a:not(.btn):not(.dropdown-item):not(.nav-link):not(.page-link):not(.list-group-item-action):not(.game-card-ultra):not(.spotd-quick-tile):not(.tournament-card-community):not(.tournament-card-community-link):hover {
  color: #e9d5ff;
}

body.spotd-theme-drafted .text-muted {
  color: var(--spotd-drafted-muted, #9ca3b8) !important;
}

body.spotd-theme-drafted .card {
  background: rgba(22, 22, 31, 0.92);
  border: 1px solid var(--spotd-drafted-border);
  border-radius: var(--spotd-radius-md, 12px);
  box-shadow: var(--spotd-frame-shadow, 0 12px 44px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.04));
  color: var(--spotd-drafted-text);
}

body.spotd-theme-drafted .card-header {
  background: rgba(18, 18, 22, 0.65);
  border-bottom-color: var(--spotd-drafted-border);
  color: var(--spotd-drafted-text);
}

body.spotd-theme-drafted .list-group-item {
  background: rgba(26, 26, 35, 0.75);
  border-color: var(--spotd-drafted-border);
  color: var(--spotd-drafted-text);
}

body.spotd-theme-drafted .list-group-item:hover {
  background: rgba(39, 39, 48, 0.95);
}

body.spotd-theme-drafted .table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: rgba(255, 255, 255, 0.03);
  --bs-table-hover-bg: rgba(124, 92, 255, 0.08);
  color: var(--spotd-drafted-text);
  border-color: var(--spotd-drafted-border);
}

body.spotd-theme-drafted .table > :not(caption) > * > * {
  border-bottom-color: var(--spotd-drafted-border);
}

body.spotd-theme-drafted .form-control,
body.spotd-theme-drafted .form-select {
  background-color: rgba(18, 18, 24, 0.85);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--spotd-drafted-text);
}

body.spotd-theme-drafted .form-control:focus,
body.spotd-theme-drafted .form-select:focus {
  background-color: rgba(24, 24, 32, 0.95);
  border-color: rgba(123, 97, 255, 0.55);
  color: var(--spotd-drafted-text);
  box-shadow: 0 0 0 0.2rem rgba(123, 97, 255, 0.2);
}

body.spotd-theme-drafted .form-control::placeholder {
  color: #71717a;
}

body.spotd-theme-drafted .input-group-text {
  background: rgba(30, 30, 40, 0.9);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--spotd-drafted-muted);
}

body.spotd-theme-drafted .dropdown-menu {
  background: rgba(22, 22, 30, 0.98);
  border: 1px solid var(--spotd-drafted-border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

body.spotd-theme-drafted .dropdown-item {
  color: var(--spotd-drafted-text);
}

body.spotd-theme-drafted .dropdown-item:hover,
body.spotd-theme-drafted .dropdown-item:focus {
  background: rgba(124, 92, 255, 0.15);
  color: #fff;
}

body.spotd-theme-drafted .pagination .page-link {
  background: rgba(26, 26, 35, 0.9);
  border-color: var(--spotd-drafted-border);
  color: var(--spotd-drafted-text);
}

body.spotd-theme-drafted .pagination .page-link:hover {
  background: rgba(124, 92, 255, 0.2);
  border-color: rgba(123, 97, 255, 0.4);
  color: #fff;
}

body.spotd-theme-drafted .pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #7c5cff, #5a3fd4);
  border-color: transparent;
  color: #fff;
}

body.spotd-theme-drafted .breadcrumb {
  --bs-breadcrumb-divider-color: #52525b;
}

body.spotd-theme-drafted .breadcrumb-item a {
  color: #a78bfa;
}

body.spotd-theme-drafted .breadcrumb-item.active {
  color: var(--spotd-drafted-muted);
}

body.spotd-theme-drafted .nav-tabs {
  border-bottom-color: var(--spotd-drafted-border);
}

body.spotd-theme-drafted .nav-tabs .nav-link {
  color: var(--spotd-drafted-muted);
  border-radius: 10px 10px 0 0;
}

body.spotd-theme-drafted .nav-tabs .nav-link:hover {
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--spotd-drafted-text);
}

body.spotd-theme-drafted .nav-tabs .nav-link.active {
  background: rgba(26, 26, 35, 0.95);
  border-color: var(--spotd-drafted-border);
  border-bottom-color: transparent;
  color: var(--spotd-drafted-text);
}

body.spotd-theme-drafted .nav-pills .nav-link {
  border-radius: 10px;
  color: var(--spotd-drafted-muted);
}

body.spotd-theme-drafted .nav-pills .nav-link.active {
  background: linear-gradient(135deg, #7c5cff, #5a3fd4);
  color: #fff;
}

body.spotd-theme-drafted .alert {
  border-radius: var(--spotd-radius-sm, 8px);
  border-width: 1px;
}

body.spotd-theme-drafted .alert-success {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #a7f3d0;
}

body.spotd-theme-drafted .alert-info {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.35);
  color: #bfdbfe;
}

body.spotd-theme-drafted .alert-warning {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fde68a;
}

body.spotd-theme-drafted .alert-danger {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fecaca;
}

body.spotd-theme-drafted .btn-secondary,
body.spotd-theme-drafted .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--spotd-drafted-text);
}

body.spotd-theme-drafted .btn-secondary:hover,
body.spotd-theme-drafted .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

body.spotd-theme-drafted .btn-link {
  color: #a78bfa;
}

body.spotd-theme-drafted .btn-link:hover {
  color: #ddd6fe;
}

/* Auth (login / register) : pas de grille plein écran — garde le layout auth.css */
body.auth-page.spotd-theme-drafted {
  background-image: none !important;
  background-attachment: scroll !important;
  display: block;
}

/* -------------------------------------------------------------------------- */
/* FastMatch (community matches) — cartes & progression */
/* -------------------------------------------------------------------------- */
body.spotd-theme-drafted .fastmatch-card,
body.spotd-theme-drafted .fastmatch-hero {
  border-radius: var(--spotd-radius-md, 12px);
  border-color: rgba(255, 255, 255, 0.1) !important;
}

body.spotd-theme-drafted .fastmatch-card__accent {
  height: 4px;
  background: linear-gradient(90deg, #7c3aed, #06b6d4, #7b61ff);
  opacity: 0.95;
}

body.spotd-theme-drafted .fastmatch-progress {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

body.spotd-theme-drafted .fastmatch-progress__bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #06b6d4);
  transition: width 0.35s ease;
  min-width: 0;
}

body.spotd-theme-drafted .fastmatch-card__cta {
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(91, 63, 212, 0.35);
}

body.spotd-theme-drafted .fastmatch-join-card {
  border-radius: var(--spotd-radius-md, 12px);
  border-width: 2px !important;
}

body.spotd-theme-drafted .fastmatch-join-btn {
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 28px rgba(91, 63, 212, 0.4);
}

body.spotd-theme-drafted .fastmatch-cta-secondary {
  border-radius: var(--spotd-radius-md, 12px);
}

body.spotd-theme-drafted .fastmatch-index__title {
  letter-spacing: -0.02em;
}

body.spotd-theme-drafted .fastmatch-filters {
  border-radius: 14px;
}

body.spotd-theme-drafted .fastmatch-filters--compact .card-body {
  padding: 0.65rem 0.85rem;
}

body.spotd-theme-drafted .fastmatch-filters--compact .form-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

body.spotd-theme-drafted .fastmatch-card--compact .card-body {
  padding: 0.75rem 0.85rem;
}

body.spotd-theme-drafted .fastmatch-card--compact .fastmatch-card__game {
  font-size: 0.95rem;
}

body.spotd-theme-drafted .fastmatch-card--compact .fastmatch-card__meta {
  font-size: 0.8125rem;
  margin-bottom: 0.5rem !important;
}

body.spotd-theme-drafted .fastmatch-card--compact .fastmatch-card__accent {
  height: 3px;
}

body.spotd-theme-drafted .fastmatch-card--grid {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.spotd-theme-drafted .fastmatch-card--grid:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.4) !important;
}

body.spotd-theme-drafted .fastmatch-card--highlight {
  box-shadow:
    0 0 0 1px rgba(124, 92, 255, 0.5),
    0 16px 48px rgba(124, 92, 255, 0.18) !important;
}

body.spotd-theme-drafted .fastmatch-card__game {
  font-size: 1.06rem;
  letter-spacing: -0.01em;
}

body.spotd-theme-drafted .fastmatch-card__meta {
  font-size: 0.875rem;
}

/* FastMatch — page détail (onglets + en-tête sticky) */
body.spotd-theme-drafted .fastmatch-detail-header-wrap {
  position: sticky;
  top: 5.85rem;
  z-index: 1020;
  margin-top: -0.25rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  margin-bottom: 0.25rem;
  background: linear-gradient(
    180deg,
    rgba(7, 7, 14, 0.97) 0%,
    rgba(7, 7, 14, 0.9) 72%,
    rgba(7, 7, 14, 0) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.spotd-theme-drafted .fastmatch-detail-header {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

body.spotd-theme-drafted .fastmatch-progress--compact {
  height: 6px;
}

body.spotd-theme-drafted #fastmatch-tabs {
  scroll-margin-top: 7.5rem;
}

body.spotd-theme-drafted .fastmatch-detail-tabs {
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.35rem;
}

@media (min-width: 768px) {
  body.spotd-theme-drafted .fastmatch-detail-tabs {
    overflow-x: visible;
    flex-wrap: wrap;
  }
}

body.spotd-theme-drafted .fastmatch-detail-tabs .nav-link {
  color: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
  border: 1px solid transparent;
}

body.spotd-theme-drafted .fastmatch-detail-tabs .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

body.spotd-theme-drafted .fastmatch-detail-tabs .nav-link.active {
  color: #fff !important;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.45), rgba(6, 182, 212, 0.28)) !important;
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow: 0 4px 18px rgba(91, 63, 212, 0.25);
}

body.spotd-theme-drafted .fastmatch-detail-tab-content {
  min-height: 12rem;
}
