@import url('./motion.css');
:root{font-family:ui-rounded,'Avenir Next',Avenir,'Trebuchet MS',sans-serif;color:#263e35;background:#f8f5ee;font-synthesis:none;--green:#355e4b;--muted:#43594e;--orange:#c6643d}*{box-sizing:border-box}html,body{margin:0;touch-action:pan-x pan-y}button,a,input,select{-webkit-tap-highlight-color:transparent}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #145c70;outline-offset:3px}button{color:inherit}a{color:inherit;text-decoration:none}button:disabled{cursor:default;opacity:.6}.site-header{max-width:none;margin:auto;height:70px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid rgba(41,72,61,.08)}.wordmark{display:flex;gap:12px;align-items:center}.brand-icon{font-size:44px;color:#c96b41}.wordmark b{font-size:26px;letter-spacing:-1px}.wordmark i{font-style:normal}.wordmark i:first-child{color:#bd633e}.wordmark em{font-style:normal;color:#bc984b}.wordmark small{display:block;font-size:9px;letter-spacing:3px;margin-top:5px}nav{display:flex;gap:30px;font-size:13px;font-weight:bold}.text-button{border:0;background:none;padding:0;font:inherit}.header-note{font-size:11px;color:var(--muted)}.header-note span{display:inline-block;width:6px;height:6px;background:#7b9672;border-radius:50%;margin-right:7px}main{max-width:1440px;margin:auto;padding:38px 5% 0}.section-top{display:flex;align-items:end;justify-content:space-between;margin-bottom:25px;gap:20px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:800;color:var(--muted)}h1{font-size:clamp(25px,3vw,40px);letter-spacing:-1.6px;margin:9px 0 0;font-weight:700}h1 span{color:#c16543;font-family:Georgia,serif;font-style:italic;font-weight:normal}.playroom-tag{font-family:Georgia,serif;font-style:italic;font-size:15px;color:var(--muted);padding-bottom:3px}.play-shell{--scene:#edf0dd;--ink:#355e4b;--soft:#dee7cb;background:var(--scene);color:var(--ink);border:1px solid #d9dfcb;border-radius:20px;overflow:hidden;position:relative}.play-shell[data-theme=ocean]{--scene:#e1eef2;--ink:#315f76;--soft:#c4e0e9}.play-shell[data-theme=space]{--scene:#262d47;--ink:#f7e9cc;--soft:#374361;border-color:#46506c}.play-toolbar{height:62px;display:flex;justify-content:space-between;align-items:center;padding:0 25px;position:relative;z-index:2;font-size:12px}.play-toolbar>span{font-weight:700}.play-toolbar>div{display:flex;gap:8px}.play-toolbar button{border:1px solid color-mix(in srgb,var(--ink) 17%,transparent);background:transparent;border-radius:20px;padding:8px 12px;color:var(--ink);font-size:11px}.stage{position:relative;height:430px;overflow:hidden;touch-action:manipulation;outline:none!important}.stage:focus,.stage:focus-visible{outline:none!important}canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:3}.welcome{position:relative;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:20px;isolation:isolate}.welcome-kicker{font-size:9.5px;letter-spacing:2.2px;font-weight:bold;color:#364e42}.welcome h2{font-size:clamp(34px,4.1vw,57px);letter-spacing:-2px;line-height:1.12;margin:19px 0 14px;font-weight:650}.welcome h2 em{font-family:Georgia,serif;font-weight:normal;color:#bc603e}.welcome p{font-size:14px;margin:0 0 25px;color:#384d42}.primary{background:var(--green);color:#fff9e9;border:0;border-radius:30px;padding:15px 27px;display:inline-flex;align-items:center;justify-content:center;gap:35px;font-size:13px;font-weight:bold;min-height:48px}.primary:hover{background:#274b3a}.welcome small{font-size:11px;margin-top:15px;color:#4a6256}.toy-art{position:absolute;inset:0;z-index:-1;pointer-events:none}.toy{position:absolute;display:block}.flower{font-size:125px;color:#e8b55b;left:9%;top:4%;transform:rotate(-12deg)}.letter{font-family:Georgia,serif;font-weight:bold;font-size:105px;color:#739475;left:19%;bottom:12%;transform:rotate(-16deg);text-shadow:3px 5px #4d77532a}.star{color:#d18662;font-size:90px;right:13%;top:5%;transform:rotate(17deg)}.circle{width:62px;height:62px;border:14px solid #df9d81;border-radius:50%;left:6%;bottom:20%}.number{font-family:Georgia,serif;font-weight:bold;font-size:98px;color:#8b9dbc;right:9%;bottom:11%;transform:rotate(16deg)}.leaf{font-size:88px;color:#7a9970;right:24%;bottom:3%;transform:rotate(-20deg)}.dot{width:14px;height:14px;background:#c6ad76;border-radius:50%;left:30%;top:8%}.play-bottom{height:48px;border-top:1px solid color-mix(in srgb,var(--ink) 12%,transparent);display:flex;align-items:center;justify-content:space-between;padding:0 25px;font-size:10px}.play-bottom button{border:0;background:none;color:inherit;text-decoration:underline;padding:10px}.under-play{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin:16px 2px 45px}.under-play b{margin:0 9px}.games-section h2,.parent-strip h2{font-size:28px;letter-spacing:-.8px;margin:10px 0 0;color:#203a31}.section-note{font-size:12px;color:var(--muted)}.game-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.game-card{padding:0;background:#fffdf8;border:1px solid #e3e1d6;border-radius:14px;text-align:left;overflow:hidden;transition:transform .18s,border-color .18s}.game-card:hover{transform:translateY(-4px);border-color:#839a78}.game-card.selected{border-color:#74926d;box-shadow:0 0 0 1px #74926d}.card-art{height:135px;display:flex;align-items:center;justify-content:center;gap:6px;position:relative;overflow:hidden}.card-art i{font-style:normal}.card-art b{position:absolute;font-size:25px}.keyboard-art{background:#e7eddf}.keyboard-art i{background:#faf6e9;width:44px;height:48px;border-radius:9px;box-shadow:0 5px #c5cdb5;display:grid;place-items:center;font:700 30px Georgia;color:#678067;transform:rotate(-12deg)}.keyboard-art i:nth-child(2){transform:translateY(-9px) rotate(7deg);color:#c8835f}.keyboard-art i:nth-child(3){transform:rotate(16deg);color:#7c94ac}.keyboard-art b{right:20px;top:13px;color:#caa357}.music-art{background:#f8e9d7}.music-art i{height:75px;width:20px;border-radius:7px;background:#c67e66;transform:rotate(8deg);box-shadow:0 4px #00000013}.music-art i:nth-child(2){height:65px;background:#d8a64e}.music-art i:nth-child(3){height:55px;background:#90a776}.music-art i:nth-child(4){height:45px;background:#8aa6ad}.music-art i:nth-child(5){height:35px;background:#a59bb8}.music-art b{right:18px;top:12px;color:#be8b5b;transform:rotate(12deg)}.colors-art{background:#f4e2dc}.colors-art i{width:40px;height:39px;border-radius:5px 5px 16px 16px;background:#c78b7c;transform:translateY(15px)}.colors-art i:nth-child(2){background:#d6ae65}.colors-art i:nth-child(3){background:#84a48e}.colors-art b{top:16px;left:calc(50% - 12px);color:#d5aa60}.counting-art{background:#f5efd7}.counting-art i{font-size:47px;transform:rotate(-15deg)}.counting-art i:nth-child(2){transform:translate(-12px,17px) rotate(15deg)}.counting-art b{right:23px;top:12px;font:700 43px Georgia;color:#a8a478}.memory-art{background:#e9e6ef}.memory-art i{width:52px;height:66px;border:4px solid #fffcf7;background:#dccbd7;border-radius:7px;display:grid;place-items:center;font-size:35px;color:#a47586;transform:rotate(-13deg)}.memory-art i:nth-child(2){transform:translateY(10px) rotate(12deg);background:#dce6cf;color:#819c74}.memory-art b{right:18px;top:10px;color:#b5a7bd}.card-category{display:block;font-size:10px;letter-spacing:1.2px;font-weight:800;color:var(--muted);margin:18px 14px 10px}.game-card strong{font-size:14.5px;display:flex;justify-content:space-between;gap:5px;margin:0 14px;letter-spacing:-.3px;color:#203a31}.card-copy{font-size:11.5px;line-height:1.6;display:block;margin:9px 14px 19px;min-height:32px;color:var(--muted)}.card-meta{display:flex;justify-content:space-between;font-size:10px;padding:13px 14px;border-top:1px solid #ebe9df;color:var(--muted)}.card-meta b{font-weight:normal;opacity:.6}.parent-strip{display:flex;align-items:center;gap:25px;padding:34px 0;margin:38px 0 22px;border-top:1px solid #dedfd4;border-bottom:1px solid #dedfd4}.parent-symbol{font-size:50px;background:#e9e9dc;width:83px;height:83px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;color:#73886a}.parent-strip h2{font-size:24px}.parent-strip p{font-size:12px;color:var(--muted);margin:10px 0 0}.secondary{margin-left:auto;border:1px solid #9da78e;border-radius:24px;background:none;padding:14px 20px;font-size:11px;white-space:nowrap}footer{max-width:1440px;padding:12px 5% 34px;margin:auto;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted)}.footer-brand{font-size:17px;font-weight:bold;color:#526a51}.footer-brand em{font-family:Georgia,serif;font-weight:normal;color:#bd8a42}.footer-brand small{font-size:8px;letter-spacing:2px;margin-left:8px}dialog{color:#263e35;background:#fffdf7;border:1px solid #dadfcb;border-radius:22px;padding:28px;width:min(460px,calc(100% - 32px));max-height:90dvh;box-shadow:0 20px 100px #16261a40}dialog::backdrop{background:#1d302977;backdrop-filter:blur(5px)}.dialog-top{display:flex;justify-content:space-between;align-items:center}.close{font-size:24px;background:rgba(0,0,0,.04);border:0;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;cursor:pointer;transition:background .15s ease}.close:hover{background:rgba(0,0,0,.09)}.close:focus-visible{outline:3px solid #145c70;outline-offset:2px}dialog h2{font-size:28px;letter-spacing:-1px;margin:12px 0;color:#203a31}dialog p{font-size:13.5px;line-height:1.7;color:var(--muted)}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #e5e5dc;font-size:13px;color:#203a31}.setting-row select{max-width:180px;padding:8px 12px;border-radius:8px;border:1px solid #cfd5c4;background:#f8f8ee;color:#355e4b;font-weight:600}.setting-row input[type=checkbox]{width:22px;height:22px;accent-color:#355e4b}.setting-row input[type=range]{width:140px;accent-color:#355e4b}.fine-print{font-size:11.5px!important;line-height:1.5}dialog .primary{width:100%;margin-top:12px}#play-hint{position:absolute;inset:45% 15px auto;text-align:center;color:var(--ink);opacity:.6;pointer-events:none;font-size:18px}#game-content{height:100%;padding:20px 35px;position:relative;text-align:center;overflow:auto}#game-content h2{font-size:26px;margin:5px 0 10px;letter-spacing:-.6px}#game-content p{font-size:13px;margin:8px 0 20px}.notes{display:flex;align-items:center;justify-content:center;gap:12px;margin:35px auto 20px;max-width:780px;touch-action:none}.note{width:11%;height:calc(210px - var(--i)*14px);min-height:90px;border:0;border-radius:15px;background:var(--color);color:#25392e;box-shadow:0 7px #00000015;display:flex;flex-direction:column;align-items:center;justify-content:space-around;font-size:23px;touch-action:none}.note small{font-size:11px}.note.hit{transform:translateY(5px);box-shadow:0 2px #00000015}.color-object{width:78px;height:78px;margin:17px auto 24px;border-radius:50%;background:var(--color);border:5px solid #ffffffaa;box-shadow:0 7px #00000009}.baskets{display:flex;gap:18px;justify-content:center}.basket{border:3px solid #ffffffa0;border-radius:12px 12px 30px 30px;background:var(--color);min-width:100px;padding:20px 15px;color:#1f332b;font-weight:bold}.basket small{display:block;margin-top:7px;font-weight:normal;font-size:11px}.feedback{min-height:25px;font-weight:bold!important}.count-target{font:700 58px Georgia}.picnic-tray-scene{perspective:900px;margin:10px auto 14px;display:flex;justify-content:center;align-items:center;padding:6px 0 16px}.picnic-plate{position:relative;width:min(440px,92vw);min-height:180px;padding:24px 30px;margin:0 auto;border-radius:54px;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;align-content:center;gap:10px 14px;transform:rotateX(18deg);transform-style:preserve-3d;transition:transform .45s cubic-bezier(.34,1.56,.64,1),box-shadow .45s ease;background:radial-gradient(ellipse 95% 75% at 50% 32%,#fffdf8 0%,#faf1e1 45%,#edd9bc 80%,#dfc49e 100%);border:8px solid #f2ca85;box-shadow:0 -2px 0 1px rgba(255,255,255,.85),0 4px 0 0 #d9a356,0 8px 0 0 #be853c,0 12px 0 0 #9c6725,0 24px 38px -4px rgba(10,16,28,.52),0 12px 20px -4px rgba(10,16,28,.32),inset 0 16px 26px -6px rgba(100,60,20,.28),inset 0 3px 8px rgba(100,60,20,.16),inset 0 -5px 12px rgba(255,255,255,.7)}.mango{border:0;background:transparent;font-size:48px;padding:4px}.game-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}.game-actions button,.round-button{border:1px solid #bcc8ac;border-radius:24px;background:#fffaf0;color:#355e4b;padding:12px 19px;min-height:44px}.memory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;max-width:460px;margin:16px auto}.memory-card{height:95px;background:var(--soft);border:2px solid color-mix(in srgb,var(--ink) 20%,transparent);border-radius:13px;color:var(--ink);font-size:38px}.memory-card.revealed{background:#fff9e9;color:#b5754b}.memory-card.matched{background:#d9e5c5;color:#4e704d;opacity:.8}.play-shell:fullscreen{border-radius:0;border:0;display:flex;flex-direction:column}.play-shell:fullscreen .stage{flex:1;height:auto}.play-shell:fullscreen .welcome{min-height:65dvh}.noscript{text-align:center;padding:20px}[hidden]{display:none!important}
@media(min-width:1500px){.stage{height:490px}}@media(max-width:1050px){.header-note{display:none}.game-grid{gap:10px}.game-card strong{font-size:12px}.card-art{height:115px}.card-art i{transform:scale(.85)}.card-category{font-size:9.5px}.toy.flower{left:4%}.toy.letter{left:13%}.toy.star{right:7%}.toy.leaf{right:18%}.parent-strip h2{font-size:20px}}
@media(max-width:760px){.site-header{height:84px;padding:0 5%}.wordmark b{font-size:22px}.brand-icon{font-size:36px}nav{gap:16px;font-size:11px}nav>a{display:none}main{padding-top:25px}.section-top{margin-bottom:20px}.playroom-tag,.section-note{display:none}h1{letter-spacing:-1px;font-size:29px}.play-toolbar{padding:0 13px;height:56px}.play-toolbar>span{font-size:10px}.play-toolbar button{padding:8px 9px}.play-toolbar button span{display:none}.stage{height:440px}.welcome h2{font-size:40px}.welcome p{font-size:11px}.welcome-kicker{font-size:8px}.toy.flower{font-size:77px;top:0%;left:3%}.toy.star{font-size:63px;top:3%;right:5%}.toy.letter{font-size:67px;left:5%;bottom:7%}.toy.number{font-size:60px;right:6%;bottom:7%}.toy.circle{width:33px;height:33px;border-width:9px;left:4%;bottom:29%}.toy.leaf{display:none}.toy.dot{left:40%;top:3%;width:9px;height:9px}.play-bottom{padding:0 13px;font-size:9px;gap:8px}.under-play{margin-bottom:33px;font-size:9px}.under-play>span:last-child{display:none}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.game-card:first-child{grid-column:span 2;display:grid;grid-template-columns:40% 1fr;grid-template-rows:35px 30px 45px 32px}.game-card:first-child .card-art{grid-row:1/5;height:100%}.game-card:first-child .card-category{margin-top:18px}.game-card:first-child .card-meta{padding-top:9px}.game-card strong{font-size:14px}.card-category{font-size:7px}.card-art{height:125px}.card-copy{font-size:11px}.games-section h2{font-size:25px}.parent-strip{flex-wrap:wrap;gap:16px;padding:26px 0}.parent-symbol{width:55px;height:55px;font-size:35px}.parent-strip>div{flex:1}.parent-strip h2{font-size:19px}.parent-strip p{font-size:11px;line-height:1.6}.secondary{margin-left:71px}footer{flex-wrap:wrap;gap:20px;padding-bottom:25px}footer>span:nth-child(2){display:none}#game-content{padding:18px 12px}.notes{gap:6px;margin-top:50px}.note{font-size:17px;border-radius:9px;height:calc(180px - var(--i)*10px)}.basket{min-width:0;flex:1;max-width:110px;padding:20px 7px;font-size:12px}.baskets{gap:8px}.memory-grid{gap:8px}.memory-card{height:85px}.play-shell:fullscreen .stage{min-height:0}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.reduce-motion *{transition:none!important}

/* Official logo palette: yellow, turquoise, coral, and deep navy.
   The supplied PNG remains unchanged inside a self-contained SVG. */
:root{--brand-navy:#102456;--brand-yellow:#ffd329;--brand-turquoise:#00bcc9;--brand-coral:#ff716b;--green:#12516a;--muted:#57667d;--orange:#e75b54;color:var(--brand-navy);background:#fffaf0}
.site-header{border-color:rgba(41,72,61,.08);height:70px}.official-wordmark{display:flex;align-items:center;gap:8px}.logo-window{display:block;width:118px;height:50px;overflow:hidden;flex-shrink:0}.logo-window img{display:block;width:118px;height:72px;object-fit:contain;transform:translateY(-11px)}.playroom-label{display:none!important}.wordmark:hover{opacity:.9}.header-note span{background:var(--brand-turquoise)}h1 span{color:#df625a}.eyebrow{color:#456c7d}.play-shell{--scene:#eefaf7;--ink:#173b5b;--soft:#d0eee7;border-color:#c0e5e6}.play-shell[data-theme=ocean]{--scene:#e8f8ff;--ink:#163e68;--soft:#c3e7f8;border-color:#bbdeee}.play-shell[data-theme=space]{--scene:#18264c;--ink:#fff0be;--soft:#2f4373;border-color:#405681}.welcome h2 em{color:#d96055}.primary{background:#12667a;box-shadow:0 3px 0 #0d435625}.primary:hover{background:#104f66}.flower{color:#f6c73d}.letter{color:#16b8bd;text-shadow:3px 5px #00899520}.star{color:#f48779}.number{color:#4d91ca}.circle{border-color:#f3a285}.leaf{color:#6caf94}.dot{background:#eabb49}.game-card{background:#fffefa;border-color:#e8e4d8}.game-card.selected{border-color:#129aa7;box-shadow:0 0 0 1px #129aa7}.game-card:hover{border-color:#129aa7}.keyboard-art{background:#dcf5ef}.keyboard-art i{color:#098d9e;box-shadow:0 5px #b5d9d5}.keyboard-art i:nth-child(2){color:#e17658}.keyboard-art i:nth-child(3){color:#316bae}.music-art{background:#fff0c5}.colors-art{background:#ffe4de}.counting-art{background:#fff2cf}.memory-art{background:#e7edff}.parent-strip{border-color:#e7dfcd}.parent-symbol{color:#167b8e;background:#dff2ec}.secondary{border-color:#a4cdd0;color:#17556f}footer{color:#52677c}.footer-brand .logo-window{width:140px}dialog{color:var(--brand-navy);border-color:#c4e3e4}.setting-row select{color:#145c70;background:#eff8f6;border-color:#bddddd}.setting-row input[type=checkbox],.setting-row input[type=range]{accent-color:#137b8f}.game-actions button,.round-button{color:#144b67;border-color:#a9cdd1}.under-play{color:#566f7d}
@media(max-width:1050px){.playroom-label{display:none}}
@media(max-width:760px){.site-header{height:64px}.logo-window{width:104px;height:44px}.welcome-kicker{font-size:7px;letter-spacing:1.5px}.footer-brand .logo-window{width:140px}}

/* Clear navigation and a distinct branded footer at every viewport width. */
.site-header{position:sticky;top:0;z-index:30;max-width:none;height:70px;padding:0 max(5%,calc((100vw - 1296px)/2));background:#fffdf8;border-bottom:1px solid rgba(41,72,61,.08);box-shadow:0 2px 12px rgba(41,72,61,.04);display:flex;align-items:center;justify-content:space-between;gap:20px}
.site-header nav{display:flex;align-items:center;gap:8px;font-size:13px}.site-header nav a,.site-header nav button{font-size:13px;font-weight:700;color:#29483d;padding:8px 14px;border-radius:999px;border:none;background:transparent;display:inline-flex;align-items:center;line-height:1;transition:background .18s ease,color .18s ease;text-decoration:none;cursor:pointer}.site-header nav a:hover,.site-header nav button:hover{background:rgba(41,72,61,.07);color:#1c352c}.site-header nav a.active{background:rgba(41,72,61,.1);color:#1c352c;font-weight:800}.playroom-label{display:none!important}.header-note{display:none}.header-youtube{display:inline-flex!important;align-items:center!important;gap:7px!important;background:#ef4037!important;color:#fff!important;border:none!important;border-radius:999px!important;padding:8px 16px 8px 12px!important;font-size:11.5px!important;font-weight:800!important;letter-spacing:.2px!important;box-shadow:0 3px 12px rgba(239,64,55,.28)!important;transition:transform .18s ease,box-shadow .18s ease,background .18s ease!important;white-space:nowrap!important;text-decoration:none!important;line-height:1!important;margin-left:4px}.header-youtube svg{width:16px!important;height:16px!important;fill:#fff!important;color:#fff!important;flex-shrink:0!important}.header-youtube:hover{transform:translateY(-1px)!important;box-shadow:0 5px 16px rgba(239,64,55,.38)!important;background:#df352d!important;color:#fff!important}.header-youtube:active{transform:translateY(1px)!important;box-shadow:0 2px 6px rgba(239,64,55,.25)!important}
main{padding-top:26px}#games,#top{scroll-margin-top:84px}.section-top{margin-bottom:20px}.stage{height:clamp(320px,46vh,470px)}.play-shell:fullscreen .stage{height:auto}.under-play{margin-bottom:30px}
.site-footer{max-width:none;margin-top:28px;padding:30px max(5%,calc((100vw - 1296px)/2));background:#102456;color:#fff7de;gap:35px;border-top:5px solid #ffd329;min-height:162px}.site-footer .official-wordmark{flex-shrink:0}.site-footer .footer-message{display:flex;flex-direction:column;gap:8px;margin-right:auto}.footer-message strong{font-size:22px;color:#ffd329}.footer-message span{font-size:13px;color:#d0e8ef}.footer-links{display:flex;gap:22px;align-items:center;flex-wrap:wrap;font-size:12px}.footer-links a,.footer-links button{display:inline-block;padding:10px 0;color:#fff7de}.footer-links a:hover,.footer-links button:hover{text-decoration:underline}.site-footer .text-button{font:inherit}
@media(max-width:760px){.site-header{height:64px;padding:0 5%;gap:10px}.site-header nav{gap:6px;font-size:11px}.site-header nav a,.site-header nav button{padding:6px 10px;font-size:11px}.site-header nav>a{display:inline-block}.site-header .playroom-label{display:none!important}.site-header .logo-window{width:104px;height:44px}.site-header .logo-window img{width:104px;height:64px;transform:translateY(-10px)}.site-footer{padding:25px 6%;gap:22px;justify-content:flex-start}.site-footer .footer-brand .logo-window{width:114px}.footer-message strong{font-size:19px}.footer-message span{font-size:11px}.footer-links{flex-basis:100%;border-top:1px solid #ffffff26;padding-top:13px;justify-content:space-between;gap:12px}.footer-links a{display:inline-block}#games,#top{scroll-margin-top:76px}.stage{height:400px}}


/* Matching examples float beside the original canvas letters. */
#game-content.keyboard-content{position:absolute;inset:0;padding:0;overflow:hidden;pointer-events:none}
.baby-keyboard{position:absolute;bottom:10px;left:0;right:0;display:flex;flex-direction:column;align-items:center;gap:5px;pointer-events:auto;z-index:5;padding:0 8px;user-select:none;-webkit-user-select:none}
.baby-keyboard-row{display:flex;gap:4px;justify-content:center;width:100%;max-width:680px}
.baby-key{flex:1;max-width:58px;height:42px;min-width:0;border:none;border-radius:12px;background:#fff;color:var(--ink,#173b5b);font:800 clamp(13px,3.2vw,20px) ui-rounded,'Avenir Next',system-ui,sans-serif;box-shadow:0 4px 0 var(--key-color,#95b99b),0 6px 10px rgba(0,0,0,.08);display:grid;place-items:center;cursor:pointer;transition:transform .1s ease,box-shadow .1s ease,background .1s ease;touch-action:manipulation;padding:0;-webkit-tap-highlight-color:transparent}
.baby-key:hover{transform:translateY(-2px);box-shadow:0 6px 0 var(--key-color,#95b99b),0 8px 14px rgba(0,0,0,.12)}
.baby-key.hit,.baby-key:active{transform:translateY(3px);box-shadow:0 1px 0 var(--key-color,#95b99b),0 2px 4px rgba(0,0,0,.1);background:var(--soft,#d0eee7)}
@media(max-width:620px){.baby-keyboard{bottom:6px;gap:3px;padding:0 4px}.baby-keyboard-row{gap:3px}.baby-key{height:38px;border-radius:9px;font-size:14px;box-shadow:0 3px 0 var(--key-color,#95b99b)}}
.keyboard-example{position:absolute;width:140px;max-width:38%;text-align:center;color:var(--ink);animation:keyboard-example-float 4.2s ease-out forwards;pointer-events:none}
.keyboard-example-picture{height:110px;font-size:80px;line-height:110px;filter:drop-shadow(0 6px 8px #263e3520)}
.keyboard-example-picture img{width:100%;height:100%;object-fit:contain}
.keyboard-example>span{display:block;font-size:17px;font-weight:800;line-height:1.25;text-shadow:0 1px 3px var(--scene)}
.keyboard-example-picture.counting-picture{font-size:25px;line-height:1.3;display:flex;align-items:center;justify-content:center;overflow-wrap:anywhere}
@keyframes keyboard-example-float{0%{opacity:0;transform:translateY(12px) scale(.92)}12%,72%{opacity:1;transform:translateY(0) scale(1)}100%{opacity:0;transform:translateY(-22px) scale(.96)}}
.reduce-motion .keyboard-example{animation:none}
@media(prefers-reduced-motion:reduce){.keyboard-example{animation:none}}
@media(max-width:620px){.keyboard-example{width:108px}.keyboard-example-picture{height:84px;font-size:65px;line-height:84px}.keyboard-example>span{font-size:14px}.keyboard-example-picture.counting-picture{font-size:21px;line-height:1.3}}
.exit-fullscreen-prompt{position:absolute;bottom:40px;top:auto;left:50%;transform:translateX(-50%);background:rgba(16,36,86,.94);color:#fff7de;border:2px solid #ffd329;border-radius:999px;padding:10px 22px;font-size:15px;font-weight:700;letter-spacing:.3px;box-shadow:0 10px 30px rgba(16,36,86,.45),0 0 0 1px rgba(255,211,41,.35);z-index:99;pointer-events:auto;display:flex;align-items:center;gap:8px;animation:prompt-pop .35s cubic-bezier(.34,1.56,.64,1);text-align:center;white-space:nowrap}
.exit-fullscreen-prompt strong{color:#ffd329;font-weight:800;background:rgba(255,211,41,.18);padding:2px 8px;border-radius:6px;border:1px solid rgba(255,211,41,.4)}
.prompt-exit-hold{background:rgba(255,211,41,.22);color:#ffd329;border:1.5px solid #ffd329;border-radius:999px;padding:4px 12px;font-size:12px;font-weight:800;cursor:pointer;user-select:none;-webkit-user-select:none;touch-action:none;position:relative;overflow:hidden;transition:transform .15s ease,background .15s ease}
.prompt-exit-hold.holding{background:#ffd329;color:#102456;box-shadow:0 0 14px rgba(255,211,41,.7);transform:scale(.96)}
.exit-prompt-sep{color:rgba(255,247,222,.5);font-weight:400}
@keyframes prompt-pop{0%{opacity:0;transform:translate(-50%,12px) scale(.9)}100%{opacity:1;transform:translate(-50%,0) scale(1)}}
.reduce-motion .exit-fullscreen-prompt{animation:none}
@media(prefers-reduced-motion:reduce){.exit-fullscreen-prompt{animation:none}}
@media(max-width:620px){.exit-fullscreen-prompt{bottom:18px;top:auto;padding:8px 16px;font-size:13px}}
.fullscreen-exit-gate{display:none!important;position:absolute;top:12px;right:14px;z-index:100;background:rgba(16,36,86,.82);color:#fff7de;border:1.5px solid rgba(255,211,41,.55);border-radius:999px;padding:7px 14px;font-size:12px;font-weight:700;letter-spacing:.2px;cursor:pointer;align-items:center;gap:6px;user-select:none;-webkit-user-select:none;touch-action:none;box-shadow:0 4px 14px rgba(16,36,86,.35);overflow:hidden}
.fullscreen-exit-gate .exit-gate-progress{position:absolute;inset:0;width:0%;background:rgba(255,211,41,.32);pointer-events:none;transition:width 0s linear}
.fullscreen-exit-gate.holding .exit-gate-progress{width:100%;transition:width var(--hold-duration,2000ms) linear}
.fullscreen-exit-gate.holding{border-color:#ffd329;box-shadow:0 0 16px rgba(255,211,41,.6);transform:scale(.98)}
.fullscreen-exit-gate.hold-success{background:#ffd329;color:#102456;border-color:#ffd329;box-shadow:0 0 24px rgba(255,211,41,.8)}
body.in-fullscreen .fullscreen-exit-gate,
.play-shell.in-fullscreen .fullscreen-exit-gate,
.play-shell:fullscreen .fullscreen-exit-gate,
.play-shell:-webkit-full-screen .fullscreen-exit-gate{display:inline-flex!important}
@media(max-width:620px){.fullscreen-exit-gate{top:10px;right:10px;padding:6px 11px;font-size:11px}}
body.in-fullscreen .play-toolbar>div,
.play-shell.in-fullscreen .play-toolbar>div,
.play-shell:fullscreen .play-toolbar>div,
.play-shell:-webkit-full-screen .play-toolbar>div,
body.in-fullscreen .play-bottom button,
.play-shell.in-fullscreen .play-bottom button,
.play-shell:fullscreen .play-bottom button,
.play-shell:-webkit-full-screen .play-bottom button{display:none!important;pointer-events:none!important}

.fullscreen-lock-guard[hidden],
.exit-fullscreen-prompt[hidden],
.fullscreen-exit-gate[hidden]{display:none!important}
.fullscreen-lock-guard{position:fixed;inset:0;width:100vw;height:100vh;z-index:100000;background:rgba(16,36,86,.96);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);display:flex;align-items:center;justify-content:center;text-align:center;color:#fff7de;cursor:pointer;animation:prompt-pop .3s ease-out;user-select:none;-webkit-user-select:none}
.lock-guard-card{max-width:440px;margin:20px;padding:36px 30px;background:rgba(255,255,255,.07);border:2px solid #ffd329;border-radius:28px;box-shadow:0 24px 60px rgba(0,0,0,.55),0 0 0 1px rgba(255,211,41,.3)}
.lock-guard-icon{font-size:42px;margin-bottom:12px;filter:drop-shadow(0 2px 8px rgba(255,211,41,.4))}
.lock-guard-card h2{font-size:28px;margin:0 0 10px;color:#fff7de;letter-spacing:-.5px}
.lock-guard-card p{font-size:15px;margin:0 0 22px;color:rgba(255,247,222,.9);line-height:1.5}
.lock-guard-actions{display:flex;gap:12px;justify-content:center;align-items:center;flex-wrap:wrap}
.lock-guard-resume-btn{background:#ffd329;color:#102456;border:none;font-weight:800;font-size:17px;padding:14px 32px;border-radius:999px;cursor:pointer;box-shadow:0 6px 20px rgba(255,211,41,.4);transition:transform .15s ease,background .15s ease}
.lock-guard-resume-btn:hover{transform:scale(1.04);background:#ffe066}
.lock-guard-exit-btn{background:rgba(255,255,255,.12);color:#fff7de;border:1.5px solid rgba(255,211,41,.6);font-weight:700;font-size:15px;padding:13px 24px;border-radius:999px;cursor:pointer;user-select:none;-webkit-user-select:none;touch-action:none;position:relative;overflow:hidden;transition:transform .15s ease,background .15s ease}
.lock-guard-exit-btn.holding{background:#ffd329;color:#102456;border-color:#ffd329;box-shadow:0 0 16px rgba(255,211,41,.6);transform:scale(.96)}
.lock-guard-hint{margin-top:22px;font-size:13px;color:rgba(255,247,222,.75)}
.lock-guard-hint strong{color:#ffd329}
.parent-lock-guide{margin:14px 0;padding:14px 16px;background:#eef8f5;border:1px solid #c4e3e4;border-radius:14px;font-size:14px;line-height:1.5}
.parent-lock-guide h3{margin:0 0 6px;font-size:16px}
.parent-lock-guide h4{margin:12px 0 4px;font-size:14px;color:#17556f}
.parent-lock-guide ol{margin:4px 0 6px;padding-left:20px}
.parent-lock-guide p{margin:6px 0}
.parent-lock-guide details{margin:8px 0;padding:8px 12px;background:#fff;border:1px solid #c4e3e4;border-radius:10px}
.parent-lock-guide summary{cursor:pointer;font-weight:800;color:#17556f}
.parent-lock-actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 4px}
.parent-lock-actions button{margin:0}
html,body{overscroll-behavior:none}
body.in-fullscreen,
.play-shell.in-fullscreen,
html.kids-edge-locked,
body.kids-edge-locked{overscroll-behavior:none;overscroll-behavior-x:none}
.play-shell.in-fullscreen,body.in-fullscreen{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}

/* Kids Mode absorbs page-level side-edge gestures where the browser allows it. */
html.kids-edge-locked,body.kids-edge-locked{overscroll-behavior-x:none}
body.kids-edge-locked{touch-action:pan-y}
.edge-gesture-guard{position:fixed;top:0;bottom:0;width:max(24px,env(safe-area-inset-left));z-index:9999;touch-action:none;overscroll-behavior:none;background:transparent}
.edge-gesture-guard-left{left:0}
.edge-gesture-guard-right{right:0;width:max(24px,env(safe-area-inset-right))}
.edge-gesture-guard[hidden]{display:none!important}
