:root{color-scheme:light;--forest:#315d44;--ink:#334c38;--cream:#fffbee;--gold:#f5cf62;--muted:#727b62;font-family:"Trebuchet MS",Verdana,Arial,sans-serif;color:var(--ink);background:var(--cream)}
*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}a{color:inherit;text-decoration:none}button,a{outline-offset:5px}button:focus-visible,a:focus-visible{outline:3px solid #246b80}button:disabled{cursor:default}button{border:0;min-height:44px;border-radius:14px;background:#eeecd7;padding:10px 17px;font-weight:800}[hidden]{display:none!important}
.header,main,footer{max-width:1440px;margin:auto;padding-left:36px;padding-right:36px}.header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:22px;padding-bottom:24px}.brand{display:flex;gap:11px;align-items:center;font-size:23px;line-height:1.05}.brand img{width:52px;height:52px}.brand b{font-weight:900}.brand small{display:block;font-size:16px;letter-spacing:2px;margin-top:7px}.header nav{display:flex;align-items:center;gap:19px;font-size:16px;font-weight:800}.wallet{padding:13px 17px;background:#ffedaa;border-radius:23px;white-space:nowrap}.wallet b{margin-left:6px}.game-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:12px 0 21px}.eyebrow{font-size:16px;font-weight:900;letter-spacing:1.8px;color:#788065}h1{font-size:clamp(27px,3.4vw,43px);letter-spacing:-1.5px;line-height:1.1;margin:11px 0}h2{letter-spacing:-.5px}.game-heading p{font-size:18px;color:var(--muted);margin:10px 0 0}.secondary{background:#f3edd8;box-shadow:0 3px 0 #dedac1;flex-shrink:0;font-size:16px}.coach{display:flex;align-items:center;gap:20px;min-height:121px;background:#e9efda;border:1px solid #dbe3c8;border-radius:23px;padding:12px 22px;overflow:hidden}.helper{width:84px;height:109px;object-fit:contain;flex-shrink:0;align-self:flex-end}.coach-copy{flex:1;min-width:0}.coach-copy p{font-size:clamp(18px,2vw,23px);font-weight:800;margin:9px 0 5px;line-height:1.25}.sound-status{font-size:18px;color:#6d795f;display:block;min-height:17px}.example{display:flex;align-items:center;gap:9px}.example span{width:46px;height:48px;background:#fffbee;border-radius:12px;display:grid;place-items:center;font-size:30px;font-weight:900;box-shadow:0 3px 0 #d5dcc0}.example img{width:60px;height:60px;object-fit:contain}.example b{font-size:21px;color:#81966a}.repeat{font-size:16px;background:#fffae9;white-space:nowrap}.score-strip{display:flex;align-items:center;gap:25px;padding:18px 2px 13px;font-size:16px}.score-strip b{font-size:18px}.score-tip{margin-left:auto;color:var(--muted);font-size:16px}.play-layout{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:19px;align-items:stretch}.board-panel{min-width:0;background:#f1ecd8;border:1px solid #e3dfca;border-radius:24px;padding:19px 18px 10px}.letter-grid{display:grid;grid-template-columns:repeat(13,minmax(0,1fr));gap:10px}.letter-tile{padding:4px;min-width:0;min-height:70px;aspect-ratio:1/.99;border:2px solid transparent;border-radius:15px;background:#fffcf1;box-shadow:0 4px 0 #d9d4bb;display:flex;align-items:center;justify-content:center;flex-direction:column;font-family:Verdana,"Trebuchet MS",sans-serif;font-size:clamp(26px,3.2vw,43px);font-weight:700;line-height:1;color:#38563f;position:relative;transition:transform .16s,background .16s,box-shadow .16s}.letter-tile:nth-child(4n+2){background:#f5e3ca;color:#93582f}.letter-tile:nth-child(4n+3){background:#dfebe8;color:#326666}.letter-tile:nth-child(4n+4){background:#e7dfed;color:#705781}.letter-tile:hover{transform:translateY(-2px)}.letter-tile:active{transform:translateY(2px)}.letter-tile.selected{border-color:#43745a;background:#fff1a9;box-shadow:0 0 0 3px #f1cd5c,0 5px 0 #c6ad54;transform:translateY(-2px);color:#314f3a}.letter-tile.selected::after{content:"✦";position:absolute;top:3px;right:4px;font-size:14px;color:#ad8221}.letter-tile.matched{background:#e1eccf!important;box-shadow:0 3px 0 #c1d5a5;color:#456635;border-color:#bdcea8;animation:picturePop .4s ease-out}.letter-tile img{height:calc(100% - 18px);max-height:58px;width:100%;object-fit:contain;pointer-events:none}.letter-tile .word{font:800 10px/1.1 "Trebuchet MS",Verdana,sans-serif;display:block;margin-top:3px;max-width:100%;overflow:hidden;text-overflow:ellipsis}.letter-tile.speaking{outline:3px solid #efbe48;outline-offset:1px}.board-tip{font-size:14px;color:#797c61;text-align:center;margin:17px 0 5px}.tree-panel{background:#e9eed8;border-radius:24px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px 9px}.tree-panel h2{font-size:20px;line-height:1.13;margin:9px 0 4px}.tree-panel>p{font-size:18px;line-height:1.6;margin:3px 0 0;color:#6c7f5d}.tree{height:230px;width:130px;position:relative}.tree-art{width:100%;height:100%;object-fit:fill}.tree-bananas{position:absolute;top:16px;right:27px;font-size:32px;z-index:2}.climber{position:absolute;width:57px;height:65px;object-fit:contain;bottom:6%;left:15px;transition:bottom .6s cubic-bezier(.2,.8,.3,1)}.tree.reached .tree-bananas{animation:bananaDance .7s 3}.coach.celebrating .helper{animation:monkeyCheer .65s ease-in-out}.celebration{background:#dcebcf;border:2px solid #8cb371;border-radius:22px;padding:20px 23px;margin-top:20px;display:flex;align-items:center;gap:22px}.celebration>span{font-size:30px}.celebration h2{margin:0 0 7px;font-size:25px}.celebration p{font-size:18px;margin:4px 0;line-height:1.45}.primary{display:inline-flex;align-items:center;justify-content:center;min-height:45px;background:var(--forest);color:white;border-radius:13px;padding:12px 19px;font-size:16px;font-weight:800;margin-left:auto;white-space:nowrap}.keyboard-tip{font-size:16px;color:var(--muted);text-align:center;margin:17px 0}.warning{background:#ffebbc;padding:14px 18px;border-radius:14px;font-size:18px}.warning p{margin-top:0}.skip-link{position:absolute;left:16px;top:-100px;z-index:5}.skip-link:focus{top:12px;padding:12px;background:white}footer{display:flex;justify-content:space-between;gap:15px;padding-top:27px;padding-bottom:28px;font-size:16px;color:#7a826c}footer a{font-weight:800}
@keyframes picturePop{0%{transform:scale(.83)}65%{transform:scale(1.07)}100%{transform:scale(1)}}@keyframes monkeyCheer{30%{transform:translateY(-7px) rotate(-3deg)}70%{transform:translateY(-3px) rotate(3deg)}}@keyframes bananaDance{50%{transform:translateY(-6px) rotate(10deg)}}
@media(max-width:1160px){.letter-grid{grid-template-columns:repeat(10,minmax(0,1fr));gap:9px}.letter-tile{min-height:66px}.header,main,footer{padding-left:25px;padding-right:25px}.play-layout{grid-template-columns:minmax(0,1fr) 130px;gap:14px}.tree{width:115px}.board-panel{padding:15px 14px 10px}}
@media(max-width:850px){.letter-grid{grid-template-columns:repeat(8,minmax(0,1fr))}.play-layout{grid-template-columns:minmax(0,1fr)}.tree-panel{display:grid;grid-template-columns:1fr 140px;grid-template-rows:auto auto auto;text-align:left;padding:16px 23px;overflow:hidden}.tree-panel .eyebrow{grid-column:1}.tree-panel h2{grid-column:1;margin:7px 0}.tree-panel h2 br{display:none}.tree-panel>p{grid-column:1;grid-row:3;margin:0}.tree-panel>p br{display:none}.tree{grid-column:2;grid-row:1/4;height:130px;width:120px;justify-self:end}.climber{width:37px;height:42px;left:26px}.tree-bananas{font-size:25px;top:5px;right:28px}.letter-tile{font-size:35px;min-height:65px}.game-heading h1{font-size:30px}.example{display:none}.coach{min-height:108px}.helper{height:92px;width:70px}.game-heading{gap:15px}.game-heading p{font-size:18px}.score-tip{font-size:16px}}
@media(max-width:600px){.header,main,footer{padding-left:15px;padding-right:15px}.header{flex-wrap:wrap;gap:14px;padding-top:16px;padding-bottom:15px}.brand{font-size:20px}.brand img{width:42px;height:42px}.brand small{font-size:16px;letter-spacing:1.5px}.header nav{width:100%;justify-content:space-between;gap:12px;font-size:16px}.header button{font-size:16px}.wallet{padding:11px 15px}.game-heading{align-items:flex-start;flex-wrap:wrap;margin-top:10px;gap:13px}.game-heading .eyebrow{font-size:16px;letter-spacing:1.1px}h1,.game-heading h1{font-size:28px;letter-spacing:-1px;margin:9px 0}.game-heading p{font-size:18px;line-height:1.5;margin:6px 0 0}.secondary{font-size:16px;min-height:42px;padding:9px 13px}.coach{padding:11px 13px;gap:12px;border-radius:19px;position:relative;flex-wrap:wrap}.helper{width:57px;height:85px;align-self:center}.coach .eyebrow{font-size:16px;letter-spacing:1px}.coach-copy p{font-size:18px;line-height:1.25;margin:7px 0}.sound-status{font-size:18px;line-height:1.5}.repeat{font-size:16px;margin-left:69px;padding:6px 12px;min-height:36px;margin-top:-6px}.score-strip{font-size:16px;gap:20px;padding:16px 1px 12px}.score-strip b{font-size:16px}.score-tip{display:none}.board-panel{border-radius:19px;padding:12px 10px 8px}.letter-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px 7px}.letter-tile{font-size:33px;min-height:55px;border-radius:12px;aspect-ratio:1/1.05}.letter-tile img{max-height:48px;height:calc(100% - 16px)}.letter-tile .word{font-size:14px}.board-tip{font-size:14px;line-height:1.5}.celebration{gap:11px;flex-wrap:wrap;padding:18px 15px}.celebration>span{font-size:22px}.celebration h2{font-size:22px}.celebration p{font-size:18px}.celebration .primary{margin-left:0}.keyboard-tip{font-size:16px;line-height:1.6;margin:15px 8px}footer{font-size:16px;flex-wrap:wrap;padding-top:15px}footer>span{order:3;width:100%}}
@media(max-width:350px){.letter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.letter-tile{min-height:57px}.header nav{gap:6px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}.reduce-motion *{animation-duration:.01ms!important;transition-duration:.01ms!important}

/* Keep capital I visibly distinct from little l for beginning readers. */
.letter-tile[data-tile="I-upper"]{font-family:Georgia,"Times New Roman",serif}

.letter-grid[data-level="0"]{grid-template-columns:repeat(5,minmax(0,1fr));max-width:650px;margin:auto;gap:16px}.letter-grid[data-level="0"] .letter-tile{min-height:90px;font-size:46px}.letter-grid[data-level="1"]{grid-template-columns:repeat(7,minmax(0,1fr))}.letter-tile.matching-hint{animation:matchingPartner .3s ease-in-out 5;outline:4px solid #e4aa2b;outline-offset:2px}@keyframes matchingPartner{50%{background:#fff19e;box-shadow:0 0 0 5px #edbb44;transform:scale(1.07)}}.reduce-motion .letter-tile.matching-hint{animation:none;background:#fff19e;outline:5px solid #e4aa2b}@media(max-width:700px){.letter-grid[data-level="1"]{grid-template-columns:repeat(5,minmax(0,1fr))}.letter-grid[data-level="0"]{gap:9px}.letter-grid[data-level="0"] .letter-tile{min-height:64px;font-size:32px}}
