/* 공통 */

.game-intro .result-box .result-box-title:before,
.game-intro .game-count .count-label:before,
.game-result .result-box.type .result-box-title:before,
.game-result .result-box.most .result-box-title:before,
.game-result .result-box h3.result-box-title p:before,
.game-wrapper.basic .test-lists-wrap .title:before {
  background: #baff4a;
}

.game-result .recommend-list:before {
  background-color: #863cc7;
}

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

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



.game-wrapper .game-body .question-options .question-option:active,
.game-wrapper .game-body .question-options .question-option:focus,
.game-intro .btn-game-start {
  background-color: #863cc7;
  color: #ffffff;
}

.game-intro .btn-game-start {
  border: 0.25rem solid #222222;
  box-shadow: 0.3rem 0.4rem 0 #222222;
}

.game-wrapper .app-header .app-header-btn.back {
  height: 100%;
  background: transparent url('https://cdn.banggooso.com/assets/images/icons/back-arrow-b.png') no-repeat center center /
    23%;
}

/* intro */


.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 #baff4a;
}

.game-intro .game-intro-title {
  font-size: 1.6rem;
}

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

.app .app-header.page {
  border-bottom: 1px solid #863cc7;
}



.game-result #result-title h2 {
  font-family: 'Jalnan', sans-serif;
  letter-spacing: 0;
  font-size: 1.5rem;
  margin-bottom: 0;
}

.game-result #result-title h1 {
  color: #863cc7;
  font-size: 1.8125rem;
  font-family: 'Jalnan', sans-serif;
  word-break: keep-all;
  word-wrap: break-word;
}



.game-result #result-title h1 p:first-child {
  color: #222;
  font-size: 1.5rem;
  line-height: 1.5;
}

.game-result .title > small {
  font-size: 1.5rem;
  color: #25ac39;
  margin-bottom: 0;
}

.game-result .title {
  margin-bottom: 0.5rem;
}

.game-wrapper .test-controller-top > .back-btn-wrap button {
  color: #999999;
}


.game-wrap .game-body .question-options button.question-option {
  min-height: 4rem;
  padding: 0.7rem;
}

.game-wrap .game-body .question-options button.question-option:hover,
.game-wrap .game-body .question-options button.question-option:active {
  background-color: #863cc7;
  color: #ffffff;
}


.game-wrap .game-body .no-image .question-title {
  font-size: 1.1rem;
  margin: 5rem auto 3rem;
}

.game-wrapper .test-step-0 .question-content {
  text-align: center;
  margin-bottom: 4.5rem;
  font-family: 'Dolbomche_R', sans-serif;
  font-size: 1rem;
}

.game-wrapper .game-title {
  background-color: #863cc7;
  color: #ffffff;
}

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

.game-wrapper .game-progress .game-progress-inner {
  background-color: #863cc7;
}

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

.game-wrapper.basic .test-progress-header .game-header .game-timer .game-timer-progressbar-inner {
  background-color: #baff4a;
}

.game-wrapper.basic .game-wrap .game-header {
  flex-direction: column;
}

.game-wrap .game-header .game-stage-title {
  margin: -0.2rem 0 0.85rem;
  text-align: center;
  font-family: 'Jalnan', sans-serif;
  font-size: 0.8rem;
}

/* 결과페이지 */

.game-result {
  height: auto;
  background: #ffffff;
}

.game-wrapper .game-title.page,
.game-result .num-statement > span {
  color: #863cc7;
}

.game-wrapper .game-title {
  font-size: 1.25rem;
}

.game-wrapper .game-result .result-box.first-box {
  transform: none;
  padding: 1.5rem 1.1rem 0.7rem 1.1rem;
}

.game-result .result-box,
.result-box.most {
  border: 0.2rem solid #f1f1f1;
  padding: 1.5rem 1.1rem;
}

.game-result .result-box .result-box-title {
  font-size: 1.2rem;
}

.game-result .result-bot-text .subtitle {
  color: #863cc7;
  font-weight: normal;
}

.game-result .result-bot-text .mark {
  background-color: #7e7e7e;
}

.game-result .result-bot-text .warning-text {
  font-size: 0.5rem;
  color: #a1a1a1;
}

.game-result .result-bot-text .result-small-text {
  text-align: justify;
  color: #666666;
  font-size: 0.8rem;
  padding: 0 0.625rem;
}

.result-box > .result-bot-text > .btn-other-type {
  background-color: #863cc7;
  border-color: #222222;
  color: #ffffff;
  box-shadow: 0.25rem 0.25rem 0 #222222;
  margin: 1rem 0;
  line-height: 2.5rem;
  padding: 0.6rem 0;
  display: inline-block;
  width: 90%;
  border-width: 0.2rem;
  border-style: solid;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: 'jalnan', sans-serif;
  border-radius: 3rem;
}

.game-result .btn_retest a {
  background-color: #863cc7;
  color: #ffffff;
}

.game-result .btn_myranking a {
  background-color: #d3a7f9;
  background-image: url('https://cdn.banggooso.com/assets/images/common/grape-b.png');
  padding-right: 10%;
  background-position: 80% center;
  background-repeat: no-repeat;
}

.game-result .btn-gray-round {
  background-color: #d2d2d2;
  color: #ffffff;
}

.game-wrapper .result-box .img-halt-box ul.list > li span.label-bottom {
  display: flex;
  height: 3.5rem;
  flex-direction: column;
  justify-content: space-between;
  margin: 0.7rem 0;
}

.game-wrapper .result-box .img-halt-box ul.list > li span.label-bottom > span {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.game-wrapper .result-box.type .img-halt-box ul.list > li span.label-bottom {
  height: 2rem;
  justify-content: center;
}

.game-wrapper .result-box .img-halt-box ul.list > li span.label-bottom br {
  display: none;
}

.game-result .img-halt-box .list li > span.label-bottom > span {
  line-height: 1.3;
}

.game-result .result-box .subtitle .subtitle.mark {
  width: 0.4rem;
  height: 0.4rem;
  background-color: #863cc7;
  margin-right: 0.2rem;
}

/*  결과페이지 - 먹잘알 능력치  */

.game-result .ablility-wrap {
  margin-top: 1.5rem;
}

.game-result .ablility-wrap .ability-box {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  height: 1.5rem;
}

.game-result .ablility-wrap .ability-box .ability-title {
  width: 20%;
  font-family: 'Jalnan', sans-serif;
  font-size: 0.7rem;
  color: #4a4a4a;
  word-break: keep-all;
  margin-right: 0.5rem;
}

.game-result .ablility-wrap .ability-box .progress-bar {
  position: relative;
  width: 70%;
  height: 0.6rem;
  background: #f2f2f2;
  border-radius: 15px;
}

.game-result .ablility-wrap .ability-box .progress-bar span {
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: #863cc7;
  border-radius: 15px;
}

/*  결과페이지 - 먹잘알 등급표 */

.game-result .result-box .result-grade-img {
  margin-top: 1rem;
}

/*  결과페이지 - 먹잘알 순위  */

.game-result .result-box .btn_medal {
  font-family: 'Jalnan', sans-serif;
  line-height: 2.48rem;
  font-size: 0.92rem;
}

.game-result .result-box .medal-box {
  color: #4a4a4a;
  font-weight: 600;
  position: relative;
  padding-top: 6rem;
}

.game-result .medal-box .ranking {
  position: absolute;
  width: 14.5%;
  height: 3.5rem;
  top: 50%;
}

.game-result .medal-box .ranking .name {
  display: inline-block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.7rem;
  padding-top: 0.5rem;
}

.game-result .medal-box .ranking.rank1 {
  left: 50%;
  transform: translate(-50%, -160%);
}

.game-result .medal-box .ranking.rank2 {
  right: 0;
  transform: translate(-62.5%, -100%);
}

.game-result .medal-box .ranking.rank3 {
  left: 0;
  transform: translate(62.5%, -35%);
}

.game-result .medal-box .medal-user-img {
  border-radius: 50%;
}

/* 퀴즈형 뒤로가기 삭제 */
.game-wrapper.basic .test-controller-top .back-btn-wrap {
  visibility: hidden;
}

/* list-type*/

.game-wrapper .test-lists-wrap .title:before {
  height: 40%;
  left: 0;
  bottom: 0;
}

.game-wrapper .test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .item-title p {
  display: none;
}

.game-wrapper .test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .item-title span {
  display: inline-block;
  font-size: 1rem;
  line-height: 1.3;
}

.game-wrapper.basic .test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .item-title span::first-line {
  font-size: 0.85rem;
  color: #222;
}

.game-wrapper .test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .item-title p {
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.game-wrapper .test-lists-wrap .test-lists .test-list-item.rank_list .num {
  margin-right: 0.2rem;
  width: 16%;
  text-shadow: 3px 4px 0px #baff4a;
}

.test-lists-wrap .title:before {
  background-color: #baff4a;
}

.test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .item-title p {
  color: #222;
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
}

.test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .item-title span {
  color: #863cc7;
}

.test-lists-wrap .test-lists .test-list-item.rank_list .percen {
  background-color: #ededed;
}

.app .test-lists-wrap .test-lists .test-list-item:first-child {
  border-color: #863cc7;
}

.app .test-lists-wrap .test-lists .test-list-item:nth-child(2) {
  border-color: #d3a7f9;
}

.app .test-lists-wrap .test-lists .test-list-item:nth-child(3) {
  border-color: #ecd6ff;
}

/*  ranking */

.rankingBox .myRanking h3::before,
.rankingBox .topRanking h3::before {
  background-color: #baff4a;
}

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

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

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

.rankingBox .list_content_div {
  height: 27rem;
  width: 100%;
  overflow-x: hidden;
  overflow-y: hidden; /*화면에 보이는 랭킹 수가 많아질 경우 auto*/
}

.test-lists-wrap .rankingBox div > ul > li > ul > li:nth-of-type(2) {
  width: 30%;
}

.rankingBox .myRanking .btn_refresh img,
.rankingBox .topRanking .btn_refresh img {
  width: 100%;
}
