*{box-sizing:border-box} [hidden]{display:none!important} :root{color-scheme:light;--kids-primary:#d7c5a3;--kids-text-muted:#4d6057;--kids-card-border:#c5cbbd;--kids-accent-cyan:#486b5d} body{margin:0;background:#f6f3eb;color:#283c34;font:500 1rem/1.55 system-ui,-apple-system,Segoe UI,sans-serif}button,input,select{font:inherit}button{cursor:pointer;min-height:52px;border:1px solid #a6b39f;border-radius:14px;padding:10px 16px;background:#ede9de;color:#283c34;font-weight:750;touch-action:manipulation}button:hover{background:#e3e7dc}button:focus-visible,input:focus-visible,select:focus-visible{outline:4px solid #d7c5a3;outline-offset:3px}button:disabled{cursor:default;opacity:.7}h1,h2,h3,p{overflow-wrap:anywhere}h2,h3{line-height:1.25}a{color:#385d49}.kids-wrapper{max-width:1200px;margin:auto;padding:20px}.kids-header{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}.kids-brand{display:flex;gap:12px;align-items:center}.kids-logo-badge{font-size:2rem}.kids-brand-title{font-weight:900;font-size:1.7rem}.kids-brand-title span{color:#d7c5a3}.kids-top-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.screen-time-badge{font-variant-numeric:tabular-nums}.kids-hero{text-align:center;margin:48px auto 30px;max-width:850px}.kids-hero-tag{color:#d7c5a3;font-weight:800;font-size:.85rem;letter-spacing:.08em}.kids-hero-title{font-size:clamp(2rem,5vw,3.3rem);line-height:1.15}.kids-hero-subtitle{font-size:1.15rem;color:#4d6057}.kids-facts{color:#3e6453}.kids-age-tabs,.kids-section-tabs{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:14px 0}.age-tab.active,.section-tab[aria-pressed=true]{background:#d7c5a3;color:#283c34;border-color:#d7c5a3}.catalog-tools{margin:30px auto 20px;max-width:650px}.catalog-tools label{display:block;font-weight:750}.catalog-tools input{width:100%;padding:14px;margin:8px 0;background:#fffdf8;border:1px solid #a6b39f;border-radius:14px;color:#283c34}.catalog-tools p{text-align:center;color:#4d6057}.kids-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.kids-game-card{background:#fffdf8;border:1px solid #c5cbbd;border-radius:22px;padding:22px;display:flex;flex-direction:column;gap:10px}.catalog-icon{font-size:2.7rem}.card-age{align-self:flex-start;background:#e6eadf;color:#30473d;border-radius:20px;padding:4px 10px;font-size:.85rem}.kids-game-card h3{margin:0;font-size:1.2rem}.kids-game-card p{color:#4d6057;margin:0 0 8px;flex:1}.btn-play-card,.kids-start,.kids-next{background:#d7c5a3;color:#283c34;border-color:#d7c5a3}.btn-play-card:hover,.kids-start:hover,.kids-next:hover{background:#e5ddc9}.kids-footer{color:#4d6057;max-width:850px;margin:45px auto;font-size:.9rem}.kids-modal-overlay{display:none;position:fixed;inset:0;background:#293b3288;padding:20px;z-index:1000;align-items:center;justify-content:center;overflow-y:auto;overscroll-behavior:contain}.kids-modal-overlay.active{display:flex}.kids-game-modal{background:#f8f6f0;border:1px solid #b0bba7;border-radius:24px;width:100%;max-width:820px;max-height:calc(100dvh - 40px);overflow-y:auto;position:relative;box-shadow:0 12px 60px #283c3420}.game-modal-header,.parent-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px;border-bottom:1px solid #c5cbbd}.game-modal-title{font-size:1.25rem;margin:0}.game-modal-actions{display:flex;gap:8px;flex-shrink:0}.btn-icon-round{min-width:52px;font-size:1.2rem}.game-modal-body{padding:20px}.game-instructions-box{display:flex;align-items:center;gap:12px;background:#eeeee4;padding:12px;border-radius:14px}.game-instructions-box p{flex:1;margin:0}.btn-speak-voice{font-size:1.4rem}.intro-rules{font-size:1.25rem}.intro-controls{color:#4d6057}.kids-start,.kids-next{display:block;margin:20px auto;font-size:1.1rem}.round-prompt{text-align:center;font-size:1.3rem}.round-visual{text-align:center;white-space:pre-wrap;font-size:clamp(1.3rem,4vw,2rem);line-height:1.8;background:#efeee5;border-radius:16px;padding:20px;margin:18px 0}.answer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.kids-answer{min-height:70px;font-size:1.15rem}.memory-grid,.spot-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.memory-card{aspect-ratio:1;font-size:2rem;min-width:0;padding:8px;background:#ecebdf}.memory-card.matched{background:#dce8d5;border-color:#5d7e55}.simon-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:450px;margin:auto}.simon-pad{font-size:2.8rem;min-height:100px}.simon-pad.lit{background:#dbdbc0;outline:5px solid #d7c5a3;transform:scale(.95)}.catch-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.catch-cell{min-height:70px;font-size:2rem}.spot-grid button{font-size:1.8rem;padding:8px;min-width:0}#gameFeedback{min-height:2em;color:#3e6453;text-align:center;font-weight:650}#gameProgress{color:#4d6057}#kidsPauseNotice{padding:14px;background:#e9e2ce;color:#3b493b;border-radius:12px}.kids-cheer-overlay{display:none;position:sticky;bottom:0;background:#e3ebdc;border-top:2px solid #3e6453;text-align:center;padding:22px}.kids-cheer-overlay.active{display:block}.cheer-stars{font-size:2rem}.cheer-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.btn-cheer-action{background:#d7c5a3;color:#283c34}.btn-cheer-action.secondary{background:#ecebdf;color:#283c34}.kids-game-open{overflow:hidden}.parent-gate-card{max-width:460px;padding:18px}.parent-dashboard-card{max-width:650px;padding:18px}.parent-heading{padding:0 0 12px}.parent-heading h2{font-size:1.25rem;margin:0}.pin-dots{display:flex;gap:16px;justify-content:center;margin:20px}.pin-dot{width:18px;height:18px;border-radius:50%;border:2px solid #d7c5a3}.pin-dot.filled{background:#d7c5a3}.parent-pin-pad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.math-fallback{border-top:1px solid #c5cbbd;margin-top:20px;padding-top:10px}.math-fallback input{width:100%;margin:10px 0}.parent-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.stat-box{display:flex;flex-direction:column;padding:14px;border-radius:14px;background:#eeeee4}.stat-box-val{font-size:1.6rem;color:#d7c5a3}.parent-settings-section{display:flex;flex-direction:column;gap:12px;margin-top:20px}.parent-settings-section label{margin-top:8px}input,select{padding:12px;border:1px solid #a6b39f;background:#fffdf8;color:#283c34;border-radius:12px;max-width:100%}.btn-exit-kids{background:#eadacb}.kids-rest-overlay{display:none;position:fixed;inset:0;z-index:1100;background:#f6f3eb;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px}.kids-rest-overlay.active{display:flex}.kids-rest-overlay p{max-width:500px}#parentGateModal{z-index:1300}#parentDashboardModal{z-index:1250}#parentPinError{color:#704437}#kidsStorageStatus{color:#5f4c31}#gameArenaContainer{user-select:none;-webkit-user-select:none;overscroll-behavior:contain} @media(max-width:850px){.kids-grid{grid-template-columns:repeat(2,minmax(0,1fr))}} @media(max-width:540px){.kids-wrapper{padding:14px}.kids-header{justify-content:center}.kids-top-controls{justify-content:center}.kids-hero{margin-top:30px}.kids-grid{grid-template-columns:1fr}.kids-modal-overlay{padding:8px}.kids-game-modal{max-height:calc(100dvh - 16px);border-radius:18px}.game-modal-header{align-items:flex-start;padding:12px}.game-modal-title{font-size:1.05rem}.game-modal-actions{gap:5px}.game-modal-actions button{padding:8px;min-width:44px;min-height:48px}.game-modal-body{padding:14px}.answer-grid{gap:8px}.kids-answer{font-size:1rem}.memory-grid,.spot-grid,.catch-grid{gap:7px}.memory-card{font-size:1.7rem}.catch-cell{min-height:60px}.parent-gate-card,.parent-dashboard-card{padding:14px}.kids-age-tabs button,.kids-section-tabs button{flex:1 0 42%;font-size:.9rem}.round-visual{padding:12px}.kids-section-tabs button:first-child{flex-basis:100%}} @media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Calm shelves and large, child-operated material trays. */
.kids-wrapper{max-width:1060px;padding:24px}.kids-header{border-bottom:1px solid #c9cdbf;padding-bottom:16px}.kids-brand-title{font-size:1.45rem;color:#304638}.kids-brand-title span{color:#7a5138}.kids-top-controls button{min-width:62px;min-height:62px;font-size:1.65rem;background:transparent;border-color:#b0bba7}.adult-only{display:none!important}.kids-hero{margin:24px auto 18px}.kids-hero-title{font-size:clamp(1.9rem,4vw,2.7rem);margin:0 0 8px;color:#304638}.kids-hero-subtitle{margin:0;color:#4d6057;font-size:1.1rem}.kids-age-tabs{margin:14px 0 22px;gap:8px}.kids-age-tabs button{background:transparent;min-height:44px;padding:8px 16px;color:#4b5f50;border:1px solid #b8c0b0;font-size:.9rem}.kids-age-tabs .active{background:#dce6d4;color:#283c34;border-color:#698064}.kids-section-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:20px 0 28px}.section-tab{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:108px;background:#edeade;color:#304638;border:2px solid #c5cbbd;border-radius:18px;padding:12px;font-size:1rem}.section-tab .section-icon{font-size:2rem;line-height:1.1}.section-tab[aria-pressed=true]{background:#dce6d4;border-color:#698064;color:#283c34}.section-tab:last-child{grid-column:1/-1;justify-self:center;min-height:44px;flex-direction:row;padding:6px 18px;font-size:.9rem}.section-tab:last-child .section-icon{font-size:1rem}.kids-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.kids-game-card{min-height:210px;padding:22px;border-radius:22px;align-items:center;justify-content:center;text-align:center;gap:18px;border:2px solid #b8c0b0;background:#fffdf8;color:#304638;box-shadow:0 4px 0 #d6d4c5}.kids-game-card:hover{background:#f2f0e5;border-color:#7c9174}.kids-game-card:active{box-shadow:none;transform:translateY(2px)}.catalog-icon{font-size:4rem;line-height:1.2}.card-child-title{font-size:1.25rem;line-height:1.25;font-weight:700}.kids-young .kids-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px;margin:auto}.kids-young .kids-game-card{min-height:230px}.kids-young .catalog-icon{font-size:4.5rem}.catalog-tools{margin:20px auto}.kids-modal-overlay{background:#24392e80}.kids-game-modal{box-shadow:0 8px 40px #24392e26}.game-modal-header{background:#eeeee4}.game-modal-actions button{background:#f7f5ec;color:#304638}.game-instructions-box{background:transparent;padding:0 0 10px;align-items:center}.game-instructions-box p{font-size:1rem;color:#4d6057}.btn-speak-voice{min-width:66px;min-height:66px;font-size:1.4rem;background:#e4e8da;color:#304638}.intro-material{font-size:5rem;line-height:1.2;text-align:center;padding:22px}.kids-start,.kids-next{background:#dce6d4;color:#304638;border:2px solid #698064;min-height:72px;min-width:160px;font-size:1.45rem}.round-prompt{font-size:1.25rem;color:#304638}.round-visual{background:#eeeee4;color:#283c34}.kids-answer{background:#fffdf8;border:2px solid #a6b39f;color:#304638;min-height:90px;font-size:1.4rem}.kids-answer:hover{background:#e7ecdf}.young-game .kids-answer{min-height:130px;font-size:2.4rem}.young-game #gameProgress{display:none}.young-game .round-prompt{font-size:1.15rem}.young-game .memory-card{min-height:105px;font-size:2.6rem}.memory-card{color:#304638;background:#e5e5d8;border:2px solid #a6b39f}.memory-card.matched{background:#dce8d5;border-color:#769369;opacity:1}.simon-pad{background:#e7e4d7;opacity:1}.simon-pad.lit{outline-color:#657e55;background:#c9d7b8}.spot-grid button,.catch-cell{background:#fffdf8;border:2px solid #a6b39f;color:#304638;min-height:88px}.kids-cheer-overlay{background:#e3ebdc;border-color:#a1b494}.cheer-title{font-size:1.35rem;font-weight:650}.cheer-actions button{min-height:76px;font-size:1.35rem;min-width:150px;background:#f8f6ec;color:#304638;border:2px solid #819476}.adult-info{margin-top:24px;color:#4d6057;font-size:.9rem;line-height:1.6}.optional-setting{display:flex;gap:12px;align-items:center}.optional-setting input{width:24px;height:24px;flex-shrink:0}.parent-pin-pad button{font-size:1.5rem}.pin-dot{border-color:#6a815a}.pin-dot.filled{background:#6a815a}.parent-stat-grid strong{color:#4d6a45}.kids-rest-overlay{background:#f6f3eb;color:#304638}.kids-rest-overlay h2{font-size:1.5rem}.kids-rest-overlay .btn-ctrl{background:#e3ebdc}.btn-exit-kids{color:#5b4331}.intro-controls{font-size:.9rem;color:#526257}.kids-young .catalog-tools{display:none}.young-game .answer-grid{gap:20px}.kids-game-open button:disabled{opacity:.72}button,input,select{color:#283c34}input,select{background:#fffdf8;border-color:#a6b39f}.math-fallback{border-color:#bcc5b0}#parentGateModal .btn-ctrl{color:#304638}.kids-young .section-tab{min-height:100px}.adult-info h3{font-size:1rem}
@media(max-width:700px){.kids-section-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.kids-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kids-wrapper{padding:16px}.kids-header{gap:10px}.kids-game-card{min-height:190px}.catalog-icon{font-size:3.6rem}}
@media(max-width:420px){.kids-header{flex-wrap:nowrap;justify-content:space-between}.kids-brand{gap:6px}.kids-brand-title{font-size:1.1rem}.kids-logo-badge{font-size:1.6rem}.kids-top-controls{gap:6px;flex-wrap:nowrap}.kids-top-controls button{min-width:48px;min-height:52px;padding:7px;font-size:1.4rem}.kids-section-tabs{gap:8px;margin:14px 0 20px}.section-tab{font-size:.9rem;padding:9px;min-height:94px}.section-tab .section-icon{font-size:1.8rem}.kids-age-tabs button{flex:0 1 auto;min-height:42px;padding:7px 10px;font-size:.85rem}.kids-section-tabs button{flex:initial}.kids-section-tabs button:first-child{grid-column:auto}.kids-grid,.kids-young .kids-grid{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.kids-young .kids-game-card,.kids-game-card{min-height:185px;padding:15px 10px;gap:12px}.kids-young .catalog-icon{font-size:3.7rem}.card-child-title{font-size:1.05rem}.young-game .kids-answer{min-height:110px;font-size:2rem}.young-game .answer-grid{gap:14px}.game-modal-actions button{min-width:46px}.young-game .memory-card{min-height:74px;font-size:2rem}.memory-grid{gap:8px}.simon-pad{min-height:92px}.intro-material{font-size:4rem}.kids-hero-title{font-size:1.8rem}.kids-hero-subtitle{font-size:1rem}}

button:focus-visible,input:focus-visible,select:focus-visible{outline-color:#3e644a}

.kids-young .section-tab[data-section="all"]{display:none}

.toddler-game .memory-grid,.toddler-game .spot-grid,.toddler-game .catch-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:420px;width:100%;margin:auto}.toddler-game .memory-card,.toddler-game .spot-grid button,.toddler-game .catch-cell{min-height:112px;font-size:2.8rem}

.game-modal-actions .btn-speak-voice{min-width:52px;min-height:52px;padding:8px;font-size:1.35rem}.young-game.game-started .game-instructions-box{display:none}@media(max-width:420px){.game-modal-actions .btn-speak-voice{min-width:46px;min-height:48px;padding:7px}}
