.home-pet{position:fixed;right:clamp(22px,5vw,85px);bottom:20px;z-index:8;display:flex;flex-direction:column;align-items:center}
.pet-cat{display:block;border:0;background:transparent;padding:0;width:144px;height:156px;cursor:pointer;-webkit-tap-highlight-color:transparent;filter:drop-shadow(0 5px 5px #28465218)}
.pet-sprite{display:block;width:144px;height:156px;background:url('assets/cary-briefcat.webp') no-repeat;background-size:1152px 1404px;background-position:0 0}
.pet-greeting{font-size:12px;line-height:1.6;letter-spacing:.04em;color:#3e5966;background:#f8fbf3e0;padding:8px 15px;border-radius:22px;opacity:0;transform:translateY(5px);transition:opacity .25s,transform .25s;pointer-events:none;margin-bottom:8px}
.pet-greeting.is-visible{opacity:1;transform:none}
@media(max-width:650px){.home-pet{right:16px;bottom:14px}.pet-cat{width:108px;height:117px}.pet-sprite{transform:scale(.75);transform-origin:top left}.pet-greeting{font-size:11px}}
@media(prefers-reduced-motion:reduce){.pet-greeting{transition:none}}
/* Position is independent of the speech bubble, so moving never shifts the cat. */
.home-pet{top:0;left:0;right:auto;bottom:auto;width:144px;height:156px;display:block;will-change:transform}
.pet-cat{touch-action:none;cursor:grab;user-select:none}
.pet-cat:active{cursor:grabbing}
.pet-cat:focus-visible{outline:2px solid #658493;outline-offset:3px;border-radius:45%}
.pet-greeting{position:absolute;bottom:100%;left:50%;transform:translate(-50%,5px);width:max-content;max-width:170px;text-align:center;margin-bottom:8px}
.pet-greeting.is-visible{transform:translate(-50%,0)}
@media(max-width:650px){.home-pet{right:auto;bottom:auto;width:108px;height:117px}}
