:root{--discovery-teal:#245e5b;--discovery-gold:#f0c45b;--discovery-orange:#d76b36;--discovery-paper:#fffcf2}
.owl-companion{position:relative;isolation:isolate;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:110px;height:125px;min-width:68px;border:0;background:transparent;padding:0;color:var(--discovery-teal);cursor:pointer;touch-action:manipulation;overflow:visible}
.owl-companion:focus-visible{outline:3px solid var(--discovery-orange);outline-offset:5px;border-radius:30px}.owl-portrait{position:relative;display:block;width:100%;aspect-ratio:320/293;transform-origin:50% 90%;filter:drop-shadow(0 5px 2px #72532b20)}.owl-portrait>img{width:100%;height:100%;display:block;object-fit:contain}.owl-face{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.owl-eyelids,.owl-mouth{opacity:0}.owl-thought,.owl-spark{position:absolute;opacity:0;font-size:26px;top:-8%;right:4%;color:#9c6e25}.owl-help-mark{position:absolute;right:0;bottom:20%;display:grid;place-items:center;width:27px;height:27px;background:#ffedb2;border:2px solid #fffdf4;border-radius:50%;font-weight:bold;box-shadow:0 2px 5px #6c724520}.owl-tap-cue{position:absolute;bottom:-2px;font-size:12px;white-space:nowrap;background:#fffcf2;border:1px solid #dccaa0;padding:2px 9px;border-radius:12px;color:#245e5b}
[data-owl-state=idle] .owl-portrait{animation:owl-breathe 7s ease-in-out infinite}[data-owl-state=blinking] .owl-eyelids{opacity:1}[data-owl-state=speaking] .owl-mouth{opacity:1;animation:owl-talk .48s ease-in-out infinite}[data-owl-state=speaking] .owl-portrait{animation:owl-speak 2.1s ease-in-out infinite}[data-owl-state=welcoming] .owl-portrait,[data-owl-state=goodbye] .owl-portrait{animation:owl-wave 1.4s ease-in-out}[data-owl-state=thinking] .owl-portrait{transform:rotate(-7deg)}[data-owl-state=thinking] .owl-thought{opacity:1}[data-owl-state=demonstrating] .owl-portrait{transform:rotate(5deg)}[data-owl-state=encouraging] .owl-portrait{animation:owl-nod 1.1s ease-in-out}[data-owl-state=celebrating] .owl-portrait{animation:owl-joy .9s ease-in-out 2}[data-owl-state=celebrating] .owl-spark{opacity:1;animation:owl-spark 1.8s ease-out}[data-owl-state=waiting] .owl-help-mark{background:#d9ebe4}
@keyframes owl-breathe{50%{transform:translateY(-2px) scale(1.008)}}@keyframes owl-talk{50%{transform:translate(0,2px) scaleY(.45);transform-origin:153px 108px}}@keyframes owl-speak{50%{transform:rotate(1deg)}}@keyframes owl-wave{25%,75%{transform:rotate(-5deg)}50%{transform:rotate(4deg)}}@keyframes owl-nod{40%{transform:translateY(3px) rotate(3deg)}70%{transform:translateY(-1px)}}@keyframes owl-joy{45%{transform:translateY(-7px) rotate(-3deg)}}@keyframes owl-spark{0%{transform:scale(.6)}60%{transform:scale(1.1)}100%{transform:scale(1)}}
.owl-tools{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.owl-tools[hidden]{display:none}.owl-tools button{min-width:48px;min-height:48px;padding:9px 14px;border:1px solid #9abdb3;border-radius:16px;background:#e6f0e3;color:#245e5b;font-size:14px}.owl-tools button span{font-size:20px;padding-right:5px}.owl-caption{font-size:15px;line-height:1.45;color:#245e5b;margin:6px 0;max-width:64ch}.owl-attention{outline:3px solid #d7ab50;outline-offset:7px;border-radius:16px}.welcome-companion{display:flex;gap:20px;align-items:center;max-width:700px;margin:10px auto 20px;text-align:left}.welcome-companion .owl-companion{width:140px;height:150px}.welcome-companion p{font-size:1.05rem}.welcome-companion button[data-welcome-voice]{display:inline-flex;align-items:center;gap:8px;background:#e6f0e3;color:#245e5b;min-height:48px;border:1px solid #9abdb3;border-radius:16px;padding:10px 16px}
.room-scene{height:175px;border-radius:26px;position:relative;overflow:hidden;background:var(--scene-wash);border:2px solid #d8c49e;box-shadow:0 5px 0 #ad8c5c14;margin:0 0 20px;pointer-events:none}.scene-architecture{position:absolute;width:100%;height:100%;inset:0}.scene-object{position:absolute;bottom:10px;width:125px;height:125px;display:grid;place-items:center;filter:drop-shadow(0 3px 1px #644a3025)}.scene-object>svg,.scene-object>img{width:100%;height:100%;object-fit:contain}.scene-object-0{left:9%;width:110px;height:105px}.scene-object-1{left:43%}.scene-object-2{right:7%;width:100px;height:95px}.scene-plaque{position:absolute;left:35%;right:25%;top:8px;background:#fffbeb;border:1px solid #d1b683;border-radius:10px;padding:5px 8px;text-align:center;font:14px Georgia,serif;color:#4e6655}.compact-scene{height:115px;margin:-8px -8px 20px;border-radius:18px}.compact-scene .scene-object{width:80px;height:80px;bottom:3px}.compact-scene .scene-plaque{top:5px}.activity-illustration{position:relative;width:100%;height:100%;display:block}.activity-illustration>svg,.activity-illustration>img{position:absolute;width:72%!important;height:80%!important;inset:8% auto auto 0;object-fit:contain}.activity-illustration>:nth-child(2){width:48%!important;height:58%!important;left:auto;right:-2%;top:40%;background:#fffaf0;border-radius:12px;padding:2px;filter:drop-shadow(0 2px 1px #6b63412a)}.activity-card{background:#fffaf0;border-color:#d2c49f}.activity-art{background:#f2e5c7;box-shadow:inset 0 0 0 1px #fffdf5}.room-intro .owl-companion{margin-left:auto}.instruction .owl-companion{width:95px;height:105px}.instruction{align-items:center}.instruction>div{min-width:0}.activity-page .play-surface{background:#fffdf5;border-color:color-mix(in srgb,var(--room) 60%,#ded3b7);box-shadow:0 7px 0 #9578490d}.activity-top h1{font-size:clamp(1.6rem,4vw,2.5rem)}.count-apple[aria-pressed=true]{animation:count-bounce .45s ease-out}.learning-bin.fitted{animation:shape-settle .4s ease-out}.jigsaw-slot.filled{animation:shape-settle .4s ease-out}@keyframes count-bounce{45%{transform:translateY(-8px)}100%{transform:none}}@keyframes shape-settle{50%{transform:scale(1.035)}100%{transform:none}}
@media(max-width:600px){.owl-companion{width:85px;height:100px}.instruction .owl-companion{width:73px;height:86px;min-width:68px}.owl-tap-cue{font-size:11px}.owl-caption{font-size:14px}.owl-help-mark{width:23px;height:23px}.room-intro .owl-companion{display:inline-flex!important;width:75px;height:85px}.room-scene{height:125px;border-radius:18px}.scene-object{width:85px;height:85px}.scene-object-0{left:3%;width:78px;height:78px}.scene-object-1{left:37%}.scene-object-2{right:2%;width:70px;height:70px}.scene-plaque{left:25%;right:17%;font-size:12px;padding:4px}.compact-scene{height:75px;margin:0 0 15px}.compact-scene .scene-object{width:50px;height:50px}.compact-scene .scene-plaque{font-size:11px;max-width:55%;left:24%;top:2px}.welcome-companion{gap:10px;margin:10px 0 15px}.welcome-companion .owl-companion{width:105px;height:115px}.welcome-companion p{font-size:15px}.owl-tools button{flex:1;padding:8px;font-size:13px}.owl-tools button span{padding-right:2px}.activity-top{margin-bottom:12px}.instruction{padding:12px;gap:10px}.activity-bottom{gap:8px}.activity-page h1{margin-top:5px}.activity-illustration>:nth-child(2){border-radius:8px}.owl-caption:empty{display:none}}
@media(max-height:500px) and (orientation:landscape){.compact-scene{height:60px}.activity-top h1{font-size:1.6rem}.instruction .owl-companion{width:65px;height:73px;min-width:60px}.instruction{padding:8px}.activity-top{margin-bottom:8px}}
@media(prefers-reduced-motion:reduce){.owl-companion *,.count-apple,.learning-bin,.jigsaw-slot{animation:none!important;transition:none!important}.owl-mouth{transform:none!important}.owl-portrait{transform:none!important}}
@media print{.owl-companion,.owl-tools,.owl-caption,.room-scene,.welcome-companion{display:none!important}}
.activity-page .compact-scene{height:70px;margin-bottom:14px}.activity-page .compact-scene .scene-object{width:49px;height:49px;bottom:2px}.activity-page .compact-scene .scene-plaque{font-size:12px;padding:3px 8px;top:3px}
@media(min-width:601px) and (min-height:501px){.activity-page .instruction{margin-top:12px}.activity-page .instruction .owl-companion{height:86px;width:90px}}
@media(max-height:500px) and (orientation:landscape){.activity-page .compact-scene{height:52px}.activity-page .compact-scene .scene-object{width:36px;height:36px}}

.guidance-setting{display:grid;gap:8px;margin:20px 0}.guidance-setting select{min-height:48px;border:2px solid #8fb6ac;border-radius:12px;padding:9px;color:#245e5b;background:#fffdf4;font:inherit;width:100%}
@media(max-width:600px){header .nav-button[aria-label="Back to discovery rooms"]{display:inline-flex;min-width:44px;width:44px;padding:8px}header .nav-button[aria-label="Back to discovery rooms"] span{display:none}header:has([aria-label="Back to discovery rooms"]) .brand span{display:none}header:has([aria-label="Back to discovery rooms"]) .brand{min-width:28px;max-width:40px}header:has([aria-label="Back to discovery rooms"]) nav{margin-left:auto}.activity-page .owl-caption:empty{display:none}}
