/* The same plush characters, now living in a persistent little home. */
.cat-button.locked>.cat-art{filter:none}.cat-lock{display:none!important}
.cat-button.mystery>.cat-art{filter:contrast(0) brightness(1.35) sepia(.23)}.mystery-question{position:absolute;top:22%;left:50%;transform:translateX(-50%);font:bold calc(var(--cat-size)*.21)/1 var(--serif);color:#fff9ee;text-shadow:0 1px 2px #68554744;pointer-events:none}.friend-badge{position:absolute;left:70%;top:14%;display:flex;align-items:center;gap:1px;border:1px solid #a7b992;border-radius:6px;padding:2px 3px;background:#f1f6e7;color:#617e55;font:9px var(--round);pointer-events:none}.friend-badge svg{width:15px;height:11px;fill:none;stroke:currentColor;stroke-width:1.8}.friend-badge b{font-size:9px}.waiting-slot .friend-badge{top:5%;left:65%}.home-friends .home-cat{display:flex;gap:3px;width:68px;height:32px;top:40%}.friend-portrait{display:block;position:relative;width:32px;height:32px}.friend-arrived{filter:saturate(.6)}.friend-arrived b{position:absolute;right:-1px;bottom:-3px;background:#e4eedb;color:#6c8c5f;border-radius:50%;font-size:11px;padding:0 3px}.home-friends .home-capacity{top:65%;width:22px;min-width:22px;height:22px;font-size:12px}.home-pips{gap:4px}.home-pips i{width:6px;height:6px}
.next-find{display:flex;align-items:center;gap:7px;background:#f0f3e6;border:1px solid #cbd7be;border-radius:12px;padding:4px 9px;min-height:40px;max-width:185px;text-align:left;color:#6c7e61;font-size:10px}.next-find .find-art{width:37px;height:30px;flex-shrink:0}.next-find strong{font-weight:normal;font-size:10px;display:block}.next-find small{font-size:9px}.game-topbar{gap:8px}
.next-find-card{display:flex;align-items:center;gap:15px;text-align:left;background:#eff2e3;padding:13px;border:1px solid #cad4ba;border-radius:16px;margin:15px 0}.next-find-card .find-art{width:75px;height:70px;flex-shrink:0}.next-find-card strong{display:block;font-size:14px}.next-find-card small{font-size:11px;color:#8a957d}
.theme-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.theme-choice{border-radius:16px;border:2px solid #e1d6c3;padding:8px;background:#faf5e9;font-size:11px}.theme-choice[aria-pressed="true"]{border-color:#89a17f;background:#edf2df}.theme-choice span{height:72px;display:block;border-radius:10px;background-size:100% 100%;margin-bottom:7px}
.house-header-actions{display:flex;gap:7px;align-items:center}.house-header-actions .secondary-button{margin:0}.house-header-actions .icon-button{font-size:24px}.house-welcome{flex-shrink:0;display:flex;align-items:center;gap:9px;margin:0 12px 5px;padding:9px 12px;border:1px solid #bdccaa;border-radius:13px;background:#eef4e3;color:#667e5a;font-size:11px}.house-welcome button{background:none;text-decoration:underline;color:#8b987f;padding:7px;font-size:11px}.new-find{outline:2px solid #93ac77;outline-offset:-3px;background:#edf3d9}.new-find:after{content:'Новинка';position:absolute;right:6px;top:4px;font-size:8px;color:#6b895c;padding:1px 5px;border-radius:8px;background:#f8fce8}
.house-residents{position:absolute;inset:0;pointer-events:none}.resident-cat{position:absolute;width:16%;aspect-ratio:1;transform:translate(-50%,-100%);background:none;padding:0;pointer-events:auto;isolation:isolate;border-radius:50%;touch-action:manipulation}.resident-cat:after{content:'';position:absolute;left:18%;right:12%;bottom:5%;height:7%;background:#92724c30;filter:blur(3px);border-radius:50%;z-index:-1}.resident-cat .plush-pose{animation:none;visibility:hidden}.resident-cat[data-pose="0"] .pose-0,.resident-cat[data-pose="1"] .pose-1,.resident-cat[data-pose="2"] .pose-2,.resident-cat[data-pose="3"] .pose-3,.resident-cat[data-pose="4"] .pose-4,.resident-cat[data-pose="5"] .pose-5{visibility:visible}.resident-cat .plush-breath{animation:plush-breathe 7s ease-in-out infinite}.house-editing .resident-cat{pointer-events:none}.house-editing .resident-cat .plush-breath{animation:none}
.resident-cat.resident-walking .plush-breath{animation:resident-step .5s ease-in-out infinite}.resident-walking .pose-2{animation:resident-right .5s steps(1,end) infinite}.resident-walking .pose-3{animation:resident-left .5s steps(1,end) infinite}.resident-walking .pose-0{visibility:hidden!important}
.resident-card,.house-variant-card{position:absolute;right:13px;top:10px;z-index:2500;width:240px;max-width:calc(100% - 26px);padding:16px;border:1px solid #d0bea1;border-radius:19px;background:#fffaf0f7;box-shadow:0 5px 15px #81684822;pointer-events:auto;text-align:left}.resident-card h3{font:23px var(--serif);margin:4px 0 12px}.resident-card small{font-size:10px;color:#9b8c71}.resident-card-close{position:absolute;top:7px;right:8px;background:none;font-size:22px;color:#988569;width:32px;height:32px}.resident-actions{display:flex;gap:6px}.resident-actions button,.resident-card form button{font-size:11px;background:#eaf0dd;padding:9px;border:1px solid #c6d1b6;border-radius:10px;min-height:38px}.resident-card form{margin-top:10px;display:flex;gap:6px;align-items:end}.resident-card label{font-size:10px;color:#8c7d65;min-width:0}.resident-card input{display:block;font:14px var(--round);border:1px solid #cfbea2;padding:8px;border-radius:9px;width:100%;min-width:0;background:#fffcf5}.resident-petted .plush-square{animation:pet-nuzzle 1.3s ease-in-out}.pet-hearts{position:absolute;top:5%;right:8%;font-size:24px;color:#c1848e;opacity:0;pointer-events:none}.resident-petted .pet-hearts{animation:pet-heart 1.6s ease-out}
.house-variant-card strong{display:block;font-size:13px;margin-bottom:10px}.house-variant-card button{background:#f5ecdb;border:1px solid #d3bda0;border-radius:13px;padding:9px;width:48%;font-size:10px}.house-variant-card button span{display:block;height:100px}.house-variant-card button+button{margin-left:4%}
.reward-showcase{height:170px;max-width:240px;margin:0 auto 12px;animation:reward-rise .5s ease-out}.reward-title{font:23px var(--serif);color:#6d795e;margin:7px 0}.reward-caption{font-size:12px;color:#a38f73}.reward-choice{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0}.reward-choice button{border:2px solid #d8c9af;border-radius:16px;padding:12px 7px;background:#fff7e8;font-size:11px}.reward-choice button[aria-pressed="true"]{border-color:#88a37a;background:#edf4df}.reward-choice span{height:120px;display:block;margin-bottom:7px}.primary-button:disabled,.secondary-button:disabled{opacity:.55;cursor:default}
@keyframes resident-step{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-3%) rotate(2deg)}}@keyframes resident-right{0%{visibility:visible}50%{visibility:hidden}}@keyframes resident-left{0%{visibility:hidden}50%{visibility:visible}}@keyframes pet-nuzzle{0%,100%{transform:translateX(-50%)}35%{transform:translateX(-50%) rotate(-5deg) scale(.98)}70%{transform:translateX(-50%) rotate(3deg)}}@keyframes pet-heart{0%{opacity:0;transform:translateY(0)}25%{opacity:1}100%{opacity:0;transform:translateY(-20px)}}@keyframes reward-rise{from{transform:translateY(12px) scale(.9)}to{transform:translateY(0) scale(1)}}
.house-item[data-item="toy"].in-use .furniture-art{animation:toy-roll 1.5s ease-in-out 3}@keyframes toy-roll{0%,100%{transform:translateX(0) rotate(0deg)}50%{transform:translateX(12%) rotate(16deg)}}
@media(max-width:600px){.next-find{padding:3px 5px;min-width:35px;gap:2px;justify-content:center}.next-find .find-art{width:25px;height:26px}.next-find strong{display:none}.next-find small{font-size:8px}.game-topbar{gap:4px}.house-header h1{font-size:25px}.house-header p{display:none}.house-back{padding:7px;font-size:10px}.house-welcome{font-size:10px;padding:6px 9px;margin:0 8px 4px}.house-welcome button{padding:4px}.house-header-actions .icon-button{min-width:36px;width:36px;height:38px}.house-scene{height:min(100%,calc(100vw * 1.14))}.resident-cat{width:17.5%}.resident-card{width:218px;padding:13px;top:4px}.resident-card h3{font-size:20px}.furniture-tools button{min-width:60px;padding:7px}.reward-showcase{height:145px}}
@media(prefers-reduced-motion:reduce){.resident-cat *,.house-item .furniture-art,.reward-showcase{animation:none!important}.resident-walking .pose-2{visibility:visible}.resident-walking .pose-3{visibility:hidden}.pet-hearts{display:none}}
.inventory-item.new-find{outline:none}.inventory-item.spotlight,.inventory-item[data-inventory="starter-bed"].new-find{outline:2px solid #93ac77;outline-offset:-3px}
.resident-card h3{overflow-wrap:anywhere}.resident-cat[data-using="toy"] .pose-2{animation:resident-right .9s steps(1,end) 5}.resident-cat[data-using="toy"] .pose-3{animation:resident-left .9s steps(1,end) 5}
.resident-cat{pointer-events:none}
.reward-display{position:relative;max-width:270px;margin:auto}.reward-cheer{position:absolute;bottom:3px;right:0;width:64px;height:64px;pointer-events:none}.reward-cheer .pose-0{visibility:hidden}.reward-cheer .pose-2{visibility:visible}.reward-cheer .plush-breath{animation:resident-step .65s ease-in-out 2}
@media(max-width:600px){.house-scene{height:min(100%,calc(100vw * .94))}}
@media(max-width:600px){.homes[data-count="4"] .home{height:96px}.homes[data-count="4"] .home-roof-label{font-size:8px}.homes[data-count="4"] .home-cat{width:27px;height:27px}.homes[data-count="4"] .home-capacity{width:20px;min-width:20px;height:20px;font-size:12px}.homes[data-count="4"] .home-cat small{font-size:5px}}
