/* (reprendre tout le CSS de la version précédente — inchangé) */

/* Onboarding */
.onboarding {
  display: none;
  position: fixed; inset: 0; z-index: 500;
  background: linear-gradient(135deg, #1a0f0a 0%, #2c1810 100%);
  color: var(--parchemin);
  padding: 40px 24px;
  flex-direction: column;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.onboarding.active { display: flex; }
.onboarding-slide {
  display: none;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
}
.onboarding-slide.active { display: flex; animation: fadeIn 0.4s ease; }
.onboarding-icon { font-size: 4rem; }
.onboarding-slide h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  color: var(--or-brille);
  letter-spacing: 2px;
}
.onboarding-slide p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 340px;
  color: rgba(244,228,193,0.9);
}
.onboarding-slide ul {
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.8;
  list-style: none;
}
.onboarding-slide li { margin: 4px 0; }
.onboarding-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(201,162,39,0.3);
}
.onboarding-dots { display: flex; gap: 8px; }
.onboarding-dots .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(201,162,39,0.3);
  transition: var(--transition);
}
.onboarding-dots .dot.active { background: var(--or-brille); width: 24px; border-radius: 4px; }
.onboarding-buttons { display: flex; gap: 12px; }
.btn-ghost {
  background: transparent; border-color: rgba(244,228,193,0.3);
  color: rgba(244,228,193,0.7);
}

/* Debug */
.debug-panel {
  display: none;
  position: fixed; bottom: 90px; left: 8px; right: 8px;
  max-height: 200px; overflow-y: auto;
  background: rgba(0,0,0,0.9); color: #0f0;
  font-family: monospace; font-size: 10px;
  padding: 8px; border-radius: 4px;
  z-index: 150;
}
.debug-line { padding: 1px 0; }
.debug-time { color: #888; }
.debug-cat { color: #ff0; }