/* ============================================================
   Shared Styles — cross-page components consumed by multiple
   views. Single source of truth for:

   - Transition overlay (was duplicated in welcome.css + home.css)
   - Theme toggle (positioned consistently across pages)

   Note: .chat-message / .chat-bubble / .chat-typing / .chat-pause
   classes currently live in welcome.css but are consumed by both
   Welcome and Home views. They'll move here in a follow-up.
   ============================================================ */

/* === Transition Overlay (Welcome → Home) ===
   Originally defined twice: welcome.css (z-index:50) and
   home.css (z-index:100). Consolidated here with the correct
   higher z-index so it always renders above both views. */

.transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-bg-deep);
  z-index: 100;
  display: none;
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out);
}

.transition-overlay--active {
  display: flex;
  opacity: 1;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-6);
}

.transition-text {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  animation: fadeIn var(--duration-slow) var(--ease-out) forwards;
}
