/* The family activities share the shape language and colours of the garden. */
.activity-arrow{margin-left:auto;color:var(--teal);font-size:1.4rem}
.resource .play-art{width:40px;height:40px}
.garden-game.garden-lab{display:block;isolation:isolate;max-width:1080px;margin:2.5rem auto 0;padding:clamp(1rem,3vw,2.6rem);border:2px solid #387265;border-radius:30px;background:#fffaf0;box-shadow:0 6px 0 #bac398}
.lab-heading h3{margin:.25rem 0;font:700 clamp(1.8rem,3.2vw,3.1rem)/1.06 var(--face);letter-spacing:-.05em}.lab-heading p{max-width:680px;margin:.55rem 0 1.25rem}
.trail-picker{display:flex;gap:.5rem;flex-wrap:wrap;margin:1rem 0}.trail-picker button,.lab-controls button{font:800 .92rem/1.18 Nunito,sans-serif;border:1px solid #b8c9ae;border-radius:2rem;background:#fffdf4;color:#25554c;padding:.6rem .9rem;min-height:44px;cursor:pointer}
.trail-picker button{display:flex;align-items:center;gap:.35rem}.trail-picker .play-art{width:29px;height:27px}
.trail-picker button[aria-pressed=true],.lab-controls [data-forward]{border-color:#155d4d;background:#155d4d;color:#fff}
.trail-picker .earned span::after{content:' ✓';font-weight:900}
.lab-meadow{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(#c7e9e8 0%,#ebf4d8 67%,#bace8f 67%);border:1px solid #91b399;border-radius:20px;padding:clamp(1rem,3vw,2.2rem);min-height:230px}
.lab-horizon,.lab-land{position:absolute;pointer-events:none;z-index:-1}.lab-horizon{inset:0}.lab-horizon i{position:absolute;top:22%;left:6%;width:66px;height:12px;border-radius:100px;background:#fdfaf0}.lab-horizon i:before,.lab-horizon i:after{content:'';position:absolute;border-radius:50%;background:inherit;width:26px;height:24px;bottom:0;left:9px}.lab-horizon i:after{width:31px;height:30px;left:25px}.lab-horizon i:nth-child(2){left:70%;top:18%;transform:scale(.75)}.lab-horizon i:nth-child(3){left:auto;right:4%;top:33%;transform:scale(.58)}.lab-land{inset:55% -10% -15%;border-radius:80% 80% 0 0;background:#8ab27e;transform:rotate(-5deg)}.lab-land:after{content:'';position:absolute;inset:33% -10% -15%;border-radius:80% 80% 0 0;background:#739e68;transform:rotate(9deg)}
.lab-bird{pointer-events:auto;cursor:pointer;background:transparent;border:0;padding:0;border-radius:50%;position:absolute;z-index:1;right:6%;top:22%;width:clamp(75px,13vw,145px);filter:drop-shadow(0 4px 1px #45694c2d);animation:club-hover 5.5s ease-in-out infinite}.lab-bird .play-art{width:100%}
@keyframes club-hover{0%,100%{transform:translateY(0) rotate(2deg)}50%{transform:translateY(-7px) rotate(-3deg)}}
.lab-stage{position:relative;max-width:77%;width:fit-content;min-width:55%;background:#fffaf2f5;border:1px solid #a2b5a0;padding:clamp(1rem,2.2vw,1.7rem);border-radius:14px 20px 17px 15px;box-shadow:0 3px 0 #496d4e38}
.lab-position,.activity-workbench>small{font-size:.79rem;font-weight:800;color:#416c5a;letter-spacing:.045em}.lab-stage h4,.activity-workbench h3{font:700 clamp(1.23rem,2vw,1.75rem)/1.18 var(--face);letter-spacing:-.035em;color:var(--deep);margin:.4rem 0 .9rem}
.lab-example{display:flex;align-items:center;flex-wrap:wrap;gap:.2rem;padding:.3rem 0 .75rem}.lab-example .play-art{width:clamp(27px,4vw,41px);height:40px}.lab-example b{align-self:center;color:#487863}
.lab-choices,.story-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem}
.lab-choices button,.story-choices button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:.2rem;min-height:58px;min-width:0;font:800 .94rem/1.1 Nunito,sans-serif;text-align:center;color:#254d45;background:#fffdf6;border:1px solid #8da892;border-bottom:3px solid #8da892;border-radius:12px;padding:.45rem .5rem;cursor:pointer}
.lab-choices button .play-art,.story-choices button .play-art,.story-choices>.play-art{width:clamp(36px,4.5vw,54px);height:48px}
.lab-choices button:hover,.story-choices button:hover,.trail-picker button:hover,.lab-controls button:hover,.swatch:hover{box-shadow:inset 0 0 0 2px #4b8879}.lab-choices button:disabled{cursor:default}.lab-choices button.picked{background:#d8edbc;border-color:#4f8846}.lab-choices button.picked span:after{content:' ✓'}
.lab-foot{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:65px;padding:.45rem .1rem 0}.lab-foot p{color:#325949;font-size:1rem;margin:.4rem 0;font-weight:700}.lab-controls,.workshop-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.lab-controls{flex:none}.lab-controls button{font-size:.83rem;min-height:42px}
.activity-head{padding-block:clamp(2rem,4.5vw,4rem)}.activity-head .crumb{margin-bottom:1rem}.activity-head-inner{display:flex;gap:2rem;align-items:center;justify-content:space-between}.activity-head h1{max-width:18ch}.activity-head p{max-width:650px}
.activity-sticker{background:#fff8e6;border:5px solid #fffcf3;border-radius:43% 55% 48% 50%;width:clamp(75px,13vw,170px);aspect-ratio:1;display:grid;place-items:center;flex:none;transform:rotate(7deg);box-shadow:2px 4px 0 #7b8e7c4a}.activity-sticker .play-art{width:73%}
.activity-layout{display:grid;grid-template-columns:1fr 1.1fr;gap:clamp(1.7rem,4vw,4.5rem);padding-block:clamp(2rem,5vw,5rem);align-items:start}
.activity-notes h2,.activity-studio h2,.family-next h2{font-size:clamp(1.6rem,3vw,2.6rem);line-height:1.1}.activity-notes ol{counter-reset:play-step;padding:0;list-style:none}.activity-notes li{position:relative;counter-increment:play-step;margin:1rem 0;min-height:32px;padding-left:2.65rem}.activity-notes li:before{content:counter(play-step);position:absolute;top:0;left:0;width:30px;height:30px;display:grid;place-items:center;background:#d7e9ca;color:#265e44;border-radius:45% 52% 44% 55%;font-weight:800}
.activity-notes aside{border-left:4px solid #ebad43;background:#fcf2d6;padding:1rem 1.2rem;border-radius:0 12px 12px 0}.activity-notes aside p{margin:.2rem 0}
.activity-studio{min-width:0;background:#f6eed8;padding:clamp(1.2rem,2.4vw,2rem);border:1px solid #cbbd9b;border-radius:22px;box-shadow:0 5px 0 #e2d8b8}.activity-studio h2{margin:.55rem 0}.activity-studio>p{margin:.6rem 0 1rem}
.activity-workbench{background:#fffaf0;border:1px solid #d7cdb2;border-radius:15px;padding:clamp(.8rem,2vw,1.4rem)}
.activity-studio .play-status{margin:.65rem 0 0;min-height:1.55em;font-weight:800;color:#315b4b}
.hunt-palette{display:flex;gap:.4rem;flex-wrap:wrap}.swatch{font:800 .86rem/1.1 Nunito,sans-serif;padding:.6rem .75rem;min-height:42px;border:2px solid transparent;border-radius:9px;cursor:pointer;color:#253e38}.swatch.yellow{background:#f2cb59}.swatch.green{background:#b2d197}.swatch.red{background:#efab9c}.swatch[aria-pressed=true]{border-color:#284e45}
.colour-prompt{margin:1.15rem 0}.colour-prompt h3{margin:0}.colour-prompt p{margin:.4rem 0 0}.fruit-basket{display:flex;align-items:flex-end;justify-content:center;min-height:100px;gap:0;background:linear-gradient(0deg,#885731 0 6px,#d7a36a 6px 10px,#ad7747 10px 18px,transparent 18px);border-bottom-left-radius:12px;border-bottom-right-radius:12px;padding:8px 0 15px;margin:0 0 1rem}.fruit-basket .play-art{width:15%;max-width:60px}.fruit-basket span{color:#675643;font-size:.85rem}
.workshop-actions .button,.activity-workbench>.button{min-height:44px;font-size:.9rem;padding:.7rem 1rem}.activity-workbench button:disabled{opacity:.6;cursor:default}.story-choices{margin:.8rem 0 1rem}.story-choices button{font-size:.85rem}.story-choices>.play-art{justify-self:center}.read-story{font-size:1.12rem;line-height:1.6;font-weight:700;background:#f1e8f3;padding:1rem;border-radius:10px}.family-next{padding-bottom:clamp(3rem,5vw,5rem)}.family-next .resource-list{grid-template-columns:repeat(2,minmax(0,1fr));max-width:850px}
.lab-controls [hidden],.lab-example[hidden],.activity-workbench [hidden],.activity-studio[hidden]{display:none}
@media(max-width:800px){.lab-foot{align-items:flex-start;flex-direction:column;gap:.35rem}.activity-layout{grid-template-columns:1fr}.activity-studio{grid-row:1}.family-next .resource-list{grid-template-columns:1fr}}
@media(max-width:580px){.trail-picker{display:grid;grid-template-columns:repeat(3,1fr);gap:.3rem}.trail-picker button{flex-direction:column;justify-content:center;padding:.4rem .2rem;gap:.1rem;border-radius:12px;font-size:.77rem}.lab-meadow{padding:55px .55rem .65rem}.lab-stage{width:100%;max-width:100%;padding:.8rem}.lab-bird{right:14px;top:0;width:62px;transform:rotate(-10deg)}.lab-choices{gap:.35rem}.lab-choices button{font-size:.83rem}.lab-controls{gap:.35rem;flex-wrap:wrap}.lab-controls button{padding:.5rem .7rem}.activity-head-inner{gap:.4rem}.activity-sticker{width:59px;align-self:flex-start}.activity-head .over{font-size:.7rem}.activity-head h1{font-size:clamp(2.5rem,10vw,3.5rem)}}
@media(prefers-reduced-motion:reduce){.lab-bird{animation:none}}
