/* Heart Haven — warm pixel storybook spaces, with room to breathe. */
#heartHavenDialog{--ink:#393354;--muted:#70647f;--purple:#7955ac;--line:#dfd1e6;--cream:#fffaf0;--mint:#b8dfcb;box-sizing:border-box;position:fixed;inset:0;margin:0;width:100%;height:100dvh;max-width:none;max-height:none;padding:0;border:0;color:var(--ink);background:#f9f5ee;font-family:Nunito,'Trebuchet MS',sans-serif;font-size:17px;line-height:1.55;overflow:hidden}
#heartHavenDialog::backdrop,#heartHavenConfirm::backdrop{background:#241d43b8;backdrop-filter:blur(6px)}
#heartHavenDialog *{box-sizing:border-box}#heartHavenDialog button,#heartHavenConfirm button{font:inherit;cursor:pointer}#heartHavenDialog button:disabled{cursor:default;opacity:.52}#heartHavenDialog :focus-visible,#heartHavenConfirm :focus-visible{outline:3px solid #6941a4;outline-offset:4px}#heartHavenDialog h1,#heartHavenDialog h2,#heartHavenDialog h3,#heartHavenConfirm h2{font-family:Nunito,'Trebuchet MS',sans-serif;font-weight:900;line-height:1.15;color:inherit;margin:0 0 .5em}#heartHavenDialog h1{font-size:clamp(30px,3.5vw,52px);letter-spacing:-1.5px}#heartHavenDialog h2{font-size:clamp(24px,2vw,32px);letter-spacing:-.5px}#heartHavenDialog h3{font-size:21px}#heartHavenDialog p{margin:.65em 0 1em}#heartHavenDialog a{color:#664192}#heartHavenDialog img{max-width:none}#heartHavenDialog label{display:block;font-weight:800}#heartHavenDialog input,#heartHavenDialog select,#heartHavenDialog textarea{font:inherit;color:var(--ink);background:#fffefd;border:1px solid #cdbbdc;border-radius:12px;padding:12px;width:100%;min-height:46px}#heartHavenDialog textarea{resize:vertical}#heartHavenDialog input[type=checkbox]{width:22px;min-width:22px;height:22px;min-height:22px;accent-color:#7955ac}
.hh-shell{height:100%;display:flex;flex-direction:column}.hh-top{display:flex;align-items:center;gap:20px;padding:12px 24px;background:#fffcf5;border-bottom:1px solid var(--line);flex-shrink:0}.hh-brand{display:flex;align-items:center;gap:10px;line-height:1.1;white-space:nowrap}.hh-brand>span{display:grid;place-items:center;font-size:34px;color:#8b5cab;background:#f1dfee;border:2px solid #e9c9df;width:52px;height:52px;border-radius:16px;box-shadow:0 4px #d3b9d8}.hh-brand small{display:block;font-size:10px;letter-spacing:3px;font-weight:900;margin-bottom:6px}.hh-brand strong{font-size:18px;letter-spacing:.5px}.hh-top-end{display:flex;align-items:center;gap:8px;margin-left:auto}.hh-wallet{white-space:nowrap;background:#fff1c9;color:#805b20;border:1px solid #e8d194;border-radius:24px;padding:9px 14px;font-size:15px}.hh-top .hh-button{min-height:44px;padding:8px 13px;font-size:14px}.hh-nav{display:flex;gap:8px;padding:12px 24px 10px;background:#f9f5ee;overflow:auto;flex-shrink:0;scrollbar-width:thin}.hh-nav .hh-button{white-space:nowrap;border-color:transparent;box-shadow:none;background:transparent;font-size:15px}.hh-nav .active{background:#eadef4;border-color:#c9b3df;color:#563779}.hh-notice{font-size:14px;flex-shrink:0;padding:0 24px;color:#6a427c;background:#eee6f7}.hh-notice:not(:empty){padding:8px 24px}.hh-notice .hh-button{min-height:36px;padding:3px 12px;font-size:13px;margin:0 4px}.hh-main{overflow:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:18px 28px 48px;background:radial-gradient(ellipse at 90% 10%,#e8e0f35c,transparent 45%),radial-gradient(ellipse at 5% 75%,#b8dfcb38,transparent 50%);scrollbar-color:#cab4db transparent}.hh-main>section,.hh-main>div,.hh-main>article{max-width:1760px;margin-left:auto;margin-right:auto}
.hh-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:10px 18px;border:1px solid #d8c8e4;border-radius:13px;color:#5b407c;background:#fffdf8;box-shadow:0 3px 0 #e5dceb;font-weight:800;transition:transform .15s,background .15s,box-shadow .15s;text-decoration:none}.hh-button:hover:not(:disabled){background:#f4eafb;transform:translateY(-2px)}.hh-button:active:not(:disabled){transform:translateY(2px);box-shadow:none}.hh-button.hh-primary{background:#7850a7;color:#fff;border-color:#7850a7;box-shadow:0 4px 0 #543477,0 8px 20px #62438c20}.hh-button.hh-primary:hover{background:#694291}.hh-button.hh-cream{background:#fff4cf;color:#634622;border-color:#e8c881;box-shadow:0 4px #ae844e}.hh-button.active{background:#e5d6f2;border-color:#a37bc5}.hh-wide{width:100%}.hh-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.hh-eyebrow{display:block;font-size:11px;font-weight:900;letter-spacing:2px;color:#856596;margin-bottom:12px}.hh-pill{display:inline-block;background:#f3e9f7;border:1px solid #e2d5ef;border-radius:30px;padding:5px 12px;font-size:13px;font-weight:800}.hh-paper{background:#fffcf6;border:1px solid #e5d6e4;border-radius:24px;padding:28px;box-shadow:0 5px 0 #dfd2e2,0 14px 32px #6b4a7520}.hh-muted,.hh-footer-note{color:var(--muted);font-size:14px}.hh-footer-note{text-align:center;padding:25px 0}.hh-text-button{background:transparent;border:0;box-shadow:none;text-decoration:underline;padding:5px;font-size:inherit}.hh-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:8px 0 24px}.hh-section-heading p{color:var(--muted);max-width:760px}.hh-section-heading h1,.hh-section-heading h2{margin-bottom:4px}
.hh-welcome{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px}.hh-hero{position:relative;min-height:500px;border:6px solid #fff8e6;border-radius:28px;overflow:hidden;background:#334263;box-shadow:0 6px 0 #cec0d7,0 15px 36px #61567928}.hh-hero>img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:center 52%;inset:0}.hh-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#272847eb 0%,#293347bc 25%,#34304816 70%),linear-gradient(0deg,#332a5044,transparent 65%)}.hh-hero-copy{position:relative;z-index:1;padding:44px 34px;max-width:560px;min-height:100%;display:flex;flex-direction:column;justify-content:center;color:#fff6e2}.hh-hero-copy .hh-eyebrow{color:#ffe0a1}.hh-hero-copy h1{font-size:clamp(36px,4.3vw,64px)!important;line-height:1.02!important;letter-spacing:-2px;text-shadow:0 3px 0 #36273d}.hh-hero-copy p{max-width:290px;font-size:19px;color:#fff0dc}.hh-floating-note{position:absolute;z-index:2;bottom:20px;right:20px;background:#fff8e4eb;border:1px solid #fff5c4;border-radius:10px;padding:8px 12px;color:#6c4e76;font-size:13px;transform:rotate(-2deg);box-shadow:0 4px 0 #2e385330}.hh-companion-card{background:linear-gradient(145deg,#faf0ff,#fff9e4);border:2px solid #e5d3ef;border-radius:25px;text-align:center;padding:23px 20px;box-shadow:0 6px #e1d5e6;display:flex;flex-direction:column;align-items:center}.hh-companion-card h2{margin:12px 0 6px}.hh-companion-card p{font-size:16px}.hh-companion-card small{font-size:11px;color:#736380;margin-top:16px}.hh-device{position:relative;width:190px;height:235px;border:9px solid #c7b0e0;border-bottom-width:28px;border-radius:45px;background:radial-gradient(ellipse at 45% 65%,#ffffff,#d4f1e6 65%,#a8ccbf);box-shadow:inset 0 0 0 4px #80649d,0 6px #977ab0,0 12px 25px #6e4d8e22;margin:6px auto}.hh-device .hh-pet{height:100%;width:100%}.hh-device>i{position:absolute;bottom:-20px;left:42%;width:10px;height:10px;border-radius:50%;background:#ffeab6;box-shadow:0 2px #856899}.hh-device>i:nth-of-type(2){left:23%}.hh-device>i:nth-of-type(3){left:61%}.hh-pet{display:block;background-image:url(assets/pets.png);background-size:300% 200%;background-position:var(--pet-x) var(--pet-y);background-repeat:no-repeat;aspect-ratio:2/3;image-rendering:pixelated;width:100%;pointer-events:none;filter:drop-shadow(0 7px 2px #47405820)}.hh-bob{animation:hh-bob 4s ease-in-out infinite}.hh-welcome+.hh-section-heading{margin-top:34px}
.hh-places{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-bottom:28px}.hh-place-card{padding:0;border:2px solid #e3d2e5;border-radius:24px;overflow:hidden;text-align:left;color:var(--ink);background:#fffdf8;box-shadow:0 5px #dcd0e6,0 14px 25px #70577d12;transition:transform .2s}.hh-place-card:hover{transform:translateY(-5px)}.hh-place-art{display:block;width:100%;aspect-ratio:1.25;background-image:url(assets/places.png);background-size:200% 200%;background-position:var(--px) var(--py);image-rendering:pixelated}.hh-place-copy{display:flex;flex-direction:column;padding:17px 20px;gap:7px}.hh-place-copy small{font-size:11px;letter-spacing:2px;color:#836591;font-weight:900}.hh-place-copy strong{font-size:22px;font-weight:900}.hh-place-copy>span{font-size:14px;color:var(--muted)}.hh-place-copy b{font-size:14px;margin-top:7px;color:#6a4788}.hh-gift-row{display:grid;grid-template-columns:repeat(4,1fr);gap:25px}.hh-gift-row>div{display:flex;flex-direction:column;text-align:center;align-items:center}.hh-gift-row .hh-object-art{width:140px;height:150px}.hh-gift-row span:not(.hh-object-art){font-size:12px;color:var(--muted)}.hh-home-invite{display:flex;align-items:center;gap:28px;padding:16px 28px;border:2px solid #d6dcc4;border-radius:24px;background:linear-gradient(120deg,#e6eee0,#ffeed6 80%);box-shadow:0 5px #d5d7bc}.hh-home-invite>div{width:170px;flex-shrink:0}.hh-home-invite>section{flex:1}.hh-home-invite p{max-width:750px;font-size:15px}.hh-home-invite .hh-eyebrow{color:#6b805f}
.hh-object-art{position:relative;display:block;width:100%;overflow:hidden;pointer-events:none;flex-shrink:0}.hh-object-art img{position:absolute!important;display:block;max-width:none!important;object-fit:fill!important;image-rendering:pixelated;pointer-events:none}.hh-home-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}.hh-home-layout>section{min-width:0}.hh-scene-wrap{border:8px solid #fff8e8;border-radius:27px;box-shadow:0 7px #c9b0c6,0 15px 32px #74608130;background:#f6eccf;overflow:hidden}.hh-scene{position:relative;width:100%;aspect-ratio:1.45;min-height:330px;isolation:isolate;overflow:hidden;border:2px solid #9b7481;border-radius:17px;background:#d2edce;--wood:#ad744c;--darkwood:#795342;--sky:#acd6de;--grass:#97c88d;--leaf:#538770}.hh-scene.theme-sakura{--wood:#b37a93;--darkwood:#986282;--sky:#efd5e7;--grass:#ccbeaa;--leaf:#c884ad}.hh-scene.theme-ocean{--wood:#5f9297;--darkwood:#3d7382;--sky:#96dfe9;--grass:#92c4b8;--leaf:#3eaca7}.hh-scene.theme-starlight{--wood:#8478b6;--darkwood:#514d83;--sky:#434d82;--grass:#8e95b2;--leaf:#747fab}.hh-scenery{position:absolute;inset:0;pointer-events:none;z-index:0}.hh-back-wall{position:absolute;inset:0 0 48%;background:repeating-linear-gradient(90deg,transparent 0 16%,#8657270a 16.2% 16.6%),var(--wall);border-bottom:12px solid var(--wood);box-shadow:0 7px 0 var(--darkwood),inset 0 12px 30px #87603925}.hh-back-wall:before,.hh-back-wall:after{content:'';position:absolute;top:0;bottom:0;width:6%;background:linear-gradient(90deg,transparent 25%,#583a3020 26% 31%,transparent 32%),var(--wood);border:3px solid var(--darkwood)}.hh-back-wall:before{left:0}.hh-back-wall:after{right:0}.hh-beam{position:absolute;left:0;top:0;width:100%;height:10%;background:var(--wood);border-bottom:4px solid var(--darkwood)}.hh-house-window{position:absolute;top:22%;left:39%;width:23%;height:61%;border:10px solid var(--wood);border-radius:50% 50% 5px 5px;box-shadow:0 5px var(--darkwood),0 0 0 4px #fff4d47a;overflow:hidden;background:radial-gradient(circle at 68% 35%,#fff1b5 0 9%,transparent 10%),linear-gradient(145deg,#687aac,#c7e3de)}.hh-house-window:before,.hh-house-window:after{content:'';position:absolute;background:var(--wood)}.hh-house-window:before{left:45%;width:9%;height:100%}.hh-house-window:after{top:48%;height:7%;width:100%}.hh-house-window i,.hh-house-window b{position:absolute;color:#ffeba1;font-size:18px;top:15%;left:10%}.hh-house-window b{top:65%;left:67%}.hh-wall-star{position:absolute;top:28%;right:14%;color:#ffda78;font-size:44px;filter:drop-shadow(2px 4px 0 #b57a5477)}.hh-floor{position:absolute;inset:52% 0 0;background:repeating-linear-gradient(0deg,transparent 0 14%,#87512b28 14.3% 14.8%,#fff5c42e 15% 15.7%),repeating-linear-gradient(95deg,transparent 0 22%,#876b4722 22.2% 22.6%),var(--floor);box-shadow:inset 0 15px 30px #7f4d3225}.hh-garden-horizon,.hh-path,.hh-fence,.hh-sun,.hh-cloud{display:none}.room-garden .hh-back-wall,.room-garden .hh-floor{display:none}.room-garden .hh-garden-horizon{display:block;position:absolute;inset:0;background:radial-gradient(ellipse at -8% 64%,var(--leaf) 0 23%,transparent 23.5%),radial-gradient(ellipse at 112% 47%,var(--leaf) 0 25%,transparent 25.5%),linear-gradient(0deg,var(--grass) 0 61%,var(--sky) 62%)}.room-garden .hh-garden-horizon:after{content:'';position:absolute;inset:50% 0 0;opacity:.5;background-image:radial-gradient(circle,#fff7c9 1.5px,transparent 2px);background-size:31px 39px}.room-garden .hh-path{display:block;position:absolute;inset:42% 37% -10%;background:repeating-linear-gradient(0deg,#cfbd94 0 15%,#e5d8b4 16% 18%);transform:perspective(230px) rotateX(25deg);border:3px solid #aa9c7860;border-radius:30%}.room-garden .hh-fence{display:block;position:absolute;top:32%;height:19%;width:100%;background:linear-gradient(0deg,transparent 20%,var(--wood) 21% 35%,transparent 36% 60%,var(--wood) 61% 76%,transparent 77%),repeating-linear-gradient(90deg,transparent 0 9%,var(--wood) 9.5% 12.5%);filter:drop-shadow(0 4px 0 var(--darkwood));opacity:.8}.room-garden .hh-sun{display:block;position:absolute;top:10%;left:72%;width:8%;aspect-ratio:1;border-radius:50%;background:#ffecad;box-shadow:0 0 35px #ffe5a9}.room-garden .hh-cloud{display:block;position:absolute;top:12%;left:13%;width:17%;height:7%;border-radius:30px;background:#fff5e3b3;box-shadow:20px -12px #fff5e3b3,35px 0 #fff5e3b3}.room-garden .c2{left:52%;top:22%;width:9%;transform:scale(.6)}.hh-room-label{position:absolute;z-index:2;top:16px;left:18px;background:#fff7e8e6;color:#785d5a;border:1px solid #f9f1d2;border-radius:8px;padding:5px 10px;font-size:11px;font-weight:900;letter-spacing:1.3px}.hh-placed{position:absolute;transform:translate(-50%,-70%);border:0!important;background:transparent!important;padding:0!important;box-shadow:none!important;border-radius:12px;cursor:pointer;user-select:none;-webkit-user-select:none;filter:drop-shadow(0 7px 2px #47304822);min-height:0!important}.hh-placed .hh-object-art{transition:filter .2s}.hh-placed:hover .hh-object-art{filter:brightness(1.08)}.hh-placed.flipped>.hh-object-art{transform:scaleX(-1)}.hh-placed.selected{outline:3px dashed #7850a7!important;outline-offset:3px;background:#fff8ec30!important}.editing .hh-placed{touch-action:none;cursor:grab}.editing .hh-roaming-pet{pointer-events:none;opacity:.6}.hh-object-label{position:absolute;bottom:0;left:50%;transform:translate(-50%,100%);white-space:nowrap;background:#6a458e;color:white;padding:4px 10px;border-radius:8px;font-size:12px}.hh-roaming-pet{position:absolute;left:49%;top:73%;transform:translate(-50%,-70%);width:15%;border:0;background:none;padding:0;z-index:110;transition:left 1.4s ease,top 1.4s ease;min-width:70px}.hh-roaming-pet>span:last-child{display:block;position:absolute;bottom:0;left:50%;transform:translateX(-50%);font-size:12px;padding:1px 9px;background:#fff7e8dc;border:1px solid #e4bbcd;border-radius:14px;white-space:nowrap;color:#69517b;font-weight:900}.hh-roaming-pet i{color:#b06899;font-style:normal}.hh-scene-sparkles{position:absolute;top:32%;left:5%;width:90%;display:flex;justify-content:space-between;color:#ffefb7;opacity:.75;z-index:120;font-size:24px;pointer-events:none;animation:hh-glow 5s infinite}.hh-scene-message{position:absolute;z-index:200;bottom:12px;left:10%;right:10%;text-align:center;background:#fff9e9ef;border-radius:12px;color:#664b77;font-size:14px;pointer-events:none}.hh-scene-message:not(:empty){padding:10px}.hh-ghost{opacity:.9;outline:3px dashed #ae80c8;outline-offset:5px}.hh-home-caption,.hh-edit-toolbar,.hh-preview-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px;background:#fffaf0;border:1px solid #e1cddf;border-radius:18px;padding:16px}.hh-home-caption>span,.hh-edit-toolbar>span{flex:1;font-size:13px;color:#76647d;min-width:120px}.hh-edit-toolbar>div{display:flex;gap:7px}.hh-edit-toolbar .hh-button{font-size:14px;padding:8px 12px}.hh-preview-bar>.hh-object-art,.hh-preview-bar>.hh-theme-preview,.hh-preview-bar>.hh-swatch{width:85px;height:85px}.hh-preview-bar>div{flex:1;min-width:130px}.hh-preview-bar strong,.hh-preview-bar span{display:block}.hh-preview-bar>div span{font-size:13px;color:var(--muted)}.hh-inventory,.hh-home-guide{padding:22px;height:fit-content}.hh-inventory h2,.hh-home-guide h2{font-size:24px!important}.hh-inventory p,.hh-home-guide p{font-size:14px}.hh-inventory label{font-size:14px;margin:12px 0}.hh-inventory select{margin-top:5px}.hh-inventory-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:420px;overflow:auto}.hh-inventory-grid button{border:1px solid #ddcfea;background:#f8f1fc;border-radius:14px;padding:4px;min-width:0}.hh-inventory-grid .hh-object-art{height:85px}.hh-inventory-grid button>span:last-child{display:block;font-size:11px;line-height:1.25;font-weight:800;color:#61447e}.hh-inventory-grid .active{outline:3px solid #7c59a6}.hh-mini-keepsakes{display:grid;gap:10px}.hh-mini-keepsakes button{display:flex;align-items:center;gap:12px;padding:12px 10px;border:1px solid #e8d9e4;border-radius:16px;background:#faf3ed;color:var(--ink);text-align:left}.hh-mini-keepsakes button>span{width:34px;height:36px;display:grid;place-items:center;background:#eadff1;border-radius:12px;color:#805b9b;font-size:23px}.hh-mini-keepsakes button>div{flex:1}.hh-mini-keepsakes small{display:block;font-size:11px;color:var(--muted)}.hh-mini-keepsakes i{font-style:normal}.hh-lit .hh-object-art{filter:drop-shadow(0 0 16px #ffd458) brightness(1.12)}.hh-interacting{animation:hh-object-wave .8s ease}.hh-swinging .hh-pet{animation:hh-swing 2.2s ease-in-out infinite}.hh-sleeping .hh-pet{animation:hh-bob 6s ease-in-out infinite;filter:brightness(.94)}.hh-sleeping:after{content:'z z';position:absolute;right:-3%;top:15%;color:#796391;font-size:19px}.hh-playing .hh-pet{animation:hh-play 1s ease 3}
.hh-shop-categories,.hh-categories{display:flex;gap:8px;overflow:auto;padding:4px 0 15px;margin:8px 0 15px}.hh-shop-categories .hh-button,.hh-categories .hh-button{white-space:nowrap;font-size:14px}.hh-shop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.hh-shop-card{background:#fffdf7;border:1px solid #decce3;border-radius:23px;overflow:hidden;box-shadow:0 5px #ded0e4;display:flex;flex-direction:column}.hh-shop-art{position:relative;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 40%,#fffdf7,#eee4f8);padding:10px 30px;border-bottom:1px solid #e8dced;height:210px}.hh-shop-art>.hh-object-art{width:180px;max-width:100%;height:185px}.hh-shop-art .hh-pill{position:absolute;top:10px;right:10px;background:#fff9eae8;font-size:11px}.hh-shop-copy{padding:20px;display:flex;flex-direction:column;flex:1}.hh-shop-copy h3{font-size:20px!important}.hh-shop-copy p{font-size:14px;color:var(--muted);flex:1;min-height:44px}.hh-shop-copy .hh-actions{display:grid;grid-template-columns:1fr 1fr;margin-top:12px;gap:7px}.hh-shop-copy .hh-button{font-size:13px;padding:8px}.hh-price{font-weight:900;color:#8a632d}.hh-theme-preview{display:flex;flex-direction:column;align-items:center;justify-content:center;width:180px;height:180px;border:7px solid #d9ba93;border-radius:25px;background:linear-gradient(#d5eee0 62%,#bda780 63%);box-shadow:0 4px #ae8c77;color:#846345}.hh-theme-preview i{font-style:normal;font-size:100px;line-height:1;text-shadow:3px 5px #fff0c5}.hh-theme-preview span{color:#ffe7a8;letter-spacing:20px;padding-left:20px}.hh-theme-preview.theme-sakura{background:linear-gradient(#f7cfdf 62%,#bca1bb 63%);border-color:#ce9dbe;color:#a875a0}.hh-theme-preview.theme-ocean{background:linear-gradient(#afe7eb 62%,#88b4bb 63%);border-color:#79bac4;color:#5b8baf}.hh-theme-preview.theme-starlight{background:linear-gradient(#444776 62%,#9295ba 63%);border-color:#aaa0d0;color:#b8ade9}.hh-swatch{display:block;width:130px;height:135px;background:repeating-linear-gradient(90deg,transparent 0 32px,#ffffff22 33px 36px),var(--swatch);border-radius:18px;border:8px solid #fff8ee;box-shadow:0 7px 0 #c9b4d0,0 15px 25px #88679722}.hh-swatch.floor{transform:perspective(350px) rotateX(25deg);background:repeating-linear-gradient(0deg,transparent 0 25px,#65524630 26px 28px),var(--swatch)}.hh-pet-picker{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.hh-pet-picker article{padding:22px;text-align:center;border:2px solid #e1d0e5;border-radius:26px;background:#fffaf1;box-shadow:0 5px #d7c9e2}.hh-pet-stage{background:radial-gradient(ellipse at 50% 65%,var(--pet-colour),#ffffff00 68%);height:225px;display:flex;justify-content:center}.hh-pet-stage .hh-pet{width:160px;height:240px}.hh-pet-picker h2{margin:10px 0}.hh-pet-picker p{min-height:30px}
.hh-chat-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px;max-width:1440px!important}.hh-chat-pet{background:linear-gradient(145deg,#f2e6f9,#fff4d7);border-radius:26px;border:2px solid #dfcde8;padding:26px 22px;text-align:center;height:fit-content;box-shadow:0 5px #dbcce4}.hh-chat-pet .hh-device{width:180px}.hh-chat-pet h2{margin-top:20px}.hh-chat-pet>p{font-size:15px}.hh-chat-pet .hh-actions{justify-content:center}.hh-chat-pet .hh-button{font-size:13px;padding:7px 9px}.hh-chat-panel{min-width:0;background:#fffcf6;border:1px solid #e2d3e4;border-radius:24px;padding:25px;box-shadow:0 5px #dfd1e6}.hh-chat-consent{padding:25px;max-width:700px;margin:auto}.hh-chat-consent h2{font-size:36px!important}.hh-chat-consent li{margin:12px 0}.hh-moods,.hh-modes,.hh-prompts,.hh-reply-choices{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.hh-moods .hh-button,.hh-modes .hh-button,.hh-prompts .hh-button,.hh-reply-choices .hh-button{font-size:14px;padding:8px 13px;box-shadow:0 2px #e1d5e6}.hh-messages{min-height:250px;max-height:49dvh;overflow:auto;padding:10px 10px 20px;scrollbar-color:#d6c4e1 transparent;scroll-behavior:smooth}.hh-message{padding:18px 22px;border-radius:22px;max-width:85%;margin:14px 0;border:1px solid #e1d3e7;background:#f1e9fa;overflow-wrap:anywhere;white-space:normal}.hh-message p{white-space:pre-wrap}.hh-message.user{margin-left:auto;background:#e1f0e6;border-color:#c0dac9;border-bottom-right-radius:5px}.hh-message.assistant{border-bottom-left-radius:5px}.hh-message small{font-size:11px;letter-spacing:1px;font-weight:900;color:#776086}.hh-message p:last-child{margin-bottom:0}.hh-message.urgent{background:#fff0d6;border:2px solid #d1aa72;max-width:100%}.hh-chat-form{display:flex;gap:10px;align-items:stretch;border-top:1px solid #e6d9e8;padding-top:15px}.hh-chat-form textarea{flex:1;min-width:0;min-height:80px;max-height:220px}.hh-chat-form button{align-self:flex-end;min-width:100px}.hh-chat-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted);margin-top:13px}.hh-thinking{padding:12px;display:flex;align-items:center;gap:15px;color:#795c8c}.hh-thinking>span{animation:hh-glow 2s infinite}.hh-chat-empty{text-align:center;color:var(--muted);padding:22px}
.hh-activity-layout{display:grid;grid-template-columns:1.05fr 1fr;gap:26px}.hh-activity-scene{position:relative;border:7px solid #fff8e5;border-radius:26px;overflow:hidden;box-shadow:0 6px #d6c0dd;align-self:start}.hh-activity-scene .hh-place-art{aspect-ratio:1.1}.hh-activity-scene .hh-pet{position:absolute;width:25%;bottom:7%;left:39%;filter:drop-shadow(0 8px 4px #36325277)}.hh-activity-scene .hh-orb{position:absolute;top:35%;left:45%;width:12%;aspect-ratio:1;background:#fff9d1;border-radius:50%;box-shadow:0 0 25px #ffeba6,0 0 50px #ffeb9a66;animation:hh-breathe 8s ease-in-out infinite}.hh-activity-copy{background:#fffcf4;border:1px solid #e1d1e7;border-radius:25px;padding:32px;box-shadow:0 6px #e0d2e5}.hh-step-copy{font-size:clamp(21px,2vw,29px);line-height:1.5;min-height:120px}.hh-step-dots{display:flex;gap:7px;margin:18px 0}.hh-step-dots i{width:40px;height:7px;border-radius:6px;background:#eadfec}.hh-step-dots i.done{background:#ac86bf}.hh-activity-copy>.hh-actions{margin:18px 0}.hh-activity-copy>.hh-wide{margin-top:22px}.hh-activity-gift{display:flex;align-items:center;gap:20px;background:#fff3d4;border:1px solid #eedcb5;border-radius:18px;padding:10px 20px;margin:18px 0}.hh-activity-gift>.hh-object-art{width:100px;height:105px}.hh-activity-gift p{font-size:13px}.hh-step-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hh-step-options button{border:1px solid #d5c1e3;border-radius:12px;padding:12px;background:#f4eafa;color:#60447b;font-weight:800;min-height:48px}.hh-step-options button.active{background:#d4bfeb;outline:2px solid #8966a4}.hh-practice-lines{background:#f0e7fa;padding:12px 20px;border-radius:18px;font-weight:800}.hh-feedback{color:#6f577b}.hh-help-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:25px}.hh-help-now{border:1px solid #e1c99b;background:#fff3d9;padding:20px;border-radius:19px;margin:22px 0}.hh-help-now p{font-size:16px}.hh-help-layout textarea{margin:10px 0 15px}.hh-help-form{display:grid;gap:18px;margin:22px 0}.hh-help-form select{margin-top:8px}.hh-checkbox{display:flex!important;gap:10px;align-items:start;font-size:14px;font-weight:600!important}.hh-sent-note{background:#f1eaf7;border:1px solid #dfcfe8;border-radius:16px;padding:18px;margin:16px 0;overflow-wrap:anywhere}.hh-sent-note small{display:block}.hh-sent-note button{margin-top:10px;font-size:12px}.hh-unavailable{background:#f0ebf5;border-radius:14px;padding:20px}.hh-privacy{max-width:920px!important}.hh-privacy h2{margin-top:28px!important}.hh-loading{text-align:center;display:grid;place-content:center;min-height:60vh}.hh-loading>span{font-size:64px;color:#a07ac2;animation:hh-bob 3s infinite}.hh-loading h2{margin-top:25px!important}
#heartHavenConfirm{max-width:min(550px,calc(100vw - 32px));max-height:90dvh;border:3px solid #d9c2e6;border-radius:24px;padding:30px;background:#fffcf5;color:#453456;box-shadow:0 8px #b395c2;font-family:Nunito,sans-serif;line-height:1.6;overflow:auto}#heartHavenConfirm h2{font-size:30px;margin:.5em 0}#heartHavenConfirm p{white-space:pre-wrap;overflow-wrap:anywhere}.hh-large-note{font-size:26px;font-weight:800}
.hh-portal{position:relative;display:grid;grid-template-columns:1.1fr 1fr;width:100%;max-width:none;margin:26px 0;border:4px solid #b9a1dc;border-radius:29px;overflow:hidden;padding:0;background:#f6ebf3;text-align:left;font-family:Nunito,sans-serif;color:#463055;box-shadow:0 7px #765393,0 20px 40px #39225633;cursor:pointer;transition:transform .2s}.hh-portal:hover{transform:translateY(-4px)}.hh-portal-art{display:block;position:relative;min-height:330px}.hh-portal-art img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:50% 60%}.hh-portal-copy{display:flex;flex-direction:column;justify-content:center;padding:30px 38px;background:radial-gradient(ellipse at 100% 0,#e5d4f6,transparent 65%),#fff3e7}.hh-portal-copy>small{letter-spacing:2px;font-weight:900;font-size:11px;color:#927093;margin-bottom:18px}.hh-portal-copy>strong{font-size:clamp(28px,3.6vw,53px);line-height:1.04;font-weight:1000;letter-spacing:-1px}.hh-portal-copy em{font-style:normal;color:#80569f}.hh-portal-copy>span{font-size:16px;margin-top:15px}.hh-portal-tags{display:flex;flex-wrap:wrap;gap:8px}.hh-portal-tags i{font-style:normal;font-size:12px;border:1px solid #dac5df;background:#fffbf7;padding:6px 10px;border-radius:20px}.hh-portal-copy>b{display:flex;align-items:center;justify-content:space-between;margin-top:25px;padding:12px 18px;background:#7954a2;border-radius:12px;color:white;box-shadow:0 4px #563877;font-size:16px}.hh-login{border-color:#c3a6da!important}.hh-login .login-world-art img{object-fit:cover!important;width:100%!important;height:100%!important}.hh-boutique-entry{background:#ebdcf3!important;color:#5c377a!important}.hh-teacher{font-family:Nunito,sans-serif}.hh-teacher .hh-paper{margin-bottom:25px}.hh-teacher h2{font-size:27px}.hh-teacher fieldset{border:1px solid #dac7e4;border-radius:14px;padding:18px;margin:18px 0}.hh-teacher label{display:block;margin:10px 0}.hh-teacher textarea{font:inherit;width:100%;padding:12px;min-height:100px;border:1px solid #cdbbdc;border-radius:10px}.hh-teacher input{accent-color:#7850a7}.hh-teacher .hh-checkbox{margin:16px 0}.hh-teacher-note{border-left:5px solid #b399ce;padding:20px;background:#fffaf2;margin:18px 0;border-radius:12px}.hh-teacher-note p{white-space:pre-wrap;overflow-wrap:anywhere}.hh-teacher .hh-button{font:inherit}.hh-teacher-note small{display:block;color:#786585}.hh-teacher-note button{margin-top:15px}
@keyframes hh-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}@keyframes hh-glow{0%,100%{opacity:.4}50%{opacity:.85}}@keyframes hh-breathe{0%,100%{transform:scale(.8);opacity:.6}50%{transform:scale(1.25);opacity:.95}}@keyframes hh-swing{0%,100%{transform:rotate(-7deg)}50%{transform:rotate(7deg)}}@keyframes hh-play{0%,100%{transform:translateY(0)}50%{transform:translateY(-15px) rotate(5deg)}}@keyframes hh-object-wave{0%,100%{filter:brightness(1)}50%{filter:brightness(1.15) drop-shadow(0 0 8px #ffd682)}}
#heartHavenDialog.hh-reduced *,#heartHavenDialog.hh-reduced *:before,#heartHavenDialog.hh-reduced *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(min-width:1650px){.hh-welcome{grid-template-columns:minmax(0,1fr) 320px}.hh-hero{min-height:570px}.hh-companion-card .hh-device{width:215px;height:265px}.hh-home-layout{grid-template-columns:minmax(0,1fr) 355px}.hh-scene{max-height:740px;aspect-ratio:1.6}.hh-shop-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1100px){.hh-top{gap:12px;padding:10px 16px}.hh-top .hh-back span{display:none}.hh-help-button span{display:none}.hh-main{padding:16px 20px 40px}.hh-nav{padding:10px 16px}.hh-welcome{grid-template-columns:minmax(0,1fr) 240px;gap:17px}.hh-hero{min-height:460px}.hh-hero-copy{padding:30px 25px}.hh-companion-card{padding:20px 14px}.hh-companion-card .hh-device{width:170px;height:220px}.hh-places{grid-template-columns:repeat(2,minmax(0,1fr))}.hh-place-card{display:grid;grid-template-columns:44% 1fr}.hh-place-card .hh-place-art{height:100%;aspect-ratio:auto}.hh-place-copy{padding:16px}.hh-place-copy strong{font-size:20px}.hh-home-layout{grid-template-columns:1fr}.hh-home-guide{display:none}.hh-inventory{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px}.hh-inventory>h2,.hh-inventory>p,.hh-inventory>.hh-eyebrow,.hh-inventory-grid{grid-column:1/-1}.hh-inventory-grid{grid-template-columns:repeat(6,1fr);max-height:240px}.hh-shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hh-chat-layout{grid-template-columns:220px minmax(0,1fr);gap:15px}.hh-chat-pet{padding:20px 12px}.hh-chat-pet .hh-device{width:160px;height:210px}.hh-activity-copy{padding:24px}.hh-activity-layout{grid-template-columns:1fr 1fr;gap:20px}.hh-home-invite{gap:18px}.hh-home-invite>div{width:120px}.hh-home-invite h2{font-size:25px!important}.hh-portal-copy{padding:26px}.hh-portal-tags{display:none!important}}
@media(max-width:740px){#heartHavenDialog{font-size:16px}.hh-top{padding:8px 12px;gap:9px}.hh-brand{gap:7px}.hh-brand>span{width:36px;height:38px;font-size:26px;border-radius:12px}.hh-brand small{font-size:8px;letter-spacing:2px;margin-bottom:3px}.hh-brand strong{font-size:12px}.hh-top .hh-button{min-height:42px;padding:6px 10px}.hh-top-end{gap:5px}.hh-top-end .hh-wallet{padding:7px 9px;font-size:12px}.hh-wallet>span{display:none}.hh-top [data-hh=motion]{display:none}.hh-nav{padding:8px 12px;gap:5px}.hh-nav .hh-button{font-size:13px;min-height:40px;padding:7px 10px}.hh-notice:not(:empty){padding:7px 12px;font-size:12px}.hh-main{padding:14px 14px 36px}.hh-section-heading{display:block;margin-bottom:18px}.hh-section-heading>.hh-button,.hh-section-heading>.hh-actions{margin-top:15px}.hh-eyebrow{font-size:9px;letter-spacing:1.6px}.hh-welcome{grid-template-columns:1fr;gap:18px}.hh-hero{min-height:460px;border-width:4px}.hh-hero>img{object-position:65% 50%}.hh-hero:after{background:linear-gradient(0deg,#242743ed 0%,#2b304586 38%,transparent 78%)}.hh-hero-copy{padding:24px 20px;min-height:450px;justify-content:flex-end}.hh-hero-copy h1{font-size:40px!important;letter-spacing:-1.2px}.hh-hero-copy p{font-size:17px;max-width:270px}.hh-hero-copy .hh-actions .hh-button{font-size:14px;padding:10px 12px}.hh-floating-note{top:14px;bottom:auto;right:14px;font-size:11px}.hh-companion-card{display:grid;grid-template-columns:110px 1fr;text-align:left;column-gap:22px;padding:18px 20px;align-items:center}.hh-companion-card>.hh-eyebrow{grid-column:2;margin:0}.hh-companion-card .hh-device{width:105px;height:140px;grid-row:1/7;grid-column:1;border-width:6px;border-bottom-width:21px;border-radius:27px;margin:0}.hh-companion-card .hh-device>i{bottom:-15px;width:7px;height:7px}.hh-companion-card h2{font-size:26px;margin:7px 0!important}.hh-companion-card .hh-pill{width:fit-content;font-size:11px;padding:3px 8px}.hh-companion-card p{font-size:13px;margin:6px 0!important}.hh-companion-card .hh-button{font-size:12px;min-height:39px;padding:7px}.hh-companion-card small{margin:5px 0 0;font-size:10px}.hh-places{gap:13px}.hh-place-card{display:block;border-radius:19px}.hh-place-card .hh-place-art{height:auto;aspect-ratio:1.2}.hh-place-copy{padding:13px 12px}.hh-place-copy strong{font-size:18px;line-height:1.2}.hh-place-copy small{font-size:9px;letter-spacing:1px}.hh-place-copy>span{font-size:12px;min-height:36px}.hh-place-copy b{font-size:11px}.hh-paper{padding:22px 20px;border-radius:21px}.hh-gift-row{grid-template-columns:1fr 1fr;gap:16px}.hh-gift-row .hh-object-art{width:110px;height:120px}.hh-home-invite{padding:18px;display:grid;grid-template-columns:85px 1fr;gap:13px}.hh-home-invite>div{width:85px}.hh-home-invite h2{font-size:23px!important}.hh-home-invite p{font-size:13px}.hh-home-invite>.hh-button{grid-column:1/-1}.hh-footer-note{font-size:12px}.hh-pet-picker{grid-template-columns:1fr 1fr;gap:14px}.hh-pet-picker article{padding:15px 10px}.hh-pet-stage{height:170px}.hh-pet-stage .hh-pet{width:120px;height:180px}.hh-pet-picker .hh-pill{font-size:10px;padding:4px 7px}.hh-pet-picker h2{font-size:24px!important}.hh-pet-picker p{font-size:13px;min-height:42px}.hh-pet-picker button{font-size:12px;width:100%;padding:8px}.hh-scene-wrap{border-width:5px;border-radius:20px}.hh-scene{min-height:290px;aspect-ratio:1.12;border-radius:14px}.hh-room-label{font-size:9px;top:12px;left:12px}.hh-house-window{border-width:6px}.hh-roaming-pet{min-width:65px}.hh-scene-message{font-size:12px;left:5%;right:5%}.hh-object-label{font-size:10px}.hh-home-caption{gap:9px;padding:13px}.hh-home-caption .hh-button{font-size:12px;padding:8px 11px}.hh-home-caption>span{flex-basis:100%}.hh-edit-toolbar{gap:10px;padding:12px}.hh-edit-toolbar>div{flex:1}.hh-edit-toolbar>span{flex-basis:100%;order:-1}.hh-edit-toolbar>.hh-primary{flex:1}.hh-edit-toolbar .hh-button{font-size:12px;padding:9px 12px}.hh-inventory{padding:20px;gap:10px}.hh-inventory-grid{grid-template-columns:repeat(4,1fr)}.hh-inventory-grid .hh-object-art{height:70px}.hh-inventory-grid button>span:last-child{font-size:9px}.hh-inventory h3,.hh-inventory>.hh-button{grid-column:1/-1}.hh-inventory label{font-size:12px}.hh-inventory select{font-size:13px;padding:8px}.hh-preview-bar{gap:12px}.hh-preview-bar>div{font-size:15px}.hh-preview-bar .hh-button{flex:1;font-size:13px}.hh-shop-grid{grid-template-columns:1fr 1fr;gap:14px}.hh-shop-card{border-radius:18px}.hh-shop-art{height:155px;padding:10px 12px}.hh-shop-art>.hh-object-art{height:135px;width:135px}.hh-shop-art .hh-pill{font-size:9px;padding:3px 7px}.hh-shop-copy{padding:14px 12px}.hh-shop-copy h3{font-size:17px!important}.hh-shop-copy p{font-size:12px;min-height:53px}.hh-shop-copy .hh-actions{grid-template-columns:1fr}.hh-shop-copy .hh-button{font-size:12px;min-height:41px}.hh-price{font-size:13px}.hh-theme-preview{width:125px;height:135px;border-width:5px}.hh-theme-preview i{font-size:70px}.hh-swatch{height:105px;width:105px;border-width:6px}.hh-chat-layout{grid-template-columns:1fr;gap:15px}.hh-chat-pet{display:grid;grid-template-columns:75px 1fr;column-gap:15px;align-items:center;text-align:left;padding:13px 18px}.hh-chat-pet .hh-device{grid-row:1/6;grid-column:1;width:75px;height:105px;border-width:5px;border-bottom-width:15px;border-radius:23px}.hh-chat-pet .hh-device i{bottom:-11px;width:5px;height:5px}.hh-chat-pet h2{font-size:23px!important;margin:0}.hh-chat-pet .hh-eyebrow{margin:0}.hh-chat-pet p{font-size:12px;margin:4px 0!important}.hh-chat-pet .hh-actions{justify-content:flex-start}.hh-chat-pet .hh-button{font-size:11px;min-height:36px}.hh-chat-panel{padding:17px 12px}.hh-chat-consent{padding:12px}.hh-chat-consent h2{font-size:28px!important}.hh-moods,.hh-modes{gap:6px}.hh-moods .hh-button,.hh-modes .hh-button{font-size:12px;padding:7px 10px;min-height:39px}.hh-messages{max-height:50dvh;padding:5px 2px 10px}.hh-message{max-width:93%;padding:15px;font-size:16px}.hh-message small{font-size:9px}.hh-chat-form{gap:7px}.hh-chat-form button{min-width:65px;padding:10px;font-size:13px}.hh-chat-foot{flex-wrap:wrap}.hh-chat-foot .hh-button{font-size:12px;min-height:40px}.hh-activity-layout,.hh-help-layout{grid-template-columns:1fr;gap:20px}.hh-activity-scene .hh-place-art{aspect-ratio:1.55}.hh-activity-scene .hh-pet{width:21%;left:41%;bottom:4%}.hh-activity-copy{padding:24px 20px}.hh-activity-copy h2{font-size:26px!important}.hh-step-copy{min-height:0;font-size:22px}.hh-activity-copy .hh-actions .hh-button{font-size:13px;padding:9px 13px}.hh-activity-gift{padding:10px}.hh-activity-gift>.hh-object-art{width:75px;height:85px}.hh-activity-gift strong{font-size:15px}.hh-help-layout h1{font-size:32px!important}.hh-portal{grid-template-columns:1fr;border-radius:24px}.hh-portal-art{min-height:250px}.hh-portal-copy{padding:24px}.hh-portal-copy>strong{font-size:38px}.hh-portal-copy>small{font-size:9px}.hh-portal-copy>span{font-size:15px}.hh-portal-copy>b{margin-top:18px}}
@media(prefers-reduced-motion:reduce){#heartHavenDialog *,#heartHavenDialog *:before,#heartHavenDialog *:after,.hh-portal{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Scene-specific content and compact conversation controls. */
.hh-shop-banner{display:grid;grid-template-columns:1.3fr 1fr;align-items:center;gap:20px;padding:30px 38px;background:linear-gradient(120deg,#e5d9ed,#f6e9cd 80%);border:2px solid #d7c3dd;border-radius:25px;box-shadow:0 5px #d0bcd8;overflow:hidden}.hh-shop-banner p{max-width:500px;color:#756078}.hh-shop-display{position:relative;height:245px}.hh-shop-display>.hh-object-art:first-child{width:65%;position:absolute;left:0;bottom:-15px}.hh-shop-display>.hh-object-art:nth-child(2){width:56%;position:absolute;right:-15px;top:-25px}.hh-shop-display>.hh-pet{position:absolute;width:28%;right:18%;bottom:-30px}.hh-shop-balance{display:inline-block;border:1px solid #e1c18a;background:#fff5d4;padding:8px 16px;border-radius:20px;color:#896122;font-weight:900}.hh-shop-copy h2{font-size:20px!important}.hh-chat-form{display:grid;grid-template-columns:1fr}.hh-chat-form>label{font-size:14px}.hh-chat-form>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.hh-chat-form>div>span{font-size:12px;color:#7b6786;flex:1}.hh-chat-form>div>.hh-button:first-child{font-size:12px;min-height:40px;min-width:0;padding:7px 12px}.hh-chat-pet>.hh-button{margin-bottom:10px;width:100%}.hh-chat-pet>small{display:block;font-size:11px;color:#786783;margin-top:10px}.hh-chat-foot{margin-top:16px}.hh-chat-foot .hh-button{font-size:12px}.hh-chat-intro h1{font-size:32px!important}.hh-chat-intro p{font-size:15px}.hh-chat-intro{border-bottom:1px solid #e7d9e9;margin-bottom:17px}.hh-chat-consent{background:linear-gradient(130deg,#f4eafa,#fff6da);border-radius:18px;padding:24px;font-size:16px}.hh-check-in .hh-label{font-size:13px;font-weight:900;color:#7b628d}.hh-check-in .hh-label small{font-weight:500;margin-left:5px}.hh-thinking>span{width:6px;height:6px;background:#9b7bbc;border-radius:50%}.hh-thinking>span:nth-child(2){animation-delay:.3s}.hh-thinking>span:nth-child(3){animation-delay:.6s}.hh-thinking{gap:7px;font-size:14px}.hh-thinking>.hh-button{margin-left:auto}.hh-activity-title{position:absolute;top:20px;left:22px;right:20px;color:#fff8e6;text-shadow:0 2px 3px #38244c;z-index:2}.hh-activity-title .hh-eyebrow{color:#ffe5a8}.hh-activity-title h1{font-size:clamp(26px,3.2vw,45px)!important}.hh-activity-scene:before{position:absolute;content:'';inset:0 0 60%;background:linear-gradient(#27263a80,transparent);z-index:1}.hh-activity-pet{position:absolute;bottom:5%;left:37%;width:25%;height:45%}.hh-activity-scene .hh-activity-pet .hh-pet{position:static;width:100%;height:100%}.hh-activity-scene-note{position:absolute;bottom:12px;left:10px;right:10px;text-align:center;font-size:12px;background:#fff9e9e6;color:#664878;border-radius:10px;padding:6px}.hh-activity-scene .hh-orb{z-index:2}.hh-activity-copy>.hh-wide{margin-top:20px}
@media(max-width:740px){.hh-shop-banner{padding:22px 20px;grid-template-columns:1fr 110px;gap:6px}.hh-shop-banner h1{font-size:29px!important}.hh-shop-banner p{font-size:13px}.hh-shop-display{height:180px}.hh-shop-display>.hh-object-art:first-child{width:120%;left:-30%;bottom:0}.hh-shop-display>.hh-object-art:nth-child(2){width:100%;right:-20%;top:0}.hh-shop-display>.hh-pet{width:65%;right:0;bottom:-10px}.hh-shop-balance{font-size:12px;padding:6px 10px}.hh-shop-copy h2{font-size:17px!important}.hh-chat-pet>.hh-button{font-size:11px;margin-bottom:5px;width:fit-content;min-height:35px;grid-column:2}.hh-chat-pet>small{grid-column:1/-1;font-size:10px;text-align:center;margin:4px 0 0}.hh-chat-pet .hh-device{grid-row:1/8}.hh-chat-pet>.hh-pill{font-size:10px;width:fit-content}.hh-chat-form>div>span{display:none}.hh-chat-form>div>.hh-button:last-child{margin-left:auto}.hh-chat-intro h1{font-size:28px!important}.hh-chat-consent{padding:18px;font-size:14px}.hh-activity-pet{height:48%}.hh-activity-scene-note{font-size:10px}.hh-activity-title{top:16px;left:18px}}
.hh-object-art image{image-rendering:pixelated}.hh-chat-foot{justify-content:flex-start;flex-wrap:wrap}.hh-back-wall{background-image:radial-gradient(ellipse at 51% 75%,#fff6bf55,transparent 50%),repeating-linear-gradient(90deg,transparent 0 16%,#8657270a 16.2% 16.6%)}.hh-beam:after{content:'✧   ✦   ✧   ✦   ✧';position:absolute;top:90%;left:8%;right:8%;text-align:center;white-space:pre;color:#e8b65c;font-size:clamp(15px,2vw,26px);letter-spacing:1.2vw;text-shadow:0 0 10px #ffd988}.hh-wall-star:after{content:'♡';display:block;font-size:25px;color:#b586a9;text-shadow:0 3px #e0c0c5}.hh-house-window{box-shadow:0 5px var(--darkwood),0 0 0 4px #fff4d47a,0 15px 25px #ffd87722}
@media(max-width:740px){.hh-chat-pet{grid-template-columns:85px 1fr;min-height:145px}.hh-chat-pet .hh-device{width:82px;height:115px;grid-row:1/6}.hh-chat-pet>p,.hh-chat-pet>.hh-pill{display:none}.hh-chat-pet>small{grid-column:2;text-align:left;margin-top:4px;line-height:1.4}.hh-chat-pet>.hh-button{margin:7px 0 0}.hh-chat-foot .hh-button{font-size:11px;min-height:40px;padding:7px 10px}}
@media(max-width:360px){.hh-top .hh-brand>span{display:none}.hh-top{gap:7px}.hh-top .hh-button{min-height:44px;min-width:39px}.hh-brand strong{font-size:11px}.hh-top-end{gap:4px}}
/* Heart Haven 5.47 — pocket companions, interactive homes and distinct 4Rs. */
.hh-portal{border:3px solid #d2b3f1;box-shadow:0 8px #725398,0 20px 45px #2920524d;background:#282548}
.hh-portal-copy{position:relative;isolation:isolate;padding:28px 38px;background:radial-gradient(circle at 92% 10%,#f8b98d66,transparent 35%),linear-gradient(135deg,#363454e8,#675482e8),url(assets/pixel-worlds.png) 100% 100%/200% 200%;color:#fff4d4;gap:0}
.hh-portal-copy:before{content:'✧';position:absolute;right:18px;top:7px;font-size:70px;color:#f9d995;opacity:.65;z-index:-1}
.hh-portal-copy>small,.hh-portal-copy em{color:#ffe5a0}.hh-portal-copy>strong{text-shadow:0 4px #32244e;font-family:Fredoka,Nunito,sans-serif;letter-spacing:.3px}.hh-portal-copy>span{color:#fff6e8}.hh-portal-copy>b{background:linear-gradient(135deg,#f7d18b,#ffae9b);color:#503251;box-shadow:0 4px #aa7e82;margin-top:13px;font-size:18px}.hh-portal-tags{display:flex!important}.hh-portal-tags i{background:#fdf0d514;color:#fff2d9;border-color:#e9caa759}.hh-portal-copy>.hh-portal-pets{display:flex;align-items:end;justify-content:space-around;margin:8px -10px 0;height:110px}.hh-portal-pets .hh-pet{width:23%;height:110px;filter:drop-shadow(0 5px 0 #1c24453d)}
#heartHavenDialog .hh-main{background:radial-gradient(circle at 5% 0,#fbe6b7a6,transparent 33%),radial-gradient(circle at 100% 30%,#b1dfd958,transparent 32%),#faf3ef}
#heartHavenDialog .hh-top{border-bottom:2px solid #d9bfe9;background:linear-gradient(100deg,#fffcf4,#efe1fa)}
#heartHavenDialog .hh-nav .hh-button.active{background:linear-gradient(135deg,#7252aa,#57487b);color:#fff8ea;box-shadow:0 3px #493860}
.hh-welcome{gap:22px}.hh-hero{border:5px solid #fff4d9;box-shadow:0 7px #b59ace,0 14px 35px #5c417b26}.hh-hero-copy{text-shadow:0 2px 6px #291e54}.hh-hero-copy .hh-actions{text-shadow:none}
.hh-companion-card{background:radial-gradient(circle at 50% 26%,#ffeead88,transparent 55%),linear-gradient(160deg,#ede0f8,#fff4d9);border:2px solid #d3b6e9;box-shadow:0 7px #c1a6d4}.hh-companion-card h2{font-size:32px!important;margin:16px 0 8px}.hh-companion-card>.hh-pill{background:#fffaf0}
.hh-pet{background:none;aspect-ratio:1/1.25;height:auto;filter:drop-shadow(0 5px 0 #2e24451c);image-rendering:pixelated;overflow:hidden}.hh-object-art{image-rendering:pixelated}
.hh-pocket-device{--device-colour:#c3a3e1;position:relative;width:220px;max-width:100%;margin:0 auto 17px;padding:13px 15px 8px;border:3px solid #655076;border-radius:35px 35px 40px 40px;background:linear-gradient(140deg,#ffffffa8,transparent 32%),var(--device-colour);box-shadow:inset -7px -7px #55437728,inset 4px 4px #ffffff9c,0 7px #83738c,0 13px 22px #48335422;transform:rotate(-2deg)}
.hh-device-label{display:flex;justify-content:space-between;align-items:center;font-size:9px;font-weight:1000;letter-spacing:1.4px;color:#3c3f59;margin:0 0 8px}.hh-device-label i{font-size:7px;letter-spacing:2px;color:#756481;font-style:normal}.hh-pixel-screen{position:relative;aspect-ratio:1/1.08;background:repeating-linear-gradient(0deg,#3f595009 0 1px,transparent 1px 4px),linear-gradient(#e2f0d3,#bfddb5);border:5px solid #60616d;box-shadow:inset 0 0 0 3px #a0b88e,inset 0 3px 14px #3b51432b;border-radius:15px;overflow:hidden;isolation:isolate}.hh-pixel-screen .hh-pet{position:absolute;inset:5% 5% 0;width:90%;height:92%;z-index:2}.hh-screen-ground{position:absolute;width:76%;height:11%;border-radius:50%;bottom:6%;left:12%;background:#7fbb8480}.hh-screen-stars{position:absolute;top:8px;left:11px;color:#799662;font-size:18px;letter-spacing:14px}.hh-device-controls{display:flex;justify-content:space-between;align-items:center;padding:4px 11px 0;line-height:1;color:#695a7d}.hh-device-controls b{font-size:33px;text-shadow:0 2px #fff9}.hh-device-controls>span{font-size:27px;color:#fff0bd;text-shadow:0 3px #88705c;letter-spacing:6px}
.hh-pet-picker{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.hh-pet-picker article{background:linear-gradient(160deg,#fffef9,#f4e9f7);border:2px solid #e2cae7;border-radius:25px;padding:22px 16px 16px;display:flex;flex-direction:column;align-items:center;box-shadow:0 5px #cdbbda}.hh-pet-picker article:nth-child(even) .hh-pocket-device{transform:rotate(2deg)}.hh-pet-picker article>h2{font-size:27px!important;margin:10px 0 4px}.hh-pet-picker article>p{font-size:14px;min-height:44px;margin:5px 0 16px}.hh-pet-picker article>.hh-button{width:100%;margin-top:8px;font-size:13px}.hh-pet-picker article>.hh-button:first-of-type{margin-top:auto}.hh-pet-section-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:32px 0 18px}.hh-pet-section-head h2{margin:0}.hh-pet-section-head>span{border-radius:99px;padding:9px 15px;background:#ece0f9;font-size:13px;color:#684a84;font-weight:900}
.hh-resident-strip{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:linear-gradient(100deg,#fff2ca,#f5e7fe);border:2px solid #e7c78a;border-radius:23px;padding:12px 20px;box-shadow:0 4px #e3cfaa}.hh-resident-strip>span{display:flex;align-items:center;gap:8px;background:#fffdf5;box-shadow:0 3px #e2d3e4;border-radius:15px;padding:5px 10px;font-size:13px}.hh-resident-strip .hh-pet,.hh-resident-strip .hh-owned-art{width:46px;height:60px}.hh-resident-strip .hh-button{padding:5px 10px;min-height:32px}.hh-owned-art{display:block;width:100%;aspect-ratio:1;overflow:visible;pointer-events:none}.hh-owned-art>img,.hh-owned-art>svg{display:block;width:100%;height:100%;object-fit:contain}.hh-owned-picker{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}.hh-owned-picker article{padding:15px;background:#fffdf5;border:2px solid #decee9;border-radius:22px;text-align:center;display:flex;align-items:center;flex-direction:column;box-shadow:0 4px #cdb9d8}.hh-owned-picker article>.hh-owned-art{height:165px;max-width:180px;margin:auto}.hh-owned-picker h3{margin:6px 0 14px;font-size:18px}.hh-owned-picker small{font-size:9px;letter-spacing:1px;color:#8a719e}.hh-owned-picker .hh-button{font-size:12px;margin-top:auto;width:100%}
.hh-place-card{position:relative;border:2px solid #d7c1e5;border-radius:25px;overflow:hidden;box-shadow:0 6px #bda7d1;transition:transform .2s,box-shadow .2s;background:#fffdf8}.hh-place-card:hover{transform:translateY(-5px);box-shadow:0 10px #bda7d1,0 15px 25px #49335619}.hh-place-card .hh-place-art{aspect-ratio:1.45}.hh-r-badge{position:absolute;top:14px;left:14px;padding:8px 14px;border:2px solid #fff0cf;border-radius:15px;background:#383654e8;color:#fff7dc;box-shadow:0 3px #28233766;display:flex;gap:15px;font-size:22px;font-weight:1000}.hh-r-badge i{font-style:normal;color:#ffe3a7}.hh-place-copy{padding:20px;gap:8px;display:flex;flex-direction:column;align-items:stretch;text-align:left;background:linear-gradient(130deg,#fffdf9,var(--r-colour))}.hh-place-copy small{font-size:9px;line-height:1.5;letter-spacing:1px;color:#615370}.hh-place-copy>strong{font-size:clamp(23px,2.2vw,34px);color:#443757;line-height:1.15}.hh-place-copy>span{min-height:52px;font-size:14px;line-height:1.5;color:#554d68}.hh-place-copy>b{background:#fffcf4d9;border:1px solid #ffffff;border-radius:12px;padding:11px 10px;font-size:13px;color:#533c73;box-shadow:0 3px #6c507328}.hh-place-copy em{font-size:10px;font-style:normal;color:#655b73;margin-top:4px}.hh-r-steps{padding:0;margin:18px 0 24px;list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.hh-r-steps li{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:800;line-height:1.3;color:#918698}.hh-r-steps b{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border:1px solid #d7c1e9;border-radius:50%;background:#f0e6f8}.hh-r-steps .done{color:#624584}.hh-r-steps .done b{background:#8063ad;color:white}
.hh-choice-tiles{display:grid;grid-template-columns:1fr;gap:10px;margin:17px 0}.hh-choice-tiles .hh-button{display:flex;gap:13px;align-items:center;text-align:left;padding:15px 17px;background:#fffef9;border:2px solid #dfd0ee;color:#4b3a67;box-shadow:0 3px #e4d8ed;min-height:61px;position:relative}.hh-choice-tiles .hh-button>span{font-size:25px;line-height:1.1;width:35px;text-align:center;color:#9d77b6}.hh-choice-tiles .hh-button>b{font-size:16px}.hh-choice-tiles .hh-button.active{border-color:#8f6bb5;background:#eee2f9}.hh-choice-tiles i{margin-left:auto;font-style:normal;font-size:20px;color:#689985}.hh-personal-plan{padding:18px;background:#eef4e4;border:2px dashed #9bbda5;border-radius:16px;line-height:1.6;font-size:16px;color:#395f58}.hh-roleplay>div:first-child{display:flex;align-items:center;gap:20px;padding:10px 22px;background:#fff1d1;border-radius:17px}.hh-roleplay .hh-pet{width:78px;height:100px}.hh-dialogue-bubble{background:#f0e5fa;border-radius:18px 18px 18px 3px;padding:18px;font-size:21px;font-weight:900;line-height:1.5;color:#57406f}.hh-rest-play{text-align:center;padding:20px;background:radial-gradient(ellipse,#efe0fb,#fffaf0);border-radius:20px}.hh-rest-play .hh-pet{width:125px;height:160px;margin:0 auto}.hh-rest-play b{display:block;font-size:21px;margin:12px 0}.hh-breath-play{text-align:center;padding:20px;background:radial-gradient(ellipse,#d9f4e9,#fffcf5);border-radius:23px}.hh-breath-orb{width:115px;height:115px;border-radius:50%;display:grid;place-items:center;margin:20px auto 40px;background:radial-gradient(circle at 30% 30%,#fff7cd,#a9dbcf 45%,#6bada9);box-shadow:0 0 0 12px #80bdb52b,0 0 0 25px #80bdb512}.hh-breath-orb span{font-size:52px;color:#fffbe9}.hh-breath-play.running .hh-breath-orb{animation:hh-gentle-breath 8s ease-in-out infinite}.hh-breath-play strong{display:block;font-size:18px}.hh-breath-play p{font-size:14px}.hh-activity-copy>h2{font-size:30px!important}.hh-activity-scene{position:sticky;top:0}.hh-activity-title p{font-size:18px;font-weight:900;margin:10px 0}.hh-activity-pet{width:32%;height:48%;left:34%}
.hh-home-layout{grid-template-columns:minmax(0,1fr) 310px;gap:20px;align-items:start}.hh-scene-wrap{border:6px solid #fff0d3;border-radius:26px;box-shadow:0 7px #b6a0c5,0 17px 30px #614b7726}.hh-scene{aspect-ratio:1.5;min-height:0;max-height:none;border-color:#9f809f;border-radius:17px;background:#a9cba3}/* One authentic room/garden pair per home, shared with shop previews. */
.theme-woodland{--hh-world-image:url(assets/pixel-worlds.png);--hh-world-size:200% 200%;--hh-home-pos:0% 0%;--hh-garden-pos:100% 0%}
.theme-sakura{--hh-world-image:url(assets/sakura-world-v5511.png);--hh-world-size:200% 100%;--hh-home-pos:0% 0%;--hh-garden-pos:100% 0%}
.theme-ocean{--hh-world-image:url(assets/lagoon-world-v5511.png);--hh-world-size:200% 100%;--hh-home-pos:0% 0%;--hh-garden-pos:100% 0%}
.theme-starlight{--hh-world-image:url(assets/starlight-world-v5511.png);--hh-world-size:200% 100%;--hh-home-pos:0% 0%;--hh-garden-pos:100% 0%}
.hh-world-art{position:absolute;inset:0;z-index:0;pointer-events:none;background-image:var(--hh-world-image);background-size:var(--hh-world-size);background-position:var(--hh-home-pos);image-rendering:auto}
.room-garden .hh-world-art{background-position:var(--hh-garden-pos)}/* Wall choices decorate the room without recolouring flowers, trees or the view. */
.hh-finish-tint{position:absolute;inset:0;z-index:0;pointer-events:none;background:none;mix-blend-mode:normal}
.hh-wall-ribbon{position:absolute;top:4%;left:6%;width:5%;height:22%;min-width:16px;max-width:70px;filter:drop-shadow(0 3px 2px #513b4a45)}
.hh-wall-ribbon:last-child{left:auto;right:6%}
.hh-wall-ribbon:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#ffffff55,transparent 24%,#ffffff16 65%,#46305028),var(--wall);clip-path:polygon(0 0,100% 0,100% 100%,50% 84%,0 100%)}
.hh-wall-ribbon:after{content:'✦';position:absolute;inset:8% 13% 24%;display:grid;place-items:center;border:1px solid #fff2c7b3;border-radius:30% 30% 0 0;color:#fff4cd;font-size:clamp(14px,2.3vw,30px);text-shadow:0 1px 2px #70533c}
.hh-scene[data-wall-finish="wall-cream"] .hh-finish-tint{display:none}
/* Recolour only the illustrated floor, retaining its wood/tile detail and light. */
.hh-floor-finish{position:absolute;inset:0;z-index:0;pointer-events:none;background:var(--floor);mix-blend-mode:color;clip-path:polygon(15% 46%,81% 46%,100% 59%,100% 100%,0 100%,0 59%)}
.theme-starlight .hh-floor-finish,.theme-ocean .hh-floor-finish{clip-path:polygon(22% 38%,77% 38%,100% 51%,100% 100%,0 100%,0 51%)}
.room-garden .hh-floor-finish{display:none}.room-garden .hh-finish-tint{display:none}.hh-room-label{top:12px;left:12px;padding:8px 13px;border:1px solid #ffedc0;border-radius:12px;background:#3e3458d9;color:#fff7e1;font-size:11px;letter-spacing:1px;z-index:180;pointer-events:none;display:flex;flex-direction:column;gap:3px}.hh-room-label i{font-size:8px;color:#e5c7ed;font-style:normal;letter-spacing:1.2px}
.hh-grid{display:none;position:absolute;inset:30% 0 5%;background-image:linear-gradient(to right,#fff9e875 1px,transparent 1px),linear-gradient(to bottom,#fff9e875 1px,transparent 1px);background-size:5% calc(100% / 13);box-shadow:inset 0 0 0 1px #fff9e8aa;z-index:2;pointer-events:none}.editing .hh-grid{display:block}.editing{touch-action:pan-y}.editing.placing .hh-placed{pointer-events:none}.hh-placed{transform:translate(-50%,-90%);filter:drop-shadow(0 5px 2px #32254432);transition:filter .2s}.hh-placed.selected{outline:3px dashed #fff0bd!important;background:#a77fdd40!important}.hh-placed.flat{transform:translate(-50%,-50%)}.hh-placed.hh-lit{filter:drop-shadow(0 0 10px #ffe4aa) brightness(1.12)}.hh-object-label{white-space:nowrap;max-width:270px;font-size:11px;background:#fff7e9f5!important;color:#534265!important;z-index:190}.hh-roaming-pet{width:19%;min-width:0;transform:translate(-50%,-93%);padding:0;background:transparent!important;box-shadow:none!important;border:none!important;filter:drop-shadow(0 5px 1px #47365520)}.hh-roaming-pet .hh-pet{width:100%;height:auto;aspect-ratio:256/330}.hh-roaming-pet .hh-owned-art{height:auto;aspect-ratio:1}.hh-roaming-pet.active:after{content:'';position:absolute;left:18%;right:18%;bottom:5%;height:9%;border:2px solid #fff5c3;border-radius:50%;background:#ffe99b55;z-index:-1}.hh-roaming-pet>span:last-of-type{bottom:-5%;font-size:clamp(9px,.9vw,12px);padding:2px 8px;background:#fffcf0f2}.hh-care-pop{position:absolute;right:-25%;top:-5%;padding:5px 9px;background:#fff7d3;border:2px solid #ebc579;border-radius:12px 12px 12px 0;font-size:clamp(11px,1vw,15px);font-style:normal;font-weight:1000;white-space:nowrap;color:#705071;box-shadow:0 3px #70507120;animation:hh-pop .5s ease-out}.hh-care-play>.hh-pet,.hh-care-play>.hh-owned-art{animation:hh-happy-hop 1s ease-in-out 3}.hh-care-rest>.hh-pet,.hh-care-rest>.hh-owned-art{transform:translateY(6%) rotate(-6deg);animation:hh-soft-rest 4s ease-in-out infinite}.hh-care-wash:before{content:'○ ◌ ○';position:absolute;inset:-10% -12% 0;font-size:35px;color:#dbf8fd;text-shadow:0 0 3px #6dabd8;z-index:3;animation:hh-bubbles 2.5s ease-out 3;pointer-events:none}.hh-care-brush:before{content:'✦ ✧';position:absolute;inset:-5% -10% 0;color:#fff3af;font-size:29px;z-index:3;animation:hh-glow 2s 3;pointer-events:none}.hh-care-feed>.hh-pet{animation:hh-nibble .5s ease-in-out 5}.hh-care-water:before{content:'⋮ ⋮';position:absolute;inset:20% -12% 0;font-size:29px;color:#bceaff;z-index:3;animation:hh-bubbles 1s reverse 4;pointer-events:none}.hh-garden-bed{position:absolute;right:5%;bottom:3%;font-size:25px;color:#fff0a1;text-shadow:0 2px #659658;letter-spacing:10px;display:none;pointer-events:none}.room-garden .hh-garden-bed{display:block}.hh-scene-message{font-size:13px;bottom:8px;left:7%;right:7%;box-shadow:0 3px #5b456526;max-width:600px;margin:auto}.hh-scene-message:empty{display:none}
.hh-care-panel{padding:20px;background:linear-gradient(160deg,#fff9e9,#f0e5f8);border:2px solid #dac6e7;border-radius:24px;box-shadow:0 5px #c3accf}.hh-care-profile{display:flex;gap:14px;align-items:center;margin:10px 0}.hh-care-profile>.hh-pet,.hh-care-profile>.hh-owned-art{width:95px;flex:0 0 95px;height:110px}.hh-care-profile h2{font-size:24px!important;margin:0 0 9px;line-height:1.1}.hh-care-profile .hh-pill{background:#fff1c9;border-color:#e9cb80;font-size:11px}.hh-housemate-tabs{display:flex;flex-wrap:wrap;gap:5px}.hh-housemate-tabs .hh-button{font-size:10px;padding:5px 8px;min-height:29px}.hh-bond-track{height:10px;margin-top:17px;border-radius:99px;background:#ddd0e8;overflow:hidden;box-shadow:inset 0 2px #bbaac529}.hh-bond-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#f1b7d1,#a292de,#8ed5c4)}.hh-bond-copy{font-size:11px!important;margin:6px 0 17px}.hh-care-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.hh-care-tools .hh-button{padding:11px 3px;display:flex;flex-direction:column;align-items:center;gap:5px;background:#fffdf3;border:1px solid #dfcce6;box-shadow:0 3px #cbb6d7;border-radius:15px;min-width:0}.hh-care-tools .hh-button>span{display:grid;place-items:center;width:32px;height:32px;border-radius:11px;background:#e7dcf7;color:#8562ad;font-size:23px}.hh-care-tools .hh-button:nth-child(2n)>span{background:#e0f0e4;color:#5b967e}.hh-care-tools .hh-button:nth-child(3n)>span{background:#ffedc7;color:#b38b46}.hh-care-tools b{font-size:13px}.hh-care-tools small{font-size:8px;line-height:1.4;white-space:normal}.hh-care-panel>.hh-muted{font-size:11px!important;line-height:1.5;margin:16px 0}.hh-care-panel>.hh-wide{margin-top:10px;font-size:12px}.hh-garden-growth{border:1px solid #b2c7a3;background:#f1f5e8;border-radius:16px;padding:13px;color:#4f7258;display:flex;flex-direction:column;gap:7px}.hh-garden-growth>b{font-size:13px}.hh-garden-growth>span,.hh-garden-growth>small{font-size:10px;line-height:1.5}.hh-garden-growth>div{display:flex;gap:5px}.hh-garden-growth i{font-style:normal;background:#dfe7d6;color:#a4b496;padding:2px 9px;border-radius:7px}.hh-garden-growth i.grown{background:#e5b3cc;color:#fff8dd}.hh-edit-toolbar{flex-wrap:wrap;gap:12px;padding:17px;margin-top:15px;background:#fff9e9;border:2px solid #dbc2e5;border-radius:19px}.hh-edit-toolbar>div{display:flex;flex-wrap:wrap;gap:7px}.hh-edit-toolbar .hh-button{font-size:12px;padding:9px 11px;min-height:40px}.hh-edit-toolbar>span{flex:1 1 160px;font-size:12px;line-height:1.5}.hh-home-caption{flex-wrap:wrap;gap:10px}.hh-inventory{max-height:860px;overflow:auto;border:2px solid #d7c1e6;background:#fffaf0}.hh-inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hh-inventory-grid button{background:#f1e8fa;border:1px solid #dbc4e7;padding:10px;border-radius:14px}.hh-inventory-grid .hh-object-art{height:85px}.hh-inventory-grid span{font-size:10px;line-height:1.3;display:block}.hh-home-invite{background:linear-gradient(110deg,#fff0ca,#f4dcf1,#e1f2e4);border:2px solid #e9caa6}
.hh-shop-banner{border:3px solid #e4c489;background:radial-gradient(ellipse at 10% 20%,#fff3d9,#ebd6f1);box-shadow:0 6px #bca3ca;overflow:hidden}.hh-shop-banner h1{font-size:clamp(30px,3.5vw,48px)!important}.hh-shop-display{position:relative;min-height:250px;isolation:isolate;background:radial-gradient(ellipse at 50% 65%,#e2d1ee,transparent 68%)}.hh-shop-display>.hh-object-art:first-child{position:absolute;width:60%;height:90%;left:0;bottom:0}.hh-shop-display>.hh-object-art:nth-child(2){position:absolute;width:46%;height:95%;right:0;bottom:5%}.hh-shop-display>.hh-pet{position:absolute;width:27%;height:63%;left:32%;bottom:16%;z-index:2}.hh-shop-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.hh-shop-art{background:radial-gradient(ellipse at 50% 75%,#fff9de 0,#ece3f8 58%,#e0d2ed);border-bottom:2px solid #e7d8ef;height:210px}.hh-shop-art>.hh-object-art{width:85%;height:86%;filter:drop-shadow(0 7px 2px #71607620)}.hh-shop-card{border:2px solid #decae7;border-radius:23px;box-shadow:0 5px #c5afd0}.hh-shop-copy{padding:19px}.hh-shop-copy h2{font-size:20px!important;line-height:1.2;min-height:46px}.hh-shop-copy p{font-size:12px;line-height:1.5;min-height:39px}.hh-item-action{display:inline-block;border:1px solid #c4dacb;border-radius:9px;background:#edf7ed;color:#4b786a;font-size:10px;padding:5px 8px;margin-bottom:13px}.hh-shop-copy .hh-actions{flex-direction:column;gap:9px}.hh-shop-copy .hh-button{font-size:12px;min-height:41px;width:100%}.hh-shop-categories{padding:17px 0;gap:8px}.hh-shop-categories .hh-button{font-size:12px;border-radius:99px;padding:10px 15px}
@keyframes hh-gentle-breath{0%,100%{transform:scale(.85)}50%{transform:scale(1.16)}}
@keyframes hh-happy-hop{0%,100%{transform:translateY(0) rotate(-3deg)}45%{transform:translateY(-14%) rotate(4deg)}}
@keyframes hh-soft-rest{0%,100%{transform:translateY(6%) rotate(-6deg) scale(1)}50%{transform:translateY(6%) rotate(-6deg) scale(1.02)}}
@keyframes hh-bubbles{0%{transform:translateY(15%);opacity:0}30%{opacity:1}100%{transform:translateY(-25%);opacity:0}}
@keyframes hh-nibble{50%{transform:translateY(4%) rotate(3deg)}}
@keyframes hh-pop{from{transform:scale(.6);opacity:0}to{transform:scale(1);opacity:1}}
@media(min-width:1800px){.hh-pet-picker{grid-template-columns:repeat(6,minmax(0,1fr))}.hh-shop-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.hh-home-layout{grid-template-columns:minmax(0,1fr) 360px}.hh-care-tools b{font-size:15px}}
@media(max-width:1100px){.hh-pet-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.hh-home-layout{grid-template-columns:1fr}.hh-care-panel{display:grid;grid-template-columns:1fr 1.35fr;gap:10px 24px}.hh-care-panel>.hh-eyebrow{grid-column:1/-1}.hh-care-profile{grid-row:2/4}.hh-care-tools{grid-column:2;grid-row:2/5}.hh-care-panel>.hh-muted{grid-column:1}.hh-care-panel>.hh-wide{align-self:end}.hh-bond-copy{margin:0!important}.hh-inventory{max-height:none}.hh-inventory-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.hh-scene{aspect-ratio:1.5}.hh-shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hh-owned-picker{grid-template-columns:repeat(4,minmax(0,1fr))}.hh-place-copy{padding:14px}.hh-place-copy>b{font-size:11px}.hh-activity-layout{grid-template-columns:.85fr 1fr}.hh-activity-scene .hh-place-art{aspect-ratio:.8}.hh-portal-copy{padding:24px}.hh-portal-copy>.hh-portal-pets{height:88px}.hh-portal-pets .hh-pet{height:88px}.hh-companion-card .hh-pocket-device{width:190px}}
@media(max-width:740px){.hh-portal-copy{padding:25px}.hh-portal-art{min-height:260px}.hh-portal-copy>.hh-portal-pets{height:95px;margin:10px 0 0}.hh-portal-pets .hh-pet{height:95px}.hh-portal-copy>strong{font-size:38px}.hh-companion-card .hh-pocket-device{width:135px;grid-column:1;grid-row:1/8;padding:9px;border-radius:25px;align-self:center;margin:0}.hh-companion-card{grid-template-columns:135px minmax(0,1fr);gap:7px 18px}.hh-companion-card .hh-device-label{font-size:6px;letter-spacing:1px}.hh-companion-card .hh-device-label i{display:none}.hh-companion-card .hh-device-controls b{font-size:23px}.hh-companion-card .hh-device-controls span{font-size:20px}.hh-companion-card h2{margin:0!important;font-size:25px!important}.hh-pet-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.hh-pet-picker article{padding:16px 10px 12px;border-radius:20px}.hh-pocket-device{padding:10px 9px 6px;border-radius:26px;border-width:2px}.hh-device-label{font-size:7px;letter-spacing:.7px}.hh-device-label i{font-size:5px;letter-spacing:1px}.hh-pixel-screen{border-width:4px}.hh-device-controls{padding:3px 4px}.hh-device-controls b{font-size:26px}.hh-device-controls>span{font-size:22px;letter-spacing:2px}.hh-pet-picker article>.hh-pill{font-size:9px}.hh-pet-picker article>h2{font-size:25px!important}.hh-pet-picker article>p{font-size:12px;min-height:51px}.hh-pet-picker article>.hh-button{font-size:10px;padding:10px 5px;line-height:1.5;min-height:42px}.hh-resident-strip{gap:8px;padding:13px}.hh-resident-strip>strong{flex:1 1 100%;font-size:14px}.hh-resident-strip>span{flex:1 1 40%;padding:5px;gap:4px;font-size:11px}.hh-owned-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hh-owned-picker article>.hh-owned-art{height:145px}.hh-owned-picker h3{font-size:16px}.hh-owned-picker .hh-button{font-size:11px}.hh-place-card .hh-place-art{aspect-ratio:1.3}.hh-place-copy{padding:16px}.hh-place-copy>strong{font-size:29px}.hh-place-copy>span{font-size:13px;min-height:0}.hh-place-copy>b{font-size:13px}.hh-places{gap:17px}.hh-activity-layout{grid-template-columns:1fr}.hh-activity-scene{position:relative;top:auto}.hh-activity-scene .hh-place-art{aspect-ratio:1.65}.hh-activity-title h1{font-size:31px!important}.hh-activity-copy>h2{font-size:27px!important}.hh-activity-title p{font-size:14px}.hh-r-steps li{font-size:9px;display:flex;flex-direction:column;align-items:start}.hh-choice-tiles .hh-button>b{font-size:14px}.hh-personal-plan{font-size:14px}.hh-activity-pet{width:24%;height:49%;left:61%;bottom:12%}.hh-scene{aspect-ratio:1.2;min-height:0}.hh-scene-wrap{border-width:4px;border-radius:20px}.hh-room-label{font-size:9px;padding:7px 9px;top:8px;left:8px}.hh-room-label i{font-size:7px}.hh-roaming-pet{width:23%}.hh-scene-message{font-size:11px;left:5%;right:5%;bottom:5px;padding:6px!important;line-height:1.4}.hh-home-caption{font-size:12px;padding:12px}.hh-home-caption .hh-button{font-size:11px;padding:8px}.hh-care-panel{display:block;padding:19px}.hh-care-profile>.hh-pet,.hh-care-profile>.hh-owned-art{width:95px;height:110px}.hh-care-profile h2{font-size:28px!important}.hh-bond-track{margin-top:15px}.hh-bond-copy{margin:8px 0 17px!important}.hh-care-tools{gap:11px}.hh-care-tools .hh-button{padding:12px 5px}.hh-care-tools b{font-size:15px}.hh-care-tools small{font-size:9px}.hh-care-tools .hh-button>span{width:37px;height:37px;font-size:26px}.hh-garden-growth{margin:18px 0}.hh-care-panel>.hh-wide{font-size:14px}.hh-inventory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hh-inventory-grid .hh-object-art{height:75px}.hh-edit-toolbar{padding:12px;gap:12px}.hh-edit-toolbar>div{gap:6px}.hh-edit-toolbar .hh-button{font-size:11px;padding:8px}.hh-edit-toolbar>[data-hh=save-home]{flex:1}.hh-object-label{font-size:9px;white-space:normal;width:120px;line-height:1.4}.hh-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hh-shop-art{height:165px}.hh-shop-art .hh-pill{font-size:8px;padding:4px 6px}.hh-shop-copy{padding:13px}.hh-shop-copy h2{font-size:17px!important;min-height:41px}.hh-shop-copy p{font-size:11px;min-height:63px}.hh-shop-copy .hh-button{font-size:10px;padding:9px 5px}.hh-shop-copy .hh-price{font-size:13px}.hh-item-action{font-size:8px;padding:5px;min-height:26px}.hh-shop-banner{grid-template-columns:1fr}.hh-shop-display{height:205px;min-height:0;max-width:390px;width:100%;margin:auto}.hh-shop-banner h1{font-size:34px!important}.hh-shop-banner p{font-size:13px}.hh-shop-categories{flex-wrap:nowrap;overflow-x:auto;margin:0 -5px;padding:18px 5px}.hh-shop-categories .hh-button{white-space:nowrap;flex-shrink:0;font-size:11px;padding:9px 13px}.hh-garden-bed{font-size:17px;letter-spacing:4px}}
@media(max-width:359px){.hh-companion-card{grid-template-columns:105px minmax(0,1fr);gap:7px 12px}.hh-companion-card .hh-pocket-device{width:105px}.hh-companion-card .hh-button{font-size:11px;padding:9px}.hh-pet-picker article>p{min-height:62px}.hh-device-label i{display:none}.hh-shop-grid{grid-template-columns:1fr}.hh-shop-art{height:205px}.hh-shop-copy h2,.hh-shop-copy p{min-height:0}.hh-shop-copy .hh-button{font-size:13px}.hh-shop-copy .hh-actions{flex-direction:row}.hh-owned-picker article{padding:10px}.hh-r-steps{gap:5px}}
#heartHavenDialog.hh-reduced *,#heartHavenDialog.hh-reduced *:before,#heartHavenDialog.hh-reduced *:after{animation:none!important;transition:none!important}
@media(prefers-reduced-motion:reduce){.hh-portal *,#heartHavenDialog *,#heartHavenDialog *:before,#heartHavenDialog *:after{animation:none!important;transition:none!important}}
.hh-nursery-art{height:90px;display:block!important;background:radial-gradient(ellipse,#fff9d3,transparent 68%)}.hh-nursery-art .hh-object-art{display:block;height:100%;max-width:110px;margin:auto}
.hh-garden-bed{z-index:3;bottom:7%;right:3%;width:17%;border:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;pointer-events:auto;letter-spacing:normal;min-height:0!important}.hh-garden-bed>.hh-object-art{width:100%;height:auto;filter:drop-shadow(0 4px 2px #41624522)}.hh-garden-bed>span{display:block;padding:3px 6px;border-radius:9px;background:#fff6d9db;color:#456751;font-size:9px;line-height:1.3;text-shadow:none;white-space:nowrap}.hh-garden-bed.growth-0>.hh-object-art{transform:scale(.55);transform-origin:bottom}.hh-garden-bed.growth-1>.hh-object-art{transform:scale(.7);transform-origin:bottom}.editing .hh-garden-bed{display:none}
@media(max-width:740px){.hh-garden-bed{width:21%;right:3%}.hh-garden-bed>span{font-size:7px}}
.hh-quick-care{display:none}
@media(max-width:1100px){.hh-quick-care{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin-top:17px;padding:10px;background:#fff6e3;border:2px solid #e5ccea;border-radius:17px;box-shadow:0 3px #c6b0d6}.hh-quick-care .hh-button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 3px;border-radius:12px;background:#fffdf5;min-height:50px}.hh-quick-care b{font-size:24px;color:#8b6ca9;line-height:1}.hh-quick-care span{font-size:11px}.hh-quick-care .hh-button:nth-child(2n){background:#e5f3e9}.hh-quick-care .hh-button:nth-child(3n){background:#f5e5f2}}
@media(max-width:740px){.hh-quick-care{gap:5px;padding:8px;margin-top:14px}.hh-quick-care span{font-size:9px}.hh-quick-care b{font-size:22px}.hh-quick-care .hh-button{border-width:1px;min-height:47px}}
/* Keep world anchors stable: the site's generic active-button animation must not move furniture. */
#heartHavenDialog .hh-placed:active:not(:disabled){transform:translate(-50%,-90%)!important}
#heartHavenDialog .hh-placed.flat:active:not(:disabled){transform:translate(-50%,-50%)!important}
#heartHavenDialog .hh-roaming-pet:active:not(:disabled){transform:translate(-50%,-93%)!important}
#heartHavenDialog .hh-garden-bed:active:not(:disabled){transform:none!important}
.hh-care-tools .hh-button>span{width:52px;height:48px;background:transparent!important;border-radius:0}.hh-care-tools .hh-button>span>.hh-object-art{width:100%;height:100%;filter:drop-shadow(0 3px 1px #4e376726)}.hh-quick-care .hh-button>b{width:42px;height:39px;display:block}.hh-quick-care .hh-button>b>.hh-object-art{height:100%;width:100%}
@media(max-width:359px){.hh-quick-care .hh-button>b{width:32px;height:32px}}
/* Resident pets stand in the world instead of carrying the old portrait card. */
.hh-owned-art .portrait-frame{display:none}
/* 5.48: individual pet routines, expressive care props and clear real-life actions. */
#heartHavenDialog .hh-roaming-pet{width:12.5%;min-width:44px;transition:none;overflow:visible;isolation:isolate}
.hh-roaming-pet .hh-pet-body{position:relative;display:block;width:100%;transform-origin:50% 90%;z-index:2;animation:hh-idle-pet 4s ease-in-out infinite}
.hh-roaming-pet .hh-pet-name{position:absolute!important;bottom:-12%!important;left:50%;transform:translateX(-50%);display:block;font-size:clamp(8px,.8vw,11px)!important;line-height:1.3;border-radius:10px;background:#fff9e8f2;border:1px solid #ddc6b3;padding:2px 6px!important;white-space:nowrap;z-index:8}
.hh-roaming-pet:before{content:none!important}
.hh-roaming-pet.active:after{bottom:0;height:8%;left:8%;right:8%;box-shadow:0 0 11px #fff1a8}
.hh-roaming-pet[data-phase=arriving]{animation:hh-care-arrive .8s ease-out both;animation-delay:var(--arrival-delay)}
.hh-roaming-pet[data-phase=arriving] .hh-pet-body{animation:hh-walk .2s ease-in-out infinite}
.hh-roaming-pet[data-phase=arriving] .hh-care-props{visibility:hidden}
.hh-care-props{position:absolute;inset:0;display:block;z-index:4;pointer-events:none;overflow:visible}
.hh-prop{display:block;position:absolute;box-sizing:border-box;filter:drop-shadow(0 3px 1px #47345e33);animation-delay:var(--care-delay)!important}
.hh-care-particles{position:absolute;inset:-25% -25% 0;pointer-events:none}
.hh-particle{position:absolute;left:calc(15% + var(--n)*30%);bottom:20%;font-style:normal;font-size:clamp(12px,1.6vw,25px);color:#ffec96;text-shadow:0 1px #9c6c89;animation:hh-care-float 2.4s ease-out infinite;animation-delay:calc(var(--care-delay) - var(--n)*.65s)}
.hh-particle.heart{color:#ffb8d4}.hh-particle.fluff{color:#fff}.hh-particle.zzz{color:#ddd0ff;font-weight:1000;font-family:Fredoka,Nunito,sans-serif;font-size:clamp(14px,2vw,30px)}
.hh-particle.bubble{width:19%;aspect-ratio:1;border:2px solid #ecfbff;border-radius:50%;background:radial-gradient(circle at 25% 25%,#fff 3%,#a5e3ff44 30%,#d8baff88);box-shadow:inset -2px -2px 3px #738cb633,0 0 3px #558aba77}
.hh-particle.drop{width:5%;height:12%;background:#9bdef4;border:1px solid #e0faff;border-radius:70% 70% 70% 0;transform:rotate(-45deg);animation-name:hh-water-drops}
.hh-particle.leaf{color:#b8ef9f}.hh-particle.crumb{font-size:9px;color:#f3c477}
.hh-prop-bowl{bottom:-1%;left:28%;width:56%;height:17%;border:3px solid #578aab;background:linear-gradient(#d8f8ff,#91c9e8);border-radius:20% 20% 48% 48%;box-shadow:inset 0 3px #e9ffff}
.hh-prop-bowl:after{content:'♥';font-size:clamp(9px,1vw,15px);position:absolute;inset:0;color:#486a98;text-align:center}
.hh-prop-bowl i{position:absolute;width:18%;height:36%;top:-25%;left:15%;border-radius:35%;background:#eabf65;border:1px solid #976941;animation:hh-food-nibble 2s infinite;animation-delay:var(--care-delay)}
.hh-prop-bowl i:nth-child(2){left:41%;background:#f8d884}.hh-prop-bowl i:nth-child(3){left:66%;background:#d2a451}
.hh-care-feed[data-phase=acting] .hh-pet-body{animation:hh-feed-routine 2s ease-in-out infinite;animation-delay:var(--care-delay)}
.hh-prop-brush{left:59%;top:8%;width:40%;height:17%;background:linear-gradient(110deg,#e3bcff,#9d79cf);border:2px solid #795494;border-radius:40%;transform:rotate(30deg);animation:hh-brush-strokes 1.5s ease-in-out infinite}
.hh-prop-brush:before{content:'';position:absolute;left:35%;top:90%;width:30%;height:125%;background:#b68cce;border:2px solid #795494;border-radius:0 0 8px 8px}
.hh-prop-brush:after{content:'';position:absolute;inset:5% 5% 26%;border-radius:50%;background:repeating-linear-gradient(90deg,#fff2cf 0 8%,#bd9a77 8% 12%)}
.hh-care-brush[data-phase=acting] .hh-pet-body{animation:hh-brush-enjoy 3s ease-in-out infinite;animation-delay:var(--care-delay)}
.hh-prop-bath{left:-10%;bottom:-4%;width:120%;height:29%;border:3px solid #ad8a73;border-top:5px solid #fff5cf;border-radius:20% 20% 40% 40%;background:linear-gradient(#fff4d4,#e6c49a);box-shadow:inset 0 3px #90d5e8}
.hh-prop-bath:before{content:'';position:absolute;inset:-20% 3% 65%;border-radius:50%;background:repeating-radial-gradient(circle at 10% 50%,#fbffff 0 5px,#bee9f1 7px 10px);box-shadow:0 2px #83bccd}
.hh-prop-bath:after{content:'✦';display:block;position:absolute;left:45%;top:5%;color:#c69849;font-size:clamp(12px,1.6vw,24px)}
.hh-prop-bath i{width:9%;height:18%;position:absolute;background:#c39870;border-radius:0 0 8px 8px;left:13%;bottom:-18%}.hh-prop-bath i:nth-child(2){left:75%}
.hh-shower{position:absolute;left:80%;top:-10%;width:29%;height:46%;border:5px solid #d5b980;border-bottom:0;border-left:0;border-radius:0 70% 0 0;transform:rotate(-15deg)}
.hh-shower:before{content:'';position:absolute;left:-30%;top:-2%;width:55%;height:13%;background:#c1a569;border:2px solid #fff1c9;border-radius:50%}
.hh-shower i{position:absolute;width:4%;height:15%;top:10%;left:0;background:#b4e8ff;box-shadow:4px 10px #b4e8ff,-4px 18px #f4fdff;animation:hh-shower-drops .8s linear infinite;animation-delay:calc(var(--care-delay) - .2s)}
.hh-shower i:nth-child(2){left:-25%;animation-delay:calc(var(--care-delay) - .4s)}.hh-shower i:nth-child(3){left:-45%;animation-delay:calc(var(--care-delay) - .6s)}
.hh-care-wash[data-phase=acting] .hh-pet-body{animation:hh-bath-splash 2s ease-in-out infinite;animation-delay:var(--care-delay)}
.hh-prop-ball{bottom:0;left:87%;width:33%;aspect-ratio:1;border-radius:50%;background:conic-gradient(#ffb4cf 0 25%,#fff0a9 25% 50%,#a8ddd0 50% 75%,#b6b0ef 75%);border:2px solid #745a99;display:grid;place-items:center;animation:hh-ball-chase 3s ease-in-out infinite}
.hh-prop-ball i{font-style:normal;color:#fffce9;text-shadow:0 1px #9571ae;font-size:clamp(14px,2vw,29px)}
.hh-care-play[data-phase=acting] .hh-pet-body{animation:hh-pounce-play 3s ease-in-out infinite;animation-delay:var(--care-delay)}
.hh-prop-blanket{left:9%;bottom:3%;width:88%;height:26%;border:2px solid #9280b3;border-radius:35% 45% 18% 18%;background:repeating-linear-gradient(0deg,transparent 0 8px,#ffffff21 8px 10px),linear-gradient(140deg,#b4a2e0,#8271b6);box-shadow:inset 0 3px #ded4f0;animation:hh-blanket-breathe 4s ease-in-out infinite}
.hh-prop-blanket i,.hh-prop-blanket b{position:absolute;color:#fff0b7;top:4%;left:25%;font-style:normal;font-size:clamp(12px,2vw,25px)}.hh-prop-blanket b{left:68%;top:20%;font-size:12px}
.hh-care-rest[data-phase=acting] .hh-pet-body{animation:hh-snooze 4s ease-in-out infinite;animation-delay:var(--care-delay)}
.hh-care-rest .hh-particle{bottom:50%;animation-duration:4s}
.hh-prop-watering{right:-28%;top:55%;width:48%;height:27%;border:2px solid #4c998b;border-radius:30% 20% 30% 30%;background:linear-gradient(120deg,#b0e3b4,#71c4b1);transform:rotate(-20deg);animation:hh-pour-water 2.5s ease-in-out infinite}
.hh-prop-watering:before{content:'';position:absolute;left:-43%;top:0;width:45%;height:30%;background:#81cdb5;border:2px solid #4c998b;border-right:0;border-radius:6px;transform:rotate(22deg)}
.hh-prop-watering:after{content:'';position:absolute;right:-36%;top:10%;width:36%;height:70%;border:4px solid #64a994;border-left:0;border-radius:0 70% 70% 0}
.hh-prop-watering b{position:absolute;font-size:clamp(12px,2vw,22px);color:#fffad1;left:30%;top:0}.hh-care-water .hh-care-particles{inset:25% -40% -20% 55%}
.hh-care-water[data-phase=acting] .hh-pet-body{animation:hh-garden-nod 2.5s ease-in-out infinite;animation-delay:var(--care-delay)}
.hh-roaming-pet[data-phase=happy] .hh-pet-body{animation:hh-thank-you .6s ease-in-out 2}.hh-roaming-pet[data-phase=happy] .hh-care-props{opacity:0;transition:opacity .3s}
@keyframes hh-care-arrive{from{left:var(--from-x);top:var(--from-y)}}
@keyframes hh-walk{50%{transform:translateY(-3%) rotate(3deg)}}
@keyframes hh-idle-pet{50%{transform:translateY(-1.5%) scaleY(1.015)}}
@keyframes hh-feed-routine{0%,80%,100%{transform:none}25%,45%,65%{transform:translateY(7%) rotate(4deg) scaleY(.94)}35%,55%{transform:translateY(5%) rotate(-3deg)}}
@keyframes hh-food-nibble{0%,30%,100%{transform:none}40%,60%{transform:translateY(-25%) scale(.65)}80%{transform:scale(.3)}}
@keyframes hh-brush-strokes{0%,100%{transform:translate(0,-30%) rotate(25deg)}50%{transform:translate(-100%,95%) rotate(-30deg)}}
@keyframes hh-brush-enjoy{25%{transform:rotate(-5deg)}55%{transform:rotate(5deg) scaleX(1.04)}85%{transform:rotate(-3deg)}}
@keyframes hh-bath-splash{0%,100%{transform:translateY(5%) scale(.93)}30%{transform:translateY(10%) rotate(-6deg) scale(.93)}65%{transform:translateY(1%) rotate(6deg) scale(.97)}}
@keyframes hh-shower-drops{to{transform:translate(-5px,60px);opacity:0}}
@keyframes hh-ball-chase{0%,100%{transform:translate(0,0) rotate(0)}25%{transform:translate(-120%,-150%) rotate(-140deg)}50%{transform:translate(-240%,0) rotate(-280deg)}75%{transform:translate(-120%,-100%) rotate(-400deg)}}
@keyframes hh-pounce-play{0%,100%{transform:none}15%{transform:scale(1.05,.92)}30%{transform:translate(-8%,-20%) rotate(-8deg)}50%{transform:translate(-12%,0)}65%{transform:scale(1.05,.92)}80%{transform:translate(8%,-15%) rotate(8deg)}}
@keyframes hh-snooze{0%,100%{transform:translateY(6%) rotate(-9deg) scale(1,.9)}50%{transform:translateY(4%) rotate(-9deg) scale(1.02,.94)}}
@keyframes hh-blanket-breathe{50%{transform:translateY(-6%) scaleY(1.08)}}
@keyframes hh-pour-water{0%,100%{transform:rotate(-10deg)}30%,65%{transform:rotate(-40deg)}}
@keyframes hh-garden-nod{30%,65%{transform:rotate(8deg) translateY(3%)}}
@keyframes hh-water-drops{0%{opacity:0;transform:translateY(-15%) rotate(-45deg)}25%{opacity:1}100%{opacity:0;transform:translateY(170%) rotate(-45deg)}}
@keyframes hh-care-float{0%{opacity:0;transform:translateY(5px) scale(.6)}20%{opacity:1}100%{opacity:0;transform:translateY(-90px) scale(1.1)}}
@keyframes hh-thank-you{40%{transform:translateY(-7%) rotate(5deg)}}
.hh-housemate-activities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}
.hh-housemate-activities>div{border:1px solid #dbcae3;border-radius:16px;background:#fffaf1;padding:8px;min-width:0}.hh-housemate-activities>div.selected{border-color:#a784ca;box-shadow:0 0 0 2px #dbc6ef}
.hh-housemate-activities .hh-button{width:100%;min-width:0;text-align:left;justify-content:flex-start;padding:4px;background:transparent;border:0;box-shadow:none;gap:8px}
.hh-housemate-activities .hh-pet,.hh-housemate-activities .hh-owned-art{width:40px;flex:0 0 40px;height:48px}.hh-housemate-activities b{display:block;font-size:14px}.hh-housemate-activities small{display:block;font-size:10px;font-weight:500;line-height:1.4}.hh-housemate-activities .hh-recall{font-size:10px;min-height:32px;padding:5px 8px;margin-top:4px;background:#f1e7f8;justify-content:center;text-align:center}
.hh-sound-controls{padding:12px;margin:14px 0;border-radius:14px;background:#fffcf4;border:1px solid #d9c9e3;grid-column:1/-1}.hh-sound-controls .hh-button{font-size:12px;min-height:38px;width:100%;padding:7px}.hh-sound-controls label{font-size:12px;margin-top:13px}.hh-sound-controls output{float:right;color:#765192}
#heartHavenDialog .hh-sound-controls input[type=range]{padding:0;min-height:32px;accent-color:#8762b5;border:0;background:transparent;cursor:pointer}
.hh-r-real-list{display:grid!important;gap:7px;min-height:0!important;margin:4px 0!important}.hh-r-real-list>span{display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:10px;background:#fffcf1a3;font-size:12px;line-height:1.3}.hh-r-real-list .hh-object-art{width:36px;height:33px;flex:0 0 36px}
.hh-do-this{padding:16px 18px;border:1px solid #e7c978;border-left:5px solid #ddb353;border-radius:13px;background:#fff5d3;margin:12px 0 20px}.hh-do-this>b{font-size:10px;letter-spacing:1.3px;color:#8b632d}.hh-do-this p{margin:6px 0 0!important;font-weight:800;font-size:17px;line-height:1.55}
.hh-real-actions{margin:26px 0 18px;padding:20px;background:linear-gradient(120deg,#f3eafb,#fff5d7);border:1px solid #d5bfe6;border-radius:20px}.hh-real-actions>p{font-size:13px}.hh-real-actions>div{display:grid;gap:12px}.hh-real-action{display:flex;align-items:center;gap:16px;border:1px solid #d4c1e3;border-radius:16px;background:#fffdf6;padding:14px;text-align:left;color:#534268;box-shadow:0 3px #daccdf}.hh-real-action.chosen{border-color:#8866ab;background:#f2e6ff;box-shadow:0 0 0 2px #cbb0e0}.hh-real-action>span:first-child{width:80px;flex:0 0 80px}.hh-real-action .hh-object-art{width:100%;height:76px}.hh-real-action b{display:block;font-size:17px}.hh-real-action small{display:block;font-size:14px;line-height:1.55;margin:5px 0}.hh-real-action em{font-size:11px;font-style:normal;font-weight:900;color:#7d509a}.hh-takeaway{padding:14px;border-radius:12px;background:#e4f1e0;color:#43644a}
.hh-breath-how{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:0;list-style:none;margin:18px 0;font-size:13px}.hh-breath-how li{padding:10px 7px;background:#ffffffb3;border-radius:12px;line-height:1.4}.hh-breath-how b{display:grid;place-items:center;margin:0 auto 5px;background:#577f7b;color:white;width:24px;height:24px;border-radius:50%}
.hh-breath-stage{position:relative;height:230px;display:grid;place-items:center;margin:6px 0 10px}.hh-breath-ring{display:grid;place-items:center;width:208px;height:208px;border:2px dashed #81b6ac;border-radius:50%;background:radial-gradient(circle,#ddf4e8,#fff8d822)}
#heartHavenDialog .hh-breath-play .hh-breath-orb{width:175px;height:175px;margin:0;transform:scale(var(--breath-scale,.7));animation:none;transition:transform .1s linear;box-shadow:0 0 0 12px #80bdb52b,0 0 40px #f9e79399}
.hh-breath-orb>span{width:90%;height:95%;display:grid;place-items:center}.hh-breath-orb .hh-pet{width:100%;height:100%;filter:drop-shadow(0 4px #59889820)}
.hh-breath-count{position:absolute;bottom:0;left:calc(50% - 23px);width:46px;height:46px;display:grid;place-items:center;border:3px solid #fff5d0;background:#597f7b;color:white;border-radius:50%;font-size:22px;font-weight:900;box-shadow:0 3px #b2d2c4}
.hh-breath-play .hh-breath-cue{font-size:clamp(23px,2.3vw,32px);font-family:Fredoka,Nunito,sans-serif;color:#3d6665;margin:12px 0 5px}.hh-breath-description{display:block;font-size:14px;line-height:1.5;max-width:420px;margin:auto}.hh-breath-play .hh-breath-progress{display:flex;gap:10px;justify-content:center;margin:15px 0}.hh-breath-progress i{font-style:normal;color:#a2bcb3;border:1px solid #b9d0c8;border-radius:50%;height:29px;width:29px;display:grid;place-items:center;background:#fff}.hh-breath-progress i.current{background:#7cb8a5;color:#fff4cc;border-color:#658d7d;box-shadow:0 0 0 3px #cbe7dc}.hh-breath-progress i.complete{background:#fff0ac;color:#6c8571}.hh-breath-options{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:15px}.hh-breath-options .hh-button{font-size:12px;min-height:39px;padding:8px 12px}.hh-breath-play>p:last-child{font-size:12px;margin-top:18px}
@media(max-width:1000px){.hh-r-real-list>span{font-size:11px;gap:7px}.hh-r-real-list .hh-object-art{width:28px;height:28px;flex-basis:28px}.hh-housemate-activities b{font-size:12px}.hh-housemate-activities .hh-button{gap:5px}}
@media(max-width:600px){#heartHavenDialog .hh-roaming-pet{width:15%}.hh-particle{font-size:16px}.hh-housemate-activities{gap:7px}.hh-housemate-activities>div{padding:6px}.hh-housemate-activities .hh-button:not(.hh-recall){flex-direction:column;text-align:center}.hh-housemate-activities .hh-pet,.hh-housemate-activities .hh-owned-art{width:38px;height:40px;flex-basis:40px}.hh-housemate-activities small{font-size:9px}.hh-housemate-activities .hh-recall{font-size:9px;line-height:1.3}.hh-real-actions{padding:15px}.hh-real-action{padding:11px;gap:10px}.hh-real-action>span:first-child{width:55px;flex-basis:55px}.hh-real-action .hh-object-art{height:62px}.hh-real-action b{font-size:15px}.hh-real-action small{font-size:12px}.hh-do-this{padding:13px}.hh-do-this p{font-size:15px}.hh-breath-play{padding:18px 12px}.hh-breath-how{font-size:11px;gap:5px}.hh-breath-how li{padding:9px 4px}.hh-breath-stage{height:202px}.hh-breath-ring{width:182px;height:182px}#heartHavenDialog .hh-breath-play .hh-breath-orb{width:155px;height:155px}.hh-breath-description{font-size:13px}.hh-breath-options{flex-direction:column}.hh-breath-play>.hh-primary{width:100%;font-size:16px;min-height:49px}}
#heartHavenDialog.hh-reduced .hh-breath-orb{transform:scale(.85)!important}.hh-reduced .hh-care-rest .hh-pet-body{transform:translateY(6%) rotate(-9deg) scale(1,.9)}
@media(prefers-reduced-motion:reduce){#heartHavenDialog .hh-breath-orb{transform:scale(.85)!important}}
/* 5.49 · Crisp live pixel companions, clear floor navigation and a visible breathing light. */
.hh-pixel-actor{position:relative;display:inline-block;width:100%;aspect-ratio:144/160;isolation:isolate}
.hh-pixel-actor>.hh-pixel-source{display:block;width:100%;height:100%}.hh-pixel-source>svg{width:100%;height:100%}
.hh-pixel-actor>canvas{display:none;width:100%;height:100%;image-rendering:pixelated;image-rendering:crisp-edges;object-fit:contain}
.hh-pixel-actor.pixel-ready>.hh-pixel-source{display:none}.hh-pixel-actor.pixel-ready>canvas{display:block}
.hh-pixel-fallback>.hh-pixel-source{image-rendering:pixelated}
#heartHavenDialog .hh-roaming-pet{width:13.5%;min-width:44px;aspect-ratio:144/160;animation:none!important;filter:drop-shadow(0 3px 1px #44335524);outline:none!important;touch-action:manipulation}
#heartHavenDialog .hh-roaming-pet .hh-pet-body{width:100%;height:100%;animation:none!important;transform:none!important}
#heartHavenDialog .hh-roaming-pet .hh-owned-art{aspect-ratio:144/160;display:block;width:100%;height:100%}
#heartHavenDialog .hh-roaming-pet:focus-visible:after{border:2px dashed #fff1ad;box-shadow:0 0 0 3px #8c68b9}
.hh-roaming-pet[data-station].hh-care-rest{width:11%!important}
#heartHavenDialog .hh-roaming-pet .hh-pet-name{bottom:0!important;font-size:clamp(8px,.8vw,11px)!important;box-shadow:0 2px #61476a30;border-color:#dbc29b;padding:2px 7px!important;pointer-events:none}
.hh-roaming-pet.active .hh-pet-name{background:#fff1b7;color:#674d4f;border-color:#e6bc64}
.hh-roaming-pet .hh-pet-name i{color:#9670b1;font-style:normal}
.hh-placed.hh-occluding{opacity:.2;filter:saturate(.5);transition:opacity .25s}
.hh-walk-target{position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center;border:2px solid #fff2ac;border-radius:50%;width:25px;height:13px;background:#bb83cf65;color:#fff4b6;z-index:95;pointer-events:none;box-shadow:0 0 0 5px #fff0a42b,0 0 15px #ffcfa1;animation:hh-target-pulse 1s ease-in-out infinite;font-size:13px}
@keyframes hh-target-pulse{50%{box-shadow:0 0 0 8px #fff0a411,0 0 21px #ffcfa1}}
.hh-room-label{max-width:calc(100% - 24px)}.hh-room-label i{font-size:9px}
.hh-scene:not(.editing){cursor:crosshair}.hh-scene .hh-roaming-pet,.hh-scene [data-place]{cursor:pointer}
.hh-scene-message{pointer-events:none;bottom:5px;font-size:11px;line-height:1.4;z-index:190;padding:6px 12px;max-width:90%}
.hh-resident-strip .hh-pixel-actor{width:45px;height:48px}.hh-owned-picker .hh-pixel-actor{height:180px;width:100%;display:block}
.hh-housemate-activities .hh-pixel-actor{width:40px;flex:0 0 40px;height:46px}.hh-care-profile>.hh-pixel-actor{width:95px;flex:0 0 95px;height:110px}
/* The light itself is the activity focal point, placed before the instructions. */
.hh-light-first{grid-template-columns:minmax(220px,.65fr) minmax(0,1.35fr)}
.hh-light-first .hh-activity-copy{padding:22px}.hh-light-first .hh-r-steps{margin:10px 0 14px}
.hh-light-first .hh-activity-scene{min-height:470px;max-height:650px}
.hh-light-first .hh-breath-play{position:relative;background:radial-gradient(ellipse at 50% 30%,#363461,#20283f 70%);border:2px solid #d3b986;color:#fff0dc;padding:20px;overflow:hidden;box-shadow:inset 0 0 30px #8270a530,0 4px #d5c1de}
.hh-light-first .hh-breath-play:before{content:'✦ · ✧　 ·　✦　✧　·　✦';position:absolute;top:23%;left:4%;right:4%;color:#dbca9170;letter-spacing:8px;pointer-events:none}
.hh-light-first .hh-breath-play .hh-eyebrow{color:#ead7a4}.hh-light-first .hh-breath-play h3{color:#fff3cd;font-size:24px;margin:5px 0 9px}
.hh-light-first .hh-light-instruction{color:#e7deef!important;font-size:14px;max-width:460px;margin:0 auto 8px}
.hh-light-first .hh-breath-stage{height:207px;margin:0 auto 6px;max-width:370px}
.hh-light-first .hh-breath-ring{width:180px;height:180px;border:1px solid #fbe3a158;background:radial-gradient(circle,#f2d27e19,transparent 70%)}
#heartHavenDialog .hh-light-first .hh-breath-orb{position:relative;width:150px;height:150px;background:radial-gradient(circle at 38% 31%,#fffceb 0,#fff1b7 24%,#f3cd65 60%,#d6a147 90%);border:2px solid #fff0ba;box-shadow:0 0 20px #ffdfa977,0 0 calc(25px + var(--breath-glow,.4)*45px) #ffc871a3,inset -5px -8px 19px #d5963780;z-index:1;transform:scale(var(--breath-scale,.72))}
.hh-light-core{font-style:normal;font-size:58px;color:#fff9dd;text-shadow:0 2px 1px #d3a64f,0 0 16px #fff8da}
.hh-breath-guide{position:absolute;width:91px;height:107px;bottom:4px;right:0;transform:rotate(-7deg);filter:drop-shadow(0 3px #0002)}.hh-breath-guide .hh-pet{width:100%;height:100%}
.hh-light-first .hh-breath-count{width:34px;height:34px;left:calc(50% - 17px);bottom:0;background:#74638f;border:2px solid #f7e2ac;box-shadow:none;font-size:18px;z-index:3}
.hh-light-first .hh-breath-play .hh-breath-cue{color:#fff0bd;margin:3px 0 6px;font-size:26px}
.hh-light-first .hh-breath-description{font-size:12px;color:#d9d0e3}
.hh-light-first .hh-breath-play>.hh-primary{background:linear-gradient(#ffecb0,#efcb76);color:#51446b;border-color:#f7df9b;box-shadow:0 4px #9e784f;min-height:49px;padding:11px 27px;font-size:16px}
.hh-light-first .hh-breath-progress{margin:9px 0 12px}.hh-light-first .hh-breath-progress i{height:23px;width:23px;background:#473d66;border-color:#796b95;color:#bbaaaf;font-size:12px}
.hh-light-first .hh-breath-progress i.current,.hh-light-first .hh-breath-progress i.complete{color:#695070;background:#ffe6a0;box-shadow:none}
.hh-light-first .hh-breath-options .hh-button{background:#45405f;color:#eee3f6;border:1px solid #8c7aa6;box-shadow:none;font-size:11px;min-height:33px;padding:6px 9px}
.hh-light-first .hh-breath-play>p:last-child{color:#d4cadf!important;font-size:11px;margin:13px 0 0}
@media(max-width:900px){.hh-light-first{grid-template-columns:1fr}.hh-light-first .hh-activity-scene{min-height:0;height:115px;position:relative}.hh-light-first .hh-activity-title{left:20px;top:14px}.hh-light-first .hh-activity-title h1{font-size:28px!important;margin:0}.hh-light-first .hh-activity-title p{font-size:14px;margin:3px 0}.hh-light-first .hh-activity-pet{left:auto;right:20px;width:90px;height:95px;bottom:0}.hh-light-first .hh-activity-scene-note{display:none}.hh-light-first .hh-activity-copy{padding:17px}}
@media(max-width:600px){#heartHavenDialog .hh-roaming-pet{width:16%}.hh-roaming-pet[data-station].hh-care-rest{width:13%!important}.hh-light-first .hh-breath-play{padding:15px 12px}.hh-light-first .hh-r-steps{font-size:9px}.hh-light-first .hh-breath-play h3{font-size:21px}.hh-light-first .hh-light-instruction{font-size:12px}.hh-light-first .hh-breath-options{flex-direction:row}.hh-room-label{top:8px;left:8px;font-size:8px;padding:5px 7px}.hh-room-label i{font-size:7px}.hh-scene-message{font-size:8px;padding:4px 6px}.hh-owned-picker .hh-pixel-actor{height:135px}}
.hh-placed.hh-occluding{opacity:.28;pointer-events:auto}
.hh-clear-view-note{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:9px 12px;background:#fff4dd;border-radius:0 0 16px 16px;color:#756047;font-size:11px;line-height:1.5}.hh-clear-view-note .hh-button{min-height:32px;padding:5px 8px;font-size:11px;flex-shrink:0}
.hh-care-showcase{position:relative;display:flex;align-items:center;flex-direction:column;text-align:center;padding:13px 9px 8px;margin:10px 0 16px;border:1px solid #d6bcd9;border-radius:18px;background:radial-gradient(ellipse at 50% 45%,#fff9df,#eadcf5 80%);box-shadow:inset 0 0 0 4px #fff8e94d}
.hh-care-showcase .hh-eyebrow{font-size:8px;letter-spacing:1px}.hh-care-showcase>strong{font-size:17px;color:#624774;margin-top:4px}.hh-care-showcase>.hh-pixel-actor{height:178px;width:160px;flex:none}.hh-care-showcase>small{font-size:10px;color:#776189;line-height:1.5}.hh-care-showcase .hh-button{font-size:11px;min-height:30px;padding:4px 8px;margin-top:5px;box-shadow:none;border:0;background:transparent}
.hh-light-first .hh-breath-play>.hh-primary{margin:8px auto 6px}

/* v5.50: the ninth entrance belongs to the same cover row. Small screens use
   a labelled swipeable row, retaining readable cards and generous touch targets. */
#loginView .login-world-trail{grid-template-columns:repeat(9,minmax(0,1fr))!important;gap:8px}
#loginView .login-world-trail>.login-world-card{grid-column:auto!important;min-width:0}
#loginView .login-world-trail .login-world-copy b{overflow-wrap:anywhere}
@media(max-width:1300px){
 #loginView .login-world-trail{display:grid;grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:minmax(150px,22%);overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;padding:3px 2px 12px;overscroll-behavior-x:contain;scrollbar-width:thin}
 #loginView .login-world-trail>.login-world-card{scroll-snap-align:start}
 #loginView .login-world-trail .login-world-copy b{font-size:15px}
}
@media(max-width:540px){#loginView .login-world-trail{grid-auto-columns:minmax(155px,46%)}}

#loginView .login-world-card[data-world=wordforge] .login-world-copy b{font-size:13px;overflow-wrap:normal}
@media(max-width:1300px){#loginView .login-world-trail::after{content:"Swipe to explore →";display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:800;color:#56397c;min-width:150px;padding:12px}}

/* 5.51 · A living woodland backdrop, continuous editing and grounded companions. */
#heartHavenDialog .hh-shell{background:#e8d9ef url(assets/haven-background-v551.png) center center/cover no-repeat}
#heartHavenDialog .hh-main{background:linear-gradient(90deg,#fff7ef0a,#fff9f285 22%,#fff9f285 78%,#fff7ef0a)}
#heartHavenDialog .hh-section-heading{padding:16px 22px;border-radius:22px;background:#fff9eee8;border:1px solid #ead7e8;box-shadow:0 5px 18px #71578418}
#heartHavenDialog .hh-footer-note{background:#fffaf1ed;padding:14px;border-radius:18px}
#heartHavenDialog .hh-edit-toolbar{position:sticky;bottom:0;z-index:210;background:#fff6df;box-shadow:0 -4px 20px #58476625}
.hh-scene.editing:not(.placing) .hh-placed{pointer-events:auto;touch-action:none}
.hh-scene.editing .hh-roaming-pet,.hh-scene.editing .hh-garden-bed{pointer-events:none}
.hh-scene.room-home .hh-grid{inset:50% 0 5%;background-size:5% calc(100% / 9)}
.hh-scene.room-garden .hh-grid{inset:45% 0 5%;background-size:5% calc(100% / 10)}
.hh-roaming-pet.hh-care-read .hh-pet-name{background:#fff0b6!important}
@media(max-width:740px){#heartHavenDialog .hh-main{background:#fff6ef8c}#heartHavenDialog .hh-edit-toolbar{gap:8px;padding:10px}#heartHavenDialog .hh-edit-toolbar .hh-button{font-size:12px;min-height:42px;padding:8px 10px}}

/* Each of the nine learning worlds has its own recognisable colour. */
#loginView .login-world-card[data-world=dictation]{--world-ink:#263f78;--world-accent:#9acaff;border-color:#6eacff}
#loginView .login-world-card[data-world=reading]{--world-ink:#235936;--world-accent:#b1ee93;border-color:#85cb65}
#loginView .login-world-card[data-world=synonyms]{--world-ink:#076267;--world-accent:#9af4ed;border-color:#54c9c3}
#loginView .login-world-card[data-world=speaking]{--world-ink:#713258;--world-accent:#ffc3de;border-color:#e78cb9}
#loginView .login-world-card[data-world=grammar]{--world-ink:#7d4320;--world-accent:#ffdb9a;border-color:#eba85e}
#loginView .login-world-card[data-world=idioms]{--world-ink:#553284;--world-accent:#dac0ff;border-color:#b28be5}
#loginView .login-world-card[data-world=wordforge]{--world-ink:#7b2d36;--world-accent:#ffc3a9;border-color:#ee8b88}
#loginView .login-world-card[data-world=clinic]{--world-ink:#245d80;--world-accent:#a4eeff;border-color:#69c6e7}
#loginView .login-world-card[data-world=heart]{--world-ink:#576323;--world-accent:#e1edaa;border-color:#bacd79}
#loginView .login-world-trail>.login-world-card{background:var(--world-ink);box-shadow:0 5px 0 color-mix(in srgb,var(--world-ink) 75%,#172335)}
#loginView .login-world-trail .login-world-copy{background:linear-gradient(145deg,color-mix(in srgb,var(--world-ink) 92%,white),var(--world-ink));color:#fff}
#loginView .login-world-trail .login-world-copy>b{color:#fff}
#loginView .login-world-trail .login-world-copy>small{color:#fff3ed}
#loginView .login-world-trail .login-world-enter{color:var(--world-accent)}

@media(max-width:740px){
 #heartHavenDialog .hh-edit-toolbar{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:8px}
 #heartHavenDialog .hh-edit-toolbar>span{grid-column:1/-1;order:-1;min-width:0}
 #heartHavenDialog .hh-edit-toolbar>div{grid-column:1/-1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
 #heartHavenDialog .hh-edit-toolbar>div .hh-button{font-size:11px;white-space:normal;padding:6px 3px;min-width:0}
 #heartHavenDialog .hh-edit-toolbar>.hh-button{min-height:44px;white-space:nowrap}
}

/* Actual home illustrations replace the four repeated house icons. */
.hh-theme-preview{position:relative;display:block;width:100%;max-width:340px;height:100%;min-height:130px;border:3px solid #fff7e3;border-radius:17px;background:#decced;box-shadow:0 5px 0 #634d7133;overflow:hidden}
.hh-theme-preview>span{position:absolute;padding:0;letter-spacing:normal;background-image:var(--hh-world-image);background-size:var(--hh-world-size);background-repeat:no-repeat}
.hh-theme-preview>.hh-theme-room{inset:0;background-position:var(--hh-home-pos)}
.hh-theme-preview>.hh-theme-garden{right:6px;bottom:7px;width:42%;height:45%;border:2px solid #fff8e7;border-radius:11px;background-position:var(--hh-garden-pos);box-shadow:0 3px 9px #35264677}
.hh-theme-preview>b{position:absolute;left:8px;bottom:9px;max-width:52%;padding:6px 8px;border-radius:9px;background:#2c294cd9;color:#fff6de;font-size:12px;line-height:1.15;text-shadow:none}
.hh-preview-bar>.hh-theme-preview{flex-shrink:0;min-height:0}.hh-preview-bar .hh-theme-preview>b{display:none}
.theme-sakura .hh-floor-finish{clip-path:polygon(17% 44%,83% 44%,100% 51%,100% 100%,0 100%,0 51%)}
.theme-ocean .hh-floor-finish{clip-path:polygon(12% 42%,86% 42%,100% 56%,100% 100%,0 100%,0 56%)}

/* Small, inviting handheld-style care dashboard. Each meter is a care shortcut. */
.hh-needs-card{margin:16px 0;padding:13px;border:2px solid #d7c4ed;border-radius:22px;background:linear-gradient(145deg,#fcf5ff,#f1f8ed);box-shadow:0 4px #d9c9e640,inset 0 0 0 3px #ffffff80}
.hh-needs-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:12px;flex-wrap:wrap}.hh-needs-heading>span{font-size:11px;letter-spacing:1.1px;font-weight:900;color:#735484}.hh-needs-heading>b{font-size:11px;padding:5px 8px;border-radius:20px;background:#fff7d8;color:#806239}
.hh-needs-bars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hh-button.hh-need-meter{display:block;min-width:0;width:100%;padding:10px 9px;border-radius:15px;background:#fffdfb;border:1px solid color-mix(in srgb,var(--need-colour) 45%,white);box-shadow:0 3px color-mix(in srgb,var(--need-colour) 24%,white);text-align:left;min-height:112px;color:#51416b;transition:transform .18s,box-shadow .18s}
.hh-button.hh-need-meter:hover{transform:translateY(-2px);box-shadow:0 5px color-mix(in srgb,var(--need-colour) 38%,white)}.hh-need-meter:focus-visible{outline:3px solid #765dc1;outline-offset:3px}
.hh-need-title{display:grid;grid-template-columns:30px 1fr;align-items:center;gap:3px 5px}.hh-need-icon{width:30px;height:32px;grid-column:1;grid-row:1}.hh-need-title>b{grid-column:1/-1;grid-row:2;font-size:12px;line-height:1.4;letter-spacing:0;white-space:nowrap}.hh-need-title>strong{grid-column:2;grid-row:1;text-align:right;font-size:21px;line-height:1}.hh-need-title>strong>small{font-size:11px;font-weight:600;margin-left:2px}
.hh-need-track,.hh-moisture-track{display:block;height:12px;border-radius:5px;margin:10px 0 6px;overflow:hidden;background:#e8e4ed;box-shadow:inset 0 2px 2px #44305e1c;border:1px solid #d7ccdf}
.hh-need-track>i,.hh-moisture-track>i{display:block;height:100%;border-radius:4px;background:linear-gradient(0deg,var(--need-colour),color-mix(in srgb,var(--need-colour) 65%,white));box-shadow:inset 0 2px #ffffff75;transition:width .7s ease}
.hh-need-prompt{display:flex;justify-content:space-between;font-size:10px;line-height:1.25;color:#6f6080;gap:3px}.hh-need-prompt>b{font-size:14px;color:var(--need-colour)}.hh-need-meter.needs-care{border-width:2px;background:#fff9eb}
.hh-need-tip{display:flex;flex-direction:column;gap:4px;margin:13px 0 8px;padding:10px 11px;background:#fffef2;border:1px solid #eddb9f;border-radius:3px 14px 14px 14px;font-size:13px;line-height:1.4}.hh-need-tip>b{color:#896531;font-size:11px}.hh-needs-note{display:block;font-size:11px;color:#7b6985;line-height:1.5}
.hh-garden-growth .hh-garden-live{display:block;width:100%;margin:10px 0}.hh-watering-card{padding:12px;text-align:left;border:1px solid #b8dcca;border-radius:16px;background:linear-gradient(135deg,#effbf7,#fffbea)}.hh-watering-card>div{display:flex;justify-content:space-between;gap:8px;font-size:14px;color:#346b5b}.hh-watering-card strong{color:#207c87}.hh-moisture-track{height:14px;background:#dcebe3;border-color:#b9d7c7}.hh-moisture-track>i{--need-colour:#3cb9ad}.hh-watering-card p{margin:8px 0 5px;font-size:13px;font-weight:800;color:#3a6b50}.hh-watering-card small{display:block;line-height:1.5;font-size:11px;color:#60775d;margin-bottom:9px}.hh-watering-card .hh-button{min-height:40px;font-size:13px;padding:8px 10px}
.hh-reduced .hh-need-track>i,.hh-reduced .hh-moisture-track>i{transition:none}
@media(min-width:741px) and (max-width:1100px){.hh-care-panel>.hh-needs-live,.hh-care-panel>.hh-housemate-tabs{grid-column:1/-1;min-width:0}.hh-care-panel .hh-needs-bars{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.hh-need-track>i,.hh-moisture-track>i{transition:none}}

/* Wall ribbon decorations keep all four illustrated rooms in full colour. */

/* Three explicit home slots: independent from the selected walking/chat pet. */
.hh-resident-manager{padding:22px;background:linear-gradient(125deg,#fff7dc,#f6ecff 60%,#e7f8f4);border:2px solid #dac9ee;border-radius:24px;box-shadow:0 5px #c7b4dd40;margin:0 0 28px}
.hh-resident-manager-heading{display:flex;align-items:start;justify-content:space-between;gap:16px}.hh-resident-manager h2{margin:8px 0!important}.hh-resident-manager p{margin:8px 0 18px!important;font-size:15px}
.hh-resident-slots,.hh-swap-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.hh-resident-slot{position:relative;display:flex;align-items:center;flex-direction:column;gap:8px;min-width:0;padding:18px;background:#fffcf4;border:2px solid #dccce9;border-radius:21px;box-shadow:0 4px #ad8bc124}
.hh-resident-slot.is-selected{border-color:#8d61ba;background:#f4eaff;box-shadow:0 0 0 3px #d5b5f466,0 5px #9b70b340}
.hh-slot-number{font-size:11px;font-weight:800;letter-spacing:1px;color:#806094}.hh-resident-slot>.hh-owned-art{width:105px;height:116px}.hh-resident-slot h3{margin:0!important;font-size:22px!important}.hh-resident-slot>.hh-primary{width:100%;min-height:46px;white-space:normal}.hh-resident-slot>.hh-text-button{font-size:12px;min-height:34px}.hh-empty-slot{display:grid;place-items:center;width:105px;height:116px;font-size:50px;color:#b595c8}
.hh-slot-instruction{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 2px 0;font-size:14px;color:#64527c}.hh-slot-instruction .hh-button{flex-shrink:0}
.hh-swap-choices{margin:20px 0}.hh-swap-choices>.hh-button{display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 10px;white-space:normal}.hh-swap-choices .hh-owned-art{width:86px;height:96px}.hh-swap-choices strong{font-size:14px}
@media(max-width:600px){.hh-resident-manager{padding:14px}.hh-resident-manager-heading{display:block}.hh-resident-slots{grid-template-columns:1fr;gap:12px}.hh-resident-slot{display:grid;grid-template-columns:72px minmax(0,1fr);column-gap:14px;padding:14px;text-align:left}.hh-resident-slot>.hh-owned-art,.hh-resident-slot>.hh-empty-slot{grid-column:1;grid-row:1/4;width:72px;height:80px}.hh-resident-slot>.hh-slot-number,.hh-resident-slot>h3,.hh-resident-slot>.hh-primary{grid-column:2}.hh-resident-slot>.hh-text-button{grid-column:1/-1}.hh-slot-instruction{display:block}.hh-swap-choices{grid-template-columns:1fr;gap:10px}.hh-swap-choices>.hh-button{display:grid;grid-template-columns:55px 1fr;text-align:left}.hh-swap-choices .hh-owned-art{grid-row:1/3;grid-column:1;width:55px;height:62px}.hh-swap-choices .hh-slot-number,.hh-swap-choices strong{grid-column:2}}

/* Friendship forms: a compact, readable game progression strip. */
.hh-growth{margin:20px 0;padding:clamp(16px,2vw,30px);border:2px solid #b7d5c7;border-radius:26px;background:radial-gradient(circle at 95% 0,#ffe9ac88,transparent 45%),linear-gradient(135deg,#f8fff7,#f1f5ff);box-shadow:0 7px 0 #c9dace,0 18px 35px #4b726716}.hh-growth-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.hh-growth h2{margin:6px 0;font-size:clamp(20px,2vw,28px)}.hh-growth-medal{min-width:100px;display:grid;text-align:center;font-size:40px;color:#b77827}.hh-growth-medal small{font-size:12px;color:#4a5473}.hh-growth-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.hh-growth-track article{min-width:0;padding:14px 10px;display:flex;align-items:center;flex-direction:column;text-align:center;border:1px solid #d7d1e8;border-radius:20px;background:#fffcf4;box-shadow:0 5px 0 #dad5e8}.hh-growth-track article.chosen{border:2px solid #378f90;box-shadow:0 5px 0 #85c9bf;background:#f5fffc}.hh-growth-track .hh-pixel-actor{width:120px!important;max-width:100%;height:auto!important;aspect-ratio:144/160}.hh-growth-track h3{font-size:15px;min-height:2.4em;margin:6px 0}.hh-growth-track p{font-size:12px;line-height:1.5;flex:1}.hh-growth-track small{font-size:11px}.hh-growth-track button{margin-top:12px;width:100%;font-size:12px;min-height:42px}.hh-growth-track .locked .hh-pixel-actor{opacity:.58}.hh-growth-next{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:14px;border-radius:14px;background:#e1f2e7}.hh-growth-next meter{width:100%;height:18px;accent-color:#328f83}.hh-growth-note{font-size:12px;color:#6e6b83}.hh-growth-unlocked{animation:hh-growth-arrive 1.5s ease-out}.hh-growth details{margin:15px 0}@keyframes hh-growth-arrive{0%{box-shadow:0 0 0 16px #ffe49a}100%{box-shadow:0 7px 0 #c9dace}}@media(max-width:700px){.hh-growth-track{grid-template-columns:repeat(2,minmax(0,1fr))}.hh-growth-heading{align-items:flex-start}.hh-growth-medal{min-width:70px}}@media(prefers-reduced-motion:reduce){.hh-growth-unlocked{animation:none}}

/* Colourful, honest shop previews for the replacement wall decorations. */
.hh-wall-preview{position:relative;display:block;width:100%;max-width:340px;height:100%;min-height:130px;border:3px solid #fff7e3;border-radius:17px;background:url(assets/pixel-worlds.png) 0 0/200% 200%;box-shadow:0 5px 0 #634d7133;overflow:hidden}
.hh-wall-preview .hh-wall-ribbon{top:7%;width:12%;height:51%;left:10%;min-width:0}
.hh-wall-preview .hh-wall-ribbon:last-child{left:auto;right:10%}
.hh-wall-preview .hh-wall-ribbon:after{font-size:16px}
.hh-wall-preview.original .hh-wall-ribbon{display:none}
.hh-preview-bar>.hh-wall-preview{width:85px;height:85px;min-height:0;flex-shrink:0}
.hh-preview-bar>.hh-wall-preview .hh-wall-ribbon:after{font-size:9px}
