.pet-launch{display:flex;align-items:center;gap:24px;padding:20px 28px;margin:20px 0 28px;border:2px solid #b3d9cb;border-radius:24px;background:linear-gradient(115deg,#e0f5ec,#fff);box-shadow:0 5px 0 #c8e3d8}.pet-launch-art{width:110px;height:110px;flex-shrink:0}.pet-launch-art img,.pet-launch-art svg{width:100%;height:100%;object-fit:contain}.pet-launch h2{margin:4px 0}.pet-launch p{margin:6px 0 12px}.pet-launch>button{margin-left:auto;white-space:nowrap}.pet-wallet{display:inline-block;color:#6d4700;background:#ffdf72;border:2px solid #d3a430;padding:8px 14px;border-radius:999px;font-weight:800;font-size:1.05rem}.pet-today{margin-left:12px;font-size:.9rem;color:#355f54}.pet-room{max-width:1120px;margin:auto}.pet-summary{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;margin:12px 0 22px}.pet-summary>span{font-size:1rem;color:#355f54}.pet-picker{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.pet-choice{display:flex;flex-direction:column;align-items:center;background:white;border:2px solid #d4e3db;border-radius:18px;padding:8px 8px 12px;min-width:0;color:#244b3d}.pet-choice>span{height:90px;width:100%;display:block}.pet-choice svg,.pet-choice img{height:100%;width:100%;object-fit:contain}.pet-choice strong{font-size:1.1rem}.pet-choice small{font-size:.875rem;margin-top:4px}.pet-choice.chosen{border-color:#167657;background:#e8f7ed;box-shadow:0 0 0 2px #167657}.pet-care{display:grid;grid-template-columns:1.05fr 1fr;gap:32px;margin-top:26px;align-items:center;background:#fff;border:1px solid #d5e2da;border-radius:26px;padding:26px}.pet-habitat{position:relative;isolation:isolate;background:radial-gradient(ellipse at 50% 65%,#d5ead3,transparent 67%),linear-gradient(#e3f6f6,#edf6e3);border-radius:22px;min-height:330px;display:flex;align-items:center;justify-content:center;overflow:hidden}.pet-art{height:310px;width:100%;position:relative;z-index:2}.pet-art>svg,.pet-art>img{width:100%;height:100%;object-fit:contain}.pet-stage-label{position:absolute;left:18px;top:16px;font-size:.9rem;font-weight:700;color:#285846}.pet-equipped{position:absolute;bottom:18px;right:18px;padding:8px 12px;background:#fff8d6;border:2px solid #d4a942;border-radius:12px;color:#745109;font-weight:700;z-index:4}.pet-habitat.gear-lamp:before{content:'';position:absolute;inset:10%;background:radial-gradient(#fff8aa,#ffe57280,transparent 70%);z-index:1}.pet-habitat.gear-shield:after{content:'';position:absolute;width:70%;height:85%;border:5px solid #2db8db;border-radius:48% 48% 38% 38%;box-shadow:0 0 20px #54d7f0,inset 0 0 25px #54d7f050;z-index:3;pointer-events:none}.pet-habitat.gear-star .pet-equipped{font-size:1.3rem;background:#ffe174;box-shadow:0 0 20px #ffd33570}.pet-care-panel h2{font-size:2rem;margin:8px 0}.pet-care-panel h2 small{font-size:1.25rem;color:#24745c}.pet-care-panel p{line-height:1.7}.pet-xp-label{display:flex;justify-content:space-between;font-size:.9rem;margin-top:20px;gap:10px}.pet-xp{height:15px;background:#e6ebe8;border-radius:15px;overflow:hidden;margin:8px 0 18px}.pet-xp span{display:block;height:100%;background:linear-gradient(90deg,#218263,#62bc71);border-radius:15px}.pet-feed{width:100%;padding:14px!important;white-space:normal}.pet-helper{font-size:.9rem;color:#486657;margin:10px 0 16px}.pet-notice{color:#155b43;font-weight:700;min-height:1.7em;margin-bottom:0}.pet-evolution{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:0;margin:24px 0}.pet-evolution li{min-width:0}.pet-evolution button{width:100%;display:flex;flex-direction:column;gap:6px;align-items:center;background:#e9eeea;color:#53675d;border:2px solid transparent;border-radius:16px;padding:14px 5px;min-height:78px}.pet-evolution strong{font-size:1rem}.pet-evolution small{font-size:.875rem}.pet-evolution .reached button{background:#e4f3e5;color:#175c45}.pet-evolution button[aria-pressed=true]{border-color:#217457}.pet-evolution button:disabled{opacity:1}.pet-shop{background:white;border:1px solid #d5e2da;border-radius:24px;padding:26px}.pet-shop h2{margin:0 0 8px}.pet-shop-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.pet-shop-heading p{font-size:1rem;color:#486657;margin:0 0 20px}.pet-gear-list{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.pet-gear-list article{border:1px solid #cfded6;border-radius:18px;padding:18px;display:flex;align-items:flex-start;gap:14px;flex-wrap:wrap}.pet-gear-list h3{margin:0 0 8px;font-size:1.1rem}.pet-gear-list p{font-size:.9rem;line-height:1.6}.pet-gear-list article>button{width:100%;margin-top:auto}.gear-icon{font-size:2rem;width:48px;height:48px;display:grid;place-items:center;background:#fff0b4;color:#9e6800;border-radius:50%;flex-shrink:0}.gear-icon-shield{background:#dcf8ff;color:#137393}.pet-gear-list article>div{flex:1;min-width:90px}.pet-rest{margin:24px 0;font-size:1rem;font-weight:700;color:#38594a;text-align:center}.pet-rules{background:#edf4ef;border-radius:16px;padding:16px 20px;line-height:1.75}.pet-rules summary{font-weight:700;cursor:pointer}.pet-rules p{font-size:1rem}.pet-error{padding:18px;background:#fff0cf;border-radius:16px;color:#784d00}.pet-reward{font-size:1rem;font-weight:700;color:#175e45;padding:10px 0}.pet-reward:empty{display:none}.pet-confirm{border:2px solid #307d63;border-radius:24px;padding:28px;max-width:460px;width:calc(100% - 40px);color:#244b3d}.pet-confirm::backdrop{background:#10291bb3}.pet-confirm h2{margin:0 0 14px;font-size:1.5rem}.pet-confirm p{line-height:1.7}.pet-complete{display:block;color:#17684b}.pet-celebrate .pet-art{animation:pet-grow .6s ease-out}@keyframes pet-grow{from{transform:scale(.9);opacity:.6}to{transform:scale(1);opacity:1}}@media(prefers-reduced-motion:reduce){.pet-celebrate .pet-art{animation:none}}@media(max-width:700px){.pet-launch{gap:12px;padding:18px;flex-wrap:wrap}.pet-launch-art{width:75px;height:100px}.pet-launch>div:nth-child(2){flex:1}.pet-launch>button{width:100%;margin:0}.pet-today{display:block;margin:8px 0 0}.pet-picker{gap:6px}.pet-choice{padding:4px 2px 9px;border-radius:13px}.pet-choice>span{height:60px}.pet-choice strong{font-size:1rem}.pet-choice small{font-size:.875rem}.pet-care{grid-template-columns:1fr;padding:16px;gap:18px}.pet-habitat{min-height:250px}.pet-art{height:245px}.pet-care-panel h2{font-size:1.7rem}.pet-evolution{gap:6px}.pet-evolution strong{font-size:.9rem}.pet-evolution small{font-size:.875rem}.pet-shop{padding:18px}.pet-shop-heading{align-items:flex-start}.pet-gear-list{grid-template-columns:1fr}.pet-gear-list article{align-items:center}.pet-gear-list article>button{width:auto}.pet-summary{gap:10px 16px}.pet-rules{padding:14px}.pet-rest{text-align:left}}@media(max-width:380px){.pet-picker{grid-template-columns:repeat(3,1fr)}.pet-evolution{grid-template-columns:repeat(2,1fr)}}

.pet-daily{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0 0 22px}.pet-daily>span{display:flex;flex-direction:column;gap:6px;background:#e6f1e9;border-radius:12px;padding:12px 14px;color:#355e4d;font-size:.9rem}.pet-daily strong{font-size:1rem}@media(max-width:700px){.pet-daily{grid-template-columns:repeat(2,1fr);gap:8px}.pet-daily>span{padding:10px}}

.pet-tasks{margin:24px 0;padding:24px;border:1px solid #d2e2d7;border-radius:24px;background:#fff}.pet-tasks h2{margin:0 0 8px;font-size:1.4rem}.pet-task-total{font-size:.9rem;white-space:nowrap;background:#e5f2e8;color:#256747;border-radius:20px;padding:8px 12px}.pet-task-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.pet-task{display:flex;align-items:center;gap:12px;cursor:pointer;border:1px solid #d5e4d9;border-radius:15px;padding:16px;background:#f9fcfa}.pet-task input{width:24px;height:24px;accent-color:#1c7857;flex-shrink:0}.pet-task span{flex:1;min-width:0}.pet-task strong{display:block;font-size:1.05rem}.pet-task small{display:block;font-size:.875rem;margin-top:6px;line-height:1.55;color:#4c695b}.pet-task b{font-size:.875rem;white-space:nowrap;color:#835c12}.pet-task.claimed{background:#edf7ed}.pet-task.claimed b{color:#286641}.pet-task-footer{display:flex;align-items:center;gap:18px;justify-content:space-between;margin-top:14px}.pet-task-footer p{font-size:.9rem;color:#4e675a}.pet-task-footer button{white-space:nowrap}.pet-parent-panel{border:2px solid #a1cbb5;border-radius:20px;padding:20px!important;background:#f5faf6}.parent-task-list{list-style:none;padding:0;margin:16px 0}.parent-task-list li{display:flex;gap:12px;justify-content:space-between;padding:10px 0;border-bottom:1px solid #d7e5db;font-size:1rem}.parent-task-list span{font-size:.9rem}.pet-parent-panel form{display:grid;gap:14px;margin:14px 0}.pet-parent-panel form label{display:grid;gap:7px;font-size:1rem}.pet-parent-panel input{width:100%;box-sizing:border-box;border:1px solid #91b5a4;border-radius:10px;padding:12px;font-size:1.1rem;background:white}.parent-reward-result{color:#175f45;font-weight:700;line-height:1.65}.parent-password-change{margin-top:18px}.parent-password-change summary{cursor:pointer;font-size:.95rem}@media(max-width:700px){.pet-tasks{padding:18px}.pet-task-list{grid-template-columns:1fr}.pet-task{padding:13px;gap:10px}.pet-task-footer{display:block}.pet-task-footer button{width:100%}.pet-task-total{white-space:normal;text-align:center}.pet-parent-panel{padding:16px!important}.parent-task-list li{flex-wrap:wrap}}

.mission-daily{font-size:.9rem!important;font-weight:700;color:#176046!important;margin:12px 0!important}

/* Home progress and the single daily-task page. */
.home-navigation{display:flex;align-items:center;gap:10px}.helper-button{background:#fff1bb;border-color:#ddc471}.home-pet-crew{align-items:start!important}.home-pet-art{height:112px;display:grid;place-items:center}.home-pet-art>img,.home-pet-art>svg{width:100%;height:100%;object-fit:contain}.home-pet-crew figcaption strong{display:block}.home-pet-crew figcaption small{display:block;font-size:.76rem;font-weight:700;line-height:1.45;color:#526d63}.home-pet-status{display:block;font-size:.66rem;font-weight:500;line-height:1.5;min-height:32px;margin-top:4px}.home-pet-crew select{display:block;width:100%;max-width:100%;min-height:44px;border:1px solid #b5d2c5;border-radius:10px;background:#fffdf3;padding:5px 1px;font-size:.7rem;font-weight:700}.home-form-spacer{display:block;min-height:44px}.helper-room>.pet-tasks{margin-top:16px}.helper-room .pet-task-list{grid-template-columns:repeat(2,minmax(0,1fr))}.home-pet-crew figure{min-width:0}
@media(max-width:860px){.home-heading{flex-direction:column;align-items:stretch}.hello-art.home-pet-crew{width:100%;margin:8px auto 0;max-width:560px}}
@media(max-width:600px){.home-pet-art{height:90px}.home-pet-art>svg{height:100%}.home-pet-crew figcaption small{font-size:.66rem}.home-pet-status{font-size:.6rem}.helper-room .pet-task-list{grid-template-columns:1fr}.home-pet-crew select{font-size:.64rem}.home-navigation{gap:7px}.home-navigation .parent-button{font-size:.8rem;padding:9px 11px}}
@media(max-width:460px){.topbar{flex-wrap:wrap;gap:12px}.home-navigation{width:100%;justify-content:flex-end}.home-navigation .parent-button{flex:1;max-width:170px}.home-pet-art{height:72px}.hello-art.home-pet-crew{gap:5px}.home-pet-crew select{appearance:none;text-align:center;font-size:.64rem;padding:4px 0}}

.parent-task-heading{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap}.parent-task-heading h3{margin:0}.parent-task-heading .quiet{font-size:.875rem;padding:10px 14px}.pet-daily{grid-template-columns:repeat(5,minmax(0,1fr))}.vehicle-shop{display:grid;grid-template-columns:280px 1fr;gap:24px;background:#fff7dc;border:2px solid #ddc985;border-radius:24px;padding:22px;margin:22px 0}.vehicle-shop-art{display:grid;place-items:center}.vehicle-shop-art svg{width:100%;height:230px}.vehicle-shop h3{font-size:1.5rem}.vehicle-purchase-confirm{padding:16px;background:#fff1c3;border-radius:14px;margin-top:12px}.vehicle-purchase-confirm .actions{margin-top:10px}.pet-choice strong{line-height:1.5}@media(max-width:600px){.pet-daily{grid-template-columns:1fr 1fr}.vehicle-shop{grid-template-columns:1fr;gap:10px;padding:18px}.vehicle-shop-art svg{height:200px}}

/* One dinosaur house combines care, character lore and actual equipment. */
.house-picker{grid-template-columns:repeat(6,minmax(0,1fr))}.house-picker .pet-choice strong{font-size:.95rem}.house-picker .pet-choice>span{height:100px}.pet-art .dino-portrait{overflow:hidden}.house-description{font-size:1.05rem;line-height:1.9!important}.house-exp-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.house-exp-options button{font-size:1rem;padding:13px 8px}.house-profile-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0}.house-profile-facts>div{background:#e9f3e9;border:1px solid #cddfd0;border-radius:14px;padding:14px}.house-profile-facts dt{font-size:.875rem;color:#4e6b5d}.house-profile-facts dd{font-size:1rem;font-weight:800;margin:7px 0 0}.house-fusion{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:24px 0}.house-fusion span,.house-storage{font-size:.875rem;color:#486758;line-height:1.7}.house-equipment{border:2px solid #c7d7cb;border-radius:24px;overflow:hidden;background:#fffef7;margin:24px 0}.equipment-comparison{display:grid;grid-template-columns:1fr 1fr;background:linear-gradient(120deg,#eaf2e8,#eaf5f5)}.equipment-comparison figure{margin:0;padding:18px;min-width:0;text-align:center}.equipment-comparison figure+figure{background:#fff3ce;border-left:1px solid #ddcb8c}.equipment-comparison svg{display:block;width:100%;height:265px;max-width:100%;overflow:hidden}.equipment-comparison figcaption{font-size:1rem;font-weight:800;padding:10px 0}.equipment-purchase{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:22px}.equipment-purchase h3{font-size:1.5rem;margin:8px 0}.equipment-purchase p{font-size:1rem;line-height:1.8}.equipment-purchase-actions{display:flex;flex-direction:column;gap:12px;min-width:150px;text-align:center}.equipment-purchase-actions strong{font-size:1.2rem;color:#99611c}.house-team-roles{margin-top:20px;font-size:1rem;line-height:1.9}.house-team-roles ul{padding-left:20px}.house-locked{filter:brightness(0);opacity:1}
.pet-choice.choice-locked,.pet-choice.choice-locked.chosen{background:#e6e8eb;color:#5e646c;border-color:#bfc4cb;box-shadow:none}.pet-choice.choice-locked.chosen{outline:2px solid #69717c;outline-offset:1px}.pet-evolution .form-locked button{background:#e6e8eb;color:#5e646c;border-color:#bfc4cb;box-shadow:none}.pet-evolution .form-locked button[aria-pressed=true]{outline:2px solid #69717c;outline-offset:1px}.house-preview-note{background:#edf0f3;color:#4a525e;padding:12px 16px;border:1px solid #c8ced6;border-radius:14px}.equipment-comparison figure.gear-preview-locked{background:#e6e8eb;border-color:#bfc4cb;color:#5e646c}.house-storage{text-align:center;margin-top:22px}
@media(max-width:700px){.house-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.house-picker .pet-choice>span{height:90px}.house-profile-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.equipment-comparison svg{height:170px}.equipment-comparison figure{padding:8px}.equipment-comparison figcaption{font-size:.875rem}.equipment-purchase{display:block;padding:17px}.equipment-purchase-actions{margin-top:16px}.house-exp-options{gap:8px}.house-exp-options button{font-size:.95rem}.house-storage{text-align:left}}

/* Distinct stage controls and equipment beside the character description. */
.pet-evolution{padding:12px;border-radius:21px;background:#ffffffd9;border:1px solid #c5d9d1;box-shadow:0 3px 0 #c8ddd1}.pet-evolution button{background:#dce5eb;color:#4e5964;border:2px solid #b9cbd6;box-shadow:0 3px 0 #b8c9d1}.pet-evolution .reached button{background:#fff1c0;color:#614c19;border-color:#d9b454;box-shadow:0 3px 0 #d7b458}.pet-evolution button[aria-pressed=true]{background:#126e63;color:#fff;border-color:#07483f;box-shadow:0 3px 0 #073f38}.pet-evolution button:disabled{background:#e8eaf0;color:#6b7382;border-color:#d2d7df;box-shadow:none}.house-action-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-top:18px;padding-top:16px;border-top:1px solid #dce8e1}.house-status{min-width:0;flex:1}.house-status .pet-notice{margin:8px 0 0;font-size:.95rem}.house-quick-gear{display:flex;flex-direction:column;gap:7px;align-items:stretch;min-width:145px;text-align:center;flex-shrink:0}.house-quick-gear>span{font-size:.875rem;font-weight:700;color:#527467}.house-quick-gear button{font-size:1rem;padding:12px 16px;white-space:nowrap}.equipment-move{display:inline-block;font-size:1.15rem;color:#774b12;background:#ffebad;padding:9px 14px;border-radius:12px;margin:8px 0}.equipment-purchase{padding:22px 26px}.equipment-purchase>div{width:100%}.equipment-purchase p{font-size:1.1rem;line-height:1.9}.home-pet-status{min-height:0}.pet-care-panel{min-width:0}@media(max-width:520px){.house-action-footer{gap:12px}.house-quick-gear{min-width:120px}.house-quick-gear button{padding:12px 8px;font-size:.95rem}.house-status .pet-notice{font-size:.875rem}.equipment-purchase{padding:18px}.equipment-move{font-size:1rem}.pet-evolution{padding:8px;gap:7px}}@media(max-width:360px){.house-action-footer{flex-wrap:wrap}.house-quick-gear{margin-left:auto}}

.five-element-name{display:inline-block;background:#162c46;padding:7px 12px;border-radius:10px;text-shadow:0 1px 2px #000;letter-spacing:.05em}.five-element-name span{display:inline-block}

/* v036: every form follows the same story, feature and catchphrase reading order. */
.house-story{display:grid;gap:12px;margin:0}.house-story>div{display:grid;grid-template-columns:3.5em 1fr;gap:8px}.house-story dt{font-weight:800;color:#286653}.house-story dd{margin:0;line-height:1.75}.house-story>div:last-child dd{font-weight:750;color:#245945}

/* Keep the stage label in its own row, outside the artwork area. */
.pet-habitat:not(:has(.weapon-inline)){display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}.pet-habitat:not(:has(.weapon-inline))>.pet-stage-label{position:static;order:-1;align-self:flex-start;flex:0 0 auto;margin:14px 16px 4px;padding:5px 9px;max-width:calc(100% - 32px);box-sizing:border-box;border-radius:9px;background:#f7ffffdb;z-index:3;line-height:1.5}.pet-habitat:not(:has(.weapon-inline))>.pet-art{flex:0 0 auto}

.pet-evolution .form-locked button,.pet-evolution .form-locked button[aria-pressed=true]{background:#e6e8eb;color:#5e646c;border-color:#bfc4cb;box-shadow:none}

/* Element landscapes remain visible throughout every house form. */
.pet-habitat{background-size:cover;background-position:center;background-repeat:no-repeat}.pet-habitat[data-character="rex"]{background-image:url("assets/equipment-v024/water-surface.webp")}.pet-habitat[data-character="ridge"]{background-image:url("assets/terrain-v022/ridge.webp")}.pet-habitat[data-character="branch"]{background-image:url("assets/terrain-v022/branch.webp")}.pet-habitat[data-character="pterosaur"]{background-image:url("assets/terrain-v022/pterosaur.webp")}.pet-habitat[data-character="ankylosaur"]{background-image:url("assets/terrain-v022/ankylosaur.webp")}.pet-habitat[data-character="team"]{background-image:url("assets/terrain-v022/team.webp")}

/* Share picture and caption rows across mixed forms; tall weapons grow upward. */
.hello-art.home-pet-crew{align-items:stretch!important;row-gap:0}
.home-pet-crew figure{display:grid;grid-template-rows:subgrid;grid-row:span 2}
.home-pet-crew .home-pet-art{display:flex;align-items:flex-end;height:auto;min-height:112px}
.home-pet-crew .home-pet-art>:is(svg,img){display:block;flex-shrink:0;height:112px}
.home-pet-crew .home-pet-art>.weapon-stage-art{height:auto}
.home-pet-crew figcaption{align-self:start}
.house-picker .pet-choice{display:grid;grid-template-rows:subgrid;grid-row:span 3;row-gap:0;align-items:start}
.house-picker .pet-choice>span,.house-picker .pet-choice>span:has(>.weapon-stage-art){height:auto;min-height:100px;display:flex;align-items:flex-end;align-self:stretch}
.house-picker .pet-choice>span>:is(svg,img){display:block;flex-shrink:0;height:100px}
.house-picker .pet-choice>span>.weapon-stage-art{height:auto}
@media(max-width:700px){.house-picker .pet-choice>span{min-height:90px}.house-picker .pet-choice>span>:is(svg,img){height:90px}.house-picker .pet-choice>span>.weapon-stage-art{height:auto}}
@media(max-width:600px){.home-pet-crew .home-pet-art{min-height:90px}.home-pet-crew .home-pet-art>:is(svg,img){height:90px}.home-pet-crew .home-pet-art>.weapon-stage-art{height:auto}}
@media(max-width:460px){.home-pet-crew .home-pet-art{min-height:72px}.home-pet-crew .home-pet-art>:is(svg,img){height:72px}.home-pet-crew .home-pet-art>.weapon-stage-art{height:auto}}
.weapon-controls[hidden]{display:none!important}

.house-profile-identity{line-height:1.7;letter-spacing:.025em;overflow-wrap:anywhere}.profile-equipment-name,.profile-special-move{font-weight:800;color:#175b48}
.house-story>div{grid-template-columns:4.5em minmax(0,1fr)}.house-story dt{white-space:nowrap}.house-story dd{min-width:0}

.home-pet-crew figcaption strong{display:inline-flex;align-items:baseline;justify-content:center;gap:4px;white-space:nowrap;font-size:.875rem}
.home-pet-crew figcaption small{display:inline;font-size:inherit;line-height:inherit}
@media(max-width:600px){.hello-art.home-pet-crew{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:8px;row-gap:14px}}

.house-story .profile-equipment-name,.house-story>div:last-child .profile-special-move{color:var(--equipment-text);font-weight:800}
.pet-care{align-items:start}
.pet-habitat{min-height:0;align-self:start}
.pet-habitat>.pet-art:not(.is-summon),.pet-habitat[data-stage="3"]>.pet-art:not(.is-summon){height:auto;min-height:0;padding:0;aspect-ratio:var(--house-aspect)}
.pet-habitat>.pet-art>svg{display:block;width:100%;height:auto;max-height:none}
.house-picker .pet-choice>span,.house-picker .pet-choice>span:has(>.weapon-stage-art){height:auto;min-height:0;aspect-ratio:var(--house-aspect)}
.house-picker .pet-choice>small{line-height:1.45;min-height:2.9em}
.house-status:not(:has(.pet-complete)):has(.pet-notice:empty){display:none}
.house-fusion-button{font-size:1rem;padding:12px 10px;white-space:nowrap;flex-shrink:0}
.house-action-footer:has(.house-fusion-button){flex-wrap:wrap;gap:12px}
.house-action-footer:has(.house-fusion-button) .house-status{flex-basis:100%}
.house-action-footer:has(.house-fusion-button) .house-quick-gear{margin-left:0;flex:1;min-width:120px}
@media(max-width:360px){.house-fusion-button{font-size:.875rem;padding:12px 6px}.house-action-footer:has(.house-fusion-button){gap:6px}.house-action-footer:has(.house-fusion-button) .house-quick-gear{min-width:112px}}

/* Keep every growth and equipment action directly before the character profile. */
.house-care-actions,.house-growth-actions{display:grid;gap:16px}.house-care-actions{margin-bottom:24px}.house-growth-actions>p,.house-growth-actions>.pet-helper{margin:0}.house-growth-actions>.pet-xp{margin:0}.house-growth-actions>[data-pet=evolve],.house-growth-actions>[data-pet=adopt]{justify-self:start;max-width:100%}.house-care-actions .house-action-footer{margin:0;padding:0 0 16px;border-top:0;border-bottom:1px solid #dce8e1;gap:12px}.house-care-actions .house-action-footer:has(.house-status:only-child):not(:has(.pet-complete)):has(.pet-notice:empty){display:none}.house-care-actions .house-action-footer:has(.house-status .pet-complete){flex-wrap:wrap}.house-care-actions .house-status{flex-basis:100%}.house-care-actions .house-quick-gear{margin-left:auto}.house-care-actions .house-fusion-button{align-self:flex-end}.house-character-profile h2{margin-top:6px}.pet-habitat{scroll-margin-top:12px}

.pet-care{overflow-anchor:none}

.house-status .pet-notice:empty{display:none}.house-care-actions .house-action-footer:not(:has(.house-fusion-button)) .house-status{flex:1 1 0}
