/* 공통 */
:root {
  --game-108-color: linear-gradient(to right, #e50071, #ff8025);
  --game-108-sub-color: #e50270;
  --game-108-2nd-color: #ff8025;
  --game-108-3rd-color: #572288;
  --game-108-4th-color: #fffcaa;
  --game-108-font: 'GmarketSans', sans-serif;
  --game-108-big-size: 1.2rem;
  --game-108-super-big-size: 1.8rem;
}
.game-btn {
  font-family: var(--game-108-font) !important;
  background: var(--game-108-color);
  font-size: var(--game-108-big-size) !important;
  color: white;
  font-weight: 700;
  border-color: #222222;
}
.game-wrapper .game-title {
  font-family: var(--game-108-font) !important;
  color: #ffffff;
  font-weight: 700;
  padding: 0.2rem 0 0;
}

/* 인트로 페이지 */
.game-intro .btn-game-start {
  background: var(--game-108-color);
  font-size: 1.55rem !important;
  padding: 0.2rem 0 0;
}
.game-intro-text > p {
  font-weight: 500;
}
.game-intro .result-box .result-box-title:before,
.game-intro .game-count .count-label:before {
  background-color: var(--game-108-4th-color) !important;
}

.game-intro.bg-pattern {
  background-image: url('https://cdn.banggooso.com/assets/images/game108/background.png');
  background-repeat: repeat-y !important;
  background-position: center top !important;
  background-size: 100%;
}

.game-intro .result-box {
  background: rgba(255, 255, 255, 0.5);
}

.game-intro .result-box .result-box-title2 > small {
  font-family: var(--game-108-font);
  font-weight: 500;
}

.game-intro .game-intro-title {
  margin-top: 1.3rem;
}

.game-intro .img-box {
  margin-bottom: 0rem !important;
}

/* 문제 페이지 */
.game-wrapper.basic .game-body.no-image .question-title {
  margin: 3rem auto !important;
  font-size: 1.3rem !important;
}

.game-wrap .game-body .question-title,
.game-wrap .game-body .question-options button.question-option {
  font-weight: 500;
  font-family: var(--game-108-font);
}

.game-wrapper .game-wrap {
  padding: 0;
}
.app .app-header.page {
  border-bottom: 1px solid var(--game-108-color) !important;
}
.game-wrapper .test-progress-header {
  border-top: 0.1rem solid var(--game-108-color) !important;
}
.game-wrap .game-body .question-options .question-option:focus,
.game-wrap .game-body .question-options .question-option:active {
  background: var(--game-108-color) !important;
  color: #ffffff;
}
.game-wrap .game-title {
  color: #000000 !important;
}
.game-wrap .game-progress .game-progress-inner {
  background-color: var(--game-108-sub-color) !important;
}

/* 결과 페이지 */
.app-header .custom-logo {
  width: 17rem !important;
  background-size: auto 60% !important;
  background-image: url('https://cdn.banggooso.com/assets/images/game108/logo.png') !important;
}

.game-wrapper .game-title.result {
  background: var(--game-108-color) !important;
}

.game-wrapper .game-title {
  font-weight: 700;
}

.game-result #result-title {
  font-family: var(--game-108-font) !important;
  padding-top: 0;
}
.game-result #result-title h2 {
  color: var(--game-108-2nd-color) !important;
}
.game-result #result-title h1 {
  font-size: var(--game-108-super-big-size);
}
.game-result #result-title h1 > p:first-child {
  font-size: 1.4rem;
}
.game-result p.num-statement > span {
  font-family: var(--game-108-font) !important;
  color: var(--game-108-2nd-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-108-color) !important;
}
.game-result .result-box .game-btn-wrapper {
  margin: 0.8rem auto 0.5rem;
}
.game-result .brand-btn {
  background: var(--game-108-sub-color) !important;
  /* line-height: 1.5rem !important; */
  padding: 0.6rem 0 0.4rem;
  line-height: 2.3rem !important;
}

.game-wrapper.basic .game-result .result-bot-text .subtitle {
  margin-top: 0rem;
}

.game-wrapper.basic .game-result .thumb-img-text {
  font-weight: 500 !important;
  margin-top: 0.3rem;
}

.game-wrapper.basic .game-result .result-box {
  margin: -1rem 0rem 0rem !important;
}

.game-wrapper.basic .game-result .result-box.most,
.game-wrapper.basic .game-result .result-box.type {
  margin: 1rem 0 0 0 !important;
}

.game-wrapper.basic .game-result .result-box .result-bot-text {
  margin-top: -1.5rem;
}

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

.game-result .btn_retest {
  margin: 1.2rem auto 2.5rem;
}

.game-wrapper.basic .game-result .result-box {
  padding: 1.5rem 1.1rem 1rem !important;
}

.game-result .event-btn {
  background-color: var(--game-108-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 .box-container .subtitle {
  margin-top: 0.2rem;
}
.game-result .detail .result-box .result-bot-text .box-container {
  border: 1px solid #d9d9d9;
  border-radius: 0.8rem;
  padding: 1rem;
  box-shadow: 2px 2px 5px #d9d9d9;
  margin: 1rem 0;
  font-size: 0.8rem;
  text-align: start;
  font-weight: 700;
  word-break: keep-all;
}

.game-result .detail .result-box .result-bot-text .box-container p:nth-child(1) {
  margin-bottom: 0.2rem;
}

.game-result .detail .result-box .result-bot-text .box-container p:nth-child(4),
.game-result .detail .result-box .result-bot-text .box-container p:nth-child(5) {
  margin: 0.5rem 0 0.2rem;
}

.festival-text {
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: -0.3rem;
  margin-bottom: 0.3rem;
}

.game-result .detail .result-box .result-bot-text .mark {
  background-color: var(--game-108-3rd-color) !important;
}
.game-result .detail .result-box .result-bot-text .subtitle {
  color: var(--game-108-3rd-color) !important;
  font-weight: 800;
}
.game-result .detail .result-box .result-bot-text .subtitle > .mark {
  background-color: var(--game-108-3rd-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-108-color) !important;
}
.game-result .result-box .result-box-title:before,
.game-result .result-box h3.result-box-title span:before,
.game-result .result-box h3.result-box-title p:before {
  background-color: var(--game-108-4th-color) !important;
}
.game-result .btn_myranking .game-btn {
  background: var(--game-108-2nd-color) !important;
  color: white;
  padding: 0.2rem 0 0;
  font-size: 1.3rem !important;
}
.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;
  background-repeat: no-repeat !important;
}

.game-result .share-sns-list span {
  margin: 0;
  font-size: 1rem;
}
.game-result .recommend-list:before {
  background: var(--game-108-color) !important;
}

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

.game-result .btn_retest > a {
  background: var(--game-108-3rd-color);
  font-size: 1.3rem !important;
  padding: 0.3rem 0 0;
}

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

.result-bot-text .point-color {
  color: var(--game-108-sub-color);
}

.game-result .good,
.game-result .bad {
  text-shadow: 0.1rem 0.1rem transparent !important;
  font-family: var(--game-108-font) !important;
  font-weight: 700;
}

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

.game-result .result-box.most .result-box-title2 {
  font-weight: 500;
  color: black;
  font-family: var(--game-108-font);
  margin-top: -0.1rem;
}

.game-result .result-box.most .result-box-title:before,
.game-result .result-box.type .result-box-title:before {
  height: 0.7rem;
  bottom: 0.3rem;
}

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

.game-result .second.subtitle {
  margin-top: 1rem !important;
}

/* 인스타 섹션 */
.insta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.insta-box img {
  width: 90%;
  border-radius: 1rem;
}
.insta-box .game-btn-wrapper #copyBtn {
  background: white;
  color: black;
  margin-top: 1rem;
  padding: 0.1rem 0 0;
  font-size: 1.35rem !important;
}

.insta-box .game-btn-wrapper.event {
  margin: 1rem 0;
}

.insta-box .game-btn-wrapper.event .game-btn {
  background: var(--game-108-2nd-color);
  padding: 0.2rem 0 0;
  font-size: 1.25rem !important;
}

/*이미지 슬라이더*/

.game-result .result-box .brand-slide-wrapper {
  width: 100%;
  overflow: auto;
  padding: 0.5rem 1rem 0rem 1rem;
}
.game-result .result-box .swiper-slide {
  margin: 0.4rem 0;
}
.game-result .result-box .swiper-slide:last-child {
  margin-right: 0.3rem;
}
.game-result .result-box .slide-box {
  width: 100%;
}
.game-result .result-box .slide-box > img {
  width: 100%;
  height: 100%;
  margin-right: 0.3rem;
  box-shadow: 2px 2px 5px rgb(0 0 0 / 30%);
}
.game-result .result-box .swiper-slide:first-child .slide-box > img {
  border-radius: 0.8rem 0 0 0.8rem;
}
.game-result .result-box .swiper-slide:last-child .slide-box > img {
  border-radius: 0 0.8rem 0.8rem 0;
}

.game-result .slider-text {
  font-size: 0.7rem;
  color: #c4c4c4;
  margin-bottom: 1rem;
}

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

/* 유형 순위 페이지 */

.game-wrapper .game-title.rank-page {
  background: var(--game-108-color) !important;
}

.test-lists-wrap .title {
  font-family: var(--game-108-font) !important;
  font-size: 1.4rem;
}
.test-lists-wrap .title::before {
  background-color: var(--game-108-4th-color) !important;
}
.test-lists-wrap .test-lists .test-list-item.rank_list .num {
  font-family: var(--game-108-font);
  text-shadow: 3px 4px 0px var(--game-108-2nd-color) !important;
  font-weight: 700;
}
.test-lists-wrap .test-lists .test-list-item .item-title > p {
  color: var(--game-108-sub-color) !important;
}
.test-lists-wrap .test-lists .test-list-item.rank_list .percen {
  background-color: var(--game-108-3rd-color);
  color: white;
  font-size: 0.6rem;
  font-family: var(--game-108-font);
  font-weight: 300;
  padding: 0.1rem 0 0;
}
.test-lists-wrap .test-lists .test-list-item:first-child {
  border-color: var(--game-108-sub-color);
}
.test-lists-wrap .test-lists .test-list-item:nth-child(2) {
  border-color: #da5697;
}
.test-lists-wrap .test-lists .test-list-item:nth-child(3) {
  border-color: #e192b9;
}

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

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

.game-wrapper.basic .test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .item-title span {
  font-size: 1rem;
}

.game-wrapper.basic .test-lists-wrap .test-lists .test-list-item.rank_list .percen span {
  font-weight: 500;
}

/* 추천 팝업 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%;
}

/*font*/
.game-intro .game-intro-title,
.game-wrapper.basic .game-intro-text,
.share-sns-list .list-title,
.game-intro .result-box .result-box-title > span,
.game-wrapper.basic .result-box.type .img-halt-box ul.list > li span.label-bottom,
.game-intro .game-intro-title,
.game-intro .game-count .count-label,
.game-intro .game-count .count-num,
.game-result #result-title h2,
.game-result #result-title h1,
.game-result .result-box .result-box-title,
.game-wrapper.basic .test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .item-title p,
.game-wrapper.basic .test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .item-title span,
.game-wrapper.basic .game-intro .result-box .img-halt-box ul.list > li span.label-bottom {
  font-family: var(--game-108-font) !important;
}

.game-intro .game-count .count-num {
  font-weight: 300;
}

.game-wrapper.basic .game-intro-text,
.game-wrapper.basic .result-box .img-halt-box ul.list > li span.label-bottom,
.game-wrapper.basic .test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .item-title span,
.share-sns-list .list-title {
  font-weight: 500;
}

.game-wrapper.basic .result-box .img-halt-box ul.list > li span.label-top,
.game-intro .game-count .count-label {
  font-weight: 800;
}
