.neurix-mascot { position:relative; vertical-align:middle; line-height:0; }
.neurix-mascot img { object-fit:contain; user-select:none; }
.neurix-mascot[data-moving] > img, .neurix-mascot-art[data-moving] {
  animation:neurix-mascot-float 5.5s ease-in-out infinite;
  transform-origin:50% 85%;
}
.neurix-mascot[data-listening] > img { animation-duration:2.8s; }
.neurix-mascot[data-pose="thinking"] > img { transform-origin:50% 75%; }
.neurix-mascot-mark { display:inline-block; width:32px; height:32px; object-fit:contain; flex-shrink:0; vertical-align:middle; }
@keyframes neurix-mascot-float { 0%,100% { transform:translateY(0) rotate(-.4deg); } 50% { transform:translateY(-3px) rotate(.4deg); } }
@media (prefers-reduced-motion:reduce) {
  .neurix-mascot img, .neurix-mascot-art { animation:none!important; transform:none!important; }
}

#neurix-root :is(.au-orb,.bn-orb,.nxd-brand-orb,.nxd-rail-orb), .nxd-brand-orb, .nxd-rail-orb {
  background:transparent url('/mascot/wave-512.png') center/contain no-repeat!important;
  border-radius:0!important; box-shadow:none!important; animation:none!important;
}
/* Keep the supplied face clear on narrow screens, without hiding its context. */
@media (max-width:640px) {
  .nx-orb-wrap { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .nx-orb-wrap > .neurix-mascot { grid-column:1 / -1; }
  .nx-orb-wrap > .nx-float-card {
    position:static!important; inset:auto!important; max-width:none!important;
    animation:none!important; padding:10px!important; font-size:11px!important;
  }
}
/* Pip's supplied internal motion replaces the old whole-image float. */
.neurix-mascot[data-pip] > img, img[data-pip-greeting] { animation:none!important; transform:none!important; }
