.nubi-mascot{display:grid;grid-template:minmax(0,1fr)/minmax(0,1fr);place-items:center;flex:0 0 auto;min-width:0;min-height:0;overflow:visible;line-height:0}
.nubi-mascot img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;min-width:0;min-height:0;object-fit:contain;filter:drop-shadow(0 5px 7px rgba(70,40,60,.12));transform-origin:50% 84%}
.nubi-mascot-idle img{animation:nubi-idle 3.2s ease-in-out infinite}
.nubi-mascot-greeting img{animation:nubi-greeting .62s ease-in-out 2}
.nubi-mascot-attentive img{transform:translateY(-2px) rotate(-1deg)}
.nubi-mascot-dragging img{animation:nubi-drag .42s ease-in-out infinite alternate}
.nubi-mascot-thinking img{animation:nubi-thinking .9s ease-in-out infinite}
.nubi-mascot-waiting img{animation:nubi-waiting 1.15s ease-in-out infinite}
.nubi-mascot-answering img{animation:nubi-answer .48s ease-in-out 2}
.nubi-mascot-error img{animation:nubi-error .28s ease-in-out 2;filter:drop-shadow(0 5px 7px rgba(150,40,50,.2))}
.nubi-mascot-offline img{filter:grayscale(.35) drop-shadow(0 5px 7px rgba(70,40,60,.1))}
.nubi-mascot-paused img{animation-play-state:paused!important}
@keyframes nubi-idle{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-4px) rotate(1deg)}}
@keyframes nubi-greeting{0%,100%{transform:rotate(0) scale(1)}50%{transform:rotate(6deg) scale(1.025)}}
@keyframes nubi-drag{from{transform:translateY(-2px) rotate(-2deg)}to{transform:translateY(2px) rotate(2deg)}}
@keyframes nubi-thinking{0%,100%{transform:translateY(0) rotate(3deg)}50%{transform:translateY(-3px) rotate(-3deg)}}
@keyframes nubi-waiting{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}
@keyframes nubi-answer{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-5px) scale(1.025)}}
@keyframes nubi-error{0%,100%{transform:translateX(0)}33%{transform:translateX(-3px)}66%{transform:translateX(3px)}}
@media(prefers-reduced-motion:reduce){.nubi-mascot img{animation:none!important;transform:none!important}}
