/* Shell and hub; atlas; word cards; hands-on math; responsive and motion. */
:root{font-family:ui-rounded,"Arial Rounded MT Bold","Trebuchet MS",system-ui,sans-serif;color:#293c33;background:#f9f6ed;--ink:#293c33;--sage:#e4ecd9;--peach:#fbe4d0;--gold:#f5ce75;--muted:#59675e}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 95% 24%,#eee8d6 0,transparent 24%),#f9f6ed}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{font:inherit;color:inherit;cursor:pointer;min-height:48px}button:disabled{cursor:default}a{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible{outline:4px solid #386a9b;outline-offset:5px}[hidden]{display:none!important}.page{max-width:1060px;padding:0 28px;margin:auto}.topbar{display:flex;align-items:center;justify-content:space-between;padding:24px 0;gap:12px;border-bottom:1px solid #d9ddcf}.topbar a,footer a{font-size:15px;font-weight:800;text-decoration:none;display:inline-flex;align-items:center;min-height:48px}.settings{display:flex;gap:8px}.settings button,.secondary{background:#fffdf6;border:2px solid var(--ink);border-radius:30px;padding:10px 17px;font-weight:800;font-size:14px}.eyebrow{font-size:12px;font-weight:900;letter-spacing:1.9px;color:#5c7061}.hero{display:grid;grid-template-columns:1fr 1fr;gap:25px;align-items:center;padding:42px 0 32px}.hero h1{font-size:clamp(46px,7vw,74px);line-height:1.02;letter-spacing:-3px;margin:20px 0}.hero h1 span{color:#b75b36}.hero p:not(.eyebrow):not(.progress){font-size:18px;line-height:1.7;color:var(--muted)}.progress{display:inline-block;font-size:13px;font-weight:900;padding:10px 15px;background:var(--sage);border-radius:30px;margin:4px 0}.hero-art{height:285px;border-radius:50% 50% 40% 45%;background:#e9edda;position:relative}.hero-art .art{position:absolute}.hero-art .art-rug{width:200px;height:200px;left:16%;bottom:-11px;opacity:.88}.hero-art .art-dog{width:155px;height:155px;left:14%;top:28px;transform:rotate(-6deg)}.hero-art .art-frog{width:132px;height:132px;right:6%;top:76px}.paper-word{position:absolute;padding:8px 18px;font-size:29px;background:#fffdf8;border:2px solid var(--ink);border-radius:10px;box-shadow:0 4px 0 #293c331f;font-weight:800}.word-one{left:4%;bottom:12px;transform:rotate(-8deg)}.word-two{left:40%;bottom:4px;transform:rotate(5deg)}.word-three{right:0;bottom:20px;transform:rotate(-5deg)}.reading-card{width:100%;display:flex;align-items:center;gap:22px;text-align:left;background:#f6e3bd;border:2px solid var(--ink);border-radius:22px;padding:24px;box-shadow:0 5px 0 #293c33}.reading-card>span:nth-child(2){display:grid;gap:6px}.reading-card small{font-size:11px;letter-spacing:1.1px;font-weight:900}.reading-card strong{font-size:28px;line-height:1.2}.reading-card span span{font-size:15px;line-height:1.4}.reading-card>b{margin-left:auto;font-size:30px}.reading-icon{font-size:42px;font-weight:900;letter-spacing:-5px;min-width:88px;white-space:nowrap}.reading-icon span{font-size:52px!important;color:#ba5935;display:inline-block;transform:rotate(-10deg)}.section-heading{display:flex;align-items:baseline;justify-content:space-between;margin:40px 0 20px;gap:15px}.section-heading h2{font-size:25px;margin:0;letter-spacing:-.7px}.section-heading p{font-size:13px;color:var(--muted);margin:0}.story-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.story-card{background:#fffdf7;border:2px solid #53634e;border-radius:22px;padding:18px;text-align:left;position:relative;box-shadow:0 4px 0 #d7ddce;transition:transform .16s}.story-card:hover{transform:translateY(-3px)}.story-card:nth-child(3n+2){background:#edf0e2}.story-card:nth-child(3n){background:#f9eade}.story-card>.art{width:88px;height:88px;margin-bottom:10px}.story-card strong{display:block;font-size:19px;line-height:1.3;margin:6px 0}.story-card small{font-size:13px;line-height:1.4;color:var(--muted)}.story-card .number{position:absolute;top:17px;right:17px;border:1px solid #89937f;border-radius:50%;width:29px;height:29px;display:grid;place-items:center;font-size:12px;font-weight:800}.story-card.done .number{background:var(--ink);color:white}.done-label{display:block;font-size:11px;font-weight:900;margin-top:10px;color:#3e6846}.grownup{font-size:14px;line-height:1.8;margin:30px 0 12px}.grownup summary{cursor:pointer;min-height:48px;padding:10px 0;font-weight:800}.grownup p{max-width:800px}footer{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13px;color:var(--muted);padding:24px 0;border-top:1px solid #d9ddcf;margin:28px 0}.skip{position:fixed;top:10px;left:10px;background:white;padding:14px;z-index:20}.skip:not(:focus){clip-path:inset(100%)}
/* Original imagegen atlas, with alpha preserved. */
.art{display:inline-block;flex:none;background-image:url('images/photo-practice-2026-10-07/counting-stickers.webp');background-size:400% 400%;width:80px;height:80px}.art-sheep{background-position:0 0}.art-egg{background-position:33.3333% 0}.art-yellowFlower{background-position:66.6667% 0}.art-orangeFlower{background-position:100% 0}.art-crab{background-position:0 33.3333%}.art-car{background-position:33.3333% 33.3333%}.art-plate{background-position:66.6667% 33.3333%}.art-cube{background-position:100% 33.3333%}.art-crayon{background-position:0 66.6667%}.art-band{background-position:33.3333% 66.6667%}.art-dog{background-position:66.6667% 66.6667%}.art-frog{background-position:100% 66.6667%}.art-bug{background-position:0 100%}.art-rug{background-position:33.3333% 100%}.art-orangeCube{background-position:66.6667% 100%}.art-blueCrayon{background-position:100% 100%}
/* Shared practice panel. */
.activity-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:28px 0 22px}#activity>h1{font-size:clamp(28px,5vw,42px);letter-spacing:-1px;line-height:1.15;margin:18px 0 22px}#play{background:#fffdf7;border:2px solid var(--ink);border-radius:26px;padding:28px;box-shadow:0 5px 0 #d7ddce}.instructions{font-size:20px;line-height:1.65;margin:0;max-width:790px}.story-intro{display:flex;align-items:flex-start;gap:25px;margin-bottom:22px}.story-intro>.art{width:76px;height:76px}.story-intro>div{flex:1}.tools,.targets{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin:20px 0}.primary,.soft-button{border:2px solid var(--ink);border-radius:15px;padding:11px 20px;font-weight:800;background:var(--gold);font-size:17px;box-shadow:0 3px 0 #293c3333}.soft-button{background:#fffdf7;font-size:15px}.primary:disabled,.soft-button:disabled{opacity:.5;box-shadow:none}.hear{margin-top:14px;font-size:14px;display:inline-block}.small-note{font-size:14px;color:var(--muted);line-height:1.6;text-align:center}.feedback{font-size:19px;line-height:1.6;text-align:center;margin:18px 0;color:#3c6843;font-weight:800;min-height:30px}.finish-tools{border-top:1px solid #d9ddcf;padding-top:20px;margin-top:24px}.audio-status{position:fixed;bottom:12px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 24px);padding:12px 18px;background:#fff0c9;border:2px solid var(--ink);border-radius:15px;font-size:14px;z-index:20}.targets button[aria-pressed=true]{background:var(--sage)}
/* Exclude the next row's crayon tip and a neighbor's edge from these cells. */
.art-frog{clip-path:inset(0 0 10% 0)}.art-egg{clip-path:inset(0 0 0 8%)}
/* Tap-to-arrange cards also work with keyboard, without drag-only controls. */
.word-intro{display:flex;gap:18px;align-items:center}.word-intro .art{width:100px;height:100px}.phrase-model{font-size:21px;font-weight:800;margin:22px 0 12px}.phrase-strip{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;min-height:120px;border:2px dashed #9eaa91;border-radius:20px;padding:18px;background:#edf0e1}.phrase-strip:empty:after{content:'Your words go here';color:var(--muted);font-size:19px}.word-bank{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:24px 0}.word-card{background:white;border:2px solid var(--ink);border-radius:14px;box-shadow:0 4px 0 #d8dfcd;padding:12px 10px;font-size:clamp(23px,3vw,32px);min-height:68px;letter-spacing:-.5px}.word-card:disabled{opacity:.28;box-shadow:none}.word-card u{text-decoration-color:#b85938;text-decoration-thickness:3px;text-underline-offset:7px}.word-card.tricky{background:#fff0d6}.phrase-strip .word-card{background:#fffdf6;min-width:80px}.phrase-label{display:flex;align-items:center;gap:10px;justify-content:space-between;flex-wrap:wrap;margin:25px 0 10px}.phrase-label h2{font-size:20px;margin:0}.phrase-picks{display:flex;gap:9px;flex-wrap:wrap}.phrase-picks button{font-size:15px;box-shadow:none;min-height:44px;padding:8px 13px}.word-help{background:#f9ecd9;padding:16px 20px;border-radius:15px;font-size:14px;line-height:1.7}.word-help p{margin:0}.copy-note{background:#e7efdf;border-radius:15px;padding:16px;font-size:15px;line-height:1.6;text-align:center}
/* The quantities are separate DOM objects, never painted into an image. */
.board{display:grid;grid-template-columns:1fr 1fr;gap:18px;background:#eef0e3;border-radius:22px;padding:18px}.tray{border:2px solid #91a581;border-radius:17px;background:#fffdf6;padding:16px 12px;min-height:225px}.tray h2{font-size:16px;text-align:center;margin:0 0 14px;display:flex;align-items:center;justify-content:center;gap:10px}.count{display:inline-grid;place-items:center;background:var(--sage);border-radius:50%;min-width:32px;height:32px;font-size:20px}.tokens{display:flex;flex-wrap:wrap;justify-content:center;align-content:flex-start;gap:6px;min-height:126px}.token{padding:0;width:70px;height:70px;display:grid;place-items:center;position:relative;border:none;background:transparent;border-radius:12px}.token .art{width:68px;height:68px}.token:is(button){border:1px solid #c6d0b9;background:#f8faef}.token:is(button):hover{background:#e1eccf}.token:is(button):focus-visible{z-index:1}.token-number{position:absolute;bottom:-2px;right:0;background:#fffdf7;border:1px solid #b2bda6;border-radius:50%;width:19px;height:19px;display:grid;place-items:center;font-size:11px;font-weight:900}.board.sheep .tray:first-child{border:7px double #8a6947;background:#e0edcc}.board.eggs .tray:last-child{background:#f7e3ce}.board.crabs{background:#f8e5c5}.board.crabs .tray{background:#fff2d9}.board.plates .tray{background:#f4e7d7}.board.cars .tray{background:#e9edf0}.board.crayons .tray{min-height:235px}.equation{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:22px 0 12px}.equation span{font-size:clamp(24px,5vw,34px);font-weight:900;letter-spacing:1px;padding:10px 20px;background:#e8eedf;border-radius:14px}.equation .secondary-equation{background:#f7ead7}.comparison{background:#fbecd5;border:2px dashed #c78d51;border-radius:17px;padding:16px 20px;text-align:center;font-size:16px;line-height:1.6}.comparison h2{font-size:21px;margin:0 0 12px}.comparison .tokens{min-height:70px}.round-note{text-align:center;font-size:14px;font-weight:800;color:var(--muted)}
@media(max-width:760px){.page{padding:0 18px}.topbar{padding:16px 0;align-items:flex-start}.topbar a{font-size:13px}.settings{gap:5px}.settings button{font-size:12px;padding:9px 10px;min-height:44px}.hero{padding-top:28px;gap:12px}.hero h1{letter-spacing:-2px;font-size:52px}.hero p:not(.eyebrow):not(.progress){font-size:15px}.hero .eyebrow{font-size:10px;letter-spacing:1px}.hero-art{height:220px}.hero-art .art-dog{width:125px;height:125px;left:2%;top:23px}.hero-art .art-frog{width:97px;height:97px;right:0;top:71px}.hero-art .art-rug{width:146px;height:146px;left:12%;bottom:0}.paper-word{font-size:21px;padding:6px 11px}.word-two{left:39%}.reading-card{padding:18px;gap:17px}.reading-card strong{font-size:24px}.reading-icon{min-width:75px;font-size:37px}.reading-card span span{font-size:14px}.story-grid{grid-template-columns:repeat(2,1fr);gap:14px}.section-heading{display:block}.section-heading p{margin-top:9px}.story-card{padding:15px}.story-card strong{font-size:18px}.story-card small{font-size:12px}#play{padding:20px}.instructions{font-size:18px}.story-intro{gap:12px}.story-intro>.art{width:60px;height:60px}.board{gap:10px;padding:10px}.tray{padding:12px 7px}.tray h2{font-size:14px;gap:6px}.count{min-width:28px;height:28px;font-size:18px}.tokens{gap:6px}.token{width:58px;height:58px}.token .art{width:56px;height:56px}.word-bank{gap:10px}.word-card{font-size:25px;min-height:61px;padding:11px 8px}.word-intro .art{width:75px;height:75px}.feedback{font-size:17px}.activity-number{letter-spacing:1px}.activity-bar .eyebrow{font-size:10px}.primary{font-size:16px}.equation span{padding:10px 13px}}
@media(max-width:480px){.page{padding:0 14px}.hero{grid-template-columns:1fr 145px;gap:6px;padding-top:25px}.hero h1{font-size:44px}.hero p:not(.eyebrow):not(.progress){font-size:14px;line-height:1.6}.hero p br{display:none}.hero-art{height:185px}.hero-art .art-dog{width:100px;height:100px;left:-3%;top:12px}.hero-art .art-frog{width:78px;height:78px;right:-8%;top:67px}.hero-art .art-rug{width:114px;height:114px;left:4%;bottom:5px}.paper-word{font-size:17px;padding:5px 8px}.word-one{left:-5%;bottom:16px}.word-two{left:33%;bottom:-2px}.word-three{right:-4%;bottom:24px}.progress{font-size:11px;padding:9px 11px}.reading-icon{display:none}.reading-card{gap:10px;padding:18px}.reading-card small{font-size:9px}.reading-card strong{font-size:23px}.reading-card>b{font-size:24px}.section-heading h2{font-size:23px}.story-card>.art{width:70px;height:70px}.story-card strong{font-size:16px}.story-card .number{width:26px;height:26px;top:12px;right:12px}.story-card{padding:13px}.story-grid{gap:12px}.activity-bar{margin-top:20px}.activity-bar .secondary{font-size:13px;padding:10px 13px}#play{padding:17px 13px}.story-intro>.art{display:none}.word-bank{grid-template-columns:repeat(3,1fr);gap:12px}.word-card{font-size:28px}.word-intro{gap:9px}.word-intro .art{width:61px;height:61px}.word-help{padding:14px}.phrase-strip{padding:13px;min-height:106px;gap:9px}.phrase-strip .word-card{min-width:62px;font-size:25px}.board{padding:8px;gap:8px}.tray{padding:10px 5px;min-height:215px}.tray h2{display:flex;flex-direction:column;gap:6px;min-height:55px}.token{width:51px;height:51px}.token .art{width:49px;height:49px}.tokens{gap:7px 3px}.count{font-size:19px}.board.sheep .tray:first-child{border-width:5px}.board.sheep .token{width:48px;height:48px}.board.sheep .token .art{width:46px;height:46px}.equation span{font-size:24px;letter-spacing:0;padding:10px 12px}.tools{gap:9px}.soft-button{padding:11px 13px}.finish-tools{margin-top:18px}footer{font-size:11px;align-items:flex-start}footer a{font-size:12px}.feedback{line-height:1.55}.story-grid .done-label{font-size:10px}}
@media(max-width:355px){.hero{grid-template-columns:1fr 118px}.hero h1{font-size:40px}.topbar{gap:5px}.topbar a{font-size:12px}.settings button{font-size:11px;padding:9px 7px}.token{width:46px;height:46px}.token .art{width:44px;height:44px}.tray{min-height:250px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}body.quiet *{transition:none!important;animation:none!important}
