.pet-room{max-width:1000px;margin:clamp(26px,7vh,80px) auto;padding:0 24px}.pet-room header{position:relative;text-align:center;margin-bottom:32px}.pet-room h1{font-size:clamp(28px,4.2vw,42px);margin:0}.pet-wallet{display:inline-flex;align-items:center;position:absolute;right:0;top:0;padding:10px 17px;border-radius:30px;background:#fff3c9;color:#574425;font-weight:750}.pet-layout{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(20px,4vw,55px)}.pet-field{height:clamp(245px,38vw,370px);border-radius:36px;background:radial-gradient(ellipse at 50% 86%,#b7cfa7 0 20%,transparent 20.3%),linear-gradient(#e7ebfb,#f4f5ed 76%,#dae7cf 76%);display:grid;place-items:center;position:relative}.companion-art{width:100%;height:100%;max-height:220px;max-width:230px;color:#302b40;overflow:visible}.pet-panel{text-align:center}.pet-panel h2{font-size:22px}.pet-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:18px 0}.pet-panel p{min-height:1.4em;color:#655e70}.pet-step{font-variant-numeric:tabular-nums;display:block;margin-bottom:12px;color:#756e80}.pet-opts{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.pet-opts button,.pet-canvas{border:1px solid #e0dde4;background:white;border-radius:16px;padding:8px;font-size:14px}.pet-opts button[aria-pressed=true]{border:2px solid #6b6284;background:#f0ebfa}.pet-opts svg{height:45px;display:block;margin:auto}.pet-swatch{display:block;height:22px;border-radius:8px;margin-bottom:5px}.pet-canvas{max-width:260px;display:block;margin:15px auto;touch-action:none;padding:0}@media(max-width:640px){.pet-layout{grid-template-columns:1fr}.pet-wallet{position:static;margin:8px}.pet-field{height:205px}.pet-room{padding:0 17px}}@media(prefers-reduced-motion:reduce){.pet-room *,.pet-body{animation:none!important}}
.pet-ink-line{fill:none;stroke:#383144;stroke-width:4.6;stroke-linecap:round;stroke-linejoin:round}
.pet-room:has(.pet-care-layout){max-width:900px}
.pet-care-layout{display:flex;align-items:stretch;flex-direction:column;gap:4px}
.pet-care-layout .pet-field{display:block;height:auto;border-radius:0;background:none}
.pet-meadow{display:block;width:100%;height:auto;overflow:visible;color:#383144}
.pet-care-layout .pet-actions{margin:8px auto 16px}
.pet-care-layout .pet-actions button{min-width:106px}
.pet-care-layout .pet-panel>[data-p="custom"]{min-height:40px;padding:6px 15px;font-size:.95rem}
.pose-wave{transform-origin:355px 269px;animation:pet-lift 1.35s ease-in-out both}
.pose-wave .pet-right{animation:pet-hand 1.35s ease-in-out both}
.jr-got-it{opacity:0;transform-origin:78px 71px;animation:pet-received 1.35s ease both}
@keyframes pet-lift{0%,100%{transform:none}40%,64%{transform:translateY(-4px) rotate(-1.5deg)}}
@keyframes pet-hand{0%,100%{transform:rotate(0)}18%{transform:rotate(-81deg)}32%,62%{transform:rotate(-104deg)}48%,76%{transform:rotate(-65deg)}}
@keyframes pet-received{0%,10%,100%{opacity:0;transform:translateY(2px) scale(.96)}24%,84%{opacity:1;transform:none}}
@media(max-width:640px){.pet-care-layout .pet-field{height:auto}.pet-care-layout .pet-actions{gap:6px}.pet-care-layout .pet-actions button{min-width:0;padding:9px 13px}}
@media(prefers-reduced-motion:reduce){.pose-wave,.pose-wave .pet-right,.jr-got-it{animation:none}.pose-wave .pet-right{transform:rotate(-67deg)}}
