*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes confetti {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* ExplainGuide — guaranteed-visible target highlight. Defined here (not
 * Tailwind utilities) so it works with the browser-side Tailwind CDN and is
 * never purged at build time. */
.explain-target-highlight {
  outline: 3px solid #3b82f6 !important;
  outline-offset: 2px !important;
  border-radius: 8px;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25);
  transition: box-shadow 0.2s ease;
}