@import url('https://fonts.googleapis.com/css2?family=Bungee&family=Press+Start+2P&family=Rubik:wght@400;500;700;900&family=JetBrains+Mono:wght@500;700&display=swap');
/* =====================================================================
   LA CONSOLE ET LE MAÎTRE DU JEU — direction « écran de sélection »
   =====================================================================
   Chargée EN DERNIER dans admin.php et maitre.html (25/09/2026). Elle
   rhabille, elle ne touche à aucune fonction.
   🔑 Ce sont des pages de TRAVAIL : on garde la lisibilité (Rubik pour
      tout ce qui se lit), la grammaire du jeu ne vient que sur les
      titres, les boutons, les panneaux et le code à dicter.
   🔑 Le ROUGE reste le seul signal de danger (vider, effacer) : les
      boutons dangereux ne prennent jamais le jaune du geste principal.
   ===================================================================== */
:root {
  --accent: #5CE6A5; --phosphore: #5CE6A5; --jaune-da: #FFE14B; --rouge-da: #FF5E3A;
  --titre-da: 'Bungee', Impact, 'Arial Black', sans-serif;
  --texte-da: 'Rubik', system-ui, 'Segoe UI', sans-serif;
  --nuit: #07070C; --nuit-2: #0D0D12; --nuit-3: #17171F;
}
body {
  font-family: var(--texte-da) !important;
  background: radial-gradient(circle at 50% 130%, #1c0f3a, #07070C 64%) fixed, #07070C !important;
}
.wrap { max-width: 1400px !important; }

/* ---- titres ---- */
h1 {
  font-family: var(--titre-da) !important; font-weight: 400 !important; text-transform: uppercase; line-height: .95 !important;
  background: linear-gradient(#FFF36B, var(--rouge-da)); -webkit-background-clip: text; background-clip: text; color: transparent !important;
  filter: drop-shadow(0 .4vh 0 #000);
}
h2, h3 { font-family: var(--titre-da) !important; font-weight: 400 !important; text-transform: uppercase; letter-spacing: .02em; color: var(--accent) !important; }
.kicker { font-family: var(--titre-da) !important; color: var(--accent) !important; letter-spacing: .04em !important; }

/* ---- panneaux ---- */
.bloc, .boite, .partie, .resultat, .porte, .total, .code-sortie {
  background: #0D0D12 !important; border: 5px solid #000 !important; border-radius: 0 !important;
  box-shadow: 0 0 0 4px var(--accent), .6vw .8vh 0 4px #000 !important;
}
.partie, .total { box-shadow: 0 0 0 3px #2A2A36 !important; }
.avert { border-radius: 0 !important; border: 4px solid #000 !important; box-shadow: 0 0 0 3px var(--rouge-da) !important; background: #1a0808 !important; }
.total b { font-family: var(--titre-da) !important; color: var(--jaune-da) !important; }

/* ---- boutons : autocollants penchés ---- */
.btn {
  font-family: var(--titre-da) !important; font-weight: 400 !important; text-transform: uppercase; letter-spacing: .02em;
  border-radius: 0 !important; border: 4px solid #fff !important; background: #000 !important; color: #fff !important;
  transform: skewX(-7deg); box-shadow: .35vw .45vh 0 var(--accent) !important; text-decoration: none;
}
.btn:hover { background: #fff !important; color: #000 !important; }
.btn.plein { background: linear-gradient(#FFF36B, #FFB52E) !important; color: #000 !important; border-color: #000 !important; box-shadow: .35vw .45vh 0 #000 !important; }
.btn.danger { border-color: var(--rouge-da) !important; color: var(--rouge-da) !important; box-shadow: .35vw .45vh 0 #000 !important; }
.btn.danger:hover { background: var(--rouge-da) !important; color: #000 !important; }

/* ---- champs ---- */
input[type=text], input[type=password], select {
  background: #fff !important; color: #111 !important; border: 4px solid #000 !important; border-radius: 0 !important;
  box-shadow: 0 0 0 3px var(--jaune-da) !important; font-family: var(--texte-da) !important; font-weight: 500;
}
label { font-family: var(--titre-da) !important; color: var(--accent) !important; letter-spacing: .03em !important; }

/* ---- LE CODE À DICTER : ce qui compte le plus sur la page ---- */
.code-sortie .v, .resultat .code, #le-code {
  font-family: var(--titre-da) !important; color: var(--jaune-da) !important; letter-spacing: .14em !important;
  text-shadow: 0 .5vh 0 #000;
}

/* ---- la vue mur de maitre.html ---- */
.mur .marque { font-family: var(--titre-da) !important; text-transform: uppercase; }
.mur .code { font-family: var(--titre-da) !important; color: var(--jaune-da) !important; text-shadow: 0 .5vh 0 #000 !important; }
.jauge-chiffres .gros { font-family: var(--titre-da) !important; color: var(--jaune-da) !important; }
.barre-fond { border-radius: 0 !important; border: 4px solid #fff !important; background: #000 !important; transform: skewX(-7deg); height: 3vh !important; }
.barre-plein { background: linear-gradient(90deg, var(--accent), var(--jaune-da)) !important; }
.postes li, .journal li { font-family: var(--texte-da) !important; }
.postes .pts { font-family: var(--titre-da) !important; color: var(--jaune-da) !important; }
.joueur .pt, .point { border-radius: 0 !important; transform: rotate(45deg); }
