/* Compoundify Kids: story pages, adventure map, stickers and certificate */
:root{--ky:#ffc72c;--kyd:#b07a00;--ksky:#e6f4fb;--kpk:#fde8ee;--kcream:#fff8e6}
#kpb{position:fixed;top:0;left:0;height:5px;width:0;background:linear-gradient(90deg,var(--g),var(--ky));z-index:2000;transition:width .1s linear}
.kids-main{padding-bottom:12px}
.k-eyebrow{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:14px 0 4px;font-size:13px;font-weight:700;color:var(--gd)}
.k-eyebrow span{background:var(--gs);border-radius:99px;padding:3px 12px}
.k-eyebrow .k-time{background:var(--kcream);color:var(--kyd)}
.k-hero h1{margin:6px 0 8px}
figure.scene{margin:18px 0;border-radius:22px;overflow:hidden;border:1px solid var(--ln);background:#fff;box-shadow:0 12px 36px rgba(20,54,39,.08)}
figure.scene svg{display:block;width:100%;height:auto}
figure.scene figcaption{font-size:13px;color:var(--mu);padding:9px 16px;background:#fff;border-top:1px solid var(--ln)}
.k-recap{background:var(--kcream);border:2px dashed #f0d58a;border-radius:16px;padding:10px 16px;margin:12px 0;font-size:15px}
.k-actions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.k-btn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 18px;border-radius:99px;border:2px solid var(--g);background:#fff;color:var(--gd);font:inherit;font-weight:700;cursor:pointer;text-decoration:none}
.k-btn:hover{background:var(--gs)}
.k-btn.pri{background:var(--g);color:#fff}.k-btn.pri:hover{background:var(--gd)}
.k-btn[hidden]{display:none}
.k-trail{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0 4px;padding:0;list-style:none;align-items:center}
.k-trail a{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;border:2px solid var(--ln);background:#fff;color:var(--mu);font-size:13px;font-weight:800;text-decoration:none}
.k-trail a:hover{border-color:var(--g)}
.k-trail a.done{background:var(--g);border-color:var(--g);color:#fff}
.k-trail a[aria-current=page]{border-color:var(--ky);box-shadow:0 0 0 3px #ffe9a3;color:var(--ink)}
.k-trail a.done[aria-current=page]{color:#fff}
.story section{margin:30px 0}
.story h2{margin:0 0 4px;font-size:24px}
.story p{font-size:18px;line-height:1.7}
p.say{background:#fff;border:2px solid var(--ln);border-left:7px solid var(--g);border-radius:14px;padding:10px 16px;font-weight:600;margin:12px 0}
p.say .who{display:block;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--gd);font-weight:800}
p.say[data-who=Maple]{border-left-color:#E08A3C}p.say[data-who=Maple] .who{color:#b8691f}
p.say[data-who=Benny]{border-left-color:#A9744A}p.say[data-who=Benny] .who{color:#7d5330}
p.say[data-who=Hazel]{border-left-color:#F29A2E}p.say[data-who=Hazel] .who{color:#b86f10}
p.say[data-who=Nibbles]{border-left-color:#9aa3aa}p.say[data-who=Nibbles] .who{color:#5f6a72}
p.say[data-who=Olive]{border-left-color:#A98467}p.say[data-who=Olive] .who{color:#7a5a43}
.k-idea{background:linear-gradient(135deg,#fff8e0,#fffdf3);border:2px solid #f2dc92;border-radius:20px;padding:18px 22px;margin:28px 0}
.k-idea .k-ic{font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--kyd)}
.k-idea h2{margin:4px 0 6px}.k-idea p{font-size:19px;margin:0}
.k-lead-in{color:var(--mu);margin:0 0 10px}
dl.k-words{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin:8px 0 0}
dl.k-words div{background:var(--ksky);border-radius:14px;padding:10px 14px}
dl.k-words dt{font-weight:800;color:var(--gd)}dl.k-words dd{margin:2px 0 0;font-size:15px}
.k-talk li{margin-bottom:6px}
.k-grown{display:flex;gap:16px;align-items:flex-start;background:#f3f0fb;border:1px solid #ded6f3;border-radius:20px;padding:18px 20px;margin:28px 0}
.k-grown .k-owl{font-size:38px;line-height:1}
.k-grown h2{margin:0 0 6px;font-size:20px}.k-grown p{font-size:15px;margin:0 0 10px}
.k-finish{text-align:center;background:var(--gs);border-radius:22px;padding:22px 18px;margin:30px 0 14px}
.k-finish h2{margin:0 0 6px}
.k-sticker{display:none;font-size:56px;margin:8px 0}
.k-finish.is-done .k-sticker{display:block;animation:pop .6s ease}
.k-finish .k-done-msg{display:none;font-weight:700;color:var(--gd)}.k-finish.is-done .k-done-msg{display:block}
@keyframes pop{0%{transform:scale(.2) rotate(-20deg);opacity:0}70%{transform:scale(1.25) rotate(6deg)}100%{transform:scale(1) rotate(0);opacity:1}}
.k-next{display:block;text-decoration:none;color:var(--ink);background:#fff;border:2px solid var(--g);border-radius:22px;padding:18px 22px;margin:12px 0;box-shadow:0 8px 28px rgba(20,54,39,.08)}
.k-next:hover{background:var(--gs)}.k-next small{color:var(--gd);font-weight:800;text-transform:uppercase;letter-spacing:.06em;font-size:12px}
.k-next b{display:block;font-size:20px;margin:2px 0}.k-next span{color:var(--mu)}
.k-pager{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:10px 0}
.k-faq h3{font-size:18px}
.k-stars{font-size:22px;letter-spacing:2px}
.kq-q{font-weight:700;margin:0 0 8px}
.kq .qo button{font-size:16px}
.k-meter{height:16px;border-radius:99px;background:#e9eeea;overflow:hidden;margin:6px 0}.k-meter i{display:block;height:100%;background:var(--g);transition:width .2s}
.k-meter.warn i{background:#e8a33a}.k-meter.bad i{background:#e0605a}
.k-grid4{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:10px}
.k-mini{background:#fff;border:1px solid var(--ln);border-radius:14px;padding:10px 12px;text-align:center}
.k-mini b{display:block;font-size:20px;color:var(--gd)}
/* Hub */
.k-banner{margin:14px 0}
.k-progress{background:#fff;border:1px solid var(--ln);border-radius:20px;padding:16px 20px;margin:16px 0;display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;justify-content:space-between}
.k-progress .k-meter{flex:1 1 220px;min-width:180px}
.k-part{margin:34px 0 10px}.k-part h2{margin:0}
.k-part .k-pn{display:inline-block;background:var(--g);color:#fff;border-radius:99px;padding:2px 12px;font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;margin-bottom:4px}
.k-part p{color:var(--mu);margin:2px 0 0}
ol.k-chapters{list-style:none;padding:0;margin:12px 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
ol.k-chapters li{margin:0}
.k-card{position:relative;display:block;height:100%;text-decoration:none;color:var(--ink);background:#fff;border:2px solid var(--ln);border-radius:20px;padding:14px 16px 14px 62px;min-height:104px}
.k-card:hover{border-color:var(--g);background:#fbfefb}
.k-card .k-num{position:absolute;left:14px;top:14px;width:36px;height:36px;border-radius:50%;background:var(--gs);color:var(--gd);display:flex;align-items:center;justify-content:center;font-weight:800}
.k-card b{display:block;line-height:1.25}.k-card span{display:block;color:var(--mu);font-size:14px;margin-top:4px}
.k-card.done{border-color:var(--g);background:#f3fbf5}.k-card.done .k-num{background:var(--g);color:#fff}
.k-card.next{border-color:var(--ky);box-shadow:0 0 0 3px #ffe9a3}
.k-cast{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:12px 0;list-style:none;padding:0}
.k-cast li{background:#fff;border:1px solid var(--ln);border-radius:18px;padding:8px 10px 12px;text-align:center;font-size:14px;color:var(--mu)}
.k-cast svg{width:100%;height:96px}.k-cast b{display:block;color:var(--ink);font-size:16px}
.k-stickers{display:grid;grid-template-columns:repeat(auto-fill,minmax(90px,1fr));gap:10px;margin:10px 0;padding:0;list-style:none}
.k-stickers li{text-align:center;background:#fff;border:2px dashed var(--ln);border-radius:16px;padding:10px 4px;font-size:12px;color:var(--mu);font-weight:700}
.k-stickers li span{display:block;font-size:34px;filter:grayscale(1);opacity:.35}
.k-stickers li.got{border:2px solid var(--ky);background:var(--kcream);color:var(--ink)}.k-stickers li.got span{filter:none;opacity:1}
.k-gloss dt{font-weight:800;color:var(--gd);margin-top:14px;font-size:18px}.k-gloss dd{margin:2px 0 0}
.k-az{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.k-az a{display:inline-flex;width:34px;height:34px;align-items:center;justify-content:center;border-radius:10px;background:#fff;border:1px solid var(--ln);text-decoration:none;font-weight:800}
/* Certificate */
.cert{border:8px double var(--ky);border-radius:20px;background:linear-gradient(135deg,#fffdf3,#fff6d8);padding:26px 20px;text-align:center;margin:14px 0}
.cert .c1{font-size:13px;letter-spacing:.2em;text-transform:uppercase;color:var(--kyd);font-weight:800}
.cert .c2{font-size:clamp(24px,5vw,38px);font-weight:800;margin:6px 0;color:var(--gd)}
.cert .c3{font-size:clamp(26px,6vw,44px);font-family:Georgia,serif;font-style:italic;border-bottom:2px solid var(--ky);display:inline-block;min-width:60%;padding:0 12px;margin:8px 0}
.cert p{margin:6px 0}
.cert svg{width:90px;height:90px}
.k-name{max-width:320px;margin:6px 0 10px}
@page{margin:12mm}
@media print{body.print-one *{visibility:hidden}body.print-one .print-this,body.print-one .print-this *{visibility:visible}body.print-one .print-this{position:absolute;left:0;top:0;width:100%;margin:0;box-shadow:none}body.print-one #kpb{display:none}.sheet-bar button{display:none}}
.k-pie{width:130px;height:130px;border-radius:50%;margin:8px auto;border:4px solid #B9843F}
.sheet{background:#fff;border:2px solid var(--ln);border-radius:20px;padding:18px 20px;margin:22px 0;page-break-inside:avoid}
.sheet-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}.sheet-bar h2{margin:0}
.sheet-foot{font-size:12px;color:var(--mu);text-align:center;margin:14px 0 0}
.sheet .line{font-size:18px;margin:10px 0}
.jar-labels{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:10px 0}
.jar-label{border:3px dashed var(--c,#12A56A);border-radius:18px;padding:16px 10px;text-align:center;background:#fff}
.jar-label span{display:block;font-size:44px}.jar-label b{display:block;font-size:30px;letter-spacing:.06em;color:var(--c)}.jar-label i{font-style:normal;color:var(--mu)}
.sheet-table{width:100%;border-collapse:collapse;margin:10px 0}.sheet-table th,.sheet-table td{border:2px solid #cfd9d3;padding:8px 10px;text-align:left}.sheet-table th{background:var(--gs);color:var(--gd)}
.sheet-table.tall td{height:42px}
.sheet-table td:nth-child(n+2):nth-child(-n+3){text-align:center}
.box{display:inline-block;width:24px;height:24px;border:3px solid #8aa89a;border-radius:6px;vertical-align:middle}
.weeks{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin:14px 0}
.wk{display:flex;align-items:center;justify-content:center;aspect-ratio:1;max-width:60px;border:3px solid var(--g);border-radius:50%;font-weight:800;color:var(--gd);background:#fff}
.ws{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start;justify-content:center;margin:10px 0}
.ws-grid{border-collapse:collapse;font-family:ui-monospace,Menlo,Consolas,monospace}.ws-grid td{width:28px;height:28px;text-align:center;border:1px solid #cfd9d3;font-weight:800;font-size:16px}
.ws-list{columns:2;list-style:none;padding:0;margin:0;font-weight:800;letter-spacing:.05em}.ws-list li{margin:2px 0}
@media(max-width:560px){.story p{font-size:17px}.k-grown{flex-direction:column}.k-actions .k-btn{flex:1 1 100%;justify-content:center}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* ---------- games ---------- */
.gm-panel h2{margin-top:0}
.gm{border:2px solid var(--ln);border-radius:20px;overflow:hidden;background:#fff;margin:10px 0;user-select:none;-webkit-user-select:none}
.gm-top{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;justify-content:space-between;padding:8px 14px;background:var(--gs);font-size:14px}
.gm-top b{font-size:16px}.gm-score{font-weight:800;color:var(--gd);margin-left:auto}.gm-best{color:var(--mu);font-size:13px}
.gm-stage{position:relative;min-height:320px;background:linear-gradient(#e9f5fb,#f4faf4);padding:12px}
.gm-stage.has-cv{min-height:0;padding:0}
.gm-cv{display:block;width:100%;height:auto;touch-action:none;cursor:pointer}
.gm-over{position:absolute;inset:0;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:18px;background:rgba(255,255,255,.94)}
.gm-over p{max-width:520px;margin:0;font-size:16px}.gm-big{font-size:42px;font-weight:800;color:var(--gd);line-height:1.1}
.gm-go{font-size:20px;padding:12px 30px}
.tc-day{font-weight:800;color:var(--gd);font-size:18px;margin-bottom:6px}
.tc-w{display:flex;gap:14px;align-items:center;background:#fff;border:2px solid var(--ln);border-radius:16px;padding:10px 14px;margin:8px 0}.tc-we{font-size:44px}
.tc-l{font-weight:700;margin:12px 0 4px}.tc-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center;margin:6px 0}.tc-row b{min-width:84px;text-align:center;font-size:20px}
.tc-p{min-height:44px;min-width:64px;border-radius:12px;border:2px solid var(--ln);background:#fff;font:inherit;font-weight:800;cursor:pointer}.tc-p.on{border-color:var(--g);background:var(--gs);color:var(--gd)}
.tc-go{display:flex;margin:14px auto 4px;font-size:18px}
.tc-res{background:#fff;border:2px solid var(--ln);border-radius:16px;padding:12px 16px;display:grid;gap:4px;margin:8px 0}.tc-prof{font-size:22px;font-weight:800}.tc-prof.up{color:#0a7a4b}.tc-prof.down{color:#c0392b}
.mr{max-width:520px;margin:0 auto}.mr-top{display:flex;gap:12px;align-items:center;justify-content:space-between}.mr-h{font-size:22px;letter-spacing:2px}
.mr-bar{flex:1;height:12px;background:#e3eae5;border-radius:99px;overflow:hidden}.mr-bar i{display:block;height:100%;width:100%;background:linear-gradient(90deg,var(--g),var(--ky))}
.mr-card{background:#fff;border:3px solid var(--ln);border-radius:22px;text-align:center;padding:16px 10px;margin:12px 0 6px;min-height:170px;display:flex;flex-direction:column;justify-content:center;transition:background .15s}
.mr-card.ok{background:#dff5e6;border-color:var(--g)}.mr-card.bad{background:#fde3e0;border-color:#e0605a;animation:shake .35s}
@keyframes shake{25%{transform:translateX(-8px)}75%{transform:translateX(8px)}}
.mr-e{font-size:76px;line-height:1.1}.mr-t{font-size:22px;font-weight:800}
.mr-msg{min-height:44px;text-align:center;font-weight:600;font-size:15px;padding:4px}
.mr-btns{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mr-b{min-height:78px;border-radius:18px;border:0;font-size:30px;cursor:pointer;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:inherit;box-shadow:0 4px 0 rgba(0,0,0,.18)}.mr-b b{font-size:18px;letter-spacing:.08em}
.mr-b.need{background:#12A56A}.mr-b.want{background:#F29A2E}.mr-b:active{transform:translateY(3px);box-shadow:none}
.ib-m{background:#fff;border:3px solid var(--ln);border-radius:6px 22px 22px 22px;padding:14px 16px;margin:12px 0 6px;min-height:130px}
.ib-m.ok{background:#dff5e6;border-color:var(--g)}.ib-m.bad{background:#fde3e0;border-color:#e0605a}
.ib-f{display:flex;align-items:center;gap:10px;font-size:17px;margin-bottom:8px}.ib-a{font-size:34px}.ib-t{font-size:20px;font-weight:600;line-height:1.4}
.ad-p{position:relative}.ad-s{display:block;width:100%;height:auto;border-radius:14px;touch-action:manipulation}.ad-t{cursor:pointer}.ad-t.found{filter:brightness(.97)}
.ad-t.hint{animation:pulse .6s ease-in-out 4}@keyframes pulse{50%{opacity:.35}}
.ad-x{position:absolute;transform:translate(-50%,-50%);font-size:30px;color:#e0302a;font-weight:900;pointer-events:none;animation:fade .6s forwards}@keyframes fade{to{opacity:0;transform:translate(-50%,-90%)}}
.ad-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;margin:8px 0}.ad-c{font-weight:700;font-size:14px}
.ad-l{margin:6px 0 0;padding-left:0;list-style:none;display:grid;gap:4px;font-size:14px}.ad-l li{background:#fff;border-radius:10px;padding:6px 10px;border:1px solid var(--ln)}
.jm-m{font-weight:700;margin:0 0 8px}.jm-pile{display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-height:56px;background:#fff;border:2px dashed #cfd9d3;border-radius:14px;padding:8px}.jm-pl{font-weight:700;margin-right:4px}
.jm-c{width:38px;height:38px;border-radius:50%;border:3px solid var(--kyd,#b07a00);background:#FFC72C;color:#b07a00;font-weight:900;font-size:17px;padding:0;cursor:grab;touch-action:none;font-family:Arial,sans-serif}
.jm-c.sel{box-shadow:0 0 0 4px #12A56A;transform:scale(1.1)}
.jm-g{position:fixed;transform:translate(-50%,-50%) scale(1.2);pointer-events:none;z-index:9999;margin:0}
.jm-jars{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:10px 0}
.jm-j{border:3px solid var(--c);border-radius:16px;background:#fff;min-height:150px;padding:8px 4px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:4px}
.jm-jl b{color:var(--c);letter-spacing:.04em}.jm-jc{display:flex;flex-wrap:wrap;gap:3px;justify-content:center;flex:1;align-content:flex-end}.jm-jc .jm-c{width:28px;height:28px;font-size:13px;border-width:2px}.jm-n{font-weight:800;font-size:18px;color:var(--c)}
@media(max-width:520px){.jm-jars{grid-template-columns:repeat(2,1fr)}}
.jm-fb{min-height:24px;text-align:center;font-weight:600}
.sv-top{display:grid;gap:6px;margin-bottom:8px}.sv-h{font-weight:800;font-size:18px;color:var(--gd)}.sv-st{display:flex;gap:12px;align-items:center}.sv-e{font-size:52px}.sv-b{flex:1}
.sv-bar{height:16px;background:#e3eae5;border-radius:99px;overflow:hidden}.sv-bar i{display:block;height:100%;background:var(--g)}
.sv-card{background:#fff;border:3px solid var(--ln);border-radius:20px;text-align:center;padding:14px;margin:8px 0}.sv-card.bad{border-color:#e0605a;background:#fff3f1}
.sv-m{background:#fff;border-radius:14px;padding:10px 14px;border:1px solid var(--ln)}.sv-ev{display:grid;gap:8px;justify-items:center}
.or-g{display:flex;flex-wrap:wrap;gap:2px;font-size:22px;min-height:60px;background:#e3f4e3;border-radius:14px;padding:8px;margin:8px 0;align-items:center}.or-g span{animation:pop .4s ease}.or-b{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}.or-l{font-size:13px;margin:6px 0 0;padding-left:18px;color:var(--mu)}
.ed-c{text-align:center;padding:20px 8px}.ed-c small{font-weight:600;opacity:.85}.ed-c .k-btn{line-height:1.35;flex-direction:column;text-align:center}
.nb-m{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.nb-m .k-btn{flex-direction:column;line-height:1.35}
.nb-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;font-size:16px}.nb-ck b{font-size:20px}
.nb-g{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;max-width:420px;margin:0 auto}
.nb-h{aspect-ratio:1.3;border-radius:50%/42%;border:0;background:radial-gradient(#3b2a1c 55%,#6b4a2a);font-size:clamp(30px,9vw,48px);cursor:pointer;touch-action:manipulation;padding:0}
.sq{text-align:center}.sq-i{font-size:16px;margin-bottom:2px}
.sq-l{width:min(200px,60vw);height:min(200px,60vw);border-radius:50%;border:6px solid #E5C100;background:#FFF3A6;font-size:min(110px,32vw);cursor:pointer;margin:8px auto;display:block;transition:transform .08s;touch-action:manipulation;padding:0}.sq-l.pop{transform:scale(.9) rotate(-6deg)}
.sq-u{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin-top:8px}
.sq-b{border:2px solid var(--ln);background:#fff;border-radius:14px;padding:8px;font:inherit;cursor:pointer;line-height:1.3}.sq-b:disabled{opacity:.5;cursor:default}.sq-b:not(:disabled){border-color:var(--g);background:var(--gs)}.sq-b small{color:var(--mu)}
.games-list .panel{margin:22px 0}

p.say[data-who=Tilly]{border-left-color:#6FA06B}
p.say[data-who=Tilly] .who{color:#4F7F4B}
p.say[data-who=Dot]{border-left-color:#8D7C80}
p.say[data-who=Dot] .who{color:#6B5B5E}

/* Mobile fit for printable sheets: word search and tables must not push the page sideways */
@media screen and (max-width:560px){
  .ws-grid{max-width:100%}
  .ws-grid td{width:calc((100vw - 56px)/14);min-width:17px;height:calc((100vw - 56px)/14);min-height:17px;font-size:12px;padding:0}
  .ws-list{columns:2;font-size:14px}
  .sheet-table th,.sheet-table td{padding:6px 3px;font-size:12.5px;overflow-wrap:anywhere}
  .sheet-table .box{max-width:100%}
}

/* ===== chapter games (sorter, sim, pairs, flags, order, basket) ===== */
.gm-info{margin:0 0 8px;font-weight:700;color:var(--mu);font-size:15px}
.gm-info.over{color:#c0392b}
.gm-bar{height:10px;border-radius:99px;background:#dfe9e3;overflow:hidden;margin:4px 0 10px}
.gm-bar i{display:block;height:100%;width:100%;background:var(--g);transition:width .1s linear}
.gm-card{background:#fff;border:2px solid var(--ln);border-radius:18px;padding:18px 16px;min-height:76px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:20px;font-weight:800;color:var(--ink)}
.gm-card.pop{animation:gmpop .28s ease-out}
@keyframes gmpop{from{transform:scale(.85);opacity:.3}to{transform:none;opacity:1}}
.gm-bins{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin:12px 0}
.gm-bin,.gm-ch,.gm-os,.gm-it,.gm-fl,.gm-pc{font:inherit;cursor:pointer}
.gm-bin{display:flex;flex-direction:column;align-items:center;gap:2px;padding:12px 8px;min-height:72px;border-radius:16px;border:2px solid var(--g);background:#fff;color:var(--gd);font-size:15px}
.gm-bin span{font-size:28px;line-height:1}
.gm-bin:hover:not(:disabled){background:var(--gs)}
.gm-bin:disabled{opacity:.55;cursor:default}
.gm-fb{min-height:24px;margin:8px 0 0;font-weight:600}
.gm-fb.ok{color:#0a7a4b}.gm-fb.no{color:#c0392b}.gm-fb.info{color:var(--ink)}
.gm-meters{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:4px 14px;margin-bottom:8px}
.gm-m span{font-size:14px;color:var(--mu)}.gm-m b{color:var(--ink)}
.gm-scene{background:#fff;border:2px solid var(--ln);border-radius:16px;padding:14px;font-size:17px;line-height:1.45;margin-bottom:10px}
.gm-choices{display:grid;gap:8px}
.gm-ch{text-align:left;padding:12px 14px;min-height:48px;border-radius:14px;border:2px solid var(--g);background:#fff;color:var(--ink);font-size:16px}
.gm-ch:hover:not(:disabled){background:var(--gs)}
.gm-ch:disabled{opacity:.6;cursor:default}
.gm-pairs{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px}
.gm-pc{position:relative;min-height:84px;padding:6px;border-radius:14px;border:2px solid var(--g);background:var(--g);color:#fff;font-size:15px;font-weight:700}
.gm-pc .bk{display:none}.gm-pc .f{font-size:26px}
.gm-pc.up,.gm-pc.hit{background:#fff;color:var(--ink)}
.gm-pc.up .bk,.gm-pc.hit .bk{display:block}.gm-pc.up .f,.gm-pc.hit .f{display:none}
.gm-pc.hit{border-color:#0a7a4b;background:#e7f7ee}
.gm-doc{background:#fff;border:2px dashed #b9c8be;border-radius:14px;padding:14px;line-height:2.1;font-size:17px;white-space:pre-wrap}
.gm-fl{padding:2px 6px;margin:0 1px;border-radius:8px;border:2px solid transparent;background:#f3f6f4;color:var(--ink);font-size:inherit;line-height:1.5}
.gm-fl:hover{border-color:var(--g)}
.gm-fl.hit{background:#fde2de;border-color:#e0605a}
.gm-fl.miss{background:#e7f7ee;border-color:#0a7a4b}
.gm-log{list-style:none;margin:8px 0;padding:0;display:grid;gap:4px;font-size:15px}
.gm-log .ok{color:#8a2a22}.gm-log .no{color:#0a7a4b}
.gm-order{display:grid;gap:8px}
.gm-os{text-align:left;padding:12px 14px;min-height:48px;border-radius:14px;border:2px solid var(--g);background:#fff;color:var(--ink);font-size:16px}
.gm-os.hit{background:#e7f7ee;border-color:#0a7a4b;opacity:1}
.gm-os.shake{animation:gmshake .35s}
@keyframes gmshake{25%{transform:translateX(-6px)}75%{transform:translateX(6px)}}
.gm-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}
.gm-it{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 6px;border-radius:14px;border:2px solid var(--ln);background:#fff;color:var(--ink);font-size:15px}
.gm-it span{font-size:28px}.gm-it small{color:var(--mu)}
.gm-it.on{border-color:var(--g);background:var(--gs)}
@media (prefers-reduced-motion:reduce){.gm-card.pop,.gm-os.shake{animation:none}}

.k-pcert{margin:6px 0 22px}.k-pcert a{display:inline-block;padding:8px 14px;border-radius:999px;background:#fff7e0;border:2px dashed #e0b84a;color:#5a4300;font-weight:700;text-decoration:none}.k-pcert a:hover,.k-pcert a:focus-visible{background:#ffefb8}

/* v35 Sprout Valley featured banner (Kids page + Games hub) */
.sv-feat{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:0;margin:26px 0;border-radius:26px;overflow:hidden;background:linear-gradient(135deg,#0d8a5a,#075b3d);color:#fff;box-shadow:0 20px 50px rgba(7,91,61,.22)}
.sv-txt{padding:30px 32px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.sv-eye{font-size:12.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.75)}
.sv-feat h2{margin:0;font-size:clamp(30px,4vw,42px);line-height:1.05;letter-spacing:-1px;color:#fff}
.sv-feat p{margin:0;max-width:460px;font-size:16px;line-height:1.5;color:rgba(255,255,255,.88)}
.sv-chips{display:flex;flex-wrap:wrap;gap:8px}.sv-chips span{font-size:13px;font-weight:650;padding:5px 12px;border-radius:99px;background:rgba(255,255,255,.16)}
.sv-feat .sv-go{margin-top:8px;background:#fff;color:#075b3d;border-color:#fff}.sv-feat .sv-go:hover{background:#eaf7ef}
.sv-vis{min-height:200px;position:relative}.sv-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
@media(max-width:700px){.sv-feat{grid-template-columns:1fr;border-radius:22px}.sv-txt{padding:24px 20px;order:2}.sv-vis{order:1;min-height:150px}}
@media print{.sv-feat{display:none}}

.k-valley{display:flex;gap:16px;align-items:center;flex-wrap:wrap;background:#eaf7ef;border:1px solid #bfe3cd;border-radius:20px;padding:18px 20px;margin:28px 0}.k-valley .k-vi{font-size:38px;line-height:1}.k-valley h2{margin:0 0 6px;font-size:20px}.k-valley p{margin:0 0 10px}.k-valley>div:last-child{flex:1 1 240px}
/*cf-dark*/@media screen{html[data-theme=dark] #kpb{background:linear-gradient(90deg,#08784e,#ffc72c)}html[data-theme=dark] .k-eyebrow{color:#67e9bb}html[data-theme=dark] .k-eyebrow span{background:#1c2a21}html[data-theme=dark] .k-eyebrow .k-time{background:#111a16;color:#e9c167}html[data-theme=dark] figure.scene{border:1px solid #2b3b31;background:#17211d}html[data-theme=dark] figure.scene figcaption{color:#aabfba;background:#17211d;border-top:1px solid #2b3b31}html[data-theme=dark] .k-recap{background:#111a16;border:2px dashed #3b3423}html[data-theme=dark] .k-btn{border:2px solid #08784e;background:#17211d;color:#67e9bb}html[data-theme=dark] .k-btn:hover{background:#1c2a21}html[data-theme=dark] .k-btn.pri{background:#08784e;color:#fff}html[data-theme=dark] .k-btn.pri:hover{background:#075b3d}html[data-theme=dark] .k-trail a{border:2px solid #2b3b31;background:#17211d;color:#aabfba}html[data-theme=dark] .k-trail a:hover{border-color:#08784e}html[data-theme=dark] .k-trail a.done{background:#08784e;border-color:#08784e;color:#fff}html[data-theme=dark] .k-trail a[aria-current=page]{border-color:#ffc72c;color:#d4e5e3}html[data-theme=dark] .k-trail a.done[aria-current=page]{color:#fff}html[data-theme=dark] p.say{background:#17211d;border:2px solid #2b3b31;border-left:7px solid #08784e}html[data-theme=dark] p.say .who{color:#67e9bb}html[data-theme=dark] p.say[data-who=Maple] .who{color:#e5a365}html[data-theme=dark] p.say[data-who=Benny] .who{color:#d5b193}html[data-theme=dark] p.say[data-who=Hazel] .who{color:#e9b167}html[data-theme=dark] p.say[data-who=Nibbles] .who{color:#9fa8af}html[data-theme=dark] p.say[data-who=Olive] .who{color:#c6aa97}html[data-theme=dark] .k-idea{background:linear-gradient(135deg,#2a271d,#111a16);border:2px solid #3b3624}html[data-theme=dark] .k-idea .k-ic{color:#e9c167}html[data-theme=dark] .k-lead-in{color:#aabfba}html[data-theme=dark] dl.k-words div{background:#111a16}html[data-theme=dark] dl.k-words dt{color:#67e9bb}html[data-theme=dark] .k-grown{background:#111a16;border:1px solid #2d2640}html[data-theme=dark] .k-finish{background:#1c2a21}html[data-theme=dark] .k-finish .k-done-msg{color:#67e9bb}html[data-theme=dark] .k-next{color:#d4e5e3;background:#17211d;border:2px solid #08784e}html[data-theme=dark] .k-next:hover{background:#1c2a21}html[data-theme=dark] .k-next small{color:#67e9bb}html[data-theme=dark] .k-next span{color:#aabfba}html[data-theme=dark] .k-meter{background:#202621}html[data-theme=dark] .k-meter i{background:#08784e}html[data-theme=dark] .k-mini{background:#17211d;border:1px solid #2b3b31}html[data-theme=dark] .k-mini b{color:#67e9bb}html[data-theme=dark] .k-progress{background:#17211d;border:1px solid #2b3b31}html[data-theme=dark] .k-part .k-pn{background:#08784e;color:#fff}html[data-theme=dark] .k-part p{color:#aabfba}html[data-theme=dark] .k-card{color:#d4e5e3;background:#17211d;border:2px solid #2b3b31}html[data-theme=dark] .k-card:hover{border-color:#08784e;background:#17211d}html[data-theme=dark] .k-card .k-num{background:#1c2a21;color:#67e9bb}html[data-theme=dark] .k-card span{color:#aabfba}html[data-theme=dark] .k-card.done{border-color:#08784e;background:#111a16}html[data-theme=dark] .k-card.done .k-num{background:#08784e;color:#fff}html[data-theme=dark] .k-card.next{border-color:#ffc72c}html[data-theme=dark] .k-cast li{background:#17211d;border:1px solid #2b3b31;color:#aabfba}html[data-theme=dark] .k-cast b{color:#d4e5e3}html[data-theme=dark] .k-stickers li{background:#17211d;border:2px dashed #2b3b31;color:#aabfba}html[data-theme=dark] .k-stickers li.got{border:2px solid #ffc72c;background:#111a16;color:#d4e5e3}html[data-theme=dark] .k-gloss dt{color:#67e9bb}html[data-theme=dark] .k-az a{background:#17211d;border:1px solid #2b3b31}html[data-theme=dark] .cert{border:8px double #ffc72c;background:linear-gradient(135deg,#111a16,#2b271b)}html[data-theme=dark] .cert .c1{color:#e9c167}html[data-theme=dark] .cert .c2{color:#67e9bb}html[data-theme=dark] .cert .c3{border-bottom:2px solid #ffc72c}html[data-theme=dark] .sheet{background:#17211d;border:2px solid #2b3b31}html[data-theme=dark] .sheet-foot{color:#aabfba}html[data-theme=dark] .jar-label{border:3px dashed #12A56A;background:#17211d}html[data-theme=dark] .jar-label i{color:#aabfba}html[data-theme=dark] .sheet-table th,html[data-theme=dark] .sheet-table td{border:2px solid #2c3730}html[data-theme=dark] .sheet-table th{background:#1c2a21;color:#67e9bb}html[data-theme=dark] .wk{border:3px solid #08784e;color:#67e9bb;background:#17211d}html[data-theme=dark] .ws-grid td{border:1px solid #2c3730}html[data-theme=dark] .gm{border:2px solid #2b3b31;background:#17211d}html[data-theme=dark] .gm-top{background:#1c2a21}html[data-theme=dark] .gm-score{color:#67e9bb}html[data-theme=dark] .gm-best{color:#aabfba}html[data-theme=dark] .gm-stage{background:linear-gradient(#111a16,#111a16)}html[data-theme=dark] .gm-over{background:rgba(23,33,29,0.94)}html[data-theme=dark] .gm-big{color:#67e9bb}html[data-theme=dark] .tc-day{color:#67e9bb}html[data-theme=dark] .tc-w{background:#17211d;border:2px solid #2b3b31}html[data-theme=dark] .tc-p{border:2px solid #2b3b31;background:#17211d}html[data-theme=dark] .tc-p.on{border-color:#08784e;background:#1c2a21;color:#67e9bb}html[data-theme=dark] .tc-res{background:#17211d;border:2px solid #2b3b31}html[data-theme=dark] .tc-prof.up{color:#67e9b3}html[data-theme=dark] .tc-prof.down{color:#dd7469}html[data-theme=dark] .mr-bar{background:#1e2720}html[data-theme=dark] .mr-bar i{background:linear-gradient(90deg,#08784e,#ffc72c)}html[data-theme=dark] .mr-card{background:#17211d;border:3px solid #2b3b31}html[data-theme=dark] .mr-card.ok{background:#1a2b20;border-color:#08784e}html[data-theme=dark] .mr-card.bad{background:#2a1e1c}html[data-theme=dark] .mr-b{color:#fff}html[data-theme=dark] .ib-m{background:#17211d;border:3px solid #2b3b31}html[data-theme=dark] .ib-m.ok{background:#1a2b20;border-color:#08784e}html[data-theme=dark] .ib-m.bad{background:#2a1e1c}html[data-theme=dark] .ad-x{color:#e8635f}html[data-theme=dark] .ad-l li{background:#17211d;border:1px solid #2b3b31}html[data-theme=dark] .jm-pile{background:#17211d;border:2px dashed #2c3730}html[data-theme=dark] .jm-c{border:3px solid #b07a00;color:#b07a00}html[data-theme=dark] .jm-j{background:#17211d}html[data-theme=dark] .sv-h{color:#67e9bb}html[data-theme=dark] .sv-bar{background:#1e2720}html[data-theme=dark] .sv-bar i{background:#08784e}html[data-theme=dark] .sv-card{background:#17211d;border:3px solid #2b3b31}html[data-theme=dark] .sv-card.bad{background:#111a16}html[data-theme=dark] .sv-m{background:#17211d;border:1px solid #2b3b31}html[data-theme=dark] .or-g{background:#1b2b1b}html[data-theme=dark] .or-l{color:#aabfba}html[data-theme=dark] .sq-b{border:2px solid #2b3b31;background:#17211d}html[data-theme=dark] .sq-b:not(:disabled){border-color:#08784e;background:#1c2a21}html[data-theme=dark] .sq-b small{color:#aabfba}html[data-theme=dark] p.say[data-who=Tilly] .who{color:#97c094}html[data-theme=dark] p.say[data-who=Dot] .who{color:#b2a4a7}html[data-theme=dark] .gm-info{color:#aabfba}html[data-theme=dark] .gm-info.over{color:#dd7469}html[data-theme=dark] .gm-bar{background:#1c2921}html[data-theme=dark] .gm-bar i{background:#08784e}html[data-theme=dark] .gm-card{background:#17211d;border:2px solid #2b3b31;color:#d4e5e3}html[data-theme=dark] .gm-bin{border:2px solid #08784e;background:#17211d;color:#67e9bb}html[data-theme=dark] .gm-bin:hover:not(:disabled){background:#1c2a21}html[data-theme=dark] .gm-fb.ok{color:#67e9b3}html[data-theme=dark] .gm-fb.no{color:#dd7469}html[data-theme=dark] .gm-fb.info{color:#d4e5e3}html[data-theme=dark] .gm-m span{color:#aabfba}html[data-theme=dark] .gm-m b{color:#d4e5e3}html[data-theme=dark] .gm-scene{background:#17211d;border:2px solid #2b3b31}html[data-theme=dark] .gm-ch{border:2px solid #08784e;background:#17211d;color:#d4e5e3}html[data-theme=dark] .gm-ch:hover:not(:disabled){background:#1c2a21}html[data-theme=dark] .gm-pc{border:2px solid #08784e;background:#08784e;color:#fff}html[data-theme=dark] .gm-pc.up,html[data-theme=dark] .gm-pc.hit{background:#17211d;color:#d4e5e3}html[data-theme=dark] .gm-pc.hit{background:#1d2a23}html[data-theme=dark] .gm-doc{background:#17211d;border:2px dashed #2a352d}html[data-theme=dark] .gm-fl{background:#111a16;color:#d4e5e3}html[data-theme=dark] .gm-fl:hover{border-color:#08784e}html[data-theme=dark] .gm-fl.hit{background:#2a1e1c}html[data-theme=dark] .gm-fl.miss{background:#1d2a23}html[data-theme=dark] .gm-log .ok{color:#dd7c74}html[data-theme=dark] .gm-log .no{color:#67e9b3}html[data-theme=dark] .gm-os{border:2px solid #08784e;background:#17211d;color:#d4e5e3}html[data-theme=dark] .gm-os.hit{background:#1d2a23}html[data-theme=dark] .gm-it{border:2px solid #2b3b31;background:#17211d;color:#d4e5e3}html[data-theme=dark] .gm-it small{color:#aabfba}html[data-theme=dark] .gm-it.on{border-color:#08784e;background:#1c2a21}html[data-theme=dark] .k-pcert a{background:#2a271d;color:#e9c867}html[data-theme=dark] .k-pcert a:hover,html[data-theme=dark] .k-pcert a:focus-visible{background:#2b2717}html[data-theme=dark] .sv-feat{color:#fff}html[data-theme=dark] .sv-eye{color:rgba(255,255,255,.75)}html[data-theme=dark] .sv-feat h2{color:#fff}html[data-theme=dark] .sv-feat p{color:rgba(255,255,255,.88)}html[data-theme=dark] .sv-chips span{background:rgba(23,33,29,0.16)}html[data-theme=dark] .sv-feat .sv-go{background:#17211d;color:#67e9bb;border-color:#363636}html[data-theme=dark] .sv-feat .sv-go:hover{background:#111a16}html[data-theme=dark] .k-valley{background:#111a16;border:1px solid #253d2e}}/*cf-dark-end*/
