
body.cn-open{overflow:hidden}
#coco-numbers{position:fixed;inset:0;margin:0;padding:0;border:0;border-radius:0;width:100vw;height:100dvh;max-width:none;max-height:none;background:#fff9eb;color:#344d44;overflow:auto;font-family:inherit}
#coco-numbers::backdrop{background:#fff9eb}#coco-numbers *{box-sizing:border-box}
#coco-numbers button{font:inherit;color:inherit;cursor:pointer;border:0;min-height:46px;touch-action:manipulation}
#coco-numbers button:disabled{cursor:default}
#coco-numbers button:focus-visible{outline:4px solid #7656b2;outline-offset:4px}
#coco-numbers [hidden]{display:none!important}
.cn-wrap{max-width:1120px;padding:22px 34px 40px;margin:auto}
.cn-header{display:flex;justify-content:space-between;align-items:center;padding:0 0 22px!important;border:0!important}
.cn-header b{font-size:19px}.cn-header b span{color:#e6b638}.cn-header>button{border-radius:50%;background:#f1e8d3;width:48px;height:48px;font-size:22px!important}
.cn-hero{min-height:430px;position:relative;border-radius:36px;overflow:hidden;background:linear-gradient(#aae5eb 0%,#d7f0d3 75%);padding:50px;isolation:isolate}
.cn-hero:after{content:"";position:absolute;width:130%;height:200px;border-radius:50%;background:#98cd76;bottom:-110px;left:-15%;z-index:-1}
.cn-hero-copy{position:relative;z-index:3;max-width:55%}
.cn-kicker{font-size:11px;letter-spacing:2px;font-weight:850;color:#4b7569}
#coco-numbers h1{font-size:clamp(30px,4.5vw,54px);line-height:1.08;letter-spacing:-1.5px;margin:16px 0}
.cn-hero-copy p{font-size:18px;margin:0 0 24px}
#coco-numbers .cn-primary{background:#426849;color:white;border-radius:100px;box-shadow:0 5px 0 #264c32;padding:15px 26px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:25px}
.cn-primary:active{translate:0 3px}
.cn-hero-coco{position:absolute;right:5%;bottom:4%;width:36%;height:85%;object-fit:contain;filter:drop-shadow(0 10px 4px #4c7f4820);animation:cn-float 4s ease-in-out infinite}
.cn-floating{position:absolute;display:grid;place-items:center;background:#fff4bd;color:#ad7c22;border-radius:23px;width:65px;height:70px;font-size:40px;font-weight:850;box-shadow:0 5px 0 #a0be862e;z-index:2;animation:cn-float 4s ease-in-out infinite}
.f-one{right:36%;top:21%;rotate:-15deg}.f-two{right:5%;top:14%;rotate:12deg;animation-delay:-1s}.f-three{right:5%;bottom:12%;rotate:-9deg;animation-delay:-2s}
.cn-hero-flowers{position:absolute;bottom:7px;left:8%;font-size:40px;letter-spacing:15px}
.cn-cloud{position:absolute;width:90px;height:28px;background:#ffffffbb;border-radius:50px;animation:cn-cloud 10s ease-in-out infinite alternate}
.cn-cloud:before,.cn-cloud:after{content:"";position:absolute;border-radius:50%;background:inherit}.cn-cloud:before{width:44px;height:44px;left:10px;bottom:0}.cn-cloud:after{width:35px;height:35px;right:14px;bottom:3px}
.cloud-a{top:13%;left:4%}.cloud-b{top:30%;right:8%;scale:.8;animation-delay:-5s}
.cn-sun{position:absolute;color:#ffd44e;right:20%;top:5%;font-size:70px;line-height:1}
.cn-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:28px 0 18px}.cn-heading h2{font-size:22px;margin:0}.cn-heading>span{font-size:13px;color:#708271}
.cn-ranges{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.cn-ranges button{border-radius:24px;background:#f4ecd6;padding:20px!important;border:3px solid transparent!important;text-align:left}.cn-ranges .chosen{background:#fff0af;border-color:#dfb844!important}
.cn-ranges b{font-size:30px;display:block}.cn-ranges span{display:block;font-size:14px;margin-top:5px}
.cn-how{display:flex;justify-content:center;align-items:center;gap:22px;margin:30px 0}.cn-how span{font-size:25px;display:flex;align-items:center;gap:8px}.cn-how b{font-size:15px}.cn-how i{font-style:normal;color:#92a08c}
.cn-pick{border-top:1px solid #e8dfc9;padding:18px 0}.cn-pick summary{cursor:pointer;font-size:14px}.cn-pick>div{display:flex;gap:8px;flex-wrap:wrap;padding:16px 0}.cn-pick button{background:#e6eedc;border-radius:15px;width:49px;font-size:22px!important}
.cn-parent-link{display:block;margin:10px auto;background:none;text-decoration:underline;font-size:13px!important;color:#7b856f!important}
.cn-adventure{--sky:#b9eaf4;--hill:#a3d479;--hill2:#c4e59c;--text:#345544}
.cn-adventure.picnic{--sky:#eedbfa;--hill:#b3d887;--hill2:#cde2ae}
.cn-adventure.starlight{--sky:#303f70;--hill:#5b7295;--hill2:#405b7c;--text:#fff9d8}
.cn-adventure-top{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px;font-size:14px;font-weight:750}
.cn-journey{display:flex;gap:8px}.cn-journey i{font-size:20px;font-style:normal;color:#ded6bd}.cn-journey .earned{color:#eab640}
.cn-play-scene{position:relative;min-height:520px;border-radius:32px;overflow:hidden;background:var(--sky);isolation:isolate;color:var(--text)}
.cn-scenery{position:absolute;inset:0;z-index:-1;pointer-events:none}
.cn-hill{position:absolute;width:140%;height:240px;border-radius:50%;left:-20%;bottom:-100px;background:var(--hill)}.cn-hill.back{bottom:-60px;left:0;background:var(--hill2)}
.cn-scene-content{position:relative;text-align:center;padding:25px 130px 30px 25px}
.cn-guide{position:absolute;right:0;bottom:12px;width:130px;height:175px;object-fit:contain;z-index:2;animation:cn-float 4s ease-in-out infinite}
.cn-step-label{font-size:10px;letter-spacing:2px;font-weight:800;opacity:.8}
#coco-numbers .cn-scene-content h1{font-size:32px;letter-spacing:-.8px;margin:12px 0 8px}.cn-scene-content p{font-size:16px;margin:8px 0 15px}
.cn-counter{display:inline-flex;align-items:center;gap:10px;background:#fff9e9;border-radius:40px;padding:5px 18px;margin:0 auto 12px;color:#3f6449}.cn-counter output{font-size:36px;font-weight:850}.cn-counter span{font-size:13px}
.cn-objects{display:grid;grid-template-columns:repeat(5,minmax(48px,1fr));gap:10px;max-width:570px;margin:10px auto}
.cn-objects:not(.many){max-width:520px}
.cn-objects button{position:relative;background:#ffffff77;border-radius:20px;height:83px;box-shadow:0 4px 0 #6a94561a;transition:background .2s}
.cn-objects button>span{display:inline-block;font-size:44px;animation:cn-sway 3s ease-in-out infinite;animation-delay:var(--delay)}
.cn-objects button>b{position:absolute;bottom:4px;right:6px;display:none;border-radius:50%;width:25px;height:25px;background:#fff;color:#527245;font-size:16px}
.cn-objects .counted{background:#fff3b9;box-shadow:0 4px 0 #e2c66f}
.cn-objects .counted>b{display:grid;place-items:center}.cn-objects .counted>span{animation:cn-pop .45s ease}
.cn-objects.many button{height:64px}.cn-objects.many button>span{font-size:34px}
.cn-play-bottom{padding:15px 10px 0;text-align:center}.cn-feedback{min-height:25px;font-size:16px;color:#657359;margin:0 0 15px}.cn-bottom-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}.cn-bottom-actions>button:not(.cn-primary){background:#f1e8ce;border-radius:50px;padding:10px 20px}
.cn-request{display:flex;align-items:center;justify-content:center;gap:15px;margin:12px}.cn-request strong{font-size:48px;line-height:1}.cn-request>span{font-size:40px}
.cn-basket{border:5px solid #b98447;border-radius:20px 20px 35px 35px;background:repeating-linear-gradient(0deg,#dfb874 0px,#dfb874 10px,#d5a565 10px,#d5a565 13px);padding:15px;max-width:450px;margin:12px auto;min-height:120px;box-shadow:0 8px 0 #9b6d3b33}
.cn-basket.over{outline:5px solid #fff2a5}.cn-basket-label{display:block;color:#654221;font-size:13px;font-weight:700;margin-top:12px}
.cn-frame{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;padding:6px;border:2px solid #ffffff66;border-radius:12px;margin:5px auto;max-width:320px}
.cn-frame>span,.cn-frame>button{background:#ffffff55;display:grid;place-items:center;min-height:36px;border-radius:7px;font-size:25px}
.cn-frame>button{padding:0}
.cn-picnic-tools{display:flex;align-items:center;justify-content:center;gap:20px;margin:20px 0 10px}
.cn-picnic-tools>button{border-radius:20px;background:#fff8de;padding:12px 20px;font-weight:800;color:#496445!important}.cn-picnic-tools>button:disabled{opacity:.5}
#coco-numbers .cn-fruit-source{position:relative;font-size:44px;min-width:90px;background:#ffdc66;box-shadow:0 5px 0 #d5aa45;touch-action:none;user-select:none}
.cn-fruit-source span{font-size:15px;position:absolute;right:5px;bottom:3px}
#coco-numbers .cn-check{background:#456b48;color:white!important;box-shadow:0 5px 0 #2a4d31}
.cn-drag-hint{display:block;font-size:12px;opacity:.8}
.cn-fruit-ghost{position:fixed;z-index:20;font-size:54px;transform:translate(-50%,-50%);pointer-events:none}
.cn-number-set{max-width:360px;margin:20px auto;color:#345544}
.cn-number-choices{display:flex;justify-content:center;gap:20px;margin:25px 0}
.cn-number-choices>button{font-size:48px!important;font-weight:850;width:90px;height:90px;border-radius:24px;background:#fff7d8;color:#4d674a!important;box-shadow:0 6px 0 #d9c77b}
.cn-number-choices .correct{background:#ccecb1;outline:4px solid #5c9166}
.cn-recount{background:#ffffff77;border-radius:30px;padding:10px 20px;font-size:14px!important}
.cn-cheer{animation:cn-pop .6s ease!important}
.cn-finish{text-align:center;padding:20px}.cn-finish>img{height:240px;max-width:100%;object-fit:contain;animation:cn-float 3s ease-in-out infinite}.cn-finish-stars{font-size:40px;color:#e9b935;letter-spacing:25px}
.cn-trophies{display:flex;justify-content:center;gap:20px;margin:25px}.cn-trophies>span{background:#ffe391;border-radius:25px;display:grid;place-items:center;width:80px;height:80px;font-size:40px;font-weight:850}
.cn-real-world{font-size:17px;padding:15px;border-radius:20px;background:#e5f0d8}
.cn-parents{max-width:760px;margin:35px auto}.cn-parents p{line-height:1.7;color:#6a7761}.cn-parents>button{background:#eee5cf;border-radius:25px;padding:12px 20px}
.cn-observations{display:grid;grid-template-columns:1fr 1fr;gap:15px}.cn-observations article{display:flex;gap:15px;padding:18px;background:#f0ebd9;border-radius:20px;font-size:13px;line-height:1.6}.cn-observations b{font-size:32px}
@keyframes cn-float{50%{transform:translateY(-9px)}}
@keyframes cn-cloud{to{translate:45px 0}}
@keyframes cn-sway{50%{transform:rotate(7deg) translateY(-3px)}}
@keyframes cn-pop{50%{transform:scale(1.16) rotate(-6deg)}}
@media(max-width:600px){
.cn-wrap{padding:16px 14px 28px}.cn-header{padding-bottom:16px!important}.cn-header b{font-size:15px}.cn-header>button{width:44px;height:44px}
.cn-hero{padding:28px 23px;min-height:450px;border-radius:28px}.cn-hero-copy{max-width:100%}.cn-hero-copy h1{font-size:39px!important}.cn-kicker{font-size:9px;letter-spacing:1.5px}.cn-hero-copy p{font-size:14px}
.cn-hero-copy .cn-primary{font-size:14px;padding:12px 20px}.cn-hero-coco{height:220px;width:59%;right:0;bottom:8px}.cn-floating{width:43px;height:47px;font-size:28px;border-radius:15px}.f-one{right:44%;top:auto;bottom:95px}.f-two{right:3%;top:auto;bottom:205px}.f-three{right:4%;bottom:20px}.cn-hero-flowers{left:5%;font-size:28px;letter-spacing:3px}.cn-hero .cn-sun{right:5%;top:5%;font-size:46px}
.cn-heading{display:block}.cn-heading h2{font-size:20px;margin-bottom:5px}.cn-ranges{gap:8px}.cn-ranges button{padding:12px 9px!important;border-radius:18px}.cn-ranges b{font-size:24px}.cn-ranges span{font-size:11px}.cn-how{gap:9px}.cn-how span{font-size:21px;gap:4px}.cn-how b{font-size:12px}
.cn-adventure-top{font-size:12px}.cn-play-scene{border-radius:26px;min-height:540px}.cn-scene-content{padding:25px 12px 115px}
#coco-numbers .cn-scene-content h1{font-size:27px}.cn-scene-content p{font-size:14px}.cn-guide{height:110px;width:100px;bottom:3px;right:5px}.cn-sun{font-size:42px;right:5%;top:10px}.cn-cloud{scale:.6}.cloud-a{left:-20px;top:8%}
.cn-objects{gap:7px;grid-template-columns:repeat(5,minmax(0,1fr))}.cn-objects button{height:64px;border-radius:15px}.cn-objects button>span{font-size:33px}.cn-objects button>b{width:20px;height:20px;font-size:13px;bottom:2px;right:3px}
.cn-objects.many button{height:55px}.cn-objects.many button>span{font-size:28px}
.cn-basket{padding:9px}.cn-frame{gap:4px;padding:5px}.cn-frame>span,.cn-frame>button{font-size:25px;min-height:36px}
.cn-picnic-tools{gap:12px}.cn-picnic-tools>button{padding:10px 16px}.cn-request strong{font-size:42px}.cn-request{margin:8px}
.cn-number-choices{gap:15px}.cn-number-choices>button{width:76px;height:80px;font-size:40px!important}
.cn-feedback{font-size:14px}.cn-bottom-actions{gap:10px}.cn-bottom-actions button{font-size:14px!important}
.cn-finish{padding:20px 5px}.cn-finish>img{height:210px}.cn-finish-stars{font-size:30px;letter-spacing:16px}.cn-finish h1{font-size:35px!important}
.cn-observations{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){#coco-numbers *{animation:none!important;transition:none!important}}
body.reduced #coco-numbers *{animation:none!important;transition:none!important}

/* Picture-led number path; preserve Coco's existing illustrated world. */
#coco-numbers[data-screen=home] .cn-hero{min-height:350px}
#coco-numbers .cn-quick-play{width:76px;height:76px;padding:0;border-radius:50%;font-size:32px}
#coco-numbers .cn-home-bottom{padding-top:22px}
#coco-numbers .cn-ranges button{position:relative;text-align:center;background:#fff0b8;border-color:#eedf9b!important;padding:14px 12px!important;box-shadow:0 5px 0 #ded4ad;transition:transform .2s}
#coco-numbers .cn-ranges button:nth-child(2){background:#e3f0c8;border-color:#c7dfa3!important}
#coco-numbers .cn-ranges button:nth-child(3){background:#e4ebff;border-color:#c7d5fa!important}
#coco-numbers .cn-ranges button:not(:disabled):hover{transform:translateY(-3px)}
#coco-numbers .cn-range-picture{font-size:45px;line-height:1.2;margin:0 0 5px}
#coco-numbers .cn-range-action{position:absolute;right:10px;top:12px;font-size:16px}
#coco-numbers .cn-range-locked{opacity:.65;box-shadow:none!important}
#coco-numbers .cn-range-progress{display:flex;justify-content:center;gap:3px;font-size:17px;margin-top:8px;color:#988f7c}
.cn-range-progress i{font-style:normal}.cn-range-progress i.filled{color:#9b6900}
#coco-numbers .cn-parent-link{width:44px;height:44px;margin:14px auto 0;text-decoration:none;font-size:24px!important;background:#efe8d5;border-radius:50%}
.cn-math-fruit{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;max-width:540px;margin:30px auto 20px}
.cn-math-fruit>span{display:inline-grid;place-items:center;width:58px;height:62px;font-size:42px;border-radius:16px;background:#ffffff80}
.cn-fruit-arrives{outline:3px dashed #568344;animation:cn-arrive 1.1s ease both}
.cn-math-fruit>.cn-fruit-leaves{opacity:.25;position:relative;transform:translateY(10px);animation:cn-leave 1.1s ease both}
.cn-fruit-leaves:after{content:'−';position:absolute;color:#74365a;background:#fff;border-radius:50%;width:24px;height:24px;right:-3px;top:-5px;font-size:22px;line-height:22px;font-weight:800;opacity:1}
.cn-equation{font-size:clamp(30px,6vw,46px);font-weight:850;margin:20px auto}.cn-equation b{color:#674687}.cn-equation>span{color:#6e6966}
#coco-numbers .cn-finish-home{margin-left:16px;border-radius:50%;width:55px;height:55px;background:#eee4c8;font-size:26px}
@keyframes cn-arrive{from{opacity:0;transform:translateX(50px) scale(.7)}to{opacity:1;transform:none}}
@keyframes cn-leave{from{opacity:1;transform:none}to{opacity:.25;transform:translateY(10px)}}
@media(max-width:600px){#coco-numbers[data-screen=home] .cn-hero{min-height:315px;padding:25px 23px}#coco-numbers[data-screen=home] .cn-hero-copy h1{font-size:34px!important}#coco-numbers[data-screen=home] .cn-hero-coco{height:190px;width:56%}#coco-numbers .cn-home-bottom{padding-top:16px}#coco-numbers .cn-ranges button{padding:12px 7px!important}#coco-numbers .cn-range-picture{font-size:35px}#coco-numbers .cn-range-action{right:7px;top:8px;font-size:12px}#coco-numbers .cn-range-progress{font-size:13px;gap:1px}.cn-math-fruit>span{width:43px;height:48px;font-size:32px}.cn-math-fruit{gap:6px;margin:20px auto}.cn-equation{margin:14px auto}#coco-numbers .cn-quick-play{width:64px;height:64px}}

.cn-teach-number{font-size:clamp(58px,12vw,95px);font-weight:850;color:var(--text);line-height:1.2;margin:20px auto}.cn-teach-garden{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;max-width:550px;margin:20px auto}.cn-teach-garden>span{display:grid;place-items:center;font-size:clamp(35px,7vw,58px);width:68px;height:72px;background:#ffffff60;border-radius:22px}.cn-new-flower{animation:cn-pop .65s ease both}#coco-numbers[data-screen=teaching] .cn-play-scene{min-height:550px}.cn-demo-equation{min-height:60px}@media(max-width:600px){.cn-teach-garden{gap:7px}.cn-teach-garden>span{width:44px;height:50px;font-size:34px}.cn-teach-number{margin:16px auto}.cn-teach-garden{margin:16px auto}}

.cn-mini-confetti{position:absolute;left:50%;top:38%;width:0;height:0;pointer-events:none;z-index:5}.cn-mini-confetti i{position:absolute;width:7px;height:10px;border-radius:2px;animation:cn-mini-burst 1s ease-out forwards}@keyframes cn-mini-burst{0%{opacity:0;transform:translate(0,0) rotate(0)}12%{opacity:1}50%{opacity:1;transform:translate(calc(var(--dx)*.7),-65px) rotate(calc(var(--turn)*.5))}100%{opacity:0;transform:translate(var(--dx),70px) rotate(var(--turn))}}

.cn-success-tick{position:absolute;right:22px;top:70px;width:78px;height:72px;z-index:6;pointer-events:none;background:none;border:0}.cn-success-tick svg{display:block;width:100%;height:100%}.cn-mini-confetti i{animation-duration:1.6s}.cn-flowers-only .cn-basket{background:#d2eab1;border:3px dashed #6d9e52;box-shadow:none;border-radius:28px}.cn-flowers-only .cn-frame{border-color:#8ebd71}.cn-flowers-only .cn-frame>span,.cn-flowers-only .cn-frame>button{background:#f6ffe8}.cn-flowers-only .cn-objects:not(.many){grid-template-columns:repeat(auto-fit,minmax(65px,100px));justify-content:center;gap:14px}.cn-flowers-only .cn-objects button{height:100px}.cn-flowers-only .cn-objects button>span{font-size:58px}.cn-trophies{flex-wrap:wrap}@media(max-width:600px){.cn-success-tick{width:52px;height:48px;top:76px;right:12px}.cn-journey{gap:4px}.cn-journey i{font-size:16px}.cn-flowers-only .cn-objects:not(.many){grid-template-columns:repeat(auto-fit,minmax(60px,65px));gap:9px}.cn-flowers-only .cn-objects button{height:76px}.cn-flowers-only .cn-objects button>span{font-size:43px}}

#coco-numbers [data-cn=next]{display:none!important}.cn-mini-confetti{position:fixed;inset:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:20}.cn-mini-confetti i{left:var(--left);top:-18px;animation:cn-natural-fall 2.8s var(--delay) ease-in forwards;opacity:0}@keyframes cn-natural-fall{0%{opacity:0;transform:translate(0,-12px) rotate(0)}8%{opacity:1}85%{opacity:1}100%{opacity:0;transform:translate(var(--dx),100dvh) rotate(var(--turn))}}.cn-seeds{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin:35px auto;max-width:550px}.cn-seeds button{width:85px;height:95px;border-radius:24px;background:#e9d7b5;box-shadow:0 5px 0 #b9a27c}.cn-seeds button[aria-pressed=true]{background:#e5f3c9;box-shadow:0 5px 0 #a3c983}.cn-seeds span{font-size:45px;display:inline-block}.cn-seed-actions{display:flex;justify-content:center;align-items:center;gap:28px}.cn-seed-actions output{font-size:44px;font-weight:800}.cn-seed-actions button{border-radius:50%;width:64px;height:64px;background:#426849;color:white!important;font-size:32px!important}.cn-recognise{padding-top:65px}@media(max-width:600px){.cn-seeds{gap:8px}.cn-seeds button{width:50px;height:75px;border-radius:18px}.cn-seeds span{font-size:36px}.cn-recognise{padding-top:40px}}@media(prefers-reduced-motion:reduce){.cn-mini-confetti{display:none}}

.cn-seeds button[aria-pressed=false] span{width:18px;height:25px;background:#835b3e;border-radius:70% 35% 60% 40%;font-size:0;box-shadow:inset 3px 0 #b48b66}

.cn-finale-confetti i{animation:cn-natural-fall var(--fall) var(--delay) linear infinite}.cn-finish-song{display:block;margin:18px auto 0;border:0;border-radius:24px;padding:12px 22px;background:#fff5cb;color:#60478c;font-size:25px;cursor:pointer}body.reduced .cn-finale-confetti{display:none}

.cn-number-book{background:linear-gradient(145deg,#fff9df,#e5f5e8);border-radius:32px;padding:18px;min-height:65dvh}.cn-book-top{display:flex;align-items:center;justify-content:space-between;height:72px}.cn-book-top>span{font-size:32px}.cn-book-top img{width:80px;height:80px;object-fit:contain}.cn-book-dots{display:flex;gap:12px}.cn-book-dots i{width:12px;height:12px;border-radius:50%;background:#d7d8c3}.cn-book-dots .active{background:#a375d7;scale:1.3}.cn-book-stage{min-height:350px;display:flex;flex-direction:column;align-items:center;justify-content:center}.cn-meet-number{font-size:clamp(150px,30vw,245px)!important;font-weight:850;line-height:1.1;color:#9257c6!important;background:none;transform:rotate(-3deg);text-shadow:3px 4px #e6d3f5}.cn-apple-row{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;min-height:80px}.cn-apple-row button{font-size:clamp(35px,9vw,60px)!important;background:none;animation:cn-float 2s ease-in-out infinite}.cn-book-controls{display:flex;gap:12px;justify-content:center;margin:20px 0}.cn-book-controls button{width:58px;height:54px;border-radius:20px;background:#eee4f6;font-size:25px!important}.cn-book-controls button:disabled{opacity:.3}.cn-trace-paper{display:block;width:min(100%,270px);height:auto;aspect-ratio:220/260;touch-action:none;user-select:none;background:repeating-linear-gradient(#fffdf7 0 63px,#e8e1d0 64px 65px);border-radius:20px;box-shadow:0 5px 0 #e2d6bc;cursor:crosshair}.cn-trace-paper path{fill:none;stroke-linecap:round;stroke-linejoin:round}.cn-trace-outline path{stroke:#dcd5e8;stroke-width:22}.cn-draw-demo{stroke:#bc92da;stroke-width:9}.cn-child-ink path{stroke:#ee7d4e;stroke-width:9;opacity:.85}.cn-start-dot{fill:#61b77e;stroke:white;stroke-width:3;pointer-events:none}@media(max-width:600px){.cn-number-book{padding:12px}.cn-book-stage{min-height:320px}.cn-book-top{height:60px}.cn-book-top img{width:64px;height:64px}.cn-book-controls{gap:9px}}@media(prefers-reduced-motion:reduce){.cn-apple-row button{animation:none}}

/* Give the recorded number introductions the full centre of the scene. */
#coco-numbers[data-screen=teaching] .cn-scene-content:has(.cn-teach-garden[hidden]){min-height:550px;padding:95px 20px;display:flex;align-items:center;justify-content:center;flex-direction:column}
#coco-numbers[data-screen=teaching] .cn-scene-content:has(.cn-teach-garden[hidden]) .cn-step-label{position:absolute;top:22px;left:0;width:100%;text-align:center}
#coco-numbers[data-screen=teaching] .cn-scene-content:has(.cn-teach-garden[hidden]) h1{position:absolute;top:48px;left:0;width:100%;margin:0;padding:0 18px;text-align:center}
#coco-numbers[data-screen=teaching] .cn-scene-content:has(.cn-teach-garden[hidden]) .cn-teach-number{font-size:clamp(190px,38vw,300px);line-height:1;margin:0;width:100%;text-align:center}
#coco-numbers .cn-meet-number{font-size:clamp(190px,38vw,280px)!important;transform:none;text-align:center;padding:0;margin:0 auto}

#coco-numbers [data-number="1"]{--number-colour:#ec3c43}#coco-numbers [data-number="2"]{--number-colour:#2475df}#coco-numbers [data-number="3"]{--number-colour:#259c51}#coco-numbers [data-number="4"]{--number-colour:#f4c51d}#coco-numbers [data-number="5"]{--number-colour:#ee6baa}
#coco-numbers .cn-teach-number[data-number],#coco-numbers .cn-number-book .cn-meet-number{color:var(--number-colour)!important;text-shadow:0 2px 1px #0002}
#coco-numbers .cn-number-book .cn-draw-demo,#coco-numbers .cn-number-book .cn-child-ink path{stroke:var(--number-colour,#9551e8)}

.cn-apple-question{gap:20px}.cn-apple-question h1{font-size:clamp(26px,6vw,38px)!important;text-align:center;margin:0!important}.cn-apple-question .cn-apple-row button{animation:none}.cn-apple-answers{margin:0!important;gap:24px!important}.cn-apple-answers button{color:var(--number-colour)!important;min-width:80px;min-height:85px}.cn-apple-feedback{min-height:48px;text-align:center;margin:0}.cn-apple-tick{color:#16a653;font-size:50px;font-weight:900;line-height:1}

/* Amount demonstrations share the original meadow and numeral presentation. */
#coco-numbers .cn-amount-scene .cn-scene-content{padding:24px 18px 120px;min-height:550px}.cn-amount-study{width:100%;padding-top:30px}.cn-amount-pair{display:flex;align-items:center;justify-content:center;gap:24px;min-height:320px}.cn-amount-number{flex:0 0 32%;font-size:clamp(190px,38vw,300px)!important;line-height:1;font-weight:850;background:none;padding:0;color:var(--number-colour)!important;text-shadow:0 2px 1px #0002;text-align:center}.cn-study-objects{flex:0 1 62%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;justify-items:center;gap:14px;max-width:500px}.cn-study-objects[data-count="1"]{grid-template-columns:1fr}.cn-study-objects span{font-size:clamp(70px,12vw,135px);line-height:1.1;animation:cn-pop .6s ease both}.cn-study-objects[data-count="1"] span{font-size:clamp(125px,20vw,220px)}.cn-study-controls{display:flex;justify-content:center;gap:16px;margin-top:24px}.cn-study-controls button{width:55px;height:52px;border-radius:50%;background:#fff9dfcc;font-size:26px!important}@media(max-width:600px){#coco-numbers .cn-amount-scene .cn-scene-content{padding:20px 10px 120px}.cn-amount-pair{gap:8px;min-height:320px}.cn-amount-number{font-size:clamp(140px,42vw,190px)!important;flex-basis:36%}.cn-study-objects{gap:8px;flex-basis:62%}.cn-study-objects span{font-size:clamp(58px,18vw,88px)}.cn-study-objects[data-count="1"] span{font-size:clamp(100px,34vw,145px)}}@media(prefers-reduced-motion:reduce){.cn-study-objects span{animation:none}}

#coco-numbers .cn-amount-number{font-weight:850}#coco-numbers .cn-amount-scene .cn-scene-content{z-index:3}

#coco-numbers .cn-q-scene .cn-scene-content{padding:28px 12px 115px;z-index:3}.cn-q-apples h1{text-align:center!important}.cn-q-apples strong{display:inline-block;font-size:88px;color:var(--number-colour);line-height:1.2}.cn-q-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:26px auto;max-width:780px}.cn-q-options button{background:#fffdf1;border-radius:24px;padding:16px 10px;min-height:220px;box-shadow:0 5px 0 #639c5e55}.cn-q-options button>span{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-items:center;align-content:center;gap:8px}.cn-q-options i{font-style:normal;font-size:clamp(34px,5vw,60px);line-height:1.1}.cn-q-replay{border-radius:50%;background:#fff9df;width:54px;height:54px;font-size:24px!important}.cn-q-feedback{min-height:55px}@media(max-width:600px){.cn-q-options{gap:8px}.cn-q-options button{padding:12px 4px;min-height:180px;border-radius:18px}.cn-q-options i{font-size:32px}.cn-q-options button>span{gap:6px}.cn-q-apples strong{font-size:75px}}

/* Full-page drawing book: retain the starting dot and light dotted guide. */
#coco-numbers .cn-wrap:has(.cn-number-book[data-phase="3"]){max-width:none;padding:12px 16px 16px}#coco-numbers .cn-wrap:has(.cn-number-book[data-phase="3"]) .cn-header{padding-bottom:10px!important}#coco-numbers .cn-number-book[data-phase="3"]{height:calc(100dvh - 88px);min-height:410px;display:flex;flex-direction:column;padding:10px 14px;border-radius:24px}.cn-number-book[data-phase="3"] .cn-book-top{height:48px;flex-shrink:0}.cn-number-book[data-phase="3"] .cn-book-top img{width:52px;height:52px}.cn-number-book[data-phase="3"] .cn-book-stage{flex:1;min-height:0;margin-top:8px}.cn-number-book[data-phase="3"] .cn-trace-paper{width:100%;height:100%;aspect-ratio:auto;border-radius:16px}.cn-number-book[data-phase="3"] .cn-book-controls{flex-shrink:0;margin:12px 0 0}.cn-trace-outline{opacity:0}.cn-trace-dots{fill:#ad9fb9;opacity:.48;pointer-events:none}.cn-trace-demo{pointer-events:none}@media(max-width:600px){#coco-numbers .cn-wrap:has(.cn-number-book[data-phase="3"]){padding:8px}#coco-numbers .cn-number-book[data-phase="3"]{height:calc(100dvh - 78px);padding:8px;border-radius:18px}}

.cn-trace-feedback{min-height:28px;text-align:center;font-size:16px;font-weight:700;margin-top:5px}.cn-trace-feedback .cn-apple-tick{font-size:28px}.cn-number-book[data-phase="3"] .cn-book-controls{margin-top:6px}

#coco-numbers .cn-cow-scene .cn-scene-content{padding:22px 14px 115px;z-index:3}.cn-two-cows{display:flex;justify-content:center;align-items:center;gap:24px;min-height:190px;margin:12px auto}.cn-two-cows span{font-size:clamp(95px,22vw,170px);line-height:1.2}.cn-cow-options{margin:12px auto!important}.cn-cow-options button{color:var(--number-colour)!important}.cn-cow-question .cn-q-feedback{margin-top:12px}@media(max-width:600px){.cn-two-cows{gap:14px;min-height:155px}.cn-two-cows span{font-size:clamp(85px,27vw,115px)}}

#coco-numbers .cn-pick-scene .cn-scene-content{padding:20px 12px 115px;z-index:3}.cn-pick-display{min-height:285px}.cn-pick-buttons{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;max-width:600px;margin:12px auto}.cn-pick-buttons button{position:relative;background:#fff9df;border-radius:20px;padding:14px 2px 23px;font-size:44px!important;font-weight:850!important;color:var(--number-colour)!important;box-shadow:0 5px 0 #83ac73}.cn-pick-buttons button[aria-pressed=true]{outline:3px solid var(--number-colour);outline-offset:2px}.cn-pick-seen{position:absolute;bottom:2px;left:0;width:100%;text-align:center;font-size:16px;color:#268c4f}.cn-pick-finish{margin:18px auto 0;font-size:28px!important}@media(max-width:600px){.cn-pick-buttons{gap:8px}.cn-pick-buttons button{font-size:36px!important;border-radius:15px}.cn-pick-display{min-height:270px}}
