:root{font-family:ui-rounded,'Trebuchet MS',Arial,sans-serif;color:#244b3c;background:#e9f3e5;font-synthesis:none}*{box-sizing:border-box}body{margin:0;height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:focus-visible{outline:4px solid #176dbe;outline-offset:4px}button:hover{filter:brightness(1.035)}button:active{transform:translateY(2px)}button:disabled{cursor:default}header{height:88px;flex-shrink:0;background:#fffdf4;display:flex;align-items:center;justify-content:space-between;padding:12px 34px;z-index:3;border-bottom:1px solid #d9e3d5}.brand{display:flex;align-items:center;gap:12px;font-size:26px;font-weight:900;letter-spacing:-1px}.brand-icon{font-size:34px;background:#edf3d9;border-radius:18px;padding:9px}.brand small{display:block;font-size:11px;letter-spacing:2.6px;margin-top:5px;font-weight:800}.top-actions{display:flex;align-items:center;gap:12px}.star-count{display:flex;align-items:center;gap:10px;font-size:22px;background:#fff0b8;border:1px solid #eed990;border-radius:40px;padding:10px 20px}.star-count span{color:#ae6c00;font-size:28px}.icon-button{border:1px solid #dce4d9;background:#fffdf5;border-radius:16px;width:50px;height:50px;font-size:24px;display:inline-grid;place-items:center}#world{position:relative;flex:1;min-height:170px;overflow:hidden;background:#c7e5e9}#scene{display:block;width:100%;height:100%;touch-action:none}#labels{position:absolute;inset:0;pointer-events:none}.map-sign{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;border:2px solid white;box-shadow:0 4px 0 #29513d30,0 5px 15px #173f2820;background:#fffef4eF;border-radius:30px;padding:8px 16px 8px 9px;white-space:nowrap;font-size:15px;font-weight:bold;display:flex;align-items:center;gap:7px;min-height:48px}.map-sign:active{transform:translate(-50%,-48%)}.map-sign .emoji{font-size:24px}.map-sign .done-dot{color:#276844}.world-note{position:absolute;top:20px;left:26px;background:#ffffffb8;border:1px solid #fff;border-radius:30px;padding:9px 16px;font-size:14px;font-weight:bold;pointer-events:none}.world-note span{color:#ba7806;margin-right:5px;font-size:20px}#walk-hint{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);background:#fffef2eF;border-radius:30px;padding:9px 20px;font-size:14px;white-space:nowrap;pointer-events:none}#nearby{position:absolute;bottom:50px;left:50%;transform:translateX(-50%);border:0;background:#285846;color:white;border-radius:24px;padding:12px 25px;box-shadow:0 4px 0 #193a2d}#fallback{position:absolute;inset:40% 15%;text-align:center}nav{flex-shrink:0;display:flex;align-items:stretch;justify-content:center;gap:12px;padding:17px 24px 20px;background:#fffdf4;border-top:1px solid #d9e3d5}.activity-card{position:relative;flex:1;max-width:175px;display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #dce7d5;border-bottom-width:4px;border-radius:20px;background:#f0f5e9;padding:13px 15px;min-height:80px}.activity-card:nth-child(2){background:#fff0cb;border-color:#eee0b3}.activity-card:nth-child(3){background:#ffe9d7;border-color:#f1d6c2}.activity-card:nth-child(4){background:#ece8fa;border-color:#dcd7ee}.activity-card:nth-child(5){background:#e6f2d7}.activity-card:nth-child(6){background:#e0f2f7;border-color:#cfe1e7}.activity-card .emoji{font-size:33px}.activity-card strong{font-size:16px;display:block}.activity-card small{font-size:12px;display:block;margin-top:4px;color:#59715c}.activity-card .badge{position:absolute;top:-8px;right:7px;background:#ffdd77;border-radius:100%;padding:1px 5px;font-size:16px;color:#80510c}dialog{border:0;color:#244b3c;background:#fffdf5;border-radius:30px;padding:28px;box-shadow:0 22px 80px #153d4650;max-width:min(720px,94vw);max-height:88dvh;overflow-y:auto}dialog::backdrop{background:#203e4858;backdrop-filter:blur(5px)}#intro{width:470px;text-align:center;padding:34px 35px}.welcome-icon{font-size:70px;margin-bottom:12px}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:900;color:#687e62}h1{font-size:32px;line-height:1.2;letter-spacing:-.8px;margin:18px 0 10px}p{font-size:17px;line-height:1.5;color:#617263;margin:6px 0 20px}.primary{background:#327151;color:#fff;border:0;border-bottom:4px solid #204f39;border-radius:18px;font-weight:bold;font-size:21px;padding:16px 32px;min-height:60px}.secondary{border:1px solid #d2dece;border-bottom-width:3px;background:#edf3e7;border-radius:18px;padding:15px 25px;font-weight:bold;font-size:17px}.parent-note{display:block;font-size:13px;color:#687e62;margin-top:20px}#activity{width:700px;text-align:center}.dialog-top{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:10px}.dialog-top>div{display:flex;gap:8px}.dialog-top .icon-button{width:44px;height:44px;font-size:20px}#task{min-height:185px;padding:12px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px}.object-row{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;width:100%}.object-button{background:#f3f4e7;border:2px solid #dde5cc;border-bottom:5px solid #d7dfc5;border-radius:24px;font-size:60px;width:99px;min-height:105px;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:10px}.object-button .word{font-size:15px;font-weight:bold}.object-button.selected{outline:4px solid #daa72b;background:#fff0c6}.object-button.collected{opacity:.35;transform:scale(.85);border-style:dashed}.visual-object{font-size:65px;display:inline-block}.number-button{font-size:40px;min-width:90px;min-height:90px;border:2px solid #d1ddc5;border-bottom-width:5px;border-radius:22px;background:#eef4e4;font-weight:bold}.number-button small{display:block;font-size:16px;letter-spacing:2px;color:#749057}.counter-pips{display:flex;gap:9px}.counter-pips span{width:34px;height:34px;background:#e8e9dc;border:2px solid #d2dcc8;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:bold}.counter-pips .filled{background:#418358;border-color:#347348}.basket{background:#fff0c9;padding:12px 25px;border-radius:24px;display:flex;gap:8px;align-items:center;font-size:30px;min-height:60px}.basket small{font-size:16px}.task-scene{display:flex;align-items:center;justify-content:center;gap:24px;min-height:100px}#feedback{min-height:35px;font-size:18px;font-weight:bold;margin:9px 0;color:#407347}#task-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.success-star{font-size:85px;color:#dda621;line-height:1.1;animation:pop .4s ease-out}.flower-icon{width:68px;height:68px}.shape-icon{width:65px;height:65px}.shape-slot{border-style:dashed;background:#f3f2e8}.shape-slot.matched{border-style:solid;background:#e4efdc}.seed-bed{font-size:55px;min-width:135px;height:130px;background:#e8d5b7;border-color:#cfb591}.task-note{font-size:15px;color:#607461}.bee-view{padding:15px;background:#edf1d9;border-radius:28px}.bee-view .visual-object:nth-child(even){transform:translateY(12px)}@keyframes pop{from{transform:scale(.6)}to{transform:scale(1)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(max-width:800px){header{padding:10px 18px;height:76px}.brand{font-size:23px}.brand-icon{font-size:28px}.top-actions{gap:7px}.icon-button{width:44px;height:44px}.star-count{padding:7px 13px;font-size:19px}nav{gap:7px;padding:12px 12px 15px}.activity-card{flex-direction:column;gap:4px;text-align:center;padding:9px 5px;min-height:80px;border-radius:15px}.activity-card strong{font-size:13px}.activity-card small{display:none}.activity-card .emoji{font-size:28px}.map-sign{font-size:13px;padding:6px 10px 6px 6px;gap:4px;min-height:44px}.map-sign .emoji{font-size:22px}.world-note{top:12px;left:12px;font-size:12px;padding:6px 12px}.world-note span{font-size:16px}}@media(max-width:480px){.brand small{font-size:9px}.brand{font-size:19px;gap:7px}.brand-icon{font-size:25px;padding:7px}.top-actions{gap:5px}.top-actions .icon-button{width:38px;height:42px;font-size:22px}.star-count{padding:7px 10px;gap:5px}.star-count span{font-size:22px}.map-sign{font-size:12px;padding:5px 8px;min-height:42px}.map-sign .emoji{font-size:19px}#walk-hint{font-size:12px;padding:8px 12px}.world-note{display:none}dialog{padding:19px;border-radius:25px}h1{font-size:26px}.object-row{gap:9px}.object-button{width:78px;min-height:87px;font-size:47px;padding:8px;border-radius:18px}.object-button .word{font-size:14px}.visual-object{font-size:48px}.shape-icon,.flower-icon{width:52px;height:52px}.number-button{min-width:70px;min-height:75px;font-size:33px}.seed-bed{width:115px;height:120px}#task{min-height:150px}.activity-card strong{font-size:12px}.dialog-top .eyebrow{font-size:10px}.primary{font-size:19px;padding:14px 23px}}@media(max-height:620px){header{height:65px}nav{padding:8px 14px}.activity-card{min-height:65px;padding:8px}dialog{max-height:94dvh}#intro{padding:20px}.welcome-icon{font-size:45px}h1{margin-top:10px}#task{min-height:120px}}
[hidden]{display:none!important}button:disabled{opacity:.58;cursor:default}#zoom-controls{position:absolute;right:15px;bottom:18px;display:flex;flex-direction:column;gap:7px}#zoom-controls button{width:44px;height:44px;border:1px solid #d0ddc6;background:#fffdf2;border-radius:14px;font-size:27px}#region-nav{position:absolute;top:14px;left:50%;transform:translateX(-50%);display:flex;gap:7px}#region-nav button{background:#fffdf4ed;border:1px solid #d3dec8;border-radius:22px;padding:8px 12px;font-size:14px;font-weight:bold;white-space:nowrap;min-height:44px}#region-nav button.current{background:#2d6b4e;color:white}#save-status{height:20px;font-size:12px;text-align:center;padding:2px 10px;background:#fffdf4;color:#5d755d}#save-status.error{color:#8a561d;background:#fff0d4}#toast{position:absolute;left:50%;top:72px;transform:translateX(-50%);background:#fff5bd;border:2px solid #ffe088;border-radius:20px;padding:12px 22px;max-width:80%;text-align:center;font-weight:bold;box-shadow:0 3px 15px #4c662a22;pointer-events:none}.gate-sign{background:#fff1bc;border-color:#ffe3a0}.gate-sign.ready{box-shadow:0 0 0 5px #fff3a680,0 4px 12px #917a3a30}.gate-sign.open{background:#e7f3d7;border-color:#c9e5b2}#gate-dialog{text-align:center;width:460px}.gate-cost{font-size:36px;font-weight:bold;color:#a26f14;margin:10px 0 23px}#wardrobe{width:820px;max-width:95vw}.dressing-layout{display:grid;grid-template-columns:240px 1fr;gap:20px;margin-top:18px}.character-view{background:#e2edd9;border-radius:24px;position:relative;text-align:center;min-height:315px}#character-preview{display:block;width:100%;height:275px;border-radius:24px;touch-action:none}.rotate-buttons{display:flex;gap:10px;justify-content:center}.rotate-buttons button{height:40px;width:44px}#preview-label{display:block;font-size:14px;margin:12px}.clothing-side{min-width:0}#wardrobe-categories{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:15px}#wardrobe-categories button{border:1px solid #d4dec9;border-radius:13px;background:#eef2e7;padding:8px;min-width:48px;min-height:47px;font-size:20px}#wardrobe-categories button.selected{background:#f4dea2;border-color:#c8aa65}#clothing-items{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.clothing-item{position:relative;min-width:0;min-height:110px;background:#f6f3e7;border:2px solid #e1dfcc;border-radius:17px;display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 5px;font-size:13px;font-weight:bold}.clothing-item .emoji{font-size:34px}.clothing-item .item-state{font-size:12px;color:#6f774d}.clothing-item.selected{border-color:#bf982e;box-shadow:0 0 0 2px #e7c775}.clothing-item.equipped{background:#e4efdc}.clothing-item.locked{background:#efeee6}.clothing-item .swatch{display:inline-block;width:13px;height:13px;border:1px solid #0002;border-radius:50%;margin-right:3px}#purchase-info{text-align:center;font-size:16px;min-height:24px;margin:20px 0 12px}#purchase{display:block;margin:auto}#wardrobe-button{background:#edf1db}.play-object.entering{animation:arrive 900ms ease-out}.pattern-slot{font-size:54px;background:#e6ead6;border-radius:18px;min-width:75px;padding:8px}.pattern-slot.empty{outline:3px dashed #aabb91}.numberline{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.numberline .number-button{min-width:50px;min-height:58px;font-size:28px}.big-object{font-size:85px}.small-object{font-size:43px}#intro .primary:disabled{font-size:17px}.world-note{display:none}@keyframes arrive{from{transform:translateX(120px);opacity:0}to{transform:translateX(0);opacity:1}}@media(max-width:650px){.dressing-layout{grid-template-columns:1fr;gap:10px}.character-view{min-height:190px}#character-preview{height:175px}.rotate-buttons{position:absolute;left:10px;right:10px;bottom:12px;justify-content:space-between}#preview-label{position:absolute;bottom:0;left:25%;right:25%;font-size:12px}#clothing-items{grid-template-columns:repeat(4,1fr)}.clothing-item{min-height:91px;font-size:12px}#wardrobe-categories{justify-content:center;margin-bottom:10px}#wardrobe-categories button{padding:6px;min-width:40px;min-height:44px;font-size:21px}#wardrobe{padding:17px}#purchase-info{margin:10px 0}#region-nav{top:10px;gap:4px}#region-nav button{font-size:12px;padding:6px 9px}.world-note{display:none}.brand-icon{display:none}.brand{font-size:18px}header{padding:10px 12px}.top-actions{gap:4px}.top-actions .icon-button{width:37px}.top-actions .star-count{padding:7px 10px}#walk-hint{max-width:75%;white-space:normal;text-align:center;bottom:8px;font-size:11px}#zoom-controls{right:8px;bottom:10px}#zoom-controls button{width:40px;height:42px}}@media(max-height:600px) and (min-width:651px){#character-preview{height:215px}.character-view{min-height:270px}}

.counter-pips{flex-wrap:wrap;justify-content:center;max-width:100%}.counter-pips span{flex-shrink:0}
.play-stage{width:100%;padding:20px;min-height:150px;border-radius:25px;background:#e9f0dc;display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap}.toy{touch-action:none;user-select:none;position:relative}.toy small{font-size:14px}.toy.placed{opacity:.7}.drag-ghost{position:fixed;z-index:100000;pointer-events:none;transform:translate(-50%,-50%);font-size:56px;background:#fff8dbdd;border-radius:18px;padding:12px;max-width:150px}.drag-ghost .word{font-size:13px}.boing{animation:boing .7s ease}.chewing{animation:chew .65s ease 2}.animal-toy{font-size:85px;width:140px;height:145px}.stream-stage{background:#bde4eb}.stream-gap{width:auto;min-width:220px;flex-direction:row;font-size:40px;background:#e1ebc6}.gap-line{display:block;border-top:5px dashed #69abc0}.plank{display:block;height:22px;background:#be9761;border:3px solid #94714a;border-radius:5px}.crossed-plank{font-size:26px;color:#967044}.floating{animation:floatBack 1s ease}.silhouette{filter:brightness(0);display:inline-block}.search-clearing{background:#dfecc8;align-items:stretch}.hiding-spot{width:130px;height:135px;background:#edf3de}.landmark{font-size:70px;position:relative;z-index:2}.hidden-friend{position:absolute;font-size:35px;z-index:3;left:60%;top:60%}.hidden-friend.behind{z-index:1;left:50%;top:20%}.hidden-friend.under{top:60%;left:30%;z-index:1}.hidden-friend.on{top:8%;left:30%}.hidden-friend.between{left:40%;top:35%}.hiding-spot.peeked .landmark{transform:translateX(-16px)}.firefly-clearing{background:radial-gradient(circle at 50% 35%,#285548,#102e2b);min-height:240px;display:grid;grid-template-columns:repeat(3,96px);gap:14px}.firefly{font-size:42px;background:#21443d;border:2px solid #477269;border-radius:50%;width:86px;height:86px;display:grid;place-items:center;position:relative;overflow:visible}.firefly-insect{filter:saturate(.35) brightness(.85);transform:rotate(-22deg);line-height:1}.firefly-light{position:absolute;right:17px;bottom:18px;color:#d8bd4d;font-size:19px;line-height:1;text-shadow:0 0 6px #eedc72}.firefly.glowing{background:#365a46;border-color:#ffe66d;box-shadow:0 0 25px 11px #ffe66d;transform:scale(1.09)}.firefly.glowing .firefly-insect{filter:saturate(.7) brightness(1.15)}.firefly.glowing .firefly-light{color:#fff7a8;text-shadow:0 0 7px #fff,0 0 16px #ffe66d}.path-grid{display:grid;grid-template-columns:repeat(3,65px);gap:7px;width:auto}.path-cell{height:60px;display:grid;place-items:center;font-size:36px;background:#afc990;border-radius:12px}.path-cell.road{background:#e3cda3}.wagon-stage{background:#f0e2c6}.wagon-stage .toy{width:auto;min-width:240px;flex-direction:row}.missing-part{outline:3px dashed #a38b62;border-radius:12px;padding:5px 20px}.picnic-board{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);padding:0;gap:0;width:300px;height:200px;min-height:200px;position:relative;overflow:visible;background:#e9d3a2;border:6px solid #b89059;border-radius:10px}.picnic-cell{width:100%;height:100%;border:1px dashed #bca374}.picnic-board .packed-piece{position:absolute;min-height:0;min-width:0;font-size:45px;margin:0;padding:3px;border-radius:9px;border:3px solid #bc9d60;background:#fff0c6}.clothesline{border-top:4px solid #b3986c;min-height:110px;padding:5px;background:#e9f2dc}.clothesline .toy{font-size:38px;min-height:65px;width:65px}.routine-step{font-size:43px;border:3px dashed #d4d9c3;border-radius:16px;padding:8px}.routine-step.finished{background:#dae9c5;border-style:solid}.routine-step.finished:after{content:'✓';font-size:20px;color:#497649}#activities{overflow-x:auto;justify-content:flex-start}.activity-card{min-width:120px}#region-nav{max-width:94%;flex-wrap:wrap;justify-content:center}#region-nav button{font-size:12px;padding:6px 9px}#task{overflow:visible}@keyframes boing{0%,100%{transform:translateX(0)}25%{transform:translateX(-10px) rotate(-4deg)}65%{transform:translateX(10px) rotate(4deg)}}@keyframes floatBack{50%{transform:translateY(32px) rotate(8deg);opacity:.6}}@keyframes chew{50%{transform:scale(1.07,.94)}}@media(max-width:650px){.activity-card{min-width:90px}#region-nav button{min-height:36px;padding:5px 7px;font-size:11px}.toy{min-width:70px}.play-stage{padding:12px;gap:10px}.picnic-board{padding:0;width:270px;height:180px;min-height:180px}.animal-toy{font-size:65px;min-width:110px;width:110px}.hiding-spot{width:110px}.firefly-clearing{grid-template-columns:repeat(3,76px);gap:8px}.firefly{min-width:68px;width:68px;height:68px;font-size:34px}.firefly-light{right:12px;bottom:13px;font-size:16px}.stream-gap{min-width:200px}}

/* Drag feedback must live inside the modal top layer. */
.drag-ghost{position:absolute;margin:0;min-height:0;min-width:70px;width:auto;height:auto;opacity:.95!important;box-shadow:0 8px 22px #244b3c55;display:flex;align-items:center;justify-content:center;flex-direction:column;line-height:1.1;border:3px solid #e3b64c;transform:translate(-50%,-50%)!important}
.toy.dragging{opacity:.3}.hiding-spot.peeked .landmark{transform:translate(-24px,-12px);opacity:.25}.hiding-spot.peeked .hidden-friend{z-index:4;left:50%;top:50%;transform:translate(-50%,-50%);font-size:62px;opacity:1}.hiding-spot.peeked{background:#e4f1c6}
.picnic-tray{min-height:150px;padding:14px;border:3px dashed #bea87b;border-radius:20px;background:#f4ead5;align-content:flex-start}.tray-label{width:100%;font-size:16px;font-weight:bold;pointer-events:none}.home-icon{width:100px;height:92px;object-fit:contain}.toy:has(.home-icon){width:140px;min-height:135px}

.bridge-building{flex-direction:column;background:#e9f0dc;padding:14px;gap:20px}.bridge-lane{position:relative;width:calc(120px + var(--gap));height:110px;border-radius:18px;background:linear-gradient(to right,#9cbd76 60px,#91d6e5 60px,#91d6e5 calc(60px + var(--gap)),#9cbd76 calc(60px + var(--gap)));flex-shrink:0;overflow:visible}.bridge-slot{position:absolute;left:60px;top:38px;width:var(--gap);height:38px;padding:0;border:3px dashed #487c88;border-radius:4px;background:#d7f4f966}.bridge-measure{font-size:18px;letter-spacing:2px;color:#426b74;white-space:nowrap}.bridge-plank,.bridge-deck{display:flex;height:32px;border:3px solid #927045;background:#c69b60;border-radius:4px;flex-shrink:0}.bridge-plank>span,.bridge-deck>span{flex:1;border-right:1px solid #9a794e}.bridge-piece{width:auto;min-height:84px;padding:9px;font-size:20px;gap:8px}.bridge-built{border:0;background:transparent}.bridge-deck{width:100%;height:38px}.bridge-rabbit{position:absolute;left:10px;top:32px;font-size:36px;z-index:2;pointer-events:none;transition:left 1.5s ease-in-out}.bridge-rabbit.crossing{left:calc(70px + var(--gap))}.bridge-slot.too-short{background:#49b6d9;border-color:#247593}.bridge-slot.too-long{background:#f3c981;border-color:#aa7b34}.bridge-piece .word{font-size:17px}

/* The garden varies from one to five plants. Compact plant cards keep every round visible. */
.garden-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(104px,1fr));max-width:620px;align-items:stretch}
.garden-grid .seed-bed{width:100%;min-width:0;height:132px;font-size:42px;padding:8px;gap:3px}
.plant-picture{font-size:45px;line-height:1}.plant-name{font-size:14px;font-weight:900;text-transform:capitalize}.water-meter{display:flex;gap:1px;min-height:19px}.water-drop{font-size:15px;filter:grayscale(1);opacity:.32}.water-drop.filled{filter:none;opacity:1}.seed-bed.grown{background:#e8f4cf;border-color:#b8d596;opacity:1}

/* Keep result menus inside short phone screens instead of hiding the action buttons below the fold. */
dialog{max-height:calc(100dvh - 16px)}
#activity.completed h1{margin:8px 0 4px}
#activity.completed #subprompt{margin:2px 0 7px}
#activity.completed #task{min-height:0;padding:4px 2px;gap:8px}
#activity.completed .play-stage{min-height:0;padding:9px;gap:8px}
#activity.completed #feedback{min-height:24px;margin:5px 0;font-size:17px}
#activity.completed .success-star{font-size:58px}
#activity.completed .hiding-spot{width:92px;height:92px;min-height:92px;padding:5px}
#activity.completed .landmark{font-size:49px}
#activity.completed .hidden-friend{font-size:27px}
#activity.completed .hiding-spot.peeked .hidden-friend{font-size:48px}
#activity.completed #task-actions .primary,#activity.completed #task-actions .secondary{min-height:52px;padding:11px 20px;font-size:17px}
@media(max-width:650px){.garden-grid{grid-template-columns:repeat(auto-fit,minmax(82px,1fr));gap:7px}.garden-grid .seed-bed{height:112px;min-height:112px;padding:5px}.plant-picture{font-size:36px}.plant-name{font-size:12px}.water-drop{font-size:13px}}
@media(max-height:760px){#activity{padding:14px}#activity h1{margin:7px 0 3px;font-size:25px}#activity #subprompt{margin:2px 0 8px;font-size:15px}#activity #task{min-height:0;padding:4px 2px;gap:8px}#activity .play-stage{min-height:0;padding:8px;gap:7px}#activity .object-button{min-height:76px}#activity .success-star{font-size:51px}#activity #feedback{margin:4px 0;min-height:22px;font-size:16px}#activity #task-actions .primary,#activity #task-actions .secondary{min-height:48px;padding:9px 17px;font-size:16px}}
.apple-basket{border:3px dashed #d6ad4f;min-width:210px;justify-content:center;transition:background .15s,border-color .15s}.apple-basket[data-drop]{cursor:pointer}.apple-basket:focus-visible{outline:4px solid #176dbe;outline-offset:4px}.orchard-item{touch-action:none;user-select:none}.orchard-item.dragging{opacity:.3}.orchard-item .word{text-transform:capitalize}
.sorted-fruit{display:block;flex:0 0 auto;line-height:1;min-height:1em;transform:none!important}.sorted-fruit-small{margin:3px 0}.sorted-fruit-big{margin:0}
.acorn-choice{translate:var(--acorn-x) var(--acorn-y);rotate:var(--acorn-turn);transition:translate .2s ease,rotate .2s ease,filter .15s}.acorn-choice .acorn-game-icon{width:76px;height:76px;object-fit:contain;display:block;pointer-events:none;filter:drop-shadow(0 4px 2px #513b2428)}.acorn-basket .acorn-game-icon{width:34px;height:34px;object-fit:contain;display:inline-block;pointer-events:none}.acorn-basket{flex-wrap:wrap;justify-content:center}.station-acorn-icon{width:28px;height:28px;object-fit:contain;display:block}.activity-card .station-acorn-icon{width:34px;height:34px}

/* Hidden Frogs is a hands-on search scene. The four spots never reflow after discovery. */
.frog-playground{display:grid;grid-template-columns:repeat(4,minmax(118px,1fr));gap:12px;align-items:stretch;padding:16px;background:linear-gradient(#dff0ca,#cae3aa);border:2px solid #bad492;overflow:visible}
.frog-spot{position:relative;height:148px;min-width:0;border:2px solid #c2d99f;border-bottom:6px solid #9fc278;border-radius:24px;background:linear-gradient(#edf7d9 0 68%,#c3df98 68%);overflow:hidden;isolation:isolate}
.meadow-floor{position:absolute;left:12px;right:12px;bottom:13px;height:18px;border-radius:50%;background:#8fbd68;opacity:.52}
.frog-cover{position:absolute;z-index:3;left:50%;top:48%;width:112px;height:105px;transform:translate(-50%,-50%);border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:4px;touch-action:none;user-select:none;transition:transform .18s ease;cursor:grab}
.frog-cover:active,.frog-spot.moving .frog-cover{cursor:grabbing;transition:none}
.frog-cover>span{font-size:64px;filter:drop-shadow(0 5px 2px #49643628)}
.frog-cover small{font-size:13px;font-weight:900;color:#496947;background:#fffce7e8;border-radius:12px;padding:3px 8px;white-space:nowrap}
.frog-peek{display:none;position:absolute;z-index:2;left:50%;top:34px;width:34px;height:16px;overflow:hidden;transform:translateX(-50%);font-size:33px;line-height:1;pointer-events:none}
.frog-full{display:none;position:absolute;z-index:5;left:50%;top:43px;transform:translateX(-50%);font-size:58px;line-height:1;pointer-events:none}
.frog-spot.has-frog .frog-peek{display:block}
.fake-clue{position:absolute;z-index:2;font-size:19px;pointer-events:none;color:#55784c;font-weight:900}
.fake-clue.footprints{left:12px;bottom:26px;transform:rotate(-18deg)}
.fake-clue.rustle{right:12px;top:17px;animation:leafRustle 1.2s ease-in-out infinite}
.fake-clue.green-marble{left:15px;top:22px;font-size:16px;filter:drop-shadow(0 2px 2px #305b4a44)}
.fake-clue.shadow{right:15px;bottom:29px;color:#60715a99;font-size:25px}
.fake-clue.bug-eyes{right:15px;top:21px;animation:bugBlink 3s steps(1) infinite}
.frog-spot.searched:not(.has-frog) .fake-clue{animation:none;transform:scale(1.25)}
.frog-spot.fooled{background:linear-gradient(#f2f7d9 0 68%,#cde39f 68%)}
.frog-spot.found{overflow:visible;background:linear-gradient(#eef9d6 0 68%,#bde78f 68%);box-shadow:0 0 0 5px #f2cf58 inset}
.frog-spot.found .frog-peek{display:none}
.frog-spot.found .frog-full{display:block;animation:frogFoundHop .8s cubic-bezier(.2,.75,.3,1.25) both}
@keyframes frogFoundHop{0%{transform:translate(-50%,18px) scale(.65)}45%{transform:translate(-50%,-45px) rotate(-7deg) scale(1.12)}72%{transform:translate(-50%,-9px) rotate(5deg) scale(.95)}100%{transform:translate(-50%,-17px) rotate(0) scale(1)}}
@keyframes leafRustle{0%,100%{transform:rotate(-7deg)}50%{transform:rotate(8deg)}}
@keyframes bugBlink{0%,42%,48%,100%{transform:scaleY(1)}44%,46%{transform:scaleY(.08)}}
@media(max-width:650px){.frog-playground{grid-template-columns:repeat(2,minmax(112px,1fr));gap:8px;padding:9px}.frog-spot{height:112px}.frog-cover{width:104px;height:90px;top:51%}.frog-cover>span{font-size:51px}.frog-cover small{font-size:12px}.frog-peek{top:22px}.fake-clue{font-size:16px}.frog-full{top:37px;font-size:48px}}
@media(max-height:760px) and (min-width:651px){.frog-spot{height:120px}.frog-cover{height:92px}.frog-cover>span{font-size:52px}.frog-peek{top:23px}.frog-full{top:38px;font-size:49px}}

/* Mushroom and acorn art is shared across every activity that uses those objects. */
.game-item-image{display:block;object-fit:contain;pointer-events:none}.mushroom-game-icon{display:block;object-fit:contain;pointer-events:none;filter:drop-shadow(0 5px 3px #33452f2f)}.mushroom-game-icon.big{width:79px;height:79px}.mushroom-game-icon.small{width:45px;height:45px}.pattern-mushroom-icon{width:58px;height:58px}.pattern-slot .pattern-mushroom-icon,.pattern-slot .acorn-game-icon{width:54px;height:54px}.station-mushroom-icon{width:30px;height:30px;object-fit:contain;display:block}.activity-card .station-mushroom-icon{width:36px;height:36px}#nearby .station-acorn-icon,#nearby .station-mushroom-icon{display:inline-block;vertical-align:middle;margin-right:7px}.silhouette .acorn-game-icon{width:66px;height:66px}

/* Fix the Wagon builds two color-matched wagons facing opposite directions. */
.wagon-stage{position:relative;display:block;min-height:228px;overflow:hidden;padding:38px 10px 10px;background:linear-gradient(#cfe9ed 0 61%,#dcebbe 61%);border:2px solid #b8d5c2}.wagon-builds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%}
.wagon-workbench{--wagon:#d74738;--wagon-dark:#963528;--wagon-light:#ef5b48;--wagon-shadow:#bd3c30;--wagon-scale:.64;--wagon-dir:1;position:relative;width:100%;height:176px;min-height:176px;overflow:hidden;border:2px solid #ffffff88;border-radius:18px;background:#ffffff24}.wagon-workbench.blue{--wagon:#3f82c4;--wagon-dark:#28598f;--wagon-light:#65a9e1;--wagon-shadow:#316da8}.wagon-workbench.reverse{--wagon-dir:-1}
.wagon-sky{position:absolute;right:24px;top:3px;font-size:32px;opacity:.7}.wagon-progress{position:absolute;left:10px;top:8px;z-index:8;padding:5px 11px;border-radius:999px;background:#fffbe8e8;color:#486352;font-size:14px;font-weight:900;box-shadow:0 2px 8px #31524820}.wagon-name{position:absolute;z-index:7;left:50%;top:7px;transform:translateX(-50%);color:var(--wagon-dark);font-size:13px;font-weight:900;text-transform:capitalize;white-space:nowrap}
.wagon-ground{position:absolute;left:-5%;right:-5%;bottom:0;height:44px;background:#acd183;border-top:4px solid #87b867}.wagon-assembly{position:absolute;left:50%;bottom:0;width:390px;height:153px;transform:translateX(-50%) scale(var(--wagon-scale)) scaleX(var(--wagon-dir));transform-origin:bottom center}
.wagon-chassis{position:absolute;left:82px;bottom:51px;width:196px;height:12px;border:4px solid #315248;border-radius:8px;background:#597265}.wagon-hitch{position:absolute;left:268px;bottom:49px;width:31px;height:17px;border:5px solid #315248;border-left:0;border-radius:0 10px 10px 0}
.wagon-bed{display:none;position:absolute;z-index:2;left:86px;bottom:57px;width:184px;height:72px;background:var(--wagon);border:5px solid var(--wagon-dark);border-radius:12px 12px 22px 22px;box-shadow:inset 0 -14px var(--wagon-shadow),0 7px 0 #315248}.wagon-rim{position:absolute;left:-8px;right:-8px;top:-9px;height:15px;border-radius:8px;background:var(--wagon-light);border:4px solid var(--wagon-dark)}
.wagon-wheel{position:absolute;z-index:3;bottom:13px;width:54px;height:54px;border:7px solid #343638;border-radius:50%;background:#e9dfc5;box-shadow:inset 0 0 0 6px #9a978e}.wagon-wheel i{position:absolute;inset:17px;border-radius:50%;background:var(--wagon)}.wagon-wheel-back{left:103px}.wagon-wheel-front{display:none;left:218px}
.wagon-build-slot{position:absolute;z-index:5;border:4px dashed var(--wagon-dark);background:#fff9dfe8;color:var(--wagon-dark);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;animation:wagonSlotGlow 1.35s ease-in-out infinite;touch-action:none}.wagon-build-slot b{font-size:30px;line-height:1}.wagon-build-slot small{font-size:13px;font-weight:900;line-height:1}.wagon-build-slot:focus-visible{outline:5px solid #176dbe;outline-offset:3px}.wagon-workbench.reverse .wagon-build-slot b,.wagon-workbench.reverse .wagon-build-slot small{transform:scaleX(-1)}
.wagon-body-slot{left:84px;bottom:54px;width:190px;height:80px;border-radius:15px}.wagon-wheel-slot{left:211px;bottom:6px;width:70px;height:70px;border-radius:50%}.wagon-handle-slot{left:290px;bottom:45px;width:86px;height:90px;border-radius:16px}
.wagon-handle-attached{display:none;position:absolute;z-index:3;left:279px;bottom:56px;width:125px;height:15px;border:5px solid var(--wagon-dark);border-radius:10px;background:var(--wagon);transform:rotate(-43deg);transform-origin:8px 50%;box-shadow:0 3px #604137}.wagon-handle-attached i{position:absolute;right:-14px;top:-12px;width:36px;height:16px;border:6px solid #354246;border-radius:12px;background:#e7d9b5}
.wagon-workbench.has-body .wagon-body-slot,.wagon-workbench.has-wheel .wagon-wheel-slot,.wagon-workbench.has-handle .wagon-handle-slot{display:none}.wagon-workbench.has-body .wagon-bed,.wagon-workbench.has-wheel .wagon-wheel-front,.wagon-workbench.has-handle .wagon-handle-attached{display:block}.wagon-workbench.has-body .wagon-bed,.wagon-workbench.has-wheel .wagon-wheel-front{animation:wagonPartSnap .35s cubic-bezier(.2,.9,.35,1.35)}.wagon-workbench.has-handle .wagon-handle-attached{animation:wagonHandleSnap .35s cubic-bezier(.2,.9,.35,1.35)}
.wagon-workbench.repaired.forward .wagon-assembly{animation:wagonRollRight 1.15s ease-in-out both}.wagon-workbench.repaired.reverse .wagon-assembly{animation:wagonRollLeft 1.15s ease-in-out both}.wagon-workbench.repaired .wagon-wheel{animation:wagonWheelSpin .45s linear 2}.wagon-workbench.repaired.reverse .wagon-wheel{animation-direction:reverse}
.wagon-part{width:98px;min-height:104px;padding:7px 5px}.wagon-part-picture{--wagon:#d74738;--wagon-dark:#963528;--wagon-light:#ef5b48;--wagon-shadow:#bd3c30;position:relative;display:block;width:78px;height:56px}.wagon-part-picture.blue-piece{--wagon:#3f82c4;--wagon-dark:#28598f;--wagon-light:#65a9e1;--wagon-shadow:#316da8}.wagon-part-picture.real-body:before{content:'';position:absolute;left:5px;right:5px;bottom:8px;height:37px;border:4px solid var(--wagon-dark);border-radius:7px 7px 13px 13px;background:var(--wagon);box-shadow:inset 0 -8px var(--wagon-shadow)}.wagon-part-picture.real-body i{position:absolute;left:0;right:0;top:7px;height:9px;border:3px solid var(--wagon-dark);border-radius:6px;background:var(--wagon-light)}
.wagon-part-picture.real-wheel:before{content:'';position:absolute;left:16px;top:3px;width:46px;height:46px;border:6px solid #343638;border-radius:50%;background:#e9dfc5;box-shadow:inset 0 0 0 5px #9a978e}.wagon-part-picture.real-wheel i{position:absolute;z-index:2;left:35px;top:22px;width:14px;height:14px;border-radius:50%;background:var(--wagon)}
.wagon-part-picture.real-handle:before{content:'';position:absolute;left:5px;bottom:7px;width:70px;height:13px;border:4px solid var(--wagon-dark);border-radius:9px;background:var(--wagon);transform:rotate(-28deg);box-shadow:0 3px #604137}.wagon-part-picture.real-handle i{position:absolute;right:1px;top:5px;width:29px;height:14px;border:5px solid #354246;border-radius:10px;background:#e7d9b5;transform:rotate(-28deg)}
.wagon-part .word{font-size:13px;text-transform:capitalize}.wagon-part.selected{border-color:#d9a226;box-shadow:0 0 0 4px #f2cf58}.drag-ghost .wagon-part-picture{transform:scale(.85)}
@keyframes wagonSlotGlow{50%{box-shadow:0 0 0 6px #f5ca5655;background:#fff4b8}}
@keyframes wagonPartSnap{0%{opacity:.3;filter:brightness(1.5)}70%{transform:scale(1.08)}100%{opacity:1;transform:scale(1)}}
@keyframes wagonHandleSnap{0%{opacity:.3;transform:rotate(-43deg) scale(.72)}70%{transform:rotate(-43deg) scale(1.08)}100%{opacity:1;transform:rotate(-43deg) scale(1)}}
@keyframes wagonRollRight{0%{transform:translateX(-50%) scale(var(--wagon-scale)) scaleX(1)}55%{transform:translateX(-34%) translateY(-3px) scale(var(--wagon-scale)) scaleX(1)}100%{transform:translateX(-40%) scale(var(--wagon-scale)) scaleX(1)}}
@keyframes wagonRollLeft{0%{transform:translateX(-50%) scale(var(--wagon-scale)) scaleX(-1)}55%{transform:translateX(-66%) translateY(-3px) scale(var(--wagon-scale)) scaleX(-1)}100%{transform:translateX(-60%) scale(var(--wagon-scale)) scaleX(-1)}}
@keyframes wagonWheelSpin{to{transform:rotate(360deg)}}
@media(max-width:650px){.wagon-stage{min-height:326px;padding:38px 5px 5px}.wagon-builds{grid-template-columns:1fr;gap:6px}.wagon-workbench{--wagon-scale:.68;height:137px;min-height:137px}.wagon-ground{height:35px}.wagon-name{top:4px}.wagon-assembly{bottom:-2px}.wagon-progress{left:7px;top:7px;font-size:12px;padding:5px 9px}.wagon-part{width:82px;min-width:82px;min-height:91px;padding:5px 3px}.wagon-part-picture{width:72px;height:50px;transform:scale(.79)}.wagon-part .word{font-size:12px}}

/* Keep saving silent so the game surface stays uncluttered. */
#save-status{display:none!important}

/* Illustrated fish sorting */
.fish-ponds,.fish-tray{gap:10px}.fish-pond{--fish-color:#438ccd;width:112px;min-height:94px;background:color-mix(in srgb,var(--fish-color) 18%,#e6f7f7);border:3px solid var(--fish-color);border-bottom-width:6px;border-radius:50%;position:relative;overflow:hidden}.fish-pond-ripples{display:flex;gap:4px;align-items:center;justify-content:center;width:80px;height:42px}.fish-pond-ripples i{display:block;border:3px solid color-mix(in srgb,var(--fish-color) 75%,white);border-radius:50%;width:16px;height:8px}.fish-pond-ripples i:nth-child(2){width:29px;height:13px}.fish-pond .word{color:#29483e}.fish-card{--fish-color:#e34c45;background:color-mix(in srgb,var(--fish-color) 13%,#fffdf5);border-color:color-mix(in srgb,var(--fish-color) 70%,#8c7b59);width:118px;min-height:112px}.fish-picture{display:block;position:relative;width:88px;height:63px}.fish-picture.small{width:61px;height:45px}.fish-picture img{width:100%;height:100%;object-fit:contain;filter:var(--fish-filter) drop-shadow(0 4px 2px #244b3c22);pointer-events:none}.fish-bubbles{position:absolute;right:-7px;top:-5px;color:#72b9c9;font-size:15px;font-style:normal;font-weight:900}.fish-card.placed{background:#ffffff80;border-color:transparent;min-height:75px;transform:scale(.78)}

/* Ducks can cross from either bank. */
.duck-bridge-game{display:grid;grid-template-columns:minmax(105px,1fr) minmax(150px,220px) minmax(105px,1fr);gap:0;padding:18px 10px;background:linear-gradient(#bfe8ef 0 70%,#79c5d5 70%);min-height:230px;overflow:visible}.duck-bank{display:flex;align-content:center;justify-content:center;align-items:center;flex-wrap:wrap;gap:7px;padding:12px 5px;border-radius:50% 50% 16px 16px;background:linear-gradient(#a8d37e,#76aa5a);min-height:175px;position:relative;z-index:2}.duck-game-bridge{align-self:center;height:100px;position:relative;background:repeating-linear-gradient(90deg,#ba8952 0 24px,#8c613b 24px 28px);border:5px solid #765034;border-radius:10px;box-shadow:0 7px 0 #568d9a}.bridge-rail{position:absolute;left:-5px;right:-5px;height:7px;background:#805536;border-radius:8px;z-index:2}.rail-one{top:8px}.rail-two{bottom:8px}.bridge-water{position:absolute;left:0;right:0;bottom:-62px;color:#e5fbff;font-weight:900;font-size:28px;letter-spacing:8px;white-space:nowrap;overflow:hidden}.duck-dragger{border:2px solid #e0b652;border-bottom-width:4px;background:#fff8ce;border-radius:18px;width:58px;height:67px;padding:2px;display:flex;flex-direction:column;align-items:center;justify-content:center;touch-action:none;user-select:none}.duck-dragger small{font-size:12px;font-weight:900}.duck-picture{font-size:37px;line-height:1;display:block}.duck-picture.left{transform:scaleX(-1)}.duck-dragger.dragging{opacity:.28}.duck-dragger.crossed{opacity:.72;background:#e8f5d4;transform:scale(.88)}.duck-drag-ghost{position:absolute;z-index:100000;pointer-events:none;transform:translate(-50%,-50%) scale(1.12) rotate(-4deg);border:3px solid #e0b652;background:#fff8ce;border-radius:20px;width:68px;height:74px;font-size:40px;display:grid;place-items:center;box-shadow:0 10px 25px #1e4d5630}.duck-drag-ghost small{display:none}
.duck-dragger.selected{outline:4px solid #f0bd35;background:#fff1a8}.duck-bank:focus-visible{outline:4px solid #176dbe;outline-offset:3px}
#activity[data-activity="duckline"] .duck-bridge-game{border-radius:34px;background:linear-gradient(180deg,#d8f2f3 0 62%,#83cad5 62% 100%);border:3px solid #b7dfe0;box-shadow:inset 0 2px 0 #ffffffb8,0 10px 24px #365f5930;padding:22px 14px 58px;min-height:275px}.duck-bank{border-radius:48% 48% 32px 32px;border:2px solid #8fbe6d;box-shadow:inset 0 3px 0 #cce7ae,0 6px 12px #315a4530}.duck-game-bridge{border-radius:28px;border-width:5px;box-shadow:inset 0 3px 0 #dbad73,0 8px 0 #568d9a,0 12px 18px #315c6338;overflow:hidden}.bridge-rail{border-radius:999px;left:3px;right:3px}.duck-dragger{border-radius:24px;box-shadow:inset 0 2px 0 #fffdf0,0 4px 7px #49613a24;transition:transform .18s ease,background .18s ease,opacity .18s ease}.duck-dragger.crossed{border-radius:24px}.duck-drag-ghost{border-radius:26px}.duck-progress{padding:9px 17px;border-radius:999px;background:#eef5e6;border:1px solid #d5e4ca;box-shadow:inset 0 2px 0 #fff;font-size:16px;font-weight:900;color:#476a50}#activity[data-activity="duckline"] .task-note{padding:9px 16px;border-radius:999px;background:#f1f5e9;border:1px solid #dde7d4}
@media(max-width:600px){.fish-pond,.fish-card{width:88px}.fish-picture{width:68px;height:51px}.fish-picture.small{width:51px;height:38px}.duck-bridge-game{grid-template-columns:minmax(78px,1fr) minmax(92px,125px) minmax(78px,1fr);padding:11px 4px}.duck-bank{min-height:190px;padding:8px 3px}.duck-dragger{width:50px;height:58px}.duck-picture{font-size:31px}.duck-game-bridge{height:86px}#activity[data-activity="duckline"] .duck-bridge-game{padding:14px 7px 48px;min-height:268px}}

#intro-status{font-size:14px;line-height:1.45;margin:14px 0 0}#intro-status:empty{display:none}#intro .secondary{margin-top:12px}#intro{overscroll-behavior:contain;touch-action:pan-y}html:has(#intro[open]) #labels{visibility:hidden}

#world{touch-action:none}


/* Orchard pieces share a fixed visual box, including raster artwork. */
.orchard-tray{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-width:460px}
#activity .orchard-item{width:100%;min-width:0;height:100px;min-height:100px;padding:7px 3px;gap:6px;border-radius:18px;-webkit-user-select:none;-webkit-touch-callout:none}
.orchard-item .word{font-size:14px;line-height:1.2}
.orchard-picture{display:grid;place-items:center;width:52px;height:52px;flex:0 0 52px;font-size:48px;line-height:1;pointer-events:none}
.orchard-picture .game-item-image{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
.orchard-picture .acorn-game-icon{width:39px;height:45px}
#activity[data-activity="apples"] .apple-basket{flex-wrap:wrap;max-width:100%;gap:6px;padding:9px 12px;font-size:26px;min-width:0;min-height:58px}
#activity[data-activity="apples"] .apple-basket small{font-size:16px}
#activity[data-activity="apples"] .task-note{font-size:14px;line-height:1.35}
#activity[data-activity="apples"] #feedback{line-height:1.35}
@media(max-width:600px){
 #activity[data-activity="apples"]{padding:14px}
 #activity[data-activity="apples"] h1{font-size:25px;margin:9px 0 5px;line-height:1.15}
 #activity[data-activity="apples"] #subprompt{font-size:16px;line-height:1.35;margin:0 0 8px}
 #activity[data-activity="apples"] #task{min-height:0;padding:5px 0;gap:10px}
 #activity[data-activity="apples"] #feedback{font-size:16px;margin:6px 0;min-height:22px}
 .orchard-tray{gap:8px}
 #activity .orchard-item{height:94px;min-height:94px}
}
/* Every activity ends on a compact result screen instead of below its board. */
#activity.completed #task,#activity.completed #subprompt{display:none}
#activity.completed{width:520px}
#activity.completed #prompt{font-size:28px;line-height:1.2;margin:12px 0 8px}
#activity.completed #feedback{font-size:17px;line-height:1.4;margin:8px 0;min-height:24px}
#activity.completed .success-star{font-size:58px;line-height:1;margin:8px 0 14px}
#activity.completed #task-actions{gap:10px}
#activity.completed #task-actions button{flex:1 1 180px;min-height:52px}
@media(max-height:450px){
 #activity.completed{padding:12px}
 #activity.completed #prompt{font-size:24px;margin:5px 0}
 #activity.completed .success-star{font-size:34px;margin:4px 0 7px}
 #activity.completed #feedback{margin:4px 0;font-size:16px}
 #activity.completed #task-actions button{min-height:44px;padding:8px 12px}
}

/* Keep every garden plot visible and ground it in illustrated loose soil. */
#activity[data-activity="garden"] .garden-grid{grid-template-columns:repeat(var(--garden-columns),minmax(0,1fr));gap:10px;width:100%;max-width:480px}
#activity[data-activity="garden"] .seed-bed{height:145px;min-height:0;background:#f0f5e5;border:2px solid #d0ddb8;border-bottom-width:3px;padding:6px 3px;gap:3px;border-radius:20px;overflow:hidden}
#activity[data-activity="garden"] .seed-bed.grown{background:#e6f2d1;border-color:#a9cb8c;opacity:1}
#activity[data-activity="garden"] .plant-picture{position:relative;display:block;width:100%;height:86px;flex:0 0 86px;font-size:45px}
.garden-soil{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}
.garden-growth{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);line-height:1;pointer-events:none}
#activity[data-activity="garden"] .plant-name{font-size:14px;line-height:1.2;white-space:nowrap}
#activity[data-activity="garden"] .water-meter{height:19px;flex:0 0 19px}
.garden-total{font-size:16px;font-weight:bold;line-height:1.3}
@media(max-width:600px){
 #activity[data-activity="garden"]{padding:14px}
 #activity[data-activity="garden"] #task{gap:8px;min-height:0;padding:4px 0}
 #activity[data-activity="garden"] h1{font-size:25px;margin:8px 0 5px}
 #activity[data-activity="garden"] #subprompt{font-size:16px;line-height:1.3;margin:0 0 8px}
 #activity[data-activity="garden"] #feedback{font-size:16px;line-height:1.3;min-height:22px;margin:6px 0}
 #activity[data-activity="garden"] .garden-grid{gap:6px}
 #activity[data-activity="garden"] .seed-bed{height:125px}
 #activity[data-activity="garden"] .plant-picture{height:66px;flex-basis:66px;font-size:37px}
 #activity[data-activity="garden"] .garden-growth{bottom:20px}
}

/* The garden's reward is the flowers themselves: keep the finished plants visible. */
#activity[data-activity="garden"] .counter-pips{display:none}
#activity[data-activity="garden"] .garden-grid{max-width:calc(var(--garden-columns)*160px);justify-content:center}
#activity[data-activity="garden"] .seed-bed{height:178px;padding:7px 4px;transition:background .25s,border-color .25s}
#activity[data-activity="garden"] .plant-picture{height:118px;flex-basis:118px;font-size:47px}
#activity[data-activity="garden"] .garden-soil{height:84px;top:auto;bottom:0}
#activity[data-activity="garden"] .garden-growth{bottom:32px}
#activity[data-activity="garden"] .seed-bed.grown{background:#f1f7e8;border-color:#b5d18c}
.garden-flower{display:block;width:100%;height:100%;object-fit:contain;transform-origin:50% 90%;animation:garden-bloom 1s cubic-bezier(.22,.8,.25,1) both;pointer-events:none}
@keyframes garden-bloom{0%{transform:scale(.35);opacity:.2}60%{transform:scale(1.08);opacity:1}100%{transform:scale(1);opacity:1}}
#activity[data-activity="garden"].completed #task{display:flex;min-height:0;gap:6px;padding:3px 0}
#activity[data-activity="garden"].completed .water-meter,
#activity[data-activity="garden"].completed .garden-total,
#activity[data-activity="garden"].completed .success-star{display:none}
#activity[data-activity="garden"].completed .seed-bed{height:142px;background:transparent;border-color:transparent;padding:0;gap:3px}
#activity[data-activity="garden"].completed .plant-picture{height:116px;flex-basis:116px}
#activity[data-activity="garden"].completed #task-actions button{flex:1 1 130px;font-size:17px;padding:10px 12px;min-height:48px}
#activity[data-activity="garden"].completed #feedback{font-size:16px;line-height:1.3;margin:6px 0}
@media(max-width:600px){
 #activity[data-activity="garden"] .seed-bed{height:158px}
 #activity[data-activity="garden"] .plant-picture{height:98px;flex-basis:98px}
 #activity[data-activity="garden"].completed .seed-bed{height:120px}
 #activity[data-activity="garden"].completed .plant-picture{height:94px;flex-basis:94px}
}
@media(max-height:550px){
 #activity[data-activity="garden"].completed .garden-grid{grid-template-columns:repeat(auto-fit,minmax(48px,1fr));max-width:100%}
 #activity[data-activity="garden"].completed .seed-bed{height:102px}
 #activity[data-activity="garden"].completed .plant-picture{height:76px;flex-basis:76px}
}
@media(prefers-reduced-motion:reduce){.garden-flower{animation:none}}

/* Countable visitors stay visible on each flower, including the reward screen. */
#activity[data-activity="flowers"] #task{min-height:0;gap:12px;padding:6px 0}
.bee-flower-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%;max-width:480px}
#activity .bee-flower{width:100%;min-width:0;min-height:0;padding:10px 4px;gap:3px;border:2px solid #dae4cc;border-bottom-width:5px;background:#f2f6e9;border-radius:22px}
.bee-flower-picture{display:block;font-size:70px;line-height:1;height:70px}
#activity .bee-flower .word{font-size:18px;line-height:1.2;text-transform:capitalize}
.bee-goal{font-size:16px;line-height:1.3;font-weight:bold}
.bee-landings{height:36px;display:flex;align-items:center;justify-content:center;gap:0;width:100%}
.bee-visitor{font-size:28px;line-height:1;display:block}
.bee-count{font-size:14px;line-height:1.3;color:#496347}
#activity .bee-goal-met{border-color:#699547;background:#e5f3d3}
#activity .bee-no-visitors{background:#f7f7ef}
.bee-supply{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;width:100%;max-width:390px;padding:8px;border:2px dashed #dbc269;border-radius:18px;background:#fff7d9}
#activity .meadow-bee{flex:0 0 54px;width:54px;min-width:54px;height:58px;min-height:58px;padding:4px;border-radius:16px;font-size:37px;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:grab}
#activity .meadow-bee:active{cursor:grabbing}
.meadow-bee>span{pointer-events:none}
#activity[data-activity="flowers"] .bee-help{font-size:14px;line-height:1.35;margin:0}
#activity[data-activity="flowers"] .drag-ghost{font-size:40px;pointer-events:none;z-index:20}
#activity[data-activity="flowers"].completed #task{display:flex}
#activity[data-activity="flowers"].completed .bee-supply,
#activity[data-activity="flowers"].completed .bee-help,
#activity[data-activity="flowers"].completed .success-star{display:none}
#activity[data-activity="flowers"].completed #task-actions button{flex:1 1 130px;font-size:16px;padding:10px;min-height:48px}
@media(max-width:600px){
 #activity[data-activity="flowers"]{padding:14px}
 #activity[data-activity="flowers"] h1{font-size:25px;line-height:1.15;margin:9px 0 6px}
 #activity[data-activity="flowers"] #subprompt{font-size:16px;line-height:1.35;margin:0 0 8px}
 #activity[data-activity="flowers"] #feedback{font-size:16px;line-height:1.3;min-height:22px;margin:6px 0}
 .bee-flower-row{gap:6px}
 .bee-flower-picture{font-size:58px;height:58px}
 #activity .bee-flower .word{font-size:16px}
 .bee-visitor{font-size:24px}
 .bee-supply{gap:5px;padding:6px}
 #activity .meadow-bee{flex-basis:46px;width:46px;min-width:46px;height:52px;min-height:52px;font-size:32px}
}
@media(max-height:550px) and (min-width:601px){
 #activity[data-activity="flowers"] #task{display:grid;grid-template-columns:1fr 170px;gap:8px}
 #activity[data-activity="flowers"] .bee-help{grid-column:1/-1}
 #activity[data-activity="flowers"].completed #task{display:flex}
 .bee-flower-picture{font-size:44px;height:44px}
 #activity .bee-flower{padding:4px}
 .bee-landings{height:28px}
}

/* Destinations belong in a single rail, outside the playable world. */
#region-nav{position:relative;inset:auto;transform:none;width:100%;max-width:none;flex:0 0 auto;display:flex;flex-wrap:nowrap;justify-content:center;gap:8px;padding:7px 12px;background:#fffdf4;border-top:0;border-bottom:1px solid #d9e3d5;z-index:2}
#region-nav button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;min-width:0;padding:6px 12px;font-size:14px;line-height:1.15;border-radius:14px}
.region-icon{font-size:20px;line-height:1}.region-cost{font-size:12px;color:#946211;white-space:nowrap}.region-name{font-size:14px}
#region-nav button.current{box-shadow:inset 0 -3px 0 #16432d}
#labels .map-sign{min-height:44px;font-size:14px;padding:5px 10px;gap:5px;border-radius:15px;border-width:1px;box-shadow:0 2px 5px #173f2820}
#labels .map-sign .emoji{font-size:22px}
#toast{top:12px}
@media(max-width:650px){
 header{height:62px;padding:6px 10px;gap:6px}
 .brand{min-width:0;font-size:17px;letter-spacing:-.5px;line-height:1.1}.brand small{display:none}
 .top-actions{flex-shrink:0;gap:4px}.top-actions .icon-button{width:40px;height:44px;font-size:22px;border-radius:13px}.top-actions .star-count{padding:6px 8px;font-size:18px;gap:4px}
 #region-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:5px 6px}
 #region-nav button{position:relative;display:grid;grid-template-columns:auto auto;align-content:center;gap:3px;min-height:62px;padding:5px 2px;border-radius:12px}
 .region-icon{grid-column:1;grid-row:1;font-size:20px}.region-name{grid-column:1/-1;grid-row:2;font-size:14px}.region-cost{grid-column:2;grid-row:1;font-size:12px;background:#fff1be;border-radius:5px;padding:1px 3px}#region-nav button:not(:has(.region-cost)) .region-icon{grid-column:1/-1}
 #labels .map-sign{width:44px;height:44px;padding:0;justify-content:center;border-radius:50%}
 #labels .map-sign .sign-name{display:none}
 #labels .gate-sign{width:auto;border-radius:14px;padding:5px 9px}
 #activities{padding:9px 10px max(8px,env(safe-area-inset-bottom));gap:7px}
 #activities .activity-card{min-height:66px;padding:6px;gap:3px}
 #activities .activity-card strong{font-size:14px}#activities .activity-card .emoji{font-size:24px}
 #walk-hint{font-size:12px;max-width:calc(100% - 116px);padding:6px 10px}
}
@media(max-height:500px) and (min-width:651px){header{height:54px;padding:4px 16px}.brand small{display:none}#region-nav{padding:3px 8px}#region-nav button{min-height:40px}#activities{padding:5px 10px}.activity-card{min-height:54px}#world{min-height:100px}}
