*{box-sizing:border-box}
:root{color-scheme:light;--ink:#243c38;--muted:#52635a;--cream:#fffaf0;--teal:#205e53;--line:#dedbcb;--paper:#fffdf8;--honey:#fae4a5;--lilac:#e8dff8;--mint:#dcefe2}
body{margin:0;background:var(--cream);color:var(--ink);font:1.03rem/1.55 "Nunito","Trebuchet MS",ui-rounded,system-ui,sans-serif}
button,select,a{font:inherit}a{color:var(--teal);font-weight:750;text-underline-offset:3px}button{cursor:pointer}a:focus-visible,button:focus-visible,select:focus-visible{outline:4px solid #246cb4;outline-offset:4px}
.skip{position:absolute;left:1rem;top:-6rem;background:#fff;z-index:9;padding:8px}.skip:focus{top:6px}
header{border-bottom:1px solid var(--line);background:#fffcf5}.header-inner,main,footer,.message{max-width:1180px;margin:0 auto;padding-inline:clamp(18px,4.6vw,58px)}.header-inner{min-height:81px;display:flex;align-items:center;gap:clamp(15px,3.3vw,52px)}
.brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;color:#243f39;white-space:nowrap}.brand b{font-size:clamp(1.15rem,2vw,1.62rem);font-weight:900;letter-spacing:-.065em}.brand span{color:#356d5f}
.rainbow{width:39px;height:26px;display:inline-block;border:5px solid #c96545;border-radius:50px 50px 4px 4px;border-bottom:0;position:relative;transform:rotate(-5deg)}.rainbow:before,.rainbow:after{content:"";position:absolute;border:4px solid #e6aa40;border-bottom:0;border-radius:50px 50px 0 0;inset:2px 2px 0}.rainbow:after{inset:8px 8px 0;border-color:#5a9587;border-width:3px}
nav{display:flex;gap:24px;margin-left:auto;align-items:center}nav a,footer a,footer button{color:var(--ink);text-decoration:none}nav a{padding:10px 2px 7px;border-bottom:3px solid transparent}nav a[aria-current=page]{border-color:#c26a4b}#sound,.quiet{color:var(--ink);background:#fffdf7;border:1.5px solid #bcc9b9;border-radius:30px;padding:9px 17px;font-weight:800}#sound{min-height:44px;white-space:nowrap}#sound:before{content:'♪';margin-right:8px}
main{padding-top:26px;min-height:65vh;outline:none}.hero{isolation:isolate;overflow:hidden;position:relative;display:flex;align-items:center;min-height:clamp(335px,35vw,407px);border-radius:30px;background:#f6ae8d url('/assets/pixel-preschool/v1/hero.webp') center 48%/cover no-repeat}
.hero-content{padding:clamp(24px,4.5vw,57px);width:53%;color:#293c33}.age,.eyebrow{font-size:.79rem;letter-spacing:.1em;text-transform:uppercase;font-weight:900}.age{display:inline-block;letter-spacing:.065em;font-size:.82rem;background:#fff6df;border:1px solid #f7dfc2;border-radius:30px;padding:4px 12px}
h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.12;font-weight:900;letter-spacing:-.045em}.hero h1{margin:.22em 0 .14em;font-size:clamp(3.25rem,5.9vw,5.05rem);line-height:.96;letter-spacing:-.068em}.hero p{max-width:335px;font-weight:650;margin:15px 0 21px;color:#35463d;font-size:1.08rem}
.button{display:inline-flex;gap:10px;align-items:center;justify-content:center;min-height:48px;border-radius:28px;padding:11px 23px;font-weight:850;text-decoration:none;letter-spacing:-.02em;border:1px solid transparent}.primary,.hero-btn{background:var(--teal);color:white;box-shadow:0 3px 0 #164b41}.primary:hover,.hero-btn:hover{background:#164d44}.secondary{border:1px solid #9aaea2;color:var(--ink);background:var(--paper)}.quiet{border-color:#b4bcac;min-height:42px}.play-icon{border-style:solid;border-width:6px 0 6px 9px;border-color:transparent transparent transparent #ffdf9f}
.collection{margin:32px 0 25px}.heading-row,.stage-top{display:flex;justify-content:space-between;align-items:center;gap:15px}.heading-row{margin-bottom:16px}.heading-row h2,.adult h2{font-size:clamp(1.65rem,3vw,2.25rem)}.aside-note,.save-note,.report-row p{color:var(--muted)}.aside-note{font-size:.92rem;font-weight:700}.shelves{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.shelf{display:block;text-decoration:none;color:var(--ink);background:var(--paper);border:1.5px solid #dcdacc;border-radius:22px;overflow:hidden;box-shadow:0 3px 0 #e9e5d7;transition:transform .15s}.shelf:hover,.game-list a:hover{transform:translateY(-3px)}.shelf-art{aspect-ratio:2.48 / 1;overflow:hidden;background:var(--tint)}.shelf-art img{width:100%;height:100%;object-fit:cover;display:block}.honey{--tint:var(--honey)}.lilac{--tint:var(--lilac)}.mint{--tint:var(--mint)}.shelf-copy{padding:17px 48px 18px 17px;position:relative}.shelf h3{font-size:clamp(1.15rem,2.2vw,1.6rem)}.shelf-copy p{font-size:.92rem;font-weight:550;color:var(--muted);margin-top:5px}.shelf-go,.go{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:var(--tint);font:700 1.5rem/1 system-ui;color:#37584a}.shelf-go{position:absolute;right:15px;top:17px}
.family-strip{background:#ecf1df;border-radius:20px;margin:23px 0 10px;padding:18px 23px;display:flex;gap:17px;align-items:center}.family-strip h3{font-size:1.18rem}.family-strip p{font-size:.96rem;line-height:1.4;margin-top:4px}.family-strip a{margin-left:auto;white-space:nowrap}.twins{border-radius:15px;background:#d3dfbd;padding:8px 10px;color:#47765d;font-size:1.05rem;white-space:nowrap}
footer{padding-top:26px;padding-bottom:25px;display:flex;justify-content:space-between;align-items:center;color:var(--muted);gap:16px;flex-wrap:wrap;font-size:.9rem}footer span{font-weight:750}footer i{color:#b68548;font-style:normal;margin:0 4px}footer div{display:flex;gap:19px;align-items:center}footer button{border:0;background:none;font-weight:800;cursor:pointer;padding:5px 0}#install-help{width:100%;text-align:right}
.crumb{display:inline-block;margin-bottom:16px;text-decoration:none}.stage,.adult{background:var(--paper);border:1.5px solid var(--line);border-radius:26px;padding:clamp(22px,5vw,54px);max-width:850px;margin:0 auto}.stage{border-top:10px solid var(--tint)}.eyebrow{color:#4b6353;line-height:1.35;margin-bottom:9px}.stage h1,.adult h1,.shelf-header h1{font-size:clamp(2.1rem,4vw,3.4rem);line-height:1.03}.model,.adult-head>p,.stage>p:not(.eyebrow){margin:16px 0}.model{font-size:1.22rem;max-width:42rem}.game-settings{margin-top:25px}.picker,legend{font-weight:800}.picker{display:block;margin:12px 0}select{border:1.5px solid #aabead;border-radius:11px;padding:8px 12px;display:block;min-width:180px;max-width:100%;background:white;color:var(--ink)}fieldset{border:0;padding:0;margin:0}.modes,.actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.modes{margin:7px 0 14px}.mode{min-height:47px;padding:8px 16px;border:1.5px solid #bfccbf;background:var(--paper);color:var(--ink);border-radius:14px;font-weight:800}.mode[aria-pressed=true]{background:#dcebe2;border:2px solid #276d5c}.save-note{font-size:.96rem}
.shelf-header{background:var(--tint);border-radius:24px;overflow:hidden;display:flex;justify-content:space-between;align-items:center;padding-left:clamp(18px,4vw,42px)}.shelf-header img{width:43%;max-height:165px;object-fit:cover}.shelf-header p:last-child{margin:8px 0}.game-list{display:grid;gap:12px;margin:22px 0}.game-list a{display:flex;align-items:center;gap:16px;padding:20px;background:var(--paper);border:1.5px solid var(--line);border-radius:18px;text-decoration:none;color:var(--ink)}.game-list h2{font-size:1.35rem}.game-list span{color:var(--muted);font-weight:550}.round-num{border-radius:15px;background:#e7ecdd;padding:7px 15px}.go{margin-left:auto;background:#edf1e8}
.question h1{margin:19px 0}.stage-top .eyebrow{margin:0}.stage-top .button{font-size:.92rem;padding:6px 13px}.choices{display:flex;gap:14px;align-items:stretch;margin:22px 0 14px}.choice{flex:1;min-width:0;min-height:128px;display:flex;flex-direction:column;gap:7px;align-items:center;justify-content:center;background:#fffdf8;border:2px solid #a7b8a7;color:var(--ink);box-shadow:0 3px 0 #dbe3d6;border-radius:22px;padding:15px}.choice:hover{background:#f0f6e9}.choice:disabled{opacity:.42;cursor:default}.big-letter{font:900 3.3rem/1 system-ui;color:#5b4a91}.emoji{font:3.1rem/1.2 system-ui}.word{font-weight:850}.pile{display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:4px;max-width:155px}.pile i{font:normal clamp(23px,3.3vw,40px)/1.2 system-ui}
.shape{display:inline-block;width:52px;height:52px;background:#287e79}.shape.circle{border-radius:50%}.shape.triangle{clip-path:polygon(50% 0,100% 100%,0 100%)}.shape.turned{transform:rotate(45deg)}.shape-model{display:flex;gap:18px;align-items:center;margin-top:16px;padding:16px 20px;background:#edf1e4;border-radius:14px;width:fit-content}.shape-model .shape{width:25px;height:25px;background:#746398}.missing{font:800 1.7rem/1 system-ui}.feedback{color:#704a2b;min-height:1.5em}.center,.celebration{text-align:center}.big-star{color:#e39818;text-shadow:0 3px 0 #ab6a13;font:5rem/1 Georgia,serif;margin:5px auto 18px}.celebration .actions{justify-content:center}.away{background:#edf2df;padding:18px 22px;border-radius:17px;margin:22px 0}.away h2{font-size:1.3rem;margin-bottom:6px}.report-section{border-top:1px solid var(--line);margin:20px 0;padding:22px 0 0}.report-row{margin:16px 0}.report-row h3{font-size:1.13rem}.report-row p{font-size:.97rem}.message:not(:empty){padding-block:16px;color:#734326;font-weight:700}
@media(max-width:780px){.header-inner{gap:18px}.shelves{gap:12px}.shelf-copy{padding:13px 10px}.shelf-go{display:none}.shelf-copy p{font-size:.88rem}.family-strip{padding:14px}.hero{background-position:54% 50%}.hero-content{padding:27px}.hero p{max-width:295px}}
@media(max-width:620px){.header-inner{min-height:0;flex-wrap:wrap;gap:2px 10px;padding-top:10px}.brand{margin-right:auto}#sound{order:1;font-size:.9rem;min-height:42px}nav{order:2;width:100%;margin:0;gap:20px;font-size:.96rem}nav a{padding:6px 0}.rainbow{width:32px;height:23px}.hero{min-height:0;padding:0;display:block;background-size:auto 240px;background-position:85% top;background-color:#f8b293;padding-top:231px}.hero-content{width:100%;padding:18px 22px 23px;background:#ffceb1}.hero h1{font-size:2.7rem;margin:.13em 0}.hero h1 br{display:none}.hero h1 br:after{content:' '}.hero p{margin:9px 0 15px;max-width:none}.age{font-size:.76rem}.collection{margin-top:23px}.aside-note{display:none}.shelves{grid-template-columns:1fr}.shelf{display:flex;align-items:stretch;border-radius:16px}.shelf-art{width:35%;aspect-ratio:auto;min-height:92px}.shelf-art img{object-fit:contain}.shelf-copy{align-self:center;padding:13px;flex:1}.shelf h3{font-size:1.22rem}.family-strip{align-items:flex-start;gap:10px;flex-wrap:wrap}.family-strip>div:nth-child(2){flex:1;min-width:185px}.family-strip a{margin:0}.twins{display:none}.choices{gap:7px}.choice{min-height:98px;padding:10px 4px;border-radius:14px}.pile i{font-size:20px}.pile{max-width:80px;gap:1px}.shape{width:37px;height:37px}.emoji{font-size:2.5rem}.stage,.adult{padding:21px 15px}.shape-model{gap:13px}.shelf-header img{width:40%;min-height:110px}.shelf-header h1{font-size:1.65rem}.shelf-header p:last-child{font-size:.94rem}.stage-top{align-items:flex-start}.message,footer{font-size:.88rem}footer{gap:10px}footer div{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
