:root{color-scheme:light;--paper: #f6f1e4;--ink: #1e2a36;--soft: #4a5968;--line: rgba(30, 42, 54, .16);--yellow: #ffe56a;--blue: #2f6fd6;--red: #e23d3d;--grass: #6aaa3a;--gold: #e0a82e}*{box-sizing:border-box}html,body{margin:0;height:100%}body{background:var(--paper);color:var(--ink);font-family:"ui-rounded",Trebuchet MS,Segoe UI,sans-serif;font-size:20px;line-height:1.35;overscroll-behavior:none}body.lock{overflow:hidden}body.lock #view{overflow:auto;max-height:calc(100dvh - 78px)}button,a,input{font:inherit;color:inherit}button,.tile,.cover,.choice,.key,.swatch{touch-action:manipulation;min-height:64px}a{text-decoration:none}.app{min-height:100dvh;display:flex;flex-direction:column}.top{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:10px 14px calc(10px + env(safe-area-inset-top));border-bottom:2px solid var(--line);background:#fffaf0}.brand{flex:1;min-width:140px}.kicker{margin:0;color:var(--soft);font-size:.8rem}.who{margin:0;font-size:1.4rem;font-weight:800}.stars{margin:0;font-weight:800}button,.tile{border:3px solid var(--ink);background:#fff;border-radius:16px;padding:12px 16px;cursor:pointer}.ghost{background:transparent;min-height:52px}.ghost.on{background:#d9efe4}#view{flex:1;padding:16px 16px 28px}h1{font-size:2rem;margin:0 0 8px}h2{margin:18px 0 8px}.lead{margin-top:0}.activities,.row{display:flex;flex-wrap:wrap;gap:12px}.tile{display:flex;flex-direction:column;justify-content:center;min-width:180px;min-height:96px;flex:1;background:#fff}.tile span{font-size:1.6rem;font-weight:800}.tile small{color:var(--soft)}.tile.read{background:#d7ecf8}.tile.write{background:#dcecd9}.tile.draw{background:#fde3d4}.tile.math{background:#fff1c2}.volume{display:flex;flex-direction:column;gap:6px;margin-top:18px;max-width:360px}input[type=range]{width:100%;height:44px}.set-head{display:flex;flex-wrap:wrap;gap:16px;background:var(--yellow);border:3px solid var(--ink);border-radius:18px;padding:14px;margin-bottom:14px}.eyebrow{margin:0;font-weight:800;color:var(--red)}.buddy{display:flex;flex-direction:column;align-items:center}.mascot{width:150px;height:auto}.shelf{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px}.cover{position:relative;display:flex;flex-direction:column;min-height:220px;background:var(--yellow);border:3px solid var(--ink);border-radius:14px;overflow:hidden;padding:0}.cover-banner{background:var(--blue);color:#fff;font-weight:800;text-align:center;padding:8px}.cover-art{flex:1;display:grid;place-items:center}.scene{width:100%;height:110px}.cover-grass{height:28px;background:var(--grass)}.level-badge{position:absolute;right:8px;bottom:36px;width:58px;height:58px;border-radius:50%;background:var(--red);color:#fff;display:grid;place-items:center;font-size:.62rem;font-weight:800;text-align:center;line-height:1.05}.prompt{font-size:1.7rem;font-weight:800}.choices{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}.choice{min-width:120px;min-height:84px;font-size:1.8rem;font-weight:800;background:#fff}.choice.picked,.choice.show-right{outline:5px solid var(--blue);background:#e7f0ff}.choice.quiet-miss{background:#f7f3ea}.note{color:var(--soft)}.sentence{font-size:2rem;font-weight:800}.word{padding:0 .12em;border-radius:8px}.word.is-on{background:#ffe08a}.page-art .scene{height:180px}.stage{position:relative;touch-action:none;overscroll-behavior:none;user-select:none;-webkit-user-select:none;height:48vh;min-height:280px;background:#fffdf8;border:3px solid var(--ink);border-radius:16px}.stage canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none}.picker,.tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.key,.swatch{min-width:56px;min-height:56px;border-radius:12px;border:3px solid var(--ink);background:#fff}.key.on,button.on{background:#fff1c2}.swatch.on{outline:4px solid var(--ink)}.groups{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.dots{display:flex;flex-wrap:wrap;gap:8px;background:#fff;border-radius:16px;padding:10px;min-height:72px}.dot{width:28px;height:28px;border-radius:50%;background:var(--blue);display:inline-block}.plus{font-weight:800}.big-num{font-size:5rem;font-weight:800;margin:0}@media(orientation:landscape){.activities .tile{min-height:84px}.stage{height:52vh}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
