/* SparkGlee — Tiny Meadow toddler games (ages 2–4): peekaboo, shapesorter, balloons, animalsounds, tinycount.
 * Every rule is scoped under .g-<id>. Huge targets, soft colours, calm motion. */

.g-peekaboo, .g-shapesorter, .g-balloons, .g-animalsounds, .g-tinycount {
  flex: 1; width: 100%; min-height: 0;
  display: flex; flex-direction: column; align-items: stretch; gap: clamp(8px, 2vh, 14px);
  font-family: 'Fredoka', system-ui, sans-serif;
  -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
.g-peekaboo .scene, .g-shapesorter .scene, .g-balloons .scene, .g-animalsounds .scene, .g-tinycount .scene {
  position: relative; flex: 1; width: 100%; min-height: 280px; overflow: hidden; border-radius: 30px;
}
.g-peekaboo button, .g-shapesorter button, .g-balloons button, .g-animalsounds button, .g-tinycount button {
  -webkit-tap-highlight-color: transparent;
}

/* Gentle "not that one" wobble and the "this one!" glow (shared by all five games). */
.g-peekaboo .tt-wobble, .g-shapesorter .tt-wobble, .g-balloons .tt-wobble, .g-animalsounds .tt-wobble, .g-tinycount .tt-wobble {
  animation: tt-wobble .6s ease-in-out !important;
}
@keyframes tt-wobble { 0%, 100% { rotate: 0deg; } 20% { rotate: -7deg; } 40% { rotate: 6deg; } 60% { rotate: -4deg; } 80% { rotate: 2deg; } }
.g-peekaboo .tt-glow, .g-shapesorter .tt-glow, .g-balloons .tt-glow, .g-animalsounds .tt-glow, .g-tinycount .tt-glow {
  animation: tt-glow 1.1s ease-in-out infinite !important;
}
@keyframes tt-glow {
  0%, 100% { filter: drop-shadow(0 0 6px #fff7b0) drop-shadow(0 0 14px #ffd23f); scale: 1; }
  50% { filter: drop-shadow(0 0 14px #fff7b0) drop-shadow(0 0 30px #ffc400); scale: 1.06; }
}
body.a11y-calm .g-peekaboo .tt-glow, body.a11y-calm .g-shapesorter .tt-glow, body.a11y-calm .g-balloons .tt-glow,
body.a11y-calm .g-animalsounds .tt-glow, body.a11y-calm .g-tinycount .tt-glow {
  animation: none !important; filter: drop-shadow(0 0 8px #fff7b0) drop-shadow(0 0 18px #ffd23f);
}
/* Little picture inside the prompt banner. */
.pk-chip, .as-chip, .tc-chip, .ss-chip { display: inline-block; font-size: 1.35em; line-height: 1; vertical-align: -0.15em; margin-left: .2em; }
.ss-chip svg { width: 1.2em; height: 1.2em; vertical-align: -0.2em; }

/* ───────────── Peekaboo Farm ───────────── */
.g-peekaboo .pk-field {
  background: linear-gradient(#a8e3ff 0%, #d9f4ff 55%, #b9ec8f 55.2%, #8fd96b 100%);
}
.g-peekaboo .pk-hill { position: absolute; left: -10%; right: -10%; bottom: -30%; height: 75%; border-radius: 50% 50% 0 0; background: #9fe07a; }
.g-peekaboo .pk-sun { position: absolute; top: 4%; right: 6%; font-size: 2.6rem; animation: pk-spin 18s linear infinite; }
.g-peekaboo .pk-cloud { position: absolute; font-size: 2.4rem; opacity: .9; animation: pk-drift 14s ease-in-out infinite alternate; }
.g-peekaboo .pk-cloud.c1 { top: 6%; left: 6%; }
.g-peekaboo .pk-cloud.c2 { top: 16%; left: 42%; font-size: 1.8rem; animation-delay: -6s; }
@keyframes pk-spin { to { rotate: 360deg; } }
@keyframes pk-drift { to { translate: 30px 0; } }
.g-peekaboo .pk-row {
  position: absolute; inset: 0; display: flex; flex-wrap: wrap; justify-content: center; align-content: center;
  gap: 16px 20px; padding: 12px;
}
.g-peekaboo .pk-row.n3 { align-content: space-evenly; }
.g-peekaboo .pk-spot { position: relative; width: var(--s); height: calc(var(--s) * 1.02); flex: 0 0 auto; padding: 0; touch-action: manipulation; }
.g-peekaboo .pk-animal {
  position: absolute; left: 50%; bottom: 16%; z-index: 1; line-height: 1;
  font-size: calc(var(--s) * .5); transform: translate(-50%, 30%) scale(.5); opacity: 0;
  transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), opacity .25s;
  filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .18));
}
.g-peekaboo .pk-animal span { display: inline-block; }
.g-peekaboo .peeking:not(.barn):not(.open) .pk-animal { opacity: 1; transform: translate(-50%, 0) scale(.92); bottom: 38%; }
.g-peekaboo .peeking.bush:not(.open) .pk-animal { bottom: 47%; }
.g-peekaboo .peeking:not(.barn):not(.open) .pk-animal span { animation: pk-peek 2.4s ease-in-out infinite; }
@keyframes pk-peek { 0%, 60%, 100% { translate: 0 0; } 75% { translate: 0 -12%; } }
.g-peekaboo .open .pk-animal { opacity: 1; transform: translate(-50%, -34%) scale(1.05); z-index: 5; }
.g-peekaboo .dance .pk-animal span { animation: pk-dance .45s ease-in-out infinite alternate; }
@keyframes pk-dance { from { rotate: -12deg; translate: 0 0; } to { rotate: 12deg; translate: 0 -10%; } }

/* bush & blanket: soft covers over the lower half */
.g-peekaboo .pk-cover { position: absolute; left: 0; right: 0; bottom: 0; height: 58%; z-index: 2; transition: transform .45s cubic-bezier(.3, 1.4, .5, 1); }
.g-peekaboo .pk-bush { background: url(../img/art/props/bush.webp) center bottom / 100% 100% no-repeat; filter: drop-shadow(0 6px 5px rgba(0, 60, 0, .18)); } /* illustrated bush (prop/bush) */
.g-peekaboo .pk-bush i { display: none; }
.g-peekaboo .open .pk-bush { transform: translateY(18%) scaleX(1.08); animation: pk-rustle .4s ease-in-out 2; }
@keyframes pk-rustle { 25% { rotate: -4deg; } 75% { rotate: 4deg; } }
.g-peekaboo .pk-blanket { /* illustrated blanket (prop/blanket) */
  transform-origin: 90% 100%; background: url(../img/art/props/blanket.webp) center bottom / 100% 100% no-repeat;
  filter: drop-shadow(0 6px 5px rgba(0, 0, 0, .14));
}
.g-peekaboo .pk-blanket i { display: none; }
.g-peekaboo .open .pk-blanket { transform: translate(34%, 22%) rotate(16deg) scaleY(.7); }

/* barn: an illustrated barn (prop/barn) filling the spot, with the loft window and two doors that swing open laid over
 * its window and doorway (positions measured from the picture) */
.g-peekaboo .pk-barn {
  position: absolute; inset: 0; z-index: 0;
  background: url(../img/art/props/barn.webp) center / 100% 100% no-repeat; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .15));
}
.g-peekaboo .pk-roof { display: none; }
.g-peekaboo .pk-win {
  position: absolute; left: 39.4%; right: 39.2%; top: 22.5%; bottom: 58.1%;
  border-radius: 50%; background: #3a2418; overflow: hidden; display: grid; place-items: end center;
}
.g-peekaboo .pk-win span { font-size: calc(var(--s) * .27); line-height: 1; translate: 0 22%; animation: pk-peek 2.4s ease-in-out infinite; }
.g-peekaboo .barn .pk-animal { bottom: 2%; }
.g-peekaboo .pk-doors {
  position: absolute; left: 31.7%; right: 31.6%; top: 61.2%; bottom: 4.2%; z-index: 3; display: flex; perspective: 600px;
}
.g-peekaboo .pk-door {
  flex: 1; height: 100%; transition: transform .55s cubic-bezier(.3, 1.3, .5, 1);
  background:
    linear-gradient(to top right, transparent calc(50% - 4px), #fff calc(50% - 4px) calc(50% + 4px), transparent calc(50% + 4px)),
    linear-gradient(to top left, transparent calc(50% - 4px), #fff calc(50% - 4px) calc(50% + 4px), transparent calc(50% + 4px)),
    #e8463c;
  border: 4px solid #fff;
}
.g-peekaboo .pk-door.dl { transform-origin: left center; border-radius: 6px 0 0 0; }
.g-peekaboo .pk-door.dr { transform-origin: right center; border-radius: 0 6px 0 0; }
.g-peekaboo .open .pk-door.dl { transform: rotateY(-115deg); }
.g-peekaboo .open .pk-door.dr { transform: rotateY(115deg); }
.g-peekaboo .barn.open .pk-animal { transform: translate(-50%, -6%) scale(.95); }
.g-peekaboo .barn.open .pk-win span { opacity: 0; }

/* speech bubble with the animal's sound (also the visual version of the sound for deaf kids) */
.g-peekaboo .pk-say {
  position: absolute; top: -2%; right: -4%; z-index: 7; padding: .25em .55em; border-radius: 999px;
  background: #fff; color: #3b2e6e; font-weight: 700; font-size: calc(var(--s) * .13); white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .18); transform: scale(0); transform-origin: 20% 100%; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
.g-peekaboo .talk .pk-say { transform: scale(1); }
.g-peekaboo .pk-spot:active:not(.open) { scale: .97; }

/* ───────────── Shape Sorter ───────────── */
.g-shapesorter .ss-room {
  display: flex; flex-direction: column; align-items: center; justify-content: space-evenly; gap: 12px; padding: 14px 10px;
  background: radial-gradient(ellipse at 50% 0%, #fff8 0, transparent 60%), linear-gradient(#e9f6ff, #ffe9f3 70%, #ffd9a8 70.3%, #f7c58a);
}
.g-shapesorter .ss-room.wide { flex-direction: row; background: radial-gradient(ellipse at 50% 0%, #fff8 0, transparent 60%), linear-gradient(90deg, #e9f6ff, #ffe9f3 62%, #ffd9a8 62.2%, #f7c58a); }
.g-shapesorter .ss-room.wide .ss-tray { width: auto; min-width: calc(var(--piece) + 40px); }
.g-shapesorter .ss-box {
  position: relative; display: flex; flex-direction: column; align-items: center; z-index: 1;
}
.g-shapesorter .ss-lid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 18px; padding: 16px 18px;
  box-sizing: border-box; max-width: 100%;
  background: linear-gradient(#ffd166, #ffb703); border-radius: 26px 26px 12px 12px;
  box-shadow: inset 0 -8px 0 #f49d00, 0 8px 0 #e08a00, 0 14px 16px rgba(0, 0, 0, .14);
}
.g-shapesorter .ss-lid.n2, .g-shapesorter .ss-lid.n3 { width: calc(var(--hole) * 2 + 18px + 40px); }
.g-shapesorter .ss-front {
  width: 92%; height: 34px; margin-top: 8px; border-radius: 0 0 22px 22px; display: flex; justify-content: space-around; align-items: center;
  background: linear-gradient(#4cc9f0, #3a9fd8); box-shadow: 0 6px 10px rgba(0, 0, 0, .12);
}
.g-shapesorter .ss-front i { width: 18px; height: 18px; border-radius: 50%; background: #fff; opacity: .8; }
.g-shapesorter .ss-front i:nth-child(2) { border-radius: 4px; background: #ff7eb6; opacity: 1; }
.g-shapesorter .ss-hole {
  position: relative; width: var(--hole); height: var(--hole); padding: 0; border-radius: 24px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .35); box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .55); transition: transform .15s;
}
.g-shapesorter .ss-gap, .g-shapesorter .ss-in { grid-area: 1 / 1; width: 82%; height: 82%; display: block; pointer-events: none; }
.g-shapesorter .ss-gap svg { width: 100%; height: 100%; filter: drop-shadow(0 -3px 0 rgba(0, 0, 0, .25)) drop-shadow(0 3px 0 rgba(255, 255, 255, .6)); }
.g-shapesorter .ss-in svg { width: 100%; height: 100%; }
.g-shapesorter .ss-hole.filled .ss-in { animation: ss-plop .7s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes ss-plop { 0% { transform: scale(1.35) translateY(-30%); opacity: 0; } 40% { opacity: 1; } 70% { transform: scale(.82); } 100% { transform: scale(.9); } }
.g-shapesorter .ss-tray {
  display: grid; place-items: center; min-height: calc(var(--piece) + 20px); width: 100%; position: relative; z-index: 2;
}
.g-shapesorter .ss-piece {
  width: var(--piece); height: var(--piece); padding: 0; border-radius: 24px;
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .22));
}
.g-shapesorter .ss-piece svg { width: 100%; height: 100%; display: block; pointer-events: none; animation: ss-bob 2.6s ease-in-out infinite; }
@keyframes ss-bob { 50% { transform: translateY(-6px) rotate(-2deg); } }
.g-shapesorter .ss-piece.ss-happy svg { animation: ss-happy .5s ease-in-out; }
@keyframes ss-happy { 30% { transform: scale(1.1) rotate(-8deg); } 70% { transform: scale(1.05) rotate(8deg); } }
.g-shapesorter .ss-eyes { animation: ss-blink 4s infinite; transform-origin: 50% 55%; }
@keyframes ss-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.g-shapesorter-demo svg { width: 1.3em; height: 1.3em; vertical-align: middle; }
.demo-row.g-shapesorter-demo svg { width: 64px; height: 64px; margin: 0 6px; }

/* ───────────── Balloon Colours ───────────── */
.g-balloons .bl-sky { background: linear-gradient(#8fd8ff, #d6f1ff 75%); }
.g-balloons .bl-grass { position: absolute; left: -5%; right: -5%; bottom: -8%; height: 18%; border-radius: 50% 50% 0 0; background: #8fd96b; }
.g-balloons .bl-cloud { position: absolute; font-size: 2.6rem; opacity: .95; animation: pk-drift 16s ease-in-out infinite alternate; }
.g-balloons .bl-cloud.c1 { top: 5%; left: 6%; }
.g-balloons .bl-cloud.c2 { top: 12%; right: 10%; font-size: 2rem; animation-delay: -7s; }
.g-balloons .bl-row {
  position: absolute; inset: 0; display: flex; flex-wrap: wrap; justify-content: center; align-content: center;
  gap: 10px 22px; padding: 12px 12px 16%;
}
.g-balloons .bl-row.n3 { align-content: space-evenly; }
.g-balloons .bl-row.n3 .bl-balloon:nth-child(3) { margin-top: -4%; }
.g-balloons .bl-balloon {
  position: relative; width: var(--b); height: calc(var(--b) * 1.72); padding: 0; flex: 0 0 auto; background: none; border: 0;
  display: block; touch-action: manipulation;
}
/* The whole balloon (body + knot + string) floats as one piece. */
.g-balloons .bl-float { position: absolute; inset: 0; display: block; animation: bl-bob 3s ease-in-out infinite; animation-delay: calc(var(--bob) * -1);
  transform-origin: 50% 30%; transition: transform .2s, opacity .2s; }
.g-balloons .bl-art, .g-balloons .bl-art svg { display: block; width: 100%; height: 100%; }
.g-balloons .bl-art svg { filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .15)); overflow: visible; }
/* Only the string's tail sways, pivoting at the knot, so it never comes loose. */
.g-balloons .bln-string { transform-box: view-box; transform-origin: 86px 206px; animation: bl-sway 3s ease-in-out infinite; animation-delay: calc(var(--bob) * -1); }
.g-balloons .bl-sym { position: absolute; left: 50%; top: 31%; translate: -50% -50%; font-size: calc(var(--b) * .42); color: #fff; line-height: 1; text-shadow: 0 2px 4px rgba(0, 0, 0, .45); pointer-events: none; }
@keyframes bl-bob { 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes bl-sway { 50% { transform: rotate(6deg); } }
.g-balloons .bl-balloon:active .bl-float { transform: scale(.95); }
.g-balloons .bl-balloon.popped .bl-float { animation: bl-pop .3s ease-out forwards; }
@keyframes bl-pop { 0% { transform: scale(1); } 40% { transform: scale(1.25); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.g-balloons .bl-balloon.regrow .bl-float { animation: bl-grow .6s cubic-bezier(.3, 1.5, .5, 1), bl-bob 3s ease-in-out .6s infinite; }
@keyframes bl-grow { from { transform: scale(.1); opacity: .4; } to { transform: scale(1); opacity: 1; } }
body.a11y-calm .g-balloons .bl-float, body.a11y-calm .g-balloons .bln-string { animation: none; }
.g-balloons .bl-pow {
  position: absolute; top: 25%; left: 50%; translate: -50% 0; font-weight: 800; font-size: calc(var(--b) * .24); color: #fff;
  -webkit-text-stroke: 3px #3b2e6e; paint-order: stroke fill; animation: popIn .3s;
}
.bl-chip {
  display: inline-grid; place-items: center; width: 1.25em; height: 1.5em; margin-left: .3em; vertical-align: -0.35em;
  border-radius: 50% 50% 48% 48% / 56% 56% 44% 44%; background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .6) 0 12%, transparent 36%), var(--c);
  color: #fff; font-size: 1em; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}
.g-balloons-demo {
  display: inline-block; width: 70px; height: 90px; margin: 0 8px; border-radius: 50% 50% 48% 48% / 56% 56% 44% 44%;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .55) 0 10%, transparent 34%), var(--c);
}

/* ───────────── Who Says Moo? ───────────── */
.g-animalsounds .as-farm {
  display: flex; flex-direction: column; align-items: center; justify-content: space-evenly; gap: 10px; padding: 14px 10px;
  background: linear-gradient(#bfe9ff 0%, #e6f7ff 50%, #b9ec8f 50.2%, #8fd96b 100%);
}
.g-animalsounds .as-hill { position: absolute; left: -10%; right: -10%; bottom: -25%; height: 70%; border-radius: 50% 50% 0 0; background: #a3e27f; }
.g-animalsounds .as-sun { position: absolute; top: 3%; right: 5%; font-size: 2.2rem; }
.g-animalsounds .as-bubble {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 14px 26px; min-height: 110px; min-width: 200px;
  background: #fff; border-radius: 999px; box-shadow: 0 8px 18px rgba(0, 0, 0, .15); color: #3b2e6e;
}
.g-animalsounds .as-bubble::after {
  content: ''; position: absolute; bottom: -16px; left: 50%; translate: -50% 0;
  border: 14px solid transparent; border-top: 18px solid #fff; border-bottom: 0;
}
.g-animalsounds .as-spk { font-size: 2.2rem; }
.g-animalsounds .as-word { font-size: clamp(2.6rem, 12vw, 3.6rem); font-weight: 800; letter-spacing: .02em; }
.g-animalsounds .as-shadow { font-size: 3.4rem; line-height: 1; filter: brightness(0) opacity(.75); }
.g-animalsounds .as-bubble.talk { animation: as-shout .8s ease-in-out; }
@keyframes as-shout { 20% { scale: 1.12; rotate: -3deg; } 45% { scale: 1.02; rotate: 2deg; } 70% { scale: 1.08; rotate: -1deg; } }
.g-animalsounds .as-row { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 20px; width: 100%; }
.g-animalsounds .as-pick {
  position: relative; width: var(--a); height: var(--a); padding: 0; display: grid; place-items: center; touch-action: manipulation;
  background: radial-gradient(circle at 50% 35%, #fff, #fff4d6); border-radius: 36px;
  box-shadow: 0 8px 0 #f1d38a, 0 14px 18px rgba(0, 0, 0, .14);
}
.g-animalsounds .as-pick:active { translate: 0 4px; box-shadow: 0 4px 0 #f1d38a, 0 8px 12px rgba(0, 0, 0, .14); }
.g-animalsounds .as-ani { font-size: calc(var(--a) * .62); line-height: 1; filter: drop-shadow(0 5px 5px rgba(0, 0, 0, .18)); }
.g-animalsounds .as-say {
  position: absolute; top: -12px; right: -8px; padding: .2em .55em; border-radius: 999px; background: #3b2e6e; color: #fff;
  font-weight: 700; font-size: calc(var(--a) * .14); transform: scale(0); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1);
}
.g-animalsounds .as-pick.talk .as-say { transform: scale(1); }
.g-animalsounds .as-pick.dance .as-ani { animation: pk-dance .45s ease-in-out infinite alternate; }
.g-animalsounds .as-pick.dance { background: radial-gradient(circle at 50% 35%, #fff, #c9f7dc); box-shadow: 0 8px 0 #7fdca6, 0 0 30px #b8ffd5; }
.g-animalsounds-demo { font-weight: 800; color: #3b2e6e; }

/* ───────────── Count to 3 ───────────── */
.g-tinycount .tc-mat {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 14px 10px;
  background: radial-gradient(circle at 20% 20%, #fff9 0 8%, transparent 9%) 0 0 / 80px 80px, linear-gradient(#fff5d6, #ffe2ec);
}
.g-tinycount .tc-objs { display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: 14px 18px; transition: gap .4s; }
.g-tinycount .tc-obj {
  position: relative; width: var(--o); height: var(--o); padding: 0; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fff, #fff0c4); box-shadow: 0 8px 0 #f3d27a, 0 12px 16px rgba(0, 0, 0, .12);
  transition: width .45s, height .45s, box-shadow .3s; touch-action: manipulation;
}
.g-tinycount .tc-e { font-size: calc(var(--o) * .58); line-height: 1; transition: font-size .45s; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .15)); }
.g-tinycount .tc-n {
  position: absolute; top: -6px; right: -6px; min-width: 1.7em; height: 1.7em; border-radius: 50%; display: grid; place-items: center;
  background: #ff5c8a; color: #fff; font-weight: 800; font-size: calc(var(--o) * .2); box-shadow: 0 3px 0 #d63a6a;
  transform: scale(0); transition: transform .3s cubic-bezier(.3, 1.7, .5, 1);
}
.g-tinycount .tc-obj.counted { background: radial-gradient(circle at 50% 40%, #fff, #d4f7e2); box-shadow: 0 8px 0 #8fdcae, 0 12px 16px rgba(0, 0, 0, .12); }
.g-tinycount .tc-obj.counted .tc-n { transform: scale(1); }
.g-tinycount .tc-obj.tc-hop .tc-e { animation: tc-hop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes tc-hop { 40% { transform: translateY(-16%) scale(1.12); } }
.g-tinycount .tc-obj.tc-party .tc-e { animation: pk-dance .45s ease-in-out infinite alternate; }
/* step 2: the counted objects shrink to a row on top, the dot cards come in below */
.g-tinycount .ask .tc-objs { gap: 8px; }
.g-tinycount .ask .tc-obj { width: 70px; height: 70px; box-shadow: 0 4px 0 #8fdcae; }
.g-tinycount .ask .tc-e { font-size: 42px; }
.g-tinycount .ask .tc-n { font-size: 15px; }
.g-tinycount .tc-cards { display: none; flex-wrap: wrap; justify-content: center; gap: 16px 20px; width: 100%; }
.g-tinycount .ask .tc-cards { display: flex; }
.g-tinycount .tc-pick {
  width: var(--c); height: var(--c); padding: calc(var(--c) * .12); border-radius: 30px; touch-action: manipulation;
  background: #fff; box-shadow: 0 8px 0 #c9b8ff, 0 12px 16px rgba(0, 0, 0, .12);
}
.g-tinycount .tc-pick:active { translate: 0 4px; box-shadow: 0 4px 0 #c9b8ff; }
.g-tinycount .tc-dots { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); width: 100%; height: 100%; gap: 6%; pointer-events: none; }
.g-tinycount .tc-dots i { border-radius: 50%; width: 100%; height: 100%; display: block; }
.g-tinycount .tc-dots i.on { background: radial-gradient(circle at 35% 30%, #8d7bff, #5b3fd6); box-shadow: 0 3px 0 #3d2a9e; }
.g-tinycount .tc-pick.yes { background: #d4f7e2; box-shadow: 0 8px 0 #7fdca6, 0 0 30px #b8ffd5; }
.g-tinycount-demo span { display: inline-flex; flex-direction: column; align-items: center; margin: 0 8px; }
.g-tinycount .ask .tc-objs.n4 .tc-obj, .g-tinycount .ask .tc-objs.n5 .tc-obj { width: 58px; height: 58px; }
.g-tinycount .ask .tc-objs.n4 .tc-e, .g-tinycount .ask .tc-objs.n5 .tc-e { font-size: 34px; }
