@import url('fonts/fonts.css');
:root{--ink:#3b493f;--muted:#81897d;--green:#496f55;--cream:#f7f5ef;--line:#e4e6dc;--wall:#dce5d2;--floor:#ddc8aa;--nav:76px}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:14px 'DM Sans',sans-serif}button,input,textarea{font:inherit}button{cursor:pointer;border:0;color:inherit;transition:background .18s,box-shadow .18s,transform .18s}button:hover:not(:disabled){filter:brightness(.98)}button:disabled{cursor:default;opacity:.65}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #b29ac8;outline-offset:4px}h1,h2,h3,.brand{font-family:Outfit,sans-serif}h1{font-size:clamp(28px,3.1vw,42px);letter-spacing:-1.4px;line-height:1.15;margin:12px 0 14px;font-weight:500}h2{font-size:24px;letter-spacing:-.6px;font-weight:500;margin:10px 0}h3{font-size:20px;font-weight:500;margin:8px 0}p{color:var(--muted);line-height:1.75;margin:6px 0}a{color:inherit}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#82917b}.topbar{height:var(--nav);display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:16px;background:#faf9f4;border-bottom:1px solid var(--line);position:relative;z-index:15}.brand{font-size:27px;font-weight:600;letter-spacing:-1.3px;text-decoration:none;display:flex;align-items:center;white-space:nowrap}.brand-flower{font-size:34px;margin-right:9px;color:#8caa79}.brand-dot{color:#a7b795}.topbar nav{display:flex;gap:8px}.topbar nav button{background:transparent;border-radius:12px;padding:11px 16px;font-size:12px;white-space:nowrap;color:#828b7e}.topbar nav button span{font-size:19px;margin-right:6px;vertical-align:-1px}.topbar nav button.active{background:#e8eedf;color:#4b6c4d;font-weight:700}.top-right{display:flex;align-items:center;gap:18px}.save-status{font-size:10px;color:#95a08b;white-space:nowrap}.wallet{border:1px solid #e5e1d5;border-radius:24px;padding:9px 14px;background:#fffcf5;display:flex;gap:9px;align-items:center}.coin-icon{display:grid;place-items:center;width:22px;height:22px;background:#edd6a0;color:#a48848;border:2px solid #e2c88c;border-radius:50%;font-size:13px}.view{display:none}.view.active{display:block}#home.active{display:flex;position:relative;height:calc(100dvh - var(--nav));min-height:540px;overflow:hidden}.room{position:relative;flex:1;min-width:0;height:100%;overflow:hidden;background:var(--wall);isolation:isolate;transition:background .4s}.wall-pattern{position:absolute;inset:0 0 36%;background-image:radial-gradient(#fff7 1.6px,transparent 1.6px);background-size:30px 30px;opacity:.45}.wall-trim{position:absolute;top:59%;height:8%;width:100%;background:linear-gradient(#fff2,#fff1);border-top:3px solid #fff4;border-bottom:5px solid #b7b09a45;box-shadow:0 4px 10px #655e4310}.floor{position:absolute;inset:67% 0 0;background-color:var(--floor);background-image:repeating-linear-gradient(0deg,transparent 0 52px,#8f785718 53px 54px),repeating-linear-gradient(95deg,transparent 0 170px,#8f78570d 171px 173px);transition:background-color .4s}.sunbeam{position:absolute;left:14%;top:26%;width:35%;height:60%;background:linear-gradient(130deg,#fff5,#fff0);clip-path:polygon(0 0,30% 0,100% 100%,20% 100%);pointer-events:none}.window-art{position:absolute;left:14%;top:15%;width:19%;max-width:260px;min-width:140px;filter:drop-shadow(0 9px 0 #6c705410)}.window-art svg{width:100%}.wall-pictures{position:absolute;right:15%;top:25%;display:flex;gap:22px;align-items:flex-start}.wall-pictures span{display:grid;place-items:center;width:76px;height:92px;background:#f5efdc;border:7px solid #c5af91;box-shadow:3px 5px 0 #7b796217;font-size:39px;color:#bdbd95;transform:rotate(-4deg)}.wall-pictures span+span{margin-top:25px;transform:rotate(6deg);width:62px;height:72px;font-size:30px;color:#c5b1c9}.room-hud{position:absolute;top:25px;left:32px;right:32px;display:flex;justify-content:space-between;align-items:center;z-index:7}.room-label .eyebrow{font-size:9px;letter-spacing:1.8px;color:#768368}.room-selector{display:flex;gap:5px;margin-top:8px}.room-selector button{background:#ffffff78;border:1px solid #fff5;border-radius:10px;padding:7px 12px;font-size:12px}.room-selector button.active{background:#fffdf0;color:#5e7552;box-shadow:0 3px 6px #4f634c0a}.room-tools{display:flex;gap:10px}.glass-button{background:#fffcf0d9;padding:13px 19px;border:1px solid #fffe;border-radius:13px;box-shadow:0 4px 12px #48563a09;font-size:12px;font-weight:600}.icon-button{width:40px;height:40px;padding:0;display:inline-grid;place-items:center;border-radius:50%;background:#f0f0e8;font-size:23px;flex-shrink:0}.room-tools .icon-button{height:42px;width:42px;border-radius:13px}.profile-chip{position:absolute;left:32px;top:120px;display:flex;gap:10px;align-items:center;z-index:6;background:#fffcf094;border:1px solid #fffa;border-radius:16px;padding:7px 17px 7px 7px;backdrop-filter:blur(5px)}#mini-portrait{width:44px;height:44px;background:#eee7e4;border-radius:12px;overflow:hidden}#mini-portrait svg{height:100%;width:100%}.pet-name{padding:0;background:none;display:block;font-family:Outfit;font-size:17px;font-weight:500}.profile-chip span{display:block;font-size:10px;color:#8b927b;margin-top:3px}.pet{position:absolute;left:50%;top:48%;width:clamp(190px,23vw,320px);height:clamp(200px,24vw,335px);padding:0;background:none;transform:translate(-50%,-22%);z-index:5;filter:drop-shadow(0 12px 9px #66534a13)}.pet svg{width:100%;height:100%;overflow:visible;animation:idle 3.5s ease-in-out infinite}.pet.bounce svg{animation:hop .5s ease 2}.speech{position:absolute;top:33%;left:50%;transform:translateX(-50%);background:#fffdf2eb;border:1px solid #fff;border-radius:19px;padding:12px 19px;box-shadow:0 5px 20px #46593b09;font-size:12px;color:#829071;z-index:7;max-width:270px;text-align:center;min-width:170px}.speech:after{content:'';position:absolute;left:calc(50% - 7px);bottom:-7px;border:7px solid transparent;border-bottom:0;border-top-color:#fffdf2eb}.furnishings{position:absolute;inset:0;z-index:2;pointer-events:none}.furniture{position:absolute;transform:translate(-50%,-80%);border:0;background:transparent;padding:0;pointer-events:auto;min-width:45px;touch-action:none;line-height:0}.furniture svg{width:100%;height:auto;overflow:visible;pointer-events:none}.furniture[data-id="rug"]{z-index:0!important;pointer-events:none}.furniture:not([data-id="rug"]){filter:drop-shadow(0 8px 2px #594e4010)}.editing .furniture{cursor:grab;outline:1px dashed #6c845251;border-radius:14px;pointer-events:auto!important}.editing .furniture:active{cursor:grabbing}.editing .furniture.selected{outline:2px dashed #718e5b;background:#fff2}.aura-layer{position:absolute;top:43%;left:50%;width:clamp(260px,30vw,410px);height:340px;transform:translate(-50%,-20%);z-index:4;pointer-events:none}.aura-layer svg{width:100%;height:100%;animation:orbit 18s linear infinite}.companion{position:absolute;left:61%;top:67%;width:clamp(60px,8vw,110px);z-index:6;pointer-events:none;animation:idle 4s ease infinite}.companion svg{width:100%;height:100%}.care-dock{position:absolute;bottom:38px;left:50%;transform:translateX(-50%);display:flex;gap:8px;background:#fcfaf2e8;backdrop-filter:blur(15px);border:1px solid #fff;border-radius:24px;padding:10px;box-shadow:0 8px 35px #755d4010;z-index:8}.care-dock button{background:none;border-radius:16px;padding:8px 18px;min-width:106px;display:flex;align-items:center;flex-direction:column;gap:3px}.care-dock button:hover{background:#ebeede}.care-dock button>span{font-size:26px}.care-dock b{font-size:11px;font-weight:600}.care-dock small{font-size:9px;color:#969983}.care-dock i{display:block;height:4px;background:#e3e4d8;border-radius:10px;width:62px;margin-top:7px;overflow:hidden}.care-dock em{display:block;height:100%;width:75%;background:#b3bf91;border-radius:10px}#bar-food{background:#dcb47c}#bar-clean{background:#a6c6cc}#bar-happy{background:#d4a6b2}.room-footer{position:absolute;bottom:17px;left:30px;right:30px;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#8b806c;z-index:6}.subtle{background:none;color:inherit;padding:0;font-size:inherit}.editor-banner{display:none}.shop{display:none;width:355px;flex-shrink:0;background:#faf9f4;border-left:1px solid var(--line);overflow-y:auto;padding:25px 22px;z-index:9}.editing .shop{display:block}.editing .care-dock,.editing .room-footer,.editing .profile-chip,.editing .speech{display:none}.editing .room-tools{visibility:hidden}.editing .editor-banner{position:absolute;bottom:20px;left:22px;right:22px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fffdf1e8;padding:14px 18px;border:1px solid white;border-radius:16px;z-index:8;font-size:10px;color:#839074}.editor-banner b{display:block;font-size:12px;color:var(--ink);margin-bottom:4px}.editor-banner .primary{white-space:nowrap;font-size:11px;padding:12px}.shop-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.shop-heading h2{font-size:25px;line-height:1.2}.shop-heading .eyebrow{font-size:9px}.shop-categories{display:flex;gap:7px;flex-wrap:wrap;margin:22px 0}.shop-categories button,.tabs button{background:transparent;border:1px solid transparent;border-radius:10px;padding:9px 11px;font-size:11px;color:#89927e}.shop-categories button.active,.tabs button.active{background:#e6ecdc;border-color:#d9e1ce;color:#526d43}.shop-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.shop-card{padding:11px;background:white;border:1px solid #e7e8df;border-radius:15px;text-align:left;position:relative}.shop-card.equipped{border-color:#a8bd97;background:#f1f5e9}.shop-card .item-art{height:100px;display:grid;place-items:center;background:#f5f3ed;border-radius:10px;margin-bottom:9px;overflow:hidden}.item-art svg{width:100%;height:100%}.shop-card strong{display:block;font-size:11px;font-weight:500;line-height:1.4;min-height:30px}.shop-card .price{display:flex;justify-content:space-between;font-size:10px;color:#8b987c;margin-top:7px}.shop-note{font-size:10px;margin-top:20px}.swatch{height:65px;width:75px;border-radius:13px;box-shadow:4px 6px 0 #00000008;transform:rotate(-7deg);background-image:radial-gradient(#fff8 2px,transparent 2px);background-size:14px 14px}.swatch.floors{background-image:repeating-linear-gradient(0deg,transparent 0 14px,#886b5430 14px 15px);transform:rotate(-10deg) skew(-12deg)}.room[data-room="garden"] .window-art,.room[data-room="garden"] .wall-pictures{display:none}.room[data-room="garden"]{background:linear-gradient(#d0e5e4 0%,#edf0da 65%)}.room[data-room="garden"] .wall-trim{background:repeating-linear-gradient(90deg,#e9dfc3 0 12px,transparent 12px 26px);height:13%;top:54%;border:0}.room[data-room="garden"] .floor{background:#b8cc9d;background-image:radial-gradient(#f6e9bd 2px,transparent 2px);background-size:55px 65px}.room[data-room="attic"] .wall-pattern{background:repeating-linear-gradient(60deg,#fff1 0 40px,transparent 41px 81px);clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.room[data-room="attic"] .window-art{left:16%;width:17%}.primary,.secondary{padding:13px 20px;border-radius:12px;font-size:12px;font-weight:600;background:#4c7156;color:#fffdf1}.primary span{display:block;color:#cedfc6;font-size:10px;margin-top:4px}.secondary{background:#edf0e5;color:#657759;border:1px solid #dfe6d5}.page{max-width:1260px;margin:auto;padding:47px 35px 60px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:35px;margin-bottom:32px}.page-heading>div{max-width:820px}.page-heading p{font-size:13px}.page-heading .primary{flex-shrink:0}.soft-badge{padding:10px 14px;background:#eaeede;border:1px solid #dfe5d3;border-radius:25px;font-size:11px;white-space:nowrap;color:#81916f}.collection-summary{display:flex;gap:30px;padding:20px 25px;border:1px solid var(--line);background:#efefe5;border-radius:18px;margin-bottom:25px}.collection-summary div{display:flex;gap:10px;align-items:center;font-size:11px;color:#859078}.collection-summary strong{font:500 27px Outfit;color:#607550}.filter-row{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:25px 0}.tabs{display:flex;gap:5px}.tabs button{font-size:12px;padding:10px 16px}input,textarea{border:1px solid #dfe3d7;background:#fffefa;border-radius:11px;padding:12px 14px;color:var(--ink);max-width:100%}input[type="search"]{width:260px;font-size:12px}.collection-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.creature-card{background:#fffefa;border:1px solid #e5e6db;border-radius:22px;padding:16px;text-align:left;overflow:hidden}.creature-portrait{background:var(--tint,#eee9ed);height:190px;border-radius:15px;position:relative;display:flex;justify-content:center;align-items:center;margin-bottom:14px}.creature-portrait svg{width:90%;height:100%;transition:transform .3s}.creature-card:hover .creature-portrait svg{transform:translateY(-5px)}.creature-portrait .number{position:absolute;top:12px;left:12px;font:10px 'DM Sans';color:#8c8c87}.status-label{display:inline-block;font-size:9px;letter-spacing:.5px;border-radius:20px;padding:5px 8px;background:#edf0e2;color:#799060}.status-label.seen{background:#ede7f3;color:#9b82b1}.creature-card h3{margin:10px 0 4px;font-size:22px}.creature-card p{font-size:11px}.card-bottom{display:flex;justify-content:space-between;align-items:center}.empty-state{grid-column:1/-1;border:1px dashed #d6ddca;border-radius:22px;padding:45px;text-align:center;background:#f0f1e8}.empty-state .symbol{font-size:50px;color:#bdc8a5;margin-bottom:15px}.empty-state p{max-width:420px;margin:auto;font-size:12px}.discovery-footer{display:flex;gap:18px;align-items:center;padding:30px 0;margin-top:25px;border-top:1px solid var(--line);font-size:12px;color:#818c76}.discovery-mark{font-size:40px;color:#bdc7a8}.discovery-footer p{font-size:11px}.games-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.game-card{border:1px solid #e2e5d9;background:#fffefa;border-radius:22px;overflow:hidden}.game-cover{height:210px;position:relative;padding:10px;display:flex;justify-content:center}.game-cover svg{height:100%;max-width:100%}.game-tag{position:absolute;top:17px;left:18px;font-size:9px;letter-spacing:1.2px;color:#7e876f}.game-copy{padding:22px}.game-copy h2{font-size:23px;margin:0 0 8px}.game-copy p{font-size:12px;min-height:43px}.game-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:22px;font-size:10px;color:#a2936e}.game-bottom button{background:#ecf0e3;color:#627852;border-radius:11px;padding:10px 17px;font-weight:600}.record{font-size:10px;color:#97a18b;margin-top:10px}.clan-hero{display:flex;align-items:center;gap:40px;background:#e8ecdf;border:1px solid #dfe5d3;padding:36px;border-radius:24px}.clan-illustration{width:160px;height:160px;display:grid;place-items:center;background:#d9e2cc;border-radius:50%;font-size:120px;color:#94a980;position:relative;flex-shrink:0}.clan-illustration span{position:absolute;font-size:35px;right:-8px;top:5px;color:#d8bc7b}.clan-hero h2{font-size:30px}.clan-hero p{font-size:12px;margin-bottom:17px}.clan-actions{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:24px 0 35px}.clan-actions article{padding:25px;border:1px solid var(--line);border-radius:20px;background:#fffefa}.clan-actions article>span{font-size:30px;color:#adb899}.clan-actions p{font-size:12px;margin-bottom:18px}.section-title{font-size:21px;margin-bottom:20px}.section-title span{font-size:13px;background:#e5eadb;padding:4px 9px;border-radius:12px;margin-left:8px}.local-note{font-size:11px;max-width:800px;margin-top:25px}.overlay[hidden]{display:none}.overlay{position:fixed;inset:0;z-index:50;background:#3c473d66;backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:20px}.modal{background:#f9f7ef;border:1px solid #fff9;border-radius:26px;box-shadow:0 30px 100px #2d36282b;width:min(100%,460px);padding:32px;max-height:calc(100dvh - 35px);overflow:auto;position:relative;text-align:center}.modal-close{position:absolute;right:15px;top:15px;width:30px;height:30px;z-index:2}.modal h2{font-size:28px;padding:0 14px}.modal p{font-size:12px}.modal input,.modal textarea{width:100%;margin:18px 0 14px}.modal textarea{height:110px;resize:vertical;font-size:11px;overflow-wrap:anywhere}.modal .primary{margin-top:15px}.modal .portrait{height:190px;margin:5px auto}.modal .portrait svg{height:100%;width:100%}.modal-row{display:flex;gap:10px;justify-content:center;align-items:center;flex-wrap:wrap}.info-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;text-align:left;margin:20px 0}.info-stat{padding:14px;background:#eeefe5;border-radius:12px;font-size:11px}.info-stat b{display:block;font-size:20px;color:#7c946d;margin-top:7px}.form-error{color:#b2696b!important;min-height:20px}.toast{position:fixed;left:50%;bottom:23px;transform:translate(-50%,130px);background:#405d48;color:#fcfff2;padding:14px 23px;border-radius:15px;box-shadow:0 8px 30px #24453220;font-size:12px;z-index:80;transition:transform .25s;max-width:calc(100% - 30px);text-align:center;pointer-events:none}.toast.show{transform:translate(-50%,0)}.game-modal{width:min(100%,520px);padding:25px}.game-modal h2{font-size:24px}.game-meta{display:flex;justify-content:space-between;gap:10px;font-size:12px;padding:10px 4px;color:#879875}.game-canvas{display:block;width:100%;aspect-ratio:400/330;background:#e5ebdc;border-radius:17px;touch-action:manipulation}.game-action{width:100%;touch-action:manipulation;user-select:none;margin-top:14px!important;padding:15px}.game-start-art{height:150px}.game-start-art svg{height:100%}.memory-board{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:12px}.memory-board button{height:67px;background:#dde5d2;border-radius:12px;font-size:28px;color:#9aad88}.memory-board button.matched{background:#e4dced;opacity:1}.harvest-field{height:300px;background:#e2ead7;border-radius:17px;position:relative;overflow:hidden}.fruit{position:absolute;width:55px;height:55px;border-radius:50%;background:#fff9;font-size:30px;box-shadow:0 4px 10px #6b785214}.lights-board{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:22px 0}.lights-board button{height:106px;border-radius:20px;font-size:35px;color:#fff8;box-shadow:inset 0 -5px 0 #0001;transition:filter .15s,transform .15s}.lights-board button.lit{filter:brightness(1.4);transform:scale(.95);box-shadow:0 0 24px #e4d69c99}.game-result{padding:25px 0}.game-result .reward-number{font:500 65px Outfit;color:#8fa275;margin:20px 0 0}.game-result .soft-badge{display:inline-block;margin-top:10px}@keyframes idle{50%{transform:translateY(-7px) rotate(1deg)}}@keyframes hop{50%{transform:translateY(-26px) rotate(-5deg)}}@keyframes orbit{to{transform:rotate(360deg)}}
@media(min-width:1500px){.pet{top:47%;width:350px;height:360px}.speech{top:34%}.window-art{left:20%}.wall-pictures{right:22%}}
@media(max-width:1100px){.save-status{display:none}.topbar{padding:0 22px}.topbar nav{gap:1px}.topbar nav button{padding:10px}.shop{width:315px;padding:20px 16px}.collection-grid{grid-template-columns:repeat(3,1fr)}.games-grid{gap:16px}.game-copy{padding:18px}.game-bottom{gap:8px}.wall-pictures{right:12%}.profile-chip{top:115px}.page{padding:35px 25px}.room-hud{left:24px;right:24px}.room-footer{left:24px;right:24px}}
@media(max-width:760px){:root{--nav:65px}.topbar{padding:0 17px}.brand{font-size:24px}.brand-flower{font-size:29px}.topbar nav{position:fixed;bottom:0;left:0;right:0;height:70px;justify-content:space-around;align-items:center;background:#faf9f4f5;backdrop-filter:blur(14px);border-top:1px solid #dfe4d5;padding-bottom:env(safe-area-inset-bottom);z-index:30}.topbar nav button{display:flex;flex-direction:column;gap:2px;font-size:10px;min-width:72px;padding:7px}.topbar nav button span{font-size:21px;margin:0}.wallet{padding:7px 11px;font-size:12px}#home.active{height:calc(100dvh - 135px);min-height:500px}.room-hud{left:18px;right:18px;top:20px}.room-label .eyebrow{font-size:8px}.room-selector button{font-size:10px;padding:6px 8px}.glass-button{padding:10px 12px;font-size:11px}.room-tools{gap:6px}.room-tools .icon-button{height:36px;width:36px}.profile-chip{left:18px;top:100px;padding:5px 10px 5px 5px;border-radius:12px}.pet-name{font-size:15px}.profile-chip span{font-size:9px}#mini-portrait{width:35px;height:35px}.window-art{top:24%;left:6%;min-width:100px;width:26%;opacity:.9}.wall-pictures{right:8%;top:26%;gap:10px}.wall-pictures span{width:46px;height:57px;border-width:5px;font-size:25px}.wall-pictures span+span{width:39px;height:48px;font-size:20px;margin-top:17px}.speech{top:35%;font-size:10px;padding:10px 13px;max-width:210px}.pet{top:49%;width:210px;height:220px}.care-dock{bottom:36px;padding:7px;gap:2px;border-radius:19px;max-width:95%}.care-dock button{min-width:70px;padding:6px 10px}.care-dock button>span{font-size:24px}.care-dock b{font-size:10px}.care-dock small{font-size:8px}.care-dock i{width:46px;margin-top:5px}.room-footer{font-size:8px;left:16px;right:16px;bottom:16px}.companion{left:69%;top:64%;width:65px}.aura-layer{top:45%;width:270px;height:280px}.furniture{width:calc(var(--fw)*1.3)!important}.room[data-room="attic"] .window-art{left:8%;width:26%}.editing#home.active{display:flex;flex-direction:column;height:calc(100dvh - 135px);min-height:650px}.editing .room{flex:none;height:52%;min-height:310px}.editing .shop{width:100%;height:48%;border-left:0;border-top:1px solid var(--line);padding:15px 17px}.editing .pet{width:150px;height:155px;top:43%}.editing .aura-layer{width:200px;height:210px;top:35%}.editing .window-art{width:22%;top:21%;min-width:75px}.editing .room-hud{top:12px}.editing .companion{top:61%;width:48px}.editing .wall-pictures{top:20%}.editing .editor-banner{bottom:10px;left:12px;right:12px;padding:9px 11px;font-size:8px}.editor-banner b{font-size:10px}.editor-banner .primary{padding:9px;font-size:9px}.shop-heading h2{font-size:20px;margin:5px 0}.shop-heading .eyebrow{font-size:8px}.shop-categories{margin:12px 0;flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.shop-categories button{white-space:nowrap;padding:8px 10px;font-size:10px}.shop-grid{grid-template-columns:repeat(3,1fr);gap:8px}.shop-card{padding:8px}.shop-card .item-art{height:75px}.shop-card strong{font-size:10px}.shop-card .price{font-size:9px}.page{padding:28px 18px 100px}.page-heading{display:block;margin-bottom:24px}.page-heading .primary,.page-heading>.soft-badge{display:inline-block;margin-top:18px}h1{font-size:31px;letter-spacing:-1px}.page-heading p{font-size:12px}.collection-summary{gap:18px;padding:15px;flex-wrap:wrap}.collection-summary div{font-size:9px;gap:6px}.collection-summary strong{font-size:24px}.filter-row{display:block}.tabs{margin-bottom:15px}.tabs button{padding:9px 10px;font-size:10px}input[type="search"]{width:100%}.collection-grid{grid-template-columns:1fr 1fr;gap:12px}.creature-card{padding:11px;border-radius:17px}.creature-portrait{height:145px}.creature-card h3{font-size:20px}.creature-card p{font-size:10px}.creature-portrait .number{font-size:9px;top:9px;left:9px}.games-grid{grid-template-columns:1fr 1fr;gap:12px}.game-cover{height:145px;padding-top:16px}.game-tag{font-size:7px;left:12px;top:12px;letter-spacing:.7px}.game-copy{padding:14px}.game-copy h2{font-size:19px}.game-copy p{font-size:10px;min-height:50px}.game-bottom{align-items:flex-start;flex-direction:column;margin-top:15px;gap:10px;font-size:9px}.game-bottom button{width:100%;font-size:11px}.record{font-size:9px}.clan-hero{padding:23px;gap:18px;align-items:flex-start}.clan-illustration{width:65px;height:65px;font-size:53px;margin-top:20px}.clan-illustration span{font-size:20px}.clan-hero h2{font-size:25px}.clan-hero .eyebrow{font-size:8px}.clan-actions{gap:12px}.clan-actions article{padding:17px}.clan-actions h3{font-size:18px}.clan-actions p{font-size:10px}.clan-actions button{font-size:10px;padding:10px}.toast{bottom:83px;font-size:11px;min-width:230px}.modal{padding:25px 22px;border-radius:22px}.game-modal{padding:24px 18px}.empty-state{padding:28px}.game-modal h2{font-size:22px}.game-canvas{max-height:45dvh;object-fit:contain}.modal p{font-size:11px}.discovery-footer b{font-size:11px}}
@media(min-width:761px) and (max-height:650px){#home.active{min-height:360px}.pet{top:37%;width:175px;height:185px}.speech{top:20%;padding:9px 13px;font-size:10px}.profile-chip{top:92px}.window-art{top:21%;width:14%;min-width:100px}.wall-pictures{top:22%}.care-dock{bottom:28px;padding:5px}.care-dock button{padding:3px 17px;min-width:90px}.care-dock button>span{font-size:22px}.care-dock small{display:none}.care-dock i{margin-top:3px}.room-footer{bottom:9px}.companion{top:53%;width:65px}.aura-layer{top:29%;height:230px;width:260px}.editor-banner{bottom:12px;padding:10px 13px}.room-hud{top:18px}}
.shop-categories{scrollbar-width:none}.shop-categories::-webkit-scrollbar{display:none}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.site-footer{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 22px;padding:22px 16px 28px;font-size:13px;color:#81897d}.site-footer a{color:#6b8a74;text-decoration:none}.site-footer a:hover{text-decoration:underline}body.story-playing .site-footer{display:none}@media(max-width:760px){.site-footer{padding-bottom:calc(96px + env(safe-area-inset-bottom))}}

/* Siete pestañas (Árbol y Batallas): que entren en celular y pantallas medianas */
@media(max-width:1180px) and (min-width:761px){.topbar nav button{padding:9px 7px;font-size:11px}.topbar nav button span{margin-right:3px;font-size:16px}}
@media(max-width:760px){.topbar nav button{min-width:0;flex:1 1 0;padding:7px 1px;font-size:9.5px;letter-spacing:-.2px}.topbar nav button span{font-size:19px}}
@media(max-width:1000px) and (min-width:761px){.topbar{padding:0 14px}.topbar nav button{font-size:0;padding:9px 10px}.topbar nav button span{font-size:19px;margin:0}}

.shop-card.selected{border-color:#d9a94a;box-shadow:0 0 0 3px #f3dfae}.shop-confirm:not([hidden]){position:sticky;bottom:-25px;z-index:2;display:grid;grid-template-columns:84px 1fr;gap:10px 12px;align-items:center;margin:14px -8px 0;padding:12px;background:#fffaf0;border:2px solid #ecd9ae;border-radius:18px;box-shadow:0 -6px 18px #4a3f2a1f}.shop-confirm .item-art{height:84px;display:grid;place-items:center;background:#f5f3ed;border-radius:12px;overflow:hidden}.shop-confirm .item-art svg{max-width:100%;max-height:100%}.shop-confirm-copy strong{display:block;font-size:14px;line-height:1.3}.shop-confirm-copy span{font-size:12px;color:#a07c35}.shop-confirm-copy p{margin:4px 0 0;font-size:15px;font-weight:600}.shop-confirm-actions{grid-column:1/-1;display:flex;gap:8px}.shop-confirm-actions button{flex:1;min-height:44px;border-radius:12px}.shop-confirm-actions button:not(.primary){background:#efeee6}.shop-confirm-actions button:disabled{opacity:.55;cursor:default}@media(max-width:760px){.shop-confirm:not([hidden]){bottom:-15px;grid-template-columns:64px 1fr;margin:10px -6px 0}.shop-confirm .item-art{height:64px}}
.shop-previewing .editor-banner{display:none}
