#active-game {
  text-align: center;
  margin: 2rem 0 5rem 0; /* top-right-bottom-left */
  display: none;
}

#game-over {
  width: 90%;
  max-width: 40rem;
  margin: auto;
  padding: 1rem 2rem;
  background-color: rgb(50, 5, 87);
  box-shadow: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  color: white;
  display: none; /* 자바로 나타나게 */
}

#game-over h2 {
  font-size: 3rem;
  margin: 0.5rem;
}

#active-player-name {
  font-weight: bold;
  color: rgb(50, 5, 87);
}

#game-board {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: 6rem 6rem 6rem; /* repea(3, 6rem)으로 입력해도 무방 */
  grid-template-rows: 6rem 6rem 6rem;
  justify-content: center;
  gap: 0.5rem;
}

#game-board li {
  background-color: rgb(215, 187, 247);
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  font-weight: bold;
}

#game-board li:hover {
  background-color: rgb(112, 13, 204);
}

#game-board li.disabled {
  background-color: rgb(112, 13, 204);
  color: white;
  cursor: default;
}
