.nx-mascot{--nx-level:0;aspect-ratio:1;place-items:center;max-width:100%;display:grid;position:relative}.nx-mascot-head{--gx:0px;--gy:0px;--tilt:0deg;width:66%;height:66%;transform:translate(var(--gx), calc(var(--gy) - var(--nx-level) * 3px)) rotate(var(--tilt)) scale(calc(1 + var(--nx-level) * .02));background:#0a1226;border-radius:50%;transition:transform .7s cubic-bezier(.22,.7,.2,1),box-shadow .4s;animation:6.7s ease-in-out infinite nx-float;position:relative;overflow:hidden;box-shadow:0 0 0 2px #7aa2f7b3,0 18px 50px #2563eb80}.nx-mascot--idle .nx-mascot-head{animation:none}.nx-mascot--listening .nx-mascot-head{animation:7.3s ease-in-out infinite nx-listen}.nx-mascot--thinking .nx-mascot-head{animation:5.3s ease-in-out infinite nx-think}.nx-mascot-face{object-fit:cover;object-position:50% 32%;opacity:0;transition:opacity .35s;transform:scale(1.1)}.nx-mascot-face.is-on{opacity:1}.nx-mascot-halo{transform:scale(calc(1 + var(--nx-level) * .25));background:radial-gradient(circle,#2563eb73,#0000 68%);border-radius:50%;transition:transform 80ms linear;position:absolute;inset:8%}.nx-mascot-ring{border:1px solid #7aa2f747;border-radius:50%;position:absolute;inset:6%}.nx-mascot-ring--b{border-style:dashed;border-color:#7aa2f733;inset:16%}.nx-mascot--listening .nx-mascot-halo{animation:1.4s ease-in-out infinite nx-pulse}.nx-mascot--thinking .nx-mascot-ring--a{border-top-color:#7aa2f7;animation:3s linear infinite nx-spin}.nx-mascot--thinking .nx-mascot-ring--b{animation:5s linear infinite reverse nx-spin}.nx-mascot--speaking .nx-mascot--speaking .nx-mascot-head{animation:6.7s ease-in-out infinite nx-float;box-shadow:0 0 0 2px #7aa2f7,0 18px 60px #2563ebcc}@keyframes nx-float{0%,to{translate:0}50%{translate:0 -5px}}@keyframes nx-listen{0%,to{translate:0;scale:1}50%{translate:0 -3px;scale:1.012}}@keyframes nx-think{0%,to{translate:0}35%{translate:-2px -1px}70%{translate:2px}}@keyframes nx-pulse{0%,to{opacity:.7}50%{opacity:1}}@keyframes nx-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.nx-mascot *,.nx-mascot{animation:none!important}}
