/* UI_ROBOT_EMOTIONS_V19_20260728 — playful, non-blocking robot emotion system */
.ai-float-launcher[data-emotion-ready="1"]{
  --robot-emotion-accent:#8065bf;
  --robot-emotion-mint:#78c8a8;
  --robot-emotion-peach:#ef8d83;
  will-change:transform,opacity;
  isolation:isolate;
}
.ai-float-launcher[data-emotion-ready="1"],
.ai-float-launcher[data-emotion-ready="1"] *{
  backface-visibility:hidden;
}
.ai-robot-emotion-layer{
  position:absolute;
  inset:-26px;
  z-index:20;
  overflow:visible;
  pointer-events:none;
}
.ai-robot-emotion-bubble{
  position:absolute;
  left:50%;
  bottom:calc(100% + 14px);
  min-width:max-content;
  max-width:190px;
  padding:8px 11px;
  border:2px solid rgba(255,255,255,.92);
  border-radius:14px 14px 14px 5px;
  background:rgba(255,255,255,.96);
  color:#5f4a78;
  box-shadow:0 10px 25px rgba(93,67,126,.18);
  font:700 12px/1.35 "Noto Sans KR","Malgun Gothic",sans-serif;
  letter-spacing:-.02em;
  white-space:nowrap;
  opacity:0;
  transform:translate(-50%,8px) scale(.82);
  transform-origin:45% 100%;
  transition:opacity .18s ease,transform .24s cubic-bezier(.2,.9,.3,1.25);
}
.ai-robot-emotion-bubble.is-visible{
  opacity:1;
  transform:translate(-50%,0) scale(1);
}
.ai-robot-emotion-bubble::after{
  content:"";
  position:absolute;
  left:17px;
  top:100%;
  width:10px;
  height:10px;
  border-right:2px solid rgba(255,255,255,.92);
  border-bottom:2px solid rgba(255,255,255,.92);
  background:rgba(255,255,255,.96);
  transform:translateY(-5px) rotate(45deg);
}
.ai-robot-emotion-shadow{
  position:absolute;
  left:50%;
  bottom:12px;
  width:48px;
  height:10px;
  border-radius:50%;
  background:rgba(87,61,126,.14);
  filter:blur(2px);
  opacity:.7;
  transform:translateX(-50%);
  transition:transform .18s ease,opacity .18s ease;
}
.ai-robot-emotion-particle{
  position:absolute;
  left:50%;
  top:50%;
  width:7px;
  height:7px;
  border-radius:3px;
  background:var(--particle-color,var(--robot-emotion-accent));
  opacity:0;
  animation:aiRobotParticleV19 1.15s cubic-bezier(.16,.8,.35,1) forwards;
  animation-delay:var(--particle-delay,0ms);
  transform:translate(-50%,-50%) rotate(var(--particle-rotate,0deg));
}
.ai-robot-emotion-note{
  position:absolute;
  left:50%;
  top:34%;
  color:#8065bf;
  font:800 19px/1 sans-serif;
  opacity:0;
  text-shadow:0 2px 0 #fff;
  animation:aiRobotNoteV19 1.4s ease-out forwards;
  animation-delay:var(--note-delay,0ms);
}
.ai-robot-emotion-ring{
  position:absolute;
  left:50%;
  top:44%;
  width:30px;
  height:30px;
  border:3px solid rgba(120,200,168,.72);
  border-radius:50%;
  opacity:0;
  transform:translate(-50%,-50%) scale(.25);
}

/* Run / sprint */
.ai-float-launcher.robot-emotion--running .ai-float-launcher__robot{
  animation:aiRobotRunBobV19 .18s linear infinite!important;
}
.ai-float-launcher.robot-emotion--running .ai-robot__arm--left{
  animation:aiRobotRunArmLeftV19 .18s linear infinite!important;
}
.ai-float-launcher.robot-emotion--running .ai-robot__arm--right{
  animation:aiRobotRunArmRightV19 .18s linear infinite!important;
}
.ai-float-launcher.robot-emotion--running .ai-robot__leg--left{
  animation:aiRobotRunLegLeftV19 .18s linear infinite!important;
}
.ai-float-launcher.robot-emotion--running .ai-robot__leg--right{
  animation:aiRobotRunLegRightV19 .18s linear infinite!important;
}
.ai-float-launcher.robot-emotion--running.is-running-left .ai-float-launcher__robot{
  filter:drop-shadow(7px 4px 5px rgba(87,61,126,.18));
}
.ai-float-launcher.robot-emotion--running.is-running-right .ai-float-launcher__robot{
  filter:drop-shadow(-7px 4px 5px rgba(87,61,126,.18));
}

/* Dance */
.ai-float-launcher.robot-emotion--dance .ai-float-launcher__robot{
  animation:aiRobotDanceBodyV19 .48s ease-in-out infinite!important;
}
.ai-float-launcher.robot-emotion--dance .ai-robot__arm--left{
  animation:aiRobotDanceArmLeftV19 .48s ease-in-out infinite!important;
}
.ai-float-launcher.robot-emotion--dance .ai-robot__arm--right{
  animation:aiRobotDanceArmRightV19 .48s ease-in-out infinite!important;
}
.ai-float-launcher.robot-emotion--dance .ai-robot__leg--left{
  animation:aiRobotDanceFootLeftV19 .48s ease-in-out infinite!important;
}
.ai-float-launcher.robot-emotion--dance .ai-robot__leg--right{
  animation:aiRobotDanceFootRightV19 .48s ease-in-out infinite!important;
}
.ai-float-launcher.robot-emotion--dance .ai-robot-emotion-shadow{
  animation:aiRobotShadowBeatV19 .48s ease-in-out infinite;
}

/* Sleep / charging */
.ai-float-launcher.robot-emotion--sleep .ai-float-launcher__robot{
  animation:aiRobotSleepV19 2.2s ease-in-out infinite!important;
  filter:saturate(.78);
}
.ai-float-launcher.robot-emotion--sleep .ai-robot__eye{
  height:3px!important;
  top:16px!important;
  border-radius:999px!important;
  animation:none!important;
}
.ai-float-launcher.robot-emotion--sleep .ai-robot__smile{
  width:9px!important;
  height:2px!important;
  top:27px!important;
  border:0!important;
  border-radius:999px!important;
  background:#fff!important;
  transform:rotate(-4deg)!important;
}
.ai-float-launcher.robot-emotion--sleep .ai-robot__antenna{
  animation:aiRobotSleepAntennaV19 2.2s ease-in-out infinite!important;
}

/* Scan / curious */
.ai-float-launcher.robot-emotion--scan .ai-float-launcher__robot{
  animation:aiRobotScanTiltV19 1.35s ease-in-out infinite!important;
}
.ai-float-launcher.robot-emotion--scan .ai-robot__eye--left{
  animation:aiRobotEyeScanLeftV19 .75s ease-in-out infinite!important;
}
.ai-float-launcher.robot-emotion--scan .ai-robot__eye--right{
  animation:aiRobotEyeScanRightV19 .75s ease-in-out infinite!important;
}
.ai-float-launcher.robot-emotion--scan .ai-robot-emotion-ring{
  animation:aiRobotRadarV19 1.15s ease-out infinite;
}

/* Surprise */
.ai-float-launcher.robot-emotion--surprise .ai-float-launcher__robot{
  animation:aiRobotSurpriseV19 .62s cubic-bezier(.2,.9,.3,1.35) both!important;
}
.ai-float-launcher.robot-emotion--surprise .ai-robot__eye{
  width:10px!important;
  height:13px!important;
  top:9px!important;
  border-radius:50%!important;
  animation:none!important;
}
.ai-float-launcher.robot-emotion--surprise .ai-robot__smile{
  left:20px!important;
  top:26px!important;
  width:8px!important;
  height:8px!important;
  border:2px solid #fff!important;
  border-radius:50%!important;
  background:transparent!important;
  transform:none!important;
}
.ai-float-launcher.robot-emotion--surprise .ai-robot__arm--left{
  animation:aiRobotHandsUpLeftV19 .62s ease-out both!important;
}
.ai-float-launcher.robot-emotion--surprise .ai-robot__arm--right{
  animation:aiRobotHandsUpRightV19 .62s ease-out both!important;
}

/* Celebration */
.ai-float-launcher.robot-emotion--celebrate .ai-float-launcher__robot{
  animation:aiRobotCelebrateJumpV19 .72s cubic-bezier(.25,.8,.2,1) infinite!important;
}
.ai-float-launcher.robot-emotion--celebrate .ai-robot__arm--left{
  animation:aiRobotCelebrateArmLeftV19 .72s ease-in-out infinite!important;
}
.ai-float-launcher.robot-emotion--celebrate .ai-robot__arm--right{
  animation:aiRobotCelebrateArmRightV19 .72s ease-in-out infinite!important;
}
.ai-float-launcher.robot-emotion--celebrate .ai-robot-emotion-shadow{
  animation:aiRobotCelebrateShadowV19 .72s ease-in-out infinite;
}

/* Peekaboo / teleport */
.ai-float-launcher.robot-emotion--teleport-in .ai-float-launcher__robot{
  animation:aiRobotTeleportInV19 .72s cubic-bezier(.15,.85,.25,1.35) both!important;
}
.ai-float-launcher.robot-emotion--peek .ai-float-launcher__robot{
  animation:aiRobotPeekV19 .65s ease-in-out infinite!important;
}
.ai-float-launcher.robot-emotion--peek .ai-robot__eye{
  animation:aiRobotPeekEyesV19 .9s ease-in-out infinite!important;
}

/* Hover delight */
.ai-float-launcher[data-emotion-ready="1"]:hover:not(.is-dragging) .ai-robot__eye{
  filter:drop-shadow(0 0 3px rgba(255,255,255,.85));
}

@keyframes aiRobotParticleV19{
  0%{opacity:0;transform:translate(-50%,-50%) scale(.45) rotate(var(--particle-rotate,0deg))}
  18%{opacity:1}
  100%{opacity:0;transform:translate(calc(-50% + var(--particle-x,0px)),calc(-50% + var(--particle-y,-54px))) scale(.95) rotate(calc(var(--particle-rotate,0deg) + 180deg))}
}
@keyframes aiRobotNoteV19{
  0%{opacity:0;transform:translate(-50%,8px) rotate(-8deg) scale(.75)}
  20%{opacity:1}
  100%{opacity:0;transform:translate(calc(-50% + var(--note-x,0px)),-56px) rotate(12deg) scale(1.08)}
}
@keyframes aiRobotRunBobV19{
  0%,100%{transform:translate(-50%,-50%) scale(.78) translateY(0) rotate(-2deg)}
  50%{transform:translate(-50%,-50%) scale(.78) translateY(-4px) rotate(2deg)}
}
@keyframes aiRobotRunArmLeftV19{0%,100%{transform:rotate(58deg)}50%{transform:rotate(-42deg)}}
@keyframes aiRobotRunArmRightV19{0%,100%{transform:rotate(-58deg)}50%{transform:rotate(42deg)}}
@keyframes aiRobotRunLegLeftV19{0%,100%{transform:rotate(30deg) translateY(-2px)}50%{transform:rotate(-24deg) translateY(1px)}}
@keyframes aiRobotRunLegRightV19{0%,100%{transform:rotate(-24deg) translateY(1px)}50%{transform:rotate(30deg) translateY(-2px)}}
@keyframes aiRobotDanceBodyV19{
  0%,100%{transform:translate(-50%,-50%) scale(.78) rotate(-8deg) translateY(0)}
  50%{transform:translate(-50%,-50%) scale(.78) rotate(8deg) translateY(-6px)}
}
@keyframes aiRobotDanceArmLeftV19{0%,100%{transform:rotate(72deg)}50%{transform:rotate(-15deg)}}
@keyframes aiRobotDanceArmRightV19{0%,100%{transform:rotate(15deg)}50%{transform:rotate(-72deg)}}
@keyframes aiRobotDanceFootLeftV19{0%,100%{transform:translateY(-4px) rotate(-14deg)}50%{transform:translateY(1px) rotate(5deg)}}
@keyframes aiRobotDanceFootRightV19{0%,100%{transform:translateY(1px) rotate(-5deg)}50%{transform:translateY(-4px) rotate(14deg)}}
@keyframes aiRobotShadowBeatV19{0%,100%{transform:translateX(-50%) scaleX(1);opacity:.62}50%{transform:translateX(-50%) scaleX(.62);opacity:.35}}
@keyframes aiRobotSleepV19{
  0%,100%{transform:translate(-50%,-50%) scale(.78) translateY(1px) rotate(-3deg)}
  50%{transform:translate(-50%,-50%) scale(.78) translateY(4px) rotate(3deg)}
}
@keyframes aiRobotSleepAntennaV19{0%,100%{transform:rotate(-18deg)}50%{transform:rotate(-11deg)}}
@keyframes aiRobotScanTiltV19{
  0%,100%{transform:translate(-50%,-50%) scale(.78) rotate(-7deg)}
  50%{transform:translate(-50%,-50%) scale(.78) rotate(7deg)}
}
@keyframes aiRobotEyeScanLeftV19{0%,100%{transform:translateX(-2px) scaleY(.9)}50%{transform:translateX(4px) scaleY(1)}}
@keyframes aiRobotEyeScanRightV19{0%,100%{transform:translateX(-4px) scaleY(1)}50%{transform:translateX(2px) scaleY(.9)}}
@keyframes aiRobotRadarV19{
  0%{opacity:.72;transform:translate(-50%,-50%) scale(.2)}
  100%{opacity:0;transform:translate(-50%,-50%) scale(3.2)}
}
@keyframes aiRobotSurpriseV19{
  0%{transform:translate(-50%,-50%) scale(.78)}
  45%{transform:translate(-50%,-50%) scale(.88) translateY(-10px)}
  100%{transform:translate(-50%,-50%) scale(.78)}
}
@keyframes aiRobotHandsUpLeftV19{0%{transform:rotate(12deg)}55%,100%{transform:rotate(145deg) translateY(-4px)}}
@keyframes aiRobotHandsUpRightV19{0%{transform:rotate(-12deg)}55%,100%{transform:rotate(-145deg) translateY(-4px)}}
@keyframes aiRobotCelebrateJumpV19{
  0%,100%{transform:translate(-50%,-50%) scale(.78) translateY(0)}
  45%{transform:translate(-50%,-50%) scale(.81) translateY(-13px) rotate(4deg)}
}
@keyframes aiRobotCelebrateArmLeftV19{0%,100%{transform:rotate(110deg)}50%{transform:rotate(150deg)}}
@keyframes aiRobotCelebrateArmRightV19{0%,100%{transform:rotate(-110deg)}50%{transform:rotate(-150deg)}}
@keyframes aiRobotCelebrateShadowV19{0%,100%{transform:translateX(-50%) scaleX(1);opacity:.62}45%{transform:translateX(-50%) scaleX(.45);opacity:.22}}
@keyframes aiRobotTeleportInV19{
  0%{opacity:0;transform:translate(-50%,-50%) scale(.18) rotate(-22deg);filter:blur(7px)}
  65%{opacity:1;transform:translate(-50%,-50%) scale(.88) rotate(5deg);filter:blur(0)}
  100%{opacity:1;transform:translate(-50%,-50%) scale(.78) rotate(0);filter:blur(0)}
}
@keyframes aiRobotPeekV19{
  0%,100%{transform:translate(-50%,-50%) scale(.78) rotate(-7deg)}
  50%{transform:translate(-50%,-50%) scale(.78) rotate(7deg) translateY(-3px)}
}
@keyframes aiRobotPeekEyesV19{0%,100%{transform:scaleY(1)}45%,55%{transform:scaleY(.18)}}

@media(max-width:620px){
  .ai-robot-emotion-bubble{max-width:145px;font-size:11px;padding:7px 9px}
  .ai-robot-emotion-layer{inset:-20px}
}
@media(prefers-reduced-motion:reduce){
  .ai-robot-emotion-layer{display:none!important}
  .ai-float-launcher[data-emotion-ready="1"]{transform:none!important;opacity:1!important}
}
