canvas { border: 1px solid black; cursor: crosshair; }
	#board {
	  position: relative;
	  z-index: 1;
	}

	canvas + canvas {
	  position: absolute;
	  z-index: 2;
	  pointer-events: none; /* Prevent cursor canvas from blocking mouse events */
	}
	
	#cursor-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none; /* Prevent blocking user interactions */
  z-index: 1000;
}

.user-cursor {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid;
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.1s ease-out;
}

.cursor-name {
  position: absolute;
  top: -20px;
  left: 15px;
  background: #333;
  color: white;
  padding: 2px 5px;
  font-size: 12px;
  border-radius: 4px;
  white-space: nowrap;
}
#chatbox {
  width: 100%;
  max-width: 600px;
  margin: 10px auto;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
}

#chat-messages {
  height: 200px;
  overflow-y: scroll;
  border-bottom: 1px solid #ddd;
  padding: 5px;
  background: #f9f9f9;
}

#chat-input {
  flex: 1;
  border: none;
  padding: 5px;
}

#chat-send {
  border: none;
  background: #4caf50;
  color: white;
  padding: 5px 10px;
  cursor: pointer;
}

.chat-message {
  padding: 2px 5px;
}

#user-list {
  background: #f4f4f4;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 5px;
  margin-bottom: 10px;
  max-width: 600px;
  overflow: auto;
}

#user-list h3 {
  margin: 0;
  font-size: 14px;
}

#user-list-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

#user-list-items li {
  margin: 3px 0;
  font-size: 12px;
}