body {
  margin: 0;
  font-family: "Microsoft YaHei", sans-serif;
  background: #145041;
  overflow: hidden;
}

.container {
  text-align: center;
}

.title {
  font-size: 32px;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 2px 2px #000;
}

.role-selection img {
  width: 120px;
  margin: 10px;
  cursor: pointer;
  transition: transform 0.3s;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.role-selection img:hover {
  transform: scale(1.1);
}

.game-scene {
  position: relative;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.character {
  width: 200px;
  cursor: pointer;
  transition: transform 0.3s;
  margin: 20px 0;
}

.dialog-box {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 250px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  display: none;
}

.dialog-box h3 {
  margin-top: 0;
  font-size: 20px;
}

.dialog-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dialog-box li {
  padding: 8px;
  background: #eee;
  margin: 5px 0;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.dialog-box li:hover {
  background: #ddd;
}

.back-btn {
  /* position: absolute;
  top: 20px;
  left: 20px; */
  background-color: #367f53;
  border-color: #5ebc70;
  color: #ead9af;
  font-size: 18px;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.close-btn {
  position: absolute;
  top: 5px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.footer {
  position: fixed;
  bottom: 10px;
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 18px;
}