.kids{--picture-ink:#174b38;--picture-green:#d8e9b1;--picture-peach:#ffd2ac}
.kids-library-hero{display:grid;grid-template-columns:1fr .9fr;overflow:hidden;border-radius:24px;background:#e8f2cf}
.kids-hero-text{padding:clamp(24px,4vw,52px);align-self:center}.kids-hero-text h1{max-width:550px;font-size:clamp(2.7rem,5vw,4.7rem);letter-spacing:-.065em;line-height:1.02;font-weight:910;color:var(--forest);margin:13px 0}.kids-hero-text p{max-width:420px}
.kids-hero-art{display:grid;align-items:center;background:#f7dcab;overflow:hidden}.kids-hero-art img{width:100%;height:100%;object-fit:cover;min-height:220px}
.kids .subject-card{background:#fffef8;border-radius:18px}.kids-cover{display:block;width:100%;height:auto;aspect-ratio:320/136;object-fit:cover}
.kids .subject-head .kids-cover{width:clamp(90px,15vw,155px);border-radius:14px;aspect-ratio:1.5}
.kids .subject-card:hover,.kids .subject-card:focus-visible{box-shadow:0 4px 0 #cee2ba;transform:translateY(-2px)}
.kids-reader{max-width:820px;margin:0 auto}.kids-reader>.back{margin:0 0 10px;font-size:.94rem}
.kids-book{background:#fffef9;border:1px solid #d6dfcb;border-radius:25px;overflow:hidden;box-shadow:0 5px 0 #e6eddf}
.kids-book header.book-head{border:0;padding:clamp(20px,3.3vw,38px) clamp(20px,4vw,43px) 0}
.kids-book h1{color:var(--forest);font-size:clamp(2.1rem,4.4vw,3.65rem);line-height:1.05;letter-spacing:-.058em;font-weight:900;margin:8px 0 12px}
.book-intro p,.kid-note{font-size:clamp(1.04rem,1.6vw,1.19rem);line-height:1.58;max-width:62ch;margin:6px 0;color:#244631}
.kids-book .eyebrow{letter-spacing:.1em}.playroom{margin:18px clamp(9px,2vw,23px) 0;border-radius:20px;border:1px solid #b9cda9;background:#e7f1d6;padding:clamp(12px,2.3vw,24px);position:relative}
.playroom-draw{border-color:#dfc791;background:#f9eac6}.playroom-order{background:#e7e3f5;border-color:#cabedf}
.play-heading h2,.kid-check h2,.kid-think h2{font-size:clamp(1.27rem,2.1vw,1.8rem);font-weight:900;letter-spacing:-.04em;line-height:1.2;color:var(--forest)}
.play-prompt{font-size:1.07rem;line-height:1.42;margin:4px 0 13px;max-width:64ch}.play-board{position:relative;max-width:100%;background:#fffef9;border:1px solid #bcccaf;border-radius:14px;overflow:hidden}
.picture-paper{vertical-align:middle;display:block;width:100%;max-height:clamp(200px,34vw,310px);aspect-ratio:16/9;overflow:hidden;color:#253f36;font-family:Nunito,Arial,sans-serif}.draw-board{background-color:#fffdf6;background-image:radial-gradient(#cfbb966e .9px,transparent 1px);background-size:12px 12px;border-color:#d3bc91}.draw-board .picture-paper{max-height:none;touch-action:none;cursor:crosshair;user-select:none;-webkit-user-select:none}.picture-paper:focus-visible{outline:3px solid #386b57;outline-offset:-4px}
.picture-caption{min-height:1.3em;font-size:1rem;line-height:1.45;margin:9px 0 10px;color:#324636;font-weight:700}
.scene-controls,.scene-choices,.scene-player,.draw-tools,.swatches{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.scene-controls{justify-content:space-between}.scene-choices{flex:1 1 auto}
.playroom button{font-family:inherit;font-weight:850;font-size:.94rem;line-height:1.25;min-height:44px;touch-action:manipulation}
.scene-choice,.play-button,.draw-action,.quiet-control{padding:9px 13px;border:1px solid #a7b8a2;color:#153e2d;background:#fffdf6;border-radius:12px}.scene-choice[aria-pressed=true],.scene-choice.picked{background:#1b523c;color:white;border-color:#1b523c;box-shadow:0 2px 0 #9ab28f}.scene-choice[disabled]{opacity:1}.quiet-control{background:transparent;border-color:transparent;text-decoration:underline;text-underline-offset:3px}.scene-feedback{flex-basis:100%;font-weight:800;color:#503c73;font-size:.99rem}.scene-feedback:empty,.draw-note:empty{display:none}.scene-player:has(button[hidden]){display:none}
.draw-tools{border-top:1px solid #d8c599;margin-top:10px;padding-top:10px}.swatches{gap:3px;margin-right:8px}
.pen-swatch{position:relative;border:0;min-width:44px;width:44px;height:44px;font-size:0!important;background:transparent;border-radius:50%}.pen-swatch:before{content:'';position:absolute;inset:8px;background:var(--pen);border-radius:50%}.pen-swatch[aria-pressed=true]:after{content:'';position:absolute;inset:3px;border:2px solid var(--pen);border-radius:50%}
.draw-action{background:#fffaf0;border-color:#d2be96}.draw-action:disabled{color:#726953;background:#efe3c9;cursor:default}.draw-note,.draw-help{font-size:.9rem;line-height:1.4;margin:5px 0 0;color:#4f5441}.draw-help summary,.kid-think summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px;font-weight:750;min-height:44px;align-content:center;width:fit-content}.draw-help p{max-width:58ch}.kid-note{padding:0 clamp(20px,4vw,43px);margin:18px 0;max-width:none}.kid-check,.kid-think,.book-next,.studio-foot{margin:20px clamp(20px,4vw,43px)}.kid-check .choices{gap:8px}.kid-check .choice{font-weight:750;background:#fff;border:1px solid #aabf9b;border-radius:12px;min-height:48px}.kid-check .choice[aria-pressed=true]{background:#e7efd7;border:2px solid #20513c}.kid-check .feedback.good:not(:empty){border-left:4px solid #367c45}.kid-think summary{font-size:.97rem}.book-next,.studio-foot{padding-bottom:9px}.visually-hidden{position:absolute!important;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}.kids main{padding-bottom:max(32px,env(safe-area-inset-bottom))}
@media(max-width:720px){.kids-library-hero{grid-template-columns:1fr}.kids-hero-art{display:none}.kids-hero-text{background:#e5f1cb}.kids-hero-text h1{font-size:2.7rem}.playroom{margin-left:8px;margin-right:8px;padding:12px}.kids-book header.book-head{padding:20px 17px 0}.kids-reader>.back{margin-left:2px}.kids-book{border-radius:17px}.playroom{border-radius:13px}.play-prompt{font-size:1rem}.scene-controls{align-items:flex-start;gap:2px}.scene-player{margin-left:auto}.kids .bar{padding-top:max(12px,env(safe-area-inset-top))}.kids .btn,.kids .outline-mini,.kids .learn-nav a{min-height:44px;align-content:center}.kids main{width:calc(100% - 20px)}.kid-check,.kid-think,.book-next,.studio-foot{margin-left:17px;margin-right:17px}.picture-paper{max-height:none}.kids .section-head:has(.searchbox){padding:0 4px}.kid-note{padding:0 17px}.swatches{margin:0}.draw-tools{gap:5px}.playroom button{font-size:.9rem}.draw-action,.scene-choice{padding:7px 10px}}
@media(prefers-reduced-motion:reduce){.kids .subject-card:hover{transform:none}}
.stamp-tools{display:flex;flex-wrap:wrap;gap:5px}
/* The board adopts the artwork’s own proportion without a competing height limit. */
.play-board{background:#f8faf1;border:0;border-radius:0;overflow:hidden}
.playroom .picture-paper{max-height:none;width:100%;height:auto}
.playroom{padding:clamp(12px,2vw,22px) 0 12px;margin-left:0;margin-right:0;border:0;border-radius:0}
.play-heading,.picture-caption,.scene-controls,.draw-tools,.draw-note,.draw-help{margin-left:clamp(12px,3.3vw,36px);margin-right:clamp(12px,3.3vw,36px)}
.draw-board{background-color:#fff6df;background-image:radial-gradient(#b8956057 .9px,transparent 1px)}
@media(max-width:720px){.playroom{margin:12px 0 0;padding:12px 0}.play-heading,.picture-caption,.scene-controls,.draw-tools,.draw-note,.draw-help{margin-left:13px;margin-right:13px}}

.kids-book {--reader-inset:clamp(17px,4vw,43px)}
.kids-book h1 {line-height:1.14;letter-spacing:-.036em}
.kids-book .kid-note,.kids-book .book-intro p {line-height:1.66}
.kids-book>.practice,.kids-book>.reflection,.kids-book>.actions {margin-inline:var(--reader-inset)}
.kids-book>.actions {margin-block:22px}
.kids-book>.practice,.kids-book>.reflection {max-width:65ch}
.kids-book .reflection label {display:block;margin-bottom:9px;line-height:1.6}
.kids-book .choice {line-height:1.45}
.kids-book .hint summary,.kids-book .sample summary {padding-block:10px;min-height:44px;cursor:pointer}
