/* CyberCompany matte mascots 1.6.2: chatbot and assistant chooser. */
.cc-robot-avatar{display:inline-block;position:relative;width:40px;height:40px;flex:none;vertical-align:middle;line-height:0;pointer-events:none;isolation:isolate;transform:scale(1);transform-origin:center;transition:transform .18s cubic-bezier(.2,.7,.3,1)}
.cc-robot-avatar>svg{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;overflow:visible!important;transform:none!important;fill:none;stroke:none}
.cc-robot-avatar-launcher{width:100%;height:100%}
.cc-avatar-launcher>.cc-robot-avatar{position:relative!important;inset:auto!important;display:block!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;overflow:hidden!important}
.cc-robot-avatar-mobile{width:32px;height:32px}
.cc-robot-avatar-header{width:42px;height:42px}
.cc-robot-avatar-selector{position:relative!important;inset:auto!important;display:block!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;max-width:38px!important;max-height:38px!important;flex:0 0 38px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
.cc-avatar-selector-host{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;flex:0 0 38px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;overflow:visible!important;background:transparent!important;background-image:none!important;box-shadow:none!important}
html .cc-avatar-selector-host.cc-avatar-image-host[class],html[data-style="clean"] .cc-avatar-selector-host.cc-avatar-image-host[class]{background:transparent!important;background-image:none!important;box-shadow:none!important}
.cc-avatar-source{display:none!important}
.cc-avatar-image-host>.cc-robot-avatar{object-fit:contain}
.mobile-chat-bot.cc-avatar-image-host,.cc-mobile-chat-avatar.cc-avatar-image-host,.mobile-chat-avatar.cc-avatar-image-host{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;padding:0!important;border:0!important;border-radius:50%!important;overflow:visible!important;background:transparent!important;box-shadow:none!important}
.cc-avatar-frame-host{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;padding:0!important;border:0!important;overflow:visible!important;background:transparent!important;box-shadow:none!important}
.cc-avatar-frame-host>.cc-robot-avatar{position:relative!important;inset:auto!important;margin:0!important}
.cc-avatar-launcher{width:68px!important;height:68px!important;min-width:68px!important;min-height:68px!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;transform:none!important}
.cc-avatar-launcher::before,.cc-avatar-launcher::after{display:none!important}
html[data-style="clean"] .cc-avatar-launcher.cc-avatar-control[class],html[data-style="clean"] .cc-avatar-frame-host.cc-avatar-image-host[class]{background:transparent!important;background-image:none!important;box-shadow:none!important}
.cc-avatar-launcher>:not(.cc-robot-avatar){display:none!important}
.cc-avatar-launcher:focus-visible{outline:2px solid var(--accent,#8a2be2);outline-offset:5px}
@media(max-width:820px){.cc-avatar-launcher{width:60px!important;height:60px!important;min-width:60px!important;min-height:60px!important}}
@media(prefers-reduced-motion:reduce){
  .cc-robot-avatar{transition:none!important;transform:none!important}
}

/* Closed chooser fits existing 34px grid and collapsed rail without clipping. */
:is(.cc-assistant-selector,.assistant-selector) .cc-avatar-selector-host.cc-avatar-image-host[class],:is(.cc-assistant-selector,.assistant-selector) .cc-robot-avatar-selector{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;max-width:32px!important;max-height:32px!important;flex:0 0 32px!important}

/* Constant white xenon on hover/focus, behind the original eye animation. */
.cc-chest-light{opacity:0;transition:opacity .22s ease;pointer-events:none}
@media(hover:hover) and (pointer:fine){.cc-avatar-control:hover .cc-chest-light{opacity:1}}
.cc-avatar-control:focus-visible .cc-chest-light{opacity:1}
@media(prefers-reduced-motion:reduce){.cc-chest-light{transition:none!important}}

/* Matte mascot in the existing hit area. The artwork never scales outside it. */
.cc-mascot-motion { transform:translateY(0); animation:cc-mascot-float 4.6s ease-in-out infinite; }
.cc-mascot-eyes { opacity:0; }
@keyframes cc-mascot-float { 0%,100% {transform:translateY(0)} 50% {transform:translateY(-2px)} }
@keyframes cc-mascot-blink { 0%,34%,63%,100% {opacity:0} 42%,55% {opacity:1} }
@media (hover:hover) and (pointer:fine) {
  .cc-avatar-control:hover .cc-mascot-eyes {animation:cc-mascot-blink .55s ease both}
}
.cc-avatar-control:focus-visible .cc-mascot-eyes {animation:cc-mascot-blink .55s ease both}
@media(prefers-reduced-motion:reduce) {
  .cc-mascot-motion,.cc-mascot-eyes {animation:none!important}
}

/* Keep the eyes and the 4C chest mark visible in every sidebar avatar. */
:is(.cc-robot-avatar-selector,.cc-robot-avatar-mobile) {
  overflow: hidden !important;
  border-radius: 50% !important;
  background: #92939e29 !important;
  box-shadow: inset 0 0 0 1px #90919b6e !important;
}
:is(.cc-robot-avatar-selector,.cc-robot-avatar-launcher,.cc-robot-avatar-mobile) > .cc-mascot-full { display: none !important; }
:is(.cc-robot-avatar-selector,.cc-robot-avatar-launcher,.cc-robot-avatar-mobile) .cc-mascot-motion { animation: none; }

.cc-avatar-launcher {
  --cc-avatar-disc: #28282d;
  --cc-avatar-rim: #85858e;
}
html[data-theme="light"] .cc-avatar-launcher {
  --cc-avatar-disc: #f2f2f5;
  --cc-avatar-rim: #797981;
}
.cc-avatar-launcher > .cc-robot-avatar {
  background: var(--cc-avatar-disc) !important;
  box-shadow: inset 0 0 0 1px var(--cc-avatar-rim), 0 3px 12px #11111440 !important;
  transform: scale(.94);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.cc-avatar-launcher .cc-mascot-bust { filter: grayscale(1); }
.cc-avatar-launcher:focus-visible .cc-mascot-bust { filter: none; }
.cc-avatar-launcher:focus-visible > .cc-robot-avatar {
  background: color-mix(in srgb, var(--cc-mascot-glow) 22%, var(--cc-avatar-disc)) !important;
  box-shadow: inset 0 0 0 1px var(--cc-mascot-glow), 0 0 9px var(--cc-mascot-glow) !important;
  transform: scale(1);
}
@media (hover:hover) and (pointer:fine) {
  .cc-avatar-launcher:hover .cc-mascot-bust { filter: none; }
  .cc-avatar-launcher:hover > .cc-robot-avatar {
    background: color-mix(in srgb, var(--cc-mascot-glow) 22%, var(--cc-avatar-disc)) !important;
    box-shadow: inset 0 0 0 1px var(--cc-mascot-glow), 0 0 9px var(--cc-mascot-glow) !important;
    transform: scale(1);
  }
}

/* Use the standard circular mascot crop in the five-slot mobile dock. */
.cc-more-dock .cc-more-chat-trigger > .cc-robot-avatar-mobile {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
}
