/* 공통 */

.game-intro .result-box .result-box-title:before,
.game-intro .game-count .count-label:before,
.game-wrapper.basic .test-lists-wrap .title:before {
  background: rgba(119, 156, 245, 0.5);
}

.game-result .recommend-list:before {
  background-color: #779cf5;
}

.game-result .img-halt-box .list > li a:nth-child(4):hover {
  color: #ffffff;
}

.result-box .img-halt-box ul.list > li span.label-top.first,
.result-box .img-halt-box ul.list > li span.label-top.second {
  text-shadow: 0.1rem 0.1rem #779cf5;
}

/* intro */

.game-intro .btn-game-start {
  background-color: #779cf5;
  color: #ffffff;
}

.game-intro .user-nickname input {
  display: block;
  margin: 1rem auto 0;
  width: 70%;
  height: 3rem;
  text-align: center;
  font-size: 1rem;
  color: #222222;
  padding: 0.5rem;
  font-weight: 700;
  border-radius: 10px;
  background-color: #f6f6f6;
}

.game-intro .user-nickname input::placeholder {
  color: #cecece;
}

.game-intro .user-nickname input:focus {
  outline: none;
  border: 3px solid #779cf5;
}

/* 문제페이지 - 공통 */

.game-wrapper .test-progress-header {
  border-top: 0.1rem solid #779cf5;
}

.game-wrapper.basic .app-header.page {
  border-bottom: 1px solid #779cf5;
}

.game-wrapper.basic .game-title.page {
  color: #779cf5;
}

.game-wrapper.basic .test-controller-top .back-btn-wrap {
  opacity: 0;
  pointer-events: none;
}

.game-wrapper .game-body .question-options .question-option {
  border: 0.1rem solid #e1e1e1;
}

.game-wrapper .game-body .question-options .question-option.active,
.game-wrapper .game-body .question-options .question-option:focus,
.game-wrapper .game-body .question-options .question-option:active {
  background-color: #bde7ff;
  border-color: #34b6ff;
}

.game-wrapper .game-body .question-options .question-option.active:after,
.game-wrapper .game-body .question-options .question-option:focus:after,
.game-wrapper .game-body .question-options .question-option:active:after {
  content: '';
  position: absolute;
  right: 1rem;
  background-image: url('https://cdn.banggooso.com/assets/images/game70/icon/O.png');
  background-size: 1.5rem 1.5rem;
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.game-wrap .game-body .question-title {
  font-size: 1.2rem;
  text-align: left;
  margin-top: 1.5rem;
  font-weight: 800;
}

.game-wrapper .game-progress .game-progress-inner {
  background-color: #779cf5;
}

.test-controller-top .game-stage-wrap {
  font-weight: 700;
}

/* 문제페이지 - 공통 */

.game-wrapper.basic .game-body {
  position: relative;
}

.game-wrap .game-body .skip-question {
  background-color: #779cf5;
}

.game-wrap .game-stage-wrap .current-stage {
  color: #779cf5;
}

.game-wrap .game-body .next-question {
  text-align: center;
  background-color: #779cf5;
  padding: 1rem;
  font-size: 1.3rem;
  font-family: 'Jalnan';
  color: #ffffff;
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  cursor: pointer;
}

/* 결과페이지 */

.game-wrapper .game-title {
  background-color: #779cf5;
  color: #ffffff;
}

.game-wrapper .result-icon {
  width: 4.5rem;
  margin: 0 auto 2rem auto;
}

.game-wrapper .result-icon > img {
  width: 100%;
}

.game-wrapper .complete-text {
  text-align: center;
  font-weight: 800;
  font-size: 1.2rem;
}

.game-wrapper .result-input {
  border: solid 2px #666666;
  border-radius: 5px;
  width: 70%;
  display: block;
  margin: 1rem auto 0;
  font-size: 0.85rem;
  text-align: center;
  color: #444444;
  padding: 0.2rem;
  text-overflow: ellipsis;
}

.pop_induce .popup .wrap .btn_goRank {
  visibility: hidden;
}

.new-popup.popup-module.pop_induce .popup div.btn_induce {
  padding: 0.8rem 0 1.2rem !important;
}

/* 결과페이지 - 로그인 안 했을 경우 */
.game-result {
  padding-top: 1.5rem !important;
}

.game-result .login-tab-section {
  position: relative;
  margin-top: 1.5rem;
  height: 16.5rem;
  text-align: center;
  margin-bottom: -1.2rem !important;
}

.share-sns-list {
  margin: 0rem !important;
}

.game-result .login-tab-section .save-button {
  width: 70%;
  margin-top: 0.3rem;
  display: inline-block;
  line-height: 2.5rem;
  background-color: #779cf5;
  color: #ffffff;
  border: 0.1rem solid #000000;
  border-radius: 3rem;
  box-shadow: 0.15rem 0.15rem #000000;
  font-size: 1.1rem;
  font-family: 'jalnan', sans-serif;
  cursor: pointer;
}

.game-result .login-tab-section .login-tab-bubble {
  width: 70%;
  margin-top: 0.7rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.game-result .login-tab-section .login-tab-bubble > img {
  width: 100%;
}

/* 결과페이지 - 로그인 했을 경우 */

.game-result .bottom-bubble-section {
  text-align: center;
  margin: 2rem 0 3rem 0;
  width: 100%;
}

.game-result .character-bubble {
  width: 60%;
  margin: 0 auto;
}

.game-result .character-image {
  width: 18%;
  margin: 0 auto;
}

.game-result .bottom-bubble-section .character-bubble > img,
.game-result .bottom-bubble-section .character-image > img {
  width: 100%;
  image-rendering: -moz-crisp-edges; /* Firefox */
  image-rendering: -o-crisp-edges; /* Opera */
  image-rendering: -webkit-optimize-contrast; /* Webkit (non-standard naming) */
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor; /* IE (non-standard property) */
}

/*  ranking */

.rankingBox .myRanking h3::before,
.rankingBox .topRanking h3::before {
  background-color: rgba(119, 156, 245, 0.5) !important;
}

.test-lists-wrap .rankingBox .list_content_title > ul > li {
  background-color: #ffffff;
  font-size: 0.75rem;
}

.rankingBox .topRanking ul li.answer {
  opacity: 0;
}

.test-lists-wrap .rankingBox .list_content_div > ul > li > ul > li:nth-of-type(3) {
  padding-right: 0.3rem;
}

.test-lists-wrap .rankingBox .list_content_div > ul > li > ul > li:nth-of-type(4) {
  padding-bottom: 0.1rem;
}

.test-lists-wrap .rankingBox div > ul > li > ul {
  font-size: 0.8rem;
  display: flex;
  align-items: center;
}

.test-lists-wrap .rankingBox .list_content_div > ul > li {
  background-color: #fafafa;
}

.test-lists-wrap .rankingBox div > ul > li > ul > li:nth-of-type(4) .go-answer-btn {
  width: 80%;
  height: 1.4rem;
  margin-left: 0.4rem;
  font-family: 'Jalnan';
  font-size: 0.75rem;
  color: #000000;
  background-color: #ffffff;
  border-radius: 0.3rem;
  box-shadow: 0.1rem 0.1rem #000000;
  border: 0.07rem solid #000000;
  display: table-cell;
  vertical-align: middle;
  cursor: pointer;
}

.test-lists-wrap .rankingBox .list_content_div > ul > li:nth-of-type(1) {
  background-color: #779cf5;
}

.test-lists-wrap .rankingBox .list_content_div > ul > li:nth-of-type(2) {
  background-color: rgba(119, 156, 245, 0.6);
}

.test-lists-wrap .rankingBox .list_content_div > ul > li:nth-of-type(3) {
  background-color: rgba(119, 156, 245, 0.3);
}

.test-lists-wrap .rankingBox .list_content_div > ul > li:nth-of-type(1) > ul > li:nth-of-type(1)::after,
.test-lists-wrap .rankingBox .list_content_div > ul > li:nth-of-type(2) > ul > li:nth-of-type(1)::after,
.test-lists-wrap .rankingBox .list_content_div > ul > li:nth-of-type(3) > ul > li:nth-of-type(1)::after {
  content: '';
  padding-right: 1rem;
  top: 0.02rem;
  left: 0.8rem;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: 65%;
}

.rankingBox .list_content_div {
  height: 27rem;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.rankingBox .btn_refresh > img {
  width: 100%;
}

/* 답변 페이지 */

.game-answer {
  height: auto;
  padding: 2rem 20px 3rem;
  text-align: center;
}

.app-main.answer-bg {
  background-color: #779cf5;
}

.game-answer .answer-list-icon {
  width: 3.5rem;
  margin: 0 auto 0.5rem;
}

.game-answer .answer-list-icon > img {
  width: 100%;
}

.game-answer .maker-test-block {
  font-family: 'Jalnan';
  color: #000000;
}

.game-answer .maker-test-block .maker-name {
  color: #ffffff;
}

.game-answer .open-answer {
  font-family: 'Jalnan';
  font-size: 2.25rem;
  color: #ffffff;
  text-shadow: -1.5px -1.5px 0 #000000, 1.5px -1.5px 0 #000000, -1.5px 1.5px 0 #000000, 1.5px 1.5px 0 #000000,
    0.15rem 0.15rem #000000;
}

.game-answer .player-name-box {
  background-color: #d1dfff;
  display: inline-block;
  border-radius: 0.3rem;
  padding: 0.4rem 0.7rem;
  font-family: 'Jalnan';
  font-size: 0.85rem;
  margin: 1.5rem 0;
  color: #000000;
}

.game-answer .question-answer-box {
  background-color: #ffffff;
  border-radius: 0.3rem;
  padding: 0.6rem;
  border: 0.15rem solid #000000;
  box-shadow: 0.18rem 0.18rem #000000;
  margin-bottom: 1rem;
}

.game-answer .question-answer-box:last-of-type {
  margin-bottom: 0rem;
}

.game-answer .question-answer-box .question-text {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.game-answer .question-answer-box .question-option {
  border: 0.1rem solid #e1e1e1;
  border-radius: 3rem;
  padding: 0.5rem 0;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: bold;
  color: #3c3c3c;
}

.game-answer .question-answer-box .question-option.image {
  width: 48%;
  height: 8rem;
  border-radius: 1rem;
  display: inline-block;
  padding: 0;
}

.game-answer .question-answer-box .question-option.image > img {
  width: 100%;
  height: 70%;
  object-fit: cover;
}

.game-answer .question-answer-box .question-option.right {
  border: 0.1rem solid #34b6ff;
  background-color: #bde7ff;
}

.game-answer .question-answer-box .question-option.wrong {
  border: 0.1rem solid #ff7070;
  background-color: #ffcece;
}

.game-answer .question-answer-box .question-option.right:after {
  content: '';
  position: absolute;
  right: 1rem;
  background-image: url('https://cdn.banggooso.com/assets/images/game70/icon/O.png');
  background-size: 1.5rem 1.5rem;
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.game-answer .question-answer-box .question-option.wrong:after {
  content: '';
  position: absolute;
  right: 1rem;
  background-image: url('https://cdn.banggooso.com/assets/images/game70/icon/X.png');
  background-size: 1.5rem 1.5rem;
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.myroom-popup .popup.my_pop .btn_retest {
  background-color: #779cf5 !important;
  color: white !important;
}
