/* ================= v103: Peanut, a hand-sewn peanut doll =================
   Two drawings, both in img/ and both drawn by test/peanut-art.py (change the numbers there, not the files):
     peanut.svg       the whole doll: a stuffed peanut of cloth with no drawn outline, a dark running-stitch seam just
                      inside the edge, three rows of white running stitch from head to toe, a face of felt pieces (white
                      eyes, black pupils, dark nose, pink cheeks) with a back-stitched smile, and a felt sprout.
                      No arms or legs, nothing on the belly.
     peanut-face.svg  the head lobe only, sewn the same way. Used wherever the whole doll would be too small to read.
   RULE: a .nut is the face (an icon in a line of text or a chip). Only the big spots below show the whole doll.
   The peanut currency is not Peanut: it stays the 🥜 emoji (js/07-ui-storage.js), the counter in the top chip too. */
:root{--doll:url("/img/peanut.svg");--nutface:url("/img/peanut-face.svg")}

.nut{display:inline-block;width:24px;height:24px;position:relative;flex:none;background:var(--nutface) center/contain no-repeat;border:0;border-radius:0;box-shadow:none}

/* the whole doll: big enough to see the stitches and the heart */
#start h1 .nut{width:62px;height:84px;background-image:var(--doll)}
.think .nut{width:42px;height:58px;background-image:var(--doll)}
.lgDoll{background-image:var(--doll)}
.lgBk{background-image:var(--nutface),radial-gradient(circle at 50% 50%,#5aaa8a 0 34%,transparent 35%),repeating-linear-gradient(45deg,#3f8a7a 0 8px,#4a9a88 8px 16px)}
