/* Care is pictured; the reading tasks retain their quiet paper cards. */
.food-picture{display:block;width:100%;height:100%;pointer-events:none}
.album-care{display:flex;align-items:center;justify-content:center;width:38px;height:36px}
.album-care .food-picture{width:36px;height:36px}.pet-heart{width:28px;height:28px;display:block}
.care-strip{display:flex;align-items:center;justify-content:center;gap:14px;margin:-8px 0 18px}
.care-stamp{position:relative;display:flex;align-items:center;justify-content:center;width:46px;height:46px;flex:none;border:1px solid #d0be94;background:#fffbed;border-radius:50%;padding:8px}
.care-stamp>.icon:first-child{width:28px;height:28px}
.care-stamp.checked{background:#edf1da;border-color:#91a579}
.care-stamp>.icon:last-child{position:absolute;right:-5px;bottom:-3px;width:20px;height:20px;background:#fffdf0;border-radius:50%;padding:2px;color:#245b48;box-shadow:0 1px 2px #29492d33}
.care-flowers{display:flex;align-items:flex-end;justify-content:center;gap:4px;min-height:48px}
.care-flower{display:block;width:34px;height:48px;flex:none;filter:drop-shadow(1px 2px 0 #af956633)}
.care-flower.new-flower{animation:flower-arrival .8s ease-out both}
.pet-garden{position:relative;isolation:isolate}
.pet-garden.is-night.habitat-meadow{background-image:url('./assets/meadow-night.png')}
.pet-garden.is-night.habitat-woodland{background-image:url('./assets/woodland-night.png')}
.pet-garden.is-night:before{opacity:0}
.garden-light{position:absolute;right:5%;top:5%;width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;pointer-events:none;z-index:0}
.garden-light .icon{width:42px;height:42px}
.sunlight{background:#f6d166aa;color:#9e7322;box-shadow:0 0 34px 16px #ffdc7a77}
.moonlight{background:#e1f3e4e0;color:#456479;box-shadow:0 0 36px 14px #d9f5d55e}
.night-lights i{position:absolute;left:var(--light-x);top:var(--light-y);width:5px;height:5px;border-radius:50%;background:#fbf3b8;box-shadow:0 0 8px 3px #e0fca577;pointer-events:none;z-index:0;animation:night-glimmer 2.8s ease-in-out 2;animation-delay:var(--light-delay)}
.food-station{position:absolute;left:50%;top:65%;width:88px;height:78px;transform:translate(-50%,-50%);padding:7px;background:#fff1cfce;border:2px solid #bea369;border-radius:50%;box-shadow:0 4px 0 #93754455;pointer-events:none;z-index:0}
.food-station:not(.is-full)>.food-picture{opacity:.3}
.food-station.is-full{background:#f5e8b6f2;border-color:#a99a56}
.meal-check{position:absolute;bottom:-4px;right:-4px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#ecf1d5;color:#3a6543;box-shadow:0 2px 0 #69875977}
.meal-check .icon{width:20px;height:20px}
.pet-garden .bug-sprite{width:clamp(80px,10vw,114px);height:clamp(80px,10vw,114px);mix-blend-mode:normal}
.pet-garden .bug-body{transform:scale(1.55)}
.pet-garden .bug-body img{mix-blend-mode:normal;filter:drop-shadow(0 3px 2px #324f3733)}
.pet-garden .bug-sprite.is-playing img{animation:bug-hello .8s ease-in-out 2}
.pet-garden .bug-sprite.fly.is-playing img{animation:bug-flight 1.1s ease-in-out 2}
.pet-garden .bug-sprite.crawl.is-playing img{animation:bug-crawl 1.1s ease-in-out 2}
.pet-garden .bug-sprite.is-eating{animation:come-to-supper 1s ease-in-out both;animation-delay:var(--meal-delay)}
.pet-garden .bug-sprite.is-eating img{animation:pet-nibble .5s ease-in-out 4;animation-delay:1.1s}
.pet-affection{position:absolute;left:calc(50% - 14px);top:-18px;z-index:4;pointer-events:none;animation:pet-love 2.6s ease-out both}
.is-eating .pet-affection{animation-delay:1s}
.meal-thought{position:absolute;right:-15px;top:-12px;display:block;width:38px;height:38px;padding:4px;border:1px solid #b4a06e;background:#fff9e4;border-radius:50%;box-shadow:0 3px 0 #83744c33;pointer-events:none}
.meal-thought:after{content:"";position:absolute;left:2px;bottom:-5px;width:6px;height:6px;border:1px solid #b4a06e;border-radius:50%;background:#fff9e4}
.garden-flowerbed{position:absolute;left:4%;bottom:3%;display:flex;align-items:flex-end;pointer-events:none;z-index:0}
.garden-flowerbed .care-flower{width:28px;height:42px;margin-left:-5px}
.pet-toolbar{gap:30px;padding:12px 0 6px}
.learner .pet-toolbar .picture-button{width:82px;height:76px;min-width:76px;min-height:76px;padding:14px;position:relative}
.learner .feed-button{background:#f9e2aa;border-color:#b89650;box-shadow:0 4px 0 #c3a569}
.learner .feed-button.is-fed{background:#e8edcf;border-color:#8fa568;box-shadow:0 4px 0 #b5c490}
.feed-button .food-picture{width:52px;height:52px}
.control-check{position:absolute;right:-6px;bottom:-6px;background:#fffaf0;border:1px solid #95a97c;border-radius:50%;width:26px;height:26px;padding:3px;color:#245b48}
.control-check .icon{width:18px;height:18px}
.bug-fact-button img{position:absolute;left:5px;top:9px;width:47px;height:47px;object-fit:contain;mix-blend-mode:multiply}
.bug-fact-button>.icon{position:absolute;right:8px;bottom:14px;width:31px;height:31px}
@keyframes flower-arrival{0%{opacity:.2;transform:translateY(16px) scale(.5)}70%{transform:translateY(-3px) scale(1.1)}100%{opacity:1;transform:none}}
@keyframes night-glimmer{0%,100%{opacity:.35}50%{opacity:1;transform:translateY(-8px)}}
@keyframes come-to-supper{from{left:var(--origin-x);top:var(--origin-y)}to{left:var(--meal-x);top:var(--meal-y)}}
@keyframes pet-nibble{0%,100%{transform:rotate(-4deg)}50%{transform:translateY(4px) rotate(7deg) scale(.95)}}
@keyframes pet-love{0%{opacity:0;transform:translateY(8px) scale(.6)}25%{opacity:1;transform:translateY(0) scale(1)}80%{opacity:1}100%{opacity:0;transform:translateY(-16px)}}
@media(min-width:851px){.pet-garden{height:clamp(250px,calc(100dvh - 495px),440px);min-height:250px}}
@media(max-width:850px){.care-strip{gap:10px}.care-flower{width:30px;height:43px}.care-flowers{gap:2px}.pet-garden{min-height:330px;aspect-ratio:1.6}}
@media(max-width:540px){.care-strip{gap:8px;margin-bottom:14px}.care-stamp{width:34px;height:34px;padding:5px}.care-stamp>.icon:first-child{width:23px;height:23px}.care-stamp>.icon:last-child{width:16px;height:16px}.care-flower{width:25px;height:38px}.care-flowers{gap:0;min-height:38px}.pet-garden{min-height:270px;aspect-ratio:1.2}.pet-garden .bug-sprite{width:72px;height:72px}.food-station{width:66px;height:62px}.garden-light{width:44px;height:44px}.garden-light .icon{width:32px;height:32px}.meal-thought{width:31px;height:31px;right:-8px;top:-8px}.pet-toolbar{gap:24px;padding-top:12px}.learner .pet-toolbar .picture-button{width:72px;height:68px;min-width:68px;min-height:68px;padding:10px}.feed-button .food-picture{width:48px;height:48px}.garden-flowerbed .care-flower{width:23px;height:34px}.bug-fact-button img{width:43px;height:43px;left:3px;top:7px}.bug-fact-button>.icon{right:6px;bottom:12px;width:28px;height:28px}}
@media(prefers-reduced-motion:reduce){.pet-garden *,.care-flower{animation:none!important;transition:none!important}.pet-affection{opacity:1}}
.learner.quiet-scrapbook .pet-affection{opacity:1}

.screen-habitat main{padding-bottom:18px}
.screen-habitat .habitat-top{margin-bottom:10px}
.screen-habitat .care-strip{margin-bottom:10px}
.screen-habitat .adult-controls{margin-top:8px}
