.manipulatives-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.manipulative-tile {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  aspect-ratio: 1;
  margin: 0;
  padding: 24px;
  overflow: hidden;
  border: 3px solid var(--border);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(246, 213, 27, 0.32), rgba(255, 138, 30, 0.2)),
    var(--paper);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.manipulative-tile span {
  display: inline-block;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--yellow);
  font-family: "Bungee", sans-serif;
  font-size: clamp(0.78rem, 2vw, 1.05rem);
  line-height: 1.35;
}

.manipulative-tile small {
  color: var(--ink-soft);
  font-weight: 800;
}

.manipulative-tile-active {
  background:
    linear-gradient(135deg, rgba(246, 213, 27, 0.72), rgba(255, 138, 30, 0.42)),
    var(--paper);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.manipulative-tile-active:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

@media (max-width: 560px) {
  .manipulatives-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
