/* Small records, expressive companions and a connected neighbourhood. */
.home-identity{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:-12px 0 20px;font-size:10px;color:#a38c70}.home-identity button{color:#887253;background:#f0e6cf;border:1px solid #d9c6a6;border-radius:8px 11px 8px 10px;padding:7px 10px}.pet-file-button{display:inline-block;font-size:10px;color:#8b9275;margin:9px 0 0;border-bottom:1px dashed #bbc3a4;padding:3px 0}.pet-reactions{display:flex;gap:8px;padding:0 22px 18px;flex-wrap:wrap}.pet-reactions button{background:#f6edda;border:1px solid #d8c5a7;border-radius:8px 10px 8px 10px;padding:7px 11px;color:#998366;font-size:10px}.pet-reactions button:hover{background:#eee3c8}.pet-file{text-align:center;background:#faf0d9;border:1px solid #cdb896;border-radius:17px 22px 14px 18px;padding:18px 22px;position:relative}.file-ribbon{font-size:8px;letter-spacing:2px;background:#d8bc91;padding:9px;margin:-18px -22px 0;border-radius:16px 20px 0 0;color:#fff9ed}.file-portrait{position:relative;width:170px;height:174px;margin:4px auto 0}.file-portrait svg{width:100%;height:100%}.file-portrait span{position:absolute;right:-12px;bottom:13px;transform:rotate(-10deg);border:2px double #b4bd98;color:#89966a;border-radius:5px;padding:5px 9px;font-size:9px}.pet-file h2{margin:0!important;font-family:'Songti SC',serif}.pet-file>p{margin:4px 0 14px!important}.pet-file dl{margin:10px 0 22px;text-align:left;border-top:1px dashed #cdbb9a}.pet-file dl>div{display:flex;justify-content:space-between;gap:18px;border-bottom:1px dashed #ddceb3;padding:9px 0;font-size:11px}.pet-file dt{color:#ac967a;flex:none}.pet-file dd{margin:0;color:#75624b;text-align:right;overflow-wrap:anywhere}.pet-file>small{display:block;font-size:8px;color:#b39d7a;margin-top:18px}.pet-file>.text-button{display:block;margin:15px auto 0}.record-form,.resident-badge+form{text-align:left;margin:18px 0 0}.record-form label,#playerForm label{display:block;font-size:11px;color:#9a8367;margin:11px 0}.record-form input,.record-form select,#playerForm input,.social-connection input,.friend-search input{display:block;border:1px solid #d5c3a4;border-radius:7px 10px 8px 7px;background:#fffcf3;color:#75604a;padding:10px;width:100%;min-width:0;font-size:12px;margin:5px 0;box-sizing:border-box}.form-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.record-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:20px}.record-actions>button:first-child{font-size:11px;color:#8e9c77;border:1px dashed #c3c9ad;padding:10px;border-radius:9px}.resident-badge{text-align:center;margin:10px 0}.resident-badge svg{width:130px;height:130px;display:block;margin:auto}.resident-badge span{display:inline-block;font-size:19px;letter-spacing:2px;color:#9e855e;border-top:1px dashed #d8c5a4;border-bottom:1px dashed #d8c5a4;padding:9px 20px}#playerForm button{margin:10px 10px 0 0}.birthday-notice{display:flex;align-items:center;text-align:left;gap:12px;padding:12px 22px;width:100%;background:#f9e5c8;border:0;border-bottom:1px solid #d9bf94;color:#947149}.birthday-notice>span{width:65px;height:60px}.birthday-notice svg{height:100%;width:100%}.birthday-notice small{display:block;font-size:9px;margin-top:5px}.birthday-gift-art svg{width:220px;height:190px}.friends-heading{padding-bottom:22px;border-bottom:1px dashed #d8c5a6}.friends-heading h2{font-family:'Songti SC',serif;margin:12px 0;font-size:25px}.friends-heading>p{font-size:12px;color:#aa9274}.player-number{display:flex;align-items:center;flex-wrap:wrap;gap:15px;background:#f1ead5;padding:15px;border:1px solid #d8c5a4;border-radius:12px 15px 11px 13px;margin-top:22px}.player-number>span{font-size:11px;color:#9d8767;flex:1}.player-number b{display:block;font-size:18px;letter-spacing:2px;color:#7b6a52;margin-top:5px}.player-number button{font-size:10px;color:#87946d;border-bottom:1px dashed #b6c19e}.social-connection{margin:25px 0;background:#eff0df;padding:24px;border-radius:14px 19px 13px 16px;border:1px solid #c4ceaa}.social-connection h3{font-size:16px}.social-connection p{font-size:12px;line-height:1.9;color:#8d967b}.social-connection details{font-size:10px;margin-top:19px;color:#9da485}.social-connection details p{font-size:10px}.social-connection form{display:flex;gap:10px}.social-connection form button{font-size:10px;white-space:nowrap}.friend-search{margin:25px 0}.friend-search>label{font-size:11px;color:#9e8868}.friend-search>div{display:flex;gap:12px;max-width:500px;align-items:center}.friend-search input{flex:1;letter-spacing:1px}.friend-search button{white-space:nowrap}.friend-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:20px 0 30px}.friend-card{background:#fbf4e4;border:1.5px solid #d5c29f;border-radius:13px 18px 13px 16px;padding:16px;text-align:center;box-shadow:1px 3px #e6d9c0}.friend-card>div:first-child{height:145px}.friend-card svg{height:100%;width:100%}.friend-card h3{font-size:14px}.friend-card small{font-size:9px;color:#b59a74;letter-spacing:1px}.friend-card p{font-size:10px;color:#9f8c71}.friend-card button{padding:10px;font-size:10px}.friend-card button+button{margin-left:10px}.friends-empty{grid-column:1/-1;text-align:center;padding:36px;background:#f7f0df;border:1px dashed #d8c6a6;border-radius:12px;font-size:13px;color:#a59173}.friends-empty small{display:block;font-size:10px;margin-top:10px}.social-error{background:#f3dfd7;padding:12px;color:#a06f62;font-size:11px;border-radius:8px}.friend-search-result{display:flex;align-items:center;border:1px dashed #d1bf9e;background:#fbf6e8;border-radius:10px;padding:12px;margin:15px 0 25px;gap:16px}.friend-search-result>svg{width:90px;height:90px}.friend-search-result>div{flex:1;font-size:13px}.friend-search-result small{display:block;font-size:10px;color:#a38f73;margin-top:8px}.friend-room{height:285px;position:relative;border:1px solid #cbb697;border-radius:14px;overflow:hidden;background:#f2e6cd;margin:18px 0}.friend-room>svg{width:100%;height:100%;display:block}.friend-pet{position:absolute;left:calc(50% - 74px);bottom:10px;width:148px;height:148px;transform-origin:50% 88%}.friend-pet>svg{height:100%;width:100%}.friend-tank{position:absolute;left:calc(50% - 110px);bottom:9px;width:220px;height:157px}.friend-tank>svg{width:100%;height:100%}.friend-room.aquatic .friend-pet{width:78px;height:78px;left:calc(50% - 39px);bottom:46px}.friend-needs{display:flex;justify-content:center;gap:18px;font-size:10px;color:#a08a69}.friend-visit-actions{display:flex;justify-content:center;gap:13px;margin:20px 0}.friend-visit-actions button{font-size:11px;padding:12px 15px}.friend-play{animation:pet-wiggle 1.6s ease both}.winter-teaser{display:flex;align-items:center;justify-content:space-between;text-align:left;width:100%;border:1px solid #b5c8ce;border-radius:15px 19px 14px 17px;background:#e9f0ed;color:#819ea0;padding:17px 25px;margin-top:15px}.winter-teaser span{font-size:8px;letter-spacing:2px;color:#9cb1af}.winter-teaser h3{font-family:'Songti SC',serif;font-size:21px;color:#6d8c8d;margin:8px 0}.winter-teaser p{font-size:10px;color:#8ca4a0}.winter-teaser b{font-size:10px;font-weight:500}.winter-teaser>div:last-child{width:150px;height:145px;flex:none}.winter-teaser svg{height:100%;width:100%}.hidden-collection-link{margin:0 0 18px;padding:10px 14px;background:#e9e4d8;border:1px dashed #c9b88f;color:#97825a;font-size:10px;border-radius:8px 12px 8px 10px}.secret-gallery{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:22px 0}.secret-gallery article{background:#ece9df;border:1.5px solid #c7b177;border-radius:13px 17px 12px 15px;padding:14px}.secret-gallery article>div{height:155px}.secret-gallery svg{height:100%;width:100%}.secret-gallery h3{font-size:12px;color:#8a784e}.secret-gallery span{font-size:9px;color:#b49a5d}.secret-gallery small{font-size:9px;color:#a99b7d;display:block}.secret-gallery button{display:block;margin:11px auto 0;font-size:9px}.hidden-result{position:relative;isolation:isolate;background:radial-gradient(ellipse,#f6f0da,#e5e9e1 70%,#eef1eb);border:1.5px solid #c4b181;border-radius:18px;padding:20px 12px;overflow:hidden}.hidden-result h2{color:#99804c!important}.hidden-result .prize-result-art{height:240px!important;filter:drop-shadow(0 0 24px #e5c97999)}.hidden-result .prize-result-art svg{height:100%;width:100%}.hidden-orbits{position:absolute;inset:0;z-index:-1;pointer-events:none}.hidden-orbits i{position:absolute;width:80%;height:65%;left:10%;top:15%;border:1px solid #c8b98088;border-radius:50%;transform:rotate(30deg)}.hidden-orbits i:nth-child(2){transform:rotate(-30deg)}.hidden-orbits i:nth-child(3){transform:rotate(80deg)}.secret-wheel .wheel-hub{background:#e5cb88!important;box-shadow:0 0 23px #e0c46b!important}.secret-rules{margin-top:20px!important}.secret-rules summary{font-size:9px;color:#ab9d83}.secret-rules>p{font-size:10px!important}#heroPet{transform-origin:50% 88%}#heroPet[data-reaction=happy]{animation:pet-wiggle .65s ease 3}#heroPet[data-reaction=roll]{animation:pet-roll 1.8s ease both}#heroPet[data-reaction=spin]{animation:pet-spin 1.7s ease both}#heroPet[data-reaction=tongue]{animation:pet-nod .6s ease 3}@keyframes pet-wiggle{0%,100%{transform:rotate(0)}25%{transform:rotate(-7deg)}75%{transform:rotate(7deg)}}@keyframes pet-roll{0%,100%{transform:translateX(0) rotate(0)}25%{transform:translateX(-12px) rotate(-25deg)}60%{transform:translateX(17px) rotate(340deg)}80%{transform:translateX(6px) rotate(360deg)}}@keyframes pet-spin{0%{transform:scaleX(1)}25%{transform:scaleX(.18)}50%{transform:scaleX(-1)}75%{transform:scaleX(-.18)}100%{transform:scaleX(1)}}@keyframes pet-nod{0%,100%{transform:rotate(0)}50%{transform:rotate(5deg) scale(1.025)}}
@media(max-width:940px){.friend-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-identity{font-size:8px}.home-identity>span{font-size:8px}.friend-card>div:first-child{height:125px}}
@media(max-width:720px){.sidebar nav{overflow-x:auto;justify-content:flex-start;scrollbar-width:none;gap:2px}.sidebar nav::-webkit-scrollbar{display:none}.sidebar .nav{min-width:66px;flex-shrink:0}.home-identity{margin:-9px 0 15px;align-items:flex-start}.home-identity>span{max-width:85px;line-height:1.7;text-align:right}.home-identity button{font-size:8px;padding:6px 8px}.pet-reactions{padding:0 18px 17px;gap:6px}.pet-reactions button{font-size:9px;padding:7px 10px}.pet-file{padding:18px 15px}.file-ribbon{margin:-18px -15px 0}.pet-file dl>div{font-size:10px;padding:8px 0}.record-form input,.record-form select{font-size:12px;padding:9px 7px}.form-pair{gap:9px}.friend-grid{gap:12px}.friend-card{padding:12px}.friend-card>div:first-child{height:112px}.friend-card h3{font-size:12px}.friend-card p{font-size:9px}.friend-card button{font-size:9px}.friends-heading h2{font-size:21px}.player-number{gap:12px;padding:12px}.player-number b{font-size:16px}.player-number button{font-size:9px}.social-connection{padding:18px}.friend-search>div{gap:8px}.friend-search button{font-size:11px;padding:11px 14px}.friend-room{height:235px}.friend-pet{width:125px;height:125px;left:calc(50% - 62px);bottom:7px}.friend-visit-actions{gap:8px}.friend-visit-actions button{font-size:10px;padding:11px}.winter-teaser{padding:15px 17px}.winter-teaser h3{font-size:18px}.winter-teaser>div:last-child{width:100px;height:120px}.winter-teaser p{font-size:9px;line-height:1.7}.secret-gallery{gap:10px}.secret-gallery article{padding:9px}.secret-gallery article>div{height:115px}.secret-gallery h3{font-size:10px}.birthday-notice{padding:12px 17px}.birthday-notice>div{font-size:12px}.birthday-notice small{font-size:9px}.pet-file-button{font-size:9px}.hidden-result .prize-result-art{height:190px!important}}
@media(prefers-reduced-motion:reduce){#heroPet[data-reaction],.friend-play{animation:none!important}}
