/* 공통 */
:root {
  --game-178-color: #ff3298;
  --game-178-font: 'GongGothic';
  --game-178-font2: 'Pretendard';
  --game-178-font3: 'SUIT';
  font-family: var(--game-178-font3);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.game-intro .btn-wrap {
  padding: 0 1.5rem;
  width: 100%;
  margin-top: 5rem;
}
.game-intro .btn-game-start,
.game-btn {
  box-shadow: unset;
  background-color: black;
  color: white;
  border: 0;
  border-radius: 0;
  font-family: var(--game-178-font2);
  font-weight: 600;
  letter-spacing: 0;
}
.game-btn:active {
  background-color: white;
  color: black;
}

.game-wrapper .game-title.page,
.game-wrapper .game-title {
  background-color: white;
  font-family: var(--game-178-font);
  font-weight: 500;
  border-bottom: 1px solid #ebebeb;
  font-size: 1rem;
  line-height: 2.3rem;
  letter-spacing: 0;
}
.game-wrapper .game-title.page {
  border-bottom: 0;
}
.game-wrapper.basic .app-header {
  border-bottom: 0;
}

.game-wrapper.basic .game-intro .game-intro-text span,
.share-sns-list .list-title span,
.game-wrap .game-body .question-options button.question-option,
.app-main .result-bot-text .mark + p,
.game-result .num-statement {
  font-family: var(--game-104-sub-font);
  font-weight: 300;
}

.game-wrapper.basic .game-result .result-bot-text .subtitle {
  font-family: var(--game-104-sub-font);
  font-weight: 400;
}

/* 인트로페이지 */
.game-wrapper .app-header .app-logo {
  background-image: url(https://cdn.banggooso.com/assets/images/game178/header-logo.png);
  width: 100%;
  background-size: 55%;
}
.game-wrapper .game-intro {
  padding-bottom: 0;
  background-color: var(--game-178-color);
}

.game-intro .img-box {
  margin-bottom: 0;
  position: relative;
  z-index: 10;
}
.game-intro .rolling-text-wrapper {
  padding-top: 0.5rem;
}
.game-intro .rolling-text-wrapper .rolling-text-bottom,
.game-intro .rolling-text-wrapper .rolling-text-top {
  font-family: var(--game-178-font);
  -webkit-text-stroke: 1px;
  color: transparent;
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.4);
  font-size: 3.7rem;
  white-space: nowrap;
}

.game-intro .game-intro-text {
  color: #4e4e4e;
  margin-bottom: -0.5rem;
}

.game-intro .game-count .count-label {
  font-family: var(--game-178-font3);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}
.game-intro .game-count .count-label:before {
  background-color: transparent;
}

.game-intro .game-count .count-num {
  font-family: var(--game-178-font3);
  color: white;
}
.game-intro .game-count {
  margin-bottom: 2rem;
}

/* 공유하기 */
.share-sns-list .list li {
  margin-top: 0.1rem;
}
.game-intro .share-sns-list {
  background: #ffeaf4;
  padding: 2.5rem 0;
  margin: 0;
}
.share-sns-list .list-title span {
  font-family: var(--game-178-font2);
  color: black;
  font-weight: 800;
  letter-spacing: 0;
}
.share-sns-list .list-title .countBox .countImg {
  background-image: url(https://cdn.banggooso.com/assets/images/game178/Vector.png);
}
.share-sns-list .list-title .countBox .countNumber {
  font-family: var(--game-178-font2);
  color: #9b9b9b;
  font-size: 1.1rem;
  font-weight: 500;
}
.share-sns-list .btn-share.kakao {
  background-image: url(https://cdn.banggooso.com/assets/images/game178/kakao.png);
}
.share-sns-list .btn-share.facebook {
  background-image: url(https://cdn.banggooso.com/assets/images/game178/facebook.png);
}
.share-sns-list .btn-share.twitter {
  background-image: url(https://cdn.banggooso.com/assets/images/game178/twitter.png);
}
.share-sns-list .btn-share.instagram {
  background-image: url(https://cdn.banggooso.com/assets/images/game178/instagram.png);
}
.share-sns-list .btn-share.link-copy {
  background-image: url(https://cdn.banggooso.com/assets/images/game178/linkcopy.png);
}
.share-sns-list .list li + li {
  margin-left: 0.45rem;
}

/* 인트로 가장많은유형 */
.game-intro .result-box.most {
  padding-bottom: 6rem;
  margin: -1px;
  border-radius: 0;
  border: 0;
  background-color: #ffeaf4;
}
.game-intro .result-box .result-box-title > span {
  font-family: var(--game-178-font2);
  font-weight: 700;
}
.game-intro .result-box .result-box-title:before {
  background-color: transparent;
}
.game-intro .result-box .result-box-title2 > small {
  color: #be4d85;
  font-family: var(--game-178-font2);
  font-size: 0.8rem;
  font-weight: 400;
}
.game-wrapper.basic .result-box .img-halt-box ul.list > li span.label-top {
  font-family: var(--game-178-font2);
  text-shadow: none;
  color: var(--game-178-color);
  font-size: 1.1rem;
  font-weight: 500;
}
.game-result .result-box .img-halt-box ul.list > li span.label-top {
  color: black !important;
  font-weight: 600;
}
.game-result .result-box .img-halt-box ul.list > li span.label-bottom span {
  color: #9b9b9b;
  font-size: 0.9rem;
  margin: 0;
}
.game-wrapper.basic .result-box .img-halt-box ul.list > li span.label-bottom {
  margin-bottom: 0.7rem;
}
.result-box .img-halt-box ul.list > li span.label-bottom span {
  font-family: var(--game-178-font2);
  color: #be4d85;
  font-weight: 500;
}
.result-box .img-halt-box ul.list > li span.label-bottom > em {
  color: #eb93be;
  font-family: var(--game-178-font2);
  font-weight: 300;
  letter-spacing: 0;
}
.result-box .img-halt-box ul.list > li span.label-bottom {
  font-size: 1rem;
  line-height: 0;
}
/* 문제 페이지 */
.game-wrap .game-title {
  font-family: var(--game-178-font);
}
.game-wrap .game-stage-wrap .game-stage {
  font-family: var(--game-178-font2);
}
.game-wrap .game-stage-wrap .game-stage span {
  color: var(--game-178-color);
}
.game-wrap .game-body .question-options .question-option {
  background: black;
  color: white;
  border-radius: 0;
  font-family: var(--game-178-font2);
  line-height: 1.5rem;
  font-weight: 300;
  border: 0;
  height: 4.5rem;
}
.game-wrap .game-body .question-options .question-option:focus,
.game-wrap .game-body .question-options .question-option:active {
  background-color: var(--game-178-color);
}
.game-wrap .game-body .question-options .question-option + .question-option {
  margin-top: 1.5rem;
}

.game-wrapper .game-wrap {
  padding: 0;
}
.game-wrapper .test-progress-header {
  border-top: 0.1rem solid white !important;
}

.game-wrap .game-progress .game-progress-inner {
  background-color: var(--game-178-color);
}

.game-wrap .game-body .question-title {
  font-family: var(--game-104-font);
  font-weight: 400;
  font-size: 1.3rem;
}

.game-wrapper.basic .game-body .question-options .question-option {
  font-size: 1rem;
  font-weight: 300;
}

/* 결과 페이지 */
.game-wrapper.basic .game-result {
  padding: 1.3rem 20px 0;
}
.game-wrapper.basic .game-result .thumb-img-text {
  font-family: var(--game-178-font2);
  color: #9b9b9b;
  font-weight: 500;
  margin-top: 0.5rem;
}
.game-result .result-detail-wrapper .result-box .result-bot-text {
  margin-top: 2rem;
  margin-bottom: 0rem;
}
.game-result .result-detail-wrapper .result-box .result-bot-text .score-title {
  background-color: #ffeaf4;
  width: 100%;
  display: block;
  text-align: left;
  padding: 0.5rem 0.9rem;
  color: var(--game-178-color);
  font-family: var(--game-178-font2);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.game-result .result-detail-wrapper .result-box .result-bot-text .score-title.money::before {
  content: '';
  background-image: url(https://cdn.banggooso.com/assets/images/game178/money.png);
  width: 6rem;
  height: 6rem;
  top: -78%;
  position: absolute;
  background-size: 80%;
  background-repeat: no-repeat;
  right: -5%;
}
.app-main .result-bot-text .mark {
  background-color: black;
  margin-left: 0.2rem;
}

.app-main .result-bot-text .hashtag,
.app-main .result-bot-text .mark + p {
  font-family: var(--game-178-font2);
  font-size: 0.9rem;
  font-weight: 500;
  padding-right: 0.5rem;
}
.app-main .result-bot-text .hashtag {
  text-align: left;
  padding-left: 0.4rem;
  margin-bottom: 0.2rem;
}

/* 프로모션 */
.game-result .result-box .promotion-wrapper .promotion-title,
.game-result .result-box .promotion-wrapper .promotion-subTitle {
  font-family: var(--game-178-font2);
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-block;
  letter-spacing: 0;
}
.game-result .result-box .promotion-wrapper .promotion-title {
  font-weight: 600;
  font-size: 1rem;
}
.game-result .result-box .promotion-wrapper .promotion-title span {
  color: var(--game-178-color);
}
.game-result .result-box .promotion-wrapper .img-wrapper {
  background-image: url(https://cdn.banggooso.com/assets/images/game178/promotion.png);
  height: 7rem;
  width: 100%;
  background-size: 100%;
  margin-top: 1.5rem;
}
.game-result .result-box .promotion-wrapper .btn_promotion {
  background-color: var(--game-178-color);
  font-weight: 500;
  box-shadow: none;
  border: 0;
  line-height: 2.6;
  font-size: 0.9rem;
}
.game-wrapper.basic .game-result .result-box {
  padding: 0;
  border: 0;
}
.game-result .line {
  height: 1rem;
  border-bottom: 1px solid #dadada;
  width: 3rem;
  margin: 0.8rem auto 1.3rem;
}
.game-result .contents-wrapper {
  font-family: var(--game-178-font2);
  font-size: 1.2rem;
  margin: 4rem auto 0;
  text-align: center;
  font-weight: 700;
}
.game-result .contents-wrapper p {
  font-size: 1rem;
  font-weight: 600;
}
.game-result .contents-wrapper span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--game-178-color);
}
.game-result .contents-wrapper .img-wrapper {
  margin: 1rem auto;
}
.game-result .contents-wrapper .img-wrapper img {
  width: 100%;
  cursor: pointer;
}
.game-result .contents-wrapper .sub-img-wrapper {
  display: flex;
  flex-direction: row;
  margin-top: 0.5rem;
  justify-content: space-between;
}
.game-result .contents-wrapper .sub-img-wrapper .sub-img {
  flex-basis: 48.5%;
}
.test-lists-wrap.rank-page .title::before {
  background-color: transparent !important;
}
.test-lists-wrap .title,
.game-result .result-box.type .result-box-title,
.game-result .result-box.most .result-box-title > span {
  border: 2px solid #ff3298;
  padding: 0.4rem 0.8rem;
  color: #ff3298;
  font-family: var(--game-178-font2);
  font-size: 1.1rem;
}
.game-result .result-box.most .result-box-title2 > small {
  font-size: 0.8rem;
  font-family: var(--game-178-font2);
  letter-spacing: 0;
  color: #be4d85;
  font-weight: 400;
  padding-top: 1.3rem;
}
.game-result .result-box {
  margin-bottom: 1rem;
}

.result-box {
  background-color: rgba(255, 255, 255, 0.5);
}
.game-result .result-box.most {
  margin-bottom: 0rem;
}
.game-result #result-title {
  font-family: var(--game-104-font) !important;
  padding-top: 0;
}
.game-result #result-title h2 {
  font-family: var(--game-104-font) !important;
  color: var(--game-104-2nd-color) !important;
  font-weight: 800;
  font-size: 1.5rem;
}

.game-result .result-bot-text strong {
  color: var(--game-104-color);
}

.game-result .num-statement {
  font-family: var(--game-177-font);
  color: #9b9b9b;
  margin-bottom: 0rem;
}
.game-result #result-title h1 {
  display: none;
}
.game-result #result-title h1 > p:first-child {
  font-size: 1.65rem;
}
.game-result p.num-statement > span {
  color: black;
  font-family: var(--game-178-font2);
  font-size: 0.8rem;
}
.game-result #result-title .img-box {
  width: auto;
}
.game-result #result-title .img-box img {
  margin-bottom: 0;
}
.game-result #result-title .img-box .img-caption {
  margin: -0.5rem auto 0.3rem;
  color: var(--game-104-color) !important;
}
.game-result .result-box .game-btn-wrapper {
  margin: 1.1rem auto 0.3rem;
  width: 100%;
}
.game-result .result-box .game-btn-wrapper.btn_myranking {
  margin: 3rem auto 0.3rem;
}
.game-result .result-box .default-btn {
  background-color: #ffdd8e !important;
}
.game-result .game-btn-wrapper > a > p {
  font-size: 0.8rem;
  font-weight: 300;
}
.game-result .brand-btn {
  background-color: var(--game-104-color) !important;
  font-size: 1.25rem !important;
  padding: 0.75rem;
  font-family: var(--game-104-font) !important;
  font-weight: 400;
  line-height: 1.5rem !important;
}
.game-result .event-btn {
  background-color: var(--game-104-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-104-4th-color) !important;
}
.game-result .detail .result-box .result-bot-text .subtitle {
  margin-top: -1rem;
  color: var(--game-104-4th-color) !important;
}
.game-result .detail .result-box .result-bot-text .subtitle > .mark {
  background-color: var(--game-104-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-104-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-104-sub-color) !important;
}
.game-result .btn_myranking {
  /* display: none; */
}

.game-result .btn_retest a {
  background-image: url('https://cdn.banggooso.com/assets/images/common/skip_arrow.png') !important;
  background-position: 68% 51% !important;
  padding-right: 32px !important;
  background-size: 4% 32%;
}
.game-wrapper.basic .game-result .btn_myranking > a,
.game-wrapper.basic .game-result .btn_retest > a {
  color: black;
  border: 1px solid black;
  border-radius: 0;
  box-shadow: none;
  font-family: var(--game-178-font2);
  font-size: 1.1rem;
  line-height: 3.2rem;
  background-color: white;
}
.game-wrapper.basic .game-result .btn_retest > a {
  color: white;
  background-color: black;
}
.game-result .share-sns-list span {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}
.game-result .recommend-list:before {
  background-color: var(--game-178-color);
  height: 19rem;
  margin-bottom: -8rem;
}

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

.game-wrapper.basic .game-result .result-box .btn_myranking > a::after {
  background-size: 80%;
  background-position: 60% 130%;
  background-image: url(https://cdn.banggooso.com/assets/images/game178/graph.png);
  width: 1.5rem;
  height: 1.5rem;
  margin-left: 0;
}
/* 유형별 궁합 */
.btn-gray-round {
  background: transparent;
  color: #9b9b9b;
  font-size: 0.9rem;
  width: 6rem;
  font-weight: 500;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.game-result .result-box.most .img-halt-box .list li .btn-gray-round img,
.game-result .result-box.type .img-halt-box .list li .btn-gray-round img {
  width: 0.8rem;
  padding-left: 0.3rem;
}
.game-result .result-box.most .img-halt-box .list li .btn-gray-round {
  margin-top: 0.7rem;
}

.game-result .result-box .img-halt-box .list.most_types li span.label-bottom span {
  transform: translate(-50%, -50%);
  position: absolute;
  width: 7rem;
  left: 50%;
  bottom: 12rem;
}
.game-wrapper.basic .game-result .good,
.game-wrapper.basic .game-result .bad {
  display: none;
}
.game-result .img-halt-box .most_types {
  margin-top: 5.5rem;
}
.game-result .img-halt-box .most_types li:last-child::before,
.game-result .img-halt-box .most_types li:first-child::before {
  content: '잘 맞아요 👍';
  position: absolute;
  top: -27%;
  font-family: var(--game-178-font2);
  font-weight: 700;
}
.game-result .img-halt-box .most_types li:last-child::before {
  content: '잘 안맞아요 👎';
}
.game-result .btn_retest {
  margin: 0.6rem auto 2.5rem;
  width: 100%;
}
.game-result .gmae-btn-wrapper {
  width: 19rem;
}
.game-result .recommend-list .btn-white-round {
  border: 1px solid white;
  border-radius: 0;
  box-shadow: none;
  font-family: var(--game-178-font2);
  font-size: 1rem;
  line-height: 2.8rem;
  background-color: transparent;
  font-weight: 500;
  color: white;
  width: 87%;
}
/* 유형순위 */
.test-lists-wrap .test-lists .test-list-item.rank_list .num {
  background: black;
  color: white;
  text-shadow: 0 0 BLACK;
  width: 100%;
  font-size: 1.3rem;
  font-family: var(--game-178-font2);
  display: inline;
  padding: 0.2rem 0.9rem 0.25rem;
  margin-left: 0;
  letter-spacing: 0;
}
.game-wrapper.basic .test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .item-title {
  font-family: var(--game-178-font);
  font-size: 1.3rem;
  padding: 0.8rem 0;
}
.test-lists-wrap .test-lists .test-list-item.rank_list .percen {
  background: transparent;
  font-family: var(--game-178-font2);
  color: #9b9b9b;
  font-weight: 400;
  text-align: left;
  font-size: 0.9rem;
}
.test-lists-wrap .test-lists .test-list-item.rank_list .percen span {
  color: var(--game-178-color);
  font-weight: 500 !important;
}
.test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .game-progress {
  height: 0.4rem;
  width: 100%;
  background-color: #d6d6d6;
}
.test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .game-progress .game-progress-inner {
  height: 0.4rem;
  background-color: var(--game-178-color);
}
.game-wrapper .test-lists-wrap .test-lists .test-list-item {
  margin-bottom: 0.175rem;
  border: 0;
  border-bottom: 0.15rem solid #f2f2f2;
}
.test-lists-wrap .test-lists .test-list-item .item-wrap .thumb {
  width: 27%;
}
/* 롤링텍스트 */
.main-img-wrapper {
  position: relative;
}

.rolling-text-wrapper {
  overflow: hidden;
  display: flex;
  max-width: 100%;
}

.rolling-text-wrapper.bottom {
  position: absolute;
  bottom: -3rem;
}

.rolling-text-wrapper .rolling-text-top,
.rolling-text-wrapper .rolling-text-bottom {
  display: flex;
}

.rolling-text-wrapper .rolling-text-top > li,
.rolling-text-wrapper .rolling-text-bottom > li {
  padding: 0 0.5rem;
}

@keyframes flowRolling {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}
