/* FlameBox Demo — shared styles
   Pivot Bureau Web Design portfolio piece
   Modern UK takeaway: smash burgers, pizza, loaded sides */

:root {
  --flame: #ff5722;
  --flame-hot: #ff3d00;
  --flame-glow: #ffab40;
  --char: #0d0d0d;
  --char-2: #1a1a1a;
  --char-3: #262626;
  --cream: #fff8f0;
  --cream-2: #ffeacc;
  --muted: #8a8580;
  --line: rgba(255,255,255,0.08);
  --shadow-soft: 0 12px 32px rgba(0,0,0,0.4);
  --shadow-flame: 0 12px 32px rgba(255,87,34,0.32);
  --radius: 14px;
  --radius-lg: 22px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--char);
  color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--flame) 0%, var(--flame-hot) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: var(--shadow-flame);
}
.brand-text { color: var(--cream); }
.brand-text span { color: var(--flame-glow); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
  opacity: 0.85;
  transition: opacity 0.15s, color 0.15s;
}
.nav-links a:hover { opacity: 1; color: var(--flame-glow); }
.nav-links a.active { color: var(--flame-glow); opacity: 1; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--flame);
  color: var(--cream) !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  opacity: 1 !important;
  transition: transform 0.15s, box-shadow 0.15s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-flame);
  color: var(--cream) !important;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--cream);
  font-size: 28px;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,87,34,0.25) 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(255,61,0,0.18) 0%, transparent 50%),
    linear-gradient(180deg, var(--char) 0%, var(--char-2) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 80px 0;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,87,34,0.12);
  color: var(--flame-glow);
  border: 1px solid rgba(255,87,34,0.3);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-title {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero-title .flame-text {
  background: linear-gradient(135deg, var(--flame) 0%, var(--flame-glow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,248,240,0.75);
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--flame) 0%, var(--flame-hot) 100%);
  color: var(--cream);
  box-shadow: var(--shadow-flame);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255,87,34,0.45); }
.btn-ghost {
  background: rgba(255,248,240,0.06);
  color: var(--cream);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(255,248,240,0.12); transform: translateY(-2px); }

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at center, rgba(255,171,64,0.4) 0%, transparent 60%),
    linear-gradient(135deg, var(--char-2) 0%, var(--char-3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.hero-emoji {
  font-size: clamp(120px, 22vw, 280px);
  filter: drop-shadow(0 20px 40px rgba(255,87,34,0.5));
  animation: float 4s ease-in-out infinite;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--flame-glow);
  line-height: 1;
}
.hero-stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

/* ===== SECTIONS ===== */
section { padding: 96px 0; }

.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-eyebrow {
  display: inline-block;
  color: var(--flame-glow);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-sub {
  max-width: 600px;
  margin: 0 auto;
  color: rgba(255,248,240,0.7);
  font-size: 17px;
}

/* ===== FEATURED MENU ===== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.menu-card {
  background: linear-gradient(180deg, var(--char-2) 0%, var(--char-3) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  position: relative;
}
.menu-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,87,34,0.4);
  box-shadow: var(--shadow-flame);
}
.menu-card-img {
  height: 200px;
  background: radial-gradient(circle at center, rgba(255,87,34,0.25) 0%, transparent 70%), var(--char-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 90px;
  filter: drop-shadow(0 8px 20px rgba(255,87,34,0.3));
}
.menu-card-body { padding: 22px; }
.menu-card-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 6px;
}
.menu-card-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
  min-height: 38px;
}
.menu-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu-card-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--flame-glow);
}
.menu-card-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255,87,34,0.15);
  color: var(--flame-glow);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.menu-card-tag.hot { background: rgba(255,61,0,0.2); color: #ff8a65; }
.menu-card-tag.new { background: rgba(76,175,80,0.15); color: #81c784; }
.menu-card-tag.veg { background: rgba(139,195,74,0.15); color: #aed581; }

/* ===== FEATURES STRIP ===== */
.features {
  background: var(--char-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.feature {
  text-align: center;
  padding: 24px;
}
.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--flame) 0%, var(--flame-hot) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: var(--shadow-flame);
}
.feature h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}
.feature p {
  font-size: 14px;
  color: var(--muted);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background:
    radial-gradient(circle at 30% 30%, rgba(255,87,34,0.1) 0%, transparent 50%),
    var(--char);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.testimonial {
  background: var(--char-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.testimonial-stars {
  color: var(--flame-glow);
  font-size: 16px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.testimonial-text {
  color: rgba(255,248,240,0.85);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--flame) 0%, var(--flame-hot) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}
.testimonial-name {
  font-weight: 700;
  font-size: 14px;
}
.testimonial-meta {
  font-size: 12px;
  color: var(--muted);
}

/* ===== FINAL CTA ===== */
.cta-section {
  background:
    radial-gradient(circle at center, rgba(255,87,34,0.3) 0%, transparent 60%),
    linear-gradient(135deg, var(--char-2) 0%, var(--char-3) 100%);
  text-align: center;
}
.cta-section .btn-primary {
  font-size: 18px;
  padding: 20px 36px;
}

/* ===== MENU PAGE ===== */
.menu-page-header {
  text-align: center;
  padding: 80px 0 40px;
  background:
    radial-gradient(circle at center top, rgba(255,87,34,0.15) 0%, transparent 60%),
    var(--char);
}
.menu-category-nav {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px 0;
  position: sticky;
  top: 73px;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  z-index: 50;
  border-bottom: 1px solid var(--line);
}
.menu-category-nav a {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--char-2);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.15s, color 0.15s;
  border: 1px solid var(--line);
}
.menu-category-nav a:hover {
  background: var(--flame);
  color: var(--cream);
  border-color: var(--flame);
}
.menu-category {
  padding: 60px 0;
}
.menu-category-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}
.menu-category-emoji { font-size: 44px; }
.menu-category-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 32px;
  font-weight: 800;
}
.menu-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 18px;
}
.menu-item {
  display: flex;
  gap: 18px;
  padding: 18px;
  background: var(--char-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}
.menu-item:hover { border-color: rgba(255,87,34,0.3); transform: translateY(-2px); }
.menu-item-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: var(--char-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}
.menu-item-body { flex: 1; min-width: 0; }
.menu-item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}
.menu-item-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
}
.menu-item-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--flame-glow);
  white-space: nowrap;
}
.menu-item-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.menu-item-tags {
  margin-top: 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  padding: 60px 0;
}
.contact-card {
  background: var(--char-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 24px;
}
.contact-row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-child { border-bottom: none; }
.contact-row-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(255,87,34,0.12);
  color: var(--flame-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.contact-row-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.contact-row-value {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
.contact-row-value a:hover { color: var(--flame-glow); }

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.hours-row:last-child { border-bottom: none; }
.hours-row.today {
  color: var(--flame-glow);
  font-weight: 700;
}
.hours-row.closed {
  color: var(--muted);
}

.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 14px 16px;
  background: var(--char);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--cream);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.15s, background 0.15s;
}
.form-control:focus {
  outline: none;
  border-color: var(--flame);
  background: var(--char-3);
}
textarea.form-control { resize: vertical; min-height: 120px; }

/* ===== FOOTER ===== */
footer {
  background: var(--char-2);
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand-tagline {
  font-size: 14px;
  color: var(--muted);
  margin-top: 14px;
  max-width: 280px;
}
.footer-col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  color: var(--flame-glow);
}
.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: rgba(255,248,240,0.7);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--flame-glow); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}
.footer-built-by {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-built-by a {
  color: var(--flame-glow);
  font-weight: 700;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--char);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--line);
    gap: 14px;
  }
  section { padding: 64px 0; }
  .hero { min-height: auto; }
  .hero-grid { padding: 56px 0; }
  .hero-stats { gap: 18px; }
  .menu-item { flex-direction: column; }
  .menu-item-icon { width: 100%; height: 120px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== CHATBOT WIDGET ===== */
.chat-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--flame) 0%, var(--flame-hot) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  box-shadow: var(--shadow-flame);
  z-index: 200;
  border: none;
  transition: transform 0.2s;
}
.chat-launcher:hover { transform: scale(1.08); }
.chat-launcher::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(255,87,34,0.3);
  animation: pulse-flame 2.4s ease-out infinite;
  z-index: -1;
}
@keyframes pulse-flame {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}
.chat-panel {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 360px;
  max-width: calc(100vw - 48px);
  height: 520px;
  max-height: calc(100vh - 130px);
  background: var(--char-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 200;
}
.chat-panel.open { display: flex; }
.chat-header {
  padding: 18px;
  background: linear-gradient(135deg, var(--flame) 0%, var(--flame-hot) 100%);
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.chat-header-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 800;
}
.chat-header-status {
  font-size: 11px;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 5px;
}
.chat-header-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4caf50;
}
.chat-close {
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--cream);
  font-size: 22px;
  cursor: pointer;
  opacity: 0.85;
}
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
}
.chat-msg.bot {
  background: var(--char-3);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-msg.user {
  background: linear-gradient(135deg, var(--flame) 0%, var(--flame-hot) 100%);
  color: var(--cream);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 18px 8px;
}
.chat-suggestion {
  background: var(--char-3);
  border: 1px solid var(--line);
  color: var(--cream);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.chat-suggestion:hover { background: var(--flame); border-color: var(--flame); }
.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line);
}
.chat-input {
  flex: 1;
  padding: 11px 14px;
  background: var(--char-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cream);
  font-family: inherit;
  font-size: 14px;
}
.chat-input:focus { outline: none; border-color: var(--flame); }
.chat-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--flame);
  border: none;
  color: var(--cream);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.15s;
}
.chat-send:hover { background: var(--flame-hot); }
.chat-typing {
  display: inline-flex;
  gap: 4px;
  padding: 8px 14px;
  background: var(--char-3);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: typing-dot 1.4s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-dot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}
