*, *::before, *::after { box-sizing: border-box; }

::view-transition-old(root) { animation: fondu-sortie 90ms linear both; }
::view-transition-new(root) { animation: fondu-entree 140ms var(--courbe) both; }

@keyframes fondu-sortie { to { opacity: 0; } }
@keyframes fondu-entree { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation-duration: 1ms; }
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--nuit);
  color: var(--craie);
  font: 400 15px/1.5 var(--police-texte);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--neon); outline-offset: 2px; }

.affiche {
  font-family: var(--police-affiche);
  font-style: italic;
  font-weight: 900;
  font-stretch: 150%;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: .95;
}

.etiquette {
  font-family: var(--police-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brume);
}

.chiffre {
  font-family: var(--police-affiche);
  font-style: italic;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.025em;
  line-height: 1;
}

.chrome {
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.discret { color: var(--brume); }
.etoiles { color: var(--etoile); }

.lecteur-seul {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}
