/*! © Arnaud Ricci. Tous droits réservés. */
html, body { margin: 0; height: 100%; overflow: hidden; background: #06080c; color: #e8e4da;
  font: 14px/1.35 system-ui, -apple-system, "Segoe UI", sans-serif; }
html { touch-action: pan-x pan-y; }
#scene { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
#barre { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  display: flex; gap: 12px; align-items: center; padding: 8px 14px; border-radius: 10px;
  background: rgba(10, 12, 16, 0.72); backdrop-filter: blur(6px); max-width: calc(100% - 32px); box-sizing: border-box; }
#barre .heure { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
#libelle-heure { font-variant-numeric: tabular-nums; white-space: nowrap; }
#heure { width: min(360px, 52vw); accent-color: #c9a35a; }
#qualite { background: #161a21; color: inherit; border: 1px solid #333a44; border-radius: 6px; padding: 4px 6px; }
#perf { position: fixed; left: 10px; top: calc(10px + env(safe-area-inset-top, 0px)); margin: 0; padding: 6px 8px;
  background: rgba(0, 0, 0, 0.6); font: 12px/1.3 ui-monospace, monospace; border-radius: 6px; pointer-events: none; }
#perte { display: none; position: fixed; inset: 40% 10% auto; text-align: center; }
body.perdu #perte { display: block; }
@media (max-width: 560px) { #barre { flex-wrap: wrap; justify-content: center; } }
