/* =========================================================
   Smiles2Serve — Design System
   Elegant • minimal • light • neutral
   Turquoise → green → yellow (logo colors) · Fraunces + Inter
   ========================================================= */

:root {
  --bg: #fafbf9;
  --bg-alt: #f1f4ee;
  --surface: #ffffff;
  --surface-soft: #f5f8f4;

  --primary: #1fa9a0;       /* turquoise */
  --primary-dark: #147d76;
  --primary-soft: #ddf1ee;
  --primary-tint: #edf7f5;

  --green: #6cbf78;         /* logo green (gradient midpoint) */

  --accent: #e2b33c;        /* warm logo yellow */
  --accent-dark: #c2952a;
  --accent-soft: #faf1d8;

  --text: #22302e;          /* deep teal ink */
  --text-muted: #5c6b68;
  --text-soft: #8a9793;
  --border: #e3e9e3;
  --border-strong: #d2dcd3;

  --gold: #e2b33c;

  --danger: #c46a63;
  --danger-soft: #f7e9e7;
  --success: #1fa9a0;
  --success-soft: #ddf1ee;

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 3px rgba(24, 42, 40, 0.05);
  --shadow-sm: 0 4px 16px rgba(24, 42, 40, 0.06);
  --shadow-md: 0 12px 32px rgba(24, 42, 40, 0.09);
  --shadow-lg: 0 24px 60px rgba(24, 42, 40, 0.13);

  --container: 1200px;
  --container-narrow: 900px;
  --nav-h: 76px;

  --font-heading: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--text);
  font-optical-sizing: auto;
}

p { margin: 0 0 1.1em; color: var(--text-muted); }
a { color: var(--primary-dark); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--primary); }
img { max-width: 100%; display: block; }
strong { color: var(--text); font-weight: 600; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 28px; }

.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.section-soft { background: var(--surface-soft); }
.section-primary { background: var(--primary-tint); }

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 16px;
}
.eyebrow.accent { color: var(--accent-dark); }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
.lead { font-size: 1.15rem; color: var(--text-muted); line-height: 1.7; }
.muted { color: var(--text-soft); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  text-decoration: none;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: var(--shadow-md); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-accent:hover { background: var(--accent-dark); box-shadow: var(--shadow-md); color: #fff; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-dark); background: var(--primary-tint); }
.btn-ghost { background: rgba(255,255,255,0.7); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: #fff; color: var(--primary-dark); }
.btn-light { background: #fff; color: var(--primary-dark); }
.btn-light:hover { background: var(--surface-soft); color: var(--primary-dark); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #a9564f; color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none !important; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: 50%; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(250, 251, 249, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 28px; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(140deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.15rem; flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-heading); font-weight: 600; font-size: 1.28rem;
  color: var(--text); letter-spacing: -0.01em;
}
.brand-name b { color: var(--primary-dark); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative;
  color: var(--text); font-weight: 500; font-size: 0.92rem;
  padding: 9px 13px; border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px;
  background: var(--primary); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.28s var(--ease);
}
.nav-links a:hover { color: var(--primary-dark); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--primary-dark); font-weight: 600; }
.nav-links a.active::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 3px; }
.lang-switch button {
  border: none; background: transparent; font-family: var(--font-body);
  font-weight: 600; font-size: 0.76rem; letter-spacing: 0.04em;
  padding: 7px 12px; border-radius: var(--radius-pill); cursor: pointer;
  color: var(--text-soft); transition: all 0.22s var(--ease);
}
.lang-switch button.active { background: var(--primary); color: #fff; }

.nav-toggle {
  display: none; border: 1px solid var(--border); background: var(--surface);
  border-radius: 10px; width: 42px; height: 42px; cursor: pointer;
  align-items: center; justify-content: center; font-size: 1.1rem;
}
.mobile-panel {
  display: none; flex-direction: column;
  padding: 10px 28px 22px; background: var(--surface); border-bottom: 1px solid var(--border);
}
.mobile-panel a {
  padding: 13px 6px; font-weight: 500; color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-panel a.active { color: var(--primary-dark); font-weight: 600; }
.mobile-panel.open { display: flex; }

@media (max-width: 1040px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 92px 0 76px; background: linear-gradient(180deg, var(--primary-tint) 0%, var(--bg) 68%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { max-width: 540px; margin-bottom: 30px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px; background: var(--surface);
  border: 1px solid var(--border); padding: 8px 16px; border-radius: var(--radius-pill);
  font-size: 0.8rem; font-weight: 600; color: var(--primary-dark); box-shadow: var(--shadow-xs);
  margin-bottom: 22px; letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-media { order: -1; }
}

/* Split section (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
@media (max-width: 860px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media { order: 0; }
}

/* ---------- Image placeholder (swap for real photos later) ---------- */
.img-ph {
  position: relative; width: 100%; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(150deg, var(--primary-soft), var(--accent-soft));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 32px; color: var(--primary-dark);
  border: 1px solid var(--border); min-height: 260px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.img-ph .ph-icon { font-size: 2.8rem; margin-bottom: 12px; opacity: 0.9; }
.img-ph .ph-label { font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.02em; }
.img-ph .ph-hint { font-size: 0.76rem; color: var(--text-soft); margin-top: 6px; max-width: 240px; }
.img-ph.tall { min-height: 440px; }
.img-ph.book { background: linear-gradient(150deg, #eef3f1, #f6ece1); aspect-ratio: 3/4; min-height: 0; }
.img-ph.wide { aspect-ratio: 16/9; min-height: 0; }
.img-ph.round { border-radius: 50%; aspect-ratio: 1; min-height: 0; max-width: 220px; }
.img-ph.shadow { box-shadow: var(--shadow-md); }
/* real image drop-in */
.img-real { width: 100%; border-radius: var(--radius-lg); object-fit: cover; box-shadow: var(--shadow-md); }
.hover-zoom { overflow: hidden; }
.hover-zoom img, .hover-zoom .img-ph { transition: transform 0.5s var(--ease); }
.hover-zoom:hover img, .hover-zoom:hover .img-ph { transform: scale(1.04); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border-radius: var(--radius-lg); padding: 32px;
  border: 1px solid var(--border); box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary-soft); }
.card .icon-badge {
  width: 56px; height: 56px; border-radius: 15px; display: flex; align-items: center;
  justify-content: center; font-size: 1.6rem; margin-bottom: 20px;
  background: var(--primary-soft); color: var(--primary-dark);
}
.card .icon-badge.accent { background: var(--accent-soft); color: var(--accent-dark); }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { font-size: 0.96rem; margin-bottom: 0; }

.pill { display: inline-block; font-family: var(--font-body); font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; padding: 5px 12px; border-radius: var(--radius-pill);
  background: var(--primary-soft); color: var(--primary-dark); margin-bottom: 14px; }
.pill.accent { background: var(--accent-soft); color: var(--accent-dark); }

/* ---------- Stats ---------- */
.stat { text-align: center; padding: 24px 16px; }
.stat-num { font-family: var(--font-heading); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; color: var(--primary-dark); line-height: 1; }
.stat-label { font-size: 0.92rem; font-weight: 500; color: var(--text-muted); margin-top: 10px; }
.stat-card { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-xs); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stat-card .ph-icon { font-size: 1.8rem; margin-bottom: 6px; }

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--surface); border-radius: var(--radius-lg); padding: 34px; border: 1px solid var(--border);
  box-shadow: var(--shadow-xs); position: relative; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.quote-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.quote-mark { font-family: var(--font-heading); font-size: 3.4rem; line-height: 0.6; color: var(--accent); opacity: 0.5; }
.quote-text { font-size: 1.05rem; color: var(--text); font-style: italic; margin: 8px 0 18px; }
.quote-author { display: flex; align-items: center; gap: 12px; }
.quote-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary-soft); display: flex; align-items: center; justify-content: center; color: var(--primary-dark); font-weight: 600; flex-shrink: 0; }
.quote-name { font-weight: 600; color: var(--text); font-size: 0.92rem; }
.quote-role { font-size: 0.82rem; color: var(--text-soft); }

/* ---------- Accordion (Learning Hub + FAQ) ---------- */
.accordion { display: flex; flex-direction: column; gap: 16px; }
.acc-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.acc-item.open { box-shadow: var(--shadow-sm); border-color: var(--primary-soft); }
.acc-head {
  width: 100%; text-align: left; background: transparent; border: none; cursor: pointer;
  padding: 22px 26px; display: flex; align-items: center; gap: 16px;
  font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; color: var(--text);
  transition: background 0.25s var(--ease);
}
.acc-head:hover { background: var(--surface-soft); }
.acc-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--primary-soft); color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.acc-item:nth-child(even) .acc-icon { background: var(--accent-soft); color: var(--accent-dark); }
.acc-title { flex: 1; }
.acc-title small { display: block; font-weight: 400; font-size: 0.82rem; color: var(--text-soft); margin-top: 2px; }
.acc-chevron { color: var(--text-soft); transition: transform 0.3s var(--ease); font-size: 0.9rem; }
.acc-item.open .acc-chevron { transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.acc-body-inner { padding: 4px 26px 26px 88px; }
@media (max-width: 620px) { .acc-body-inner { padding: 4px 22px 24px; } }
.acc-body h4 { font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; color: var(--primary-dark); margin: 18px 0 8px; }
.acc-body h4:first-child { margin-top: 0; }
.acc-body ul { margin: 0 0 6px; padding-left: 20px; }
.acc-body li { color: var(--text-muted); margin-bottom: 6px; font-size: 0.96rem; }
.acc-body p { font-size: 0.96rem; }

/* Learning hub category cards (before opening) */
.hub-card { cursor: pointer; }
.hub-card .icon-badge { transition: transform 0.35s var(--ease); }
.hub-card:hover .icon-badge { transform: scale(1.08) rotate(-4deg); }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 940px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--accent), var(--green), var(--primary)); transform: translateX(-50%); }
.tl-item { position: relative; width: 50%; padding: 0 46px 44px 0; }
.tl-item:nth-child(even) { left: 50%; padding: 0 0 44px 46px; }
.tl-dot { position: absolute; top: 8px; right: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 3px solid var(--primary); z-index: 2; }
.tl-item:nth-child(even) .tl-dot { right: auto; left: -9px; }
.tl-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-xs); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.tl-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tl-date { font-family: var(--font-body); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 6px; }
.tl-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.tl-card p { font-size: 0.95rem; margin-bottom: 0; }
.tl-card .img-ph { margin-top: 16px; min-height: 150px; }
.tl-card img.img-real { margin-top: 16px; border-radius: var(--radius-md); max-height: 260px; object-fit: cover; width: 100%; }
@media (max-width: 760px) {
  .timeline::before { left: 9px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; left: 0; padding: 0 0 32px 40px; }
  .tl-dot, .tl-item:nth-child(even) .tl-dot { left: 1px; right: auto; }
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery-item { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1; position: relative; cursor: pointer; }
.gallery-item .img-ph { min-height: 0; height: 100%; border-radius: 0; }
.gallery-item img.img-real { width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; }
.gallery-item .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; background: linear-gradient(180deg, transparent, rgba(24,42,40,0.7)); color: #fff; font-size: 0.82rem; font-weight: 500; opacity: 0; transform: translateY(8px); transition: all 0.3s var(--ease); }
.gallery-item:hover .cap { opacity: 1; transform: translateY(0); }

/* ---------- Map ---------- */
.map-frame { position: relative; z-index: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: linear-gradient(150deg, #f2f9f7, var(--surface)); aspect-ratio: 400 / 230; max-width: 780px; margin: 0 auto; box-shadow: var(--shadow-sm); }
.map-inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; color: var(--primary-dark); text-align: center; padding: 24px; }
.map-pin { position: absolute; transform: translate(-50%, -100%); cursor: pointer; }
.map-pin .pin-dot { width: 20px; height: 20px; border-radius: 50% 50% 50% 0; background: var(--accent); transform: rotate(-45deg); border: 2px solid #fff; box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease); }
.map-pin:hover .pin-dot { transform: rotate(-45deg) scale(1.25); }
.map-pin .pin-label { position: absolute; left: 50%; top: -34px; transform: translateX(-50%); background: var(--surface); border: 1px solid var(--border); padding: 4px 10px; border-radius: var(--radius-pill); font-size: 0.72rem; font-weight: 600; white-space: nowrap; opacity: 0; transition: opacity 0.25s var(--ease); box-shadow: var(--shadow-sm); }
.map-pin:hover .pin-label { opacity: 1; }
.map-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.map-legend .chip { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 7px 15px; font-size: 0.85rem; font-weight: 500; color: var(--text); display: inline-flex; align-items: center; gap: 7px; }
.map-legend .chip::before { content: '📍'; font-size: 0.85rem; }

/* ---------- Fun facts rotator ---------- */
.facts-stage { position: relative; max-width: 640px; margin: 0 auto; min-height: 200px; }
.fact-card { position: absolute; inset: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; text-align: center; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transform: translateY(14px) scale(0.98); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); pointer-events: none; }
.fact-card.active { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; position: relative; }
.fact-emoji { font-size: 2.8rem; margin-bottom: 14px; }
.fact-text { font-family: var(--font-heading); font-size: 1.25rem; color: var(--text); line-height: 1.4; }
.facts-dots { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.facts-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--border-strong); cursor: pointer; padding: 0; transition: all 0.25s var(--ease); }
.facts-dots button.active { background: var(--primary); width: 26px; border-radius: var(--radius-pill); }

/* ---------- Game (embedded on Interact) ---------- */
.game-embed { max-width: 620px; margin: 0 auto; }
.game-progress-track { height: 8px; background: var(--bg-alt); border-radius: var(--radius-pill); overflow: hidden; margin-bottom: 10px; }
.game-progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--green), var(--accent)); border-radius: var(--radius-pill); transition: width 0.5s var(--ease); width: 0; }
.game-meta { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 22px; }
.game-score { color: var(--primary-dark); }
.food-card { background: var(--surface); border-radius: var(--radius-lg); padding: 52px 32px; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--border); margin-bottom: 22px; }
.food-emoji { font-size: 5rem; margin-bottom: 14px; }
.food-name { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 600; }
.food-card.shake { animation: shake 0.45s var(--ease); }
.food-card.pop { animation: pop 0.5s var(--ease); }
@keyframes shake { 0%,100%{transform:translateX(0)} 20%{transform:translateX(-9px)} 40%{transform:translateX(9px)} 60%{transform:translateX(-5px)} 80%{transform:translateX(5px)} }
@keyframes pop { 0%{transform:scale(1)} 45%{transform:scale(1.05)} 100%{transform:scale(1)} }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .choice-row { grid-template-columns: 1fr; } }
.choice-btn { padding: 22px; border-radius: var(--radius-md); border: 1.5px solid var(--border); background: var(--surface); font-family: var(--font-body); font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.22s var(--ease); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.choice-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.choice-btn.risk:hover { border-color: var(--danger); background: var(--danger-soft); }
.choice-btn.healthy:hover { border-color: var(--primary); background: var(--primary-soft); }
.choice-btn[disabled] { cursor: default; transform: none; }
.feedback-box { border-radius: var(--radius-md); padding: 24px 26px; margin-top: 20px; display: none; }
.feedback-box.show { display: block; animation: pop 0.45s var(--ease); }
.feedback-box.correct { background: var(--success-soft); border: 1.5px solid var(--primary); }
.feedback-box.incorrect { background: var(--danger-soft); border: 1.5px solid var(--danger); }
.feedback-title { font-family: var(--font-heading); font-weight: 600; font-size: 1.15rem; margin-bottom: 6px; }
.feedback-box.correct .feedback-title { color: var(--primary-dark); }
.feedback-box.incorrect .feedback-title { color: var(--danger); }
.feedback-text { color: var(--text); font-size: 0.95rem; margin-bottom: 0; }
.results-card { text-align: center; background: var(--surface); border-radius: var(--radius-lg); padding: 52px 32px; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.results-emoji { font-size: 4.5rem; margin-bottom: 10px; }
.results-score { font-family: var(--font-heading); font-size: 3rem; font-weight: 600; color: var(--primary-dark); }
.results-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Banner / CTA ---------- */
.banner {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  background: linear-gradient(120deg, var(--primary), var(--primary-dark)); color: #fff;
  padding: 64px 52px; text-align: center;
}
.banner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.banner p { color: rgba(255,255,255,0.9); max-width: 620px; margin: 0 auto 26px; }
.banner .btn-row { justify-content: center; }
.banner.accent { background: linear-gradient(120deg, var(--accent), var(--accent-dark)); }
.banner.image-ready { background: linear-gradient(120deg, rgba(20,125,118,0.92), rgba(20,125,118,0.75)), linear-gradient(150deg, var(--primary-soft), var(--accent-soft)); }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { background: linear-gradient(180deg, var(--primary-tint), var(--bg)); padding: 68px 0 52px; text-align: center; }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { max-width: 660px; margin: 0 auto; }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.86rem; margin-bottom: 7px; color: var(--text); }
.field .req { color: var(--accent-dark); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  font-family: var(--font-body); font-size: 0.96rem; background: var(--surface); color: var(--text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-tint); }
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.check-row { display: flex; flex-wrap: wrap; gap: 12px; }
.check-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-pill); cursor: pointer; font-size: 0.9rem; transition: all 0.2s var(--ease); user-select: none; }
.check-pill:hover { border-color: var(--primary); }
.check-pill input { width: auto; }
.check-pill.checked { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-dark); font-weight: 600; }

.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
@media (max-width: 560px) { .form-card { padding: 26px; } }

.alert { padding: 13px 17px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500; margin-bottom: 16px; display: none; }
.alert.show { display: block; }
.alert-error { background: var(--danger-soft); color: #a9564f; }
.alert-success { background: var(--success-soft); color: var(--primary-dark); }
.alert-info { background: var(--accent-soft); color: var(--accent-dark); }

/* ---------- Auth ---------- */
.auth-shell { min-height: calc(100vh - var(--nav-h)); display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: linear-gradient(180deg, var(--primary-tint), var(--bg)); }
.auth-card { background: var(--surface); border-radius: var(--radius-lg); padding: 44px; max-width: 430px; width: 100%; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.auth-card .brand { justify-content: center; margin-bottom: 10px; }
.auth-sub { text-align: center; margin-bottom: 30px; }

/* ---------- Dashboard ---------- */
.dash-shell { display: grid; grid-template-columns: 250px 1fr; min-height: calc(100vh - var(--nav-h)); }
.dash-sidebar { background: var(--surface); border-right: 1px solid var(--border); padding: 28px 16px; }
.dash-sidebar h4 { font-family: var(--font-body); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-soft); padding: 0 12px; margin: 18px 0 10px; }
.dash-sidebar h4:first-child { margin-top: 0; }
.dash-tab { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; padding: 12px; border-radius: var(--radius-sm); border: none; background: transparent; font-family: var(--font-body); font-weight: 500; font-size: 0.92rem; color: var(--text); cursor: pointer; margin-bottom: 3px; transition: background 0.2s var(--ease); }
.dash-tab:hover { background: var(--surface-soft); }
.dash-tab.active { background: var(--primary); color: #fff; }
.dash-main { padding: 34px 42px; overflow-x: auto; background: var(--bg); }
.dash-panel { display: none; }
.dash-panel.active { display: block; animation: fadeIn 0.35s var(--ease); }
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) {
  .dash-shell { grid-template-columns: 1fr; }
  .dash-sidebar { display: flex; overflow-x: auto; gap: 4px; padding: 12px; border-right: none; border-bottom: 1px solid var(--border); }
  .dash-sidebar h4 { display: none; }
  .dash-tab { white-space: nowrap; width: auto; }
  .dash-main { padding: 24px 16px; }
}
.item-row { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 15px 18px; margin-bottom: 12px; transition: box-shadow 0.25s var(--ease); }
.item-row:hover { box-shadow: var(--shadow-sm); }
.item-row .item-icon { font-size: 1.5rem; width: 42px; text-align: center; flex-shrink: 0; }
.item-row .item-body { flex: 1; min-width: 0; }
.item-row .item-title { font-weight: 600; font-size: 0.95rem; }
.item-row .item-sub { font-size: 0.82rem; color: var(--text-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-row .item-actions { display: flex; gap: 6px; flex-shrink: 0; }
.item-order { display: flex; flex-direction: column; gap: 2px; flex-shrink: 0; }
.item-order button { border: none; background: var(--surface-soft); width: 26px; height: 22px; border-radius: 6px; cursor: pointer; font-size: 0.7rem; color: var(--text-muted); }
.item-order button:hover { background: var(--primary-soft); }
.badge-cat { display: inline-block; font-size: 0.68rem; font-weight: 700; padding: 3px 9px; border-radius: var(--radius-pill); margin-left: 6px; }
.badge-cat.risk { background: var(--danger-soft); color: var(--danger); }
.badge-cat.healthy { background: var(--success-soft); color: var(--primary-dark); }

.modal-backdrop { position: fixed; inset: 0; background: rgba(24,42,40,0.5); display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px; backdrop-filter: blur(3px); }
.modal-backdrop.show { display: flex; }
.modal { background: var(--surface); border-radius: var(--radius-lg); padding: 34px; max-width: 580px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); animation: fadeIn 0.3s var(--ease); }
.modal h3 { margin-bottom: 20px; }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; }
.confirm-modal { max-width: 420px; text-align: center; }

.empty-state { text-align: center; padding: 52px 24px; color: var(--text-soft); }
.empty-state .icon { font-size: 2.6rem; margin-bottom: 12px; }

.loading-spin { display: inline-block; width: 24px; height: 24px; border: 3px solid var(--primary-soft); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.site-footer { background: #1d2a28; color: #bcc9c5; padding: 56px 0 30px; margin-top: 0; }
.site-footer a { color: #d4dfda; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }
.footer-brand { font-family: var(--font-heading); font-weight: 600; color: #fff; font-size: 1.3rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.footer-col h5 { font-family: var(--font-body); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; color: #8a9793; margin: 0 0 14px; }
.footer-col a { display: block; padding: 5px 0; font-size: 0.92rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; font-size: 0.82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: #8a9793; }
.footer-admin { opacity: 0.5; font-size: 0.78rem; }

/* ---------- Utilities / animation ---------- */
.fade-in { animation: fadeIn 0.5s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

.config-banner { background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; font-size: 0.85rem; text-align: center; padding: 10px 16px; }

/* Game-only mode (?embed=1): hide everything but the game */
body.game-only #site-header, body.game-only #site-footer,
body.game-only .page-hero, body.game-only .section-head,
body.game-only main > section:not(:has(#gameContainer)) { display: none; }
body.game-only main > section { padding: 24px 0; }

/* ---------- Book reader ---------- */
.book-hero { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; }
@media (max-width: 780px) { .book-hero { grid-template-columns: 1fr; gap: 30px; justify-items: center; text-align: center; } .book-hero .btn-row { justify-content: center; } }
.book-cover { width: 100%; max-width: 320px; aspect-ratio: 3/4; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); overflow: hidden; }
.book-cover .img-ph { min-height: 0; height: 100%; border-radius: 0; }
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.pdf-frame { width: 100%; aspect-ratio: 3/4; max-height: 88vh; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-md); background: var(--surface); }
.reader-placeholder { background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); padding: 40px; text-align: center; }
.reader-placeholder .icon { font-size: 2.6rem; margin-bottom: 10px; }
.reader-placeholder code { background: var(--bg-alt); padding: 2px 7px; border-radius: 6px; font-size: 0.85em; color: var(--accent-dark); }
.content-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.content-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.content-card .c-icon { font-size: 1.8rem; margin-bottom: 10px; }
.content-card h4 { font-family: var(--font-heading); font-weight: 500; font-size: 1.02rem; margin-bottom: 4px; }
.content-card .c-es { font-size: 0.86rem; color: var(--text-soft); }
.content-card .tag-print { position: absolute; top: 14px; right: 14px; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: var(--accent-soft); color: var(--accent-dark); padding: 3px 8px; border-radius: var(--radius-pill); }

/* ---------- Smiley chatbot ---------- */
#s2sChat { position: fixed; right: 22px; bottom: 22px; z-index: 2000; font-family: var(--font-body); }

/* Launcher button */
#chatFab { width: 64px; height: 64px; border-radius: 50%; border: none; cursor: pointer; padding: 0;
  background: linear-gradient(140deg, var(--primary), var(--green)); position: relative;
  box-shadow: 0 10px 28px rgba(20,125,118,0.38);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
#chatFab:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 14px 34px rgba(20,125,118,0.48); }
#chatFab.hidden { display: none; }
#chatFab .fab-logo { width: 54px; height: 54px; border-radius: 50%; object-fit: cover;
  border: 2.5px solid rgba(255,255,255,0.85); background: #fff; }
#chatFab .fab-logo.is-emoji { display: flex; align-items: center; justify-content: center; font-size: 1.7rem; border: none; background: transparent; }
#chatFab .fab-hi { position: absolute; top: -5px; right: -5px; width: 26px; height: 26px; font-size: 0.85rem;
  background: var(--accent); border: 2px solid #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; }
#chatFab .fab-ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--primary);
  animation: fabPing 3.2s var(--ease) infinite; pointer-events: none; }
@keyframes fabPing {
  0%, 55% { transform: scale(1); opacity: 0.55; }
  85% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* Invite bubble */
#chatTeaser { position: absolute; right: 76px; bottom: 12px; background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 16px 16px 4px 16px; box-shadow: var(--shadow-md);
  padding: 11px 34px 11px 16px; font-size: 0.88rem; font-weight: 600; white-space: nowrap; cursor: pointer;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
#chatTeaser.show { opacity: 1; transform: none; pointer-events: auto; }
#chatTeaser button { position: absolute; top: 4px; right: 6px; border: none; background: transparent;
  color: var(--text-soft); font-size: 0.72rem; cursor: pointer; padding: 4px; }

/* Backdrop (mobile) */
#chatScrim { position: fixed; inset: 0; background: rgba(24,42,40,0.35); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease); }
@media (min-width: 521px) { #chatScrim { display: none; } }
#chatScrim.show { opacity: 1; pointer-events: auto; }

/* Panel */
#chatPanel { position: fixed; right: 22px; bottom: 22px; width: 384px; max-width: calc(100vw - 32px);
  height: 560px; max-height: calc(100vh - 90px); background: var(--surface); border-radius: 22px;
  box-shadow: 0 28px 80px rgba(24,42,40,0.32); border: 1px solid var(--border);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(18px) scale(0.96); transform-origin: bottom right;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0s linear 0.28s; }
#chatPanel.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

/* Header */
.chat-head { display: flex; align-items: center; gap: 12px; padding: 15px 16px;
  background: linear-gradient(120deg, var(--primary-dark), var(--primary) 60%, #2eb3a9); color: #fff; }
.chat-avatar { position: relative; width: 44px; height: 44px; flex-shrink: 0; }
.chat-avatar .head-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255,255,255,0.75); background: #fff; }
.chat-avatar .head-logo.is-emoji { display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  background: rgba(255,255,255,0.2); border: none; }
.chat-dot { position: absolute; bottom: 1px; right: 1px; width: 11px; height: 11px; border-radius: 50%;
  background: #7fe08d; border: 2px solid var(--primary-dark); }
.chat-id { min-width: 0; }
.chat-title { font-weight: 700; font-size: 1.04rem; line-height: 1.15; letter-spacing: 0.01em; }
.chat-status { font-size: 0.74rem; opacity: 0.88; }
#chatRestart, #chatClose { background: rgba(255,255,255,0.14); border: none; color: #fff; cursor: pointer;
  width: 32px; height: 32px; border-radius: 50%; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s var(--ease); flex-shrink: 0; }
#chatRestart { margin-left: auto; font-size: 1.05rem; }
#chatRestart:hover, #chatClose:hover { background: rgba(255,255,255,0.28); }

/* Conversation */
.chat-body { flex: 1; overflow-y: auto; padding: 18px 14px; display: flex; flex-direction: column; gap: 10px;
  background: linear-gradient(180deg, var(--primary-tint), var(--bg) 120px); }
.chat-row { display: flex; align-items: flex-end; gap: 8px; animation: chatIn 0.32s var(--ease); }
.chat-row.user { justify-content: flex-end; }
@keyframes chatIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.msg-avatar { flex-shrink: 0; width: 26px; height: 26px; }
.msg-avatar .msg-logo { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--border); background: #fff; }
.msg-avatar .msg-logo.is-emoji { display: flex; align-items: center; justify-content: center; font-size: 0.95rem; border: none; }
.chat-msg { max-width: 82%; padding: 11px 14px; border-radius: 18px; font-size: 0.92rem; line-height: 1.55; word-wrap: break-word; }
.chat-msg.bot { background: var(--surface); border: 1px solid var(--border); border-bottom-left-radius: 6px;
  color: var(--text); box-shadow: var(--shadow-xs); }
.chat-msg.user { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff;
  border-bottom-right-radius: 6px; }
.chat-link { display: inline-flex; align-items: center; gap: 5px; margin: 3px 2px 0 0; padding: 5px 12px;
  background: var(--primary-tint); border: 1px solid var(--primary-soft); border-radius: var(--radius-pill);
  color: var(--primary-dark); font-weight: 600; font-size: 0.84rem; text-decoration: none;
  transition: all 0.2s var(--ease); }
.chat-link:hover { background: var(--primary); color: #fff; }

/* Suggested questions */
.chat-chips { display: flex; flex-wrap: wrap; gap: 7px; padding-left: 34px; animation: chatIn 0.35s var(--ease); }
.chat-chips button { background: var(--surface); border: 1.5px solid var(--primary-soft); color: var(--primary-dark);
  font-family: var(--font-body); font-size: 0.81rem; font-weight: 600; padding: 8px 13px; border-radius: var(--radius-pill);
  cursor: pointer; transition: all 0.2s var(--ease); text-align: left; box-shadow: var(--shadow-xs); }
.chat-chips button:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-1px); }

/* Composer */
.chat-input { display: flex; gap: 9px; padding: 12px 14px; border-top: 1px solid var(--border); background: var(--surface); }
.chat-input input { flex: 1; border: 1.5px solid var(--border); border-radius: var(--radius-pill);
  padding: 11px 17px; font-family: var(--font-body); font-size: 0.93rem; background: var(--bg); min-width: 0; }
.chat-input input:focus { outline: none; border-color: var(--primary); background: var(--surface);
  box-shadow: 0 0 0 4px var(--primary-tint); }
.chat-input button { width: 44px; height: 44px; border-radius: 50%; border: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease); }
.chat-input button:hover:not(:disabled) { transform: scale(1.08); }
.chat-input button:disabled { opacity: 0.4; cursor: default; }

/* Typing dots */
.dots { display: inline-flex; gap: 4px; padding: 4px 2px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-soft); animation: dotBounce 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: 0.15s; }
.dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dotBounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-5px); opacity: 1; } }

/* Phone: full-screen sheet */
@media (max-width: 520px) {
  #s2sChat { right: 16px; bottom: 16px; }
  #chatPanel { right: 0; bottom: 0; left: 0; width: 100%; max-width: 100%;
    height: 88vh; max-height: 88vh; border-radius: 22px 22px 0 0; border-left: none; border-right: none; border-bottom: none; }
  #chatTeaser { white-space: normal; max-width: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  #chatFab .fab-ring { animation: none; opacity: 0; }
}
