/* 공통 */
:root {
  --game-89-color: #ff8800;
  --game-89-sub-color: #ffd542;
  --game-89-2nd-color: #ffac4e;
  --game-89-3rd-color: #ffc37d;
  --game-89-font: 'jalnan', sans-serif;
  --game-89-big-size: 1.2rem;
  --game-89-super-big-size: 1.7rem;
}

.game-btn {
  font-family: var(--game-89-font) !important;
  background-color: var(--game-89-color) !important;
  font-size: var(--game-89-big-size) !important;
  color: white;
  border-color: #222222;
}

.game-wrapper .game-title {
  font-family: var(--game-89-font) !important;
  background-color: var(--game-89-color) !important;
  color: #ffffff;
}

/* 인트로 페이지 */
.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,
.game-wrapper.basic .test-lists-wrap .title:before {
  background-color: var(--game-89-sub-color) !important;
}

.game-wrap .preminum-bg {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
}

.game-wrap .black-text.goToNextClick {
  position: absolute;
  bottom: 4rem;
  right: 1rem;
  color: white;
  animation: blink-effect 1s step-end infinite;
}

.game-wrap .black-text.goToNextClick.hidden {
  display: none;
}

@keyframes blink-effect {
  50% {
    opacity: 0;
  }
}

/* 리셋 */

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

/* 공통 */
.game-wrapper .game-title {
  font-family: 'jalnan', sans-serif !important;
  background-color: var(--game-89-color) !important;
  color: #ffffff;
}

.game-wrapper .game-wrap {
  background-color: black;
}

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

.game-wrapper .app-header.result,
.game-wrapper .app-header.list {
  background-color: white;
}

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

.app-main,
.game-wrapper .app-header.test-header {
  border-bottom: 0;
  /* background-color: #000000; */
}

.game-wrapper .app-header.test-header {
  /* background-color: #000000; */
}

.game-wrapper .app-header.test-header .app-logo {
  width: 14rem;
}

.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,
.share-sns-list .list-title,
.game-wrap .btn-game-finish,
.game-result .recommend-list .inner .title,
.game-result .img-halt-box .list li > span.label-bottom,
.game-result .result-box .result-box-title,
.game-result,
.color-white {
  color: black !important;
  font-weight: 400;
}

.game-result .result-box-title .subtitle {
  background-color: var(--game-89-color) !important;
}
.game-result .result-box {
  border: 3px solid #f2f2f2 !important;
  transform: none;
  padding: 1.5rem 1.1rem;
}

.result-box .img-halt-box ul.list > li span.label-bottom {
  margin-bottom: 1rem;
}

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

.game-result .img-halt-box .list > li a:nth-child(4) {
  color: #000000;
}

.game-result .img-halt-box .list > li a:nth-child(4):hover {
  color: #ffffff;
}

.game-result .good,
.game-result .bad,
.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.type .list.most_types li a {
  color: black;
}

.result-box .img-halt-box ul.list > li span.label-top.first,
.result-box .img-halt-box ul.list > li span.label-top.second {
  margin: 0 0 0.5rem 0;
}

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

.game-result .recommend-list:before {
  background-color: var(--game-89-color);
}

/* 인트로페이지 */

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

.game-intro > dl.game-count {
  top: 41.5rem;
}

.game-intro .warning {
  text-align: center;
  font-size: 0.7rem;
  margin-bottom: 2rem;
  opacity: 0.7;
}

.game-intro .most-type-wrap > div {
  border: none;
}

.game-intro .legal-line {
  display: flex;
  justify-content: center;
  color: rgb(216, 216, 216);
  font-size: 0.8rem;
  margin: -1.5rem 0 4rem 0;
}

.game-intro .legal-line.below {
  margin: 1rem 0 0 0;
}

/* 문제페이지 */
.app-header.page {
  display: none;
  background: transparent !important;
  border-bottom: none !important;
  position: absolute !important;
  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;
}

.app-header.page .app-sound {
  background-image: url('https://cdn.banggooso.com/assets/images/game44/SOUND_ON.png');
  background-size: 75%;
  position: absolute;
  right: 2.5rem;
}

.app-header.page .app-sound.off {
  background-image: url('https://cdn.banggooso.com/assets/images/game44/SOUND_OFF.png');
  background-size: 65%;
}

.app-header.page .app-home {
  background-size: 70%;
  position: absolute;
  right: 0.5rem;
}

.poly_icon {
  margin-top: 0.3rem;
}
.poly_image {
  width: 1rem;
}

/* progress */

.progress-bottom {
  background-color: var(--game-89-sub-color);
  color: #a5a5a5;
  height: 2.52rem !important;
}

.progress-bottom .progress {
  top: 50%;
}

.progress-bottom .progress .progress-inner {
  background-color: #ff7a23;
}

.progress-bottom .percen {
  font-weight: 700;
  font-size: 0.7rem;
  position: absolute;
  top: 30%;
  color: black;
  right: 10%;
}

.progress-bottom > p:last-child {
  font-size: 0.7rem;
  position: absolute;
  left: 90%;
  bottom: 0;
  transform: translateX(-50%);
}

/* game */

.game-wrap video {
  position: absolute;
  top: calc(50% - 1.25rem);
  transform: translateY(-50%);
  width: 100%;
}

.game-wrap .pop-text {
  position: absolute;
  top: 3rem;
  padding: 1rem 1rem 0.5rem 1rem;
  color: black;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 5;
  /* display: flex; */
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.7);
  border: 3px solid #ffffff;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
  border-radius: 5px;
  width: 85%;
  font-weight: 700;
}

#step06 .pop-text {
  font-size: 0.9rem !important;
}

.game-wrap .pop-text.black-text {
  border: 2px solid #ffffff;
}

.game-wrap .pop-text.black-text .speaker {
  top: -2px;
}

.game-wrap .pop-text.circle-text {
  color: black;
  border-radius: 50%;
  background-color: white;
  box-shadow: 0 0 1rem 0.2rem rgb(255 255 255 / 86%), 0 0 1rem 0.2rem rgb(88 88 88 / 80%) inset;
  height: 10rem;
}

.game-wrap .full-page .bottom-button,
.select-area {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 3rem;
  width: 100%;
}

.btn-gray-round {
  background-color: var(--game-89-color) !important;
  color: white !important;
}

.game-wrap .btn-game-finish {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 7rem;
  width: 80%;
  font-size: 1rem;
  cursor: pointer;
}

.game-wrap .full-page .bottom-button,
.game-wrap .select-area a,
.game-wrap .select-area button {
  min-height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  border-radius: 40px;
  background-color: rgba(255, 255, 255, 0.89);
  color: #000;
  white-space: nowrap;
  margin: 0.25rem auto;
  width: 85%;
  font-size: 0.9rem;
  text-align: center;
  padding: 0.5rem;
  font-weight: 900;
}

.game-result .num-statement {
  font-weight: 700;
}

.game-wrap .full-page .bottom-button:active,
.game-wrap .select-area a:active,
.game-wrap .select-area button:active {
  background-color: var(--game-89-color);
  color: #fff;
}

/* 결과페이지 */
.game-result {
  height: auto;
  padding: 2rem 20px 0;
  background-color: white;
}

.game-result #result-title {
  font-family: var(--game-89-font) !important;
  padding-top: 0;
}
.game-result #result-title h2 {
  color: var(--game-89-color) !important;
}
.game-result #result-title h1 {
  font-size: var(--game-89-super-big-size);
}
.game-result p.num-statement > span {
  font-family: var(--game-89-font) !important;
  color: var(--game-89-color) !important;
}

.game-result .num-statement span,
.game-result #result-title h2 {
  color: #ee872f;
}

.game-result .img-box {
  width: 90%;
  margin: 0 auto;
}

.game-result .img-box .thumb-img-text {
  margin-top: 0.3rem;
  font-size: 0.85rem;
}

.game-result .result-box.most {
  margin: 1.1rem 0 0;
}

.game-result .result-box.type {
  padding: 1.5rem 0 1rem;
}

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

.game-result .result-bot-text .subtitle {
  color: var(--game-89-color);
  font-weight: 900;
  margin-top: 1rem;
  text-align: left;
}

.game-result .result-bot-text .subtitle > .mark {
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 0.4rem;
  margin-left: -0.05rem;
}

.game-result .result-bot-text .mark {
  background: var(--game-89-color);
}

.game-result .test-result-wrap ul {
  overflow: hidden;
}

.game-result .share-sns-list span {
  font-weight: normal;
}

.game-result .test-result-wrap ul li {
  float: left;
  border-right: 2px solid var(--game-89-color);
  text-align: center;
}

.game-result .test-result-wrap ul li:first-child,
.game-result .test-result-wrap ul li:nth-child(2) {
  width: 32%;
}

.game-result .test-result-wrap ul li:last-child {
  border-right: none;
  width: 36%;
}

.result-table-header {
  margin-top: 0.5rem;
}

.result-table-header li {
  color: #a62121;
  font-family: RixYeoljeongdo;
  font-size: 1.4rem;
}

.result-table-value li {
  padding-top: 0.8rem;
  padding-bottom: 0.5rem;
  font-weight: 700;
}

.game-result .good,
.game-result .bad {
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
  font-family: var(--game-89-font) !important;
  text-shadow: 0.1rem 0.1rem var(--game-89-sub-color) !important;
}
.game-result .event-btn {
  line-height: 1.5rem;
  text-align: center;
  font-size: 1rem !important;
  display: inline-block;
  color: black;
  padding: 0.5rem;
}

.game-result .result-box .game-btn-wrapper {
  margin: 1.5rem auto 0;
}

.game-result .btn_myranking a {
  background-color: rgba(255, 213, 66, 1) !important;
  color: black;
  background-repeat: no-repeat;
  background-image: url('https://cdn.banggooso.com/assets/images/common/grape-b.png');
  background-size: 0.9rem;
  background-position: 87% center;
  padding-right: 1.4rem;
}

.game-result .btn_retest a {
  color: white;
  background-image: url('https://cdn.banggooso.com/assets/images/common/re-test-w.png');
  background-size: 1rem;
  padding-right: 0.5rem;
}

.game-result .share-sns-list {
  margin: 3rem 0;
}

.btn-white-round {
  background: #fff;
  color: #222;
}

.rankingBox .myRanking,
.rankingBox .topRanking {
  color: #fff;
  border-color: #320d0d;
}

.rankingBox .myRanking h3,
.rankingBox .topRanking h3 {
  font-family: RixYeoljeongdo;
  color: #fff;
  padding: 0 5px;
  font-weight: 400;
}

.rankingBox .myRanking h3::before,
.rankingBox .topRanking h3::before {
  background-color: #2a3d26;
}

.test-lists-wrap .rankingBox div.list_content_title > ul > li {
  background-color: transparent;
  text-align: center;
  color: #fff;
  font-family: RixYeoljeongdo;
}

.rankingBox .list_content_div {
  height: 25rem;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.test-lists-wrap .rankingBox .list_content_div > ul > li {
  background-color: #222020;
  color: #fff;
}

.test-lists-wrap .rankingBox .list_content_div > ul > li:first-child {
  background-color: #a62121;
}

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

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

.test-lists-wrap .rankingBox .list_content_div > ul > li:first-child li:first-child,
.test-lists-wrap .rankingBox .list_content_div > ul > li:nth-child(2) li:first-child,
.test-lists-wrap .rankingBox .list_content_div > ul > li:nth-child(3) li:first-child {
  color: transparent;
}

/* 결과 - 그래프 */

.circle-chart-wrapper > .circle-chart-inside {
  font-family: RixYeoljeongdo;
}

.circle-chart-wrapper > .circle-chart-inside .circle-chart-box p.circle-chart-text {
  color: white;
}

/* 실시간 유형 순위 */

.game-title.rank-page .logo-img {
  width: 12rem;
}

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

.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 {
  content: '';
  position: absolute;
  z-index: -1;
  bottom: 0.03125rem;
  height: 0.55rem;
  background-color: var(--game-89-sub-color);
}

.game-wrapper .test-lists-wrap .title,
.game-wrapper .test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .item-title span {
  color: black;
  font-family: var(--game-89-font);
}

.game-wrapper .test-lists-wrap .test-list-item.rank_list .num {
  text-shadow: 3px 4px 0px var(--game-89-sub-color) !important;
  font-family: var(--game-89-font);
}

.game-wrapper .test-lists-wrap .test-lists .test-list-item.rank_list .percen {
  width: auto;
  background-color: #ededed;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  word-break: keep-all;
  font-weight: 700;
}

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

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

.game-wrapper .test-lists-wrap .test-lists .test-list-item .item-wrap .item-info .item-title p {
  color: #ee872f;
  margin-bottom: 0.3rem;
  font-family: var(--game-89-font);
  font-size: 0.8rem;
}

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

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

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

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

.game-wrapper .test-lists-wrap .test-list-item:nth-of-type(2) {
  border: 0.2rem solid var(--game-89-2nd-color);
}

.game-wrapper .test-lists-wrap .test-list-item:nth-of-type(3) {
  border: 0.2rem solid var(--game-89-3rd-color);
}

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

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

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

.game-wrap {
  display: none;
  width: 100%;
  height: 100%;
  padding: 0;
  position: relative;
  overflow: hidden;
}

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

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