.kid-avatar{display:grid;place-items:center;overflow:hidden;border:3px solid #fff;border-radius:50%;background:linear-gradient(145deg,#ffd6e7,#dcd4ff);font-size:30px;box-shadow:0 7px 18px #26325c25}
.avatar-nova-blue,.avatar-scientist{background:linear-gradient(145deg,#ccefff,#d8e4ff)}.avatar-nova-yellow,.avatar-explorer{background:linear-gradient(145deg,#fff0a8,#ffd6a6)}.avatar-artist{background:linear-gradient(145deg,#ffd1ef,#d9caff)}.avatar-reader{background:linear-gradient(145deg,#d1f6ea,#cae7ff)}.avatar-hero{background:linear-gradient(145deg,#ffd2c5,#ffeaa8)}
.family-page{max-width:1180px;margin:auto}.family-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.family-heading h1{margin:5px 0;font-size:32px}.family-heading p{margin:0;color:var(--muted)}
.parent-profile-tabs{display:flex;gap:10px;overflow-x:auto;padding:3px 2px 13px;scrollbar-width:none}.parent-profile-tabs>a{min-width:155px;display:grid;grid-template-columns:48px 1fr;align-items:center;gap:0 10px;padding:10px 12px;border:2px solid transparent;border-radius:18px;background:#fff;box-shadow:0 7px 20px #27315a0e}.parent-profile-tabs .kid-avatar,.parent-profile-tabs .add-child>span{grid-row:1/3;width:46px;height:46px;font-size:22px}.parent-profile-tabs b,.parent-profile-tabs small{display:block}.parent-profile-tabs b{font-size:13px}.parent-profile-tabs small{color:var(--muted);font-size:9px}.parent-profile-tabs>a.active{border-color:#7b59dd;background:#f5f1ff}.parent-profile-tabs .add-child>span{display:grid;place-items:center;border:2px dashed #cfc7e2;border-radius:50%;font-size:23px}
.parent-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:15px 0}.parent-summary article{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #ece8f2;border-radius:19px;background:#fff;box-shadow:0 8px 22px #27315a0c}.parent-summary article>span{width:43px;height:43px;display:grid;place-items:center;border-radius:14px;background:#fff0f5;font-size:22px}.parent-summary b,.parent-summary small{display:block}.parent-summary b{font-size:22px}.parent-summary small{color:var(--muted);font-size:9px}
.parent-report-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.parent-report-grid>.panel{padding:22px}.parent-report-grid header small{color:var(--pink);font-size:9px;font-weight:900;letter-spacing:1px}.parent-report-grid h2{margin:4px 0 15px;font-size:20px}.empty-report{text-align:center;padding:22px}.empty-report>span{font-size:42px}.empty-report h3{margin:8px 0}.empty-report p{margin:0;color:var(--muted);font-size:11px}.mastery-meter{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px}.mastery-meter>div{height:13px;overflow:hidden;border-radius:20px;background:#ece8f4}.mastery-meter>div span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ef4a88,#7656db)}.mastery-meter>b{font-size:16px}.mastery-meter>small{grid-column:1/3;color:var(--muted);font-size:9px}.parent-message{margin:20px 0 0;padding:15px;border-radius:15px;background:#f6f2ff;color:#4e5270;font-size:12px;line-height:1.6}.recent-learning article{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;padding:10px 0;border-top:1px solid var(--line)}.recent-learning article>span{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:#eef6ff}.recent-learning b,.recent-learning small{display:block}.recent-learning b{font-size:11px}.recent-learning small,.recent-learning time{color:var(--muted);font-size:8px}
.profile-editor{display:flex;flex-direction:column;gap:12px}.profile-editor label{display:flex;flex-direction:column;gap:6px;color:#505776;font-size:11px;font-weight:800}.profile-editor input,.profile-editor select{width:100%;padding:11px;border:1px solid #dcdde8;border-radius:12px;background:#fff}.profile-editor-title{display:flex;align-items:center;gap:11px}.profile-editor-title .kid-avatar{width:55px;height:55px}.profile-editor-title h2{margin:0;font-size:18px}.profile-editor-title small{color:var(--muted)}.profile-editor-actions{display:flex;gap:8px}.profile-editor-actions .btn{flex:1}
.kid-home{min-height:100dvh;padding:18px 22px 100px;background:linear-gradient(180deg,#e9f9ff 0,#fff6f1 45%,#f5f0ff 100%)}.kid-home-top{max-width:1380px;display:flex;align-items:center;justify-content:space-between;margin:0 auto 14px}.kid-identity{display:flex;align-items:center;gap:9px}.kid-identity .kid-avatar{width:49px;height:49px;font-size:24px}.kid-identity small,.kid-identity b{display:block}.kid-identity small{color:#6a718d;font-size:9px}.kid-identity b{font-size:16px}.kid-wallet{display:flex;gap:6px}.kid-wallet>a,.kid-wallet>button{height:42px;display:flex;align-items:center;gap:5px;padding:0 11px;border:2px solid #fff;border-radius:22px;background:#252957;color:#fff;box-shadow:0 5px 14px #242a4e26}.kid-wallet>button{width:42px;justify-content:center;padding:0}
.kid-featured{position:relative;isolation:isolate;max-width:1380px;min-height:300px;display:flex;align-items:flex-end;overflow:hidden;margin:auto;border:5px solid #fff;border-radius:31px;background-image:linear-gradient(90deg,#071936e8 0,#0a1b3c9c 35%,transparent 70%),var(--hero);background-position:center;background-size:cover;box-shadow:0 18px 45px #27355f25;color:#fff}.kid-featured>div{max-width:570px;padding:36px}.kid-featured small{color:#ffe47d;font-size:10px;font-weight:900;letter-spacing:1.4px}.kid-featured h1{margin:6px 0;font-size:38px;line-height:1.08}.kid-featured p{margin:0 0 17px;color:#f1f4ff;font-size:14px}.kid-featured span{display:inline-block;padding:10px 15px;border-radius:14px;background:#fff;color:#4937a1;font-size:11px;font-weight:900}
.kid-section{max-width:1380px;margin:26px auto 0}.kid-section>header{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:11px}.kid-section>header small{color:#e63a79;font-size:9px;font-weight:900;letter-spacing:1px}.kid-section>header h2{margin:3px 0 0;font-size:24px}.kid-section>header>a{color:#6044b8;font-size:10px;font-weight:900}.kid-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.kid-category-card{position:relative;aspect-ratio:1.32;overflow:hidden;border:4px solid #fff;border-radius:24px;background:#252957;box-shadow:0 11px 28px #28345d20;color:#fff}.kid-category-card>img{width:100%;height:100%;display:block;object-fit:cover}.kid-category-card:after{position:absolute;inset:30% 0 0;content:"";background:linear-gradient(transparent,#111632e8)}.kid-category-card>div{position:absolute;right:0;bottom:0;left:0;z-index:1;padding:16px}.kid-category-card h3{margin:0;font-size:18px}.kid-category-card p{margin:2px 0 8px;color:#eef0fb;font-size:9px}.kid-category-card b{font-size:9px}.kid-category-card:first-child{grid-column:span 2;aspect-ratio:2.7}
.continue-row{display:flex;gap:9px;overflow-x:auto;padding-bottom:5px;scrollbar-width:none}.continue-row>a{min-width:215px;display:flex;align-items:center;gap:11px;padding:12px;border:2px solid #fff;border-radius:17px;background:#ffffffdf;box-shadow:0 7px 20px #27315a12}.continue-row>a>span{width:39px;height:39px;display:grid;place-items:center;border-radius:13px;background:#7656da;color:#fff}.continue-row b,.continue-row small{display:block}.continue-row b{font-size:11px}.continue-row small{color:var(--muted);font-size:8px}
.age-toddler .kid-featured{min-height:340px}.age-toddler .kid-category-grid{grid-template-columns:repeat(3,1fr)}.age-toddler .kid-category-card,.age-toddler .kid-category-card:first-child{grid-column:auto;aspect-ratio:1.18}.age-toddler .kid-category-card h3{font-size:20px}.age-school .kid-category-grid{grid-template-columns:repeat(5,1fr)}
@media(max-width:1050px){.kid-category-grid,.age-school .kid-category-grid{grid-template-columns:repeat(3,1fr)}.parent-summary{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.family-heading{align-items:flex-start;flex-direction:column}.family-heading h1{font-size:26px}.parent-report-grid{grid-template-columns:1fr}.parent-summary{gap:7px}.parent-summary article{padding:11px}.kid-home{padding:10px 10px calc(88px + env(safe-area-inset-bottom))}.kid-featured{min-height:245px;border-width:3px;border-radius:23px}.kid-featured>div{padding:23px}.kid-featured h1{font-size:27px}.kid-featured p{max-width:85%;font-size:11px}.kid-section{margin-top:21px}.kid-section>header h2{font-size:20px}.kid-category-grid,.age-school .kid-category-grid,.age-toddler .kid-category-grid{grid-template-columns:repeat(2,1fr);gap:9px}.kid-category-card,.kid-category-card:first-child,.age-toddler .kid-category-card,.age-toddler .kid-category-card:first-child{grid-column:auto;aspect-ratio:.92;border-width:3px;border-radius:20px}.kid-category-card>div{padding:12px}.kid-category-card h3,.age-toddler .kid-category-card h3{font-size:14px}.kid-category-card p{min-height:26px;font-size:8px}.age-toddler .kid-category-grid{gap:11px}.age-toddler .kid-category-card{aspect-ratio:.88}.age-toddler .kid-category-card h3{font-size:17px}.age-toddler .kid-category-card p{display:none}.age-toddler .kid-featured{min-height:280px}.profile-edit-grid{grid-template-columns:1fr}}
@media(min-width:1200px){.kid-category-grid{grid-template-columns:repeat(5,1fr)}.kid-category-card:first-child{grid-column:span 2}}
.child-tabbar{position:fixed;right:0;bottom:0;left:0;z-index:850;height:calc(68px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,1fr);padding:6px max(8px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));border-top:1px solid #ffffffd4;background:#fffffff2;box-shadow:0 -8px 26px #26325a20;backdrop-filter:blur(20px)}.child-tabbar>a,.child-tabbar>button{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;border:0;border-radius:15px;background:transparent;color:#747a94}.child-tabbar span{font-size:20px}.child-tabbar small{font-size:8px;font-weight:900}.child-tabbar .active{color:#d92f73;background:#fff0f6}.game-popup-menu{bottom:calc(78px + env(safe-area-inset-bottom))}.game-menu-trigger{display:none!important}
.child-tabbar .child-nav-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:11px;background:#f0f2f8;color:#58627f;font-size:0;transition:.18s}.child-tabbar .child-nav-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.child-tabbar>a:nth-child(1) .child-nav-icon{background:#e9f5ff;color:#3481bf}.child-tabbar>a:nth-child(2) .child-nav-icon{background:#fff2d7;color:#dc8a16}.child-tabbar>a:nth-child(3) .child-nav-icon{background:#efe8ff;color:#7450c8}.child-tabbar>a:nth-child(4) .child-nav-icon{background:#fff0c8;color:#b97900}.child-tabbar>button .child-nav-icon{background:#edf0f5;color:#536078}.child-tabbar .active{background:linear-gradient(145deg,#fff0f6,#f2edff);color:#d92f73}.child-tabbar .active .child-nav-icon{background:linear-gradient(145deg,#f7488b,#7958df);color:#fff;box-shadow:0 5px 13px #a54caa40;transform:translateY(-1px)}
@media(min-width:900px){.child-tabbar{right:24px;bottom:18px;left:50%;width:min(560px,calc(100vw - 48px));height:66px;padding:6px;border:3px solid #fff;border-radius:24px;transform:translateX(-50%)}}
.picture-game-art{background-position:center;background-size:cover}.picture-game-art>span{filter:drop-shadow(0 4px 8px #10143b88)}.picture-game-art>b{background:#202651dd!important}
.parent-gate{min-height:100dvh!important;padding:22px;background:radial-gradient(circle at 18% 15%,#ffe3ef 0,transparent 30%),radial-gradient(circle at 85% 82%,#dcd7ff 0,transparent 32%),linear-gradient(145deg,#f4fbff,#fff8f3)}.parent-gate>.parent-gate-card{width:min(440px,100%);padding:32px!important;border:3px solid #fff;border-radius:30px!important;background:#ffffffed;box-shadow:0 22px 60px #28315c20!important}.parent-gate-icon{width:76px;height:76px;display:grid;place-items:center;margin:0 auto 13px;border-radius:24px;background:linear-gradient(145deg,#fff0b7,#ffd9e9);font-size:38px;box-shadow:0 9px 22px #e94b8120}.parent-gate-card>small{color:#e83c7a;font-size:10px;letter-spacing:1.5px}.parent-gate-card h1{margin:6px 0 7px;font-size:29px}.parent-gate-card>p{max-width:330px;margin:0 auto 21px;color:#68708f;font-size:12px;line-height:1.55}.parent-gate-card .alert{margin:0 0 14px}.parent-gate-form{display:grid;gap:11px;text-align:center!important}.parent-gate-form>label{color:#59607d;font-size:10px;font-weight:900;letter-spacing:.4px;text-transform:uppercase}.parent-math{display:grid;grid-template-columns:55px 24px 55px 24px 86px;align-items:center;justify-content:center;gap:4px;padding:13px;border:1px solid #e4e0ed;border-radius:18px;background:#f8f6fc}.parent-math b{font-size:27px!important}.parent-math span{color:#9a91af;font-size:19px}.parent-math input{width:86px;height:54px;margin:0!important;padding:5px!important;border:2px solid #cfc8e5!important;border-radius:13px!important;background:#fff!important;font-size:25px!important;font-weight:900;text-align:center;box-shadow:none!important;-moz-appearance:textfield}.parent-math input::-webkit-inner-spin-button,.parent-math input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.parent-gate-form .btn{min-height:50px;margin-top:2px;border-radius:15px}.parent-gate-back{display:inline-block!important;margin-top:17px!important;color:#777d96!important;font-size:10px!important;font-weight:800}.parent-gate-back:hover{color:#5843ad!important}@media(max-width:460px){.parent-gate{padding:12px}.parent-gate>.parent-gate-card{padding:27px 18px!important;border-radius:25px!important}.parent-gate-icon{width:67px;height:67px;font-size:33px}.parent-gate-card h1{font-size:25px}.parent-math{grid-template-columns:45px 20px 45px 20px 74px;padding:11px 7px}.parent-math b{font-size:24px!important}.parent-math input{width:74px;height:49px}}
.kid-home>.stream-shelf{max-width:1380px;margin:28px auto 0}.home-recommend-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.home-recommend-card{position:relative;min-height:190px;overflow:hidden;border:4px solid #fff;border-radius:23px;background:#16214a;color:#fff;box-shadow:0 11px 28px #28345d20}.home-recommend-card img{width:100%;height:100%;display:block;object-fit:cover}.home-recommend-card:after{position:absolute;inset:30% 0 0;content:"";background:linear-gradient(transparent,#101631eb)}.home-recommend-card div{position:absolute;right:0;bottom:0;left:0;z-index:2;padding:16px}.home-recommend-card h3{margin:0;font-size:18px}.home-recommend-card p{margin:3px 0 0;color:#eef1ff;font-size:10px}.daily-mission>a{display:grid;grid-template-columns:62px minmax(0,1fr) auto;align-items:center;gap:14px;padding:17px;border:4px solid #fff;border-radius:23px;background:linear-gradient(110deg,#fff3c8,#ffe9f2,#eee8ff);box-shadow:0 11px 28px #28345d18}.daily-mission>a>span{width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:#fff;font-size:31px}.daily-mission h3{margin:0;font-size:18px}.daily-mission p{margin:3px 0;color:#68708b;font-size:10px}.daily-mission b{padding:11px 15px;border-radius:14px;background:#6949cd;color:#fff;font-size:10px}.explore-category-grid{max-width:1250px;display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin:26px auto 100px}.explore-category-card{position:relative;min-height:285px;overflow:hidden;border:5px solid #fff;border-radius:28px;background:#19204b;color:#fff;box-shadow:0 17px 38px #26325a24}.explore-category-card img{width:100%;height:100%;display:block;object-fit:cover}.explore-category-card:after{position:absolute;inset:25% 0 0;content:"";background:linear-gradient(transparent,#101631ed)}.explore-category-card>div{position:absolute;right:0;bottom:0;left:0;z-index:2;padding:24px}.explore-category-card small{color:#ffe481;font-size:9px;font-weight:900;letter-spacing:1px}.explore-category-card h2{margin:4px 0;font-size:27px}.explore-category-card p{margin:0 0 12px;color:#f0f2ff}.explore-category-card b{font-size:11px}.explore-category-card.locked{filter:grayscale(.35);opacity:.68}.explore-category-card.locked:before{position:absolute;top:18px;right:18px;z-index:3;content:"🔒";width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:#fff;font-size:22px}.explore-module-grid{max-width:1050px;margin:25px auto 100px;grid-template-columns:repeat(2,1fr)}@media(max-width:700px){.home-recommend-grid{grid-template-columns:1fr}.home-recommend-card{min-height:165px}.daily-mission>a{grid-template-columns:50px 1fr}.daily-mission>a>span{width:48px;height:48px}.daily-mission>a>b{grid-column:1/3;text-align:center}.explore-category-grid{grid-template-columns:1fr;gap:11px;margin-top:18px}.explore-category-card{min-height:220px;border-width:3px}.explore-category-card>div{padding:17px}.explore-category-card h2{font-size:22px}.explore-module-grid{grid-template-columns:1fr}}
