/* Child pages use the same generated 3D asset library as the family map. */
.child-illustrated-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 16px;min-width:0}
.child-illustrated-heading>div{min-width:0;flex:1}
.child-illustrated-heading .muted{margin-top:9px}
.child-heading-scene{display:block;width:128px!important;height:128px!important;flex:0 0 128px;max-width:40%;border-radius:22px}
.child-profile-heading{position:relative;flex-wrap:wrap;gap:16px}
.child-profile-heading>div{flex:1;min-width:130px}
.child-profile-scene{display:block;width:150px!important;height:150px!important;flex:0 0 150px;border-radius:22px}
.child-season-heading{display:flex;align-items:center;gap:20px}
.child-season-heading>div{min-width:0}
.child-dream-art{position:relative;display:block;width:min(100%,290px);height:240px;margin:0 auto 12px}
.child-dream-art .child-dream-scene{position:absolute;left:0;top:0;display:block;width:230px!important;height:230px!important;border-radius:24px}
.child-dream-art .child-piggy{position:absolute;right:0;bottom:0;width:118px!important;height:118px!important;border:4px solid #fffdf5;border-radius:28px;box-shadow:0 8px 18px #433a5b26}
.child-long-goal{display:flex;align-items:flex-start;gap:14px}
.child-long-goal>div{min-width:0;flex:1}
.child-long-goal .child-goal-object{width:86px;height:86px;flex:0 0 86px;border-radius:20px}
.child-long-goal p{overflow-wrap:anywhere}
.child-long-goal .pill{margin-top:10px;white-space:normal}
.checklist .btn:has(.child-link-art){justify-content:flex-start;gap:14px;text-align:left;padding:8px 14px;min-height:88px}
.checklist .child-link-art{display:block;width:68px!important;height:68px!important;flex:0 0 68px;border-radius:14px}
.checklist .btn>span:not(.child-link-art){flex:1;min-width:0}
.checklist .btn>.icon:last-child{margin-left:auto}
.record .child-event-art{width:66px;height:66px;flex:0 0 66px;border-radius:16px}
.child-history-detail-art{display:flex;justify-content:center;margin:0 0 16px}
.child-history-detail-art .child-detail-object{width:172px;height:172px;border-radius:26px}
.child-modal-scene,.child-state-scene{display:block;width:180px!important;height:180px!important;max-width:100%;margin:0 auto 15px;border-radius:26px}
.child-landing-rewards{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin:15px 0 24px}
.child-landing-scene{display:block;width:160px!important;height:160px!important;flex:0 0 160px;border-radius:22px}
.child-landing-rewards>div{display:flex;align-items:center;gap:8px}
.child-task-hero.task-hero{height:auto;min-height:250px;position:relative;isolation:isolate;background:#f6f1ff;overflow:hidden}
.child-task-hero.task-hero:after{display:none}
.child-task-hero .child-task-backdrop{position:absolute;right:-34px;top:-40px;width:280px!important;height:280px!important;opacity:.28;z-index:-1;border-radius:40px;pointer-events:none}
.child-task-focus{min-height:250px;display:flex;align-items:center;gap:20px;padding:25px 28px;position:relative;z-index:1}
.child-task-focus .child-task-object{display:block;width:180px!important;height:180px!important;flex:0 0 180px;border-radius:28px;box-shadow:0 9px 18px #694c8c1a}
.child-task-focus h2{position:static;min-width:0;flex:1;color:var(--ink);text-shadow:none;font-size:29px;overflow-wrap:anywhere}
@media(max-width:620px){
 .child-heading-scene{width:100px!important;height:100px!important;flex-basis:100px;border-radius:18px}
 .child-illustrated-heading{gap:9px;margin-bottom:15px}
 .child-illustrated-heading h2{font-size:22px}
 .child-profile-scene{width:106px!important;height:106px!important;flex-basis:106px;margin-left:auto}
 .child-season-heading{gap:12px}
 .child-season-heading h2{font-size:22px}
 .child-long-goal{gap:10px}
 .child-long-goal .child-goal-object{width:65px;height:65px;flex-basis:65px;border-radius:16px}
 .child-long-goal h3{font-size:17px}
 .child-long-goal p{font-size:14px}
 .record .child-event-art{width:52px;height:52px;flex-basis:52px;border-radius:14px}
 .record:has(.child-event-art){gap:10px}
 .record:has(.child-event-art)>span:last-child:not(.record-copy){font-size:12px;max-width:78px;flex-shrink:0}
 .child-task-focus{min-height:225px;padding:24px 18px;gap:14px}
 .child-task-focus .child-task-object{width:132px!important;height:132px!important;flex-basis:132px;border-radius:23px}
 .child-task-focus h2{font-size:23px}
 .child-task-hero.task-hero{min-height:225px}
 .child-task-hero .child-task-backdrop{width:230px!important;height:230px!important;right:-55px;top:-15px}
 .child-landing-rewards{gap:8px;margin:15px 0 22px}
 .child-landing-scene{width:125px!important;height:125px!important;flex-basis:125px}
 .child-landing-rewards>div .art{width:52px;height:52px}
 .child-modal-scene,.child-state-scene{width:145px!important;height:145px!important}
}
@media(max-width:380px){
 .child-task-focus{gap:10px;padding:23px 15px}
 .child-task-focus .child-task-object{width:116px!important;height:116px!important;flex-basis:116px}
 .child-task-focus h2{font-size:21px}
 .child-landing-rewards>div .art{width:46px;height:46px}
 .child-link-art{max-width:62px}
}
