:root{font-family:ui-rounded,"Arial Rounded MT Bold",Nunito,system-ui,sans-serif;color:#4b2942;background:#ffe5b5}*{box-sizing:border-box}body{margin:0;min-height:100dvh;padding:clamp(12px,3vw,32px);display:grid;place-items:center}.game{width:min(100%,980px);padding:clamp(18px,4vw,42px);background:#fffaf0;border:5px solid #fff;box-shadow:0 16px 0 #d58c7244,0 24px 45px #743d3022;border-radius:38px}.header{display:flex;justify-content:space-between;align-items:start;gap:16px}.eyebrow,.section-label{margin:0;color:#bd6a50;font-weight:900;text-transform:uppercase;letter-spacing:.09em;font-size:clamp(.75rem,1.8vw,1rem)}h1{margin:.1em 0 0;font-size:clamp(2.4rem,7vw,5.5rem);line-height:.95;letter-spacing:-.06em;color:#703452}.reset{border:0;border-radius:999px;background:#703452;color:#fff;padding:13px 19px;font:inherit;font-weight:900;cursor:pointer;box-shadow:0 5px 0 #4b2942;touch-action:manipulation}.reset:active{transform:translateY(3px);box-shadow:0 2px 0 #4b2942}.pet-picker,.food-area{margin-top:clamp(18px,3vw,30px)}.pet-options,.food-options{display:flex;flex-wrap:wrap;justify-content:center;gap:clamp(8px,2vw,16px);margin-top:10px}.pet-choice,.food-choice{border:3px solid transparent;background:#fff;border-radius:22px;padding:10px 14px;min-width:92px;color:inherit;font:inherit;font-weight:900;cursor:pointer;touch-action:manipulation;box-shadow:0 4px 0 #d8b9aa}.pet-choice span,.food-choice span{display:block;font-size:clamp(2rem,6vw,3.5rem);line-height:1}.pet-choice small,.food-choice small{display:block;margin-top:5px;font-size:clamp(.85rem,2vw,1.05rem)}.pet-choice[aria-pressed=true]{border-color:#f2a93b;background:#fff0c9;transform:translateY(-3px)}.play-area{margin:clamp(20px,4vw,36px) auto 0;min-height:clamp(280px,40vw,390px);display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;background:#f7d7bc;border-radius:32px;overflow:hidden}.play-area:before,.play-area:after{content:"";position:absolute;border-radius:50%;background:#f0c4a7}.play-area:before{width:180px;height:180px;left:-60px;bottom:-90px}.play-area:after{width:240px;height:240px;right:-90px;top:-120px}.pet{position:relative;z-index:1;font-size:clamp(6rem,20vw,11rem);line-height:1;filter:drop-shadow(0 8px 0 #9e5d5040)}.pet.happy{animation:happy .45s ease}.speech{position:relative;z-index:1;background:#fff;border:3px solid #fff;border-radius:999px;padding:10px 20px;font-size:clamp(1rem,2.7vw,1.45rem);font-weight:900;box-shadow:0 4px 0 #ba806633}.bowl{position:relative;z-index:1;width:clamp(130px,25vw,190px);height:72px;margin-top:16px;border-radius:0 0 90px 90px;background:#6fa8d8;border:5px solid #477daa;display:flex;justify-content:center;align-items:center;gap:0}.bowl>span{font-size:3rem;position:absolute;top:-31px}.bowl-food{font-size:2rem;margin-top:-7px;animation:drop .3s ease}.progress{position:relative;z-index:1;margin:13px 0 0;font-weight:900;font-size:1.1rem}.food-choice{min-width:82px;background:#fff}.food-choice.used{opacity:.35;transform:scale(.92);cursor:default}.food-choice.red{border-bottom-color:#ed6464}.food-choice.yellow{border-bottom-color:#f0c34b}.food-choice.orange{border-bottom-color:#ef9250}.food-choice.green{border-bottom-color:#75bd68}.food-choice.blue{border-bottom-color:#6d9ee3}.pet-choice:focus-visible,.food-choice:focus-visible,.reset:focus-visible{outline:4px solid #f2a93b;outline-offset:4px}@keyframes happy{50%{transform:scale(1.14) rotate(-4deg)}}@keyframes drop{from{transform:translateY(-20px) scale(1.3);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}@media(max-width:560px){body{padding:8px;display:block}.game{min-height:calc(100dvh - 16px);padding:18px 12px;border-radius:27px}.header{align-items:center}.reset{padding:10px 14px;font-size:.9rem}.pet-options,.food-options{gap:7px}.pet-choice,.food-choice{min-width:65px;padding:7px 8px;border-radius:16px}.pet-choice span,.food-choice span{font-size:2.3rem}.pet-choice small,.food-choice small{font-size:.78rem}.play-area{min-height:270px;border-radius:25px}}@media(prefers-reduced-motion:reduce){.pet.happy,.bowl-food{animation:none}}
