/* 공통 */
:root {
  --game-85-color: #a92020;
  --game-85-sub-color: #6a6a6a;
  --game-85-2nd-color: #812121;
  --game-85-3rd-color: #662121;
  --game-85-normal-color: #626262;
  --game-85-border-line-color: #8b8b8b;
  --game-85-font: 'jalnan', sans-serif;
  --game-85-big-size: 1.2rem;
  --game-85-super-big-size: 1.7rem;
}

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

.app .app-header.intro-header {
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  z-index: 1;
  width: 100%;
  border: none;
}

.app .app-header.test-header {
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
}

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

/* 공유하기 */
.share-sns-list .btn-share.kakao {
  background-image: url(https://cdn.banggooso.com/assets/images/game85/icons/btn-share-kakao.png);
}

.share-sns-list .btn-share.instagram {
  background-image: url(https://cdn.banggooso.com/assets/images/game85/icons/btn-share-insta.png);
}

.share-sns-list .btn-share.facebook {
  background-image: url(https://cdn.banggooso.com/assets/images/game85/icons/btn-share-facebook.png);
}

.share-sns-list .btn-share.twitter {
  background-image: url(https://cdn.banggooso.com/assets/images/game85/icons/btn-share-twitter.png);
}

.share-sns-list .btn-share.link-copy {
  background-image: url(https://cdn.banggooso.com/assets/images/game85/icons/btn-share-linkcopy.png);
}

#modal .modal-cont.wrong-answer > p {
  color: #000000;
}

#modal .modal-cont.wrong-answer .closeHint {
  color: #000000;
}
/* 인트로 페이지 */
.game-intro {
  position: relative;
  padding-bottom: 3rem;
}

.game-intro > div.game-intro-text {
  width:100%;
  top: 22rem;
  color: #ffffff;
}
.game-intro > div,
.game-intro > dl.game-count {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.game-intro > .img-box,
.game-intro > .share-sns-list,
.game-intro > .most-type-wrap,
.game-intro > .result-box.most {
  position: relative;
  transform: none;
  left: 0;
}

.game-intro .user-nickname {
  top: 29.5rem;
}

.game-intro .user-nickname input {
  width: 12rem;
  height: 2.5rem;
  border: 2px solid var(--game-85-color);
  text-align: center;
  font-size: 1.2rem;
  color: #363636;
  box-sizing: border-box;
  padding: 0.5rem;
  font-weight: 900;
}

.game-intro .btn-wrap {
  top: 31.5rem;
  width: 16.847rem;
}

.game-intro .btn-wrap .btn-game-start {
  border: 0.1rem solid transparent;
  background: var(--game-85-color);
  line-height: 3.5rem;
  box-shadow: 0px 0px 6px 3px rgb(131 24 24 / 90%);
}

.game-intro .volBox {
  top: 38rem;
}

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

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

.game-intro .share-sns-list {
  margin-top: -33rem;
  margin-bottom: 2rem;
}

.game-intro .result-box .result-box-title,
.game-intro .game-count .count-label,
.game-intro .game-count .count-num,
.share-sns-list .list-title {
  color: #ffffff;
}

.game-intro > .result-box {
  border: 3px solid var(--game-85-sub-color);
  color: #ffffff;
}

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

.game-intro .result-box .result-box-title:before,
.game-intro .game-count .count-label:before {
  background-color: var(--game-85-color) !important;
}

.game-intro .most-type-wrap > div {
  border: none;
}
.premium-bg {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
}

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

/* 문제페이지 - 힌트 & 오답 모달 */

.modal-cont.wrong-answer {
  height: auto !important;
}

.modal-bg .modal-cont .Hint02 p.hint {
  font-size: 1.5rem;
}

.modal-bg .modal-cont #answer {
  font-weight: 600;
}

#modal .hint-title {
  font-size: 0.9rem;
  background-color: var(--game-85-color);
}

#modal .modal-bg .modal-cont p.hint {
  font-size: 0.9rem;
  font-weight: 900;
}

.modal-bg .modal-cont .Hint01,
.modal-bg .modal-cont .Hint02 {
  color: #000000;
}

/* 문제 페이지 */
.game-wrapper .game-wrap {
  padding: 0;
  width: 100%;
  height: 100%;
  max-height: 1030px;
  overflow: hidden;
}
.game-wrap .full-page {
  height: 100vh;
  position: relative;
}

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

.app-header.page .app-sound {
  background-image: url('https://cdn.banggooso.com/assets/images/game85/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/game85/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/game85/home.png');
  background-size: 70%;
  position: absolute;
  right: 0.5rem;
  z-index: 99;
}

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

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

.game-wrap .game-title {
  color: var(--game-85-color) !important;
}

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

.game-wrap .pop-text.question-text {
  background-color: #ffffff;
  top: 6%;
  min-height: 90px;
  border: solid 3px var(--game-85-border-line-color);
  text-align: center;
  color: #000000;
  /* box-shadow: 0px 0px 15px #777777; */
}

.game-wrap .full-page .bottom-button,
.game-wrap .select-area a,
.game-wrap .select-area button {
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  border-radius: 40px;
  background-color: rgba(255, 255, 255, 0.89);
  color: #000000;
  white-space: nowrap;
  font-weight: 800;
  margin: 0.5rem auto;
  width: 90%;
  font-size: 1rem;
}

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

.game-wrap .pop-text {
  position: absolute;
  padding: 1rem;
  border: 3px solid #ffffff;
  color: #ffffff;
  font-weight: 800;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 5;
  min-width: 250px;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.game-wrap .pop-text.conversation-text .speaker {
  top: 0;
  left: 0.5rem;
  position: absolute;
  transform: translateY(-100%);
  padding: 1px 12px;
  background-color: #0b0a0b;
  border: 3px solid #000;
  border-radius: 10px 10px 0 0;
  font-size: 0.8rem;
}
.game-wrap .pop-text.conversation-text {
  bottom: 9rem;
  border: none;
  background-color: rgba(11, 10, 11, 0.86);
  box-shadow: 0 0 2px 2px rgb(11 10 11 / 86%);
  border-radius: 5px;
  width: 90%;
}

.game-wrap .pop-text.black-text {
  background-color: #000000;
  font-weight: 800;
  top: 6rem;
}

/* step33 */
#step33 .pop-text.question-text {
  font-size: 1rem;
  padding: 0;
  min-height: 5rem;
}

/* step34 */
#step34 .select-area, 
#step35 .select-area {
  bottom: 2rem;
}

/* step34 */
#step42 .full-page .bottom-button {
  bottom: 9rem;
}

/* 글상자 블랙 중하단 */
#step06sub1 .pop-text.black-text,
#step06sub2 .pop-text.black-text,
#step06sub3 .pop-text.black-text,
#step06sub6 .pop-text.black-text,
#step07 .pop-text.black-text,
#step16sub1 .pop-text.black-text,
#step16sub2 .pop-text.black-text,
#step16sub3 .pop-text.black-text,
#step16sub4 .pop-text.black-text,
#step25 .pop-text.black-text,
#step26 .pop-text.black-text,
#step29 .pop-text.black-text,
#step36 .pop-text.black-text,
#step37 .pop-text.black-text,
#step38 .pop-text.black-text,
#step38sub1 .pop-text.black-text {
  top: unset;
  bottom: 9rem;
}

#step21sub1 .pop-text.black-text,
#step21sub2 .pop-text.black-text,
#step21sub3 .pop-text.black-text {
  top: unset;
  bottom: 5rem;
}

/* 글상자 블랙 하단 */
#step21sub4 .pop-text.black-text, 
#step23 .pop-text.black-text ,
#step27sub1 .pop-text.black-text,
#step27sub2 .pop-text.black-text, 
#step30 .pop-text.black-text,
#step31sub1 .pop-text.black-text,
#step32 .pop-text.black-text {
  top: unset;
  bottom: 2rem;
}


/* 글상자 블랙 정중앙 */
#step16 .pop-text.black-text,
#step19 .pop-text.black-text,
#step21 .pop-text.black-text {
  top: 50%;
  transform: translate(-50%, -50%);
}

/* 말풍선 블랙 하단 */
#step31 .pop-text.conversation-text {
  top: unset;
  bottom: 2rem;
}

/* step2 */
#step03 .pop-text.conversation-text {
  height: 8rem;
}

/* step21 객체 위치*/
#premium-item-21-sub-1,
#premium-item-21-sub-2,
#premium-item-21-sub-3 {
  transform: translate(-50%, -85%) scale(1);
}

#premium-item-21-sub-4 {
  transform: translate(-50%, -65%) scale(1);
  width: 22rem;
}

/* step22 */
#step22 .pop-text.question-text {
  padding: 3% 1rem;
}

/* step27 객체 위치 */
#premium-item-27-sub-1,
#premium-item-27-sub-2 {
  transform: translate(-50%, -63%) scale(1);
  width: 17rem;
}


/* step27 */
#premium-bg-27,
#premium-bg-27-sub-1,
#premium-bg-27-sub-2 {
  opacity: 0.8;
}

#premium-item-27 {
  width: 18rem;
}

/* step29 */
#premium-item-29 {
  width: 23rem;
  transform: translate(-50%, -75%) scale(1);
}

/* step 33 */
#premium-item-33 {
  width: 20rem;
}

/* step42 */
#premium-char-42 {
  transform: translateX(-78%);
}
#premium-char-42-1 {
  transform: translateX(-25%);
}

/* 주관식 답안 페이지 */
.game-wrap .full-page .letter-icon,
.game-wrap .full-page .input-wrapper button[type='submit'] {
  width: 3.3rem;
  height: 2.8rem;
  border-radius: 4rem;
  cursor: pointer;
  background-color: var(--game-85-color);
  border: 0;
  color: #fff;
}

.game-wrap .full-page .letter-icon {
  background-color: var(--game-85-color);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50%;
  margin-top: 0.15rem;
}

.game-wrap .full-page .letter-icon > span {
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 3.4rem;
  display: inline-block;
}

.game-wrap .full-page .input-wrapper {
  position: absolute;
  bottom: 3%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  text-align: center;
  display: flex;
  justify-content: center;
  z-index: 50;
}

.game-wrap .full-page .input-wrapper .answer-wrapper {
  width: 80%;
  margin: 0 0.5rem;
}

.game-wrap .full-page .input-wrapper #input-answer {
  padding: 0.8rem 0;
  border-radius: 3rem;
  text-align: center;
  border: 2px solid #bebebe;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  outline: 0;
}

.game-wrap .full-page .input-wrapper .hintP {
  color: #ffffff;
  font-size: 0.7rem;
  margin-top: 0.5rem;
  font-weight: 800;
}

/* 결과 페이지 */
.game-result .img-box img {
  width: 90%;  
}

.game-result #result-title {
  font-family: var(--game-85-font) !important;
  padding-top: 0;
}
.game-result #result-title h2 {
  color: var(--game-85-color) !important;
}
.game-result #result-title h1 {
  font-size: var(--game-85-super-big-size);
}

.game-result .result-box .result-box-title {
  color: #ffffff;
}
.game-result p.num-statement > span {
  font-family: var(--game-85-font) !important;
  color: var(--game-85-color) !important;
}
.game-result #result-title .img-box {
  margin: 0 1rem 1.5rem;
  width: auto;
}
.game-result #result-title .img-box .img-caption {
  margin: -0.5rem auto 0.3rem;
  color: var(--game-85-color) !important;
}
.game-result .result-box .game-btn-wrapper {
  margin: 0.5rem auto;
}

.game-result .event-btn.multi-line {
  font-size: 1rem !important;
  line-height: 1.7rem;
  margin-top: 0;
}

.game-result .event-btn {
  background-color: var(--game-85-color) !important;
  color: #ffffff;
  margin-top: 1rem;
}
.game-result .detail .result-box .result-bot-text .mark {
  background-color: var(--game-85-color) !important;
}

.app-main .result-bot-text .mark + p {
  font-size: 0.75rem;
}

.game-result .detail .result-box .result-bot-text .subtitle {
  color: var(--game-85-color) !important;
}

.game-wrapper .game-result .result-bot-text .subtitle {
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 1rem;
  text-align: left;
  color: var(--game-85-color) !important;
}

.game-result .detail .result-box .result-bot-text .subtitle > .mark {
  background-color: var(--game-85-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-85-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-85-color) !important;
}

.game-result .result-box .btn-gray-round {
  background-color: var(--game-85-color);
}
.game-result .btn_myranking a {
  background-color: var(--game-85-color) !important;
  color: #ffffff;
  line-height: 3.5rem;
  border-radius: 3rem;
  display: inline-block;
  background-repeat: no-repeat;
  font-size: 1.2rem;
  width: 18rem;
}

.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 .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% 52%;
  padding-right: 0.5rem;
}

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

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

.game-result .vs-graph-wrap {
  padding-top: 1.5rem;
  margin-bottom: 1.2rem;
}

.game-result .vs-graph-wrap > p {
  font-size: 1.35rem;
  color: #ffffff;
  text-align: center;
  font-family: var(--game-85-font);
  margin-bottom: 0.4rem;
}

.game-result .vs-graph-wrap > img {
  width: 100%;
}

.game-result .vs-graph {
  max-width: 400px;
  width: 100%;
  margin: 0 auto 0.4rem;
  background-size: cover;
  background-position-y: center;
  background-repeat: no-repeat;
  height: 0;
  padding-bottom: 10%;
}

.game-result .vs-graph .stic-wrap {
  width: 90%;
  height: 100%;
  box-sizing: border-box;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  box-shadow: 0px 0px 10px 3px var(--game-85-color);
  border-radius: 26px;
  overflow: hidden;
  font-size: 0.8rem;
}

.game-result .vs-graph .stic-wrap > div {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 0.7rem;
  font-weight: 600;
}

.game-result .vs-graph .stic-wrap > div.white {
  background-color: var(--game-85-color);
  color: #ffffff;
  text-align: right;
  justify-content: flex-end;
  border-radius: 20px 0px 0px 20px;
}

.game-result .vs-graph .stic-wrap > div.red {
  background-color: #ffffff;
  color: var(--game-85-color);
  border-radius: 0px 20px 20px 0px;
}

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

.game-result .test-result-wrap ul li {
  float: left;
  border-right: 2px solid var(--game-85-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%;
}

.game-result .char-title {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.game-result .char-title::before {
  content: '';
  height: 0.5rem;
  bottom: 0.15rem;
  background-color: var(--game-85-color);
  position: absolute;
  left: 0;
  width: 100%;
  z-index: -1;
}

.game-result .result-char-title-wrap {
  width: 90%;
  margin: 0 auto;
}

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

.result-table-header li {
  color: #ffffff;
  font-family: var(--game-85-font);
}

.resultbox-slide {
  text-align: justify;
  font-size: 0.75rem;
}

/* 브랜드 소구 */
.game-result .result-box,
.game-result .result-box.most {
  border-color: var(--game-85-border-line-color);
}

.game-result .result-box .result-box-sub-wrap {
  display: flex;
}

.game-result .result-box .result-box-sub-wrap > img {
  width: 8rem;
  height: 8rem;
}

.game-result .result-box .result-box-img-sub-wrap {
  margin-left: 0.5rem;
}

.game-result .result-box .result-box-img-sub-wrap > p {
  line-height: 1rem;
}

.game-result .result-box .resultbox-slide-toggle {
  font-size: 0.95rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

/* 인스타 섹션 */
.game-result .insta-event-wrap {
  border: 0.1875rem solid #f2f2f2;
  border-radius: 0.3125rem;
  text-align: center;
  padding: 1.5rem 1.1rem;
  margin-top: 1rem;
}
.game-result .insta-event-wrap > img {
  width: 100%;
}
.game-result .insta-event-wrap .game-btn-wrapper {
  margin: 0 auto;
}

/* 유형별 궁합 */
.game-result .good,
.game-result .bad {
  text-shadow: 0.1rem 0.1rem var(--game-85-sub-color) !important;
}

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

/* 유형 순위 페이지 */
.test-lists-wrap .title {
  font-family: var(--game-85-font) !important;
}
.test-lists-wrap .title::before {
  background-color: var(--game-85-color) !important;
}
.test-lists-wrap .test-lists .test-list-item.rank_list .num {
  color: #ffffff;
  text-shadow: 3px 4px 0px var(--game-85-sub-color) !important;
}
.test-lists-wrap .test-lists .test-list-item.rank_list .item-info {
  color: #ffffff !important;
}

.test-lists-wrap .test-lists .test-list-item .item-title > p {
  color: var(--game-85-color) !important;
}

.test-lists-wrap .test-lists .test-list-item.rank_list .percen {
  background-color: var(--game-85-sub-color);
  color: #ffffff;
}

.game-wrapper .test-lists-wrap .test-lists .test-list-item {
  border-color: var(--game-85-normal-color);
}
.test-lists-wrap .test-lists .test-list-item:first-child {
  border-color: var(--game-85-color);
}
.test-lists-wrap .test-lists .test-list-item:nth-child(2) {
  border-color: var(--game-85-2nd-color);
}
.test-lists-wrap .test-lists .test-list-item:nth-child(3) {
  border-color: var(--game-85-3rd-color);
}

/* 방탈출 순위 */

.game-wrapper header.app-header {
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
}

.rankingBox .topRanking ul.list_title > li{
  background-color:#000000;
}

.rankingBox .myRanking, .rankingBox .topRanking {
  border: 0.1875rem solid var(--game-85-border-line-color);
}

.rankingBox .myRanking h3::before,
.rankingBox .topRanking h3::before {
  background-color: var(--game-85-color) !important;
}

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

.rankingBox .list_content_div > ul > li {
  background-color: #616161;
}

.test-lists-wrap .rankingBox div > ul > li > ul > li:nth-of-type(2) {
  width: 30%;
}
.test-lists-wrap .rankingBox .list_content_div > ul > li:nth-of-type(1) {
  background-color: var(--game-85-color) !important;
}
.test-lists-wrap .rankingBox .list_content_div > ul > li:nth-of-type(2) {
  background-color: var(--game-85-2nd-color);
}
.test-lists-wrap .rankingBox .list_content_div > ul > li:nth-of-type(3) {
  background-color: var(--game-85-3rd-color);
}

/* 아이폰 작은 버전 브라우저에서 크기 */
@media (max-height:600px) {

  .game-wrap .pop-text.black-text {
    top: 3rem;    
  }

  .game-wrap .full-page .bottom-button, .select-area {
    bottom: 2rem;
  }

  #premium-item-22 {
    width: 24rem;
    transform: translate(-50%, -43%) scale(1);
  }

  #premium-item-23 {
    transform: translate(-50%, -60%) scale(1);
  }

  #premium-item-33 {
    width: 18rem;
    transform: translate(-50%, -48%) scale(1);
  }

  .premium-char {
    transform: translate(-50%, 12%) scale(1);
  }

  #premium-char-42 {
    transform: translate(-78%, 12%) scale(1);
  }

  #premium-char-42-1 {
    transform: translate(-25%, 12%) scale(1);
  }
}


