/* Find the Missing Number 2 (Math, counting piece 1). A row of numbers, 4 big choice buttons. Every tap target is 44 px or more. */
.mn2-intro { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.mn2-piko { width: 84px; height: auto; flex: none; }
.mn2-screen h1 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin: 4px 0 6px; }
.mn2-play { background: var(--paper); border: 2px solid var(--border); border-radius: 18px; padding: 18px; }
.mn2-prompt { margin: 0 0 12px; color: var(--muted); font-weight: 800; min-height: 1.4em; text-align: center; }
.mn2-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 8px 0 18px; }
.mn2-cell { display: inline-flex; align-items: center; justify-content: center; min-width: calc(var(--len, 2) * .62em + 1.4em); min-height: 64px; padding: 6px 10px; border-radius: 14px; background: var(--sky); border: 3px solid transparent; font-weight: 900; font-size: clamp(1.4rem, 3.4vw, 2.4rem); color: var(--ink); }
.mn2-blank { background: white; border: 4px dashed var(--blue-action); color: var(--muted); }
.mn2-blank-current { border-color: var(--ink); border-style: solid; box-shadow: 0 0 0 4px #ffe14d; color: var(--ink); }
.mn2-blank-done { background: #e6f6ec; border: 4px solid var(--green-dark); color: var(--ink); box-shadow: none; }
.mn2-choices { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 0 0 14px; }
.mn2-choice { min-width: 96px; min-height: 64px; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; touch-action: manipulation; }
/* A wrong answer is loud: red fill, thick red border, a cross sign (not colour alone), a short shake. It stays until the child's next tap. */
.mn2-choice.mn2-wrong { background: #ffd0d0; color: #8a0018; border: 4px solid #c4001f; text-decoration: line-through; animation: mn2-shake .4s; }
.mn2-x { font-weight: 900; text-decoration: none; display: inline-block; }
.mn2-feedback { min-height: 3em; margin: 0 0 6px; text-align: center; font-weight: 800; font-size: 1.15rem; }
.mn2-feedback-wrong { padding: 8px 14px; border: 3px solid #c4001f; border-radius: 14px; background: #fff0f0; color: #8a0018; }
.mn2-earned { margin: 0 0 8px; text-align: center; font-weight: 900; color: var(--green-dark); font-size: 1.2rem; }
.mn2-actions { display: flex; justify-content: center; }
.mn2-actions .btn { min-width: 150px; min-height: 54px; font-size: 1.1rem; }
.mn2-levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.mn2-level { min-height: 56px; font-size: 1.1rem; }
.mn2-end { text-align: center; }
.mn2-end-piko { width: 140px; height: auto; }
.mn2-total { font-size: 1.6rem; font-weight: 900; color: var(--green-dark); margin: 6px 0 14px; }
.mn2-hint-row { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.mn2-hint-used { margin: 0; font-size: 1.4rem; font-weight: 900; }
.mn2-hint-text, .mn2-help-text { font-size: 1.3rem; font-weight: 700; line-height: 1.5; max-width: 46em; }
.mn2-example { justify-content: flex-start; align-items: center; }
.mn2-plus { font-weight: 900; color: var(--green-dark); font-size: 1.2rem; }
@keyframes mn2-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .mn2-choice.mn2-wrong { animation: none; } }
@media (max-width: 600px) {
  .mn2-piko { width: 56px; }
  .mn2-play { padding: 12px; }
  .mn2-row { gap: 6px; }
  .mn2-cell { min-width: 0; flex: 1 1 0; padding: 6px 2px; font-size: 1.15rem; min-height: 56px; }
  .mn2-row[data-len="4"] .mn2-cell, .mn2-row[data-len="5"] .mn2-cell, .mn2-row[data-len="6"] .mn2-cell { flex: 0 0 calc(25% - 8px); font-size: 1.3rem; }
  .mn2-choices { gap: 10px; }
  .mn2-choice { min-width: 44%; }
  .mn2-example .mn2-plus { font-size: .9rem; }
}
