.cn-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.cn-tile {
  aspect-ratio: 1;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  line-height: 1.18;
  letter-spacing: -0.005em;
  box-shadow: var(--shadow-card);
  transition: transform 0.08s ease, background 0.1s ease, border-color 0.1s ease;
}
.cn-tile:hover { border-color: var(--accent); }
.cn-tile.selected {
  background: var(--bg-elev-2);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.cn-tile.shake { animation: shake 0.35s; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

.cn-locked {
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
  text-align: center;
  font-weight: 600;
  color: #111;
  animation: lock-in 0.4s ease both;
}
@keyframes lock-in {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: none; }
}
.cn-locked .label {
  font-size: 12px;
  opacity: 0.85;
  margin-bottom: 4px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cn-locked .items {
  font-size: 13.5px;
  letter-spacing: -0.005em;
}

.cn-locked.yellow { background: var(--yellow); }
.cn-locked.green  { background: var(--green); }
.cn-locked.blue   { background: var(--blue); color: #fff; }
.cn-locked.purple { background: var(--purple); color: #fff; }

/* Lives pips inherit .attempts/.pip from base */
