.cx-art .cx-actor-frame{position:absolute;left:var(--actor-x,0);top:var(--actor-y,0);width:var(--actor-w,100%);height:var(--actor-h,100%);pointer-events:none;z-index:1}
.cx-art .cx-actor{position:absolute;inset:0;display:block;pointer-events:none;z-index:1;transform-origin:50% 73%;animation:cx-fox-breathe 4.6s ease-in-out infinite;will-change:transform}
.cx-art .cx-actor img{position:absolute!important;inset:auto!important;width:48%!important;height:48%!important;left:25.4%!important;top:32.9%!important;object-fit:fill;max-height:none;pointer-events:none}
.cx-art .cx-actor img.cx-art-night{width:45%!important;height:45%!important;left:22.1%!important;top:38.5%!important}
html[data-fox-theme="study"] .cx-art button.cx-pet{position:absolute;z-index:3;left:28%;top:40%;width:36%;height:40%;padding:0!important;margin:0;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:50%;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;pointer-events:auto}
html[data-fox-theme="study"] .cx-art button.cx-pet:hover{background:transparent!important;transform:none}
html[data-fox-theme="study"] .cx-art button.cx-pet:focus-visible{outline:2px solid #f4d58a;outline-offset:3px}
.cx-fox-feedback{position:absolute;left:49%;top:35%;font:20px/1.2 Georgia,serif;color:#fff0b5;text-shadow:0 1px 4px #5a3d1f;z-index:2;pointer-events:none;opacity:0}
.cx-art[data-fox-state="studying"] .cx-actor{animation:cx-fox-study 2.8s ease-in-out infinite}
.cx-art[data-fox-state="resting"] .cx-actor{animation:cx-fox-rest 6s ease-in-out infinite}
.cx-art[data-fox-state="resting"] .cx-fox-feedback{opacity:.85;animation:cx-fox-sleep 4s ease-in-out infinite}
.cx-art[data-fox-state="resting"] .cx-fox-feedback:before{content:'z z' }
.cx-art[data-fox-state="happy"] .cx-actor{animation:cx-fox-joy .85s ease-in-out 5}
.cx-art[data-fox-state="happy"] .cx-fox-feedback{opacity:1;animation:cx-fox-heart 1.4s ease-out infinite}
.cx-art[data-fox-state="happy"] .cx-fox-feedback:before{content:'♡ ✦'}
.cx-art .cx-scene-light,.cx-art .cx-season-particles,.cx-art .cx-season-prop{z-index:2}
.cx-art-caption{z-index:2;pointer-events:none}.cx-growth{z-index:4}
@keyframes cx-fox-breathe{0%,100%{transform:scale(1,1) rotate(-.15deg)}50%{transform:scale(1.008,.988) rotate(.2deg)}}
@keyframes cx-fox-study{0%,100%{transform:rotate(-.25deg) translateY(0)}50%{transform:rotate(.7deg) translateY(1.5px)}}
@keyframes cx-fox-rest{0%,100%{transform:scale(1,1) rotate(.4deg)}50%{transform:scale(1.006,.982) rotate(.7deg)}}
@keyframes cx-fox-joy{0%,100%{transform:translateY(0) rotate(0)}40%{transform:translateY(-5px) rotate(-1deg)}65%{transform:translateY(-2px) rotate(1deg)}}
@keyframes cx-fox-heart{0%{opacity:0;transform:translateY(4px) scale(.8)}30%{opacity:1}100%{opacity:0;transform:translateY(-13px) scale(1.1)}}
@keyframes cx-fox-sleep{50%{opacity:.3;transform:translateY(-6px)}}
html[data-fox-hidden="true"] .cx-art .cx-actor,html[data-fox-hidden="true"] .cx-fox-feedback{animation-play-state:paused}
html[data-fox-motion="reduce"] .cx-art .cx-actor,html[data-fox-motion="reduce"] .cx-fox-feedback{animation:none!important;will-change:auto}
html[data-fox-motion="reduce"] .cx-art[data-fox-state="happy"] .cx-fox-feedback{opacity:1}
@media(prefers-reduced-motion:reduce){.cx-art .cx-actor,.cx-fox-feedback{animation:none!important;will-change:auto}}
.cx-art .cx-actor img.cx-pose-image{display:none!important;width:24%!important;height:36%!important;left:36.3%!important;top:38.5%!important}
.cx-art .cx-actor img.cx-pose-image[data-pose="resting"]{width:26%!important;height:39%!important;left:35.3%!important;top:37.5%!important}
.cx-art:is([data-fox-state="studying"],[data-fox-state="resting"],[data-fox-state="happy"]) .cx-actor>img:not(.cx-pose-image){display:none!important}
.cx-art[data-fox-state="idle"] .cx-actor img[data-pose="idle"],.cx-art[data-fox-state="studying"] .cx-actor img[data-pose="studying"],.cx-art[data-fox-state="resting"] .cx-actor img[data-pose="resting"],.cx-art[data-fox-state="happy"] .cx-actor img[data-pose="happy"]{display:block!important}
html[data-cx-night="true"] .cx-art .cx-actor img.cx-pose-image{width:33%!important;height:49.5%!important;left:26.8%!important;top:33%!important;filter:brightness(.9) sepia(.1)}
html[data-cx-night="true"] .cx-art .cx-actor img.cx-pose-image[data-pose="resting"]{width:35%!important;height:52.5%!important;left:25.8%!important;top:33%!important}
html[data-fox-time="evening"] .cx-art .cx-actor img.cx-pose-image{filter:sepia(.2) saturate(.95) brightness(.9)}
.cx-pose-controls{display:none}
html[data-fox-theme="study"] .cx-pose-controls{display:block;margin:8px 24px 16px}
.cx-pose-controls label{display:flex;align-items:center;gap:12px;color:var(--cx-text);font-size:13px}
.cx-pose-controls select{width:auto;max-width:100%;background:var(--cx-paper);color:var(--cx-text);border:1px solid var(--cx-line);border-radius:10px;padding:9px 12px}
.cx-pose-controls p{font-size:11px;color:var(--cx-muted);margin:8px 0 0}
@media(max-width:750px){html[data-fox-theme="study"] .cx-pose-controls{margin:8px 16px 14px}.cx-pose-controls label{flex-wrap:wrap;gap:7px}.cx-pose-controls select{flex:1}}
