/* Kindergarten picture questions and the cube helper (kinder-pictures.js, hint-view.js). */
.kp-card{background:#fffef8;border:2px solid #d3dfc7;border-radius:16px;padding:14px 10px 12px;margin:4px auto 8px;max-width:380px}
.kp-ask{font:700 19px/1.3 Outfit,system-ui,sans-serif;color:#102f25;margin:0 0 12px}
.kp-row,.kp-train{display:flex;justify-content:center;align-items:center}
.kp-row{gap:6px}
.kp-shape{position:relative;flex:0 1 48px;min-width:0;aspect-ratio:1}
.kp-shape svg{display:block;width:100%;height:100%;stroke:#00000038;stroke-width:2;stroke-linejoin:round}
.kp-shape.gone svg:first-child{opacity:.45}
.kp-gap{flex:0 0 14px}
.kp-cross{position:absolute;inset:-10%;width:120%;height:120%;pointer-events:none;overflow:visible}
.kp-cross line{stroke:#2a2a2a;stroke-width:3.2;stroke-linecap:round;stroke-dasharray:.1 6.5}
.kp-cube{--fill:#388cda;--ink:#1769aa;position:relative;flex:0 1 50px;min-width:0;aspect-ratio:1;background:var(--fill);border:2px solid var(--ink);border-radius:7px;box-shadow:inset 0 4px 0 #ffffff55,inset 0 -4px 0 #00000018;margin-right:-2px;padding:0}
.kp-cube.second{--fill:#ef882f;--ink:#ad4900}
.kp-cube.gone{--fill:#b3d3f0;--ink:#7da5c9;box-shadow:none}
.kp-cube.second.gone{--fill:#fbd2ad;--ink:#d39563}
.kp-cube.ghost{--fill:#fff8ee;border-style:dashed;box-shadow:none}
.kp-cube.next{outline:4px solid #df9f3e;outline-offset:2px;z-index:1}
.kp-cube.ghost.next{--fill:#ffe8a9}
.kp-nub{--fill:#388cda;--ink:#1769aa;flex:0 0 8px;height:24px;background:var(--fill);border:2px solid var(--ink);border-left:0;border-radius:0 4px 4px 0}
.kp-nub.second{--fill:#ef882f;--ink:#ad4900}
.kp-nub.ghost{--fill:#fff8ee;border-style:dashed}
.kp-picks{display:flex;justify-content:center;gap:22px;margin:18px 0 8px}
.kp-pick{position:relative;width:76px;height:76px;border:3px solid #23443a;border-bottom-width:6px;border-radius:14px;background:#fffef8;font:600 40px Outfit,system-ui,sans-serif;color:#102f25;padding:0}
.kp-pick.chosen{background:#e9f4dd}
.kp-pick.missed{opacity:.35;text-decoration:line-through}
.kp-ring{position:absolute;inset:-18px;width:calc(100% + 36px);height:calc(100% + 36px);overflow:visible;pointer-events:none}
.kp-ring path{fill:none;stroke:#df9f3e;stroke-width:4.5;stroke-linecap:round}
.kp-sentence{display:flex;justify-content:center;align-items:flex-end;gap:7px;flex-wrap:wrap;font:600 21px Outfit,system-ui,sans-serif;color:#102f25;margin:16px 0 4px}
.kp-sentence>span:not(.kp-blank){padding-bottom:9px}
.kp-blank,.kp-sentence .answer-box{display:inline-grid;place-items:center;min-width:56px;height:54px;border:0;border-bottom:4px solid #81a182;background:#fffef8;border-radius:10px 10px 4px 4px;font:600 34px Outfit,system-ui,sans-serif;color:#336d50;padding:0 6px}
.kp-blank.done{background:#eef5e6}
.kp-sentence .answer-box{background:#fff4d2;border-bottom-color:#df9f3e;box-shadow:0 0 0 3px #f3c57588}
.kp-sentence .answer-box.empty{color:#b9a77d}
.kp-prompt{font-size:14px;font-weight:700;color:#5d6f62;margin:8px 0 0}
.equation.picture-answer #encounter-equation{font-size:22px;color:#5d6f62}
.kp-trains{display:flex;flex-direction:column;gap:8px;margin:4px 0}
.kp-trains.tens .kp-cube{flex:0 0 calc((100% - 12px)/10)}
.cube-helper .kp-cube:disabled{opacity:1;cursor:default}
.cube-helper .kp-story{font:700 22px/1.3 Outfit,system-ui,sans-serif;color:#102f25;margin:12px 0 0}
