/* V-KORP — polices et couleurs communes à tout le site */

@font-face { font-family: "VKORP"; src: url("../fonts/vkorp.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "RobotoVK"; src: url("../fonts/roboto-black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "RobotoVK"; src: url("../fonts/roboto-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* fonds */
  --ink: #070709;
  --ink-2: #0e0e12;
  --panel: #121216;
  --panel-2: #18181e;
  --line: #24242c;
  --line-2: #33333d;

  /* textes */
  --text: #f2f2f5;
  --text-soft: #c9c9d3;
  --muted: #9a9aa8;
  --dim: #5e5e6a;

  /* couleurs V-KORP (reprises des bots) */
  --violet: #711eff;
  --violet-2: #8c4dff;
  --gold: #fdce00;
  --red: #ec0c12;
  --red-2: #ff1f3d;
  --blue: #3d74ff;
  --green: #41bc55;
  --online: #33e070;
  --pink: #ff3d9a;
  --orange: #ff8a00;
  --kaki: #a2ab51;
  --cyan: #4dc2ff;

  --accent: var(--violet-2);

  /* couleur de chaque jeu sur ses pages et dans le menu (titres soulignés, « // », barres du classement…).
     Nom : --game- suivi de l'id du jeu dans config.js. Sans ligne ici, c'est la couleur « color » de config.js qui sert. */
  --game-7dtd: #e5202e;

  /* polices */
  --f-body: "RobotoVK", system-ui, sans-serif;
  --f-head: "RobotoVK", system-ui, sans-serif;
  --f-logo: "VKORP", "RobotoVK", sans-serif;

  --wrap: 1240px;
  --radius: 12px;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; } /* le menu mobile rangé hors écran ne crée pas de défilement horizontal */
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--f-body); font-weight: 700; font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--violet); color: #fff; }
