/* Fichier généré par app/scripts/prepare-assets.ts depuis data/themes.json : ne pas modifier à la main. */
html, body { margin: 0; }
html[data-theme='velo_route'] { background: #F6F6F4; color: #151515; }
html[data-theme='vtt'] { background: #EFEBE3; color: #1E1A14; }
html[data-theme='nature'] { background: #F1F6EE; color: #1C2A1E; }
html[data-theme='montagne'] { background: #EEF2F6; color: #16202B; }
html[data-theme='retrogaming'] { background: #1A1C2C; color: #F4F4F4; }
html[data-theme='city'] { background: #0F1724; color: #EEF2F8; }
#splash {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  background: inherit; color: inherit;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
#splash.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
#splash .splash-logo { width: min(52vw, 220px); height: auto; }
#splash .splash-logo--blanc { display: none; }
html[data-logo='blanc'] #splash .splash-logo--noir { display: none; }
html[data-logo='blanc'] #splash .splash-logo--blanc { display: block; }
#splash .splash-spinner {
  width: 34px; height: 34px; background: currentColor; opacity: 0.85;
  -webkit-mask: url('/chainring.svg') center / contain no-repeat;
  mask: url('/chainring.svg') center / contain no-repeat;
  animation: braquet-spin 1.4s linear infinite;
}
@keyframes braquet-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  #splash, #splash .splash-spinner { transition: none; animation: none; }
}
