/* ========== Oráculo v25.1 — Welcome Message + Fixes ========== */
[hidden] { display: none !important; }

:root {
  --bg-deep: #000000;
  --bg: #030508;
  --bg-2: #090b14;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --glass: rgba(5, 6, 10, 0.55);
  --border: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(124, 92, 255, 0.25);
  --fg: #f0f2f8;
  --fg-2: #8b92a8;
  --fg-3: #4a5068;
  --accent: #7c5cff;
  --accent-glow: rgba(124, 92, 255, 0.4);
  --accent-2: #00e5ff;
  --accent-2-glow: rgba(0, 229, 255, 0.35);
  --accent-soft: rgba(124, 92, 255, 0.12);
  --user-bg: linear-gradient(135deg, rgba(124,92,255,0.25), rgba(0,229,255,0.15));
  --assist-bg: rgba(255, 255, 255, 0.03);
  --shadow: 0 8px 32px rgba(0,0,0,0.45);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.6);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --radius-pill: 999px;
}

[data-theme="light"] {
  --bg-deep: #e8eaef;
  --bg: #f0f1f5;
  --bg-2: #ffffff;
  --surface: rgba(255,255,255,0.55);
  --surface-hover: rgba(255,255,255,0.85);
  --glass: rgba(255,255,255,0.65);
  --border: rgba(0,0,0,0.06);
  --border-glow: rgba(124,92,255,0.18);
  --fg: #0b0d14;
  --fg-2: #3a3f4d;
  --fg-3: #7a8194;
  --accent-soft: rgba(124,92,255,0.10);
  --user-bg: linear-gradient(135deg, #c7d8ff, #a0b8f0);
  --assist-bg: rgba(255,255,255,0.45);
  --shadow: 0 8px 32px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  height: 100%;
  background: var(--bg-deep);
  color: var(--fg);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  overflow: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

body {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(800px 500px at 10% 10%, rgba(124,92,255,0.08), transparent 55%),
    radial-gradient(600px 400px at 90% 90%, rgba(0,229,255,0.06), transparent 55%);
}

[data-theme="light"] body::before { opacity: 0.45; }

/* ========== SPLIT LAYOUT ========== */
.split-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.pane {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: flex 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
  min-height: 0;
}

.pane-divider {
  position: absolute;
  bottom: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  opacity: 0.35;
  z-index: 5;
  pointer-events: none;
}

.split-mode .voice-pane { flex: 1; }
.split-mode .chat-pane { flex: 2; }

.voice-pane {
  background: linear-gradient(180deg, rgba(0,0,0,0.5), transparent),
              radial-gradient(ellipse at center, rgba(124,92,255,0.04), transparent 70%);
  border-bottom: none;
}

.voice-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px;
}

.chat-pane {
  flex: 2;
  background: var(--bg);
  position: relative;
}

.chat-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}

/* ========== EXPAND / COLLAPSE ========== */
.pane-toolbar {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  display: flex;
  gap: 6px;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.pane:hover .pane-toolbar { opacity: 1; }

.pane-toolbar .icon-expand { display: block; }
.pane-toolbar .icon-compress { display: none; }

.expanded-voice .voice-pane .icon-expand { display: none; }
.expanded-voice .voice-pane .icon-compress { display: block; }
.expanded-chat .chat-pane .icon-expand { display: none; }
.expanded-chat .chat-pane .icon-compress { display: block; }

.expanded-voice .voice-pane { flex: 1; }
.expanded-voice .chat-pane {
  flex: 0;
  min-height: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.expanded-chat .chat-pane { flex: 1; }
.expanded-chat .voice-pane {
  flex: 0;
  min-height: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

/* ========== VOICE CORE ========== */
.voice-core {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.voice-core-glow {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.25;
  filter: blur(16px);
  transition: opacity 0.4s ease;
}

.voice-core.listening .voice-core-glow {
  opacity: 0.6;
  background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
}

.voice-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--accent-soft);
  animation: pulse-ring 3s cubic-bezier(0.22,1,0.36,1) infinite;
}

.voice-ring:nth-child(3) { animation-delay: 1.0s; }
.voice-ring:nth-child(4) { animation-delay: 2.0s; }

.voice-core.listening .voice-ring {
  border-color: rgba(0,229,255,0.35);
  box-shadow: 0 0 30px rgba(0,229,255,0.1);
}

@keyframes pulse-ring {
  0%   { transform: scale(0.75); opacity: 0.9; }
  100% { transform: scale(1.45); opacity: 0; }
}

.voice-status {
  color: var(--fg-2);
  font-size: 13px;
  margin: 0;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.3px;
  min-height: 20px;
}

.voice-toggle-btn {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--fg-2);
  border-radius: var(--radius-pill);
  padding: 10px 28px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.voice-toggle-btn:hover {
  border-color: var(--accent);
  color: var(--fg);
  box-shadow: 0 0 24px var(--accent-soft);
}

.voice-toggle-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.voice-toggle-btn.active:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 28px var(--accent-glow);
}

/* ========== TOPBAR ========== */
.topbar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: var(--glass);
  /*backdrop-filter: blur(24px) saturate(160%);*/
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-name {
  font-weight: 700;
  font-size: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.3px;
}

.logo-orb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), var(--accent-2), var(--accent));
  box-shadow: 0 0 18px var(--accent-glow);
  animation: spin 10s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.top-actions { display: flex; gap: 8px; }

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
}

.icon-btn:hover {
  background: var(--surface-hover);
  color: var(--fg);
  border-color: var(--border-glow);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25), 0 0 12px var(--accent-soft);
}

.icon-btn svg { display: block; }

.avatar-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--border-glow);
  overflow: hidden;
  position: relative;
  padding: 0;
}

.avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== CHAT ========== */
.chat {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  padding: 22px 18px 110px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.chat::-webkit-scrollbar { display: none; }

.msg {
  max-width: 82%;
  position: relative;
  animation: fadeSlideUp 0.35s cubic-bezier(0.22,1,0.36,1) forwards;
  opacity: 0;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.msg.user {
  align-self: flex-end;
  background: var(--user-bg);
  color: var(--fg);
  border-radius: var(--radius-md) var(--radius-md) 6px var(--radius-md);
  padding: 12px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
}

.msg.assist {
  align-self: flex-start;
  color: var(--fg);
}

.msg.assist .body {
  background: var(--assist-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 6px;
  padding: 14px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  backdrop-filter: blur(12px);
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.msg.assist .body:hover {
  border-color: var(--border-glow);
}

.msg .thumb {
  max-width: 220px;
  max-height: 180px;
  border-radius: 12px;
  margin-top: 10px;
  display: block;
  border: 1px solid var(--border);
}

/* ========== CARDS & QUICK REPLIES ========== */
.cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: all 0.25s ease;
}

.card:hover {
  border-color: var(--border-glow);
  transform: translateX(3px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2), 0 0 12px var(--accent-soft);
}

.card h4 { margin: 0 0 4px; font-size: 14px; font-weight: 600; }
.card .desc { font-size: 13px; color: var(--fg-2); margin: 4px 0; }
.card .why { font-size: 11px; color: var(--fg-3); font-style: italic; margin-top: 6px; }
.card .row { display: flex; gap: 8px; margin-top: 10px; }
.card .row button {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg-2);
  cursor: pointer;
  transition: all 0.2s;
}
.card .row button:hover { border-color: var(--accent); color: var(--fg); }
.card .row .accept.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

.status-line {
  text-align: center;
  font-size: 11px;
  color: var(--fg-3);
  padding: 6px 0;
  font-family: 'JetBrains Mono', monospace;
  opacity: 0.7;
  letter-spacing: 0.5px;
}

.quick-replies {
  display: flex;
  gap: 8px;
  padding: 8px 18px;
  overflow-x: auto;
  flex-wrap: wrap;
}

.quick-replies button {
  white-space: nowrap;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--fg-2);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-replies button:hover {
  border-color: var(--accent);
  color: var(--fg);
  background: var(--accent-soft);
  box-shadow: 0 0 16px var(--accent-soft);
}

/* ========== COMPOSER ========== */
.composer {
  position: relative;
  z-index: 20;
  flex-shrink: 0;
  padding: 12px 18px 24px;
  background: linear-gradient(to top, var(--bg-deep) 70%, transparent);
  display: flex;
  justify-content: center;
}

.composer-inner {
  width: 100%;
  max-width: 760px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.02);
  transition: border-color 0.35s, box-shadow 0.35s;
}

.composer-inner:focus-within {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg), 0 0 0 3px var(--accent-soft), 0 0 40px rgba(124,92,255,0.12);
}

textarea#input {
  flex: 1;
  resize: none;
  max-height: 120px;
  min-height: 40px;
  border: none;
  outline: none;
  background: transparent;
  color: var(--fg);
  font: inherit;
  padding: 10px 12px;
  line-height: 1.45;
}

textarea#input::placeholder { color: var(--fg-3); }

.send-btn {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px var(--accent-glow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.send-btn:hover {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 6px 24px var(--accent-glow), 0 0 0 2px rgba(255,255,255,0.1);
}

.send-btn:active { transform: scale(0.96); }

/* ========== MODAL & PROFILE ========== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.3s ease;
}

.modal-card {
  background: linear-gradient(160deg, var(--bg-2), #060810);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.04);
  width: 100%;
  max-width: 420px;
  padding: 32px;
  max-height: 92vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  animation: modalSlideUp 0.45s cubic-bezier(0.16,1,0.3,1);
  position: relative;
}

.modal-card::-webkit-scrollbar { display: none; }

.modal-card-lg {
  max-width: 560px;
  padding: 28px;
}

@keyframes modalSlideUp {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.modal-head h3 {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tabs {
  display: flex;
  gap: 0;
  background: var(--surface);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.tab {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  color: var(--fg-3);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

.tab.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeIn 0.3s ease;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-2);
}

.form input {
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--fg);
  font-family: inherit;
  transition: all 0.25s ease;
}

.form input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(124,92,255,0.06);
  box-shadow: 0 0 0 3px var(--accent-soft), 0 0 20px rgba(124,92,255,0.1);
}

.primary {
  margin-top: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.25s;
  box-shadow: 0 4px 18px var(--accent-glow);
}

.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--accent-glow), 0 0 0 1px rgba(255,255,255,0.08);
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--fg-3);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.google-btn {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg);
  border-radius: var(--radius-sm);
  padding: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
}

.google-btn:hover {
  background: var(--surface-hover);
  border-color: var(--border-glow);
  box-shadow: 0 0 20px var(--accent-soft);
}

/* Profile Area */
.profile-avatar-section {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.avatar-upload-wrap {
  position: relative;
  flex-shrink: 0;
}

.avatar-upload-label {
  position: relative;
  display: block;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  cursor: pointer;
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: 0 0 0 2px var(--bg-2), 0 0 20px var(--accent-soft);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.avatar-upload-label:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--bg-2), 0 0 30px var(--accent-glow);
}

.avatar-photo-lg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-lg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 28px;
}

.avatar-upload-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s;
  border-radius: 50%;
}

.avatar-upload-label:hover .avatar-upload-overlay {
  opacity: 1;
}

.profile-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.profile-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.2;
}

.profile-email {
  font-size: 13px;
  color: var(--fg-3);
}

/* Welcome Message */
.profile-welcome-msg {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(124,92,255,0.08), rgba(0,229,255,0.05));
  border: 1px solid rgba(124,92,255,0.2);
  backdrop-filter: blur(12px);
  animation: fadeSlideUp 0.5s cubic-bezier(0.22,1,0.36,1) forwards;
}

.welcome-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px var(--accent-glow);
}

.profile-welcome-msg p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-2);
}

.profile-welcome-msg strong {
  color: var(--fg);
  font-weight: 600;
}

.profile-settings {
  margin-bottom: 22px;
}

.profile-settings h4 {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-2);
  margin-bottom: 14px;
  font-weight: 700;
}

.profile-settings .row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-2);
  border-bottom: 1px solid var(--border);
}

.profile-settings .row:first-of-type {
  padding-top: 0;
}

.row-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-2);
}

.profile-settings input,
.profile-settings select,
.profile-settings textarea {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--fg);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: all 0.25s ease;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.profile-settings input:focus,
.profile-settings select:focus,
.profile-settings textarea:focus {
  border-color: var(--accent);
  background: rgba(124,92,255,0.05);
  box-shadow: 0 0 0 3px var(--accent-soft), 0 0 20px rgba(124,92,255,0.08);
}

.profile-settings select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%238b92a5'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 32px;
}

.profile-settings select option {
  background: var(--bg-2);
  color: var(--fg);
  font-size: 14px;
  padding: 8px;
}

[data-theme="light"] .profile-settings select option {
  background: var(--bg-2);
  color: var(--fg);
}

.profile-settings textarea {
  resize: vertical;
  min-height: 72px;
  line-height: 1.5;
}

/* Birthdate selects */
.birthdate-row {
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.birthdate-selects {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 8px;
}

.birthdate-selects select {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--fg);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: all 0.25s ease;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%238b92a5'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 32px;
}

.birthdate-selects select:focus {
  border-color: var(--accent);
  background: rgba(124,92,255,0.05);
  box-shadow: 0 0 0 3px var(--accent-soft), 0 0 20px rgba(124,92,255,0.08);
}

/* Hobbies grid */
.hobbies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-bottom: 8px;
}

.hobby-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.15);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 13px;
  color: var(--fg-2);
}

.hobby-item:hover {
  border-color: var(--border-glow);
  background: var(--accent-soft);
  color: var(--fg);
}

.hobby-item.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--fg);
  box-shadow: 0 0 12px rgba(124,92,255,0.15);
}

.hobby-item input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s;
}

.hobby-item.active input[type="checkbox"],
.hobby-item input[type="checkbox"]:checked {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.hobby-item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 8px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid var(--fg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.hobby-other-row {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

/* Row layouts */
.row-two {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.row-two .row {
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.textarea-row {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.profile-settings .row-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  font-size: 14px;
  color: var(--fg-2);
}

.profile-settings .row-check input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  flex-shrink: 0;
}

.profile-settings .row-check input[type="checkbox"]:checked {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.profile-settings .row-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 8px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--fg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.profile-insights {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid var(--border);
  margin-top: 20px;
}

.profile-insights h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--fg-2);
  margin-bottom: 14px;
}

.insight-block { margin-bottom: 18px; }
.insight-block .lbl {
  font-size: 10px;
  color: var(--accent-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.big5-grid { display: flex; flex-direction: column; gap: 10px; }
.big5-row { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.big5-row span:first-child { width: 80px; color: var(--fg-2); }
.big5-row .bar {
  flex: 1;
  height: 6px;
  background: var(--surface);
  border-radius: var(--radius-pill);
  overflow: hidden;
  border: 1px solid var(--border);
}
.big5-row .bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 10px var(--accent-glow);
  border-radius: var(--radius-pill);
  transition: width 0.8s cubic-bezier(0.22,1,0.36,1);
}
.big5-row .val { width: 28px; text-align: right; color: var(--fg-2); font-family: 'JetBrains Mono', monospace; }

.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  background: var(--accent-soft);
  border: 1px solid rgba(124,92,255,0.2);
  color: var(--fg-2);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
}

.fact-list { display: flex; flex-direction: column; gap: 8px; }
.fact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 8px 10px;
  background: rgba(0,0,0,0.2);
  border-radius: 10px;
  border: 1px solid var(--border);
}
.fact .conf { font-size: 11px; color: var(--fg-3); font-family: 'JetBrains Mono', monospace; }

.stats-row {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--fg-3);
  margin-top: 10px;
  font-family: 'JetBrains Mono', monospace;
}

.profile-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.ghost-btn {
  flex: 1;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg-2);
  padding: 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.ghost-btn:hover {
  border-color: var(--accent);
  color: var(--fg);
  background: var(--accent-soft);
  box-shadow: 0 0 20px var(--accent-soft);
}

.danger-btn {
  flex: 1;
  border: 1px solid rgba(255,92,122,0.3);
  background: transparent;
  color: #ff5c7a;
  padding: 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.danger-btn:hover {
  background: rgba(255,92,122,0.1);
  border-color: #ff5c7a;
  box-shadow: 0 0 20px rgba(255,92,122,0.15);
}

/* ========== BOOT ========== */
#loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s;
}

.boot-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.boot-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), var(--accent-2), var(--accent));
  box-shadow: 0 0 40px var(--accent-glow), 0 0 80px rgba(124,92,255,0.2);
  animation: boot-rotate 2s linear infinite;
}

@keyframes boot-rotate { to { transform: rotate(360deg); } }

.boot-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--fg-3);
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: pulse-text 1.8s ease-in-out infinite;
}

@keyframes pulse-text {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; color: var(--accent-2); }
}

.boot-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

/* ========== RESPONSIVE ========== */
@media (min-width: 641px) {
  .row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .row-two .row {
    border-bottom: none;
    padding: 0;
  }
  .hobbies-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .topbar { padding: 10px 14px; }
  .brand-name { display: none; }
  .chat { padding: 16px 14px 100px; }
  .composer { padding: 10px 14px 18px; }
  .msg { max-width: 90%; }
  .modal-card { padding: 20px; max-height: 92vh; }
  .modal-card-lg { max-width: 100%; }
  .voice-core { width: 130px; height: 130px; }
  .hobbies-grid {
    grid-template-columns: 1fr;
  }
}

@media (hover: none) {
  .icon-btn:hover { transform: none; }
}

@supports (-webkit-touch-callout: none) {
  body { min-height: -webkit-fill-available; }
}

@supports (padding: max(0px)) {
  .topbar { padding-top: max(12px, env(safe-area-inset-top)); }
  .composer { padding-bottom: max(18px, env(safe-area-inset-bottom)); }
}

/* === Insights didáticos === */
.insight-intro {
  background: rgba(80, 200, 255, 0.06);
  border: 1px solid rgba(80, 200, 255, 0.15);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
}
.insight-intro p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-2);
}
.insight-intro strong {
  color: var(--accent);
  font-weight: 600;
}
.big5-item {
  margin-bottom: 14px;
}
.big5-desc {
  font-size: 12px;
  color: var(--fg-2);
  line-height: 1.45;
  margin-top: 4px;
  padding-left: 8px;
  border-left: 2px solid var(--accent-glow);
  opacity: 0.85;
}
.big5-row .val {
  min-width: 70px;
  text-align: right;
  font-size: 12px;
  font-weight: 500;
}
.fact .conf {
  font-size: 11px;
  opacity: 0.7;
}

.big5-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}
.big5-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.big5-row .bar {
  flex: 1;
}
.big5-row .val {
  min-width: 70px;
  text-align: right;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
}

/* === Streaming vivo === */

/* Bolinha pulsante (enquanto espera o primeiro token) */
.thinking-pulse {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  animation: thinkingPulse 1.2s ease-in-out infinite;
  vertical-align: middle;
}
@keyframes thinkingPulse {
  0%, 100% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 1; }
}

/* Cursor piscante (durante o streaming do texto) */
.stream-cursor {
  display: inline-block;
  margin-left: 2px;
  color: var(--accent);
  font-weight: 600;
  animation: cursorBlink 0.9s steps(2, start) infinite;
}
@keyframes cursorBlink {
  to { opacity: 0; }
}

/* Linha de status com fade suave */
.status-line {
  transition: opacity 0.3s ease;
  font-style: italic;
  color: var(--fg-2);
  opacity: 0.8;
  font-size: 12px;
  padding: 4px 16px;
}

/* === Oráculo: Summary + Insights === */
.oracle-summary {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  margin-bottom: 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(124,92,255,0.12), rgba(0,229,255,0.08));
  border: 1px solid rgba(124,92,255,0.25);
  backdrop-filter: blur(16px);
  box-shadow: 0 0 24px rgba(124,92,255,0.08);
}
.oracle-summary-icon {
  font-size: 24px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px var(--accent-glow));
  animation: oracleFloat 3s ease-in-out infinite;
}
@keyframes oracleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.oracle-summary-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--fg);
  font-style: italic;
  letter-spacing: 0.1px;
}

.oracle-insights-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.oracle-insight-item {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}
.oracle-insight-item:hover {
  border-color: var(--border-glow);
  background: rgba(124,92,255,0.06);
  transform: translateX(2px);
}
.oracle-insight-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px var(--accent-glow);
}
.oracle-insight-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg);
}

.facts-details {
  background: rgba(0,0,0,0.15);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
}
.facts-details summary {
  cursor: pointer;
  font-size: 12px;
  color: var(--fg-2);
  user-select: none;
  padding: 4px 0;
}
.facts-details summary:hover { color: var(--fg); }
.facts-details[open] { padding-bottom: 10px; }
.facts-details .fact-list { margin-top: 8px; }

/* === Mute button === */
#btn-mute .icon-volume-off { display: none; }
#btn-mute.active .icon-volume-on { display: none; }
#btn-mute.active .icon-volume-off { display: block; color: #ff5c7a; }
#btn-mute.active {
  border-color: rgba(255,92,122,0.3);
  background: rgba(255,92,122,0.08);
  color: #ff5c7a;
}
#btn-mute.active:hover {
  background: rgba(255,92,122,0.15);
  box-shadow: 0 0 20px rgba(255,92,122,0.15);
}

/* === Leva 2E.4: Movie cards === */
.cards-msg { max-width: 95%; align-self: flex-start; }
.cards-body { background: transparent !important; border: none !important; padding: 0 !important; box-shadow: none !important; }

.movie-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.movie-card {
  display: flex;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  backdrop-filter: blur(12px);
  transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
}

.movie-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3), 0 0 16px var(--accent-soft);
  transform: translateY(-1px);
}

.movie-poster {
  flex-shrink: 0;
  width: 92px;
  height: 138px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(124,92,255,0.12), rgba(0,229,255,0.06));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--fg-3);
}
.movie-poster.no-poster { color: var(--fg-3); }
.movie-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }

.movie-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.movie-title-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  justify-content: space-between;
}

.movie-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.3;
  flex: 1;
}

.movie-score {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-2);
  background: var(--accent-soft);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0,229,255,0.2);
  flex-shrink: 0;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 11px;
}

.movie-meta-item, .movie-badge {
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  color: var(--fg-2);
  font-weight: 500;
  white-space: nowrap;
}

.movie-runtime {
  background: rgba(255,255,255,0.03);
  font-family: 'JetBrains Mono', monospace;
}

.movie-badge.badge-sub {
  background: linear-gradient(135deg, rgba(124,92,255,0.18), rgba(0,229,255,0.10));
  border-color: rgba(124,92,255,0.3);
  color: var(--fg);
}
.movie-badge.badge-rent {
  background: rgba(255,180,80,0.10);
  border-color: rgba(255,180,80,0.25);
  color: #ffc46d;
}
.movie-badge.badge-free {
  background: rgba(80,220,140,0.10);
  border-color: rgba(80,220,140,0.25);
  color: #6dd7a3;
}

.movie-why {
  font-size: 12px;
  color: var(--fg-2);
  font-style: italic;
  line-height: 1.4;
  border-left: 2px solid var(--accent);
  padding-left: 8px;
  opacity: 0.9;
}

.movie-overview {
  font-size: 12.5px;
  color: var(--fg-2);
  line-height: 1.45;
}

.movie-actions {
  display: flex;
  gap: 6px;
  margin-top: 4px;
  align-items: center;
  flex-wrap: wrap;
}
.movie-actions button {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg-2);
  cursor: pointer;
  transition: all 0.2s;
}
.movie-actions button:hover {
  border-color: var(--accent);
  color: var(--fg);
  background: var(--accent-soft);
}
.movie-actions .accept.active {
  background: rgba(80,220,140,0.15);
  border-color: #6dd7a3;
  color: #6dd7a3;
}
.movie-actions .reject.active {
  background: rgba(255,92,122,0.12);
  border-color: #ff5c7a;
  color: #ff5c7a;
}
.movie-link {
  font-size: 11px;
  color: var(--fg-3);
  text-decoration: none;
  margin-left: auto;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}
.movie-link:hover { opacity: 1; color: var(--accent-2); }

@media (max-width: 480px) {
  .movie-poster { width: 76px; height: 114px; }
  .movie-card { padding: 10px; gap: 10px; }
  .movie-title { font-size: 13px; }
}/* === Vision button + menu (v5.0) === */
.vision-wrapper { position: relative; display: inline-block; }
#btn-vision { position: relative; }
#btn-vision.active {
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  box-shadow: 0 0 0 2px rgba(239,68,68,.3), 0 0 12px rgba(239,68,68,.4);
  animation: vision-pulse 2s ease-in-out infinite;
}
@keyframes vision-pulse {
  0%,100% { box-shadow: 0 0 0 2px rgba(239,68,68,.3), 0 0 12px rgba(239,68,68,.4); }
  50%     { box-shadow: 0 0 0 4px rgba(239,68,68,.2), 0 0 20px rgba(239,68,68,.6); }
}
.vision-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--bg-card, #1a1a1f);
  border: 1px solid var(--border, rgba(255,255,255,.1));
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
  padding: 6px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
[data-theme="light"] .vision-menu {
  background: #fff;
  border-color: rgba(0,0,0,.1);
  box-shadow: 0 12px 32px rgba(0,0,0,.15);
}
.vision-menu[hidden] { display: none; }
.vision-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: none;
  background: transparent;
  color: var(--text, #e5e5e5);
  cursor: pointer;
  border-radius: 8px;
  text-align: left;
  font-size: 14px;
  width: 100%;
  transition: background .15s;
}
.vision-menu-item:hover, .vision-menu-item:focus-visible {
  background: var(--hover, rgba(255,255,255,.06));
  outline: none;
}
[data-theme="light"] .vision-menu-item:hover { background: rgba(0,0,0,.05); }
.vision-menu-item .vmi-ico { font-size: 22px; line-height: 1; flex-shrink: 0; }
.vision-menu-item .vmi-txt { display: flex; flex-direction: column; gap: 2px; }
.vision-menu-item .vmi-txt b { font-weight: 600; font-size: 14px; }
.vision-menu-item .vmi-txt small { font-size: 11px; opacity: .65; }
.vision-menu-item.vision-stop b { color: #ef4444; }

/* Mobile: ocupa fundo da tela */
@media (max-width: 640px) {
  .vision-menu {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    border-radius: 16px 16px 0 0;
    min-width: unset;
    padding: 12px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
  .vision-menu-item { padding: 14px; }
}

/* Preview thumbnail (canto superior direito do voice pane) */
.vision-preview {
  position: fixed;
  top: 76px;
  right: 16px;
  width: 160px;
  aspect-ratio: 16/9;
  background: #000;
  border: 2px solid #ef4444;
  border-radius: 10px;
  overflow: hidden;
  z-index: 900;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  cursor: pointer;
}
.vision-preview video { width: 100%; height: 100%; object-fit: cover; }
.vision-preview .vp-badge {
  position: absolute; top: 6px; left: 6px;
  background: rgba(239,68,68,.95); color: #fff;
  font-size: 10px; font-weight: 700; padding: 2px 6px;
  border-radius: 4px; letter-spacing: .5px;
}
.vision-preview .vp-close {
  position: absolute; top: 4px; right: 4px;
  background: rgba(0,0,0,.6); color: #fff; border: none;
  width: 22px; height: 22px; border-radius: 50%;
  cursor: pointer; font-size: 14px; line-height: 1;
}
@media (max-width: 640px) {
  .vision-preview { width: 110px; top: 64px; right: 8px; }
}

/* === ORACLE_PENDING_BUBBLE_V6_5_5E === */
.oracle-pending-bubble-v655e {
  min-width: 32px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.86;
  white-space: pre-wrap;
}

.oracle-pending-bubble-v655e:empty::after {
  content: "...";
}

/* Safety net: any empty chat bubble should still communicate processing. */
.messages .bubble:empty::after,
.chat .bubble:empty::after,
.split-container .messages .bubble:empty::after,
.split-container .chat .bubble:empty::after {
  content: "...";
}
/* === END ORACLE_PENDING_BUBBLE_V6_5_5E === */
