/* ZigZu web journey: shared look. Every value copied from the app (lib/core/app_colors.dart, app_theme.dart). */
@font-face { font-family: 'Baloo 2'; src: url(assets/fonts/Baloo2-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Baloo 2'; src: url(assets/fonts/Baloo2-Bold.woff2) format('woff2'); font-weight: 600 700; font-display: swap; }
@font-face { font-family: 'Baloo 2'; src: url(assets/fonts/Baloo2-ExtraBold.woff2) format('woff2'); font-weight: 800 900; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url(assets/fonts/DMSans-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url(assets/fonts/DMSans-Medium.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url(assets/fonts/DMSans-SemiBold.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url(assets/fonts/DMSans-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url(assets/fonts/DMSans-ExtraBold.woff2) format('woff2'); font-weight: 800 900; font-display: swap; }
@font-face { font-family: 'Lexend Deca'; src: url(assets/fonts/LexendDeca-Regular.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url(assets/fonts/Nunito-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url(assets/fonts/Nunito-SemiBold.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url(assets/fonts/Nunito-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url(assets/fonts/Nunito-ExtraBold.woff2) format('woff2'); font-weight: 800 900; font-display: swap; }

:root {
  --bgScreen: #FAFAF6; --cream: #FDF6E3; --creamCard: #FFF9F0; --creamStripe: #F7E8C4; --white: #FFFFFF;
  --teal: #14B8A6; --tealDark: #0D9488; --tealDeep: #0F4F47; --brandLight: #CCFBF1; --freeGreen: #047857;
  --amber: #F59E0B; --amberDeep: #D97706; --amberGlow: rgba(245,158,11,.22);
  --chestnut: #8B4513; --chestnutMid: #A0522D; --peach: #FAD4B8;
  --bubbleBg: #FFEDC2; --bubbleBorder: #F5C86B; --bubbleInk: #7A4E00;
  --ink: #2C1810; --inkMid: #6B4A38; --inkMuted: #856248;
  --jade: #10B981; --jadeBg: #ECFDF5; --redSoft: #DC2626;
  --teachingOverlay: rgba(15,79,71,.80);
  --shadowCard: rgba(139,69,19,.10); --shadowElevated: rgba(139,69,19,.16); --shadowTeaching: rgba(15,79,71,.35); --shadowAmber: rgba(245,158,11,.35);
  --textHighlight: #FFBF69;
  --baloo: 'Baloo 2', system-ui, sans-serif; --dm: 'DM Sans', system-ui, sans-serif; --lexend: 'Lexend Deca', system-ui, sans-serif; --nunito: 'Nunito', system-ui, sans-serif;
  color-scheme: light; /* the app has no dark mode */
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body { background: var(--bgScreen); color: var(--ink); font-family: var(--dm); -webkit-font-smoothing: antialiased; overscroll-behavior: none; }
/* Phone-width column on a laptop, like the app on a phone. */
.zz-phone { max-width: 480px; margin: 0 auto; min-height: 100dvh; position: relative; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
.hidden { display: none !important; }

/* The app is portrait-locked on phones (main.dart). A browser can't lock, so a phone held sideways gets this card.
   Not while typing: Android's keyboard (interactive-widget=resizes-content) shrinks an upright page to "landscape". */
@media (orientation: landscape) and (max-height: 500px) {
  body:not(:has(input:focus, textarea:focus))::after {
    content: 'Turn your phone upright to use ZigZu';
    position: fixed; inset: 0; z-index: 2147483647; display: flex; align-items: center; justify-content: center;
    padding: 24px; text-align: center; background: var(--bgScreen); color: var(--ink);
    font: 800 24px/1.2 var(--baloo);
  }
  body:not(:has(input:focus, textarea:focus)) { overflow: hidden; }
}
