/* Shared look of the games of groep 1 en 2 (see kleuter.js) */
/* items to count: in rows, or scattered */
.pile{display:flex;flex-direction:column;align-items:center;gap:var(--s2)}
.prow{display:flex;gap:var(--s1);justify-content:center}
.prow .g5{width:var(--s3)}
.ci{position:relative;border:0;background:none;padding:var(--s1) var(--s1) var(--s4);border-radius:12px;display:flex;flex-direction:column;align-items:center;font:inherit}
.ci svg{width:52px;height:52px;transition:transform .2s}
.ci .h1{color:var(--hot)} .ci .h2{color:var(--cool)}
.ci .new{animation:pop .4s cubic-bezier(.3,1.6,.5,1) backwards}
.ci i{position:absolute;bottom:0;left:0;right:0;text-align:center;font-style:normal;font-family:var(--display);font-weight:700;font-size:1rem;line-height:18px;color:var(--cool-deep)}
.ci.counted svg{transform:scale(.82);opacity:.75}
.scatter{position:relative;display:block;width:min(320px,80vw)}
.scatter .ci{position:absolute;padding-bottom:var(--s4)}
.die{width:120px;height:120px}
.die rect{fill:var(--card);stroke:var(--ink);stroke-width:4}
.die circle{fill:var(--ink)}
.diebtn{border:0;background:none;padding:0}
.diebtn.spin{animation:spin-in .4s ease-out}
.countbox{display:flex;justify-content:center}
.lpic circle{color:var(--ink)}
/* a picture of a thing (things.js) */
svg.thing{width:110px;height:110px}

/* the question in Spelen: a picture or what to count above, the answer below */
.cq{display:flex;flex-direction:column;align-items:center;gap:var(--s3)}
.cq .slot{font-size:.8em}
.q .ci svg{width:58px;height:58px}
.q .ci{padding-bottom:var(--s5)}
.q .ci i{font-size:1.4rem;line-height:24px}
.qnote{font-family:var(--body);font-weight:800;font-size:1.1rem;color:var(--ink-soft)}
.q .scatter{width:min(400px,78vw)}
.q svg.thing{width:140px;height:140px}
/* a question in words, for the grown-up next to the child: the mascot says it */
.qtext{font-family:var(--display);font-weight:600;font-size:clamp(1.6rem,7vw,2.4rem);line-height:1.2;text-align:center;text-wrap:balance}
.qtext b{color:var(--hot-deep)}
.slot svg{width:1em;height:1em;display:block}
@media (max-width:420px){.q .ci svg{width:44px;height:44px}}

/* leren and lessons: number chips */
.learnbox{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--s3);min-height:220px}
.bignum{margin:0;font-family:var(--display);font-weight:700;font-size:4rem;line-height:1;min-height:1em;color:var(--hot-deep)}
.chips{display:grid;grid-template-columns:repeat(10,1fr);gap:var(--s2);width:100%;max-width:560px}
.chip{border:3px solid var(--line);background:var(--card);border-radius:18px;padding:var(--s2) var(--s1);display:flex;justify-content:center;box-shadow:0 5px 0 var(--line);transition:transform .2s}
.chip b{font-family:var(--display);font-weight:700;font-size:clamp(1.4rem,6vw,2rem);line-height:1}
.chip.cur{transform:scale(1.1);border-color:var(--hot)}
.chip.on{background:var(--r4);border-color:var(--mint)}
@media (max-width:520px){.chips{grid-template-columns:repeat(5,1fr)}}
@media (max-width:420px){.ci svg{width:36px;height:36px}}
/* things to tap and hear, in a lesson */
.hear{display:flex;gap:var(--s4);justify-content:center;flex-wrap:wrap}
.hear button{border:4px solid var(--line);background:var(--card);border-radius:24px;padding:var(--s2);box-shadow:0 var(--lift) 0 var(--line);display:grid;place-items:center}
.hear button.on{border-color:var(--mint)}
.hear svg.thing{width:96px;height:96px}
.still .ci{padding:var(--s1)}
.still .ci svg{width:34px;height:34px}
.q .still .ci svg{width:44px;height:44px}
