@font-face{font-family:"Baloo 2";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/baloo-700.ttf) format("truetype")}
@font-face{font-family:"Baloo 2";font-style:normal;font-weight:800;font-display:swap;src:url(fonts/baloo-800.ttf) format("truetype")}
@font-face{font-family:"Nunito";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/nunito-600.ttf) format("truetype")}
@font-face{font-family:"Nunito";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/nunito-700.ttf) format("truetype")}
@font-face{font-family:"Nunito";font-style:normal;font-weight:800;font-display:swap;src:url(fonts/nunito-800.ttf) format("truetype")}
/* The interface uses the device's local sans-serif family: no remote font requests. */
:root{--paper:#f6f7fb;--cream:var(--paper);--surface:#fff;--ink:#202b48;--muted:#647087;--blue:#3458d4;--yellow:#3458d4;--shadow:#2445b3;--border:#e1e5ee;--radius:24px;--heading:-apple-system,BlinkMacSystemFont,"Avenir Next","Segoe UI",sans-serif;--body:-apple-system,BlinkMacSystemFont,"Avenir Next","Segoe UI",sans-serif}
*{box-sizing:border-box}html,body,#app{margin:0;min-height:100%;background:var(--paper);color:var(--ink);font-family:var(--body);-webkit-font-smoothing:antialiased}button,input{font:inherit;color:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible{outline:3px solid var(--blue);outline-offset:4px}button:disabled{cursor:default}h1,h2,h3,p{overflow-wrap:break-word}h1,h2,h3{font-family:var(--heading);letter-spacing:-.045em}button,input{touch-action:manipulation}.screen{width:100%;min-height:100dvh;margin:0;position:relative;padding:24px 22px calc(112px + env(safe-area-inset-bottom));overflow:clip}.screen>h1{font-size:34px;line-height:1.12;font-weight:800;text-align:center;margin:32px 0 16px;text-wrap:balance}.lead{text-align:center;color:var(--muted);font-size:16px;line-height:1.6;margin:0 0 24px}.primary,.small{display:inline-flex;align-items:center;justify-content:center;gap:18px;width:100%;min-height:58px;border:0;border-radius:18px;background:var(--blue);color:white;font-weight:750;font-size:18px;box-shadow:0 5px 16px #3458d421}.primary span,.small span{font-size:24px;font-weight:400}.small{width:auto;min-height:48px;padding:0 22px;font-size:16px;border-radius:14px}.bottom{position:absolute;left:22px;right:22px;bottom:32px}.bottom.static{position:static;margin-top:24px}.back{display:grid;place-items:center;border:1px solid var(--border);border-radius:16px;background:#fff;min-width:48px;min-height:48px;font-size:36px;line-height:1;padding:0}.welcome{display:flex;flex-direction:column;padding:48px 28px 32px;background:#e9eefc}.welcome-art{position:relative;text-align:left;padding:24px 0 0;z-index:1}.welcome-art h1,.young>h1{font:850 clamp(32px,9vw,62px)/1 var(--heading);letter-spacing:-.065em;margin:0}.welcome-art h1 span,.young>h1 span{color:var(--blue)}.welcome-art p{font-size:25px;letter-spacing:-.035em;max-width:270px;line-height:1.25;color:var(--muted)}.mascot{display:block;flex:1;width:100%;min-height:180px;max-height:52dvh;object-fit:contain;margin:12px auto 96px}.welcome .bottom{bottom:36px}.onboarding{padding-top:24px}.choice{width:100%;height:174px;border:2px solid var(--border);border-radius:24px;background:#fff;margin:8px 0;display:flex;align-items:center;gap:12px;overflow:hidden;padding:12px}.choice img{width:40%;height:100%;object-fit:contain}.choice strong{font-size:26px;font-weight:750;flex:1;text-align:left;letter-spacing:-.04em}.choice b{font-size:24px;margin:8px;color:var(--muted)}.choice.selected,.path.selected,.goal-card.selected{border-color:var(--blue);background:#edf1ff}.choice.selected b{color:var(--blue)}.path-list{display:grid;gap:10px}.path{min-height:70px;border:2px solid transparent;border-radius:18px;display:flex;align-items:center;padding:8px 14px;background:#fff}.path img{width:48px;height:48px;border-radius:14px;object-fit:cover}.path strong{font-weight:700;font-size:18px;flex:1;text-align:left;padding-left:16px}.path b{font-size:21px;color:var(--blue)}.parent-card,.more{width:100%;min-height:58px;border:1px solid var(--border);border-radius:18px;background:transparent;display:flex;gap:12px;align-items:center;padding:16px;font-weight:650;font-size:16px}.parent-card strong{flex:1;text-align:left}.parent-card b,.more b{font-size:24px;margin-left:auto}.goal-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.goal-card{min-height:180px;border:2px solid var(--border);background:#fff;border-radius:22px;overflow:hidden;padding:0 0 16px}.goal-card img{width:100%;height:120px;object-fit:contain}.goal-card strong{font-weight:700;font-size:16px}.prefak{width:100%;height:104px;border:1px solid var(--border);border-radius:20px;overflow:hidden;margin-top:16px;position:relative}.prefak img{width:100%;height:100%;object-fit:cover}.prefak strong{position:absolute;inset:20px;background:#fffffff0;padding:14px;font-size:20px}.home header{display:flex;align-items:center;gap:12px}.home header>img{width:48px;height:48px;border-radius:16px;background:#e3ebdf;padding:3px}.home header div:nth-child(2){flex:1;min-width:0}.home header h2{font-size:18px;letter-spacing:-.025em;margin:0 0 3px}.home header span{color:var(--muted);font-size:13px}.lang-switch{display:flex;flex-shrink:0;border:1px solid var(--border);border-radius:14px;overflow:hidden;background:white;padding:3px}.lang-switch button{border:0;border-radius:10px;background:transparent;min-width:48px;min-height:48px;font-size:13px;font-weight:750}.lang-switch button[aria-pressed=true]{background:var(--ink);color:#fff}.home-intro{display:flex;align-items:center;position:relative;min-height:220px;margin:30px 0;padding:26px;border-radius:28px;background:#e7ecfb;isolation:isolate;overflow:hidden}.home-intro>div{position:relative;z-index:1;max-width:82%}.eyebrow{font-size:10px;line-height:1.6;font-weight:800;letter-spacing:.12em;color:#4660a0;margin:0 0 16px}.home-intro h1{font-size:33px;line-height:1.08;font-weight:800;margin:0 0 14px;letter-spacing:-.055em;text-wrap:balance}.intro-caption{font-size:14px;line-height:1.5;color:#4c5f8b;margin:0;max-width:220px}.home-intro>img{position:absolute;right:-14px;bottom:-12px;width:112px;height:140px;object-fit:contain;opacity:.75;z-index:0}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:32px 0 18px}.section-heading h2{font-size:25px;margin:0}.section-heading>span{font-size:12px;color:var(--muted);text-align:right}.game-list{display:grid;gap:18px}.game-card{position:relative;min-height:224px;border:1px solid #dde3f0;border-radius:26px;background:#edf0ff;padding:24px;display:flex;overflow:hidden}.game-card>div{position:relative;z-index:1;flex:1;min-width:0;padding-right:78px;display:flex;flex-direction:column;align-items:flex-start}.card-index{display:block;font-size:12px;font-weight:750;letter-spacing:.09em;color:#5e6b94;margin-bottom:18px}.game-card h3{font-size:28px;margin:0 0 10px;line-height:1.1}.game-card p{color:#4e5c7a;font-size:14px;line-height:1.55;max-width:250px;margin:0 0 20px}.game-card .small{margin-top:auto;box-shadow:none;background:#fff;color:var(--ink)}.game-card img{position:absolute;right:12px;top:48px;width:112px;height:132px;object-fit:contain;transform:rotate(5deg)}.card-mo{background:#fff0e8;border-color:#f1dfd5}.card-duel{background:#e8f3ee;border-color:#d9e8df}.badge{display:inline-block;background:#fff9;color:#456457;border-radius:8px;padding:5px 8px;font-size:10px;font-weight:750;letter-spacing:.02em;margin-bottom:10px}.card-duel .card-index{display:none}.more{margin-top:22px;color:var(--muted)}.compact{display:grid;gap:10px;margin-top:12px}.compact button{min-height:54px;background:#fff;border:1px solid var(--border);border-radius:16px;font-weight:650}nav{position:fixed;bottom:0;left:0;width:100%;height:calc(82px + env(safe-area-inset-bottom));padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:#fffffff5;border-top:1px solid var(--border);display:flex;z-index:10;gap:4px;backdrop-filter:blur(18px)}nav button{flex:1;border:0;border-radius:16px;background:transparent;color:#707b91;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;min-height:58px}nav svg{width:23px;height:23px;flex-shrink:0}nav span{font-size:10px;font-weight:700}nav .active{background:#eaf0ff;color:var(--blue)}.nav-brand{display:none}.young{display:flex;flex-direction:column;text-align:center;background:#e9f3ec;padding-top:80px}.parent-lock{position:absolute;right:22px;top:22px;border:1px solid #d5e1d9;border-radius:14px;padding:14px;background:#ffffffc9;font-weight:700;min-height:48px}.young>h1{font-size:34px}.young h2{font-size:26px}.young-mascot{width:100%;height:45dvh;object-fit:contain}.young .bottom{background:#ffffffe8;border-radius:26px;padding:18px}.young .bottom h2{font-size:22px}label{display:block;font-weight:650;margin:24px 0}input[type=text],input:not([type]){width:100%;min-height:58px;border:1px solid var(--border);border-radius:16px;padding:12px 16px;background:#fff;margin-top:10px}.setting{min-height:74px;padding:16px 18px;border:1px solid var(--border);border-radius:18px;background:#fff;display:flex;justify-content:space-between;align-items:center}.setting input{width:26px;height:26px;accent-color:var(--blue)}.profile-screen header h1{flex:1;font-size:28px}.profile-screen>h2{font-size:24px;margin-top:36px}.fatal{padding:80px 24px;text-align:center}.fatal h1{font-size:30px}
@media(min-width:768px){
 .screen{padding:44px clamp(32px,4.5vw,72px) 64px}.home{padding-left:calc(100px + clamp(32px,4.5vw,72px))}.home header{padding-bottom:26px;border-bottom:1px solid var(--border)}.home header>img{width:58px;height:58px;border-radius:20px}.home header h2{font-size:23px}.home header span{font-size:15px}.lang-switch button{min-width:48px;min-height:48px}
 nav{inset:0 auto 0 0;transform:none;width:100px;height:100dvh;flex-direction:column;justify-content:flex-start;gap:18px;padding:28px 12px;border-top:0;border-right:1px solid var(--border);background:#fff}nav .nav-brand{display:flex;align-items:center;justify-content:center;min-height:74px;margin-bottom:24px}.brand-mark{display:grid;place-items:center;background:var(--blue);color:#fff;width:48px;height:48px;border-radius:17px;font-size:32px;font-weight:850;letter-spacing:-.08em;padding-bottom:5px}.nav-brand strong{display:none}nav button{flex:0;min-height:72px;gap:8px}nav svg{width:25px;height:25px}nav span{font-size:11px}
 .home-intro{min-height:290px;margin:32px 0 38px;padding:36px}.home-intro>div{max-width:75%;padding-right:60px}.home-intro h1{font-size:clamp(38px,4.2vw,60px);line-height:1.04;max-width:700px}.eyebrow{font-size:11px;margin-bottom:22px}.intro-caption{font-size:17px;max-width:none;margin-top:22px}.home-intro>img{right:12px;bottom:8px;width:clamp(150px,19vw,270px);height:240px;opacity:1}.section-heading{margin:36px 0 22px}.section-heading h2{font-size:30px}.section-heading>span{font-size:14px}.game-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.game-card{min-height:320px;padding:26px}.game-card>div{padding-right:0;padding-top:115px}.game-card h3{font-size:29px}.game-card p{font-size:15px;max-width:290px}.game-card img{right:18px;top:16px;width:125px;height:130px}.card-index{position:absolute;top:0;left:0}.card-duel .badge{position:absolute;top:4px;left:0}.game-card:last-child:nth-child(odd){grid-column:1/-1;min-height:220px}.game-card:last-child:nth-child(odd)>div{padding-top:0;padding-right:180px}.game-card:last-child:nth-child(odd) img{width:170px;height:180px;top:20px;right:30px}.game-card:last-child:nth-child(odd) .badge{position:static}.more{margin-top:28px}
 .screen>h1{font-size:44px}.onboarding{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:center;gap:20px 28px}.onboarding>.back{position:absolute;top:32px;left:40px}.onboarding>h1,.onboarding>.lead{grid-column:1/-1}.onboarding>.lead{font-size:18px;max-width:650px;margin:0 auto 28px}.onboarding .bottom{position:static;grid-column:1/-1;width:min(100%,440px);justify-self:center;margin-top:24px}.choice{height:270px;margin:0;padding:22px}.choice strong{font-size:30px}.path-list{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.path{min-height:90px;padding:14px 20px}.path img{width:58px;height:58px}.path strong{font-size:21px}.parent-card{grid-column:1/-1}.goal-grid{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.goal-card{min-height:230px}.goal-card img{height:170px}.prefak{grid-column:1/-1}.welcome{display:grid;grid-template-columns:1fr 1fr;align-content:center;align-items:center;gap:36px;padding:64px}.welcome-art h1{font-size:clamp(40px,5.3vw,76px)}.welcome-art p{font-size:32px;max-width:400px}.mascot{width:100%;height:60dvh;max-height:620px;margin:0}.welcome .bottom{position:static;grid-column:1/-1;width:380px;margin-top:24px}.young{display:grid;grid-template-columns:1fr 1fr;align-content:center;gap:24px;padding:64px}.young>h1,.young>h2{grid-column:1;margin:0}.young>h1{font-size:46px}.young-mascot{grid-column:2;grid-row:1/4;height:60dvh}.young .bottom{position:static;grid-column:1;margin-top:24px;padding:28px}.profile-screen>header,.profile-screen>label,.profile-screen>h2,.profile-screen>.primary{max-width:850px;margin-left:auto;margin-right:auto}.profile-screen>.primary{display:flex}.profile-screen label{font-size:18px}
}
@media(min-width:1180px){.home{padding-left:calc(224px + clamp(40px,4vw,72px))}nav{width:224px;padding:32px 20px;gap:10px}nav .nav-brand{gap:12px;margin-bottom:46px;justify-content:flex-start}.nav-brand strong{display:block;font-size:19px;letter-spacing:-.045em}nav button{flex-direction:row;justify-content:flex-start;padding:0 18px;gap:16px;min-height:60px}nav span{font-size:15px}.game-list{grid-template-columns:repeat(3,minmax(0,1fr))}.game-card,.game-card:last-child:nth-child(odd){grid-column:auto;min-height:350px}.game-card>div,.game-card:last-child:nth-child(odd)>div{padding-top:135px;padding-right:0}.game-card img,.game-card:last-child:nth-child(odd) img{width:140px;height:150px;top:16px;right:16px}.game-card:last-child:nth-child(odd) .badge{position:absolute}.home-intro{min-height:300px;padding:40px}.home-intro>div{max-width:80%}}
@media(hover:hover){button{transition:background .16s,transform .16s,box-shadow .16s}.primary:hover,.small:hover{transform:translateY(-2px);box-shadow:0 8px 22px #3458d426}.game-card:hover{border-color:#bac8e6}.path:hover,.choice:hover{border-color:#aab9e6}nav button:hover{background:#f0f3fa}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* A quieter, warmer visual system and complete destination pages. */
:root{--paper:#f7f8f3;--ink:#203b34;--muted:#687a72;--blue:#1d6954;--yellow:#1d6954;--shadow:#14513f;--border:#e0e7df;--heading:"Avenir Next",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.home{padding-top:26px}.dashboard-header{justify-content:space-between}.profile-chip{border:0;background:transparent;display:flex;align-items:center;gap:12px;text-align:left;padding:0;min-height:54px}.profile-chip img{width:48px;height:48px;border-radius:18px;background:#e5edda;padding:3px}.profile-chip strong{display:block;font-size:17px;letter-spacing:-.035em}.profile-chip small{display:block;font-size:11px;line-height:1.5;color:var(--muted);margin-top:4px}.home .profile-chip span{color:var(--ink)}
.lang-switch button[aria-pressed=true]{background:var(--ink)}.home-intro{background:#e7eddf;border:1px solid #dde5d4;padding:28px 24px;min-height:300px;margin:24px 0 0}.home-intro:before{content:"";position:absolute;right:-50px;bottom:-50px;width:220px;height:220px;border-radius:50%;background:#d7e3bd;z-index:-1}.home-intro>div{max-width:100%;padding-right:45px}.home-intro h1{font-size:35px;line-height:1.14;letter-spacing:-.055em;max-width:270px;font-weight:750}.eyebrow{color:#4b6955;letter-spacing:.15em;font-size:9px;font-weight:750}.intro-caption{color:#526b5c;font-size:14px;line-height:1.6;max-width:220px}.home-intro>img{width:100px;height:142px;right:4px;bottom:8px;opacity:1}.hero-action{margin-top:22px;background:var(--ink);color:white!important;min-height:48px;position:relative}.dashboard-summary{display:grid;grid-template-columns:1fr 1fr;gap:16px;border:1px solid var(--border);border-radius:22px;background:#fff;padding:20px;margin:16px 0 30px}.dashboard-summary>div{display:flex;flex-direction:column;gap:4px}.dashboard-summary strong{font-size:27px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.05em}.dashboard-summary span{font-size:12px;color:var(--muted)}.dashboard-summary button{grid-column:1/-1;border:0;border-top:1px solid var(--border);background:transparent;min-height:48px;padding:16px 0 0;text-align:left;font-size:13px;font-weight:700;display:flex;justify-content:space-between;align-items:center}.dashboard-summary button span{font-size:22px;color:var(--blue)}.section-heading{align-items:center;margin:28px 0 18px}.section-heading h2{font-size:25px;letter-spacing:-.045em;font-weight:700}.text-link{min-height:48px;padding:8px 0 8px 12px;border:0;background:none;color:var(--blue);font-size:12px;font-weight:700}.game-card{background:#e8efdf;border-color:#dce5d4;min-height:240px;padding:24px;border-radius:26px;box-shadow:none}.game-tag{font-size:10px;line-height:1.5;font-weight:700;color:#506c48;background:#ffffff8f;border-radius:7px;padding:5px 8px;margin-bottom:18px}.game-card h3{font-size:29px;font-weight:750}.game-card p{color:#5b7061;line-height:1.6}.game-card img{top:68px;right:4px;width:114px;height:126px;transform:rotate(-4deg)}.game-card>div{padding-right:74px}.game-card .small{background:#fff;color:var(--ink);border:1px solid #ffffffb0;border-radius:14px}.card-mo{background:#faeadd;border-color:#f0dccb}.card-mo .game-tag{color:#916140}.card-mo p{color:#89694f}.guide-banner{display:flex;align-items:center;gap:16px;width:100%;min-height:106px;margin-top:26px;padding:20px;border:1px solid var(--border);background:#fff;border-radius:22px;text-align:left}.guide-icon{display:grid;place-items:center;flex-shrink:0;width:44px;height:48px;background:#f5edda;border-radius:15px;color:#9b752e;font-size:25px}.guide-banner>span:nth-child(2){flex:1}.guide-banner strong,.guide-banner small{display:block}.guide-banner strong{font-size:16px;letter-spacing:-.025em}.guide-banner small{color:var(--muted);font-size:12px;line-height:1.5;margin-top:5px}.guide-banner>b{font-size:24px;color:var(--blue)}.activity-links{display:grid;gap:10px;margin-top:12px}.activity-links button{display:flex;justify-content:space-between;align-items:center;min-height:60px;background:#fff;border:1px solid var(--border);border-radius:16px;padding:18px;text-align:left;font-weight:650;font-size:14px}.activity-links button span{color:var(--blue);font-size:20px}nav .active{background:#edf3e8;color:var(--blue)}.brand-mark{background:var(--ink)}.welcome{background:#e7eddf}.page-header{display:flex;justify-content:space-between;align-items:flex-start!important;gap:16px;margin-bottom:30px;border-bottom:1px solid var(--border);padding-bottom:28px}.home .page-header>div:first-child{flex:1;min-width:0}.home .page-header .lang-switch{flex:none}.page-header h1{font-size:31px;line-height:1.15;margin:12px 0 0;font-weight:750;letter-spacing:-.05em;text-wrap:balance}.page-header p:not(.eyebrow){font-size:14px;line-height:1.7;color:var(--muted);margin:14px 0 0;max-width:600px}.page-header .eyebrow{font-size:9px;margin:0;line-height:1.5}.app-page{padding-top:32px}.surface-panel{background:#fff;border:1px solid var(--border);border-radius:24px;padding:24px;min-width:0}.surface-panel h2{font-size:24px;font-weight:700;line-height:1.25;margin:0 0 16px;letter-spacing:-.04em}.surface-panel p{font-size:15px;line-height:1.75;color:var(--muted)}.muted{font-size:13px!important;line-height:1.7;color:var(--muted)}.catalog-intro{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:13px;margin-bottom:22px}.status-dot{width:7px;height:7px;background:var(--blue);border-radius:50%;display:inline-block}.catalog-modules{display:grid;grid-template-columns:1fr 1fr;gap:14px}.catalog-modules button{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:18px;border:1px solid var(--border);border-radius:22px;background:#fff;min-width:0;text-align:left;gap:12px}.catalog-modules img{width:100%;height:104px;object-fit:contain}.catalog-modules span{font-size:15px;font-weight:700}.catalog-modules b{font-size:20px;font-weight:500;color:var(--blue)}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:24px}.stat-card{display:flex;flex-direction:column;gap:8px;padding:22px;border:1px solid var(--border);background:#fff;border-radius:22px}.stat-card strong{font-size:36px;letter-spacing:-.06em;font-weight:700;font-variant-numeric:tabular-nums}.stat-card span{font-size:12px;line-height:1.5;color:var(--muted)}.stat-card:first-child{background:#e7eddf}.stat-card:nth-child(3){background:#fbf0dc}.progress-layout,.settings-layout{display:grid;gap:24px}.module-progress{padding:20px 0;border-bottom:1px solid var(--border)}.module-progress>div{display:flex;justify-content:space-between;font-size:15px;gap:12px}.module-progress>div span,.module-progress small{font-size:12px;color:var(--muted)}.module-progress progress{display:block;width:100%;height:8px;border:0;border-radius:10px;overflow:hidden;margin:12px 0;background:#edf0e9;accent-color:var(--blue)}progress::-webkit-progress-bar{background:#edf0e9;border-radius:10px}progress::-webkit-progress-value{background:#6e9860;border-radius:10px}progress::-moz-progress-bar{background:#6e9860}.badge-panel>img{width:100%;height:180px;object-fit:contain}.badge-panel{align-self:start}.earned-badge{display:flex;gap:14px;align-items:center;padding:18px;border-radius:16px;background:#faf2df;margin-bottom:12px;font-size:14px}.earned-badge>span{color:#a78335;font-size:30px}.empty-note{background:#edf2e7;border-radius:24px;padding:28px;margin-bottom:24px}.empty-note h2{font-size:24px}.empty-note p{color:var(--muted);font-size:15px;line-height:1.6}.profile-panel{text-align:center;align-self:start}.profile-panel>img{width:100px;height:100px;border-radius:32px;background:#edf3e8;margin:6px auto 22px;padding:6px}.profile-panel .secondary{display:flex;align-items:center;justify-content:center;width:100%;margin:12px 0;min-height:52px;border:1px solid var(--border);border-radius:14px;background:#fff;font-size:14px;font-weight:650;padding:12px}.profile-screen label{font-size:15px}.profile-screen .setting{margin:14px 0;min-height:68px;background:#f7f9f5}.save-status{min-height:24px;color:var(--blue)!important;font-weight:700;font-size:14px!important}.profile-list{display:grid;gap:14px;margin:0 0 24px}.profile-list>button{display:flex;align-items:center;gap:16px;border:1px solid var(--border);border-radius:20px;padding:20px;background:#fff;text-align:left;min-height:96px}.profile-list>button[aria-pressed=true]{border:2px solid var(--blue);background:#eef4e9}.profile-avatar{display:grid;place-items:center;background:#e5ecd8;width:52px;height:52px;border-radius:18px;font-size:26px;font-weight:700}.profile-list strong,.profile-list small{display:block}.profile-list strong{font-size:18px}.profile-list small{margin-top:5px;font-size:12px;color:var(--muted)}.profile-list b{margin-left:auto;color:var(--blue)}.help-grid{display:grid;gap:20px}.step-number{display:inline-block;font-size:13px;letter-spacing:.08em;color:#8c793d;margin:0 0 28px;background:#faf2da;border-radius:10px;padding:8px 12px}.help-grid .small{margin-top:12px}.pill{display:inline-block;border:1px solid #dfe8d5;border-radius:10px;padding:8px 12px;background:#f1f6eb;color:#567044;font-size:12px;font-weight:700;line-height:1.5;margin-bottom:22px}.information-panel,.upcoming-panel{max-width:900px}.information-panel .small,.upcoming-panel .small{margin-top:20px}.gate-screen{background:#eaf0e3;padding-top:28px}.gate-card{margin:24px auto 0;padding:28px;max-width:480px;border:1px solid var(--border);background:#fff;border-radius:30px;text-align:center}.gate-card h1{font-size:28px;font-weight:750;line-height:1.2;margin:0 0 18px}.gate-card p{font-size:14px;line-height:1.65;color:var(--muted)}.gate-question{display:block;font-size:36px;letter-spacing:-.04em;margin:26px 0 18px}.gate-value{display:block;background:#f3f6ef;border-radius:15px;min-height:60px;padding:12px;font-size:26px;font-weight:700;font-variant-numeric:tabular-nums}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.keypad button{min-height:54px;border:1px solid var(--border);background:#fff;border-radius:14px;font-size:22px}.gate-error{min-height:24px;color:#b44e36!important}.gate-screen>.back{position:relative}.app-page>.secondary{min-height:52px}
@media(min-width:768px){
 .home{padding-top:40px}.dashboard-header{padding-bottom:28px}.profile-chip img{width:56px;height:56px}.profile-chip strong{font-size:21px}.profile-chip small{font-size:13px}.home-intro{min-height:330px;padding:38px;margin-top:30px;border-radius:32px}.home-intro>div{max-width:76%;padding-right:90px}.home-intro h1{font-size:clamp(38px,4vw,58px);max-width:640px;line-height:1.12}.home-intro .eyebrow{font-size:10px}.intro-caption{font-size:16px;max-width:450px}.hero-action{margin-top:24px;min-height:52px}.home-intro>img{width:210px;height:280px;right:10px;bottom:18px}.home-intro:before{width:350px;height:350px;bottom:-95px;right:-75px}.dashboard-summary{grid-template-columns:1fr 1fr 1.3fr;padding:22px 28px;margin:20px 0 34px;align-items:center;gap:22px}.dashboard-summary strong{font-size:32px}.dashboard-summary span{font-size:13px}.dashboard-summary button{grid-column:auto;border-top:0;border-left:1px solid var(--border);padding:4px 0 4px 28px;font-size:14px;line-height:1.5;gap:16px}.section-heading h2{font-size:29px}.text-link{font-size:14px}.dashboard .game-list,.catalog-page .game-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.game-card,.game-card:last-child:nth-child(odd){grid-column:auto;min-height:315px;padding:26px;flex-direction:row}.game-card>div,.game-card:last-child:nth-child(odd)>div{padding-top:86px;padding-right:0}.game-tag{position:absolute;top:0;left:0;max-width:60%;font-size:10px;z-index:2}.game-card h3{font-size:31px;margin-bottom:12px}.game-card p{max-width:270px;padding-right:28px;min-height:48px}.game-card img,.game-card:last-child:nth-child(odd) img{width:124px;height:124px;right:8px;top:18px}.game-card .small{margin-top:12px}.guide-banner{min-height:100px;padding:24px 28px}.guide-banner strong{font-size:18px}.guide-banner small{font-size:14px}.guide-icon{width:56px;height:56px;font-size:28px}.activity-links{grid-template-columns:repeat(3,minmax(0,1fr))}.activity-links button{font-size:13px;line-height:1.5;gap:12px}.page-header h1{font-size:clamp(34px,3.5vw,48px);max-width:820px;line-height:1.15}.page-header .eyebrow{font-size:10px}.page-header p:not(.eyebrow){font-size:16px}.home .page-header{padding-bottom:30px;margin-bottom:32px}.surface-panel{padding:30px}.surface-panel h2{font-size:27px}.surface-panel p{font-size:16px}.catalog-modules{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.catalog-modules button{padding:18px}.catalog-modules img{height:110px}.catalog-modules span{font-size:15px}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.stat-card{padding:24px 20px}.stat-card strong{font-size:40px}.stat-card span{font-size:13px}.progress-layout{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.settings-layout{grid-template-columns:minmax(230px,1fr) minmax(0,1.6fr)}.help-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.profile-list{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-screen>header{max-width:none}.gate-screen{padding:40px}.gate-card{margin-top:20px;padding:36px}.keypad button{min-height:62px}
}
@media(min-width:1180px){.home-intro{min-height:340px;padding:42px}.home-intro>div{max-width:78%}.home-intro>img{right:30px;width:240px;height:300px}.dashboard .game-card,.catalog-page .game-card{min-height:280px}.game-card>div,.game-card:last-child:nth-child(odd)>div{padding:54px 115px 0 0}.game-card img,.game-card:last-child:nth-child(odd) img{width:170px;height:180px;top:64px;right:8px}.game-tag{max-width:80%;font-size:11px}.game-card p{padding-right:0}.game-card .small{margin-top:auto}.section-heading{margin-top:34px}}
@media(max-width:360px){.screen{padding-left:16px;padding-right:16px}.profile-chip strong{font-size:15px}.profile-chip small{font-size:10px}.lang-switch button{min-width:34px}.home-intro h1{font-size:30px}.home-intro>div{padding-right:20px}.home-intro>img{width:80px;height:120px;right:0}.intro-caption{max-width:175px}.game-card>div{padding-right:58px}.game-card img{width:92px}.page-header{flex-wrap:wrap}.page-header h1{font-size:29px}.catalog-modules{gap:10px}.settings-layout{gap:16px}.surface-panel{padding:20px}}
@media(hover:hover){.text-link:hover{color:#104735}.activity-links button:hover,.catalog-modules button:hover,.profile-list button:hover{border-color:#91b19a;background:#f3f7ef}nav button:hover{background:#f0f4eb}}
.dashboard-header .lang-switch{flex:none}
.profile-chip{min-width:0;flex:1}.profile-chip>span{min-width:0}.profile-chip small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.primary:disabled{opacity:.5;box-shadow:none;cursor:default}
.home header.dashboard-header>.lang-switch{flex:0 0 auto}

/* Phone controls remain reachable around the home indicator and in landscape.
   Preserve zoom for accessibility; 16px inputs avoid involuntary iOS focus zoom. */
@media(max-width:767px){
 .screen{padding-left:max(18px,env(safe-area-inset-left));padding-right:max(18px,env(safe-area-inset-right));padding-top:max(24px,env(safe-area-inset-top))}
 .lang-switch button{min-width:48px;min-height:48px}
 input,select,textarea{font-size:16px}
 nav{padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right))}
 nav button{min-width:0}nav span{font-size:11px;line-height:1.25}
 .bottom{bottom:max(24px,env(safe-area-inset-bottom))}
 .page-header{gap:12px}.page-header h1{font-size:clamp(25px,7vw,32px)}
}

.family-account{padding-bottom:max(32px,env(safe-area-inset-bottom))}.account-header{display:flex;align-items:center;gap:16px;margin-bottom:24px}.account-header>span{font-size:11px;letter-spacing:.12em;font-weight:750;color:var(--muted)}.account-layout{display:grid;gap:20px;max-width:1040px;margin:auto}.account-emblem{display:grid;place-items:center;width:56px;height:56px;background:var(--ink);color:white;font-weight:800;font-size:28px;border-radius:18px}.account-identity h1{font-size:32px;line-height:1.12;margin:22px 0 16px}.account-identity p,.account-offer p,.account-offer li{font-size:15px;line-height:1.6}.account-mode{display:flex;border:1px solid var(--border);padding:4px;border-radius:16px;gap:4px;margin-top:24px}.account-mode button{flex:1;min-height:48px;border:0;border-radius:12px;background:transparent;font-size:14px;font-weight:700}.account-mode button[aria-pressed=true]{background:var(--ink);color:white}.family-account form>label{margin:20px 0 8px}.family-account input:not([type=checkbox]){width:100%;min-height:52px;border:1px solid var(--border);border-radius:14px;padding:12px 14px;font-size:16px;background:white}.account-confirm{display:flex;gap:12px;align-items:flex-start;line-height:1.5;font-size:14px}.account-confirm input{width:24px;height:24px;flex-shrink:0;accent-color:var(--blue)}.family-account form .primary{margin-top:22px;font-size:16px}.family-account .account-hint,.family-account .account-local-note{font-size:13px;color:var(--muted);line-height:1.6}.account-status:empty{display:none}.account-status{background:#fff1d8;border-radius:12px;padding:12px;font-size:14px}.account-offer{background:#eaf0e6;align-self:start}.account-offer h2{font-size:28px;margin:22px 0 12px}.account-offer .account-price{font-size:36px;font-weight:800;margin:16px 0;letter-spacing:-.04em}.account-price small{font-size:16px;font-weight:500;letter-spacing:0}.account-offer ul{padding-left:20px}.account-offer li{margin:12px 0}.account-release-note{padding-top:16px;border-top:1px solid #ced7c8}.account-connected{display:grid;gap:8px;margin:24px 0;padding:18px;border-radius:16px;background:#eef3ea}.account-connected strong{overflow-wrap:anywhere}.family-account .secondary{width:100%;min-height:48px}
@media(min-width:768px){.family-account{padding:40px}.account-layout{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:28px}.account-identity h1{font-size:38px}}
@media(max-width:360px){.family-account .surface-panel{padding:18px}.account-identity h1{font-size:28px}}

.welcome .mascot{margin-bottom:180px}.welcome .guest-note{font-size:13px;line-height:1.5;color:var(--muted);text-align:center;margin:12px 0 6px}.guest-parent{display:block;width:100%;min-height:48px;border:0;background:transparent;color:var(--ink);font-size:13px;text-decoration:underline;text-underline-offset:4px}

.account-transfer{margin:16px 0;padding:16px;background:#fff1d8;border:1px solid var(--border);border-radius:16px}.account-transfer p{margin:0 0 12px}.account-transfer .secondary{background:white}

.account-recovery{margin-block:1.4rem;padding-block:1.2rem;border-block:1px solid var(--line,#dce4eb)}
.account-recovery h2{font-size:1.2rem}
.account-recovery form{display:grid;gap:.75rem}
.account-recovery-code{display:block;overflow-wrap:anywhere;user-select:all;padding:1rem;border-radius:1rem;background:#edf2f7;color:#172b42;font-size:1rem;line-height:1.7;margin-block:1rem;letter-spacing:.04em}
