@import url('learning-path.css?v=1');
@import url('pet-rig.css?v=4');
:root{--world-ink:#334c45;--world-purple:#755994;--world-gold:#eab856}body{background:#faf8f2}.subjects{flex-wrap:wrap}.subject{min-height:48px}.subject.pet-nav{background:#f9ebd6;color:#73512b}.learning-companion{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 28px;margin:18px 0 24px;border:1px solid #eadfc8;border-radius:28px;background:linear-gradient(110deg,#f7efd9,#f4e9ec 60%,#ede9f6);box-shadow:0 6px 0 #ede8dc}.learning-companion>div{display:flex;align-items:center;gap:12px}.learning-companion p{margin:0}.learning-companion b{display:block;font-size:22px;margin-bottom:8px}.learning-companion p span{font-size:14px;color:#776a67}.home-pet-link{color:#674f3c;text-decoration:none;background:#fff9ed;border:1px solid #decbb0;border-radius:18px;padding:14px 18px;font-weight:700}.pet-portrait{display:inline-block;position:relative;width:150px;aspect-ratio:1;flex-shrink:0}.pet-base{position:absolute;inset:0;background:url('assets/pet-friends.webp') 0 0/200% 100% no-repeat}.pet-base.dog{background-position:100% 0}.item-art{display:block;aspect-ratio:1;background:url('assets/pet-items.webp?v=motion2') var(--sx) var(--sy)/400% 400% no-repeat}.tint-mint{filter:hue-rotate(100deg)}.tint-rose{filter:hue-rotate(300deg)}.tint-sun{background-image:url('assets/pet-sunglasses.webp');background-size:contain;background-position:center}.pet-portrait .wear{position:absolute}.wear-clothes{width:53%;left:25%;top:45%;height:42%}.wear-shoes{width:48%;left:30%;top:76%;height:25%}.wear-collar{width:40%;left:32%;top:38%;height:32%}.wear-earrings{width:82%;left:12%;top:22%;height:24%}.wear-eyewear{width:57%;left:25%;top:22%;height:30%}.pet-base.dog~.wear{transform:translateX(-6%)}.reward-banner{display:flex;gap:12px;align-items:center;justify-content:space-between;background:#fff6dd;border:1px solid #efdfb3;color:#6b542a;border-radius:18px;padding:16px;margin:18px 0;text-decoration:none;font-size:14px}.reward-banner small{display:block;font-size:12px;margin-top:5px}.coin-symbol{display:grid;place-items:center;background:#f3c85e;color:#795310;width:38px;height:38px;border:3px solid #f9df95;border-radius:50%;font-size:23px;flex-shrink:0}.math-topic,.english-topic{border-radius:26px!important;box-shadow:0 6px 0 #e7e9de;border:1px solid #dce3d0!important;background:linear-gradient(145deg,#fff,#f5f8eb)!important}.math-topic:nth-child(3n+2),.english-topic:nth-child(3n+2){background:linear-gradient(145deg,#fff,#fff0e4)!important;border-color:#eaddcc!important;box-shadow:0 6px 0 #efdfd1}.math-topic:nth-child(3n),.english-topic:nth-child(3n){background:linear-gradient(145deg,#fff,#f2edfc)!important;border-color:#dfd8ee!important;box-shadow:0 6px 0 #e6dff1}.math-symbol,.english-topic-icon{border-radius:20px;background:#fff9e3!important;box-shadow:0 4px 0 #eee0ba;color:#7a6840!important}.math-question,.math-answer-card,.english-card{border-radius:30px!important;border:1px solid #e4dfd2!important;box-shadow:0 9px 0 #ede8dc}.math-answer-card{background:linear-gradient(#fffefb,#f8f4ea)!important}.math-answer-pad{background-color:#fffdfa!important;border:2px dashed #c5d3ba!important;border-radius:22px!important}.math-equation{color:#496350!important}.math-main,.english-main{padding-bottom:40px}.english-card{background:linear-gradient(160deg,#fffdf9,#f3effb)!important;position:relative}.english-word{color:#68518a!important;letter-spacing:.05em}.word-picture{display:grid;place-items:center;margin:10px auto 0;width:160px;height:150px;border-radius:38% 42% 40% 35%;background:#fff5dc;box-shadow:0 4px 0 #ebe0c9}.word-picture>span:not(.pet-portrait){font-size:92px}.word-picture .pet-portrait{width:150px}.english-choices button{min-height:70px!important;border-radius:20px!important;background:#fffefb!important;border:2px solid #e3d7ec!important;box-shadow:0 5px 0 #e4dced;font-size:24px!important;color:#59466c}.english-choices button:hover{background:#f7efd8!important;transform:translateY(-2px)}.english-choices{margin-top:24px!important}.english-pad{max-width:600px;min-height:150px;margin:20px auto;background:#fffefa!important;border:2px dashed #bfb0d2!important}.button:disabled{cursor:default;opacity:.48}.english-title h1,.math-heading h1{letter-spacing:-.04em}.pet-wallet strong{font-variant-numeric:tabular-nums}@media(max-width:640px){.learning-companion{padding:12px;gap:8px;align-items:stretch;flex-direction:column}.learning-companion .pet-portrait{width:100px}.learning-companion b{font-size:19px}.home-pet-link{text-align:center;padding:10px}.subjects{gap:4px}.subject{padding:9px 10px!important}.word-picture{width:125px;height:120px}.word-picture .pet-portrait{width:125px}.word-picture>span:not(.pet-portrait){font-size:78px}.reward-banner{flex-wrap:wrap}}
.pet-base.dog{background-image:url('assets/pet-pug.webp');background-size:100% 100%;background-position:center}

.pet-base,.pet-base.dog{background-image:url('assets/village-pets.webp');background-size:200% 100%;background-position:0 0}.pet-base.dog{background-position:100% 0}.pet-base.dog~.wear{transform:none}.pet-portrait .wear-clothes{left:18%;top:43%;width:64%;height:44%}.pet-portrait .wear-collar{left:20%;top:39%;width:60%;height:30%}.pet-portrait .wear-shoes{left:26%;top:78%;width:49%;height:18%}.pet-portrait .wear-eyewear{left:16%;top:21%;width:68%;height:34%}.pet-portrait .wear-earrings{left:13%;top:20%;width:74%;height:20%}.pet-portrait .wear-headwear{left:12%;top:4%;width:76%;height:38%}.item-art.atlas-garden{background-image:url('assets/village-garden.webp?v=motion2');filter:none}.item-art.atlas-village{background-image:url('assets/village-items.webp?v=motion2');background-size:400% 400%;background-position:var(--sx) var(--sy);filter:none}.item-art.atlas-accessory{background-image:url('assets/cute-accessories.webp');background-size:400% 400%;background-position:var(--sx) var(--sy);filter:none}.item-art.atlas-zone{background-image:url('assets/zone-items.webp?v=motion2');background-size:400% 400%;background-position:var(--sx) var(--sy);filter:none}
.item-art.atlas-fashion{background-image:url('assets/fashion-30.webp');background-size:600% 500%;background-position:var(--sx) var(--sy);filter:none}.item-art.atlas-eyewear{background-image:url('assets/eyewear-30.webp');background-size:600% 500%;background-position:var(--sx) var(--sy);filter:none}.item-art.atlas-collars{background-image:url('assets/collars-30.webp');background-size:600% 500%;background-position:var(--sx) var(--sy);filter:none}.item-art.atlas-furniture{background-image:url('assets/furniture-30.webp?v=motion2');background-size:600% 500%;background-position:var(--sx) var(--sy);filter:none}.item-art.atlas-playthings{background-image:url('assets/playthings-30.webp?v=motion2');background-size:600% 500%;background-position:var(--sx) var(--sy);filter:none}
.pet-base.cat[data-motion-atlas],.pet-base.dog[data-motion-atlas]{background-size:1400% 600%;background-position:var(--motion-x,0%) var(--breed-y,0%);background-repeat:no-repeat;transition:none;animation:none}.pet-base.cat[data-motion-atlas]{background-image:url('assets/cat-motion-v3.webp')}.pet-base.dog[data-motion-atlas]{background-image:url('assets/dog-motion-v3.webp')}
