.bobo-open{overflow:hidden}.bobo-overlay[hidden]{display:none}.bobo-overlay{position:fixed;inset:0;z-index:1000;background:rgba(9,24,29,.68);backdrop-filter:blur(7px);display:grid;place-items:center;padding:20px;overflow:auto;overscroll-behavior:contain}.bobo-dialog{width:min(560px,100%);max-height:calc(100dvh - 40px);overflow:auto;padding:28px 36px 30px;border-radius:32px;background:radial-gradient(ellipse at 50% 30%,#e6fbf0,transparent 54%),#fffdf7;box-shadow:0 30px 110px #001b2b60;text-align:center;animation:dialog-in .35s ease-out;color:#173f40;border:1px solid #ffffffa0}.bobo-kicker{font-size:11px;font-weight:750;letter-spacing:2px;color:#51837b}.bobo-dialog h2{font-size:clamp(19px,3vw,26px);letter-spacing:-.5px;margin:12px 0 0}.bobo-stage{position:relative;width:min(300px,65vw);height:min(270px,58vw);margin:0 auto}.bobo-motion{position:relative;width:100%;height:100%;transform-origin:50% 85%;animation:growth-bounce 2s ease-in-out infinite}.bobo-motion img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 14px 8px #176b5218)}.bobo-orbit{position:absolute;inset:25px 10px 10px;border:1px dashed #aadbd0;border-radius:50%;transform:rotate(-20deg)}.bobo-word{display:block;font-size:clamp(25px,5vw,36px);color:#087876;overflow-wrap:anywhere;line-height:1.25}.bobo-status{font-size:12px;color:#68847e;margin:10px 0;min-height:20px}.bobo-dialog button{font:inherit;cursor:pointer;border:0;min-height:44px}.bobo-replay{background:#e7f3ec;color:#247164;border-radius:25px;padding:10px 22px;font-size:14px!important}.bobo-feedback{margin:20px 0;padding:16px 12px;border-top:1px solid #dce9de;border-bottom:1px solid #dce9de}.bobo-feedback h3{font-size:17px;margin:0 0 7px}.bobo-feedback p{font-size:14px;margin:0;color:#55766d;line-height:1.6}.bobo-feedback small{display:block;margin-top:5px;color:#617c77;line-height:1.5}.bobo-continue{width:100%;border-radius:16px;padding:15px 22px;background:#087d76;color:white;font-weight:750!important;box-shadow:0 4px 0 #075b57}.bobo-dialog button:focus-visible{outline:3px solid #e5a32b;outline-offset:4px}.bobo-spark{position:absolute;left:5%;top:28%;font-size:35px;color:#f0b640;animation:twinkle 1.7s infinite}.bobo-spark:nth-last-of-type(1){left:auto;right:8%;top:55%;animation-delay:.5s}.voice-waves{position:absolute;right:7%;bottom:20%;display:flex;align-items:center;gap:3px;height:25px;opacity:0}.voice-waves i{height:6px;width:4px;background:#159c91;border-radius:5px}.is-speaking .voice-waves{opacity:1}.is-speaking .voice-waves i{animation:voice .35s alternate infinite}.is-speaking .voice-waves i:nth-child(2){animation-delay:.15s}.is-speaking .voice-waves i:nth-child(3){animation-delay:.25s}.bobo-encourage .bobo-dialog{background:radial-gradient(ellipse at 50% 30%,#ffecd3,transparent 54%),#fffdf7}.bobo-encourage .bobo-motion{animation:growth-nod 2.7s ease-in-out infinite}.bobo-encourage .bobo-spark{display:none}.bobo-encourage .bobo-orbit{border-color:#ead1aa}.motion-cradle{animation:growth-sway 3s ease-in-out infinite}.motion-crawl{animation:growth-crawl 2.3s ease-in-out infinite}.motion-run{animation:growth-run .85s ease-in-out infinite}.motion-skip{animation:growth-skip 1.8s ease-in-out infinite}.motion-sway{animation:growth-sway 2.5s ease-in-out infinite}.motion-graduate{animation:growth-graduate 2.5s ease-in-out infinite}.motion-nod{animation:growth-nod 2.5s ease-in-out infinite}.motion-proud{animation:growth-proud 3s ease-in-out infinite}.motion-holiday{animation:growth-holiday 3s ease-in-out infinite}@keyframes dialog-in{from{opacity:0;transform:translateY(25px) scale(.95)}to{opacity:1;transform:none}}@keyframes growth-bounce{50%{transform:translateY(-16px) scale(1.025)}}@keyframes growth-sway{25%{transform:rotate(-5deg)}75%{transform:rotate(5deg)}}@keyframes growth-crawl{25%{transform:translateX(-9px) rotate(-3deg)}75%{transform:translateX(9px) rotate(3deg)}}@keyframes growth-run{25%{transform:translateY(-10px) rotate(-5deg)}75%{transform:translateY(-10px) rotate(5deg)}}@keyframes growth-skip{35%{transform:translateY(-20px) rotate(5deg)}65%{transform:scale(1.04,.97)}}@keyframes growth-graduate{35%{transform:translateY(-24px) rotate(-4deg)}65%{transform:translateY(-8px) rotate(4deg)}}@keyframes growth-nod{40%{transform:translateY(7px) scale(1.015,.975)}70%{transform:rotate(-3deg)}}@keyframes growth-proud{50%{transform:scale(1.045) translateY(-5px)}}@keyframes growth-holiday{25%{transform:rotate(-6deg) translateY(-4px)}75%{transform:rotate(6deg) translateY(-4px)}}@keyframes twinkle{50%{opacity:.3;transform:scale(.7) rotate(15deg)}}@keyframes voice{to{height:23px}}@media(max-height:750px){.bobo-dialog{padding:20px 25px}.bobo-stage{width:210px;height:190px}.bobo-feedback{margin:12px 0;padding:12px}.bobo-dialog h2{font-size:20px}}@media(max-width:480px){.bobo-overlay{padding:12px}.bobo-dialog{padding:22px;max-height:calc(100dvh - 24px);border-radius:26px}.bobo-stage{width:230px;height:205px}}@media(prefers-reduced-motion:reduce){.bobo-overlay *{animation:none!important}.bobo-spark{display:none}}
.bobo-motion canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}

/* Gentle illustrated mode: one finite canvas action; no competing CSS loops. */
.bobo-overlay .bobo-motion{animation:none!important}.bobo-overlay .bobo-spark{animation:none;opacity:.65;font-size:24px}.bobo-overlay .bobo-orbit{border-style:solid;opacity:.45}.bobo-dialog{animation:dialog-in .45s cubic-bezier(.22,1,.36,1)}.is-speaking .voice-waves i{animation-duration:.65s}

