.kids-page .game-shadow{--tile-bg:#e4e5ff;--tile-edge:#acafe3;--tile-accent:#4d4e91}.kids-page .game-missing{--tile-bg:#dff3fa;--tile-edge:#8ac4d2;--tile-accent:#266778}.kids-page .game-sequence{--tile-bg:#ffedcf;--tile-edge:#dfb473;--tile-accent:#855812}.kids-page .matching-world{padding:18px 12px;background:linear-gradient(145deg,#f7f0ff,#fff8e3);border:2px solid #e0d2ee;border-radius:24px;text-align:center;overflow:hidden}.kids-page .matching-missing{background:linear-gradient(#def4ff,#fff9e3)}.kids-page .matching-sequence{background:linear-gradient(#fff3d6,#f3eaff)}.kids-page .matching-badge{font-size:calc(34px * var(--aypot-text-scale, 1));line-height:1.3}.kids-page .matching-world h2{font-size:clamp(calc(1.2rem * var(--aypot-text-scale, 1)),4.8vw,calc(1.7rem * var(--aypot-text-scale, 1)));line-height:1.3;margin:8px 0;color:#453363}.kids-page #matchingHelp{font-size:calc(1rem * var(--aypot-text-scale, 1));line-height:1.5;margin:8px auto 18px;max-width:34rem;color:#5a506b}.kids-page .matching-board{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:16px 0 22px}.kids-page .matching-tile{position:relative;display:grid;place-items:center;min-width:0;min-height:100px;padding:14px 8px;border:3px solid #c3afdf;border-bottom-width:6px;border-radius:20px;background:#fff;box-shadow:0 3px #4028550b;color:#43315f;touch-action:manipulation;cursor:pointer}.kids-page .matching-board>.matching-tile{flex:0 1 calc((100% - 20px)/3);max-width:135px}.kids-page .matching-sequence .matching-board>.matching-tile{flex-basis:calc((100% - 30px)/var(--board-count));padding:20px 4px 10px;min-height:96px}.kids-page .matching-picture{display:grid;place-items:center;font-size:clamp(calc(40px * var(--aypot-text-scale, 1)),12vw,calc(70px * var(--aypot-text-scale, 1)));line-height:1.3;pointer-events:none}.kids-page .matching-picture .kids-colour,.kids-page .matching-picture .kids-shape{width:clamp(36px,11vw,64px);height:clamp(36px,11vw,64px)}.kids-page .matching-choices{display:grid;grid-template-columns:repeat(var(--choice-count,3),minmax(0,1fr));gap:12px;margin:16px auto;max-width:520px}.kids-page .matching-choices .matching-tile:nth-child(3n+1){background:#fff3cf;border-color:#ddc272}.kids-page .matching-choices .matching-tile:nth-child(3n+2){background:#e4f5ed;border-color:#92bfae}.kids-page .matching-choices .matching-tile:nth-child(3n){background:#f4e5ff;border-color:#bfa0d6}.kids-page .matching-number{position:absolute;top:4px;left:9px;font-size:calc(.875rem * var(--aypot-text-scale, 1));font-weight:850;color:#756090}.kids-page .matching-hidden{border-style:dashed;background:#dfedf8;box-shadow:none;font-size:calc(40px * var(--aypot-text-scale, 1));color:#587892}.kids-page .matching-tools{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:12px 0}.kids-page .matching-tools button{min-height:48px;white-space:normal}.kids-page .matching-shadow-frame{display:grid;place-items:center;width:160px;min-height:155px;border:3px dashed #b8a4d3;border-radius:50%;background:#eee5fb}.kids-page .matching-shadow-frame .matching-picture{font-size:calc(90px * var(--aypot-text-scale, 1))}.kids-page .matching-silhouette{filter:brightness(0);opacity:.8}.kids-page .matching-tile.matching-correct{background:#d7f4dc!important;border-color:#549c68!important;opacity:1}.kids-page .matching-tile:focus-visible{outline:4px solid #7851bc;outline-offset:4px}.kids-page .matching-world #kidsNext{margin-top:16px}.kids-page .matching-world #kidsAudioStatus{overflow-wrap:anywhere;line-height:1.4;font-size:calc(.9rem * var(--aypot-text-scale, 1))}.kids-page .matching-world [hidden]{display:none!important}.kids-page .matching-won .matching-badge{animation:kids-pop .5s ease-out}@media(max-width:360px){.kids-page .matching-world{padding:14px 8px}.kids-page .matching-choices{gap:7px}.kids-page .matching-tile{min-height:85px;padding:12px 4px}.kids-page .matching-sequence .matching-picture{font-size:calc(34px * var(--aypot-text-scale, 1))}.kids-page .matching-board{gap:6px}}
