/*font*/

@font-face {
  font-family: 'MapoGoldenPier';
  src: url('https://cdn.banggooso.com/assets/fonts/MapoGoldenPier.ttf') format('truetype');
}

@font-face {
  font-family: 'RixYeoljeongdo';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2102-01@1.0/RixYeoljeongdo_Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* 리셋 */

.result-box .img-halt-box ul.list > li span.label-top.second {
  background: none;
}

/* 공통 */

.app-main {
  height: 100%;
}

.app-main,
.game-wrapper .app-header {
  border-bottom: 0;
}

.game-wrapper .app-header {
  background-color: #ffffff;
}

.game-wrapper .fa-chevron-left:before {
  color: #000000;
}

.game-intro .game-count .count-num,
.game-intro .game-count .count-label,
.result-box .img-halt-box ul.list > li span.label-bottom,
.game-intro,
.game-intro .result-box .result-box-title,
.app-header-btn,
.game-result .img-halt-box .list li > span.label-bottom,
.game-result .result-box .result-box-title,
.game-result {
  color: #000000 !important;
  font-family: 'RixGulim';
  font-weight: 400;
}

.game-intro .btn-game-start {
  color: #000000;
  box-shadow: none;
}

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

.app-main .result-bot-text .mark {
  background-color: #831818;
}

.game-intro .result-box .result-box-title:before,
.game-result .result-box .result-box-title:not(.result-bot-text h3):before,
.game-result .result-box .result-box-title > p:before,
.game-result .result-box h3.result-box-title span:before,
.game-result .result-box h3.result-box-title p:before,
.game-intro .game-count .count-label:before {
  background-color: #c6aa9d !important;
}

.game-intro .game-count .count-num,
.game-intro .game-count .count-label,
.game-intro .game-intro-text,
.game-intro .game-intro-title,
.game-intro .btn-game-start,
.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 .img-halt-box .list.most-type li > span.label-bottom,
.game-result .btn_myranking a,
.app-main .btn_retest a,
.game-result .img-halt-box .list li > span,
.game-result .result-box .result-box-title {
  font-family: 'MapoGoldenPier' !important;
  font-weight: bold;
}

.game-result .result-box {
  border: none;
}

.result-box.most .img-halt-box .list.most_types li > span.label-bottom {
  font-family: 'RixGulim' !important;
}

.game-result .result-box.most .result-box-title2 > small,
.game-result .img-halt-box .list li > span.label-bottom > em {
  font-weight: bold;
}

.game-result .img-halt-box .list > li a:nth-child(4) {
  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 {
  color: #000000;
  text-shadow: 0.1rem 0.1rem #c6aa9d;
  margin: 0 0 0.5rem 0;
}

.result-box .img-halt-box ul.list > li span.label-top {
  font-size: 1.2rem;
}

.app-main.background-pattern {
  background-image: url('https://cdn.banggooso.com/assets/images/game55/result_pattern.jpg');
}

/* 인트로페이지 */

.game-intro {
  position: relative;
  padding-bottom: 3rem;
}

.game-intro .btn-wrap {
  width: 16.847rem;
  margin: -90% auto 1.1875rem auto;
}

.game-intro .btn-wrap .btn-game-start {
  border: 0.1rem solid transparent;
  background: #e9d7c6;
  line-height: 3.5rem;
}

.game-intro .volBox {
  margin-bottom: 4.5rem;
  text-align: center;
}

.game-intro .volBox > img {
  width: 65%;
}

.game-intro .result-box .result-box-title > span,
.game-intro .result-box.most .img-halt-box ul.list > li span.label-top {
  font-family: 'MapoGoldenPier';
  font-weight: bold;
}

.game-intro .result-box.most .img-halt-box ul.list > li span.label-top {
  text-shadow: 2px 2px 0px #c6aa9d;
}

/* 문제페이지 */

.app-header.page {
  display: none;
  background: transparent;
  border-bottom: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
}

.app-header.page > a {
  background-repeat: no-repeat;
  background-size: cover;
  width: 2rem;
  height: 2.48rem;
  background-position: center center;
}

.game-wrapper .game-wrap {
  padding: 0;
  width: 100%;
  height: 100%;
  max-height: 1030px;
  /* position: relative;
  top: 50%;
  transform: translateY(-50%); */
  overflow: hidden;
}

.game-wrapper .app-main {
  height: 100vh;
}

.app-header.page .app-sound {
  background-image: url('https://cdn.banggooso.com/assets/images/game52/on.png');
  background-size: 70%;
  position: absolute;
  right: 2.5rem;
  z-index: 99;
}

.app-header.page .app-sound.off {
  background-image: url('https://cdn.banggooso.com/assets/images/game52/off.png');
  background-size: 55%;
  position: absolute;
  right: 2.5rem;
  z-index: 99;
}

.app-header.page .app-home {
  background-image: url('https://cdn.banggooso.com/assets/images/game52/home.png');
  background-size: 70%;
  position: absolute;
  right: 0.5rem;
  z-index: 99;
}



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

.w80 {
  width: 80%;
}

.premium-bg {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
}

.premium-char {
  width: 20rem;
  position: absolute;
  bottom: 0%;
  left: 50%;
  transform: translateX(-50%);
}

.game-wrap .pop-text {
  position: absolute;
  padding: 25px;
  border: 3px solid #313131;
  color: #000000;
  font-family: 'RixGulim';
  font-weight: bold;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 2;
  min-width: 250px;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.game-wrap .pop-text.monolog-text {
  color: #ffffff;
  border: 0;
  transform: translate(-50%, 50%);
  bottom: 50%;
}

.game-wrap .pop-text.black-text {
  background-color: #ffffff;
  bottom: 4rem;
}

.game-wrap .pop-text.question-text {
  background-color: #ffffff;
  top: 6%;
  min-height: 90px;
  border: 0;
  padding: 7% 1rem;
  border-radius: 1.5rem;
  text-align: center;
  box-shadow: 0px 0px 15px #777777;
}

.game-wrap .text-wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 75%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.game-wrap .first-monolog-text {
  display: inline-block;
  font-family: 'RixGulim';
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  color: #ffffff;
}

.game-wrap .text-wrapper .last-page-text {
  text-align: left;
  display: inline-block;
  margin-bottom: 1rem;
  color: #000000;
  font-family: 'RixGulim';
  font-weight: bold;
  font-size: 1.1rem;
}

.game-wrap .full-page .choice-button {
  padding: 10px 0;
  display: block;
  border-radius: 3rem;
  font-size: 1rem;
  font-weight: bold;
  background-color: #e9d7c6;
  box-shadow: none;
  color: #000000;
}

.select-area {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 4.5rem;
  width: 80%;
  text-align: center;
}

.select-area {
  display: flex;
  flex-direction: column;
}

.game-wrap .select-area a,
.game-wrap .select-area button {
  min-height: 3rem;
  padding: 5px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px #777777;
  border-radius: 3rem;
  border: #ffffff 1px solid;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.89);
  color: #000000;
  white-space: nowrap;
  font-family: 'RixGulim';
  font-weight: bold;
  margin: 0.5rem auto;
  width: 100%;
  font-size: 1rem;
}

.game-wrap .select-area a:active,
.game-wrap .select-area button:active {
  background-color: rgba(233, 215, 198, 0.89);
  border: #ffffff 1px solid;
  box-sizing: border-box;
}

.game-wrap .select-area button {
  cursor: pointer;
}

/* 문제페이지 - 개별 */

#premium-bg-02,
#premium-bg-11,
#premium-bg-18,
#premium-bg-25 {
  width: 200%;
  left: 100%;
}

#premium-bg-02,
#premium-bg-25,
#premium-char-04,
#premium-char-19,
#premium-char-21-2,
#premium-char-21-sub1-1,
#premium-char-25,
#premium-char-28 {
  display: none;
}

#premium-char-08,
#premium-char-11-sub {
  width: 100%;
}

#step01,
#step24 {
  background-color: #000000;
}

#step07 .pop-text.question-text,
#step10 .pop-text.question-text,
#step14 .pop-text.question-text {
  padding: 1rem 1rem;
}

#step24 .pop-text.monolog-text {
  display: none;
  text-align: left;
  min-width: 0;
}

#step29 {
  background-color: #fef7db;
}

#step29 .select-area {
  width: 100%;
  text-align: center;
  margin: 0 auto;
  padding-bottom: 0;
  height: 100%;
}

#step01 .next-button {
  font-family: 'RixYeoljeongdo', sans-serif;
  font-size: 1rem;
  color: #ffffff;
  margin-top: 3rem;
}

#step24 .next-button {
  font-family: 'RixYeoljeongdo', sans-serif;
  font-size: 1rem;
  color: #ffffff;
  position: absolute;
  bottom: 4.5rem;
  right: 2rem;
}

/* 결과페이지 */

.game-wrapper .game-title {
  background-color: #e9d7c6;
  font-family: MapoGoldenPier;
  font-weight: bold;
  color: #ffffff;
}

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

.game-result #result-title h1,
.game-result #result-title h2 {
  font-family: MapoGoldenPier;
  font-weight: bold;
  text-align: center;
}

.game-result #result-title h2 {
  color: #e9d7c6;
  font-size: 1.41rem;
}

.game-result #result-title h1 {
  color: #000000;
  font-size: 1.6rem;
}

.game-result .num-statement span:first-child {
  color: #e9d7c6;
}

.game-result .save-img {
  text-align: center;
  font-family: RixGulimEB;
  font-size: 0.78125rem;
}

.game-result .banner-image {
  margin-top: 1rem;
}

.game-result .result-box,
.game-result .result-box-wrap {
  padding: 1.5rem 1.1rem;
  border: 0.1875rem solid #f2f2f2;
  border-radius: 10px;
}

.game-result .result-box-wrap {
  padding-top: 0;
  margin-top: 1.1rem;
}

.game-result .result-box-title {
  text-align: center;
  padding: 0 8px;
}

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

@media screen and (max-width: 520px) {
  .game-result .result-box .result-box-title p {
    font-size: 1.08rem;
  }
}

.game-result .result-box {
  padding: 1.5rem 1.1rem;
}

.game-result .result-box.most .result-box-title2 {
  margin-top: 0;
}

.game-result .result-bot-text .subtitle {
  font-size: 0.95rem;
  color: #c6aa9d;
}

.game-result .btn_retest a img,
.game-result .btn_myranking a img {
  margin-top: -0.3rem;
  height: 1.301rem;
  width: auto;
}

.game-result .result-box.type .img-halt-box .list li > span.label-bottom {
  font-weight: bold;
}

.game-result .btn_myranking a {
  background: #c6aa9d;
  color: #ffffff;
  line-height: 3.5rem;
  border-radius: 3rem;
  display: inline-block;
  width: 100%;
  background-repeat: no-repeat;
  font-size: 1.2rem;
}

.game-result .btn_retest a {
  background: #e9d7c6;
  color: #ffffff;
  line-height: 3.5rem;
  border-radius: 3rem;
  display: inline-block;
  background-repeat: no-repeat;
  font-size: 1.2rem;
}

.game-result .btn_myranking a {
  background-image: url('https://cdn.banggooso.com/assets/images/game42/icon/list-w.png');
  background-size: 0.9rem;
  background-position: 87% center;
  padding-right: 1.7rem;
}

.game-result .btn_retest a {
  background-image: url('https://cdn.banggooso.com/assets/images/common/re-test-w.png');
  background-size: 0.9rem;
  background-position: 79% center;
  padding-right: 0.5rem;
  text-indent: -1.2rem;
}

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

.game-result .bad,
.game-result .good {
  font-family: 'Jalnan';
  text-shadow: 0.1rem 0.1rem #c6aa9d;
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
}

.game-result .result-box.most .img-halt-box ul.list > li span.label-top {
  font-family: 'Jalnan';
  text-shadow: 2px 2px 0px #c6aa9d;
}

.game-result .result-box.type .img-halt-box ul.list > li a.btn-result-type {
  background: #cbcbcb;
  width: 5.53125rem;
}

.btn-gray-round {
  background-color: #e9d7c6;
}

/* 실시간 유형 순위 */

.game-wrapper .game-title.rank-page {
  font-size: 1.23rem;
}

.game-wrapper .rank_title_wrap {
  width: 10rem;
  margin: 0 auto;
}

.game-wrapper .test-lists-wrap .title {
  font-weight: normal;
  letter-spacing: normal;
  position: relative;
  z-index: 1;
  text-align: center;
}

.game-wrapper .test-lists-wrap .title:before {
  background-color: #c6aa9d;
}

.game-wrapper .test-lists-wrap .title,
.game-wrapper .test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .item-title span {
  color: #000000;
  font-family: MapoGoldenPier;
  font-weight: bold;
}

.game-wrapper .test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .item-tags li {
  color: #000000;
  font-family: RixGulimEB;
  font-size: 0.7rem;
}

.game-wrapper .test-lists-wrap .test-list-item.rank_list .num {
  color: #000000;
  text-shadow: 3px 4px 0px #c6aa9d;
  font-family: MapoGoldenPier;
  font-weight: bold;
  width: 17%;
  margin-right: 0.2rem;
}

.game-wrapper .test-lists-wrap .test-lists .test-list-item.rank_list .percen {
  width: 100%;
  background: #ededed;
  font-weight: bold;
  font-size: 0.6rem;
  margin-bottom: 0.5rem;
  float: right;
}

.test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .item-title {
  margin-bottom: 0.4rem;
}

.game-wrapper .test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .item-title p {
  color: #c6aa9d;
  margin-bottom: 0.3rem;
  font-family: MapoGoldenPier;
  font-size: 0.8rem;
  font-weight: bold;
}

.game-wrapper .test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .item-title span:nth-child(2) {
  font-size: 0.9rem;
  font-weight: bold;
  line-height: 1.2;
  word-break: keep-all;
}

.game-wrapper .test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .item-tags li {
  font-size: 0.7rem;
  line-height: 1.2;
}

.game-wrapper .test-lists-wrap .test-lists .test-list-item .item-wrap .thumb {
  width: 34%;
}

.game-wrapper .test-lists-wrap .test-lists .test-list-item {
  border: 0.2rem solid #f2f2f2;
}

.game-wrapper .test-lists-wrap .test-list-item:nth-of-type(1) {
  border: 0.2rem solid #d3a475;
}

.game-wrapper .test-lists-wrap .test-list-item:nth-of-type(2) {
  border: 0.2rem solid #cebfb1;
}

.game-wrapper .test-lists-wrap .test-list-item:nth-of-type(3) {
  border: 0.2rem solid #eaded2;
}

/**************************************************/

.game-wrap {
  display: none;
  font-size: 18px;
}

.game-wrap .full-page {
  height: 100vh;
  position: relative;
}

.game-wrapper .app-main,
.game-wrapper .app-main img {
  -ms-user-select: none;
  -moz-user-select: -moz-none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

.result-ad .sign-area {
  font-style: italic;
}

.pop_induce.rank .popup {
  width: 100%;
  background: none;
  padding-bottom: 0;
}

.result-box-wrap,
.app.game-wrapper,
.game-result .result-box,
.game-result .detail {
  transform: none;
}

.app-header.page {
  width: 100%;
  max-width: 500px;
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (max-width: 500px) {
  .pop_induce.rank .popup {
    width: 80%;
  }
}
