.nyunga-iga__launcher-mark,
.nyunga-iga__avatar {
  overflow: visible;
  isolation: isolate;
}

.nyunga-ai-robot {
  position: relative;
  display: block;
  width: 31px;
  height: 31px;
  animation: nyunga-ai-robot-float 3.2s ease-in-out infinite;
}

.nyunga-ai-robot__halo {
  position: absolute;
  z-index: -1;
  inset: -2px;
  border: 1px dashed rgba(11, 122, 91, .38);
  border-radius: 50%;
  animation: nyunga-ai-robot-orbit 7s linear infinite;
}

.nyunga-ai-robot__antenna {
  position: absolute;
  z-index: 2;
  top: -1px;
  left: 50%;
  width: 2px;
  height: 8px;
  border-radius: 2px;
  background: var(--nyunga-ai-brand-dark, #075b45);
  transform: translateX(-50%);
}

.nyunga-ai-robot__antenna i {
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border: 1px solid var(--nyunga-ai-brand-dark, #075b45);
  border-radius: 50%;
  background: var(--nyunga-ai-glow, #78d5b8);
  box-shadow: 0 0 7px rgba(120, 213, 184, .9);
  transform: translateX(-50%);
  animation: nyunga-ai-robot-signal 2.2s ease-in-out infinite;
}

.nyunga-ai-robot__ear {
  position: absolute;
  z-index: 1;
  top: 13px;
  width: 4px;
  height: 9px;
  border: 1px solid var(--nyunga-ai-brand-dark, #075b45);
  background: var(--nyunga-ai-glow, #78d5b8);
  box-shadow: 0 0 5px rgba(120, 213, 184, .5);
}

.nyunga-ai-robot__ear--left {
  left: 0;
  border-radius: 4px 1px 1px 4px;
}

.nyunga-ai-robot__ear--right {
  right: 0;
  border-radius: 1px 4px 4px 1px;
}

.nyunga-ai-robot__face {
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 3px;
  width: 25px;
  height: 21px;
  overflow: hidden;
  border: 1px solid var(--nyunga-ai-brand-dark, #075b45);
  border-radius: 8px 8px 10px 10px;
  background: linear-gradient(145deg, var(--nyunga-ai-brand, #0b7a5b), var(--nyunga-ai-brand-dark, #075b45));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 3px 7px rgba(2, 54, 41, .3);
}

.nyunga-ai-robot__face::before {
  content: "";
  position: absolute;
  top: 3px;
  right: 6px;
  left: 6px;
  height: 1px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .32);
}

.nyunga-ai-robot__scan {
  position: absolute;
  z-index: 3;
  top: 3px;
  right: 2px;
  left: 2px;
  height: 1px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 0 5px rgba(255, 255, 255, .72);
  opacity: 0;
  animation: nyunga-ai-robot-scan 3.8s ease-in-out infinite;
}

.nyunga-ai-robot__eyes {
  position: absolute;
  z-index: 4;
  top: 7px;
  right: 5px;
  left: 5px;
  display: flex;
  justify-content: space-between;
}

.nyunga-ai-robot__eyes i {
  width: 5px;
  height: 4px;
  border-radius: 4px 4px 3px 3px;
  background: #fff;
  box-shadow: 0 0 6px rgba(120, 213, 184, .95);
  transform-origin: center;
  animation: nyunga-ai-robot-blink 4.6s ease-in-out infinite;
}

.nyunga-ai-robot__mouth {
  position: absolute;
  z-index: 4;
  right: 8px;
  bottom: 4px;
  left: 8px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 1px;
  height: 4px;
}

.nyunga-ai-robot__mouth i {
  display: block;
  width: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--nyunga-ai-glow, #78d5b8);
  box-shadow: 0 0 3px rgba(120, 213, 184, .8);
  animation: nyunga-ai-robot-talk 1.8s ease-in-out infinite;
}

.nyunga-ai-robot__mouth i:nth-child(2) { animation-delay: .18s; }
.nyunga-ai-robot__mouth i:nth-child(3) { animation-delay: .36s; }
.nyunga-iga.is-thinking .nyunga-ai-robot { animation: nyunga-ai-robot-think .68s ease-in-out infinite; }
.nyunga-iga.is-thinking .nyunga-ai-robot__face { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .36), 0 0 11px rgba(120, 213, 184, .88); }
.nyunga-iga.is-thinking .nyunga-ai-robot__halo { border-style: solid; animation-duration: 1.35s; }
.nyunga-iga.is-thinking .nyunga-ai-robot__antenna i { animation-duration: .7s; }
.nyunga-iga.is-thinking .nyunga-ai-robot__mouth i { animation-duration: .42s; }
.nyunga-iga__launcher:hover .nyunga-ai-robot__halo { border-color: rgba(11, 122, 91, .72); }

@keyframes nyunga-ai-robot-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-1.5px) rotate(1.5deg); }
}

@keyframes nyunga-ai-robot-orbit {
  to { transform: rotate(360deg); }
}

@keyframes nyunga-ai-robot-signal {
  0%, 100% { transform: translateX(-50%) scale(.78); opacity: .65; }
  50% { transform: translateX(-50%) scale(1.15); opacity: 1; }
}

@keyframes nyunga-ai-robot-scan {
  0%, 20% { transform: translateY(0); opacity: 0; }
  34%, 58% { opacity: .65; }
  72%, 100% { transform: translateY(14px); opacity: 0; }
}

@keyframes nyunga-ai-robot-blink {
  0%, 43%, 47%, 100% { transform: scaleY(1); }
  45% { transform: scaleY(.12); }
}

@keyframes nyunga-ai-robot-talk {
  0%, 100% { height: 1px; opacity: .65; }
  50% { height: 4px; opacity: 1; }
}

@keyframes nyunga-ai-robot-think {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-2px) rotate(2deg); }
}

@media (prefers-reduced-motion: reduce) {
  .nyunga-ai-robot,
  .nyunga-ai-robot * {
    animation: none !important;
  }
}
