@charset "utf-8";

.char-start {
  left: 70px !important;
  top: 62px !important;
  width: 84px;
}
.char-start img {
  width: 100% !important;
  height: auto;
}
#lst-quest {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  font-size: 14px;
  font-weight: 700;
}

#lst-quest p {
  position: absolute;
  text-align: left;
  width: 255px;
}

#lst-quest p>b {
  position: absolute;
  top: -2px;
  left: -25px;
}

#gameStep {
  top: 0px;
  left: 0px;
}
#gameStep li:first-child {
  display: none;
}

#game.start #gameStep li.active ~ *::before {
  opacity: 0;
}

#game.start #gameStep li.active::before {
  opacity: 1;
}

#gameStep li::before {
  content: "";
  position: absolute;
  left:0px;
  top:0px;
  z-index: 999;
  width: 20px;
  height: 20px;
  background-size: 100% auto;
  opacity: 0;
  transition: opacity 0.8s;
  border: 3px solid red;
  border-radius: 50px;
}

/* 활성화된 li와 그 이전의 모든 형제 li들의 ::before도 보이게 설정 */
#game.start #gameStep li.active::before,
#game.start #gameStep li.active ~ li::before,
#game.start #gameStep li::before {
  opacity: 1; /* 활성화된 후에도 계속 보이도록 설정 */
}

#gameStep li:first-child::before {
  display: none;
}

#gameStep li:nth-child(2)::before {
  left: -285px;
  top: 8px;
}
#gameStep li:nth-child(3)::before {
  left: 90px;
  top: 175px;
}
#gameStep li:nth-child(4)::before {
  left: -297px;
  top: 108px;
}
#gameStep li:nth-child(5)::before {
  left: 296px;
  top: 258px;
}
#gameStep li:nth-child(6)::before {
  left: -191px;
  top: 199px;
}
#gameStep li:nth-child(7)::before {
  left: 261px;
  top: 343px;
}
#gameStep li:nth-child(8)::before {
  left: -179px;
  top: 278px;
}

/* #gameQ li.active.fin > p {
  width: 100%;
  text-indent: -9999px !important;
  background: url(../../../common/img/social/game/final.png) no-repeat center/cover !important;
}

#gameQ li.active.fin > b {
  display: none !important;
} */
