:root {
  --noir: #070707;
  --carte: #141414;
  --rouge: #e10600;
  --rouge-fonce: #8c0a0a;
  --vert: #a8b81e;
  --blanc: #f5f5f5;
  --gris: #9a9a9a;
  --titre: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --texte: "Inter", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: radial-gradient(ellipse at 50% 60%, #2a0505 0%, var(--noir) 60%) fixed, var(--noir);
  color: var(--blanc); font-family: var(--texte); overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
h1, .titre { font-family: var(--titre); text-transform: uppercase; letter-spacing: .01em; line-height: .95; font-weight: 400; }
.vert { color: var(--vert); }
.rouge { color: var(--rouge); }
.gris { color: var(--gris); }
.cache { display: none !important; }
button { font: inherit; cursor: pointer; border: 0; }

/* Le bouton de l'affiche : brillant, enfoncé quand on appuie. */
.bouton-rouge {
  position: relative; border-radius: 50%; aspect-ratio: 1;
  background: radial-gradient(circle at 38% 30%, #ff8a80 0%, #ff1a0d 18%, #c80000 55%, #6b0000 100%);
  box-shadow: 0 0 0 .5em #1b1b1b, 0 0 0 .8em #3a3a3a, 0 1.2em 0 .8em #0d0d0d, 0 0 4em 1.2em rgba(225, 6, 0, .55);
  transition: transform .08s, box-shadow .08s;
}
.bouton-rouge::after {
  content: ""; position: absolute; left: 22%; top: 12%; width: 40%; height: 22%;
  border-radius: 50%; background: rgba(255, 255, 255, .35); filter: blur(4px);
}
.bouton-rouge.enfonce, .bouton-rouge:active {
  transform: translateY(.6em) scale(.97);
  box-shadow: 0 0 0 .5em #1b1b1b, 0 0 0 .8em #3a3a3a, 0 .4em 0 .8em #0d0d0d, 0 0 6em 2em rgba(225, 6, 0, .8);
}
.pulse { animation: pulse 1.1s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { filter: brightness(1); } 15% { filter: brightness(1.35); } 30% { filter: brightness(1); } 45% { filter: brightness(1.2); } }

.barre-temps { height: 10px; background: #222; border-radius: 99px; overflow: hidden; }
.barre-temps > i { display: block; height: 100%; background: var(--rouge); width: 100%; transition: width .25s linear; }

.bandeau { background: linear-gradient(90deg, var(--rouge-fonce), #b00000, var(--rouge-fonce)); }
.apparait { animation: apparait .45s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes apparait { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.reseau { position: fixed; bottom: 8px; right: 10px; font-size: 12px; color: var(--gris); }
.reseau.ko { color: var(--rouge); font-weight: 700; }
