/* 공통 */

.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 {
  background: #ffd524;
}

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

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

.result-box .img-halt-box ul.list > li span.label-top.first,
.result-box .img-halt-box ul.list > li span.label-top.second,
.game-result .result-box.most .img-halt-box .list li:last-child > span.label-top,
.game-result .result-box.most .img-halt-box .list li:last-child > span.label-top.first {
  background: none;
  text-indent: 0;
  color: #000000;
  text-shadow: 0.1rem 0.1rem #ffc872;
  height: auto;
  font-family: 'Jalnan', sans-serif;
}

.game-wrapper .game-wrap {
  padding: 0;
}

.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 */

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

.game-intro .btn-wrap {
  margin: -4.1875rem auto 2.1875rem auto;
}

.game-intro .game-count .count-label,
.game-intro .result-box .result-box-title {
  padding: 0 0.35rem;
}

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

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

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

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

.game-wrap.test-progress-header > .test-controller {
  padding: 0 1.625rem;
}

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

.game-wrapper .game-body .question-options .question-option:active,
.game-wrapper .game-body .question-options .question-option:focus {
  background-color: #ffd524;
  color: #ffffff;
}

.game-wrap .game-body .question-image {
  margin: 1rem auto 1.625rem;
}

.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: #ffd524;
  color: #ffffff;
}

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

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

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

.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-wrapper .game-title.page {
  color: #ffd524;
  vertical-align: baseline;
}

/* 결과페이지 */

.game-result #result-title {
  padding: 0;
}

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

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

.game-result #result-title h1 p {
  line-height: 1.2em;
}

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

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

.game-result .share-sns-list span {
  margin: 0;
  font-size: 1rem;
}

.game-result .num-statement > span {
  color: #ffd524;
  vertical-align: baseline;
  font-family: 'Jalnan', sans-serif;
}

.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-title {
  font-size: 1.2rem;
}

.game-result .result-box .ment-margin {
  margin-top: 1.5rem;
}

.game-result .result-box .result-bot-text > p {
  color: #666666;
  font-size: 0.78125rem;
  font-weight: 600;
  font-family: 'RixGulim', sans-serif;
}

.answer-btn {
  background: #FF4C4E;
  width: 86.445%;
  margin: 1.5rem auto 0;
  text-align: center;
  border-radius: 3rem;
  border: 0.2rem solid #222222;
  font-weight: bold;
  font-family: 'Jalnan', sans-serif;
  font-size: 1.5rem;
  padding: 0.6rem 0;
  box-shadow: 0.08rem 0.14rem 0 #222222;
}

.answer-btn > a {
  color: #ffffff;
}
.answer-btn > a > img {
  margin-top: -0.6rem;
  margin-left: 0.6rem;
  width: 2rem;
}

.game-result .btn_retest a {
  background-color: #ffd524;
  color: #222222;
  border: 0.2rem solid #000000;
  background-image: url('https://cdn.banggooso.com/assets/images/common/re-test-b.png') !important;
  background-position: 80% center;
}

.game-result .btn_myranking a {
  background-color: #ffe784;
  border: 0.2rem solid #000000;
}

.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%;
  font-family: 'Jalnan';
}
.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 .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: #ffd524;
  border-radius: 15px;
}

/*  결과페이지 - 밈 순위  */

.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 .game-result .btn_retest > a,
.game-wrapper.basic .game-result .btn_myranking > a {
  font-size: 1.2rem;
}

/* 퀴즈형 뒤로가기 삭제 */

.game-wrapper.basic .test-controller-top .back-btn-wrap {
  visibility: hidden;
}

/* list-type */

.game-wrapper.basic .test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .item-title p {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
  color: #221B5E;
}

.game-wrapper .test-lists-wrap .test-lists .test-list-item.rank_list .num {
  margin-right: 0.2rem;
  width: 16%;
  text-shadow: 3px 4px 0px rgb(255 213 36);
}

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

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

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

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

/*  ranking */

.game-wrapper.basic .intro-ranking {
  padding-bottom: 0;
}

.rankingBox .topRanking h3::before {
  background-color: #ffd524;
}

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

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

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

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

.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: '';
  display: inline-block;
  position: absolute;
  padding-right: 1rem;
  top: -0.07rem;
  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: hidden; /*화면에 보이는 랭킹 수가 많아질 경우 auto*/
}

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

/* popup */

#popup_login .popup {
  background: url('https://cdn.banggooso.com/assets/images/game1021/answer/popup_answer.jpg') no-repeat;
  background-size: 100% 100%;
  border-radius: 1rem;
  padding-bottom: 25.5rem;
  border: .1rem solid #ffffff;
}

#popup_login .btn_induce.btn {
  bottom: 2rem;
}

/* answer list */

.game-wrapper.basic .app-main {
  min-height: 0;
}

.icon-people {
  width: 1.175rem;
  height: 1.37rem;
  background-image: url('https://cdn.banggooso.com/assets/images/icons/icon-people.png');
  display: inline-block;
  background-size: 100%;
  background-position: center;
}

.app-header button.app-header-btn:nth-child(3) {
  right: 12px;
}

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