@charset "UTF-8";
:root{--ink:#223d38;--muted:#66756f;--green:#245c50;--paper:#fcfaf5;--line:#dedfd5;--orange:#e46c45;--yellow:#f2c456;--radius:20px;font-family:"Trebuchet MS",Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:25px}body{margin:0}button,input,select{font:inherit;color:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b04d2c;outline-offset:4px}[hidden]{display:none!important}.wrap{max-width:1280px;margin:0 auto;padding-left:40px;padding-right:40px}.site-header{height:112px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;align-items:center;gap:11px;font-size:23px;font-weight:800;letter-spacing:-.8px;line-height:1}.brand small{display:block;font-size:8px;letter-spacing:2.2px;font-weight:700;margin-top:10px}.logo-light{font-weight:400}.logo-mark{width:35px;height:35px;display:grid;grid-template-columns:1fr 1fr;gap:3px;transform:rotate(-7deg)}.logo-mark i{background:var(--orange);border-radius:3px 8px 3px 3px}.logo-mark i:nth-child(2){background:var(--yellow);border-radius:50%}.logo-mark i:nth-child(3){background:var(--green);border-radius:3px}.logo-mark i:nth-child(4){background:#82a6c6;border-radius:3px 3px 12px 3px}nav{display:flex;align-items:center;gap:33px;font-size:14px;font-weight:700}nav a:hover{color:var(--orange)}nav a:nth-child(2){border:1px solid var(--line);padding:13px 18px;border-radius:30px}.skip{position:absolute;left:15px;top:-60px;z-index:20;background:#fff;padding:12px}.skip:focus{top:10px}.hero{display:grid;grid-template-columns:1.15fr 1fr;gap:40px;padding-top:45px;padding-bottom:67px;align-items:center}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;display:block;color:#537066}.eyebrow i{display:inline-block;width:7px;height:7px;background:var(--orange);border-radius:50%;margin-right:7px}.hero h1{font-size:clamp(38px,4vw,57px);letter-spacing:-2.5px;line-height:1.12;margin:25px 0 22px;font-weight:800}.hero h1 span{color:var(--green)}.hero-copy>p{max-width:440px;font-size:16px;line-height:1.8;color:var(--muted);margin-bottom:26px}.button{display:inline-flex;gap:22px;justify-content:center;align-items:center;padding:15px 23px;border-radius:10px;font-size:14px;font-weight:700;border:1px solid transparent;transition:transform .15s,background .15s}.button:hover{transform:translateY(-2px)}.primary{background:var(--green);color:white;box-shadow:0 4px 0 #173e36}.secondary{border-color:#ced4c9;background:transparent}.hero-notes{display:flex;flex-wrap:wrap;gap:18px;margin-top:24px;font-size:10px;color:var(--muted)}.hero-art{height:385px;position:relative;border:1px solid #e3e2d6;border-radius:32px;background:#f2f0e5;overflow:hidden;isolation:isolate}.art-grid{position:absolute;inset:0;background-image:radial-gradient(#bac8b8 1px,transparent 1px);background-size:20px 20px;opacity:.5}.art-note{position:absolute;top:20px;left:23px;font:9px monospace;letter-spacing:2px;color:#738675}.art-tile{position:absolute;border-radius:18px;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 0 #223d3815}.tile-a{top:57px;left:35px;width:130px;height:133px;background:#e6ae3e;color:#fff8e7;font-size:79px;transform:rotate(-11deg);font-weight:800}.tile-a span{font-size:36px;align-self:flex-end;margin-bottom:20px;margin-left:-4px}.tile-number{top:53px;right:45px;width:153px;height:128px;background:#e47151;color:#fff8e7;font-size:65px;transform:rotate(9deg);gap:4px}.tile-number small{font-size:36px;margin-top:26px}.tile-animal{top:206px;left:74px;background:#dce9ef;width:130px;height:132px;font-size:85px;transform:rotate(7deg)}.tile-shapes{top:201px;right:37px;background:#448d7b;width:160px;height:127px;transform:rotate(-8deg)}.tile-shapes i{width:60px;height:60px;border-radius:50%;background:#f5cc68;position:absolute;left:18px;top:20px}.tile-shapes b{position:absolute;right:18px;bottom:18px;width:60px;height:60px;background:#eee8d5;clip-path:polygon(50% 0,100% 100%,0 100%)}.tile-shapes em{position:absolute;left:34px;bottom:16px;width:28px;height:28px;background:#db7758;transform:rotate(30deg)}.art-stamp{position:absolute;left:41%;top:152px;border-radius:50%;width:118px;height:118px;background:#fcfaf0;border:1px dashed #91a18c;transform:rotate(-12deg);text-align:center;padding-top:30px;font-size:13px;box-shadow:0 5px 12px #223d380a}.art-stamp span{position:absolute;bottom:9px;left:52px;color:var(--orange)}.art-spark{position:absolute;right:18px;top:172px;color:var(--orange);font-size:45px}.skills-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#f5f3eb}.skills-strip .wrap{display:flex;justify-content:space-between;align-items:center;padding-top:21px;padding-bottom:21px;font-size:11px;letter-spacing:3px;font-weight:700;color:#6f8173}.skills-strip i{color:#d58b61;font-size:18px}.catalog{padding-top:55px;padding-bottom:65px}.section-title{display:flex;justify-content:space-between;align-items:end;margin-bottom:30px;gap:20px}h2{font-size:30px;letter-spacing:-1px;line-height:1.2}.section-title h2{margin:13px 0 0}.filters{display:flex;gap:8px;flex-wrap:wrap}.filters button{background:transparent;border:1px solid var(--line);padding:12px 16px;border-radius:30px;font-size:12px;font-weight:700}.filters button.active{background:var(--green);border-color:var(--green);color:white}.filters button span{margin-left:6px;font-size:10px;opacity:.7}.search-row{display:flex;gap:18px;align-items:center;margin:22px 0 26px}.search{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:10px;padding:0 14px;background:white;max-width:340px;flex:1}.search span{font-size:26px}.search input{border:0;background:transparent;width:100%;padding:13px 0;outline:0;font-size:13px}.age-select{font-size:12px;display:flex;gap:8px;align-items:center}.age-select select{background:transparent;border:1px solid var(--line);padding:12px 10px;border-radius:10px}.search-row>span{margin-left:auto;font-size:11px;color:var(--muted)}.game-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.game-card{position:relative;border:1px solid #e4e4da;background:#fffdf9;border-radius:var(--radius);overflow:hidden;transition:transform .2s,box-shadow .2s}.game-card:hover{transform:translateY(-5px);box-shadow:0 10px 24px #223d380b}.game-card>a{display:block;height:100%}.game-card img,.card-cover>svg{display:block;width:100%;height:auto;aspect-ratio:5/3;object-fit:cover}.card-body{padding:20px 18px}.card-meta{display:flex;justify-content:space-between;gap:6px;font-size:9px;letter-spacing:.2px;color:var(--muted)}.card-meta>span:first-child{font-weight:700;text-transform:uppercase;letter-spacing:1px;color:#386957}.card-body h3{font-size:18px;letter-spacing:-.4px;margin:12px 0 8px}.card-body p{font-size:12px;line-height:1.7;color:var(--muted);min-height:41px;margin:0}.play-link{display:flex;justify-content:space-between;margin-top:19px;font-size:11px;font-weight:bold;border-top:1px solid #edede4;padding-top:14px}.play-link span{font-size:17px}.favorite{position:absolute;top:12px;right:12px;border:0;background:#fffdf9e8;box-shadow:0 2px 5px #00000006;border-radius:50%;width:34px;height:34px;font-size:22px;line-height:1}.favorite[aria-pressed=true]{color:#b94330}.parent-note{display:flex;gap:25px;align-items:center;border-top:1px solid var(--line);padding-top:35px;padding-bottom:35px}.parent-note>span{font-size:62px;color:#d4992f}.parent-note h2{font-size:24px;margin:0 0 12px}.parent-note p{font-size:13px;line-height:1.7;color:var(--muted);max-width:580px;margin:0}.parent-note>a{margin-left:auto;white-space:nowrap;font-size:12px;font-weight:bold;border-bottom:1px solid;padding-bottom:8px}footer{padding-top:40px;padding-bottom:35px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:25px;align-items:center}footer .brand{font-size:19px}footer .brand small{font-size:7px}footer>p{font-size:12px;color:var(--muted)}footer>div{display:flex;gap:20px;margin-left:auto;font-size:11px}footer>small{width:100%;font-size:10px;color:var(--muted)}.game-page{padding-top:12px}.breadcrumbs{display:flex;flex-wrap:wrap;gap:10px;font-size:11px;color:var(--muted);margin-bottom:28px}.game-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.game-heading h1{font-size:42px;letter-spacing:-1.5px;margin:12px 0}.game-heading p{color:var(--muted);font-size:15px}.play-area{border:1px solid var(--line);border-radius:24px;background:white;margin-top:26px;padding:20px 28px 32px;position:relative;min-height:430px}.play-area:fullscreen{overflow:auto;border:0;border-radius:0;background:var(--paper);padding:24px;display:flex;flex-direction:column}.play-area:fullscreen .game-board{flex:1}.game-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;border-bottom:1px solid #eceee6;padding-bottom:18px;font-size:12px}.game-toolbar label{display:flex;gap:10px;align-items:center;margin-right:auto}.game-toolbar select,.game-toolbar button{border:1px solid var(--line);border-radius:8px;padding:9px 12px;background:#fafaf5}.game-stats{display:flex;justify-content:center;gap:22px;margin:20px 0 12px;font-size:12px;color:var(--muted)}.instruction{text-align:center;line-height:1.6;margin:14px auto 23px;font-size:16px;max-width:740px;font-weight:700}.game-board{max-width:800px;margin:0 auto}.feedback{min-height:26px;text-align:center;font-size:14px;color:#537066;line-height:1.7;margin:23px 0 0}.feedback.error{color:#b04d2c}.help{padding:20px 0;border-bottom:1px solid var(--line);font-size:13px;line-height:1.8;max-width:900px;margin:auto}.help summary{cursor:pointer;font-weight:700}.related{padding:40px 0 70px}.related .game-grid{grid-template-columns:repeat(3,1fr);max-width:900px}.completion{margin:22px auto 0;max-width:520px;text-align:center;border:1px solid #c4d7ba;border-radius:18px;background:#f0f5e8;padding:20px}.completion>span{font-size:37px;color:#bc841c}.completion h2{font-size:24px;margin:8px}.completion p{font-size:13px;line-height:1.6}.prose{max-width:830px;padding-top:55px;padding-bottom:70px;min-height:60vh}.prose h1{font-size:46px;letter-spacing:-1.5px}.prose h2{font-size:24px;margin-top:38px}.prose p{font-size:16px;line-height:1.9;color:var(--muted)}.prose p a{text-decoration:underline}.prose .button{margin-top:20px}#empty{text-align:center;padding:45px}
/* Shared game controls */
.board-grid{display:grid;gap:10px;margin:auto;max-width:580px;grid-template-columns:repeat(var(--cols,4),minmax(0,1fr))}.tile{aspect-ratio:1;border:2px solid #dbe3d8;background:#f7f8f0;border-radius:14px;font-size:clamp(23px,4vw,42px);display:flex;align-items:center;justify-content:center;position:relative;transition:background .15s,transform .15s;min-width:0}.tile:hover:not(:disabled){border-color:#749989;transform:translateY(-2px)}.tile.hidden-face{background:var(--green);color:#dcebdd;border-color:var(--green);font-size:32px}.tile.matched{background:#eef6e6;border-color:#bbd3a2;opacity:.55}.tile.selected,.tile.lit{background:#fde7b3;border-color:#c79837;box-shadow:0 0 0 3px #f2c45644}.tile.wrong{border-color:#d66543;background:#fff1ea}.tile:disabled{color:var(--ink)}.tile-label{position:absolute;bottom:5px;left:3px;right:3px;font-size:10px;text-align:center}.count-dots{display:grid;grid-template-columns:repeat(3,10px);gap:5px}.count-dots i{width:10px;height:10px;background:var(--orange);border-radius:50%}.swatch{width:70%;height:70%;border-radius:50%}.board-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:18px 0}.board-actions button,.small-button{border:1px solid var(--line);background:#f5f6ee;border-radius:9px;padding:12px 18px;font-size:13px;font-weight:700}.board-actions button.active{background:var(--green);color:white}.symbol-large{font-size:86px;text-align:center;margin:24px 0}.shadow-symbol{filter:brightness(0);display:inline-block}.keyboard{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:580px;margin:24px auto}.keyboard button{width:45px;min-height:45px;border:1px solid #d5ded2;border-radius:8px;background:#eff3e7;font-weight:700}.keyboard button:disabled{opacity:.45}.word-display{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin:20px 0}.word-display span{border-bottom:3px solid #b7c9b1;min-width:32px;text-align:center;font-size:28px;padding:5px}.hearts{text-align:center;font-size:25px;color:var(--orange);letter-spacing:8px}.dual-boards{display:grid;grid-template-columns:1fr 1fr;gap:25px;max-width:700px;margin:auto}.dual-boards h3{text-align:center;font-size:12px;text-transform:uppercase;letter-spacing:2px}.dual-boards .board-grid{gap:5px}.dual-boards .tile{border-radius:6px;font-size:27px}.palette{display:flex;gap:7px;justify-content:center;flex-wrap:wrap;margin:18px 0}.palette button{width:43px;height:43px;background:#fff;border:2px solid #d8dfd1;border-radius:8px;font-size:26px}.palette button.selected{border-color:var(--green);box-shadow:0 0 0 2px var(--green)}.pattern-mask{background:#e7eade!important;color:transparent!important}.maze{display:grid;grid-template-columns:repeat(var(--cols),1fr);max-width:440px;margin:auto;border:2px solid var(--green);background:#fbfcf5;gap:0}.maze-cell{aspect-ratio:1;display:flex;align-items:center;justify-content:center;font-size:clamp(15px,3vw,27px);border:0 solid var(--green);padding:0;background:transparent;min-width:0}.maze-cell.visited{background:#edf2e2}.maze-cell.current{background:#f6df9b}.dpad{display:grid;grid-template-columns:repeat(3,52px);gap:5px;justify-content:center;margin-top:20px}.dpad button{height:45px;background:#edf2e5;border:1px solid #d0dacc;border-radius:8px;font-size:24px}.dpad button:nth-child(1){grid-column:2}.dpad button:nth-child(2){grid-column:1;grid-row:2}.dpad button:nth-child(3){grid-column:2;grid-row:2}.dpad button:nth-child(4){grid-column:3;grid-row:2}.piano{display:flex;max-width:700px;height:210px;margin:24px auto;gap:4px}.piano button{flex:1;min-width:0;position:relative;background:linear-gradient(white,#f7f7ee);border:1px solid #b9c4b5;border-bottom:7px solid #b7c4b2;border-radius:0 0 12px 12px;font-size:14px;display:flex;align-items:end;justify-content:center;padding-bottom:16px}.piano button:active,.piano button.lit{background:#f4d378;border-bottom-width:2px}.piano button small{position:absolute;bottom:40px;color:#889481}.line-tile svg{width:100%;height:100%}.reaction-stage{min-height:185px;display:flex;align-items:center;justify-content:center;gap:30px;padding:20px;border-radius:18px;background:#f8f8f2}.reaction-stage span{font-size:100px;line-height:1}.reaction-stage .circle{width:125px;height:125px;border-radius:50%}.choice-row{display:flex;justify-content:center;flex-wrap:wrap;gap:15px}.choice-row button{min-width:100px;min-height:95px;border:2px solid var(--line);border-radius:16px;background:#f9faf4;font-size:40px;padding:15px}.choice-row button.selected{border-color:var(--green);background:#e4eddd}.mini-label{display:block;font-size:12px;margin-top:8px}.tangram-stage{position:relative;width:100%;aspect-ratio:1.6;background:#f5f6eb;border-radius:15px;overflow:hidden;touch-action:none}.tangram-stage svg{width:100%;height:100%;display:block}.tangram-stage .piece{cursor:grab;stroke:#fffdf3;stroke-width:2}.tangram-stage .piece.selected{stroke:#203b35;stroke-width:4}.tangram-stage .piece.locked{cursor:default;opacity:.7}.tangram-stage .target{fill:#d7dfce;stroke:#b4c5aa;stroke-width:1;stroke-dasharray:4 3}.tangram-help{font-size:12px;text-align:center;color:var(--muted)}.dots-board{display:grid;max-width:390px;margin:auto;gap:0}.dot{width:10px;height:10px;border-radius:50%;background:var(--green);align-self:center;justify-self:center}.edge{border:0;background:#e4e8dd;border-radius:5px;padding:0;min-height:12px;min-width:12px}.edge:hover{background:#9db597}.edge.on{background:#457b67}.box-cell{aspect-ratio:1;display:flex;align-items:center;justify-content:center;font-size:24px}.box-cell.p1{background:#e4efdb}.box-cell.p2{background:#fae9d6}.turtle-cell svg{width:90%;height:90%}.overlay-target svg{max-width:200px;margin:0 auto;display:block;background:#f6f8ef;border:2px solid #c8d6be;border-radius:12px}.big-message{text-align:center;font-size:23px;line-height:1.6}.record-status{text-align:center;font-size:12px;color:#a4462e}.zero-tile{font-size:26px}.zero-tile.solved{background:#e5efdc}.progress-dots{display:flex;justify-content:center;gap:6px;margin:15px}.progress-dots i{width:10px;height:10px;border-radius:50%;background:#d7dfcf}.progress-dots i.done{background:var(--green)}
@media(min-width:1300px){.hero h1{font-size:59px}.hero-art{height:405px}}@media(max-width:1020px){.wrap{padding-left:25px;padding-right:25px}.hero{gap:22px}.hero h1{font-size:44px}.hero-art{height:340px}.tile-a{left:23px;width:110px;height:115px}.tile-number{right:25px;width:130px;height:115px}.tile-animal{left:36px;top:190px;width:115px;height:115px}.tile-shapes{right:22px;top:189px;width:130px;height:112px}.art-stamp{width:100px;height:100px;left:36%;top:146px;padding-top:24px;font-size:11px}.game-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.filters{gap:6px}.filters button{padding:10px 12px}footer>div{margin-left:0}.hero-notes{gap:10px}}@media(max-width:760px){.site-header{height:100px;align-items:flex-start;padding-top:21px;gap:16px}.brand{font-size:19px}.brand small{font-size:6px;letter-spacing:1.8px}.logo-mark{width:29px;height:29px}nav{gap:15px;font-size:11px;margin-top:8px}nav a:nth-child(2){padding:0;border:0}nav a:nth-child(3){display:none}.hero{grid-template-columns:1fr;padding-top:12px;padding-bottom:34px;gap:32px}.hero h1{font-size:49px;max-width:570px;letter-spacing:-2px}.hero-copy>p{font-size:15px;max-width:490px}.hero-art{height:320px;max-width:490px;width:100%;margin:auto}.tile-a{left:40px;top:48px}.tile-number{right:55px;top:44px}.tile-animal{left:72px;top:179px}.tile-shapes{right:52px;top:181px}.art-stamp{left:41%;top:131px}.skills-strip .wrap{font-size:8px;letter-spacing:1.5px;padding-top:16px;padding-bottom:16px}.skills-strip i{font-size:13px}.catalog{padding-top:36px}.section-title{align-items:center}.section-title h2{font-size:26px}.section-title .button{padding:12px;font-size:11px;gap:10px;white-space:nowrap}.eyebrow{font-size:8px;letter-spacing:1.5px}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.search-row{flex-wrap:wrap;gap:12px}.search-row>span{width:100%;margin:0}.search{max-width:none}.card-body{padding:15px 13px}.card-body h3{font-size:17px}.card-meta{font-size:8px}.card-body p{font-size:11px;min-height:56px}.parent-note{flex-wrap:wrap}.parent-note>span{font-size:46px}.parent-note>div{flex:1}.parent-note>a{margin-left:70px}.game-heading h1{font-size:32px}.game-heading .button{font-size:0;padding:12px}.game-heading .button::after{content:'♡';font-size:23px}.play-area{padding:14px 15px 25px;border-radius:17px}.game-toolbar{font-size:10px;gap:7px}.game-toolbar button,.game-toolbar select{padding:9px 7px}.game-toolbar #sound{font-size:10px}.instruction{font-size:14px}.game-stats{gap:12px;font-size:10px}.board-grid{gap:7px}.tile{border-radius:10px}.dual-boards{gap:13px}.dual-boards .tile{font-size:23px}.related .game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.related .game-card:last-child{display:none}.piano{height:180px}.piano button{font-size:11px}.prose h1{font-size:38px}.prose{padding-top:30px}.tangram-stage{aspect-ratio:1.3}.choice-row{gap:8px}.choice-row button{min-width:75px}.tangram-help{font-size:11px}.game-toolbar label{margin-right:0}.game-toolbar #fullscreen{margin-left:auto}}@media(max-width:420px){.wrap{padding-left:17px;padding-right:17px}.hero h1{font-size:42px}.hero-art{height:287px}.tile-a{left:28px;width:100px;height:106px;font-size:67px}.tile-number{right:24px;width:120px;height:105px;font-size:54px}.tile-animal{left:40px;top:166px;width:103px;height:101px;font-size:68px}.tile-shapes{right:24px;top:166px;width:122px;height:97px}.art-stamp{left:39%;top:126px;width:90px;height:90px;font-size:10px;padding-top:22px}.section-title .eyebrow{display:none}.section-title h2{font-size:23px}.game-card img,.card-cover>svg{aspect-ratio:1.65}.card-meta span:last-child{white-space:nowrap}.game-toolbar{justify-content:center}.game-toolbar #sound{order:4}.game-toolbar #fullscreen{margin-left:0}.play-area{padding:13px 10px 23px}.board-grid{gap:5px}.tile{font-size:27px}.word-display{gap:4px}.word-display span{font-size:22px;min-width:24px}.keyboard{gap:5px}.keyboard button{width:38px;min-height:42px}.hero-notes{font-size:9px}.game-heading>div>p{font-size:13px}.dual-boards .tile{font-size:19px}.reaction-stage span{font-size:70px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
