/* runner.css — Runner de Noël v2 (vu de face, 3 voies, portrait) */
.runner { position: absolute; inset: 0; background: #060c22; overflow: hidden; padding-bottom: env(safe-area-inset-bottom); }
.runner__canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: pointer; }
.runner__aide {
  position: absolute; left: 16px; right: 16px; top: 30%; margin: 0; text-align: center; pointer-events: none;
  font-family: var(--police-titre); font-weight: 700; font-size: 16px; line-height: 1.35; color: var(--encre); background: rgba(255,255,255,.93); border-radius: 14px; padding: 10px 14px; transition: opacity .3s ease; box-shadow: var(--ombre);
}
.runner__aide--cachee { opacity: 0; }
.runner__niveau {
  position: absolute; left: 50%; top: 22%; transform: translateX(-50%); z-index: 3; pointer-events: none; white-space: nowrap;
  font-family: var(--police-titre); font-weight: 800; font-size: clamp(26px, 8vw, 38px); color: #fff; background: #c8102e; padding: 8px 22px; border-radius: 999px; box-shadow: 0 5px 0 #7a0a1c, 0 10px 24px rgba(0,0,0,.4);
}
.runner__niveau--pop { animation: mc-pop .4s cubic-bezier(.2, 1.4, .4, 1); }
.runner__fin {
  position: absolute; left: 16px; right: 16px; top: 38%; z-index: 4; text-align: center; pointer-events: none;
  font-family: var(--police-titre); font-weight: 800; font-size: clamp(22px, 7vw, 32px); color: var(--primaire); background: rgba(255,255,255,.95); border-radius: var(--rayon); padding: 16px; box-shadow: var(--ombre);
  animation: mc-pop .35s cubic-bezier(.2, 1.4, .4, 1);
}
.runner__fin[hidden], .runner__niveau[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .runner__fin, .runner__niveau--pop { animation: none; } }
