/* Santana Atualiza v0.9.15 — elementos isolados do mascote; slide 1, 2 ou 3. */
#saCarousel .santi-overlay{position:absolute;inset:0;z-index:5;pointer-events:none;overflow:hidden;isolation:isolate}
#saCarousel .santi-actor{position:absolute;right:1px;bottom:-17px;width:clamp(76px,23vw,99px);aspect-ratio:1199/1312;display:block;padding:0;border:0;background:transparent;box-shadow:none;cursor:pointer;touch-action:manipulation;pointer-events:none;opacity:0;transform:translate3d(0,110%,0) rotate(5deg) scale(.94);transform-origin:55% 85%;will-change:transform;outline-offset:-5px}
#saCarousel .santi-overlay.is-interactive .santi-actor{pointer-events:auto}
#saCarousel .santi-actor svg{height:100%;width:100%;display:block;overflow:visible;stroke:none;fill:none;pointer-events:none;animation:santiLive 2800ms ease-in-out infinite alternate}
#saCarousel .santi-actor:focus-visible{outline:2px solid #fceca9;border-radius:12px}
#saCarousel .santi-bubble{position:absolute;z-index:8;top:7px;right:4px;width:95px;min-height:29px;max-height:90px;border-radius:13px 13px 4px 13px;padding:7px 18px 7px 7px;background:rgba(251,255,246,.97);border:1.5px solid #bddbb9;color:#16472d;box-shadow:0 5px 13px #052b1d4d;text-shadow:none;font-size:10.4px;font-weight:750;line-height:1.22;overflow-wrap:break-word;opacity:0;transform:translate3d(0,8px,0) scale(.91);transform-origin:right bottom;transition:opacity .32s ease,transform .38s ease;pointer-events:none;visibility:hidden}
#saCarousel .santi-bubble::after{content:'';position:absolute;right:14px;bottom:-6px;width:9px;height:9px;transform:rotate(45deg);background:#fbfff6;border-right:1.5px solid #bddbb9;border-bottom:1.5px solid #bddbb9}
#saCarousel .santi-overlay.has-bubble .santi-bubble{opacity:1;transform:translate3d(0,0,0) scale(1);pointer-events:auto;visibility:visible}
#saCarousel .santi-close{position:absolute;right:1px;top:1px;width:20px;height:20px;border-radius:50%;color:#376f4f;background:transparent;border:0;font-size:15px;line-height:1;display:grid;place-items:center;padding:0;pointer-events:auto}
#saCarousel .santi-close:focus-visible{outline:2px solid #235d3f}
/* Movimento independente das camadas da imagem original; sorriso totalmente estático. */
#saCarousel .santi-actor .santi-body{animation:none}
#saCarousel .santi-actor .santi-tail{transform-box:fill-box;transform-origin:77% 43%;animation:santiTail 1900ms ease-in-out infinite alternate}
#saCarousel .santi-actor .santi-dorsal{transform-box:fill-box;transform-origin:82% 80%;animation:santiDorsal 2400ms ease-in-out infinite alternate}
#saCarousel .santi-actor .santi-arm-left{transform-box:fill-box;transform-origin:49% 32%;animation:santiLeftFin 1500ms ease-in-out infinite alternate}
#saCarousel .santi-actor .santi-arm-right{transform-box:fill-box;transform-origin:24% 59%;animation:santiWave 1250ms ease-in-out infinite alternate}
#saCarousel .santi-actor .santi-eye-left,#saCarousel .santi-actor .santi-eye-right{transform-box:fill-box;transform-origin:center;animation:santiEyeRest 3200ms ease-in-out infinite}
#saCarousel .santi-actor .santi-eye-right{animation-delay:-300ms}
#saCarousel .santi-actor .santi-mouth{animation:none!important;transform:none!important}
#saCarousel .santi-actor .santi-eyelid-left,#saCarousel .santi-actor .santi-eyelid-right{transform-box:fill-box;transform-origin:center;animation:santiBlink 3500ms ease-in-out infinite}
#saCarousel .santi-actor .santi-eyelid-right{animation-delay:75ms}
#saCarousel .santi-actor[data-tone="curious"] .santi-eye-left,#saCarousel .santi-actor[data-tone="curious"] .santi-eye-right{animation:santiEyeRest 3200ms ease-in-out infinite}
#saCarousel .santi-actor[data-tone="inform"] .santi-arm-right{animation:santiPresent 1700ms ease-in-out infinite alternate}
#saCarousel .santi-actor[data-tone="surprise"] .santi-arm-right{animation:santiSurprise 1050ms ease-in-out infinite alternate}
#saCarousel .santi-actor[data-tone="surprise"] .santi-eye-left,#saCarousel .santi-actor[data-tone="surprise"] .santi-eye-right{animation:santiEyeRest 3200ms ease-in-out infinite}
#saCarousel .santi-actor[data-tone="goodbye"] .santi-arm-right{animation:santiWave 650ms ease-in-out infinite alternate}
#saCarousel .santi-overlay.santi-gone .santi-actor svg,#saCarousel .santi-overlay.santi-gone .santi-actor image,#saCarousel .santi-overlay.santi-gone .santi-actor ellipse{animation-play-state:paused!important}
@keyframes santiLive{from{transform:translateY(2px) rotate(-1.5deg)}to{transform:translateY(-3px) rotate(1.5deg)}}
@keyframes santiTail{from{transform:rotate(-13deg)}to{transform:rotate(15deg)}}
@keyframes santiDorsal{from{transform:rotate(-4deg)}to{transform:rotate(4deg)}}
@keyframes santiLeftFin{from{transform:rotate(-12deg)}to{transform:rotate(11deg)}}
@keyframes santiWave{0%,100%{transform:rotate(-16deg)}50%{transform:rotate(23deg)}}
@keyframes santiPresent{from{transform:rotate(-6deg)}to{transform:rotate(20deg) translateY(-10px)}}
@keyframes santiSurprise{from{transform:rotate(1deg)}to{transform:rotate(-19deg)}}
@keyframes santiLook{0%,16%,83%,100%{transform:translate(0,0)}25%,43%{transform:translate(-29px,0)}55%,71%{transform:translate(21px,0)}}
@keyframes santiLookUp{0%,100%{transform:translate(0,0)}38%,65%{transform:translate(-8px,-23px)}}
@keyframes santiWideEyes{from{transform:scale(1)}to{transform:scale(1.09)}}
@keyframes santiBlink{0%,29.5%,31%,32%,34%,73%,74.5%,76%,100%{transform:scaleY(0)}31.5%,75%{transform:scaleY(1)}}
@media(max-width:360px){#saCarousel .santi-actor{width:clamp(73px,23vw,88px)}#saCarousel .santi-bubble{width:79px;font-size:9.5px}}
/* Respeita a preferência do dispositivo, exceto quando o morador escolhe ANIMADO explicitamente. */
#saCarousel .santi-overlay[data-motion="reduced"] .santi-actor svg,#saCarousel .santi-overlay[data-motion="reduced"] .santi-actor image,#saCarousel .santi-overlay[data-motion="reduced"] .santi-actor ellipse{animation:none!important}
#saCarousel .santi-overlay[data-motion="reduced"] .santi-eyelid-left,#saCarousel .santi-overlay[data-motion="reduced"] .santi-eyelid-right{display:none}
#saCarousel .santi-overlay[data-motion="reduced"] .santi-bubble{transition:none}
.santi-settings{margin-top:21px;background:#f0f7f1;border:1px solid #d7e8db;border-radius:17px;padding:13px 14px;color:#1a4734}
.santi-settings summary{cursor:pointer;font-weight:800;font-size:14px;list-style-position:outside}
.santi-settings summary small{display:block;font-size:11px;font-weight:550;color:#698376;margin:4px 0 0 23px}
.santi-settings-inner{display:grid;gap:13px;margin-top:16px}
.santi-settings-inner label{display:grid;gap:7px;font-size:12px;font-weight:700}
.santi-settings-inner label:has([type="checkbox"]){display:flex;align-items:center}
.santi-settings-inner input{accent-color:#166c45}
.santi-settings-inner select{min-width:0;width:100%;background:#fff;border:1px solid #cadccf;border-radius:10px;padding:9px 8px;color:#1a4734;font-size:12px}
.santi-test-btn{background:#155f41;color:#fff;padding:10px 12px;border-radius:11px;text-align:center;font-size:12px;font-weight:800}
.santi-settings-hint{margin:0;color:#657b6e;font-size:11px;line-height:1.5}

/* No cartão 3, o texto central já faz parte da imagem de fundo. */
#saCarousel[data-slide="2"] .santi-bubble{width:78px;right:3px;font-size:9.8px;padding:6px 16px 6px 6px}

/* v0.9.15 — olho estável: posição dos recortes fixa, sem translação do íris. */
@keyframes santiEyeRest{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.98;transform:scale(1.005)}}
#saCarousel .santi-actor .santi-eye-left,#saCarousel .santi-actor .santi-eye-right{transform-origin:center;animation:santiEyeRest 3200ms ease-in-out infinite!important}
#saCarousel .santi-overlay[data-motion="reduced"] .santi-actor .santi-eye-left,#saCarousel .santi-overlay[data-motion="reduced"] .santi-actor .santi-eye-right{animation:none!important}

/* Correção v0.9.19: balão mais legível, sem cortar palavras nas telas pequenas. */
#saCarousel .santi-bubble{top:9px;right:9px;bottom:auto;width:clamp(104px,39%,160px);max-width:calc(100% - 125px);min-height:42px;max-height:none;padding:10px 28px 10px 11px;border-radius:14px 14px 6px 14px;background:#fcfff8;color:#17472f;font-size:11.8px;line-height:1.26;font-weight:770;overflow-wrap:break-word;white-space:normal;box-shadow:0 5px 16px rgba(6,49,31,.35)}
#saCarousel .santi-bubble::after{right:21px;bottom:-6px}
#saCarousel .santi-close{right:2px;top:2px;width:24px;height:24px;font-size:18px}
#saCarousel[data-slide="2"] .santi-bubble{right:8px;top:8px;width:clamp(100px,35%,140px);font-size:11px;padding:9px 26px 9px 9px}
@media(max-width:360px){#saCarousel .santi-bubble{font-size:10.6px;width:115px;max-width:calc(100% - 102px)}#saCarousel[data-slide="2"] .santi-bubble{font-size:10.4px;width:110px}}
