.jmp-assistant {
  --jmp-shell: #dce6ed;
  --jmp-ink: #273c50;
  --jmp-cyan: #9ceaff;
  display: inline-block;
  width: min(100%, 390px);
  font-family: Arial, sans-serif;
}
.jmp-assistant * { box-sizing: border-box; }
.jmp-stage {
  position: relative;
  overflow: hidden;
  padding: 25px 18px 20px;
  border: 1px solid #c1ccd6;
  border-radius: 26px;
  background: radial-gradient(ellipse at 50% 45%, #e9f1f8 0%, #dce5ed 48%, #cbd6e0 100%);
}
.jmp-stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(#8799aa .7px, transparent .7px);
  background-size: 17px 17px; opacity: .2;
}
.jmp-robot {
  position: relative; width: min(100%, 245px); margin: 0 auto;
  filter: drop-shadow(0 12px 8px #53657835);
  animation: jmp-float 3.5s ease-in-out infinite;
}
.jmp-robot svg { display: block; width: 100%; height: auto; overflow: visible; }
.jmp-brand {
  font-family: "Tempus Sans ITC", "Tempus Sans", cursive;
  font-size: 22px; fill: var(--jmp-ink); letter-spacing: 1px;
}
.jmp-eye { fill: var(--jmp-cyan); stroke: #4eb8dc; stroke-width: 2; }
.jmp-pupil { fill: #123e5d; }
.jmp-brow { fill: none; stroke: #a5eaff; stroke-width: 4; stroke-linecap: round; }
.jmp-mouth { fill: none; stroke: #8ce4fa; stroke-width: 4; stroke-linecap: round; }
.jmp-cheek { fill: none; stroke: #65b9dc; stroke-width: 3; stroke-linecap: round; opacity: .0; }
.jmp-status {
  position: relative; margin-top: 8px; text-align: center;
  color: #526c80; font-size: 11px; font-weight: 700; letter-spacing: 2px;
}
.jmp-assistant[data-state="happy"] .jmp-cheek { opacity: .9; }
.jmp-assistant[data-state="listening"] .jmp-robot { animation-duration: 2.2s; }
.jmp-assistant[data-state="thinking"] .jmp-robot { animation-duration: 4.5s; }
.jmp-assistant[data-state="speaking"] .jmp-mouth { animation: jmp-talk .24s ease-in-out infinite alternate; }
.jmp-assistant[data-state="surprised"] .jmp-mouth { stroke-width: 3.5; }
.jmp-assistant[data-state="sleeping"] .jmp-robot { animation: none; }
@keyframes jmp-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes jmp-talk { from { transform: scaleY(.65); } to { transform: scaleY(1.25); } }
@media (prefers-reduced-motion: reduce) {
  .jmp-robot, .jmp-mouth { animation: none !important; }
}
