/* All pose transforms act on the shared rig, with head and paws nested inside. */
#pc-cats .pc-cat-card.pc-cat-react-hello[data-greeting=wave] .pc-cat-rig{animation:pc-greet-wave 3.3s ease both!important}
#pc-cats .pc-cat-card.pc-cat-react-hello[data-greeting=nuzzle] .pc-cat-rig,.pc-cat-affection[data-affection=nuzzle] .pc-cat-rig{animation:pc-greet-nuzzle 3.3s ease both!important}
#pc-cats .pc-cat-card.pc-cat-react-hello[data-greeting=roll] .pc-cat-rig,.pc-cat-affection[data-affection=roll] .pc-cat-rig{animation:pc-greet-roll 3.3s ease both!important;transform-origin:80px 105px}
#pc-cats .pc-cat-card.pc-cat-react-hello[data-greeting=stretch] .pc-cat-rig,.pc-cat-affection[data-affection=stretch] .pc-cat-rig{animation:pc-greet-stretch 3.3s ease both!important}
#pc-cats .pc-cat-card.pc-cat-react-hello:not([data-greeting=wave]) .pc-cat-paw-right{animation:none!important}
#pc-cats .pc-cat-card.pc-cat-react-hello[data-greeting=nuzzle] .pc-cat-head,.pc-cat-affection[data-affection=nuzzle] .pc-cat-head{animation:pc-greet-cheek 3.3s ease both!important}
#pc-cats .pc-cat-card.pc-cat-react-hello[data-greeting=stretch] .pc-cat-paw-left,.pc-cat-affection[data-affection=stretch] .pc-cat-paw-left{animation:pc-greet-reach-left 3.3s ease both!important}
#pc-cats .pc-cat-card.pc-cat-react-hello[data-greeting=stretch] .pc-cat-paw-right,.pc-cat-affection[data-affection=stretch] .pc-cat-paw-right{animation:pc-greet-reach-right 3.3s ease both!important}
.pc-cat-affection{position:relative;display:grid;grid-template-columns:148px minmax(0,1fr);align-items:center;gap:12px;padding:30px 20px 18px;margin:22px 0 16px;background:#f8f7ef;border:1px solid #ccd6c5;border-radius:16px;color:#234b43;overflow:hidden}
.pc-affection-art{display:grid;place-items:center;min-height:146px;pointer-events:none}
.pc-affection-art .pc-cat-drawing{display:block;width:128px;height:120px;overflow:visible}
.pc-affection-art .pc-cat-rig{transform-origin:80px 134px}
.pc-affection-art .pc-cat-head{transform-origin:80px 85px}
.pc-affection-art .pc-cat-tail{transform-origin:103px 125px;animation:pc-trip-tail 2.5s ease-in-out infinite}
.pc-affection-art .pc-cat-paw-left{transform-origin:67px 112px}.pc-affection-art .pc-cat-paw-right{transform-origin:93px 112px}
.pc-affection-copy .eyebrow{font-size:10px;margin:0 0 8px}.pc-affection-message{font-size:15px;line-height:1.8;margin:0 0 12px}
.pc-affection-actions{display:flex;flex-wrap:wrap;gap:8px}.pc-affection-actions button,.pc-affection-close{font:inherit;font-size:12px;line-height:1.5;border:1px solid #c5d0bf;border-radius:20px;padding:7px 12px;background:#fffdf5;color:#234b43;cursor:pointer}
.pc-affection-close{position:absolute;right:10px;top:8px;padding:3px 9px;border-color:transparent;background:transparent}
.pc-affection-actions button:focus-visible,.pc-affection-close:focus-visible{outline:2px solid #94713f;outline-offset:3px}
@keyframes pc-greet-wave{0%,100%{transform:none}20%,65%{transform:translateY(-10px) rotate(-6deg)}42%{transform:translateY(-18px) rotate(6deg)}}
@keyframes pc-greet-nuzzle{0%,100%{transform:none}25%{transform:translateX(14px) rotate(12deg)}50%{transform:translateX(-12px) rotate(-10deg)}75%{transform:translateX(12px) rotate(10deg)}}
@keyframes pc-greet-cheek{0%,100%{transform:none}25%,75%{transform:rotate(15deg)}50%{transform:rotate(-16deg)}}
@keyframes pc-greet-roll{0%,100%{transform:rotate(0) scale(1)}15%{transform:rotate(-18deg) scale(.88)}40%{transform:rotate(-160deg) scale(.78)}65%{transform:rotate(-300deg) scale(.8)}85%{transform:rotate(-360deg) scale(.94)}}
@keyframes pc-greet-stretch{0%,100%{transform:none}25%,72%{transform:scale(1.25,.72) translateY(4px)}}
@keyframes pc-greet-reach-left{0%,100%{transform:none}25%,72%{transform:translate(-8px,16px) rotate(25deg)}}
@keyframes pc-greet-reach-right{0%,100%{transform:none}25%,72%{transform:translate(8px,16px) rotate(-25deg)}}
#pc-cats[data-motion=paused] .pc-cat-card .pc-cat-rig,#pc-cats[data-motion=paused] .pc-cat-card .pc-cat-head,#pc-cats[data-motion=paused] .pc-cat-card .pc-cat-paw-left,#pc-cats[data-motion=paused] .pc-cat-card .pc-cat-paw-right,.pc-cat-affection[data-motion=paused] *{animation:none!important}
#pc-cats[data-motion=paused] .pc-cat-card.pc-cat-react-hello[data-greeting] *,.pc-cat-affection[data-motion=paused][data-affection] *{animation:none!important}
@media(max-width:520px){.pc-cat-affection{grid-template-columns:112px minmax(0,1fr);padding:28px 12px 12px;gap:6px}.pc-affection-art{min-height:132px}.pc-affection-art .pc-cat-drawing{width:108px;height:102px}.pc-affection-message{font-size:13px}.pc-affection-actions{gap:6px}.pc-affection-actions button{font-size:11px;padding:6px 8px}}
@media(prefers-reduced-motion:reduce){#pc-cats .pc-cat-card .pc-cat-rig,#pc-cats .pc-cat-card .pc-cat-head,#pc-cats .pc-cat-card .pc-cat-paw-left,#pc-cats .pc-cat-card .pc-cat-paw-right,.pc-cat-affection *{animation:none!important}}
@media(prefers-reduced-motion:reduce){#pc-cats.pc-cats-v6 .pc-cat-card.pc-cat-react-hello[data-greeting] *,.pc-cat-affection[data-motion][data-affection] *{animation:none!important}}
