.prompt { text-align: center; font-family: var(--font-display); font-size: 1.8rem; margin: 0 0 14px; }
.fruits {
  display: flex; flex-wrap: wrap; justify-content: center; align-content: center;
  gap: 10px; min-height: 170px; padding: 18px;
  background: var(--white); border: var(--line); border-radius: 20px; margin-bottom: 24px;
}
.fruit { font-size: clamp(2.4rem, 8vw, 3.6rem); line-height: 1; animation: pop .35s ease both; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.choices { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.choices .btn { min-width: 100px; justify-content: center; font-size: 2.2rem; background: var(--white); }
.choices .btn:nth-child(1) { background: var(--sun); }
.choices .btn:nth-child(2) { background: var(--sky); }
.choices .btn:nth-child(3) { background: #ffb4a2; }
.choices .btn.wrong { background: #e8e4dc; color: var(--ink-soft); box-shadow: none; transform: none; animation: shake .3s; }
.choices .btn.right { background: var(--kids); color: #fff; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
/* 帶著數：正在數的水果跳起來，數過的標上數字 */
.fruit { position: relative; display: inline-block; }
.fruit.counted { animation: none; }
.fruit.counted.counting { animation: fruit-count .5s cubic-bezier(.3, 1.6, .5, 1); }
.fruit.counted::after { content: attr(data-n); position: absolute; right: -6px; top: -6px; min-width: 22px; height: 22px; padding: 0 4px; border-radius: 11px; background: var(--sun); border: 2px solid var(--ink); font: 700 .8rem/18px var(--font-body); color: var(--ink); text-align: center; }
@keyframes fruit-count { 40% { transform: translateY(-14px) scale(1.2); } }
