/* Mønster (Memory Sweep) */
.sweep-wrap {
  width: min(100%, 460px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.grid.sweep {
  --n: 4;
  border: 3px solid var(--line);
  background: var(--surface);
}
.grid.sweep .cell {
  background: var(--surface);
  border-width: 0 1px 1px 0;
  border-color: #ddd;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.grid.sweep .cell.sweep-lit {
  background: #7c3aed;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}
.grid.sweep .cell.sweep-found {
  background: #16a34a;
  color: #fff;
}
.grid.sweep .cell.sweep-wrong {
  background: #dc2626;
  color: #fff;
  animation: shake 0.3s;
}
.grid.sweep .cell.sweep-missed {
  background: #c4b5fd;
  outline: 2px dashed #7c3aed;
}
