@font-face {
  font-family: 'Bazzi';
  font-style: normal;
  font-weight: 400;
  src: url('https://cdn.banggooso.com/assets/fonts/Bazzi.woff') format('woff');
}

/* 공통 */
:root {
  --game-109-color: #801cff;
  --game-109-background-color: #050822;
  --game-109-sub-color: #e95154;
  --game-109-2nd-color: #caa0ff;
  --game-109-font: 'jalnan', sans-serif;
  --game-109-big-size: 1.2rem;
  --game-109-super-big-size: 1.8rem;
}

.game-btn {
  font-family: 'jalnan', sans-serif !important;
  background-color: var(--game-109-color) !important;
  font-size: var(--game-109-big-size) !important;
  color: white;
  border-color: #222222;
}
.game-wrapper .game-title {
  font-family: 'jalnan', sans-serif !important;
  background-color: var(--game-109-color) !important;
  color: #ffffff;
}

body {
  background: var(--game-109-background-color);
}

.game-wrapper .app-header {
  background: var(--game-109-background-color) !important;
  border-bottom: none !important;
}

.game-wrapper .app-header .app-header-btn.back {
  background: transparent url(https://cdn.banggooso.com/assets/images/icons/back-arrow-w.png) no-repeat center center /
    auto 1rem;
}

.game-wrap .game-body .question-title,
.game-wrapper.basic .test-controller-top .game-stage-wrap .game-stage,
.game-wrap .game-title {
  color: white !important;
}

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

.game-wrapper .app-header .app-logo {
  background-image: url('https://cdn.banggooso.com/assets/images/game109/logo.png') !important;
  width: 16rem !important;
  background-size: auto 70% !important;
}

/* 인트로 페이지 */
.game-intro .result-box .result-box-title > span,
.share-sns-list .list-title,
.game-intro .game-count .count-label,
.game-intro .game-count .count-num {
  color: white;
}

.intro-text {
  position: relative;
  font-family: 'Bazzi';
  margin-top: -31rem;
  color: white;
  text-align: center;
}

.game-intro .btn-game-start {
  box-shadow: none;
  border: none;
}

.game-intro-text > p {
  text-decoration: underline;
  font-weight: 900;
}
.game-intro .result-box .result-box-title:before,
.game-intro .game-count .count-label:before {
  background-color: var(--game-109-color) !important;
}

.game-intro .result-box {
  border: 3px solid var(--game-109-color);
}

.result-box .img-halt-box ul.list > li span.label-bottom > em {
  color: white;
}

.share-sns-list .list-title .countBox .countImg {
  background-image: url(https://cdn.banggooso.com/assets/images/icons/icon-reply-w.png) !important;
}

/* 문제 페이지 */
.game-wrapper.basic .game-body.no-image .question-title {
  margin: 3rem auto !important;
  font-size: 1.3rem !important;
}
.game-wrapper .game-wrap {
  padding: 0;
}
.app .app-header.page {
  border-bottom: 1px solid var(--game-109-color) !important;
}
.game-wrapper .test-progress-header {
  border-top: 0.1rem solid var(--game-109-color) !important;
}
.game-wrap .game-body .question-options .question-option {
  background: var(--game-109-background-color);
  border: 0.1rem solid var(--game-109-color);
  color: white;
}

.game-wrap .game-body .question-options .question-option:focus,
.game-wrap .game-body .question-options .question-option:active {
  background-color: var(--game-109-color) !important;
  color: #ffffff;
}

.game-wrap .game-progress .game-progress-inner {
  background-color: var(--game-109-color) !important;
}

/* 결과 페이지 */
.game-result #result-title {
  font-family: var(--game-109-font) !important;
  padding-top: 0;
}
.game-result #result-title h2 {
  color: var(--game-109-color) !important;
}
.game-result #result-title h1 {
  font-size: var(--game-109-super-big-size);
}

.game-result.ENTJ #result-title h1 p {
  font-size: 1.7rem;
}

.game-result #result-title h1 p:nth-child(2),
.game-result.INTP #result-title h1 p:nth-child(3),
.game-result.ESFP #result-title h1 p:nth-child(3),
.game-result.ISFJ #result-title h1 p:nth-child(3) {
  font-size: 1.3rem;
  color: var(--game-109-color);
}

.game-result.INTP #result-title h1 p:nth-child(2),
.game-result.ESFP #result-title h1 p:nth-child(2),
.game-result.ISFJ #result-title h1 p:nth-child(2) {
  font-size: var(--game-109-super-big-size);
  color: white;
}

.game-result .result-box,
.game-result .result-box.most {
  border: 0.1875rem solid var(--game-109-color);
}

.game-result .result-box.type .result-box-title:before,
.game-result .result-box.most .result-box-title:before {
  background-color: var(--game-109-color);
}

.game-result #result-title h1 > p:first-child,
.game-wrapper.basic .game-result .thumb-img-text,
.game-result .share-sns-list span,
.game-result .result-box .result-box-title,
.game-result .result-box.most .result-box-title > span,
.game-wrapper.basic .result-box .img-halt-box ul.list > li span.label-top,
.result-box .img-halt-box ul.list > li span.label-bottom span,
.game-wrapper.basic .game-result .good,
.game-wrapper.basic .game-result .bad {
  color: white !important;
}

.app-main .result-bot-text .mark + p {
  word-break: break-all;
}

.btn-gray-round {
  background-color: var(--game-109-sub-color);
}

.game-wrapper.basic .game-result .btn_retest > a {
  border-color: #6400e3;
  box-shadow: 0.25rem 0.25rem #6400e3;
}

.game-wrapper.basic .game-result .btn_myranking > a {
  border-color: #c71f47;
  box-shadow: 0.25rem 0.25rem #c71f47;
  color: white;
}

.game-wrapper.basic .game-result .btn_myranking > a::after {
  background-image: url(https://cdn.banggooso.com/assets/images/common/grape-w.png) !important;
}

.game-result p.num-statement > span {
  font-family: var(--game-109-font) !important;
  color: var(--game-109-color) !important;
}
.game-result #result-title .img-box {
  margin: 0 2rem 1.5rem;
  width: auto;
}
.game-result #result-title .img-box .img-caption {
  margin: -0.5rem auto 0.3rem;
  color: var(--game-109-color) !important;
}
.game-result .result-box .game-btn-wrapper {
  margin: 0.5rem auto;
}
.game-result .brand-btn {
  background-color: var(--game-109-color) !important;
  line-height: 2rem !important;
}
.game-result .event-btn {
  background-color: var(--game-109-sub-color) !important;
  color: #222222;
}
.game-result .detail .result-box .result-bot-text .idiom-wrapper {
  font-size: 0.85rem;
  text-align: center;
}
.game-result .detail .result-box .result-bot-text .idiom-wrapper .idiom-box {
  font-weight: 900;
  font-size: 1.2rem;
  color: #ffffff;
  background-color: #ff1a47;
  border-radius: 1rem;
  display: inline-block;
  padding: 0 1rem;
  margin: 0.2rem;
}
.game-result .detail .result-box .result-bot-text .mark {
  background-color: var(--game-109-2nd-color) !important;
}
.game-result .detail .result-box .result-bot-text .subtitle {
  color: var(--game-109-2nd-color) !important;
}
.game-result .detail .result-box .result-bot-text .subtitle > .mark {
  background-color: var(--game-109-2nd-color) !important;
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 0.4rem;
  margin-left: -0.05rem;
}
.game-result .detail .result-box .result-bot-text b {
  color: var(--game-109-color) !important;
}

.game-result .btn_myranking a {
  background-color: var(--game-109-sub-color) !important;
  color: #222222;
}
.game-result .btn_retest a {
  background-image: url('https://cdn.banggooso.com/assets/images/common/re-test-w.png') !important;
  background-position: 80% center !important;
  padding-right: 30px !important;
}
.game-result .share-sns-list span {
  margin: 0;
  font-size: 1rem;
}
.game-result .recommend-list:before {
  background-color: var(--game-109-color) !important;
}

.result-box .small-font {
  font-size: 1rem !important;
}

.circle-chart-wrapper > .circle-chart-inside {
  color: white;
  font-family: var(--game-109-font);
}

.game-result .result-box .result-box-title p:before {
  background-color: var(--game-109-color);
}
.app-main .result-bot-text .mark + p {
  color: white;
}

.normal-text {
  font-size: 0.85rem;
  color: white;
  text-align: start;
}

.amazon-text {
  font-size: 0.7rem;
  color: var(--game-109-2nd-color);
  text-align: start;
  margin-left: 0.7rem;
}

.point-color {
  color: var(--game-109-2nd-color) !important;
}

.brand-circle-logo {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 1rem 0;
}

.brand-circle-logo img {
  width: 20% !important;
}

.game-result .game-btn-wrapper .brand-btn {
  background-color: var(--game-109-color) !important;
  line-height: 1.6rem !important;
  border-color: #6400e3;
  box-shadow: 0.25rem 0.25rem #6400e3;
  color: white;
  line-height: 1.5rem;
  padding: 0.4rem 0;
  font-size: 1.17rem !important;
  margin-top: 0.5rem;
}

.game-wrapper.basic .result-box .img-halt-box ul.list > li span.label-bottom {
  height: 2.5rem;
  margin-bottom: 0.5rem !important;
  color: white;
}

.label-bottom > span:only-child {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.game-wrapper.basic .result-box.most .img-halt-box ul.list > li span.label-bottom {
  height: 3rem;
}

/* 가장 많은 유형 순위 */
.result-box .img-halt-box ul.list > li span.label-top {
  text-shadow: none !important;
  font-family: var(--game-109-font) !important;
}
.result-box .img-halt-box ul.list > li span.label-bottom span {
  line-height: 1.5;
}

/* 유형 순위 페이지 */
.test-lists-wrap .test-lists .test-list-item.rank_list .num {
  color: white;
  text-shadow: 3px 4px 0px var(--game-109-color) !important;
}
.game-wrapper.basic .test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .item-title span,
.test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .item-tags li {
  color: white;
}
.test-lists-wrap .test-lists .test-list-item .item-title > p {
  color: var(--game-109-sub-color) !important;
}
.test-lists-wrap .test-lists .test-list-item.rank_list .percen {
  background-color: var(--game-109-sub-color);
}
.test-lists-wrap .test-lists .test-list-item:first-child {
  border-color: var(--game-109-color);
}
.test-lists-wrap .test-lists .test-list-item:nth-child(2) {
  border-color: #600dca;
}
.test-lists-wrap .test-lists .test-list-item:nth-child(3) {
  border-color: #4f07aa;
}
.game-wrapper .test-lists-wrap .test-lists .test-list-item {
  border: 0.2rem solid #4b07a1;
}

.game-result #compliance-text-box {
  position: relative;
  top: -1.5rem;
}

.game-result #compliance-text-box > span {
  position: absolute;
  font-size: 0.8rem;
  right: 1rem;
}

.test-lists-wrap .title {
  color: white;
  font-family: var(--game-109-font) !important;
}

.test-lists-wrap .title::before {
  background-color: var(--game-109-color) !important;
}

/* 추천 팝업 START*/
.pop_induce.recommend-popup .popup-inner-wrapper {
  background: none;
}

.pop_induce.recommend-popup .recommend-btn-wrapper {
  position: absolute;
  bottom: 0.8rem;
}

.pop_induce.recommend-popup .recommend-btn {
  background-color: #ffffff !important;
  width: 14rem;
  box-shadow: 0.25rem 0.25rem black;
}

.pop_induce.recommend-popup .popup .btn_exit {
  right: 4.4%;
  width: 5.5%;
}
