:root {
  --app-height: 100dvh;
  /* Purple-pink palette inspired by MM logo */
  --bg: #0f0818;
  --surface: #160d24;
  --surface-2: #1e1133;
  --surface-3: #271642;
  --surface-4: #0c0614;
  --line: rgba(180,80,255,0.1);
  --line-strong: rgba(180,80,255,0.18);
  --text: #f0e8ff;
  --muted: #9b7fc0;
  --muted-2: #6d52a0;
  --accent: #d946ef;
  --accent-2: #a855f7;
  --accent-3: #ec4899;
  --accent-soft: rgba(217,70,239,0.15);
  --bubble-in: #1e1040;
  --bubble-out: #5b1d7a;
  --shadow: 0 16px 50px rgba(0,0,0,0.45);
  --glow: 0 0 40px rgba(217,70,239,0.2);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --call-green: #a3e635;
  --call-red: #f43f5e;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Nunito', sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; overscroll-behavior: none; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
}
button, input { font: inherit; }
button { cursor: pointer; }
input { outline: none; }
.hidden { display: none !important; }

/* ─── Incoming Call Modal ──────────────────────────────────────────────────── */
.incoming-call-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(8, 2, 18, 0.82);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.incoming-call-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.incoming-call-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 36px 32px 28px;
  border-radius: 32px;
  background: rgba(26, 13, 46, 0.97);
  border: 1px solid rgba(217,70,239,0.25);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 60px rgba(217,70,239,0.12);
  min-width: 280px;
  transform: scale(0.92) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.incoming-call-overlay.visible .incoming-call-card {
  transform: scale(1) translateY(0);
}
.incoming-call-ripple {
  position: relative;
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.ripple-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: ripple-out 2s ease-out infinite;
}
.ripple-ring.r2 { animation-delay: 0.55s; }
.ripple-ring.r3 { animation-delay: 1.1s; }
.incoming-call-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(217,70,239,0.2), rgba(168,85,247,0.1));
  border: 2px solid rgba(217,70,239,0.5);
  display: grid;
  place-items: center;
  color: var(--accent);
}
.incoming-call-avatar svg { width: 36px; height: 36px; }
.incoming-call-label { color: var(--muted); font-size: 13px; margin-top: 2px; }
.incoming-call-name { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
.incoming-call-actions { display: flex; gap: 32px; margin-top: 18px; }
.call-action-btn {
  width: 64px; height: 64px;
  border-radius: 50%; border: 0;
  display: grid; place-items: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.call-action-btn:hover { transform: scale(1.08); }
.call-action-btn:active { transform: scale(0.95); }
.call-action-btn svg { width: 26px; height: 26px; }
.call-action-btn.decline {
  background: linear-gradient(180deg, #f87171, var(--call-red));
  color: white;
  box-shadow: 0 12px 28px rgba(244,63,94,0.4);
}
.call-action-btn.accept {
  background: linear-gradient(180deg, #d4fa6a, var(--call-green));
  color: #1a2e00;
  box-shadow: 0 12px 28px rgba(163,230,53,0.36);
}
.incoming-call-hints { display: flex; gap: 52px; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ─── Active Call Bar ──────────────────────────────────────────────────────── */
.call-bar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 90;
  transform: translateY(-100%);
  transition: transform 0.32s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.call-bar.visible { transform: translateY(0); }
.call-bar-inner {
  display: flex; align-items: center; gap: 10px;
  padding: 0 18px; height: 44px;
  background: linear-gradient(90deg, #2d0a3e, #3d0d52, #2d0a3e);
  background-size: 200% 100%;
  animation: call-bar-shimmer 3s ease-in-out infinite;
  border-bottom: 1px solid rgba(217,70,239,0.3);
}
.call-bar-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(217,70,239,0.6);
  animation: pulse-dot 1.6s ease-out infinite;
  flex-shrink: 0;
}
.call-bar-icon { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.call-bar-label {
  font-size: 13px; font-weight: 700; color: #f0d4ff;
  flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.call-bar-timer {
  font-size: 12px; font-weight: 700; color: rgba(240,212,255,0.7);
  font-variant-numeric: tabular-nums; min-width: 40px; text-align: right;
}
.call-bar-actions { display: flex; gap: 6px; flex-shrink: 0; }
.call-bar-btn {
  width: 32px; height: 32px; border-radius: 50%; border: 0;
  display: grid; place-items: center;
  transition: transform 0.16s ease, background 0.16s ease;
}
.call-bar-btn:hover { transform: scale(1.1); }
.call-bar-btn svg { width: 16px; height: 16px; }
.call-bar-btn.mute-btn { background: rgba(217,70,239,0.15); color: var(--accent); }
.call-bar-btn.mute-btn.muted { background: rgba(244,63,94,0.18); color: #fb7185; }
.call-bar-btn.hangup-btn { background: rgba(244,63,94,0.18); color: #fb7185; }
.call-bar-btn.hangup-btn:hover { background: rgba(244,63,94,0.32); }

/* ─── Auth Scene ───────────────────────────────────────────────────────────── */
.auth-scene {
  position: fixed; inset: 0; overflow: auto;
  display: grid; place-items: center;
  padding: 24px 18px max(24px, env(safe-area-inset-bottom));
  background: radial-gradient(ellipse at 20% 20%, #2d0a4e 0%, transparent 50%),
              radial-gradient(ellipse at 80% 80%, #4a0d6e 0%, transparent 50%),
              linear-gradient(180deg, #0a0514 0%, #0f0818 100%);
}
.auth-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  animation: drift 10s ease-in-out infinite;
  pointer-events: none;
}
.glow-a { width: 38vw; aspect-ratio: 1; left: -8vw; top: 4vh; background: rgba(168,85,247,0.35); opacity: 0.6; }
.glow-b { width: 34vw; aspect-ratio: 1; right: -6vw; bottom: 6vh; background: rgba(236,72,153,0.3); opacity: 0.5; animation-delay: -4s; }
.glow-c { width: 28vw; aspect-ratio: 1; left: 30%; top: 40%; background: rgba(217,70,239,0.2); opacity: 0.4; animation-delay: -7s; }
.auth-grain {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 128px;
}
.auth-card {
  position: relative; z-index: 1;
  width: min(100%, 420px);
  min-height: 580px;
  padding: 24px;
  border-radius: 32px;
  border: 1px solid rgba(180,80,255,0.2);
  background: rgba(14, 6, 26, 0.88);
  box-shadow: var(--shadow), 0 0 80px rgba(168,85,247,0.08);
  backdrop-filter: blur(24px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* Purple shimmer border */
.auth-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 32px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(217,70,239,0.4), rgba(168,85,247,0.1), rgba(236,72,153,0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.auth-topbar { margin-bottom: 14px; }
.brand-mini {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 14px; align-items: center;
  margin-bottom: 20px;
}
.brand-mark {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: #000;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(217,70,239,0.3);
}
.brand-logo-img { width: 100%; height: 100%; object-fit: contain; }
.brand-mini h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #e879f9, #c026d3, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.brand-mini p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.auth-progress {
  height: 3px; border-radius: 999px;
  background: rgba(180,80,255,0.1); overflow: hidden;
}
.auth-progress span {
  display: block; height: 100%; width: 33.3%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e879f9, #a855f7, #ec4899);
  transition: width .4s cubic-bezier(0.34, 1.2, 0.64, 1);
  box-shadow: 0 0 12px rgba(217,70,239,0.6);
}
.auth-slides { position: relative; flex: 1; min-height: 400px; }
.auth-step {
  position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
  transform: translateX(44px) scale(.97);
  transition: opacity .32s ease, transform .36s cubic-bezier(0.34, 1.2, 0.64, 1);
  display: flex; flex-direction: column;
  padding-top: 8px;
}
.auth-step.is-left { transform: translateX(-44px) scale(.97); }
.auth-step.is-right { transform: translateX(44px) scale(.97); }
.auth-step.is-active { opacity: 1; pointer-events: auto; transform: translateX(0) scale(1); }
.step-copy { margin-bottom: 20px; }
.step-kicker {
  display: inline-flex; padding: 6px 12px;
  border-radius: 999px;
  background: rgba(217,70,239,0.1);
  border: 1px solid rgba(217,70,239,0.2);
  color: #e879f9; font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 14px;
}
.step-copy h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 22px; line-height: 1.1;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #f0e8ff, #d8b4fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.step-copy p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }
.auth-label { margin: 10px 0 8px; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.field-shell, .search-shell, .composer-field-shell {
  position: relative; display: flex; align-items: center;
  min-height: 54px; border-radius: 16px;
  background: rgba(180,80,255,0.06);
  border: 1px solid rgba(180,80,255,0.12);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.focus-glow:focus-within,
.search-shell:focus-within,
.composer-field-shell:focus-within {
  border-color: rgba(217,70,239,0.5);
  background: rgba(217,70,239,0.08);
  box-shadow: 0 0 0 3px rgba(217,70,239,0.08), 0 0 20px rgba(217,70,239,0.1);
}
.field-prefix { position: absolute; left: 16px; color: var(--accent); font-weight: 800; }
.field-input, .search-input, .composer-input {
  width: 100%; border: 0; background: transparent;
  color: var(--text); padding: 0 16px;
}
.field-input { min-height: 54px; }
.with-prefix { padding-left: 34px; }
.field-input::placeholder, .search-input::placeholder, .composer-input::placeholder { color: var(--muted-2); }
.auth-error {
  min-height: 20px; color: #f87171; font-size: 13px;
  margin-top: 10px; font-weight: 600;
}
.step-actions {
  display: flex; gap: 10px;
  margin-top: auto; padding-top: 20px;
}
.step-actions.dual > * { flex: 1; }
.primary-cta, .secondary-cta, .icon-button {
  border: 0;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.primary-cta:hover, .secondary-cta:hover, .icon-button:hover { transform: translateY(-1px); }
.primary-cta:active, .secondary-cta:active { transform: translateY(0) scale(0.98); }
.primary-cta, .secondary-cta {
  min-height: 52px; border-radius: 16px; padding: 0 20px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; letter-spacing: 0.02em;
}
.primary-cta {
  color: white;
  background: linear-gradient(135deg, #d946ef, #a855f7, #ec4899);
  box-shadow: 0 8px 24px rgba(168,85,247,0.35), 0 0 0 1px rgba(217,70,239,0.3);
}
.primary-cta:hover { box-shadow: 0 12px 32px rgba(168,85,247,0.5), 0 0 0 1px rgba(217,70,239,0.4); }
.secondary-cta {
  color: var(--muted);
  background: rgba(180,80,255,0.08);
  border: 1px solid rgba(180,80,255,0.15);
}
.icon-button {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--text); background: transparent;
}
.icon-button svg { width: 20px; height: 20px; }
.icon-button.ghost { position: absolute; right: 6px; background: transparent; color: var(--muted); }
.icon-button.surface { background: rgba(180,80,255,0.08); border: 1px solid rgba(180,80,255,0.1); }
.icon-button.accent {
  background: linear-gradient(135deg, #d946ef, #a855f7);
  color: white;
  box-shadow: 0 8px 20px rgba(168,85,247,0.3);
}

/* Disclaimer */
.auth-disclaimer {
  text-align: center;
  font-size: 11px;
  color: var(--muted-2);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(180,80,255,0.08);
  letter-spacing: 0.01em;
}

/* ─── App Shell ────────────────────────────────────────────────────────────── */
.app-shell {
  height: var(--app-height);
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr) 320px;
  background: var(--surface);
}
.sidebar, .chat-pane { min-width: 0; }
.sidebar {
  background: var(--surface);
  display: flex; flex-direction: column; min-height: 0;
}
.left-sidebar { border-right: 1px solid var(--line); }
.right-sidebar { border-left: 1px solid var(--line); }
.sidebar-header, .chat-header {
  min-height: 72px; padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.15);
}
.sidebar-search, .discover-search { flex: 1; }
.search-shell { min-height: 44px; padding: 0 12px; gap: 8px; }
.search-symbol { width: 16px; height: 16px; color: var(--muted); flex: 0 0 auto; }
.search-input { min-height: 44px; padding: 0; font-size: 14px; }
.chat-list, .user-results, .messages { overflow: auto; scrollbar-width: thin; scrollbar-color: rgba(180,80,255,0.2) transparent; }
.chat-list, .user-results { padding: 8px; }
.chat-row, .user-row {
  width: 100%; text-align: left; border: 0;
  border-radius: 16px; display: flex; gap: 12px;
  align-items: center; padding: 10px 12px;
  background: transparent; color: var(--text);
  transition: background 0.15s ease;
}
.chat-row:hover, .user-row:hover { background: rgba(180,80,255,0.07); }
.chat-row.active { background: rgba(217,70,239,0.1); border: 1px solid rgba(217,70,239,0.15); }
.chat-row-body, .user-row-copy { min-width: 0; flex: 1; }
.chat-row-top, .chat-row-bottom {
  display: flex; align-items: center; gap: 8px; justify-content: space-between;
}
.chat-row-name, .user-row-name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.chat-row-time, .chat-row-snippet, .user-row-status, .user-row-action,
.chat-subtitle, .profile-title, .empty-state, .empty-people, .center-note {
  color: var(--muted); font-size: 13px;
}
.chat-row-snippet { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; }
.online-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #a3e635;
  box-shadow: 0 0 0 3px rgba(163,230,53,0.15);
}
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; flex: 0 0 auto;
  background: linear-gradient(135deg, #d946ef, #a855f7);
  color: white; font-weight: 800; letter-spacing: .02em;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(168,85,247,0.3);
}
.avatar-lg { width: 46px; height: 46px; }
.avatar-xl { width: 60px; height: 60px; font-size: 18px; }

/* ─── Chat Pane ────────────────────────────────────────────────────────────── */
.chat-pane {
  min-height: 0; display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background:
    radial-gradient(ellipse at top center, rgba(100,30,150,0.12), transparent 40%),
    radial-gradient(ellipse at bottom center, rgba(150,30,100,0.08), transparent 40%),
    linear-gradient(180deg, #0f0818, #130a20);
}
.chat-header { justify-content: space-between; }
.chat-person, .chat-actions, .profile-card { display: flex; align-items: center; gap: 12px; }
.chat-title { font-size: 15px; font-weight: 800; font-family: var(--font-body); }
.messages { padding: 20px 16px 10px; min-height: 0; }
.hero-empty, .center-note, .chat-loader { min-height: 100%; display: grid; place-items: center; }
.hero-empty-card {
  max-width: 300px; padding: 24px;
  border-radius: 24px;
  background: rgba(180,80,255,0.05);
  border: 1px solid rgba(180,80,255,0.12);
  text-align: center;
}
.hero-empty-title { font-size: 20px; font-weight: 800; margin-bottom: 8px; font-family: var(--font-display); letter-spacing: 0.02em; }
.hero-empty-copy { color: var(--muted); line-height: 1.5; font-size: 14px; }
.message-row { display: flex; margin-bottom: 8px; }
.message-row.self { justify-content: flex-end; }
.message-bubble {
  max-width: min(78%, 520px);
  padding: 10px 12px 7px;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.message-bubble.in {
  background: var(--bubble-in);
  border: 1px solid rgba(180,80,255,0.1);
  border-top-left-radius: 6px;
}
.message-bubble.out {
  background: var(--bubble-out);
  border: 1px solid rgba(217,70,239,0.2);
  border-top-right-radius: 6px;
}
.message-text { white-space: pre-wrap; word-break: break-word; line-height: 1.5; font-size: 14px; }
.message-time { margin-top: 4px; font-size: 11px; color: rgba(255,255,255,0.45); text-align: right; }
.chat-loader .loader-bars { display: flex; align-items: flex-end; gap: 7px; height: 40px; }
.loader-bars span {
  width: 6px; height: 18px; border-radius: 999px;
  background: linear-gradient(180deg, #d946ef, #7c3aed);
  animation: bars 1s infinite ease-in-out; opacity: .4;
}
.loader-bars span:nth-child(2) { animation-delay: .16s; }
.loader-bars span:nth-child(3) { animation-delay: .32s; }
.composer {
  position: sticky; bottom: 0;
  display: flex; align-items: flex-end; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(13,6,22,0), rgba(13,6,22,.9) 22%, rgba(13,6,22,.98));
}
.composer.disabled { opacity: .5; pointer-events: none; }
.composer-field-shell { flex: 1; min-height: 50px; padding-right: 6px; border-radius: 20px; }
.composer-input { min-height: 50px; padding-right: 6px; font-size: 14px; }
.send-button { flex: 0 0 auto; }
.profile-card, .discover-panel { padding: 16px; }
.profile-card { border-bottom: 1px solid var(--line); }
.profile-copy { min-width: 0; }
.profile-username { font-size: 16px; font-weight: 800; margin-top: 3px; color: var(--accent); }
.discover-headline { font-size: 16px; font-weight: 800; margin-bottom: 12px; font-family: var(--font-display); letter-spacing: 0.03em; }
.empty-state, .empty-people, .center-note { padding: 18px; text-align: center; }
.toast {
  position: fixed; left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translate(-50%, 18px);
  opacity: 0;
  background: rgba(20,10,36,.97);
  color: var(--text);
  padding: 11px 16px; border-radius: 14px;
  border: 1px solid rgba(180,80,255,0.2);
  box-shadow: var(--shadow), 0 0 30px rgba(168,85,247,0.1);
  transition: opacity .22s ease, transform .22s ease;
  z-index: 60; font-size: 14px; font-weight: 600;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.mobile-only { display: none; }

/* ─── Keyframes ─────────────────────────────────────────────────────────────── */
@keyframes drift {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  33% { transform: translate3d(12px, -18px, 0) scale(1.05); }
  66% { transform: translate3d(-8px, 10px, 0) scale(0.97); }
}
@keyframes bars {
  0%, 100% { transform: scaleY(.7); opacity: .3; }
  50% { transform: scaleY(1.8); opacity: 1; }
}
@keyframes ripple-out {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(2.4); opacity: 0; }
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(217,70,239,0.7); }
  70% { box-shadow: 0 0 0 8px rgba(217,70,239,0); }
  100% { box-shadow: 0 0 0 0 rgba(217,70,239,0); }
}
@keyframes call-bar-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ─── Mobile ─────────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  body { overflow: hidden; }
  .app-shell { grid-template-columns: 1fr; position: relative; }
  .sidebar {
    position: fixed; top: 0; bottom: 0;
    width: min(88vw, 360px);
    z-index: 30; transition: transform .26s ease;
    box-shadow: var(--shadow);
  }
  .left-sidebar { left: 0; transform: translateX(-105%); }
  .right-sidebar { right: 0; transform: translateX(105%); }
  .sidebar.mobile-open { transform: translateX(0); }
  .mobile-only { display: grid; }
  .desktop-only { display: none; }
  .chat-header, .sidebar-header { padding-left: 10px; padding-right: 10px; }
  .messages { padding: 14px 10px 8px; }
  .composer { padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
  .message-bubble { max-width: 88%; }
  .auth-card { width: 100%; min-height: 540px; padding: 18px; border-radius: 28px; }
  .step-copy h2 { font-size: 19px; }
  .call-bar-label { max-width: 120px; }
}
