/* ============================================================
   BASE — Reset y estilos fundamentales
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.5;
}

/* ── Vistas: solo la activa es visible ── */
.view {
  display: none;
}
.view.active {
  display: flex;
}

/* ── Canvas confetti ── */
#confetti-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
}

/* ── Scrollbar personalizado (detalle) ── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--border-light);
}
::-webkit-scrollbar-thumb {
  background: var(--bb-bronze);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--bb-bronze-dark);
}
