.modi-widget{position:fixed;right:20px;bottom:78px;width:244px;height:196px;z-index:26;font-family:'Segoe UI',Arial;pointer-events:none}.modi-widget button{cursor:pointer;pointer-events:auto;font-family:inherit}.modi-character{position:absolute;right:0;bottom:32px;width:131px;height:155px;border:0;background:none;padding:0;filter:drop-shadow(0 6px 9px #0a243332)}.modi-character svg{width:100%;height:100%;overflow:visible}.modi-invite{position:absolute;left:0;top:13px;width:135px;padding:12px;text-align:left;border:1px solid #d7e7ed;border-radius:16px 16px 3px 16px;background:#fff;color:#19374d;box-shadow:0 6px 25px #08233b18;line-height:1.45}.modi-invite span,.modi-invite strong{display:block}.modi-greeting{font-size:10px;color:#247383;margin-bottom:4px}.modi-invite strong{font-size:14px}.modi-invite>span:last-child{font-size:12px}.modi-cta{position:absolute;bottom:0;right:0;width:244px;padding:12px 10px;border-radius:24px;border:1px solid #3a647a;background:#102d46;color:#fff;font-size:12px;font-weight:650;box-shadow:0 6px 20px #102b4633}.modi-cta span{color:#67e0e4;margin-left:3px}.modi-widget button:focus-visible{outline:3px solid #f18b40;outline-offset:4px}.modi-cta:hover{background:#164560}.modi-float{animation:modi-float 4s ease-in-out infinite}.modi-head{transform-origin:110px 100px;transform:translate(var(--hx,0px),var(--hy,0px)) rotate(var(--hr,0deg));transition:transform .35s ease-out}.modi-eyes{transform:translate(var(--ex,0px),var(--ey,0px));transition:transform .2s ease-out}.modi-wave{transform-origin:155px 140px;animation:modi-wave 5s ease-in-out infinite}.modi-pause{position:absolute;right:1px;top:0;width:22px;height:22px;border:1px solid #cadce5;border-radius:50%;background:#fff;color:#355268;font-size:10px;opacity:.65}.modi-widget.paused *{animation-play-state:paused!important}.modi-widget.paused{--hx:0px!important;--hy:0px!important;--hr:0deg!important;--ex:0px!important;--ey:0px!important}body:has(#asistente[open]) .modi-widget{visibility:hidden}@keyframes modi-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}@keyframes modi-wave{0%,12%,32%,100%{transform:rotate(0)}17%,27%{transform:rotate(-12deg)}22%{transform:rotate(8deg)}}@media(max-width:600px){.modi-widget{right:12px;bottom:70px;width:205px;height:170px}.modi-character{width:108px;height:132px}.modi-invite{width:112px;padding:9px;top:9px}.modi-invite strong{font-size:12px}.modi-cta{width:205px;font-size:10px;padding:11px 7px}.modi-greeting{font-size:9px}.modi-invite>span:last-child{font-size:11px}}@media(prefers-reduced-motion:reduce){.modi-widget *{animation:none!important;transition:none!important}.modi-head,.modi-eyes{transform:none}.modi-pause{display:none}}
/* MODI: mirada continua y gestos de ambas manos */
.modi-widget{width:222px;height:176px}.modi-character{width:113px;height:137px;perspective:500px}.modi-cta{width:222px;font-size:11px}.modi-invite{width:125px;top:10px;padding:10px}.modi-head{transform:translate(var(--hx,0px),var(--hy,0px)) rotate(var(--hr,0deg)) skewY(var(--hs,0deg));transition:none}.modi-eyes{transition:none}.modi-wave{animation:modi-wave-live 2.8s ease-in-out infinite}.modi-left-hand{transform-origin:72px 143px;animation:modi-left-live 3.3s ease-in-out infinite}.modi-lenses{transform-origin:110px 89px;animation:modi-blink 6.8s infinite}.modi-float{animation:modi-float 3.4s ease-in-out infinite}@keyframes modi-wave-live{0%,100%{transform:rotate(-7deg)}25%{transform:rotate(12deg)}50%{transform:rotate(-12deg)}75%{transform:rotate(8deg)}}@keyframes modi-left-live{0%,100%{transform:rotate(3deg)}50%{transform:rotate(20deg)}}@keyframes modi-blink{0%,44%,48%,100%{transform:scaleY(1)}46%{transform:scaleY(.13)}}@media(max-width:600px){.modi-widget{width:195px;height:157px}.modi-character{width:96px;height:118px}.modi-cta{width:195px;font-size:10px}.modi-invite{width:109px;padding:8px;top:7px}}@media(prefers-reduced-motion:reduce){.modi-head,.modi-eyes{transform:none!important}}

.modi-name{display:inline-flex!important;font-weight:900;font-size:12px;letter-spacing:.5px}.modi-name span{display:inline!important}.modi-name span:first-child{color:#151c24}.modi-name span:last-child{color:#e87523}.modi-head{transform-origin:110px 133px}.modi-wave{animation:modi-wave-expressive 1.7s ease-in-out infinite}.modi-left-hand{animation:modi-left-expressive 2.2s ease-in-out infinite}.modi-float{transform-origin:110px 220px;animation:modi-bounce 2.4s ease-in-out infinite}@keyframes modi-wave-expressive{0%,100%{transform:rotate(-18deg)}50%{transform:rotate(22deg)}}@keyframes modi-left-expressive{0%,100%{transform:rotate(5deg)}50%{transform:rotate(36deg)}}@keyframes modi-bounce{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-9px) rotate(2deg)}}

/* Giro vertical y diagonal con profundidad */
.modi-head{transform:translate(var(--hx,0px),var(--hy,0px)) perspective(420px) rotateY(var(--yaw,0deg)) rotateX(var(--pitch,0deg)) rotateZ(var(--hr,0deg));transform-origin:110px 116px}.modi-widget.paused{--pitch:0deg!important;--yaw:0deg!important}

.modi-character.is-3d{width:146px;height:164px;right:-12px;bottom:30px;filter:drop-shadow(0 8px 6px #132b4626)}.modi-character.is-3d>svg{display:none}.modi-character canvas{width:100%;height:100%;display:block}@media(max-width:600px){.modi-character.is-3d{width:125px;height:143px;right:-10px}}

/* Sin globo; figura más grande y centrada sobre la ayuda */
.modi-widget{height:215px}.modi-character.is-3d{width:170px;height:190px;right:26px;bottom:32px}.modi-character:not(.is-3d){right:45px;width:133px;height:164px}.modi-wave{animation:modi-both-point 4s ease-in-out infinite}.modi-left-hand{animation:modi-other-wave 4s ease-in-out infinite}@keyframes modi-both-point{0%,100%{transform:rotate(0)}50%{transform:rotate(-20deg)}}@keyframes modi-other-wave{0%,100%{transform:rotate(15deg)}50%{transform:rotate(145deg)}}@media(max-width:600px){.modi-widget{height:192px}.modi-character.is-3d{width:150px;height:168px;right:22px;bottom:30px}.modi-character:not(.is-3d){right:37px}}
