/* Number Order (Math, counting piece 2). Tiles are dragged (or tapped, then a spot is tapped) into unnumbered spots. Every tap target is 44 px or more. */
.no-intro { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.no-piko { width: 84px; height: auto; flex: none; }
.no-screen h1 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin: 4px 0 6px; }
.no-play { background: var(--paper); border: 2px solid var(--border); border-radius: 18px; padding: 16px; }
.no-instr { text-align: center; margin-bottom: 8px; }
.no-prompt { margin: 0 0 6px; color: var(--ink); font-weight: 800; font-size: 1.15rem; min-height: 1.4em; text-align: center; }
.no-tip { margin: 0; color: var(--muted); font-weight: 700; font-size: .95rem; }
.no-banner { display: inline-block; margin: 4px 0; padding: 6px 16px; border-radius: 999px; background: #ffe14d; color: var(--ink); border: 3px solid var(--ink); font-weight: 900; font-size: 1.15rem; }
.no-ends { display: flex; align-items: center; gap: 10px; justify-content: space-between; margin: 10px 4px 2px; font-weight: 900; color: var(--green-dark); font-size: 1.05rem; }
.no-arrow { flex: 1; text-align: center; font-size: 1.6rem; line-height: 1; color: var(--muted); }
.no-spots, .no-tray { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 8px 0 14px; --fs: 2rem; }
.no-tray { padding: 12px; border-radius: 16px; background: var(--sky); min-height: 76px; touch-action: none; }
.no-spots[data-len="4"], .no-tray[data-len="4"] { --fs: 1.9rem; }
.no-spots[data-len="5"], .no-tray[data-len="5"], .no-spots[data-len="6"], .no-tray[data-len="6"], .no-spots[data-len="7"], .no-tray[data-len="7"] { --fs: 1.6rem; }
.no-spots[data-len="8"], .no-tray[data-len="8"], .no-spots[data-len="9"], .no-tray[data-len="9"], .no-spots[data-len="10"], .no-tray[data-len="10"], .no-spots[data-len="11"], .no-tray[data-len="11"] { --fs: 1.35rem; }
.no-spots[data-len="12"], .no-tray[data-len="12"], .no-spots[data-len="13"], .no-tray[data-len="13"], .no-spots[data-len="14"], .no-tray[data-len="14"], .no-spots[data-len="15"], .no-tray[data-len="15"] { --fs: 1.1rem; }
/* spots */
.no-spot { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: calc(var(--chars, 2) * .62em + 1.6em); min-height: 64px; padding: 6px 8px; font-size: var(--fs); border-radius: 14px; background: white; border: 4px dashed var(--blue-action); color: var(--ink); cursor: pointer; font-family: inherit; touch-action: manipulation; }
.no-spots[data-kind="items"] .no-spot, .no-spots[data-kind="blocks"] .no-spot { min-width: 96px; min-height: 100px; }
.no-spot.no-target { border-color: var(--ink); box-shadow: 0 0 0 3px #ffe14d; }
.no-spot.no-filled { background: #e6f6ec; border: 4px solid var(--green-dark); cursor: default; }
.no-spot.no-shown { background: #fff3c4; border: 4px dotted #b07a00; }
.no-check, .no-shown-mark { position: absolute; top: -12px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--green-dark); color: white; font-size: 1rem; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.no-shown-mark { background: #b07a00; }
/* tiles */
.no-tile { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; position: relative; min-width: calc(var(--chars, 2) * .62em + 1.6em); min-height: 64px; padding: 6px 12px; font-size: var(--fs); border-radius: 14px; background: #ffe9a8; border: 4px solid var(--ink); color: var(--ink); font-family: inherit; font-weight: 900; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; box-shadow: 0 3px 0 rgba(0, 0, 0, .25); }
.no-tile.no-placed { cursor: default; box-shadow: none; background: transparent; border: 0; min-width: 0; min-height: 0; padding: 0; }
.no-tile.no-selected { background: #fff3a0; outline: 5px solid #1d6fe0; outline-offset: 2px; transform: translateY(-3px); }
.no-tile.no-dragging { opacity: .35; }
.no-ghost { position: fixed; z-index: 9999; pointer-events: none; transform: translate(-50%, -50%) scale(1.06); opacity: .92; display: inline-flex; box-sizing: border-box; box-shadow: 0 8px 18px rgba(0, 0, 0, .35); }
.no-num { font-weight: 900; line-height: 1.1; white-space: nowrap; }
.no-caption { font-size: 1.2rem; font-weight: 900; color: var(--green-dark); }
.no-tile.no-items, .no-tile.no-blocks { font-size: 1rem; }
.no-tile.no-items .ns-items { display: flex; flex-wrap: wrap; justify-content: center; max-width: 190px; gap: 2px; }
.no-tile.no-blocks .ns-blocks { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 8px; max-width: 320px; }
.no-tile .ns-group { display: inline-flex; flex-wrap: wrap; align-items: flex-end; gap: 2px; }
.no-tile.no-placed.no-items .ns-items { max-width: 150px; }
.no-tile.no-placed.no-blocks .ns-blocks { max-width: 200px; }
.no-tile img { display: block; }
/* a wrong spot is loud: red fill, thick red border, a cross sign (not colour alone), a short shake. It stays until the child's next tap. */
.no-tile.no-wrong { background: #ffd0d0; color: #8a0018; border: 5px solid #c4001f; animation: no-shake .4s; }
.no-spot.no-wrong-spot { background: #ffd0d0; border: 5px solid #c4001f; color: #8a0018; }
.no-x { position: absolute; top: -12px; left: -8px; width: 28px; height: 28px; border-radius: 50%; background: #c4001f; color: white; font-weight: 900; font-size: 1rem; display: flex; align-items: center; justify-content: center; }
.no-wrong-spot .no-x { top: 50%; left: 50%; width: 40px; height: 40px; transform: translate(-50%, -50%); font-size: 1.6rem; }
.no-feedback { min-height: 3em; margin: 0 0 6px; text-align: center; font-weight: 800; font-size: 1.15rem; }
.no-feedback-wrong { padding: 8px 14px; border: 3px solid #c4001f; border-radius: 14px; background: #fff0f0; color: #8a0018; }
.no-earned { margin: 0 0 8px; text-align: center; font-weight: 900; color: var(--green-dark); font-size: 1.2rem; }
.no-actions, .no-round-done { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.no-round-done h2 { margin: 4px 0 0; }
.no-round-done p { margin: 0; font-weight: 800; font-size: 1.15rem; }
.no-round-diff { color: #8a5a00; }
.no-actions .btn, .no-round-done .btn { min-width: 160px; min-height: 54px; font-size: 1.1rem; margin-top: 6px; }
.no-levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.no-level { min-height: 56px; font-size: 1.1rem; }
.no-end-page { text-align: center; }
.no-end-piko { width: 140px; height: auto; }
.no-total { font-size: 1.6rem; font-weight: 900; color: var(--green-dark); margin: 6px 0 14px; }
.no-hint-row { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.no-hint-used { margin: 0; font-size: 1.4rem; font-weight: 900; }
.no-hint-text, .no-help-text { font-size: 1.3rem; font-weight: 700; line-height: 1.5; max-width: 46em; }
.no-example { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 8px 0; font-size: 2rem; }
.no-count-one { display: inline-flex; flex-direction: column; align-items: center; }
@keyframes no-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .no-tile.no-wrong { animation: none; } .no-tile.no-selected { transform: none; } }
@media (max-width: 600px) {
  .no-piko { width: 56px; }
  .no-play { padding: 10px; }
  .no-spots, .no-tray { gap: 6px; }
  .no-spots, .no-tray { --fs: 1.6rem; }
  .no-spots[data-len="4"], .no-tray[data-len="4"], .no-spots[data-len="5"], .no-tray[data-len="5"], .no-spots[data-len="6"], .no-tray[data-len="6"], .no-spots[data-len="7"], .no-tray[data-len="7"] { --fs: 1.3rem; }
  .no-spots[data-len="8"], .no-tray[data-len="8"], .no-spots[data-len="9"], .no-tray[data-len="9"], .no-spots[data-len="10"], .no-tray[data-len="10"], .no-spots[data-len="11"], .no-tray[data-len="11"] { --fs: 1.1rem; }
  .no-spots[data-len="12"], .no-tray[data-len="12"], .no-spots[data-len="13"], .no-tray[data-len="13"], .no-spots[data-len="14"], .no-tray[data-len="14"], .no-spots[data-len="15"], .no-tray[data-len="15"] { --fs: .9rem; }
  .no-spot { padding: 4px 4px; border-width: 3px; min-width: calc(var(--chars, 2) * .62em + 1em); }
  .no-tile { padding: 4px 6px; min-width: calc(var(--chars, 2) * .62em + 1em); }
  .no-spots[data-kind="items"] .no-spot, .no-spots[data-kind="blocks"] .no-spot { min-width: 70px; min-height: 80px; }
  .no-tile.no-items .ns-items { max-width: 130px; }
  .no-tile.no-blocks .ns-blocks { max-width: 170px; }
  .no-tile.no-placed.no-items .ns-items { max-width: 110px; }
  .no-tile.no-placed.no-blocks .ns-blocks { max-width: 130px; }
  .no-ends { font-size: .95rem; }
}

/* r2b delayed mode (Grade 1 and up): a tile waiting to be checked sits in a neutral blue spot, never green or red. */
.no-spot.no-pending { background: var(--sky); border: 4px solid var(--blue-action); cursor: pointer; }
