@charset "UTF-8";
/* ==========================================================================
   LOCKR — Styles Mobile App Native (PWA Standalone)
   Verrouillage Smartphone (max-w-md mx-auto) • Bottom Bar Fixe • Cartes LOCKR
   Rotation 3D Recto/Verso • Pelouse Tactique Réaliste
   ========================================================================== */

:root {
  --bg-outer: #09090B;
  --bg-app: #09090B;
  --bg-card: #121215;
  --text-main: #F4F4F5;
  --text-muted: #A1A1AA;
  --accent-champagne: #D4AF37;
  --accent-emerald: #10B981;
  --accent-ruby: #EF4444;
  --accent-neon: #10B981;
  --accent-gold: #D4AF37;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

body {
  min-height: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background-color: var(--bg-outer) !important;
  color: var(--text-main) !important;
  font-family: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-y !important;
  -webkit-font-smoothing: antialiased;
}

/* Identite Sportive : Barlow Condensed 700/800 pour OVR, Noms de Joueurs, Scores et Grands Titres */
.font-sport,
.font-display {
  font-family: 'Barlow Condensed', 'Outfit', -apple-system, sans-serif;
  letter-spacing: 0.03em;
}

/* Chiffres tabulaires stricts pour alignement financier dans stats, classements et L'Ardoise */
.tabular-nums,
.font-mono,
[data-tabular-nums="true"],
.ardoise-amount,
.table-stat-cell,
.scoreboard-num {
  font-variant-numeric: tabular-nums !important;
  font-feature-settings: "tnum" 1 !important;
}

/* Conteneur Smartphone Centré (Verrouillage Format Mobile même sur PC) */
.mobile-app-shell {
  width: 100% !important;
  max-width: 28rem !important; /* max-w-md (448px) */
  margin: 0 auto !important;
  min-height: 100dvh !important;
  background-color: var(--bg-app) !important;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(16, 185, 129, 0.05) 0%, transparent 40%) !important;
  position: relative !important;
  padding-bottom: 110px !important; /* Espace généreux pour la Bottom Navigation Bar fixe */
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.95) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
  touch-action: pan-y !important;
}

#app-main-content {
  overflow-y: visible !important;
  touch-action: pan-y !important;
}

/* Transition fluide type App Native entre les onglets et écrans */
@keyframes appScreenFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.app-screen-transition {
  animation: appScreenFade 0.22s cubic-bezier(0.2, 0.85, 0.3, 1) forwards;
}

/* Bottom Navigation Bar Fixe au format Smartphone */
.mobile-bottom-nav {
  position: fixed !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100% !important;
  max-width: 28rem !important; /* max-w-md */
  z-index: 40 !important;
  background: rgba(9, 9, 11, 0.96) !important;
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 6px 10px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
}

/* ==========================================================================
   CARTES JOUEURS LOCKR (TAILLE VESTIAIRE, PLEIN ÉCRAN & ROTATION 3D RECTO/VERSO)
   ========================================================================== */

.lockr-card-perspective {
  perspective: 1200px;
  display: inline-block;
  user-select: none;
}

/* Scène 3D pour le Flip Recto / Verso en Plein Écran */
.lockr-flip-scene {
  perspective: 1400px;
  width: 295px;
  height: 438px;
  cursor: pointer;
  user-select: none;
}

.lockr-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
}

.lockr-flip-inner.is-flipped {
  transform: rotateY(180deg);
}

.lockr-flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.lockr-flip-back {
  transform: rotateY(180deg);
}

/* Silhouette Propriétaire LOCKR : "Cyber-Slab" (Plaque Octogonale Biseautée)
   Forme officielle : polygon(12% 0%, 88% 0%, 100% 8%, 100% 86%, 82% 100%, 18% 100%, 0% 86%, 0% 8%)
   100% originale et copyright-proof : sans pointe inférieure de bouclier ni double arche */
.lockr-card {
  position: relative;
  width: 265px;
  height: 392px;
  clip-path: polygon(
    12% 0%, 88% 0%, 100% 8%, 100% 86%, 82% 100%, 18% 100%, 0% 86%, 0% 8%
  );
  -webkit-clip-path: polygon(
    12% 0%, 88% 0%, 100% 8%, 100% 86%, 82% 100%, 18% 100%, 0% 86%, 0% 8%
  );
  transform-style: preserve-3d;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85);
  background-color: #0b0e17;
  color: #f8fafc;
}

/* Format Grille Mobile (2 cartes par ligne dans le Vestiaire) */
.lockr-card.size-grid {
  width: 168px;
  height: 250px;
}

/* Format Plein Écran (Modal Individuel) */
.lockr-card.size-fullscreen {
  width: 295px;
  height: 438px;
}

/* Bordure Métallique Biseautée Haute Précision (Double Conteneur Plaque Collector) */
.lockr-card::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(
    12% 0%, 88% 0%, 100% 8%, 100% 86%, 82% 100%, 18% 100%, 0% 86%, 0% 8%
  );
  -webkit-clip-path: polygon(
    12% 0%, 88% 0%, 100% 8%, 100% 86%, 82% 100%, 18% 100%, 0% 86%, 0% 8%
  );
  z-index: 18;
  pointer-events: none;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.35) 15%,
    rgba(255, 255, 255, 0.08) 45%,
    rgba(255, 255, 255, 0.45) 80%,
    rgba(255, 255, 255, 0.75) 100%
  );
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 2.5px;
}

/* Encoche Métallique Signature LOCKR (Fente Badge Casier VIP en haut au centre) */
.lockr-card-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 5px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(15, 23, 42, 0.95) 100%);
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  border-right: 1px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  z-index: 25;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.lockr-card-notch::after {
  content: "";
  position: absolute;
  top: 1.5px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 1.5px;
  background: rgba(0, 245, 155, 0.85);
  border-radius: 1px;
  box-shadow: 0 0 5px rgba(0, 245, 155, 0.7);
}

/* Marquage Officiel LOCKR sur la base plate inférieure */
.lockr-card-watermark {
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 16;
  pointer-events: none;
}

.lockr-card.size-grid .lockr-card-watermark {
  bottom: 3.5px;
}

.lockr-card-glare {
  position: absolute;
  inset: 0;
  z-index: 15;
  pointer-events: none;
  mix-blend-mode: color-dodge;
  opacity: 0.35;
  background: linear-gradient(125deg, transparent 25%, rgba(255, 255, 255, 0.35) 45%, transparent 65%);
  background-size: 220% 220%;
  animation: holoShimmer 5s ease-in-out infinite;
}

@keyframes holoShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Paliers & Skins */
.tier-totw {
  background: 
    radial-gradient(circle at 50% 28%, rgba(245, 197, 66, 0.45) 0%, transparent 58%),
    repeating-linear-gradient(45deg, rgba(255, 215, 0, 0.06) 0px, rgba(255, 215, 0, 0.06) 2px, transparent 2px, transparent 8px),
    linear-gradient(160deg, #1a1608 0%, #090a0f 45%, #2b2106 85%, #f5c542 100%);
  color: #fef08a;
}
.tier-totw .card-stat-divider { border-color: rgba(245, 197, 66, 0.35); }
.tier-totw .card-badge-pill { background: linear-gradient(90deg, #f5c542, #fff3b0); color: #090a0f; }

.tier-flop {
  background: 
    radial-gradient(circle at 50% 25%, rgba(255, 59, 92, 0.35) 0%, transparent 60%),
    repeating-linear-gradient(-35deg, rgba(0, 0, 0, 0.4) 0px, rgba(0, 0, 0, 0.4) 6px, rgba(60, 15, 25, 0.45) 6px, rgba(60, 15, 25, 0.45) 12px),
    linear-gradient(160deg, #2a1215 0%, #141418 55%, #450a0a 100%);
  color: #fda4af;
}
.tier-flop .card-stat-divider { border-color: rgba(255, 59, 92, 0.35); }
.tier-flop .card-badge-pill { background: #ff3b5c; color: #ffffff; }

.tier-bronze {
  background: 
    radial-gradient(circle at 50% 25%, rgba(217, 119, 6, 0.3) 0%, transparent 55%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 2px, transparent 2px, transparent 6px),
    linear-gradient(150deg, #1c100b 0%, #0d0806 48%, #291104 88%, #78350f 100%) !important;
  color: #fed7aa !important;
}
.tier-bronze .card-stat-divider { border-color: rgba(217, 119, 6, 0.35) !important; }
.tier-bronze .card-badge-pill { background: #1c100b !important; color: #fdba74 !important; }

.tier-silver {
  background: 
    radial-gradient(circle at 50% 25%, rgba(148, 163, 184, 0.28) 0%, transparent 55%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 2px, transparent 2px, transparent 6px),
    linear-gradient(155deg, #1e293b 0%, #0f172a 45%, #020617 85%, #334155 100%) !important;
  color: #f8fafc !important;
}
.tier-silver .card-stat-divider { border-color: rgba(148, 163, 184, 0.35) !important; }
.tier-silver .card-badge-pill { background: #0f172a !important; color: #e2e8f0 !important; }

.tier-gold {
  background: 
    radial-gradient(circle at 50% 25%, rgba(234, 179, 8, 0.35) 0%, transparent 58%),
    repeating-linear-gradient(45deg, rgba(250, 204, 21, 0.04) 0px, rgba(250, 204, 21, 0.04) 2px, transparent 2px, transparent 6px),
    linear-gradient(155deg, #1c1505 0%, #0d0f17 45%, #2a1b04 85%, #b45309 100%) !important;
  color: #fef08a !important;
}
.tier-gold .card-stat-divider { border-color: rgba(234, 179, 8, 0.35) !important; }
.tier-gold .card-badge-pill { background: #1c1505 !important; color: #fde047 !important; }

.tier-emerald {
  background: 
    radial-gradient(circle at 50% 28%, rgba(52, 211, 153, 0.45) 0%, transparent 58%),
    linear-gradient(155deg, #064e3b 0%, #022c22 45%, #047857 82%, #34d399 100%);
  color: #ecfdf5;
}
.tier-emerald .card-stat-divider { border-color: rgba(52, 211, 153, 0.35); }
.tier-emerald .card-badge-pill { background: #10b981; color: #022c22; }

.tier-icon {
  background: 
    radial-gradient(circle at 50% 30%, rgba(168, 85, 247, 0.4) 0%, transparent 60%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 2px, transparent 2px, transparent 6px),
    linear-gradient(155deg, #1e0b36 0%, #0a0414 40%, #1e1b4b 75%, #581c87 100%) !important;
  color: #f3e8ff !important;
}
.tier-icon .card-stat-divider { border-color: rgba(168, 85, 247, 0.35) !important; }
.tier-icon .card-badge-pill { background: linear-gradient(90deg, #6d28d9, #db2777) !important; color: #ffffff !important; }

/* ==========================================================================
   CALQUES VECTORIELS & SHADERS MULTI-COUCHES DES SKINS & EFFETS COLLECTOR
   ========================================================================== */

.lockr-theme-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.92;
}

.lockr-fx-overlay {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
}

.lockr-fx-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 14;
  pointer-events: none;
}

/* ==========================================================================
   LES 6 EFFETS HOLOGRAPHIQUES ANIMÉS (cosmeticFx)
   1. fx-standard : Vernis Standard
   2. fx-spotlight : Reflet Projecteur
   3. fx-shockwave : Onde de Choc
   4. fx-pyro : Fumigène Ultra
   5. fx-lightning : Éclair Contre-Attaque
   6. fx-prism : Prisme Capitaine
   ========================================================================== */

.lockr-fx-overlay {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  overflow: hidden;
}

.lockr-fx-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 14;
  pointer-events: none;
}

/* 1. VERNIS STANDARD (fx-standard / none) */
.lockr-card.fx-standard::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 11;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.02) 36%,
    rgba(255, 255, 255, 0.16) 48%,
    rgba(255, 255, 255, 0.04) 58%,
    transparent 100%
  );
  mix-blend-mode: overlay;
  opacity: 0.85;
}

/* 2. REFLET PROJECTEUR (fx-spotlight / fx-holo) */
@keyframes spotlightSweep {
  0%, 100% {
    transform: rotate(-10deg) scale(1.05);
    opacity: 0.65;
  }
  50% {
    transform: rotate(10deg) scale(1.15);
    opacity: 0.95;
  }
}

.lockr-card.fx-spotlight::before,
.lockr-card.fx-holo::before {
  border: 2px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.45), 0 0 15px rgba(255, 255, 255, 0.25) !important;
}

.fx-spotlight-beam {
  position: absolute;
  inset: -20% -30%;
  z-index: 12;
  pointer-events: none;
  background: conic-gradient(
    from 155deg at 50% 0%,
    transparent 0deg,
    rgba(255, 255, 255, 0.12) 14deg,
    rgba(255, 255, 255, 0.42) 20deg,
    rgba(255, 255, 255, 0.12) 26deg,
    transparent 42deg
  );
  mix-blend-mode: color-dodge;
  animation: spotlightSweep 5.5s ease-in-out infinite;
  transform-origin: 50% 0%;
}

.prism-shard {
  mix-blend-mode: overlay;
  animation: shardFlash 3s ease-in-out infinite;
}
.prism-shard.s1 { animation-delay: 0.2s; }
.prism-shard.s2 { animation-delay: 1.1s; }
.prism-shard.s3 { animation-delay: 2.0s; }

@keyframes shardFlash {
  0%, 100% { fill: rgba(255, 255, 255, 0.03); stroke: rgba(255, 255, 255, 0.25); }
  50% { fill: rgba(255, 255, 255, 0.18); stroke: rgba(255, 255, 255, 0.85); filter: drop-shadow(0 0 4px #fff); }
}

/* 3. ONDE DE CHOC (fx-shockwave / fx-cyber-neon) */
@keyframes pulseWave {
  0% {
    transform: scale(0.35);
    opacity: 0;
  }
  25% {
    opacity: 0.85;
  }
  80% {
    opacity: 0.4;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.lockr-card.fx-shockwave::before,
.lockr-card.fx-cyber-neon::before {
  border: 2.5px solid #38bdf8 !important;
  box-shadow: inset 0 0 24px rgba(56, 189, 248, 0.7), 0 0 16px rgba(0, 245, 155, 0.5) !important;
}

.fx-shockwave-rings {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fx-shockwave-ring {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid rgba(56, 189, 248, 0.65);
  box-shadow: 0 0 16px rgba(0, 245, 155, 0.55), inset 0 0 12px rgba(56, 189, 248, 0.4);
  animation: pulseWave 3.2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}
.fx-shockwave-ring:nth-child(2) {
  animation-delay: 1.05s;
  border-color: rgba(0, 245, 155, 0.65);
}
.fx-shockwave-ring:nth-child(3) {
  animation-delay: 2.1s;
  border-color: rgba(232, 121, 249, 0.55);
}

.lightning-bolt {
  filter: drop-shadow(0 0 8px currentColor);
  animation: boltFlicker 2.8s ease-in-out infinite;
}
.lightning-bolt.lb-1 { animation-delay: 0.4s; }
.lightning-bolt.lb-2 { animation-delay: 1.6s; }
.lightning-bolt.lb-3 { animation-delay: 2.4s; }

@keyframes boltFlicker {
  0%, 82%, 100% { opacity: 0; }
  84% { opacity: 1; }
  88% { opacity: 0.25; }
  92% { opacity: 0.95; }
}

/* 4. FUMIGÈNE ULTRA (fx-pyro / fx-inferno) */
@keyframes smokeRise {
  0% {
    transform: translateY(12px) scale(0.96);
    opacity: 0.4;
  }
  50% {
    opacity: 0.85;
  }
  100% {
    transform: translateY(-28px) scale(1.08);
    opacity: 0.2;
  }
}

.lockr-card.fx-pyro::before,
.lockr-card.fx-inferno::before {
  border: 2.5px solid #fb923c !important;
  box-shadow: inset 0 -30px 42px rgba(239, 68, 68, 0.9), inset 0 0 20px rgba(251, 146, 60, 0.65) !important;
}

.fx-pyro-glow {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  mix-blend-mode: screen;
  background: radial-gradient(
    ellipse at 50% 98%,
    rgba(253, 224, 71, 0.65) 0%,
    rgba(249, 115, 22, 0.55) 30%,
    rgba(220, 38, 38, 0.38) 60%,
    transparent 85%
  );
}

.fx-pyro-smoke {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65%;
  z-index: 13;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 50% 100%,
    rgba(251, 146, 60, 0.42) 0%,
    transparent 72%
  );
  animation: smokeRise 4.2s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

.ember-particle {
  animation: emberFloat 3.8s ease-in-out infinite;
}
.ember-particle.em-1 { animation-delay: 0.3s; }
.ember-particle.em-2 { animation-delay: 1.4s; }
.ember-particle.em-3 { animation-delay: 2.5s; }

@keyframes emberFloat {
  0% { transform: translateY(0) scale(0.85); opacity: 0; }
  25% { opacity: 0.95; }
  75% { opacity: 0.85; }
  100% { transform: translateY(-75px) translateX(8px) scale(1.15); opacity: 0; }
}

.magma-crack {
  filter: drop-shadow(0 0 6px #f97316);
  animation: magmaPulse 2.8s ease-in-out infinite alternate;
}
@keyframes magmaPulse {
  0% { stroke: #fbbf24; opacity: 0.65; }
  100% { stroke: #ef4444; opacity: 1; filter: drop-shadow(0 0 10px #ef4444); }
}

/* 5. ÉCLAIR CONTRE-ATTAQUE (fx-lightning / fx-gold-dust) */
@keyframes lightningFlash {
  0%, 88%, 100% {
    opacity: 0;
    transform: translateX(-120%) skewX(-22deg);
  }
  90% {
    opacity: 0.9;
    transform: translateX(25%) skewX(-22deg);
  }
  92% {
    opacity: 0.3;
    transform: translateX(55%) skewX(-22deg);
  }
  94% {
    opacity: 1;
    transform: translateX(115%) skewX(-22deg);
  }
}

.lockr-card.fx-lightning::before,
.lockr-card.fx-gold-dust::before {
  border: 2.5px solid #fde047 !important;
  box-shadow: inset 0 0 26px rgba(250, 204, 21, 0.8), 0 0 20px rgba(34, 211, 238, 0.5) !important;
}

.fx-lightning-flash {
  position: absolute;
  inset: -10% -20%;
  z-index: 12;
  pointer-events: none;
  mix-blend-mode: color-dodge;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 30%,
    rgba(34, 211, 238, 0.75) 47%,
    rgba(255, 255, 255, 1) 50%,
    rgba(250, 204, 21, 0.85) 53%,
    rgba(255, 255, 255, 0.2) 70%,
    transparent 100%
  );
  animation: lightningFlash 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.gold-sparkle {
  transform-origin: center;
  animation: sparkleTwinkle 2.5s ease-in-out infinite;
}
.gold-sparkle.sp-1 { animation-delay: 0.2s; }
.gold-sparkle.sp-2 { animation-delay: 1.0s; }
.gold-sparkle.sp-3 { animation-delay: 1.8s; }

@keyframes sparkleTwinkle {
  0%, 100% { transform: scale(0.65) rotate(0deg); opacity: 0.35; }
  50% { transform: scale(1.25) rotate(45deg); opacity: 1; filter: drop-shadow(0 0 6px currentColor); }
}

.gold-mote {
  animation: moteDrift 4s ease-in-out infinite alternate;
}
.gold-mote.m-1 { animation-delay: 0.4s; }
.gold-mote.m-2 { animation-delay: 1.5s; }
.gold-mote.m-3 { animation-delay: 2.6s; }

@keyframes moteDrift {
  0% { transform: translateY(0) scale(0.85); opacity: 0.4; }
  100% { transform: translateY(-22px) translateX(6px) scale(1.2); opacity: 0.95; }
}

/* 6. PRISME CAPITAINE (fx-prism / fx-galaxy) */
@keyframes prismRotate {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

.lockr-card.fx-prism::before,
.lockr-card.fx-galaxy::before {
  border: 2.5px solid #e879f9 !important;
  box-shadow: inset 0 0 28px rgba(192, 132, 252, 0.8), inset 0 0 45px rgba(56, 189, 248, 0.45) !important;
}

.fx-prism-spectral {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  mix-blend-mode: color-dodge;
  opacity: 0.72;
  background: repeating-linear-gradient(
    115deg,
    rgba(192, 132, 252, 0.4) 0%,
    rgba(56, 189, 248, 0.45) 15%,
    rgba(52, 211, 153, 0.45) 30%,
    rgba(250, 204, 21, 0.45) 45%,
    rgba(244, 63, 94, 0.42) 60%,
    rgba(192, 132, 252, 0.4) 75%
  );
  background-size: 200% 200%;
  animation: prismRotate 8s linear infinite;
}


/* ==========================================================================
   SKINS DE CARTE HAUTE COUTURE (TEXTURES ARCHITECTURALES & MÉTALLIQUES)
   ========================================================================== */

/* 1. Obsidienne & Or 24K (Carbone forgé & Filigrane Or) */
.lockr-card.theme-black-gold {
  background:
    radial-gradient(circle at 50% 24%, rgba(250, 204, 21, 0.38) 0%, transparent 56%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 3px, rgba(0, 0, 0, 0.35) 3px, rgba(0, 0, 0, 0.35) 6px),
    linear-gradient(160deg, #07080c 0%, #12151f 48%, #211906 84%, #eab308 100%) !important;
  color: #fef08a !important;
}
.lockr-card.theme-black-gold::before {
  border-color: rgba(250, 204, 21, 0.78) !important;
}
.lockr-card.theme-black-gold .card-stat-divider { border-color: rgba(250, 204, 21, 0.42) !important; }

/* 2. Marbre Impérial Panthéon (Marbre Blanc de Carrare & Or Antique) */
.lockr-card.theme-marble-imperial {
  background:
    radial-gradient(circle at 50% 22%, rgba(254, 240, 138, 0.45) 0%, transparent 58%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 2px, transparent 2px, transparent 8px),
    linear-gradient(152deg, #1e293b 0%, #0f172a 38%, #1e1b18 74%, #854d0e 100%) !important;
  color: #fef08a !important;
}
.lockr-card.theme-marble-imperial::before {
  border: 2px solid rgba(234, 179, 8, 0.75) !important;
  box-shadow: inset 0 0 18px rgba(212, 155, 39, 0.35);
}
.lockr-card.theme-marble-imperial .card-stat-divider { border-color: rgba(234, 179, 8, 0.4) !important; }

/* 3. Acier Damas Écarlate (Damascus Crimson & Platine) */
.lockr-card.theme-crimson-samurai {
  background:
    radial-gradient(circle at 50% 25%, rgba(244, 63, 94, 0.48) 0%, transparent 56%),
    repeating-radial-gradient(circle at 0% 50%, rgba(255, 255, 255, 0.04) 0px, rgba(255, 255, 255, 0.04) 4px, transparent 4px, transparent 11px),
    linear-gradient(158deg, #09090d 0%, #1f0812 48%, #881337 85%, #f43f5e 100%) !important;
  color: #ffe4e6 !important;
}
.lockr-card.theme-crimson-samurai::before {
  border-color: rgba(251, 113, 133, 0.75) !important;
}
.lockr-card.theme-crimson-samurai .card-stat-divider { border-color: rgba(251, 113, 133, 0.4) !important; }

/* 4. Saphir Céleste Étoilé */
.lockr-card.theme-champions {
  background:
    radial-gradient(circle at 50% 22%, rgba(56, 189, 248, 0.48) 0%, transparent 55%),
    linear-gradient(155deg, #04091e 0%, #091538 45%, #1e3a8a 82%, #38bdf8 100%) !important;
  color: #e0f2fe !important;
}
.lockr-card.theme-champions::before {
  border-color: rgba(125, 211, 252, 0.75) !important;
}
.lockr-card.theme-champions .card-stat-divider { border-color: rgba(56, 189, 248, 0.4) !important; }

/* 5. Cristal Émeraude Taillé */
.lockr-card.theme-emerald-pro {
  background:
    radial-gradient(circle at 50% 24%, rgba(52, 211, 153, 0.5) 0%, transparent 56%),
    linear-gradient(155deg, #021c16 0%, #064e3b 48%, #047857 82%, #00f59b 100%) !important;
  color: #ecfdf5 !important;
}
.lockr-card.theme-emerald-pro::before {
  border-color: rgba(52, 211, 153, 0.78) !important;
}
.lockr-card.theme-emerald-pro .card-stat-divider { border-color: rgba(52, 211, 153, 0.4) !important; }

/* 6. Cyber-Tokyo Horizon */
.lockr-card.theme-miami-vice {
  background:
    radial-gradient(circle at 50% 25%, rgba(244, 63, 94, 0.45) 0%, transparent 55%),
    linear-gradient(155deg, #13051e 0%, #2e094e 45%, #9d174d 78%, #06b6d4 100%) !important;
  color: #fdf2f8 !important;
}
.lockr-card.theme-miami-vice::before {
  border-color: rgba(34, 211, 238, 0.78) !important;
}
.lockr-card.theme-miami-vice .card-stat-divider { border-color: rgba(244, 114, 182, 0.42) !important; }


/* ==========================================================================
   VRAI TERRAIN DE FOOTBALL TACTIQUE (AVEC TRACÉS OFFICIELS & COORDONNÉES XY)
   ========================================================================== */

.realistic-pitch-container {
  position: relative;
  width: 100%;
  height: 515px;
  border-radius: 24px;
  overflow: hidden;
  border: 2.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), inset 0 0 60px rgba(0, 0, 0, 0.45);
  background:
    repeating-linear-gradient(
      0deg,
      #0c6b3d 0px,
      #0c6b3d 42px,
      #095831 42px,
      #095831 84px
    );
}

.pitch-player-token {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 10;
  transition: left 0.35s cubic-bezier(0.22, 1, 0.36, 1), top 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.2s ease;
}

.pitch-player-token:hover {
  transform: translate(-50%, -53%) scale(1.06);
  z-index: 20;
}

.pitch-mini-card {
  position: relative;
  width: 64px;
  height: 90px;
  clip-path: polygon(
    12% 0%, 88% 0%, 100% 8%, 100% 86%, 82% 100%, 18% 100%, 0% 86%, 0% 8%
  );
  -webkit-clip-path: polygon(
    12% 0%, 88% 0%, 100% 8%, 100% 86%, 82% 100%, 18% 100%, 0% 86%, 0% 8%
  );
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.8);
  cursor: pointer;
  user-select: none;
}

/* Masquer la scrollbar tout en gardant le scroll vertical fluide */
::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

/* ==========================================================================
   PALIER 2 : NOUVEAUX SKINS OFFICIELS V3 (LOCKR)
   ========================================================================== */
/* ==========================================================================
   PALIER 5 : DESIGN HAUTE DÉFINITION DES 7 SKINS OFFICIELS V3 (LOCKR)
   Découpe Octogonale Cyber-Slab • Textures Métalliques & Shaders Propriétaires
   ========================================================================== */

/* ==========================================================================
   LES 7 SKINS DE CARTES PROPRIÉTAIRES HAUTE DÉFINITION (Cyber-Slab)
   1. skin-acier-vestiaire ("Acier Vestiaire" — Gratuit)
   2. skin-pelouse-nocturne ("Pelouse Nocturne" — Gratuit)
   3. skin-beton-city ("Béton City-Stade" — Mission : 5 matchs joués)
   4. skin-carbone-tactique ("Carbone Tactique" — Mission : 5 buts OU 3 Clean Sheets)
   5. skin-neon-five ("Néon Street-Five" — Mission : 5 entraînements OU 5 passes D.)
   6. skin-pluie-dor ("Pluie d'Or" — Exclusif Pack Captain / 3x MVP ou Mur)
   7. skin-noir-absolu-24k ("Noir Absolu 24K" — Exclusif Pack Super Captain)
   + tier-totw / tier-mvp_gold (MVP du Match — Noir & Or prestigieux sans TOTW)
   ========================================================================== */

/* 1. ACIER VESTIAIRE (Gratuit) : Métal brossé industriel froid */
.lockr-card.skin-acier-vestiaire,
.lockr-card.theme-acier {
  background:
    radial-gradient(ellipse at 50% 15%, rgba(203, 213, 225, 0.22) 0%, transparent 60%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 2px,
      transparent 2px,
      transparent 6px
    ),
    linear-gradient(145deg, #1e293b 0%, #0f172a 45%, #334155 100%) !important;
  color: #f8fafc !important;
}
.lockr-card.skin-acier-vestiaire::before,
.lockr-card.theme-acier::before {
  background: linear-gradient(135deg, #94a3b8 0%, #cbd5e1 35%, #475569 70%, #94a3b8 100%) !important;
  box-shadow: inset 0 0 14px rgba(148, 163, 184, 0.3) !important;
}
.lockr-card.skin-acier-vestiaire .card-stat-divider,
.lockr-card.theme-acier .card-stat-divider {
  border-color: rgba(148, 163, 184, 0.35) !important;
}

/* 2. PELOUSE NOCTURNE (Gratuit) : Vert gazon profond sous projecteurs */
.lockr-card.skin-pelouse-nocturne,
.lockr-card.theme-pelouse {
  background:
    radial-gradient(circle at 50% 0%, #065f46 0%, #022c22 65%, #090d16 100%),
    repeating-linear-gradient(
      -45deg,
      rgba(16, 185, 129, 0.07) 0px,
      rgba(16, 185, 129, 0.07) 18px,
      transparent 18px,
      transparent 36px
    ) !important;
  color: #ecfdf5 !important;
}
.lockr-card.skin-pelouse-nocturne::before,
.lockr-card.theme-pelouse::before {
  background: linear-gradient(135deg, #34d399 0%, #a7f3d0 35%, #059669 70%, #34d399 100%) !important;
  box-shadow: inset 0 0 16px rgba(16, 185, 129, 0.35) !important;
}
.lockr-card.skin-pelouse-nocturne .card-stat-divider,
.lockr-card.theme-pelouse .card-stat-divider {
  border-color: rgba(52, 211, 153, 0.35) !important;
}

/* 3. BÉTON CITY-STADE (Mission) : Asphalte sombre & marquages playground usés */
.lockr-card.skin-beton-city,
.lockr-card.theme-beton {
  background:
    radial-gradient(circle at 50% 25%, rgba(251, 191, 36, 0.15) 0%, transparent 60%),
    repeating-linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.025) 0px,
      rgba(255, 255, 255, 0.025) 2px,
      transparent 2px,
      transparent 8px
    ),
    linear-gradient(160deg, #18181b 0%, #09090b 55%, #18181b 100%) !important;
  color: #f1f5f9 !important;
}
.lockr-card.skin-beton-city::before,
.lockr-card.theme-beton::before {
  background: linear-gradient(135deg, #f97316 0%, #71717a 40%, #52525b 70%, #f97316 100%) !important;
  box-shadow: inset 0 0 16px rgba(249, 115, 22, 0.3) !important;
}
.lockr-card.skin-beton-city .card-stat-divider,
.lockr-card.theme-beton .card-stat-divider {
  border-color: rgba(249, 115, 22, 0.4) !important;
}

/* 4. CARBONE TACTIQUE (Mission) : Fibre de carbone 3D & accents cyan électrique */
.lockr-card.skin-carbone-tactique,
.lockr-card.theme-carbone {
  background:
    linear-gradient(135deg, rgba(6, 182, 212, 0.18) 0%, transparent 70%),
    radial-gradient(circle at center, #1e293b 0%, #090d16 100%) 0 0 / 8px 8px,
    radial-gradient(circle at center, #090d16 0%, #1e293b 100%) 4px 4px / 8px 8px,
    #090d16 !important;
  color: #e0f2fe !important;
}
.lockr-card.skin-carbone-tactique::before,
.lockr-card.theme-carbone::before {
  background: linear-gradient(135deg, #22d3ee 0%, #0f172a 45%, #06b6d4 75%, #22d3ee 100%) !important;
  box-shadow: inset 0 0 18px rgba(6, 182, 212, 0.45), 0 0 14px rgba(34, 211, 238, 0.35) !important;
}
.lockr-card.skin-carbone-tactique .card-stat-divider,
.lockr-card.theme-carbone .card-stat-divider {
  border-color: rgba(34, 211, 238, 0.4) !important;
}

/* 5. NÉON STREET-FIVE (Mission) : Ambiance complexe indoor nocturne magenta & cyan */
.lockr-card.skin-neon-five,
.lockr-card.theme-neon {
  background:
    radial-gradient(circle at 15% 20%, rgba(217, 70, 239, 0.35) 0%, transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(56, 189, 248, 0.35) 0%, transparent 55%),
    #090514 !important;
  color: #fdf4ff !important;
}
.lockr-card.skin-neon-five::before,
.lockr-card.theme-neon::before {
  background: linear-gradient(135deg, #e879f9 0%, #a855f7 35%, #38bdf8 70%, #22d3ee 100%) !important;
  box-shadow: inset 0 0 18px rgba(56, 189, 248, 0.5), 0 0 16px rgba(232, 121, 249, 0.45) !important;
}
.lockr-card.skin-neon-five .card-stat-divider,
.lockr-card.theme-neon .card-stat-divider {
  border-color: rgba(232, 121, 249, 0.4) !important;
}

/* 6. PLUIE D'OR (Exclusif Pack Captain) : Lingot d'or brossé & pluie d'étincelles */
@keyframes goldRainFlow {
  0% { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 0 200px, 0 0, 0 0; }
}

@keyframes goldRainFall {
  0% { transform: translateY(-15px) translateX(0); opacity: 0; }
  20% { opacity: 0.9; }
  80% { opacity: 0.9; }
  100% { transform: translateY(390px) translateX(25px); opacity: 0; }
}

.lockr-card.skin-pluie-dor,
.lockr-card.theme-pluie-dor {
  background:
    radial-gradient(circle at 50% 15%, rgba(254, 240, 138, 0.4) 0%, transparent 55%),
    repeating-linear-gradient(180deg, rgba(254, 240, 138, 0.12) 0px, transparent 3px, transparent 40px) 0 0 / 100% 200px,
    linear-gradient(160deg, #422006 0%, #713f12 35%, #1c1917 75%, #451a03 100%) !important;
  animation: goldRainFlow 6s linear infinite;
  color: #fef08a !important;
}
.lockr-card.skin-pluie-dor::before,
.lockr-card.theme-pluie-dor::before {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 35%, #b45309 70%, #fef08a 100%) !important;
  box-shadow: inset 0 0 22px rgba(250, 204, 21, 0.6), 0 0 18px rgba(245, 197, 66, 0.4) !important;
}
.lockr-card.skin-pluie-dor .card-stat-divider,
.lockr-card.theme-pluie-dor .card-stat-divider {
  border-color: rgba(254, 240, 138, 0.4) !important;
}

/* 7. NOIR ABSOLU 24K (Exclusif Pack Super Captain) : Obsidienne ultra-mate & Or pur 24K */
.lockr-card.skin-noir-absolu-24k,
.lockr-card.theme-noir-absolu {
  background:
    radial-gradient(circle at 50% 20%, rgba(250, 204, 21, 0.22) 0%, transparent 55%),
    repeating-linear-gradient(45deg, rgba(250, 204, 21, 0.035) 0px, rgba(250, 204, 21, 0.035) 1px, transparent 1px, transparent 24px),
    repeating-linear-gradient(-45deg, rgba(250, 204, 21, 0.025) 0px, rgba(250, 204, 21, 0.025) 1px, transparent 1px, transparent 32px),
    linear-gradient(160deg, #030305 0%, #0a0a0c 50%, #030305 100%) !important;
  color: #fef08a !important;
  box-shadow: 0 0 35px rgba(250, 204, 21, 0.35), 0 20px 45px rgba(0, 0, 0, 0.95) !important;
}
.lockr-card.skin-noir-absolu-24k::before,
.lockr-card.theme-noir-absolu::before {
  background: linear-gradient(135deg, #ffffff 0%, #fde047 25%, #d97706 50%, #fef08a 75%, #b45309 100%) !important;
  box-shadow: inset 0 0 24px rgba(245, 197, 66, 0.65), 0 0 22px rgba(234, 179, 8, 0.45) !important;
}
.lockr-card.skin-noir-absolu-24k .card-stat-divider,
.lockr-card.theme-noir-absolu .card-stat-divider {
  border-color: rgba(253, 224, 71, 0.45) !important;
}

/* MVP DU MATCH TEMPORAIRE (tier-totw / tier-mvp_gold) : Finition Noir & Or Prestigieuse */
.tier-mvp_gold,
.tier-totw {
  background:
    radial-gradient(circle at 50% 28%, rgba(245, 197, 66, 0.45) 0%, transparent 58%),
    repeating-linear-gradient(45deg, rgba(255, 215, 0, 0.06) 0px, rgba(255, 215, 0, 0.06) 2px, transparent 2px, transparent 8px),
    linear-gradient(160deg, #1a1608 0%, #090a0f 45%, #2b2106 85%, #f5c542 100%) !important;
  color: #fef08a !important;
}
.tier-mvp_gold::before,
.tier-totw::before {
  background: linear-gradient(135deg, #ffffff 0%, #fbbf24 30%, #b45309 70%, #fef08a 100%) !important;
  box-shadow: inset 0 0 20px rgba(245, 197, 66, 0.55), 0 0 15px rgba(245, 197, 66, 0.35) !important;
}
.tier-mvp_gold .card-stat-divider,
.tier-totw .card-stat-divider {
  border-color: rgba(245, 197, 66, 0.4) !important;
}
.tier-mvp_gold .card-badge-pill,
.tier-totw .card-badge-pill {
  background: linear-gradient(90deg, #f5c542, #fff3b0) !important;
  color: #090a0f !important;
}


/* ==========================================================================
   PALIER 4 : ADAPTATION RESPONSIVE "WEB APP DESKTOP" (>= 1024px)
   Split-Screen Dashboard • Sidebar Verticale Gauche (260px) • Grilles Élargies
   ========================================================================== */
@media (max-width: 1023px) {
  .desktop-sidebar {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .mobile-app-shell {
    max-width: 72rem !important; /* max-w-6xl (1152px) */
    flex-direction: row !important;
    padding-bottom: 0 !important;
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.95) !important;
  }

  .desktop-sidebar {
    display: flex !important;
    flex-direction: column !important;
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
    height: 100vh !important;
    position: sticky !important;
    top: 0 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(8, 11, 18, 0.98) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    padding: 1.5rem !important;
    justify-content: space-between !important;
    z-index: 30 !important;
    overflow-y: auto !important;
  }

  .mobile-bottom-nav {
    display: none !important;
  }

  #app-top-header {
    display: none !important;
  }

  #app-main-content {
    max-width: 100% !important;
    padding: 1.75rem 2rem 2.5rem 2rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* ==========================================================================
   LOCKR DESIGN SYSTEM : OBSIDIENNE & OR CHAMPAGNE
   ========================================================================== */

/* Panneaux d'interface Graphite Mat (#121215) avec Eclairage Zenithal */
.bg-graphite-zenith,
.card-panel-zenith {
  background-color: #121215 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.04) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.04) !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
}

/* Remplacement des gros coins mous 2xl/3xl de l'interface par un rayon architectural de 8px */
.rounded-2xl:not(.lockr-card):not(.pitch-player-token):not(.rounded-full):not([data-keep-rounded]),
.rounded-3xl:not(.lockr-card):not(.realistic-pitch-container):not(.rounded-full):not([data-keep-rounded]),
.rounded-xl:not(.lockr-card):not(.rounded-full):not([data-keep-rounded]) {
  border-radius: 8px !important;
}

/* Modales d'interface avec coins architecturaux 8px */
#account-drawer-modal > div,
#vote-settings-modal > div,
#edit-card-modal > div,
#season-match-modal > div,
#encode-match-modal > div,
#schedule-match-modal > div,
#captain-pack-modal > div,
#notifications-modal > div,
#faq-bareme-modal > div,
#badges-catalog-modal > div,
#role-switcher-modal > div,
#locker-gages-modal > div,
#cloud-status-modal > div,
#versus-comparator-modal > div,
#balanced-teams-modal > div,
#super-admin-modal > div {
  border-radius: 8px !important;
  background-color: #121215 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.04) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.04) !important;
}

/* 3. BARRE D'ONGLETS EPUREE AVEC FILET LUMINEUX OR CHAMPAGNE (2px) */
.lockr-tabs-nav {
  display: flex !important;
  align-items: center !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  gap: 1.5rem !important;
}

.lockr-tab-item {
  position: relative !important;
  padding: 10px 4px 12px 4px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #A1A1AA !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  transition: color 0.2s ease, border-color 0.2s ease !important;
}

.lockr-tab-item:hover {
  color: #F4F4F5 !important;
}

.lockr-tab-item.is-active,
.lockr-tab-item[data-active="true"] {
  color: #D4AF37 !important;
  font-weight: 700 !important;
}

.lockr-tab-item.is-active::after,
.lockr-tab-item[data-active="true"]::after {
  content: "" !important;
  position: absolute !important;
  bottom: -1px !important;
  left: 0 !important;
  right: 0 !important;
  height: 2px !important;
  background: #D4AF37 !important;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.6) !important;
}

/* 4. BADGES STATUTS PILULES CARREES (border-radius: 4px) */
.badge-status {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  border-radius: 4px !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  padding: 3px 8px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.badge-status-champagne {
  background: rgba(212, 175, 55, 0.12) !important;
  color: #D4AF37 !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
}

.badge-status-emerald {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #10B981 !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
}

.badge-status-ruby {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #EF4444 !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
}

.badge-status-neutral {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #A1A1AA !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
}

/* 5. ESPACEMENT & RESPIRATION (WHITESPACE) : ACCORDEONS FAQ & L'ARDOISE */
details.group summary {
  padding: 16px 20px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

details.group > div {
  padding: 14px 20px 18px 20px !important;
  line-height: 1.6 !important;
  font-size: 13px !important;
  color: #A1A1AA !important;
}

details.group > div p,
details.group > div div {
  line-height: 1.6 !important;
}

.ardoise-row,
.ardoise-item-row {
  padding: 16px 20px !important;
  border-radius: 8px !important;
}

/* Navigation Basse Minimaliste : Icones Fines & Label Typographique Net */
.bottom-nav-item {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px 4px !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
  color: #A1A1AA !important;
}

.bottom-nav-item.is-active {
  color: #D4AF37 !important;
}

.bottom-nav-item.is-active svg {
  stroke: #D4AF37 !important;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.4)) !important;
}

.bottom-nav-item svg {
  stroke: #A1A1AA;
  stroke-width: 1.75px;
  width: 22px;
  height: 22px;
  transition: stroke 0.2s ease;
}

.bottom-nav-item:hover svg {
  stroke: #F4F4F5;
}

/* Lisibilite mobile garantie */
p, li {
  color: #A1A1AA;
}
strong, b {
  color: #F4F4F5;
}

/* ==========================================================================
   FORCE TAILWIND OVERRIDES : OBSIDIENNE & GRAPHITE & ACCENTS
   Permet d'appliquer le nouveau thème Luxe immédiatement partout
   ========================================================================== */

/* 1. Neutral backgrounds : remplacer les anciens bleus ardoise slate-950/900/#111624 */
.bg-\[\#111624\],
[class*="bg-[#111624]"] {
  background-color: #121215 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.bg-slate-950,
.bg-slate-950\/80,
.bg-slate-950\/90,
[class*="bg-slate-950"] {
  background-color: #09090B !important;
}

.bg-slate-900,
.bg-slate-900\/60,
.bg-slate-900\/80,
.bg-slate-900\/90,
[class*="bg-slate-900"] {
  background-color: #121215 !important;
}

.bg-slate-800,
[class*="bg-slate-800"] {
  background-color: #18181B !important;
}

/* 2. Textes Haute Visibilité (Blanc Ivoire & Gris Platine) */
.text-slate-100,
.text-white {
  color: #F4F4F5 !important;
}

.text-slate-300,
.text-slate-400 {
  color: #A1A1AA !important;
}

.text-slate-500 {
  color: #71717A !important;
}

/* 3. Accents : Champagne & Émeraude & Rubis */
.text-amber-400,
.text-amber-300,
.text-yellow-400,
.text-yellow-300 {
  color: #D4AF37 !important;
}

.border-amber-400,
.border-amber-400\/30,
.border-amber-400\/40,
.border-amber-400\/50,
.border-amber-400\/60 {
  border-color: rgba(212, 175, 55, 0.4) !important;
}

.bg-amber-400,
.bg-amber-400\/10,
.bg-amber-400\/15,
.bg-amber-400\/20,
.bg-amber-400\/30 {
  background-color: rgba(212, 175, 55, 0.15) !important;
  color: #D4AF37 !important;
}

/* Boutons principaux Or */
button.bg-amber-400,
span.bg-amber-400,
.btn-gold {
  background: linear-gradient(135deg, #E6CA65 0%, #D4AF37 100%) !important;
  color: #09090B !important;
  font-weight: 800 !important;
}

/* Émeraude */
.text-emerald-400,
.text-emerald-300 {
  color: #10B981 !important;
}

.bg-emerald-400,
.bg-emerald-500 {
  background-color: #10B981 !important;
  color: #09090B !important;
}

.bg-emerald-400\/10,
.bg-emerald-400\/15,
.bg-emerald-400\/20,
.bg-emerald-500\/15,
.bg-emerald-500\/20 {
  background-color: rgba(16, 185, 129, 0.12) !important;
  color: #10B981 !important;
}

.border-emerald-400,
.border-emerald-400\/30,
.border-emerald-400\/40,
.border-emerald-400\/50 {
  border-color: rgba(16, 185, 129, 0.35) !important;
}

/* Rubis */
.text-rose-400,
.text-rose-500 {
  color: #EF4444 !important;
}

.bg-rose-500,
.bg-rose-600 {
  background-color: #EF4444 !important;
  color: #FFFFFF !important;
}

/* 4. Panneaux Graphite Mat avec Éclairage Zénithal */
.bg-\[\#111624\],
[class*="bg-[#111624]"] {
  border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.04) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.04) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
}

/* 5. Rayon architectural 8px sur toute l'interface sauf cartes */
.rounded-2xl,
.rounded-3xl,
.rounded-xl {
  border-radius: 8px !important;
}

/* Exceptions de forme : Cartes Cyber-Slab, drapeaux et pastilles rondes */
.lockr-card,
.pitch-mini-card {
  border-radius: 0 !important;
}

.rounded-full {
  border-radius: 9999px !important;
}

/* 6. Typographie Sportive Barlow Condensed sur titres, scores et OVR */
h1, h2, h3,
.font-display,
.scoreboard-num,
.score-badge {
  font-family: 'Barlow Condensed', 'Outfit', sans-serif !important;
  letter-spacing: 0.03em !important;
}

/* OVR sur la carte */
.lockr-card .font-display {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 800 !important;
}

/* Chiffres tabulaires partout sur les stats et montants */
.font-mono,
.tabular-nums,
td,
[data-stat] {
  font-variant-numeric: tabular-nums !important;
  font-feature-settings: "tnum" 1 !important;
}

/* ==========================================================================
   STYLE STADE / MAILLOT : EA SPORTS FC & SORARE INSPIRATION
   ========================================================================== */

/* 1. TYPOGRAPHIE & HIÉRARCHIE VISUELLE */
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 500;
}

/* Barlow Condensed MAJUSCULES pour OVR, Noms de Joueurs, Scores et Grands Titres */
.font-display,
.font-sport,
h1, h2, h3, h4,
.stadium-team-name,
.stadium-score-banner,
.stadium-score-mini,
.vote-cand-name,
.lockr-card .font-display,
.card-technical-tag {
  font-family: 'Barlow Condensed', sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

/* Space Mono pour valeurs chiffrées (notes /10, minuteurs, pourcentages, stats, prix) */
.font-mono,
.tabular-nums,
td,
[data-stat],
.rating-val,
.vote-stat-impact,
.stadium-timer {
  font-family: 'Space Mono', monospace !important;
  font-variant-numeric: tabular-nums !important;
  font-feature-settings: 'tnum' 1 !important;
}

/* Scores de match imposants style stade */
.stadium-score-banner {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  color: #D4AF37 !important;
  background: #09090B !important;
  border: 1px solid rgba(212, 175, 55, 0.4) !important;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.stadium-score-mini {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  border-radius: 2px !important;
}

/* 2. MODULE DE VOTE HAUT DE GAMME : FOND PLAT #0D0D10 ET SÉLECTION PAR HALO */
.vote-cat-panel {
  background-color: #0D0D10 !important;
  border: none !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 0 !important;
}

.vote-category-tag {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 3px 8px !important;
  border-radius: 2px !important;
}

.vote-tag-mvp {
  background: rgba(212, 175, 55, 0.18) !important;
  color: #D4AF37 !important;
  border: 1px solid rgba(212, 175, 55, 0.5) !important;
}

.vote-tag-flop {
  background: rgba(239, 68, 68, 0.18) !important;
  color: #EF4444 !important;
  border: 1px solid rgba(239, 68, 68, 0.5) !important;
}

.vote-tag-neutral {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #A1A1AA !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.vote-stat-impact {
  font-family: 'Space Mono', monospace !important;
  font-weight: 700 !important;
  font-size: 11px !important;
}

/* Candidat au vote : pas de grosse boîte imbriquée, fond plat #0D0D10 */
.vote-candidate-card {
  background: #0D0D10 !important;
  border: 1px solid rgba(255, 255, 255, 0.04) !important;
  border-radius: 2px !important;
  position: relative !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.vote-candidate-card:hover {
  background: #15151A !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Sélection MVP : Halo Or Champagne discret */
.vote-candidate-card.is-picked-mvp {
  background: #181610 !important;
  border: 1px solid #D4AF37 !important;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.35), inset 0 0 12px rgba(212, 175, 55, 0.15) !important;
}

/* Sélection Flop : Halo Rubis discret */
.vote-candidate-card.is-picked-flop {
  background: #190F11 !important;
  border: 1px solid #EF4444 !important;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.35), inset 0 0 12px rgba(239, 68, 68, 0.15) !important;
}

/* Sélection Spéciale : Halo Émeraude discret */
.vote-candidate-card.is-picked-special {
  background: #0D1714 !important;
  border: 1px solid #059669 !important;
  box-shadow: 0 0 16px rgba(5, 150, 105, 0.35), inset 0 0 12px rgba(5, 150, 105, 0.15) !important;
}

.vote-candidate-card.is-disabled {
  opacity: 0.3 !important;
  cursor: not-allowed !important;
  background: #09090B !important;
  border-color: transparent !important;
}

.vote-selection-pill {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  margin-top: 4px !important;
  padding: 1px 4px !important;
  border-radius: 2px !important;
}

.pill-mvp {
  background: #D4AF37 !important;
  color: #09090B !important;
}

.pill-flop {
  background: #EF4444 !important;
  color: #FFFFFF !important;
}

.pill-special {
  background: #059669 !important;
  color: #FFFFFF !important;
}

/* 3. CARTES DE JOUEURS : CONTRASTE CARBO-METALLIQUE & OVR STADE */
.lockr-card {
  background: 
    radial-gradient(circle at 50% 25%, rgba(255, 255, 255, 0.05) 0%, transparent 60%),
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.25) 0px, rgba(0, 0, 0, 0.25) 2px, transparent 2px, transparent 4px),
    linear-gradient(175deg, #18181D 0%, #0C0C0F 55%, #050507 100%) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 30px rgba(0, 0, 0, 0.8) !important;
}

/* Grand OVR en haut à gauche avec reflet métallique */
.lockr-card .font-display.text-5xl,
.lockr-card .font-display.text-2xl {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  background: linear-gradient(180deg, #FFFFFF 0%, #E4E4E7 45%, #A1A1AA 70%, #D4AF37 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.9)) !important;
}

/* Étiquettes techniques biseautées avec bordure métallique */
.card-technical-tag {
  display: inline-flex !important;
  align-items: center !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 2.5px 8px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(18, 18, 21, 0.95) 100%) !important;
  border-left: 2px solid #D4AF37 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6) !important;
  color: #F4F4F5 !important;
  border-radius: 0 !important;
  clip-path: polygon(0 0, 92% 0, 100% 35%, 100% 100%, 0 100%) !important;
}

.card-technical-tag.tag-compact {
  font-size: 7.5px !important;
  padding: 1.5px 5px !important;
}

/* 4. COULEURS & ACCENTS : OR CHAMPAGNE (#D4AF37) & ÉMERAUDE PROFOND (#059669) */
.btn-gold {
  background: linear-gradient(135deg, #E6CA65 0%, #D4AF37 100%) !important;
  color: #09090B !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  border: 1px solid #F5E5A3 !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3) !important;
}

.btn-emerald {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  color: #FFFFFF !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3) !important;
}


/* ==========================================================================
   REFONTE ARCHITECTURALE VESTIAIRE & CYBER-SLAB V2 (EA SPORTS FC & SORARE)
   ========================================================================== */

/* 1. HEADER VESTIAIRE SANS BORDURE ARRONresource */
.vestiaire-architectural-header {
  border-radius: 0 !important;
  background-color: #09090B !important;
}

/* 2. COMMAND BAR UNIFIÉE (RAYON TENDU 2PX) */
.command-bar-unified {
  border-radius: 2px !important;
  background-color: #121215 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* 3. NOUVELLE ARCHITECTURE INTERNE CYBER-SLAB V2 */
/* OVR Monumental avec reflet métallique */
.card-ovr-monumental {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
  background: linear-gradient(180deg, #FFFFFF 0%, #E4E4E7 35%, #A1A1AA 65%, #D4AF37 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.95)) !important;
}

/* Avatar Agrandi de 25% et Masque de Fondu Inférieur */
.card-avatar-container {
  overflow: visible !important;
}

.card-avatar-staged {
  mask-image: linear-gradient(to bottom, #000 70%, transparent 100%) !important;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%) !important;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.75)) !important;
  transform: scale(1.15) !important;
  transform-origin: bottom center !important;
}

/* Bandeau du Nom Traversant de Bord à Bord encadré par 2 filets métalliques de 1px */
.card-name-bar {
  background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.85) 15%, rgba(0, 0, 0, 0.85) 85%, transparent 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6) !important;
}

.card-name-bar h3 {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 900 !important;
}

/* Grille Panneau Technique des Stats */
.card-stats-panel {
  font-family: 'Space Mono', monospace !important;
  font-variant-numeric: tabular-nums !important;
}


/* ==========================================================================
   HARMONISATION DES PANNEAUX & BORDURES FINES (RAYON TENDU 2PX / 4PX)
   ========================================================================== */

/* Tous les conteneurs de dashboard, modales et fiches */
.rounded-xl,
.rounded-2xl,
.rounded-3xl {
  border-radius: 4px !important;
}

/* Modales d'interface avec coins architecturaux 4px et bordure fine zénithale */
#account-drawer-modal > div,
#vote-settings-modal > div,
#edit-card-modal > div,
#season-match-modal > div,
#encode-match-modal > div,
#schedule-match-modal > div,
#captain-pack-modal > div,
#notifications-modal > div,
#faq-bareme-modal > div,
#versus-comparator-modal > div,
#badges-catalog-modal > div {
  border-radius: 4px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background-color: #121215 !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95) !important;
}

/* Lignes et cartes de L'Ardoise et de la FAQ */
.faq-accordion-item,
.ardoise-row-item {
  border-radius: 2px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background-color: #121215 !important;
}

/* Boutons d'action standards */
button.btn-primary-action {
  border-radius: 2px !important;
  background: #D4AF37 !important;
  color: #09090B !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

button.btn-secondary-action {
  border-radius: 2px !important;
  background: #F4F4F5 !important;
  color: #09090B !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}


/* ==========================================================================
   TABLEAU TACTIQUE NOIR & OR & STYLES DES SLIDERS ET CANDIDATS
   ========================================================================== */

/* 1. Terrain Tactique Noir & Or / Anthracite Brutaliste */
.realistic-pitch-container {
  border-radius: 2px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), inset 0 0 60px rgba(0, 0, 0, 0.8) !important;
  background: radial-gradient(circle at 50% 50%, #14181D 0%, #09090B 100%) !important;
}

.realistic-pitch-container svg {
  opacity: 0.35 !important;
}

.realistic-pitch-container svg rect,
.realistic-pitch-container svg line,
.realistic-pitch-container svg circle,
.realistic-pitch-container svg path {
  stroke: rgba(212, 175, 55, 0.5) !important;
}

/* 2. Sliders de Notes /10 personnalisés : Or Champagne sur rail sombre */
.lockr-range-slider {
  -webkit-appearance: none;
  appearance: none;
  background: #1E1E24 !important;
  height: 4px !important;
  border-radius: 0px !important;
  outline: none !important;
}

.lockr-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px !important;
  height: 14px !important;
  background: #D4AF37 !important;
  border: 1px solid #FFFFFF !important;
  border-radius: 0px !important;
  cursor: pointer !important;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.6) !important;
}

.lockr-range-slider::-moz-range-thumb {
  width: 14px !important;
  height: 14px !important;
  background: #D4AF37 !important;
  border: 1px solid #FFFFFF !important;
  border-radius: 0px !important;
  cursor: pointer !important;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.6) !important;
}

/* 3. Sélections de Votes MVP & Flop sans bordures vertes */
.vote-candidate-card {
  border-radius: 2px !important;
  background: #0D0D10 !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.vote-candidate-card.is-picked-mvp {
  border: 1px solid #D4AF37 !important;
  background: #161510 !important;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.35) !important;
}

.vote-candidate-card.is-picked-flop {
  border: 1px solid #EF4444 !important;
  background: #180F11 !important;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.35) !important;
}

.vote-tag-mvp {
  background: #D4AF37 !important;
  color: #09090B !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  border-radius: 2px !important;
  padding: 2px 6px !important;
}

.vote-tag-flop {
  background: #EF4444 !important;
  color: #FFFFFF !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  border-radius: 2px !important;
  padding: 2px 6px !important;
}

/* 4. Roster Table & Cartes avec angles nets de 2px */
* {
  border-radius: revert;
}
.rounded-xl, .rounded-2xl, .rounded-3xl, .rounded-lg {
  border-radius: 2px !important;
}


/* ==========================================================================
   THEME DEFINITIF : STADIUM NIGHT (SORARE / FOTMOB / EA SPORTS FC)
   Contraste Haute Lisibilite • Bleu Nuit Stade & Vert Pelouse Vif
   ========================================================================== */

:root {
  --bg-app: #0B0F17 !important;
  --bg-outer: #0B0F17 !important;
  --bg-surface: #151C28 !important;
  --bg-elevated: #1E2738 !important;
  --border-subtle: #263143 !important;
  --text-primary: #FFFFFF !important;
  --text-secondary: #CBD5E1 !important;
  --text-muted: #64748B !important;
  --accent-green: #22C55E !important;
  --accent-amber: #F59E0B !important;
  --accent-red: #EF4444 !important;
  --accent-blue: #3B82F6 !important;
}

body {
  background-color: #0B0F17 !important;
  color: #FFFFFF !important;
}

/* 1. Surfaces & Panneaux Globaux */
.bg-\[\#09090B\],
.bg-\[\#0D0D10\],
.bg-slate-900,
.bg-slate-950 {
  background-color: #0B0F17 !important;
}

.bg-\[\#121215\],
.bg-slate-800,
.bg-\[\#151C28\] {
  background-color: #151C28 !important;
  border-color: #263143 !important;
}

.bg-\[\#121215\]:hover {
  background-color: #1B2434 !important;
}

/* 2. Textes & Contraste Lumineux */
.text-white,
.text-\[\#F4F4F5\] {
  color: #FFFFFF !important;
}

.text-\[\#A1A1AA\],
.text-slate-400,
.text-slate-300 {
  color: #CBD5E1 !important;
}

.text-slate-500,
.text-slate-600 {
  color: #64748B !important;
}

/* 3. Rayons d'angles equilibres (Modern Sports-Tech) */
.rounded-xl,
.rounded-2xl,
.rounded-3xl,
.rounded-lg,
.rounded-\[2px\]:not(.card-name-bar):not(.card-ovr-monumental) {
  border-radius: 10px !important;
}

button:not(.lockr-card),
input,
select,
.lockr-tab-item,
.rounded-md,
.rounded-sm {
  border-radius: 6px !important;
}

/* Exception stricte : Cyber-Slab reste octogonale biseautée */
.lockr-card,
.pitch-mini-card {
  border-radius: 0 !important;
}

/* 4. Boutons d'Action Principaux & Onglets Actifs : Blanc Pur sur Bleu Nuit */
button.btn-primary-action,
.bg-\[\#F4F4F5\]:not(.card-name-bar),
.bg-white {
  background-color: #FFFFFF !important;
  color: #0B0F17 !important;
  font-weight: 800 !important;
}

/* Onglets Actifs Segmentés */
.lockr-tab-item.is-active,
.lockr-tab-active {
  background-color: #FFFFFF !important;
  color: #0B0F17 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

/* 5. Sidebar Bureau Fixe : Stadium Night */
.desktop-sidebar {
  background-color: #0F1520 !important;
  border-right: 1px solid #1E293B !important;
}

/* 6. Header Architectural : Sans filigrane, fond épuré */
.vestiaire-architectural-header {
  background-color: #0B0F17 !important;
  border-bottom: 1px solid #1E293B !important;
}

/* 7. Sliders de Notes /10 : Jauge Dégradée Bleu Sport (#3B82F6) vers Vert Pelouse (#22C55E) */
.lockr-range-slider {
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, #3B82F6 0%, #22C55E 100%) !important;
  height: 6px !important;
  border-radius: 6px !important;
  outline: none !important;
}

.lockr-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px !important;
  height: 18px !important;
  background: #FFFFFF !important;
  border: 2px solid #0B0F17 !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6) !important;
}

.lockr-range-slider::-moz-range-thumb {
  width: 18px !important;
  height: 18px !important;
  background: #FFFFFF !important;
  border: 2px solid #0B0F17 !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6) !important;
}

/* 8. Sélections MVP (Halo Or) & Flop (Halo Rouge) */
.vote-candidate-card {
  border-radius: 8px !important;
  background: #151C28 !important;
  border: 1px solid #263143 !important;
}

.vote-candidate-card:hover {
  background: #1B2434 !important;
  border-color: #3B82F6 !important;
}

.vote-candidate-card.is-picked-mvp {
  border: 2px solid #F59E0B !important;
  background: #1B212D !important;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.35) !important;
}

.vote-candidate-card.is-picked-flop {
  border: 2px solid #EF4444 !important;
  background: #23181C !important;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.35) !important;
}

/* 9. Barre de navigation mobile inférieure (Fixe) */
.mobile-bottom-nav {
  background-color: rgba(15, 21, 32, 0.96) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-top: 1px solid #1E293B !important;
}

.bottom-nav-item.is-active {
  color: #3B82F6 !important;
}

/* 10. Modales d'interface : Stadium Night */
#account-drawer-modal > div,
#vote-settings-modal > div,
#edit-card-modal > div,
#season-match-modal > div,
#encode-match-modal > div,
#schedule-match-modal > div,
#captain-pack-modal > div,
#notifications-modal > div,
#faq-bareme-modal > div,
#versus-comparator-modal > div,
#badges-catalog-modal > div {
  background-color: #151C28 !important;
  border: 1px solid #263143 !important;
  border-radius: 10px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95) !important;
}


/* --- INFOBULLES INTERACTIVES POUR LES BADGES --- */
.badge-tooltip-wrapper {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.badge-tooltip-content {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: 200px;
  background-color: #151C28;
  color: #FFFFFF;
  text-align: center;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 0.75rem;
  line-height: 1.2;
  border: 1px solid #263143;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  z-index: 100;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
}

/* Petite flèche en bas de l'infobulle */
.badge-tooltip-content::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #151C28 transparent transparent transparent;
}

/* Affichage au survol (PC) ou lors de la classe active (Mobile/Clic) */
.badge-tooltip-wrapper:hover .badge-tooltip-content,
.badge-tooltip-wrapper.active .badge-tooltip-content {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* --- CALENDRIER : AFFICHAGE FLUIDE DES MATCHS (STADIUM NIGHT) --- */
.match-fixture-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  gap: 8px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

.match-fixture-title .team-name {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-family: 'Barlow Condensed', Impact, sans-serif !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: -0.02em !important;
  line-height: 1.1 !important;
}

.match-fixture-title .vs-badge {
  flex-shrink: 0 !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  font-family: 'Space Mono', monospace !important;
  font-weight: 900 !important;
  font-size: 0.75rem !important;
  background: rgba(59, 130, 246, 0.15) !important;
  border: 1px solid rgba(59, 130, 246, 0.4) !important;
  color: #60A5FA !important;
  letter-spacing: 0.05em !important;
}
