/* Companion art overrides the app's general icon SVG rules. */
.brio-pet-display{display:inline-block;line-height:0;vertical-align:middle;flex-shrink:0}
.brio-pet-art{width:100%;height:100%;display:block;stroke:none;fill:none;overflow:visible;isolation:isolate}
.brio-pet-art .bp-body{transform-origin:180px 285px;animation:bp-breathe 3.8s ease-in-out infinite}
.brio-pet-art .bp-eyes{transform-origin:180px 208px;animation:bp-blink 6s ease-in-out infinite}
.brio-pet-art.pet-expression-sleepy .bp-body{animation:bp-sleep 4s ease-in-out infinite}
.brio-pet-art.pet-expression-sleepy .bp-eyes{animation:none}
.brio-pet-art.pet-expression-bored .bp-body{animation:bp-bored 4.5s ease-in-out infinite}
.brio-pet-art.pet-expression-bored .bp-eyes{animation:none}
.brio-pet-art.pet-expression-excited .bp-body,.brio-pet-art.pet-energy-high:not(.pet-expression-sleepy) .bp-body{animation:bp-bounce 1.8s ease-in-out infinite}
.brio-pet-art .bp-aura{transform-origin:180px 180px;animation:bp-twinkle 3s ease-in-out infinite}
.brio-pet-art .bp-sleep{animation:bp-zzz 3s ease-in-out infinite}
.brio-pet-art .bp-halo{animation:bp-twinkle 3s ease-in-out infinite}
.pet-scene>.brio-pet-display{width:min(100%,330px);height:285px;max-width:330px;max-height:285px}
.pet-scene>.brio-pet-display.pet-image{object-fit:contain;filter:drop-shadow(0 10px 12px #8664ad20)}
.pet-hub-scene>.brio-pet-display{width:220px;height:210px}
.game-celebration.brio-pet-display{display:block;width:180px;height:170px;margin:0 auto 15px}
.race-pet>.brio-pet-display{width:50px;height:47px;max-width:none;transform:translate(-3px,3px)}
.pet-card>.pet-wardrobe-button{display:flex;width:100%;margin:14px 0 0;background:#ffffffa8;color:#654d81;border:1px solid #daccdf;min-height:44px}
.pet-wardrobe-preview{display:flex;align-items:center;gap:22px;border-radius:20px;padding:8px 22px;background:linear-gradient(130deg,#f3eefb,#f2f7e9);margin:7px 0 24px}
.pet-wardrobe-preview>.brio-pet-display{width:170px;height:175px}
.pet-wardrobe-preview h3{font-size:25px;margin-bottom:6px}
.pet-wardrobe-preview p{font-size:15px;color:#6b6473;line-height:1.55}
.pet-wardrobe-preview small{display:block;font-size:14px;line-height:1.6;color:#766782;margin-top:8px}
.pet-wardrobe-preview .eyebrow{font-size:11px}
.pet-wardrobe-section{margin:0 0 26px}
.pet-wardrobe-section>h3,.pet-closet-heading{margin:0 0 13px}
.pet-species-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.pet-species-option{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;background:#f8f9f6;border:2px solid #e8ebe4;border-radius:16px;padding:8px 8px 13px;min-width:0;text-align:center}
.pet-species-art{width:100%;height:120px;display:block}
.pet-species-option strong{font-size:15px;line-height:1.5;margin-top:4px}
.pet-species-option small{font-size:12px;color:#6d7667;line-height:1.45;margin-top:3px}
.pet-species-option.is-selected,.pet-color-option.is-selected,.pet-accessory.is-selected{border-color:#9b83c6;background:#f2ecfa;box-shadow:0 0 0 1px #9b83c61a}
.pet-species-option:hover,.pet-accessory:not(:disabled):hover{background:#f0f3ea}
.pet-species-option.is-selected:hover,.pet-accessory.is-selected:hover{background:#f2ecfa}
.pet-color-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.pet-color-option{border:2px solid #e8ebe4;border-radius:13px;padding:10px 5px 9px;background:#f8f9f6;display:flex;flex-direction:column;align-items:center;gap:7px;min-height:86px;font-size:14px;font-weight:650}
.pet-color-option>span{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;box-shadow:inset 0 0 0 1px #00000014;color:#25332d;font-size:18px;line-height:1}
.pet-closet-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
.pet-closet-heading>span{font-size:14px;color:#756285;background:#f1ebf8;border-radius:7px;padding:5px 8px;white-space:nowrap}
.pet-accessory-group{margin-top:20px}
.pet-accessory-group h4{font-family:inherit;font-size:14px;margin:0 0 10px;color:#68775f}
.pet-accessory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.pet-accessory{border:2px solid #e7ebe3;border-radius:14px;padding:12px 9px;min-height:123px;display:flex;flex-direction:column;align-items:center;background:#f8f9f6;text-align:center;gap:7px;min-width:0}
.pet-accessory-symbol{display:flex;align-items:center;justify-content:center;min-height:33px;font-size:26px;line-height:1}
.pet-accessory strong{font-size:14px;line-height:1.5}
.pet-accessory small{font-size:12px;line-height:1.45;color:#6f7a65}
.pet-accessory.is-locked{opacity:1;background:#f5f5f3;color:#7a7c77;border-style:dashed}
.pet-accessory.is-locked .pet-accessory-symbol{filter:grayscale(.8);opacity:.55}
.pet-accessory.is-locked small{color:#777a72}
.pet-profile-panel{margin-top:24px;display:flex;align-items:center;gap:23px}
.pet-profile-panel>.brio-pet-display{width:155px;height:150px}
.pet-profile-panel .pet-wardrobe-button{margin-top:16px}
@keyframes bp-breathe{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px) scale(1.015,1.005)}}
@keyframes bp-blink{0%,42%,46%,100%{transform:scaleY(1)}44%{transform:scaleY(.08)}}
@keyframes bp-sleep{0%,100%{transform:rotate(-3deg) scale(1,.985)}50%{transform:rotate(-3deg) scale(1.025,1.015)}}
@keyframes bp-bored{0%,100%{transform:rotate(-2deg) translateY(3px)}50%{transform:rotate(2deg) translateY(3px)}}
@keyframes bp-bounce{0%,100%{transform:translateY(0) scale(1.02,.985)}30%{transform:translateY(-11px) rotate(2deg) scale(.99,1.025)}60%{transform:translateY(0) scale(1.025,.98)}80%{transform:translateY(-4px) rotate(-1deg)}}
@keyframes bp-twinkle{0%,100%{opacity:.55;transform:translateY(1px)}50%{opacity:1;transform:translateY(-4px)}}
@keyframes bp-zzz{0%,100%{opacity:.5;transform:translateY(0)}50%{opacity:1;transform:translateY(-5px)}}
@media(max-width:600px){.pet-species-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pet-species-art{height:110px}.pet-color-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pet-accessory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pet-wardrobe-preview{gap:10px;padding:8px 10px}.pet-wardrobe-preview>.brio-pet-display{width:125px;height:145px}.pet-wardrobe-preview h3{font-size:22px}.pet-profile-panel{gap:12px}.pet-profile-panel>.brio-pet-display{width:105px;height:125px}.pet-profile-panel h2{font-size:18px}.pet-profile-panel .subheading{font-size:14px}.pet-scene>.brio-pet-display{height:260px;max-width:300px}}
@media(prefers-reduced-motion:reduce){.brio-pet-art *{animation:none!important;transition:none!important}}
