:root{--ink:#203e3b;--muted:#526d68;--teal:#087d6e;--border:#e4ede9;--mint:#eef9f5;--rounded:ui-rounded,'Nunito','Avenir Next',system-ui,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fbfdfb;font-family:var(--rounded);font-size:16px;line-height:1.5}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #e68819;outline-offset:5px}a{color:inherit}.skip{position:fixed;z-index:9;top:-100px;left:20px;background:white;padding:16px}.skip:focus{top:12px}.sidebar{width:226px;position:fixed;inset:0 auto 0 0;padding:38px 24px 20px;border-right:1px solid var(--border);background:#fff;display:flex;flex-direction:column}.brand{display:flex;gap:10px;align-items:center;text-decoration:none;font-size:29px;font-weight:850;line-height:1;letter-spacing:-1.5px}.brand-mark{display:flex;align-items:center;justify-content:center;width:48px;height:54px;border-radius:17px;background:var(--teal);color:#fff;font-size:38px;transform:rotate(-6deg)}.brand-kids{display:block;font-size:23px;letter-spacing:0;color:#f17a45}.brand-dot{color:#edb335}.side-caption{font-size:10px;letter-spacing:1.4px;line-height:1.7;margin:22px 0 40px;color:var(--muted);font-weight:750}.sidebar nav{display:grid;gap:10px}.nav-item{display:flex;gap:16px;align-items:center;min-height:55px;background:none;border:0;padding:12px 14px;text-align:left;border-radius:15px;color:var(--muted);font-weight:650;font-size:15px}.nav-item>span{font-size:25px;width:25px;text-align:center}.nav-item.active{background:#e6f6ef;color:var(--teal)}.nav-item:hover{background:#f1f8f5}.sidebar-bottom{margin-top:auto;padding-top:45px}.mini-garden{border-radius:19px;padding:20px 15px;background:#fff7dd;text-align:center}.mini-garden>span{display:block;font-size:40px;margin-bottom:10px}.mini-garden strong{font-size:16px}.mini-garden p{font-size:13px;margin:10px 0 0;color:var(--muted)}.family-link{border:0;background:none;color:var(--muted);padding:22px 8px 4px;width:100%;font-size:14px;font-weight:650}.page{margin-left:226px}.topbar{height:84px;padding:0 46px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;background:#fff}.topbar-label{font-size:11px;letter-spacing:2px;font-weight:750;color:#65847d}.header-right{display:flex;align-items:center;gap:12px}.sound-toggle{border:1px solid var(--border);background:#fff;border-radius:22px;padding:8px 14px;font-size:14px;margin-right:16px}.avatar{background:#ffecbe;color:#947100;font-size:23px;width:39px;height:39px;border-radius:50%;text-align:center;line-height:39px}.explorer{font-size:14px;font-weight:650}main{padding:35px 46px 20px;max-width:1560px;margin:auto}.welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.5px;color:var(--teal);margin:0 0 8px}.eyebrow [lang=he]{font-size:16px;letter-spacing:0;margin:0 6px}.eyebrow>span:last-child{color:#d39500}h1{font-size:clamp(24px,2.25vw,36px);line-height:1.25;letter-spacing:-1px;margin:0 0 10px}p{margin:0;color:var(--muted)}.welcome p:last-child{font-size:14px}.age-picker{text-align:center;flex-shrink:0}.age-picker>span{font-size:12px;font-weight:650;color:var(--muted);display:block;margin-bottom:8px}.age-options{display:flex;gap:3px;padding:5px;border:1px solid var(--border);background:#fff;border-radius:13px}.age-options button{border:0;border-radius:9px;background:none;padding:8px 13px;font-size:13px;font-weight:750}.age-options .selected{background:var(--teal);color:white}.adventure{position:relative;isolation:isolate;background:#e1f5ed;border-radius:25px;min-height:310px;overflow:hidden}.hero-art{position:absolute;inset:0;background-position:center 54%;background-size:cover;z-index:-1}.adventure-copy{padding:32px 37px;width:59%;max-width:610px}.pill{display:inline-block;border-radius:20px;background:#fff8df;padding:7px 13px;color:#866412;font-size:10px;font-weight:850;letter-spacing:1.3px}.adventure h2{font-size:clamp(29px,3vw,45px);line-height:1.13;letter-spacing:-1.5px;margin:17px 0 14px}.adventure h2>span{color:var(--teal)}.adventure p{max-width:330px;font-size:14px;line-height:1.65}.primary{display:inline-flex;gap:23px;align-items:center;background:var(--teal);color:white;border:0;border-bottom:4px solid #08665b;padding:12px 20px;border-radius:12px;font-size:14px;font-weight:750;margin-top:21px}.primary:hover{background:#066e62}.hero-meta{display:flex;gap:18px;font-size:11px;color:#52766d;margin-top:15px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin:29px 0 19px}.section-heading h2{font-size:23px;letter-spacing:-.6px;margin:0;line-height:1.4}.section-heading .eyebrow{font-size:10px;margin-bottom:5px}.activity-count{font-size:12px;color:var(--muted)}.game-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.game-card{border:1px solid transparent;border-bottom-width:4px;border-radius:20px;padding:18px 18px 14px;text-align:left;display:flex;flex-direction:column;transition:transform .18s,box-shadow .18s;min-width:0}.game-card:hover{transform:translateY(-5px);box-shadow:0 12px 25px #23493d10}.letters{background:#edf2fd;border-color:#d7e2fa}.colors{background:#fff3df;border-color:#f4e2c4}.memory{background:#ffefeb;border-color:#f7d9d0}.words{background:#e9f6ee;border-color:#d0e9d9}.card-top{display:flex;justify-content:space-between;align-items:center;gap:6px}.tag{font-size:9px;font-weight:800;letter-spacing:1px}.play-icon{background:#ffffffb0;border-radius:50%;width:27px;height:27px;display:grid;place-items:center;font-size:9px}.card-art{height:103px;display:flex;align-items:center;justify-content:center;margin:4px 0 10px;position:relative;gap:4px}.alphabet-art i{font-style:normal;background:#788ddd;color:white;border-radius:12px;font-size:52px;font-weight:800;width:53px;text-align:center;box-shadow:0 5px 0 #596fc2;transform:rotate(-9deg)}.alphabet-art i:nth-child(2){background:#ffc65d;color:#765221;transform:translateY(-12px) rotate(6deg);box-shadow:0 5px 0 #edab35}.alphabet-art i:last-child{background:#f19681;transform:rotate(13deg);box-shadow:0 5px 0 #d97761}.color-art{gap:0}.color-art i{width:59px;height:59px;border-radius:50%;background:#f78371;border:4px solid #fff3df;transform:translate(10px,-5px)}.color-art i:nth-child(2){background:#f5c148;transform:translate(0,13px);z-index:1}.color-art i:last-child{background:#57bcb1;transform:translate(-10px,-5px)}.memory-art i{font-style:normal;background:#fffbf4;width:47px;height:64px;border:2px solid #f7b69c;border-radius:10px;font-size:33px;text-align:center;line-height:60px;color:#c46b46;transform:rotate(-12deg)}.memory-art i:nth-child(2){background:#f7a584;color:white;transform:translateY(-9px) rotate(5deg)}.memory-art i:last-child{transform:rotate(15deg)}.word-art{font-size:49px;font-weight:800;flex-direction:column;line-height:1.25;color:#288567;transform:rotate(-5deg)}.word-art span{font-size:14px;color:#4c7665;letter-spacing:2px}.game-card strong{font-size:17px;letter-spacing:-.5px;margin-bottom:7px}.card-description{font-size:12px;line-height:1.6;color:var(--muted);min-height:40px}.card-footer{border-top:1px solid #213d3314;display:flex;justify-content:space-between;gap:4px;margin-top:16px;padding-top:13px;font-size:11px;font-weight:750}.card-footer span{font-weight:500;color:var(--muted)}.bottom-row{display:grid;grid-template-columns:1.55fr 1fr;gap:18px;margin-top:24px}.discovery{background:#fff;border:1px solid var(--border);border-radius:18px;padding:18px 20px;display:flex;align-items:center;gap:15px}.discovery-icon{font-size:25px;background:#fff2c5;color:#ba8a00;width:46px;height:46px;border-radius:14px;text-align:center;line-height:46px;flex-shrink:0}.discovery .eyebrow{font-size:9px}.discovery h3{font-size:13px;line-height:1.6;margin:3px 0}.discovery p{font-size:11px}.progress-flowers{margin-left:auto;font-size:27px}.family-card{background:#f7f2fe;border:1px solid #ebe3f5;border-radius:18px;padding:20px;display:flex;align-items:center;gap:15px;text-align:left}.family-card>span:first-child{font-size:33px;color:#8f70b6}.family-card strong{font-size:13px;display:block}.family-card small{font-size:11px;color:#736589;display:block;margin-top:5px}.family-card>span:last-child{margin-left:auto;font-size:22px;color:#8f70b6}footer{display:flex;justify-content:space-between;margin-top:24px;padding:12px 0 0;font-size:11px;color:#69837b}dialog{width:min(650px,calc(100% - 30px));max-height:90dvh;border:0;border-radius:25px;padding:28px 32px;color:var(--ink);box-shadow:0 20px 90px #09352b45}dialog::backdrop{background:#153f3675;backdrop-filter:blur(5px)}.dialog-header{display:flex;align-items:center;justify-content:space-between}.close{border:0;background:#edf5f0;border-radius:50%;width:40px;height:40px;font-size:27px;line-height:1}dialog h2{font-size:28px;line-height:1.25;margin:15px 0 10px}dialog>p{font-size:16px}.feedback{margin-top:18px;min-height:28px;font-weight:650;text-align:center;color:var(--teal)}#game-content{margin-top:24px}.letter-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;direction:rtl}.letter-tile{background:#edf2fd;border:2px solid #d7e2fa;border-radius:16px;min-height:115px;padding:8px}.letter-tile b{font-family:Arial,sans-serif;font-size:48px;display:block;line-height:1.3}.letter-tile small{font-size:14px;display:block;direction:ltr}.word-list{display:grid;gap:12px}.word-item{border:1px solid var(--border);background:#f1faf5;border-radius:16px;display:flex;align-items:center;justify-content:space-between;text-align:left;padding:17px 20px;gap:18px}.word-item b{font-size:36px;font-family:Arial,sans-serif}.word-item strong{display:block;font-size:18px}.word-item small{font-size:14px;color:var(--muted)}.color-prompt{text-align:center;font-size:42px;font-family:Arial,sans-serif}.color-pronunciation{text-align:center;color:var(--muted);margin-bottom:20px}.color-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.color-choice{border:3px solid #fff;border-radius:20px;min-height:100px;box-shadow:0 0 0 1px #dbe6e0;padding:14px;color:#172e2a;font-weight:750;text-shadow:0 1px 4px #fff}.memory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;direction:rtl}.memory-tile{min-height:94px;background:#fcdfd3;border:2px solid #f4b69d;border-bottom-width:5px;border-radius:16px;font-size:38px;font-family:Arial,sans-serif}.memory-tile.matched{background:#d5f1df;border-color:#98cbb0}.game-actions{display:flex;justify-content:center;margin-top:20px}.info-list{padding-left:22px;color:var(--muted)}.info-list li{margin-bottom:15px}.source{font-size:13px;margin-top:22px}.primary:disabled{opacity:.65}.selected-letter{background:#d5f1df;border-color:#89bea2}@media(min-width:1650px){main{padding-top:46px}.adventure{min-height:370px}.adventure-copy{padding:40px}.game-card{padding:23px}.card-art{height:130px}.game-card strong{font-size:20px}.card-description{font-size:14px}}@media(max-width:1180px){.sidebar{width:195px;padding-left:18px;padding-right:18px}.page{margin-left:195px}.topbar{padding:0 28px}main{padding:28px}.welcome{flex-wrap:wrap}.age-picker{text-align:left;display:flex;align-items:center;gap:12px}.age-picker>span{margin:0}.game-grid{grid-template-columns:repeat(2,1fr)}.card-art{height:120px}.card-description{font-size:14px;min-height:0}.game-card strong{font-size:19px}.card-footer{font-size:13px}.tag{font-size:11px}.bottom-row{grid-template-columns:1fr}.adventure-copy{width:67%}.adventure h2{font-size:36px}.adventure p{max-width:260px}.activity-count{display:none}.discovery p,.family-card small{font-size:13px}.discovery h3,.family-card strong{font-size:15px}}@media(max-width:750px){.sidebar{position:static;width:100%;padding:17px 20px;flex-direction:row;align-items:center;justify-content:space-between;border-right:0;border-bottom:1px solid var(--border)}.brand{font-size:24px}.brand-mark{width:37px;height:43px;font-size:31px;border-radius:12px}.brand-kids{font-size:18px}.side-caption,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:5px}.nav-item{font-size:0;padding:8px 11px;min-height:42px;gap:0}.nav-item>span{font-size:25px}.page{margin-left:0}.topbar{height:56px;padding:0 20px}.topbar-label{font-size:10px;letter-spacing:1px}.explorer{display:none}.sound-toggle{margin:0;font-size:12px;border:0;padding:7px}.avatar{width:30px;height:30px;font-size:18px;line-height:30px}main{padding:24px 20px 18px}.welcome{gap:18px;margin-bottom:21px}h1{font-size:28px}.welcome p:last-child{font-size:15px}.age-picker{width:100%;justify-content:space-between}.age-options button{padding:9px 12px;font-size:13px}.adventure{min-height:375px}.hero-art{background-position:63% bottom;background-size:auto 300px;background-repeat:no-repeat}.adventure-copy{width:100%;padding:25px;max-width:none;background:linear-gradient(180deg,#e1f5ed 37%,#e1f5edec 53%,#e1f5ed00 90%)}.adventure h2{font-size:34px;margin-top:14px}.adventure p{max-width:230px;font-size:14px}.hero-meta{display:none}.primary{margin-top:16px}.pill{font-size:9px}.section-heading h2{font-size:22px}.game-grid{gap:12px}.game-card{padding:15px 13px}.card-art{height:94px}.alphabet-art i{width:42px;font-size:39px;border-radius:9px}.color-art i{width:50px;height:50px;flex-shrink:0}.memory-art i{width:39px;height:54px;line-height:50px;font-size:30px}.word-art{font-size:43px}.tag{font-size:8px;letter-spacing:.8px}.play-icon{width:24px;height:24px;flex-shrink:0}.game-card strong{font-size:17px;line-height:1.25}.card-description{font-size:13px;min-height:44px}.card-footer{font-size:11px;margin-top:12px;padding-top:10px}.bottom-row{margin-top:18px}.discovery{padding:17px 14px;gap:11px}.discovery .eyebrow{font-size:9px}.progress-flowers{display:none}footer{font-size:11px;gap:12px;flex-wrap:wrap}.letter-grid{grid-template-columns:repeat(3,1fr)}dialog{padding:23px 20px}.memory-grid{gap:8px}.memory-tile{min-height:75px}.color-choice{min-height:95px;font-size:13px}.word-item{padding:14px}.word-item b{font-size:30px}.word-item strong{font-size:16px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
/* Preserve the mascot's face and keep mobile copy clear of the illustration. */
.adventure{background:#c5efd4}.hero-art{background-size:auto 130%;background-position:right center;background-repeat:no-repeat}@media(max-width:750px){.adventure{min-height:485px;background:#e1f5ed}.hero-art{background-position:right bottom;background-size:auto 235px}.adventure-copy{background:none}.adventure p{max-width:290px}}

.fruit-illustration{width:1.4em;height:1.4em;max-width:100%;object-fit:contain;vertical-align:middle}.memory-tile>span{display:block;font-size:2rem}.memory-tile small{display:block;font-size:.78rem;color:#163c52}.memory-tile .fruit-illustration{width:64px;height:64px}.object-art .fruit-illustration,.flashcard-emoji .fruit-illustration{width:96px;height:96px}.fruit-practice{background:#fff8df!important}.fruit-practice button{min-height:48px}

/* Keep activity windows inside the viewport even when the game menu is scrolled. */
dialog[open]{position:fixed;inset:0;margin:auto;overflow-y:auto}body:has(dialog[open]){overflow:hidden}
