.mascot-settings-card{display:grid;gap:14px;max-width:760px;border-top:4px solid #df83bc;background:linear-gradient(145deg,#fff8fc,#fff 62%,#f4fbff)}.mascot-settings-card>.card-head{margin:0}.mascot-preview{position:relative;display:grid;place-items:center;gap:4px;min-height:176px;padding:18px;border:1px solid #e9d5eb;border-radius:18px;background:radial-gradient(circle at 50% 60%,#fff 0 34%,transparent 35%),linear-gradient(150deg,#e7f7ed,#fef5ff 56%,#fff3da);overflow:hidden;text-align:center}.mascot-preview::after{content:"";position:absolute;inset:auto 0 0;height:36%;background:linear-gradient(0deg,#b3dd8c99,transparent);z-index:0}.mascot-home{position:absolute;right:14px;top:10px;font-size:28px;z-index:1}.mascot-character{position:relative;z-index:2;font-size:74px;line-height:1;filter:drop-shadow(0 7px 3px #26351d22);animation:mascotBounce 2.1s ease-in-out infinite}.mascot-outfit{position:absolute;z-index:3;top:76px;left:calc(50% + 12px);font-size:26px;animation:mascotBounce 2.1s ease-in-out infinite}.mascot-preview strong,.mascot-preview small{position:relative;z-index:1}.mascot-preview small{color:#59674c}.mascot-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mascot-choice-grid .field{margin:0}.mascot-active{width:fit-content}.mascot-welcome-overlay{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:16px;background:#152012a8;overflow:auto}.mascot-welcome-dialog{position:relative;width:min(620px,100%);max-height:94dvh;overflow:auto;padding:22px;border:1px solid #eed1e7;border-radius:22px;background:linear-gradient(145deg,#fff9fe,#fff 55%,#f8fff1);box-shadow:0 24px 80px #0005}.mascot-welcome-dialog>h2{margin:0 0 6px;color:#34462b}.mascot-welcome-dialog>p{margin:0 0 12px;color:#606959;line-height:1.5}.mascot-welcome-sparkle{position:absolute;right:23px;top:15px;font-size:30px}.mascot-welcome-dialog .mascot-settings-card{padding:15px;box-shadow:none}.mascot-welcome-dialog .mascot-settings-card>.card-head{display:none}.mascot-welcome-dialog .mascot-preview{min-height:134px}.mascot-welcome-dialog .mascot-character{font-size:58px}.mascot-welcome-dialog .mascot-outfit{top:61px;font-size:21px}.booking-mascot{display:flex;align-items:center;gap:12px;margin:16px 0 4px;padding:10px 13px;border:1px solid #d8edc3;border-radius:15px;background:linear-gradient(100deg,#f3fae5,#fff7fc)}.booking-mascot[hidden]{display:none!important}.booking-mascot p{margin:0;color:#405432;font-size:12px;line-height:1.5;font-weight:700}.mascot-preview-compact{flex:0 0 62px;width:62px;min-height:62px;height:62px;padding:0;border-radius:50%}.mascot-preview-compact::after{height:35%;border-radius:0 0 50% 50%}.mascot-preview-compact .mascot-home{right:2px;top:0;font-size:15px}.mascot-preview-compact .mascot-character{font-size:38px}.mascot-preview-compact .mascot-outfit{top:29px;left:calc(50% + 5px);font-size:13px}@keyframes mascotBounce{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-7px) rotate(2deg)}}@media(max-width:600px){.mascot-choice-grid{grid-template-columns:1fr}.mascot-settings-card{padding:14px}.mascot-welcome-dialog{padding:15px}.booking-mascot{align-items:flex-start}}@media(prefers-reduced-motion:reduce){.mascot-character,.mascot-outfit{animation:none}}
.routine-video-preview,.routine-client-video{display:none;width:min(100%,420px);max-height:300px;border-radius:12px;background:#182018}.routine-video-preview.visible{display:block}.routine-client-video{display:block;margin-top:8px}.routine-video{max-width:100%;padding:10px;border:1px dashed #b8cc8e;border-radius:10px;background:#f8fbeF}

/* Escena motivadora: el compañero avanza con movimiento propio hacia el entrenamiento. */
.mascot-preview .mascot-character{animation:mascotIdle 2.6s ease-in-out infinite}.mascot-preview .mascot-outfit{animation:mascotIdle 2.6s ease-in-out infinite}.mascot-choice-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.mascot-travel-track{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:170px;height:58px;padding:0 8px;border-radius:14px;background:linear-gradient(180deg,#e6f6fb 0 56%,#a6d87a 57% 64%,#f5efdc 65%);overflow:hidden}.mascot-travel-track::before{content:"";position:absolute;left:8%;right:8%;bottom:12px;height:4px;border-radius:4px;background:repeating-linear-gradient(90deg,#fff 0 14px,transparent 14px 25px);opacity:.9}.mascot-route-start,.mascot-route-end{position:relative;z-index:2;font-size:18px}.mascot-traveler{position:absolute;z-index:3;left:10%;bottom:12px;font-size:30px;animation:mascotWalkToGoal 4s ease-in-out infinite alternate;transform-origin:50% 90%}.mascot-traveler.vehicle{bottom:8px;font-size:32px;animation:mascotRollToGoal 3.8s ease-in-out infinite alternate}.booking-mascot{position:relative;overflow:hidden}.booking-mascot .mascot-preview-compact{position:relative;z-index:1}.booking-mascot .mascot-travel-track{flex:0 0 min(40%,220px)}
.mascot-home-scene{position:relative;isolation:isolate;display:flex;align-items:center;gap:14px;min-height:80px;margin:12px 0 8px;padding:12px 16px;border:1px solid #b9dc75;border-radius:17px;background:linear-gradient(#bdeaff 0 48%,#dff2be 49% 70%,#f7edcf 71%);overflow:hidden;box-shadow:0 8px 20px #67892a1a}.mascot-home-scene[hidden]{display:none}.mascot-home-scene::before{content:"";position:absolute;z-index:-1;left:0;right:0;bottom:12px;height:3px;background:repeating-linear-gradient(90deg,#fff 0 18px,transparent 18px 30px);opacity:.9}.mascot-home-destination{z-index:1;font-size:27px}.mascot-home-traveler{z-index:1;font-size:38px;animation:mascotWalkScene 5s ease-in-out infinite}.mascot-home-traveler.vehicle{animation:mascotRollScene 4.2s ease-in-out infinite}.mascot-home-copy{z-index:1;max-width:310px;color:#34491f;font-size:12px;font-weight:800;line-height:1.4}.mascot-motivation-toast{position:fixed;z-index:1500;left:14px;bottom:calc(24px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:10px;max-width:min(390px,calc(100vw - 28px));padding:11px 16px;border:1px solid #c6e45c;border-radius:18px;background:linear-gradient(110deg,#f6ffd9,#fff 70%,#f3f8ff);box-shadow:0 12px 35px #26351d3d;opacity:0;transform:translateX(-120%);pointer-events:none}.mascot-motivation-toast.show{animation:mascotToastArrive .65s cubic-bezier(.2,.8,.2,1) forwards,mascotToastLeave .5s ease-in 3s forwards}.mascot-toast-character{font-size:34px;animation:mascotWalkIn .8s ease-in-out infinite alternate}.mascot-toast-character.vehicle{animation:mascotRollIn .8s linear infinite}.mascot-toast-message{font-size:12px;font-weight:850;color:#26351d;line-height:1.4}
@keyframes mascotIdle{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}@keyframes mascotWalkToGoal{0%{left:10%;transform:translateY(0) rotate(-4deg)}25%{transform:translateY(-5px) rotate(4deg)}50%{transform:translateY(0) rotate(-4deg)}75%{transform:translateY(-5px) rotate(4deg)}100%{left:68%;transform:translateY(0) rotate(-3deg)}}@keyframes mascotRollToGoal{0%{left:10%;transform:rotate(0)}100%{left:67%;transform:rotate(15deg)}}@keyframes mascotWalkScene{0%,100%{transform:translateX(0) translateY(0) rotate(-4deg)}25%{transform:translateX(18px) translateY(-5px) rotate(4deg)}50%{transform:translateX(36px) translateY(0) rotate(-4deg)}75%{transform:translateX(54px) translateY(-5px) rotate(4deg)}100%{transform:translateX(72px) translateY(0) rotate(-4deg)}}@keyframes mascotRollScene{0%,100%{transform:translateX(0) rotate(0)}50%{transform:translateX(72px) rotate(12deg)}}@keyframes mascotToastArrive{to{opacity:1;transform:translateX(0)}}@keyframes mascotToastLeave{to{opacity:0;transform:translateX(-120%)}}@keyframes mascotWalkIn{from{transform:translateX(0) rotate(-5deg)}to{transform:translateX(9px) rotate(5deg)}}@keyframes mascotRollIn{from{transform:rotate(0)}to{transform:rotate(360deg)}}
@media(max-width:600px){.mascot-home-scene{gap:9px;min-height:76px;padding:10px}.mascot-home-copy{font-size:11px}.booking-mascot{flex-wrap:wrap}.booking-mascot .mascot-travel-track{flex:1 1 100%}.mascot-travel-track{height:50px}.mascot-choice-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.mascot-traveler,.mascot-home-traveler,.mascot-toast-character,.mascot-preview .mascot-character,.mascot-preview .mascot-outfit{animation:none!important}.mascot-traveler{left:40%}.mascot-home-traveler{transform:translateX(36px)}}.mascot-home-copy{flex:1;min-width:0;max-width:none}.mascot-home-destination{margin-left:auto;white-space:nowrap;font-size:13px;font-weight:900}.mascot-home-traveler{flex:0 0 auto;font-size:30px}.mascot-home-traveler.vehicle{font-size:28px}.mascot-home-scene{min-width:0}.mascot-motivation-toast.show{animation:mascotToastArrive .65s cubic-bezier(.2,.8,.2,1) forwards,mascotToastLeave .5s ease-in 4.5s forwards}/* Bienvenida cerrable y compañero ilustrado de cuerpo completo. */
.mascot-welcome-dialog{padding-top:50px}
.mascot-welcome-close{position:absolute;z-index:5;right:14px;top:12px;width:40px;height:40px;display:grid;place-items:center;border:1px solid #dce2d2;border-radius:50%;background:#fff;color:#25321d;font-size:27px;line-height:1;box-shadow:0 3px 10px #17220f18}
.mascot-welcome-close:hover{background:#eff7d7;border-color:#bad943}
.mascot-welcome-sparkle{right:64px;top:18px}
.mascot-dog-art{display:block;width:138px;height:100px;overflow:visible}
.mascot-dog-art .dog-body,.mascot-dog-art .dog-head,.mascot-dog-art .dog-neck{fill:#c88b43;stroke:#774c2e;stroke-width:2}
.mascot-dog-art .dog-patch,.mascot-dog-art .dog-ear{fill:#88542f}
.mascot-dog-art .dog-ear-right{fill:#c88b43}
.mascot-dog-art .dog-legs path{fill:#c88b43;stroke:#774c2e;stroke-width:2;stroke-linejoin:round}
.mascot-dog-art .dog-muzzle{fill:#f7dfbb}.mascot-dog-art .dog-eye,.mascot-dog-art .dog-nose{fill:#30261e}.mascot-dog-art .dog-smile{fill:none;stroke:#774c2e;stroke-width:1.7;stroke-linecap:round}
.mascot-dog-art .dog-tail{fill:none;stroke:#88542f;stroke-width:8;stroke-linecap:round;transform-origin:120px 50px;animation:puppyTail 420ms ease-in-out infinite alternate}
.mascot-dog-art .dog-legs{transform-box:view-box;transform-origin:75px 74px;animation:puppyWalk 340ms ease-in-out infinite alternate}
.mascot-dog-art .dog-legs-front{animation-delay:-340ms}.mascot-dog-art .dog-head{transform-box:view-box;transform-origin:119px 55px;animation:puppyHead 1.2s ease-in-out infinite}
.mascot-dog-character{width:150px;height:112px;font-size:0!important;animation:none!important}
.mascot-preview .mascot-dog-character .mascot-dog-art{width:145px;height:104px}
.mascot-preview-compact .mascot-dog-character{width:60px;height:55px;flex:0 0 60px}
.mascot-preview-compact .mascot-dog-character .mascot-dog-art{width:65px;height:48px}
.mascot-travel-track .mascot-dog-traveler{width:88px;height:63px;left:2%;bottom:1px;font-size:0;animation:mascotWalkToGoal 4s ease-in-out infinite alternate}
.mascot-travel-track .mascot-dog-art{width:88px;height:63px}
.mascot-home-traveler.mascot-dog-traveler{width:70px;height:54px;font-size:0;animation:mascotWalkScene 5s ease-in-out infinite}
.mascot-home-traveler.mascot-dog-traveler .mascot-dog-art{width:74px;height:54px}
.booking-mascot{display:grid;grid-template-columns:minmax(0,1fr) minmax(75px,125px);align-items:center;gap:10px 14px;width:100%;margin:13px 0;padding:12px 14px;border-color:#d9e7c7;background:linear-gradient(105deg,#f6fbe9,#fff 67%,#f4fbff)}
.booking-mascot .mascot-travel-track{grid-column:1/-1;grid-row:1;flex:auto;width:100%;height:72px}
.booking-mascot .mascot-preview-compact{grid-column:2;grid-row:2;width:70px;height:70px;justify-self:center}
.booking-mascot p{grid-column:1;grid-row:2;font-size:13px}
@keyframes puppyWalk{from{transform:rotate(-11deg)}to{transform:rotate(11deg)}}
@keyframes puppyTail{from{transform:rotate(-15deg)}to{transform:rotate(15deg)}}
@keyframes puppyHead{0%,100%{transform:rotate(0)}50%{transform:rotate(-3deg)}}
@media(max-width:600px){.mascot-welcome-dialog{padding-top:48px}.mascot-dog-character{width:130px;height:100px}.mascot-preview .mascot-dog-character .mascot-dog-art{width:128px;height:96px}.booking-mascot{grid-template-columns:minmax(0,1fr) 64px;gap:8px;padding:10px}.booking-mascot .mascot-travel-track{grid-column:1/-1}.booking-mascot .mascot-preview-compact{grid-column:2;width:60px;height:60px}.booking-mascot p{font-size:12px}}
@media(prefers-reduced-motion:reduce){.mascot-dog-art .dog-tail,.mascot-dog-art .dog-legs,.mascot-dog-art .dog-head{animation:none!important}}
/* Recorrido de mascota tipo plataformas retro: sprite fijo, pista cerrada y progreso real de comidas. */
.mascot-home-scene{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;width:100%;min-width:0;min-height:0;margin:13px 0 8px;padding:10px;border:2px solid #313d2a;border-radius:13px;background:#f1f7dc;box-shadow:0 4px 0 #b7d454;overflow:hidden}
.mascot-home-scene[hidden]{display:none!important}
.mascot-home-scene::before{display:none}
.mascot-journey-track{position:relative;isolation:isolate;width:100%;height:106px;min-width:0;overflow:hidden;border:2px solid #31422e;border-radius:9px;background:linear-gradient(#83d8f3 0 62%,#a3d477 62% 73%,#614b35 73% 100%);image-rendering:pixelated}
.mascot-journey-track::before{content:"";position:absolute;left:0;right:0;bottom:23px;height:5px;background:repeating-linear-gradient(90deg,#f7e79b 0 17px,transparent 17px 25px);opacity:.95}
.mascot-journey-track::after{content:"✦　✦　✦";position:absolute;inset:9px 13px auto auto;color:#fff7a8;font-size:12px;letter-spacing:15px;opacity:.9}
.mascot-journey-meal,.mascot-journey-gym,.mascot-journey-home{position:absolute;z-index:2;bottom:22px;display:grid;place-items:center;width:32px;height:38px;font-size:24px;filter:drop-shadow(0 2px 0 #27351e55)}
.mascot-journey-meal{left:3%}.mascot-journey-gym{left:63%}.mascot-journey-home{right:2%}
.mascot-journey-traveler{position:absolute;z-index:4;left:var(--traveler-x);bottom:24px;display:grid;place-items:end center;width:56px;height:59px;max-width:56px;max-height:59px;overflow:visible;transform:translateX(-50%);font-size:36px;line-height:1;transition:left 1.25s cubic-bezier(.2,.75,.25,1);filter:drop-shadow(0 3px 1px #1b291e44)}
.mascot-journey-traveler.mascot-dog-traveler{width:63px;height:52px}
.mascot-journey-traveler .mascot-dog-art{width:62px;height:46px}
.mascot-journey-traveler .dog-legs{animation:puppyWalk 260ms ease-in-out infinite alternate}.mascot-journey-traveler .dog-legs-front{animation-delay:-260ms}
.mascot-face{position:relative;z-index:2;display:grid;place-items:center;width:100%;height:100%;padding-bottom:15px;font-size:36px;line-height:1;animation:retroCreatureBounce 360ms ease-in-out infinite alternate}
.mascot-journey-traveler:not(.vehicle):not(.mascot-dog-traveler)::before{content:"";position:absolute;z-index:1;left:50%;bottom:4px;width:25px;height:24px;transform:translateX(-50%);border:2px solid #69452e;border-radius:43% 43% 35% 35%;background:linear-gradient(90deg,#d8a66c,#f5d4a0 55%,#c58b55)}
.mascot-journey-traveler:not(.vehicle):not(.mascot-dog-traveler)::after{content:"";position:absolute;z-index:1;left:50%;bottom:0;width:34px;height:15px;transform:translateX(-50%);background:linear-gradient(#765034,#765034) 1px 0/4px 12px no-repeat,linear-gradient(#765034,#765034) 9px 1px/4px 12px no-repeat,linear-gradient(#765034,#765034) 21px 1px/4px 12px no-repeat,linear-gradient(#765034,#765034) 29px 0/4px 12px no-repeat;animation:retroCreatureSteps 240ms ease-in-out infinite alternate}
.mascot-journey-traveler.vehicle{bottom:21px;width:46px;height:42px;font-size:35px;animation:retroVehicleRoll 450ms linear infinite}
.mascot-journey-traveler.vehicle::before,.mascot-journey-traveler.vehicle::after{content:"";position:absolute;z-index:3;bottom:1px;width:9px;height:9px;border:2px solid #202a25;border-radius:50%;background:#eef1dc}
.mascot-journey-traveler.vehicle::before{left:6px}.mascot-journey-traveler.vehicle::after{right:6px}
.mascot-journey-progress{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;align-items:center;min-width:0;padding:0 2px;color:#304124;font-size:11px;font-weight:800}
.mascot-journey-status{min-width:0;overflow-wrap:anywhere;line-height:1.35}.mascot-journey-score{white-space:nowrap;color:#56683b;font-size:10px}
.mascot-journey-meter{grid-column:1/-1;width:100%;height:8px;overflow:hidden;border:1px solid #728547;border-radius:3px;background:repeating-linear-gradient(90deg,#f8f9ee 0 11px,#dce7bf 11px 13px)}
.mascot-journey-meter i{display:block;height:100%;background:repeating-linear-gradient(90deg,#a5d739 0 9px,#c7ed65 9px 12px);transition:width .5s ease}
@keyframes retroCreatureBounce{from{transform:translateY(0)}to{transform:translateY(-3px)}}
@keyframes retroCreatureSteps{from{transform:translateX(-50%) skewX(8deg)}to{transform:translateX(-50%) skewX(-8deg)}}
@keyframes retroVehicleRoll{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-2px) rotate(1deg)}}
@keyframes retroProteinStep{0%{left:var(--traveler-from-x);transform:translateX(-50%) translateY(0)}28%{transform:translateX(-50%) translateY(-5px)}62%{transform:translateX(-50%) translateY(0)}100%{left:var(--traveler-x);transform:translateX(-50%) translateY(0)}}
@keyframes retroVehicleStep{0%{left:var(--traveler-from-x);transform:translateX(-50%) rotate(0)}20%{transform:translateX(-50%) translateY(-2px) rotate(3deg)}80%{transform:translateX(-50%) translateY(0) rotate(-2deg)}100%{left:var(--traveler-x);transform:translateX(-50%) rotate(0)}}
@media(max-width:600px){.mascot-home-scene{padding:8px;margin:10px 0}.mascot-journey-track{height:96px}.mascot-journey-meal,.mascot-journey-gym,.mascot-journey-home{bottom:18px}.mascot-journey-traveler{bottom:20px}.mascot-journey-traveler.vehicle{bottom:18px}.mascot-journey-progress{grid-template-columns:minmax(0,1fr);gap:4px}.mascot-journey-score{white-space:normal}.mascot-journey-meter{grid-column:1}}
@media(prefers-reduced-motion:reduce){.mascot-journey-traveler,.mascot-face,.mascot-journey-traveler::after,.mascot-journey-traveler .dog-legs{animation:none!important;transition:none!important}}

/* Silueta de cachorro con hocico y orejas caídas, claramente distinta de un oso. */
.mascot-dog-art .dog-body,.mascot-dog-art .dog-head,.mascot-dog-art .dog-neck{fill:#d5a15e;stroke:#704a2c;stroke-width:2}
.mascot-dog-art .dog-patch,.mascot-dog-art .dog-ear{fill:#81502e}.mascot-dog-art .dog-ear-right{fill:#bd8240}.mascot-dog-art .dog-chest,.mascot-dog-art .dog-muzzle{fill:#fff0d5}
.mascot-dog-art .dog-legs path{fill:#d5a15e;stroke:#704a2c;stroke-width:2;stroke-linejoin:round}
.mascot-dog-art .dog-eye,.mascot-dog-art .dog-nose{fill:#30261e}.mascot-dog-art .dog-smile{fill:none;stroke:#704a2c;stroke-width:1.5;stroke-linecap:round}
.mascot-dog-art .dog-tail{fill:none;stroke:#81502e;stroke-width:7;stroke-linecap:round;transform-origin:48px 54px}
.mascot-character .mascot-dog-art{width:116px;height:80px;max-width:100%;overflow:visible}
.mascot-journey-traveler.mascot-dog-traveler{width:68px;height:55px}.mascot-journey-traveler.mascot-dog-traveler .mascot-dog-art{width:66px;height:48px}
.mascot-journey-traveler:not(.vehicle):not(.mascot-dog-traveler)::before,.mascot-journey-traveler:not(.vehicle):not(.mascot-dog-traveler)::after{content:none}
.mascot-face{padding:0;font-size:39px;animation:mascotSpeciesRun 360ms ease-in-out infinite alternate}
.mascot-journey-meal-label{position:absolute;z-index:2;left:2.5%;bottom:6px;color:#25351f;font-size:8px;font-weight:900;letter-spacing:.06em}
.mascot-journey-traveler{transition:left 3.2s cubic-bezier(.22,.72,.24,1),opacity .2s ease}
.mascot-journey-track[data-phase="new-day"] .mascot-journey-traveler{opacity:0;transition:none}
.mascot-journey-track[data-phase="at-home"] .mascot-journey-traveler{transform:translateX(-50%) scaleX(-1)}
.mascot-journey-track[data-phase="new-day"] .mascot-journey-traveler{transform:translateX(-50%)}
@keyframes mascotSpeciesRun{from{transform:translateY(1px) rotate(-3deg)}to{transform:translateY(-3px) rotate(3deg)}}
@media(prefers-reduced-motion:reduce){.mascot-face{animation:none!important}}
