.pixel-guide{position:fixed;right:20px;bottom:12px;z-index:999;display:flex;align-items:flex-end;flex-direction:column;font-family:inherit}.pixel-launcher{position:relative;border:0;background:transparent;cursor:pointer;padding:0;line-height:0;filter:drop-shadow(0 9px 12px #0008)}.pixel-launcher img{display:block;width:130px;height:130px;object-fit:contain;image-rendering:pixelated}.pixel-greeting{position:absolute;right:92px;top:6px;width:max-content;padding:9px 12px;background:#f3f7ff;color:#122441;border-radius:12px 12px 2px 12px;font-size:12px;line-height:1.2;font-weight:700;box-shadow:0 5px 22px #0004}.pixel-panel{width:min(320px,calc(100vw - 32px));background:#101e33;color:#eef5ff;border:1px solid #456b9d;border-radius:16px;box-shadow:0 20px 60px #0008;padding:17px;margin-bottom:5px}.pixel-panel[hidden]{display:none}.pixel-panel-head{display:flex;justify-content:space-between;gap:10px}.pixel-panel-head strong,.pixel-panel-head small{display:block}.pixel-panel-head strong{font-size:14px}.pixel-panel-head small,.pixel-note{color:#aabbd3;font-size:11px}.pixel-close{background:none;color:#c3d7f0;border:0;font-size:23px;cursor:pointer}.pixel-panel p{font-size:13px;margin:16px 0 10px}.pixel-options{display:grid;gap:7px}.pixel-options a{display:block;border:1px solid #345477;border-radius:8px;color:#dceaff;padding:10px 12px;font-size:12px}.pixel-options a:hover{background:#1b3f70}.pixel-note{display:block;margin-top:12px}@media(max-width:600px){.pixel-guide{right:8px;bottom:5px}.pixel-launcher img{width:90px;height:90px}.pixel-greeting{right:65px;font-size:11px}.pixel-panel{margin-right:8px}}
.pixel-guide{right:auto;bottom:auto;left:var(--guide-x,calc(100vw - 150px));top:var(--guide-y,calc(100dvh - 145px));transition:left 1.8s ease-in-out,top 1.8s ease-in-out}.pixel-walking .pixel-launcher img{animation:pixel-walk .32s steps(2,end) infinite}.pixel-launcher:focus-visible,.pixel-close:focus-visible,.pixel-options a:focus-visible{outline:3px solid #8bc1ff;outline-offset:4px}@keyframes pixel-walk{0%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-7px) rotate(3deg)}100%{transform:translateY(0) rotate(-3deg)}}@media(max-width:600px){.pixel-guide{left:var(--guide-x,calc(100vw - 100px));top:var(--guide-y,calc(100dvh - 100px))}}@media(prefers-reduced-motion:reduce){.pixel-guide{transition:none}.pixel-walking .pixel-launcher img{animation:none}}
/* Escenario visual y plataforma para el personaje. */
.game-hud{position:fixed;left:18px;bottom:80px;z-index:990;display:flex;align-items:center;gap:10px;padding:10px 13px;color:#dfedff;background:#0b1d35eb;border:1px solid #4879b5;box-shadow:0 8px 0 #091323,0 12px 25px #0007;border-radius:5px;font-size:10px;letter-spacing:.08em}.game-hud-icon{display:grid;place-items:center;color:#99ccff;width:30px;height:30px;background:#224a78;border:2px solid #548cc9}.game-hud strong,.game-hud small{display:block}.game-hud small{font-size:9px;letter-spacing:0;color:#9cb9d7}.game-hud button{border:1px solid #7bb4ff;background:#3476d2;color:#fff;padding:8px 10px;font:700 10px inherit;cursor:pointer;border-radius:3px}.game-track{position:fixed;bottom:0;left:0;right:0;height:34px;z-index:985;pointer-events:none;background:repeating-linear-gradient(90deg,#132948 0 48px,#172f51 48px 96px);border-top:5px solid #63a5f0;box-shadow:0 -4px 0 #1a477a,0 -9px 20px #133d713d}.game-ground{height:5px;margin-top:9px;background:repeating-linear-gradient(90deg,#42658c 0 4px,transparent 4px 48px)}.game-node{position:absolute;bottom:20px;display:grid;place-items:center;width:26px;height:26px;background:#24508a;border:2px solid #82b8ff;color:#b8ddff;font-size:12px;box-shadow:0 0 17px #65adff7a}.node-one{left:15%}.node-two{left:50%}.node-three{left:85%}.pixel-guide{z-index:999;left:var(--guide-x,calc(50vw - 65px));top:var(--guide-y,calc(100dvh - 155px));transition:left 2s linear,top .65s ease}.pixel-guide .pixel-launcher:after{content:'';position:absolute;bottom:4px;left:25%;width:50%;height:8px;background:#060f1b99;border-radius:50%;z-index:-1}.pixel-panel{position:absolute;bottom:135px;right:0}.pixel-walking .pixel-launcher img{animation:pixel-walk .28s steps(2,end) infinite}.game-target{outline:2px solid #80baff!important;outline-offset:5px;box-shadow:0 0 0 7px #79baff22,0 0 35px #438ef977!important;transition:box-shadow .4s,outline .4s}@media(max-width:600px){.game-track{height:25px}.game-hud{bottom:48px;left:8px;padding:7px;gap:5px}.game-hud small{display:none}.game-hud button{padding:7px}.pixel-guide{left:var(--guide-x,calc(50vw - 45px));top:var(--guide-y,calc(100dvh - 112px))}.pixel-panel{bottom:95px;right:0}.pixel-launcher img{width:95px;height:95px}}@media(prefers-reduced-motion:reduce){.pixel-guide{transition:none}.game-target{transition:none}}
/* Personaje transparente: reposo, movimiento y reacción al apuntar. */
.pixel-launcher img{object-fit:contain;transform-origin:50% 90%;animation:robot-idle 3s ease-in-out infinite;filter:drop-shadow(0 0 9px #52aaff55)}
.pixel-launcher:hover img,.pixel-launcher:focus-visible img{animation:robot-greet .65s ease-in-out infinite;filter:drop-shadow(0 0 15px #7ec4ff99)}
.pixel-walking .pixel-launcher img{animation:robot-travel .38s steps(2,end) infinite}
@keyframes robot-idle{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-4px) scale(1.025)}}
@keyframes robot-greet{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(5deg) translateY(-5px)}}
@keyframes robot-travel{0%,100%{transform:translateY(0) rotate(-5deg)}50%{transform:translateY(-9px) rotate(5deg)}}
@media(prefers-reduced-motion:reduce){.pixel-launcher img,.pixel-launcher:hover img,.pixel-walking .pixel-launcher img{animation:none!important}}
.pixel-guide{transition:left 1.5s ease-in-out,top 1.5s ease-in-out}.pixel-jump .pixel-launcher img{animation:robot-jump 1.5s ease-in-out!important}.pixel-jump .pixel-launcher:after{animation:jump-shadow 1.5s ease-in-out}@keyframes robot-jump{0%,100%{transform:translateY(0) rotate(0)}20%{transform:translateY(-28px) rotate(-7deg)}50%{transform:translateY(-65px) rotate(5deg)}80%{transform:translateY(-28px) rotate(-5deg)}}@keyframes jump-shadow{50%{opacity:.3;transform:scale(.55)}}@media(prefers-reduced-motion:reduce){.pixel-jump .pixel-launcher img{animation:none!important}.pixel-guide{transition:none}}
.pixel-launcher{touch-action:none;cursor:grab;user-select:none}.pixel-launcher img{user-select:none;-webkit-user-drag:none}.pixel-guide.pixel-dragging{transition:none;z-index:1001}.pixel-dragging .pixel-launcher{cursor:grabbing}.pixel-dragging .pixel-launcher img{animation:robot-picked .45s ease-in-out infinite alternate!important;filter:drop-shadow(0 12px 9px #0007) drop-shadow(0 0 13px #6cb7ff)}.pixel-land .pixel-launcher img{animation:robot-land .7s cubic-bezier(.2,.8,.2,1)!important}.pixel-dragging .pixel-launcher:before,.pixel-land .pixel-launcher:before{content:'✦  ✧  ✦';position:absolute;inset:0;color:#9fd7ff;font-size:20px;line-height:1;pointer-events:none;animation:robot-sparkle .6s ease-in-out infinite alternate}.pixel-land .pixel-launcher:before{animation:robot-sparkle .7s ease-out forwards}@keyframes robot-picked{from{transform:translateY(-5px) rotate(-9deg) scale(1.04)}to{transform:translateY(-11px) rotate(9deg) scale(1.09)}}@keyframes robot-land{0%{transform:translateY(-14px) scale(1.07)}35%{transform:translateY(0) scale(1.14,.84)}65%{transform:translateY(-8px) scale(.96,1.08)}100%{transform:none}}@keyframes robot-sparkle{from{opacity:.2;transform:scale(.8) rotate(-10deg)}to{opacity:1;transform:scale(1.15) rotate(10deg)}}@media(prefers-reduced-motion:reduce){.pixel-dragging .pixel-launcher img,.pixel-land .pixel-launcher img,.pixel-dragging .pixel-launcher:before,.pixel-land .pixel-launcher:before{animation:none!important}}
/* Jetpack y propulsión al arrastrar */
.pixel-launcher{isolation:isolate}.jetpack{position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:0;transition:opacity .15s}.pixel-dragging .jetpack,.pixel-land .jetpack{opacity:1}.jet{position:absolute;top:50%;width:18%;height:32%;border:2px solid #7bc8ff;background:linear-gradient(90deg,#172943,#4e799e 50%,#162a47);border-radius:8px 8px 5px 5px;box-shadow:0 0 9px #5aaeff99}.jet-left{left:11%;transform:rotate(10deg)}.jet-right{right:11%;transform:rotate(-10deg)}.jet:after{content:'';position:absolute;top:85%;left:12%;width:76%;height:76%;background:linear-gradient(to bottom,#fff7c3 0%,#ffbc4c 22%,#64d9ff 47%,#328cff 75%,transparent 100%);clip-path:polygon(5% 0,95% 0,78% 40%,50% 100%,22% 40%);filter:drop-shadow(0 0 7px #43b9ff);animation:jet-flame .16s steps(2,end) infinite}.jet-spark{position:absolute;width:5px;height:5px;background:#8fe9ff;box-shadow:0 0 8px #5dbfff;bottom:0;animation:jet-trail .48s linear infinite}.spark-a{left:20%}.spark-b{right:20%;animation-delay:.16s}.spark-c{left:51%;animation-delay:.3s}.pixel-dragging .pixel-launcher img{animation:jet-flight .5s ease-in-out infinite alternate!important}.pixel-dragging .pixel-launcher:before,.pixel-land .pixel-launcher:before{display:none}.pixel-land .jetpack{animation:jet-disappear .7s forwards}.pixel-land .pixel-launcher img{animation:jet-landing .7s cubic-bezier(.2,.8,.2,1)!important}@keyframes jet-flight{from{transform:translateY(-8px) rotate(-5deg)}to{transform:translateY(-13px) rotate(5deg)}}@keyframes jet-flame{from{transform:scaleY(.7);opacity:.8}to{transform:scaleY(1.35);opacity:1}}@keyframes jet-trail{from{transform:translateY(-15px);opacity:1}to{transform:translateY(27px);opacity:0}}@keyframes jet-disappear{0%,30%{opacity:1}100%{opacity:0}}@keyframes jet-landing{0%{transform:translateY(-14px)}38%{transform:translateY(0) scale(1.1,.9)}70%{transform:translateY(-5px)}100%{transform:none}}@media(prefers-reduced-motion:reduce){.jet:after,.jet-spark,.pixel-land .jetpack,.pixel-dragging .pixel-launcher img,.pixel-land .pixel-launcher img{animation:none!important}.jet:after{height:40%}}
/* Ajustes para teléfonos compactos y pantallas bajas */
.pixel-panel{position:fixed;left:var(--panel-left,12px);top:var(--panel-top,12px);right:auto;bottom:auto;width:min(320px,calc(100vw - 24px));max-height:var(--panel-height,calc(100dvh - 24px));overflow-y:auto;overscroll-behavior:contain;margin:0;box-sizing:border-box}
.pixel-launcher{min-width:48px;min-height:48px}.pixel-greeting{max-width:min(190px,55vw);white-space:normal;line-height:1.25}
@media(max-width:600px){.pixel-guide{z-index:999;left:var(--guide-x,calc(100vw - 88px));top:var(--guide-y,calc(100dvh - 106px))}.pixel-launcher img{width:80px;height:96px}.pixel-greeting{right:62px;top:0;font-size:10px;max-width:150px}.pixel-panel{padding:14px}.pixel-options a{min-height:44px;display:flex;align-items:center;padding:9px 12px}.pixel-close{min-width:44px;min-height:44px;display:grid;place-items:center;margin:-10px -10px 0 0}.jet:after{height:55%}}
@media(max-width:360px){.pixel-launcher img{width:70px;height:86px}.pixel-guide{left:var(--guide-x,calc(100vw - 78px));top:var(--guide-y,calc(100dvh - 96px))}.pixel-greeting{right:52px;max-width:125px;font-size:10px}.pixel-panel{font-size:12px}}
@media(max-height:500px){.pixel-launcher img{width:65px;height:75px}.pixel-panel{padding:10px}.pixel-panel p{margin:8px 0}.pixel-options{gap:4px}.pixel-options a{min-height:36px;padding:6px 10px}.pixel-note{margin-top:5px}}
.pixel-start{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:left;border:1px solid #8ec1ff;border-radius:11px;background:linear-gradient(120deg,#367ceb,#2256b6);color:white;padding:15px 14px;font:700 14px inherit;line-height:1.3;cursor:pointer;box-shadow:0 8px 22px #2875e650;margin-bottom:14px}.pixel-start:hover{background:#438df6}.pixel-start span{margin-left:8px;font-size:19px}.pixel-home[hidden],.pixel-chat[hidden]{display:none}.pixel-chat-messages{height:180px;overflow-y:auto;margin:14px 0;padding:10px;background:#0a1729;border:1px solid #263f60;border-radius:10px;font-size:13px}.pixel-chat-bot,.pixel-chat-user{padding:10px;border-radius:10px;margin:0 0 8px;line-height:1.45}.pixel-chat-bot{background:#1a3456}.pixel-chat-user{background:#2f6dc5;margin-left:20px}.pixel-chat-form{display:flex;gap:6px}.pixel-chat-form input{min-width:0;flex:1;border:1px solid #3e5f85;border-radius:8px;background:#0b1729;color:white;padding:10px}.pixel-chat-form button{background:#397fe9;color:white;border:0;border-radius:8px;padding:10px 14px;cursor:pointer}.pixel-chat-status{display:block;color:#aebed0;font-size:11px;margin-top:8px}.pixel-back{background:none;border:0;color:#aacbf8;padding:10px 0 0;cursor:pointer}.pixel-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}

/* Pantalla de conversación INOVAX */
.chat-screen[hidden]{display:none}.chat-screen{position:fixed;inset:0;z-index:3000;display:flex;align-items:center;justify-content:center;padding:24px}.chat-backdrop{position:absolute;inset:0;background:#020816c7;backdrop-filter:blur(7px)}.chat-window{position:relative;display:flex;flex-direction:column;width:min(520px,100%);height:min(740px,90dvh);overflow:hidden;background:#0c192b;border:1px solid #3b5981;border-radius:20px;box-shadow:0 30px 90px #000b}.chat-window-header{display:flex;align-items:center;gap:12px;min-height:76px;padding:12px 16px;background:linear-gradient(110deg,#152a48,#1b3a63);border-bottom:1px solid #37577b}.chat-window-header .pixel-back,.chat-window-close{border:0;background:transparent;color:#dceaff;font-size:24px;cursor:pointer;width:42px;height:42px;padding:0;border-radius:9px}.chat-window-header .pixel-back:hover,.chat-window-close:hover{background:#ffffff17}.chat-avatar-circle{width:48px;height:48px;border-radius:50%;background:#0b1d35;border:1px solid #659be0;overflow:hidden;display:grid;place-items:center}.chat-avatar-circle img{width:45px;height:45px;object-fit:contain;image-rendering:pixelated}.chat-heading{flex:1;display:flex;flex-direction:column;gap:4px}.chat-heading strong{font-size:15px;color:#f3f7ff}.chat-heading span{font-size:11px;color:#bdd0e8}.chat-heading i{display:inline-block;width:7px;height:7px;background:#7bdcb8;border-radius:50%;margin-right:5px}.chat-date-label{align-self:center;padding:4px 11px;margin:14px 0 0;background:#263c59;color:#bed0e5;border-radius:8px;font-size:10px;letter-spacing:.06em}.chat-window .pixel-chat-messages{flex:1;height:auto;min-height:0;overflow-y:auto;margin:0;border:0;border-radius:0;padding:16px;background-color:#0d1b2d;background-image:radial-gradient(#7aa7da12 1px,transparent 1px);background-size:22px 22px}.chat-window .pixel-chat-bot,.chat-window .pixel-chat-user{max-width:84%;width:fit-content;line-height:1.5;padding:12px 14px;font-size:14px;box-shadow:0 3px 8px #0002}.chat-window .pixel-chat-bot{background:#1a304d;border-radius:3px 13px 13px 13px}.chat-window .pixel-chat-user{margin-left:auto;background:#2769c1;border-radius:13px 3px 13px 13px}.chat-bottom{padding:10px 14px max(12px,env(safe-area-inset-bottom));background:#11233b;border-top:1px solid #2b4564}.chat-window .pixel-chat-status{display:block;margin:0 0 8px;font-size:11px;color:#aac1dc}.chat-window .pixel-chat-form{display:flex;gap:8px}.chat-window .pixel-chat-form input{height:48px;flex:1;min-width:0;background:#0b182a;border:1px solid #3b587b;border-radius:24px;color:white;padding:0 17px;font:inherit;font-size:14px}.chat-window .pixel-chat-form button{height:48px;width:48px;flex:none;border:0;border-radius:50%;background:#397fe9;color:white;font-size:20px;cursor:pointer}.chat-disclaimer{text-align:center;color:#849cb8;font-size:10px;margin-top:8px}.chat-screen-open{overflow:hidden}@media(max-width:600px){.chat-screen{padding:0;align-items:stretch}.chat-window{width:100%;height:100dvh;max-height:none;border:0;border-radius:0}.chat-window-header{padding-top:max(12px,env(safe-area-inset-top))}.chat-window .pixel-chat-messages{padding:14px 12px}.chat-window .pixel-chat-bot,.chat-window .pixel-chat-user{max-width:90%}}@media(max-height:450px) and (min-width:601px){.chat-window{height:96dvh}.chat-window-header{min-height:56px;padding:6px 12px}.chat-date-label{margin-top:5px}.chat-bottom{padding-top:4px}.chat-disclaimer{display:none}}
