@layer guards,reset;@layer features{.pet-life{--pet-energy:.5;width:100%;height:100%;display:block;position:relative}.pet-life>.pixel-cat{transform-origin:50% 100%}.pet-life:before{content:"";opacity:.28;pointer-events:none;background:#0d0805;height:4%;position:absolute;bottom:3%;left:30%;right:30%}.pet-life[data-pose=idle]>.pixel-cat,.pet-life[data-pose=focus]>.pixel-cat{animation:2.4s steps(2,end) infinite pet-breathe}.pet-life[data-pose=sleep]>.pixel-cat{animation:3.6s steps(2,end) infinite pet-breathe}@keyframes pet-breathe{50%{scale:1.015 1.035}}.room-cat:hover .pet-life>.pixel-cat,.pet-cat:hover .pet-life>.pixel-cat{translate:0 -3%}.room-cat:hover .pet-life[data-pose=sleep]>.pixel-cat{translate:0 -1%}.pet-life.is-poked>.pixel-cat{animation:.33s steps(3,end) pet-squish!important}@keyframes pet-squish{0%{scale:1.12 .84}33%{translate:0 -6%;scale:.93 1.08}66%{translate:0;scale:1.03 .97}to{scale:1}}.pet-cat.is-dragging .pet-life>.pixel-cat{transform-origin:50% 20%;animation:.7s steps(4,end) infinite pet-dangle!important}@keyframes pet-dangle{0%,to{rotate:-6deg;scale:.96 1.06}50%{rotate:6deg;scale:.96 1.06}}.pet-fx{pointer-events:none;position:absolute;inset:0;overflow:visible}.pet-fx i{opacity:0;image-rendering:pixelated;background:50%/100% 100% no-repeat;display:block;position:absolute}.pet-fx .fx-heart{aspect-ratio:7/6;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='6' shape-rendering='crispEdges'%3E%3Cpath fill='%233b2a20' d='M1 0h2v1h1V0h2v1h1v2H6v1H5v1H4v1H3V5H2V4H1V3H0V1h1z'/%3E%3Cpath fill='%23ef7d8f' d='M1 1h2v1h1V1h2v2H5v1H4v1H3V4H2V3H1z'/%3E%3Cpath fill='%23ffd1d8' d='M1 1h1v1H1z'/%3E%3C/svg%3E");width:14%;animation:.9s steps(6,end) both fx-heart;top:22%}.pet-fx .fx-heart:first-child{left:22%}.pet-fx .fx-heart:nth-child(2){width:11%;animation-delay:90ms;top:12%;left:46%}.pet-fx .fx-heart:nth-child(3){animation-delay:.18s;left:66%}@keyframes fx-heart{0%{opacity:0;translate:0 10%}15%{opacity:1}70%{opacity:1}to{opacity:0;translate:0 -160%}}.pet-fx .fx-z{aspect-ratio:1;filter:drop-shadow(1px 1px #3b2a20);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='5' shape-rendering='crispEdges'%3E%3Cpath fill='%23fff7e6' d='M0 0h5v1H3v1H2v1H1v1h4v1H0V4h1V3h1V2h1V1H0z'/%3E%3C/svg%3E");width:9%;animation:3s steps(6,end) infinite fx-z;top:30%;left:64%}.pet-fx .fx-z:nth-child(2){width:7%;animation-delay:-1s}.pet-fx .fx-z:nth-child(3){width:5%;animation-delay:-2s}@keyframes fx-z{0%{opacity:0;translate:0}20%{opacity:1}80%{opacity:.9}to{opacity:0;translate:120% -260%}}.pet-fx .fx-dot{aspect-ratio:1;background:#fff7e6;width:4%;animation:1.5s step-end infinite fx-dot;top:18%;box-shadow:0 0 0 1px #3b2a20}.pet-fx .fx-dot:first-child{left:60%}.pet-fx .fx-dot:nth-child(2){animation-delay:.25s;left:67%}.pet-fx .fx-dot:nth-child(3){animation-delay:.5s;left:74%}@keyframes fx-dot{0%,to{opacity:0}20%,80%{opacity:1}}.pet-fx .fx-spark{aspect-ratio:1;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='5' shape-rendering='crispEdges'%3E%3Cpath fill='%23ffd99c' d='M2 0h1v2h2v1H3v2H2V3H0V2h2z'/%3E%3C/svg%3E");width:9%;animation:1.2s steps(3,end) infinite fx-spark}.pet-fx .fx-spark:first-child{top:26%;left:12%}.pet-fx .fx-spark:nth-child(2){animation-delay:-.4s;top:18%;left:78%}.pet-fx .fx-spark:nth-child(3){animation-delay:-.8s;top:4%;left:50%}@keyframes fx-spark{0%,to{opacity:0;scale:.5}50%{opacity:1;scale:1}}@media (prefers-reduced-motion:reduce){.pet-life>.pixel-cat,.pet-life:before,.pet-fx i{animation:none!important}.pet-fx .fx-z:first-child,.pet-fx .fx-dot{opacity:1}}.pet-life[data-reduced=true]>.pixel-cat,.pet-life[data-reduced=true]:before,.pet-life[data-reduced=true] .pet-fx i{animation:none!important}.pet-life[data-reduced=true] .pet-fx .fx-z:first-child{opacity:1}.pet-bubble{font-family:var(--px-font-cn);font-size:12px;line-height:16px;border:4px solid #0000!important;border-image:var(--px-frame-img-paper) 2 / 4px stretch!important;background-clip:padding-box!important;animation:.24s steps(3,end) both pet-bubble-in!important;box-shadow:2px 2px #3b2a2066!important}@keyframes pet-bubble-in{0%{opacity:0;translate:-50% 6px}to{opacity:1;translate:-50%}}.pet-stage[data-reduce-motion=true] .pet-bubble{animation:none!important}.room-cat.cat--drop-target{outline:2px dashed var(--px-accent-hi);outline-offset:4px}.room-cat[data-mood=droopy] .pet-life{filter:saturate(.8)brightness(.94)}.cat-care{background:var(--px-surface-inset);border:2px solid var(--px-border-subtle);gap:6px;padding:8px;display:grid}.cat-care header{justify-content:space-between;align-items:center;display:flex}.cat-care header strong{color:var(--px-ink);font-size:12px}.cat-mood-bar{background:var(--px-surface-2);border:2px solid var(--px-border-subtle);height:12px}.cat-mood-bar span{background:repeating-linear-gradient(90deg, var(--px-accent) 0 6px, transparent 6px 8px);height:100%;display:block}.cat-mood-bar.is-happy span{background:repeating-linear-gradient(90deg, var(--px-good) 0 6px, transparent 6px 8px)}.cat-mood-bar.is-droopy span{background:repeating-linear-gradient(90deg, var(--px-ink-faint) 0 6px, transparent 6px 8px)}.cat-care-actions{align-items:center;gap:8px;display:flex}.cat-care-actions .pixel-button{align-items:center;gap:5px;display:inline-flex}.cat-fish-chip{color:var(--px-ink-dim);border:2px dashed var(--px-border-subtle);cursor:grab;align-items:center;gap:3px;padding:2px 6px;font-size:12px;display:inline-flex}.cat-fish-chip[draggable=false]{cursor:default;opacity:.6}.cat-care-note{color:var(--px-ink-dim);margin:0;font-size:12px}.cat-care-learned{color:var(--px-accent-hi);font-size:12px}}@layer skin,overrides;
