/* MY GENIE — Geni Voice Live styles (v1)
 * Dark cinematic stage inside the light panel; the living orb sits on a
 * deep warm-brown gradient that echoes the home hero scrim. */

.geni-voice {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 10px 10px 12px;
}

.geni-voice-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex: 1;
  min-height: 0;
  border-radius: 18px;
  overflow: hidden;
  padding: 26px 20px 22px;
  background:
    radial-gradient(130% 110% at 50% 0%, rgba(184, 90, 0, 0.16) 0%, rgba(184, 90, 0, 0) 52%),
    linear-gradient(160deg, #2A2016 0%, #1A130C 58%, #120D08 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 226, 180, 0.10);
}

/* — language toggle — */
.geni-voice-lang {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 4px;
  padding: 3px;
  border-radius: 10px;
  background: rgba(255, 232, 196, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 226, 180, 0.12);
}
.geni-voice-lang-btn {
  border: 0;
  background: none;
  color: rgba(255, 236, 208, 0.62);
  font: 600 11px/1 Inter, system-ui, sans-serif;
  padding: 5px 9px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}
.geni-voice-lang-btn.on {
  background: rgba(255, 214, 150, 0.16);
  color: #FFE8C4;
}
.geni-voice-lang-btn:hover { color: #FFF4DE; }

/* — orb — */
.geni-voice-orb { display: block; }

/* — status pill — */
.geni-voice-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font: 600 11px/1.4 ui-monospace, "JetBrains Mono", SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255, 238, 210, 0.85);
  background: rgba(255, 232, 196, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 226, 180, 0.14);
}
.geni-voice-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #E0A94A;
  box-shadow: 0 0 0 4px rgba(224, 169, 74, 0.16);
  animation: geni-voice-pulse 1.6s ease-in-out infinite;
}
.geni-voice-status.st-listening .geni-voice-status-dot { background: #FFC862; box-shadow: 0 0 0 4px rgba(255, 200, 98, 0.20); }
.geni-voice-status.st-thinking .geni-voice-status-dot { background: #E08A2C; animation-duration: 0.7s; }
.geni-voice-status.st-speaking .geni-voice-status-dot { background: #FFB84D; }
.geni-voice-status.st-error .geni-voice-status-dot { background: #D66B50; box-shadow: 0 0 0 4px rgba(214, 107, 80, 0.16); animation: none; }
.geni-voice-status.st-idle .geni-voice-status-dot { animation: none; }
@keyframes geni-voice-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.72); opacity: 0.6; }
}

/* — live transcript / reply / error — */
.geni-voice-heard,
.geni-voice-reply,
.geni-voice-error {
  max-width: 92%;
  text-align: center;
  font-family: Inter, system-ui, sans-serif;
  animation: geni-voice-in 260ms ease both;
}
.geni-voice-heard {
  color: rgba(255, 240, 214, 0.78);
  font-size: 13px;
  line-height: 1.55;
  min-height: 20px;
}
.geni-voice-reply {
  color: #FFF2DC;
  font-size: 13.5px;
  line-height: 1.62;
  font-weight: 500;
}
.geni-voice-error {
  color: #F0B7A4;
  font-size: 12.5px;
  line-height: 1.55;
}
@keyframes geni-voice-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

/* — actions — */
.geni-voice-actions {
  display: flex;
  gap: 8px;
  margin-top: 2px;
}
.geni-voice-stop,
.geni-voice-restart,
.geni-voice-chat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  font: 600 12px/1 Inter, system-ui, sans-serif;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, transform 140ms ease;
}
.geni-voice-stop {
  background: rgba(255, 120, 80, 0.16);
  color: #FFCBB8;
  box-shadow: inset 0 0 0 1px rgba(255, 140, 100, 0.28);
}
.geni-voice-stop:hover { background: rgba(255, 120, 80, 0.26); }
.geni-voice-restart {
  background: rgba(255, 214, 150, 0.16);
  color: #FFE8C4;
  box-shadow: inset 0 0 0 1px rgba(255, 214, 150, 0.26);
}
.geni-voice-restart:hover { background: rgba(255, 214, 150, 0.26); }
.geni-voice-chat {
  background: none;
  color: rgba(255, 236, 208, 0.62);
  box-shadow: inset 0 0 0 1px rgba(255, 226, 180, 0.14);
}
.geni-voice-chat:hover { color: #FFF4DE; }
.geni-voice-stop:active,
.geni-voice-restart:active,
.geni-voice-chat:active { transform: scale(0.97); }

/* — header mic toggle state — */
.geni-btn-ghost.geni-btn-active {
  background: rgba(184, 90, 0, 0.12);
  color: #B85A00;
}

/* — thinking-orbs integration: chat sizes + empty-state swap — */
.geni-thinking-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.geni-empty-orb.geni-empty-orb-live {
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}
.geni-empty-orb.geni-empty-orb-live::before { display: none; }
.geni-empty-orb.geni-empty-orb-live canvas { margin: 0 auto; }
