/* 애니메이션 */
@keyframes white-fade {
  from {
    background: white;
  }
  to {
    background: none;
  }
}

@keyframes black-fade {
  from {
    background: black;
  }
  to {
    background: none;
  }
}

@keyframes img-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 결과 그래프 */
.chart-wrapper {
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: row;
  padding: 0 1rem;
}

.chart-wrapper :nth-child(2) {
  border-left: none !important;
  border-right: none !important;
}

.chart-wrapper .chart-box {
  color: black;
  font-family: var(--game-147-font);
  font-weight: bold;
  width: calc(100% / 3);
  text-align: center;
  border: 2px solid #ff5255;
}

.chart-wrapper .chart-box .chart-text {
  background-color: var(--game-131-sub-color);
  padding: 0.3rem;
  padding-top: 0.5rem;
  color: #ff5255;
}

.chart-wrapper .chart-box .chart-value {
  color: black;
  font-family: var(--game-131-sub-font);
  font-size: 1.7rem;
  padding: 0.2rem 0;
}

/* 폰트 */
@font-face {
  font-family: 'GangwonEduPowerExtraBoldA';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2201-2@1.0/GangwonEduPowerExtraBoldA.woff')
    format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Noto Sans KR';
  font-style: normal;
  font-weight: 300;
  src: url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Light.woff2) format('woff2'),
    url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Light.woff) format('woff'),
    url(//fonts.gstatic.com/ea/notosanskr/v2/NotoSansKR-Light.otf) format('opentype');
}

/* 공통 */
:root {
  --game-147-color: #ec0b8d;
  --game-147-sub-color: #ffd5ed;
  --game-131-2nd-color: #ff676a;
  --game-147-font: 'GmarketSans', sans-serif;
  --game-147-bold-font: 'GangwonEduPowerExtraBoldA';
}

.game-btn {
  font-family: var(--game-130-font) !important;
  font-size: 1.3rem !important;
  color: #140a39;
  border: 0.25rem solid #8894ff;
}

.game-wrapper .game-title {
  font-family: var(--game-147-font) !important;
  background-color: var(--game-147-color) !important;
  font-size: 1.4rem;
  line-height: 3.5rem;
  color: white;
}

.app .app-header.intro-header {
  position: fixed;
  z-index: 1;
  width: 100%;
  border: none;
}

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

.app .app-header.test-header {
  border: none;
}
.app .app-header.test-header.intro-header .app-header-btn.back {
  background: transparent url(https://cdn.banggooso.com/assets/images/icons/back-arrow-b.png) no-repeat center center /
    auto 1rem !important;
}
.app .app-header.test-header .app-header-btn.back {
  background: transparent url(https://cdn.banggooso.com/assets/images/icons/back-arrow-b.png) no-repeat center center /
    auto 1rem !important;
}

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

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

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

/* 인트로 페이지 */
.game-intro {
  position: relative;
  background-color: #edd8b4 !important;
}
.game-intro .share-sns-list {
  margin: 0 auto 3.5rem;
}
.game-intro .share-sns-list .list-title {
  color: black !important;
}
.game-intro .btn-game-start {
  font-family: var(--game-147-font) !important;
  background-color: var(--game-147-color);
  color: white;
  display: inline-block;
  width: 100%;
  border-radius: 3rem;
  border: 0.25rem solid var(--game-130-color);
  font-size: 1.3rem;
  text-align: center;
  line-height: 4rem;
  box-shadow: none;
  border: 3px solid white;
}

.game-intro .result-box .result-box-title {
  color: black !important;
  font-family: var(--game-147-font);
}
.game-intro .result-box .img-halt-box ul.list > li span.label-top {
  font-family: var(--game-147-font) !important;
}
.game-intro .result-box .img-halt-box ul.list > li span.label-bottom,
.game-intro .result-box .img-halt-box ul.list > li span.label-top,
.game-intro .result-box .img-halt-box ul.list > li span.label-bottom > em {
  color: black !important;
}
.result-box .img-halt-box ul.list > li span.label-bottom > em {
  color: black !important;
}
.game-result .result-box.most .img-halt-box .list .label-bottom {
  font-family: 'RixGulim';
}
.game-intro .game-count .count-label,
.game-intro .game-count .count-num,
.game-intro .result-box .result-box-title2 small {
  color: black !important;
  font-family: var(--game-147-font);
}

.game-intro .img-box {
  position: relative;
  margin-top: 2.48rem;
  margin-bottom: -20rem;
}

.game-intro .user-nickname {
  margin-top: 2rem;
}
.game-intro .user-nickname input {
  display: block;
  margin: auto;
  width: 45%;
  height: 3rem;
  font-size: 1rem;
  padding: 1rem;
  font-weight: 700;
  background-color: #f6f6f6;
  text-align: center;
  border: 3px solid #8d8d8d;
  font-family: 'Noto Sans KR', sans-serif;
}

.game-intro .user-nickname input:focus {
  outline: none;
}

.game-intro > div.game-intro-text {
  width: 100%;
  top: 22rem;
  color: #ffffff;
}

.game-intro .btn-wrap {
  width: 16.847rem;
  margin: 1.5rem auto;
}

.game-intro .intro-text {
  position: relative;
  top: -38rem;
  text-align: center;
  text-shadow: 0px 4px 4px rgba(255, 255, 255, 0.35);
}

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

.game-intro .result-box .result-box-title:before {
  bottom: 0.5rem;
}

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

.game-intro .result-box .result-box-title2 > small {
  font-family: 'RixGulim', sans-serif;
  font-weight: bold;
}
.premium-bg {
  width: 100% !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
}

.premium-character {
  width: 100%;
  position: absolute;
  top: 0%;
}

.premium-character.hand {
  margin: 0% !important;
}
.premium-character.kwak {
  top: 18% !important;
  bottom: 50% !important;
}
.premium-character.kwak-result {
  top: 20% !important;
  bottom: 50% !important;
}

.premium-bg.middle {
  width: 200% !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
}

.premium-object {
  width: 100% !important;
  position: absolute;
  top: 50%;
  left: 50%;
}

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

.game-intro .volBox {
  text-align: center;
  font-size: 0.75rem;
  margin-bottom: 2rem;
  margin-top: -0.5rem;
  color: black;
  font-family: 'NotoSansCJKjp';
  font-weight: bold;
}

/* 문제 페이지 */
.select-area input[type='checkbox'] {
  display: none;
}
.select-area input[type='checkbox']:checked + label {
  display: inline-block;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 50%;
  z-index: 99;
  border: 1.3px solid #ffffff;
  background-image: url(https://cdn.banggooso.com/assets/images/game147/check.png);
  background-repeat: no-repeat;
  background-size: 35%;
  background-position: center;
  box-shadow: 0 0 0 1.5px white inset;
}
.select-area .selection-box .selection-name {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.65rem;
  font-family: var(--game-102-font) !important;
  color: #ffffff;
  margin-top: 0.2rem;
}
.select-options {
  height: 16rem;
  overflow-y: scroll;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0.1rem;
}
.selection-box {
  width: calc(100% / 4);
  margin: 0rem 0.5rem;
}
.selection-box .selection-clicked {
  background: black;
}
.selection-box > label .selection-img {
  width: 3.5rem;
  background: #d9d9d9;
  border-radius: 50%;
  cursor: pointer;
  z-index: -1;
  position: relative;
  box-shadow: 2px 2px 5px rgb(0 0 0 / 44%);
}
.selection-cover {
  display: inline-block;
}
.select-button-area {
  position: relative;
  top: 73%;
}
.select-button-area > button {
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  border-radius: 40px;
  background-color: rgba(255, 255, 255, 0.95);
  color: #000000;
  white-space: nowrap;
  font-weight: 800;
  margin: 0.5rem auto;
  width: 90%;
  font-size: 1rem;
}
.select-button-area > button:focus {
  background-color: var(--game-147-color);
  color: white;
}
.game-wrapper .game-wrap {
  padding: 0;
  width: 100%;
  height: 100%;
  max-height: 1030px;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

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

.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;
  width: 2.3rem !important;
}

.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;
  width: 2.3rem !important;
}

.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;
  width: 2.3rem !important;
}

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

.premium-char {
  width: 25rem;
  position: absolute;
  bottom: 0%;
  top: 3%;
  left: 50%;
  transform: translateX(-50%);
}

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

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

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

.game-wrap .full-page .bottom-button,
.game-wrap .select-area button {
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  border-radius: 40px;
  background-color: rgba(255, 255, 255, 0.95);
  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-100-color);
  color: #fff;
}

.game-wrap #step41 .select-area .select-options {
  margin: 0 0.5rem !important;
}
.game-wrap #step41 .select-area .select-options .selection-box {
  margin: 0.6rem 0.5rem;
}
.game-wrap #step41 .select-area .select-options::-webkit-scrollbar {
  display: block;
  background-color: #ffffff !important;
  width: 0.3rem;
  border-radius: 10px;
}
.game-wrap #step41 .select-area .select-options::-webkit-scrollbar-thumb {
  background-color: var(--game-147-color);
  width: 0.3rem;
  border-radius: 10px;
  height: 50%;
}
.game-wrap #step41 .select-button-area .button-desc {
  text-align: center;
  font-size: 0.8rem;
  color: white;
}
/*
문제 - question-text
주인공 독백 - alone-text 
스토리 설명 - story-text
서사 - narrative-text
주인공이 하는 말 - main-text
이름과 텍스트 -speaker
*/

/*팝업 뜨는 것들 기본 퍼블리싱*/
.game-wrap .pop-text {
  position: absolute;
  padding: 0.8rem;
  width: 100%;
  border-radius: 13px;
  color: #ffffff;
  font-weight: 800;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 5;
  min-width: 250px;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.game-wrap .alert-text {
  display: flex;
  flex-direction: column;
  top: 17rem;
  width: 80%;
}

.game-wrap .main-text {
  width: 90%;
  border-radius: 50%;
  padding: 2rem;
  border: 2px solid #000000;
  background: white;
  color: black;
}

.game-wrap .alert-text .alert-upper {
  background-color: #ff7072 !important;
  width: 100%;
  border-radius: 7px 7px 0 0;
  padding: 0.2rem 0;
  margin-bottom: -0.1rem;
}

.game-wrap .alert-text .alert-upper > div {
  width: 1.5rem;
  height: 1.5rem;
  margin: auto;
  background: #ff4447;
  border-radius: 50%;
  font-size: 1rem;
}

.game-wrap .alert-text .alert-lower {
  border: 4px solid #ff7072;
  width: 100%;
  padding: 1.2rem;
  background: rgba(255, 220, 228, 0.9);
  color: black;
  font-size: 1rem;
  border-radius: 0 0 7px 7px;
}

.game-wrap .alone-text.two-lines {
  padding: 0.7rem !important;
}

/*문제*/
.game-wrap .question-text {
  background-color: rgb(0 0 0 / 85%);
  width: 90%;
  min-height: 5rem;
  text-align: center;
  color: white;
}
.game-wrap .question-text > div > span {
  color: var(--game-147-color);
}

.game-wrap .select-area a,
.game-wrap .result-btn {
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  border-radius: 40px;
  background: white;
  color: black;
  box-shadow: 0px 0px 4px rgb(0 0 0 / 40%);
  color: #000000;
  white-space: nowrap;
  font-weight: 800;
  margin: 0.5rem auto;
  width: 80%;
  font-size: 1rem;
}

.game-wrap .select-area a:active,
.game-wrap .select-area a:focus,
.game-wrap .result-btn {
  color: white;
  background-color: var(--game-147-color);
}

/*스토리 설명*/
.game-wrap .story-text {
  background: white;
  border: 3px solid var(--game-147-color);
  color: black;
  box-sizing: border-box;
  border-radius: 8px;
  display: flex;
  flex-direction: column !important;
  width: 90%;
}

/*주인공 독백*/
.game-wrap .alone-text {
  border: none;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.85);
  width: 90%;
  padding: 1.5rem;
}

/*페이지 별 퍼블리싱*/
#step01 .story-text {
  bottom: 20%;
}

#step02 .story-text {
  bottom: 20%;
}

#step03 .main-text {
  bottom: 20%;
  width: 90%;
}

#step04 .story-text {
  bottom: 20%;
}

.white-fade {
  animation: white-fade 1s;
}
.black-fade {
  animation: black-fade 2s;
}
.img-fade {
  animation: img-fade 1s;
  width: 100%;
  position: absolute;
  top: 0%;
}

#step06 .story-text {
  bottom: 20%;
}

#step07 .alone-text,
#step07sub01 .alone-text {
  bottom: 20%;
}

#step07sub01 .start-btn {
  bottom: 20%;
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  border-radius: 40px;
  background: white;
  color: black;
  box-shadow: 0px 0px 4px rgb(0 0 0 / 40%);
  color: #000000;
  white-space: nowrap;
  font-weight: 800;
  margin: 0.5rem auto;
  width: 80%;
  font-size: 1rem;
}
#step07sub01 .start-btn:active,
#step07sub01 .start-btn:focus {
  background: var(--game-147-color);
  color: white;
}

#step08 .question-text {
  bottom: 30%;
}
#step09 .story-text {
  bottom: 20%;
}

#step10 .alone-text {
  bottom: 20%;
}

#step11 .quote-box {
  top: 56% !important;
}
#step11 .select-area {
  top: 120% !important;
}
.black-screen {
  background: rgba(0, 0, 0, 0.65);
}
#step13 .question-text {
  top: 15%;
  padding: 1rem;
}
#step13 .select-area > button {
  margin-bottom: -5rem;
}
#step13 .select-area {
  top: 32% !important;
}

#step17 .question-text {
  bottom: 30%;
}
#step17 .premium-character-full {
  width: 100%;
  position: absolute;
}
#step21 .question-text {
  top: 15%;
  padding: 1rem;
}
#step21 .select-area > button {
  margin-bottom: -5rem;
}
#step21 .select-area {
  top: 32% !important;
}

#step23 .story-text {
  bottom: 30%;
}
#step23sub01 .alone-text {
  bottom: 33%;
}
#step24 .quote-box {
  top: 56% !important;
}
#step24 .select-area {
  top: 120% !important;
}

#step25sub01 {
  background: rgba(0, 0, 0, 0.65);
}
#step25sub01 .question-text {
  top: 15%;
  padding: 1rem;
}
#step25sub01 .select-area > button {
  margin-bottom: -5rem;
}
#step25sub01 .select-area {
  top: 34% !important;
}

#step27 .alone-text {
  bottom: 20%;
}

#step29 .main-text {
  bottom: 25%;
  width: 90%;
}

#step30 .quote-box {
  top: 56% !important;
}
#step30 .select-area {
  top: 120% !important;
}

#step31 .story-text {
  bottom: 20%;
}

#step32 .question-text {
  bottom: 32%;
}

#step33 .alone-text {
  bottom: 20%;
}
#step33sub01 .main-text,
#step33sub03 .main-text,
#step33sub05 .main-text {
  bottom: 20%;
  width: 90%;
}
#step33sub01 .select-area > button {
  margin-bottom: -5rem;
}
#step33sub01 .select-area {
  top: 34% !important;
}
#step33sub07 .question-text {
  top: 15%;
  padding: 1rem;
}
#step33sub07 .select-area > button {
  margin-bottom: -5rem;
}
#step33sub07 .select-area {
  top: 34% !important;
}

#step34 .question-text {
  top: 15%;
  padding: 1rem;
}
#step34 .select-area > button {
  margin-bottom: -5rem;
}
#step34 .select-area {
  top: 32% !important;
}

#step35 .main-text {
  bottom: 20%;
  width: 90%;
}
#step35sub01 .alone-text {
  bottom: 20%;
}

#step36 .story-text {
  top: 40%;
}

#step37 .question-text {
  top: 15%;
  padding: 1rem;
}
#step37 .select-area > button {
  margin-bottom: -5rem;
}
#step37 .select-area {
  top: 32% !important;
}
#step39 .story-text,
#step39sub01 .story-text {
  bottom: 20%;
}

#step41 .question-text {
  top: 15%;
  padding: 1rem;
}
#step41 .select-area > button {
  margin-bottom: -5rem;
}
#step41 .select-area {
  top: 32% !important;
}

#step42 .story-text {
  top: 60%;
}
#step42sub01 .alone-text {
  top: 60%;
}

#step42sub02 .story-text {
  bottom: 20%;
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  border-radius: 40px;
  background: white;
  color: black;
  box-shadow: 0px 0px 4px rgb(0 0 0 / 40%);
  color: #000000;
  white-space: nowrap;
  font-weight: 800;
  margin: 0.5rem auto;
  width: 80%;
  font-size: 1rem;
}
#step42sub02 .story-text:active,
#step42sub02 .story-text:focus {
  background: var(--game-147-color);
  color: white;
}

.quote-box {
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 90%;
}

.quote-box .name-box {
  width: 6rem;
  margin-left: 8%;
  height: 2.2rem;
  background: black;
  color: white;
  text-align: center;
  padding: 1.5%;
  border-radius: 10px 10px 0 0;
  font-size: 1.1rem;
  margin-bottom: -0.1rem;
}

#step34 .select-area {
  bottom: 0;
  top: 330%;
  margin-top: 1rem;
}

#step39 .btn-toResult {
  margin-top: 25rem;
}

#step39 .btn-toResult img {
  width: 80%;
  margin: 10%;
  margin-top: -20%;
}

#step23 .pop-text.question-text {
  top: 50%;
}

#step24 .select-area a {
  font-size: 0.85rem;
}

#step32 .quote-box {
  top: 53% !important;
}

/* progress */
.progress-bottom {
  background-color: black;
  color: #a5a5a5;
  height: 2.52rem !important;
}

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

.progress-bottom .progress .progress-inner {
  background-color: var(--game-147-color);
}

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

.progress-bottom > p:last-child {
  font-size: 0.7rem;
  position: absolute;
  bottom: 0;
}

.top-text {
  top: 10%;
  padding: 1rem !important;
}

.bottom-text {
  bottom: 10%;
  padding: 0.5rem 1.5rem 0 1.5rem !important;
}

/* 결과 페이지 */
.result-chart {
  display: flex;
  margin-bottom: 2rem;
  border: 3px solid var(--game-147-color);
  border-radius: 0.6rem;
}
.result-chart .chart-box {
  display: flex;
  flex-direction: column;
  width: calc(100% / 3);
  text-align: center;
}
.result-chart .chart-box.time {
  border-left: 3px solid var(--game-147-color);
  border-right: 3px solid var(--game-147-color);
}
.result-chart .chart-box .chart-box-title {
  background: var(--game-147-sub-color);
  color: var(--game-147-color);
  padding: 0.4rem;
}
.result-chart .chart-box .chart-box-text {
  padding: 0.6rem;
  font-family: var(--game-147-font);
}
.result-chart .chart-box.ranking .chart-box-title {
  border-radius: 0.45rem 0 0 0;
}
.result-chart .chart-box.score .chart-box-title {
  border-radius: 0 0.45rem 0 0;
}

.result .app-logo {
  width: 16rem !important;
}
.game-result {
  height: auto;
  padding: 2rem 20px 0;
}

.game-result .detail,
.game-result .result-box.type {
  border: 0.1875rem solid #f2f2f2 !important;
}

.thumb-img-text {
  color: var(--game-131-color);
  font-size: 0.8rem;
  padding-top: 0.3rem;
}

.thumb-img-text.coupon {
  text-align: center;
  margin-bottom: 1rem;
  color: black !important;
}
.game-result #result-title {
  font-family: var(--game-130-font) !important;
  padding-top: 0;
}
.game-result #result-title h2 {
  color: var(--game-147-color) !important;
  font-family: var(--game-147-font);
}
.game-result #result-title h1 {
  font-size: var(--game-100-super-big-size);
  font-family: var(--game-147-font);
  color: black;
  font-size: 1.7rem;
  margin-bottom: 0.1rem;
}
.game-result .result-text-container {
  border: 2px solid #f2f2f2;
}
.game-result .result-text-container .bottom-text .brand-container {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}
.game-result .result-text-container .bottom-text .brand-container .recommended-brand {
  width: calc(100% / 3);
  text-align: center;
}
.game-result .result-text-container .bottom-text .brand-container .recommended-brand > img {
  border-radius: 50%;
  width: 5rem;
  border: 3px solid #e2e2e2;
}
.game-result .result-text-container .bottom-text .brand-container .recommended-brand .selection-text {
  font-size: 0.7rem;
  margin-top: 0.5rem;
}
.game-result .img-box img {
  width: 80%;
}

.game-result .result-text-container .bottom-text .event-text {
  text-align: center;
  margin: 1.5rem 0;
  font-weight: bold;
}
.game-result .result-text-container .bottom-text .colored-text {
  text-align: center;
  color: var(--game-147-color);
  font-weight: bold;
}
.game-result .result-text-container .bottom-text .game-btn-wrapper {
  margin: 1rem auto 1rem;
  width: 18rem;
  text-align: center;
}
.game-result .result-text-container .bottom-text .game-btn-wrapper .event-btn {
  background: var(--game-147-color) !important;
  font-family: var(--game-147-font);
  padding: none !important;
}
.game-result .result-box + .result-box {
  margin-top: 0;
}
.game-result .result-box {
  padding: 1rem 1.1rem;
  margin: 0;
  border: none;
}
.game-result .result-box .result-box-title {
  color: black;
  font-family: var(--game-147-font);
  font-size: 1.25rem;
}
.game-result p.num-statement {
  margin-bottom: 0 !important;
}
.game-result p.num-statement > span {
  font-family: var(--game-147-font) !important;
  color: var(--game-147-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-100-color) !important;
}
.game-result .result-box .game-btn-wrapper {
  margin: 2rem auto 2.5rem;
}
.game-btn-wrapper.btn-draw {
  margin: auto;
  margin-bottom: 2rem;
}
.game-result .result-box .result-box-sub {
  text-align: left;
  color: var(--game-147-color);
  font-weight: bold;
}
.game-result .event-btn.multi-line {
  font-size: 1rem !important;
  line-height: 1.7rem;
  margin-top: 0;
}
.game-result .event-image {
  margin-bottom: 2rem;
}
.game-result .event-image > img {
  width: 100%;
}

.game-result .result-container .detail .game-btn-wrapper {
  margin: -0.5rem auto 1.5rem;
}

.game-result .game-btn-wrapper .event-btn {
  background-color: var(--game-147-color) !important;
  font-family: var(--game-147-font) !important;
  font-size: 1.3rem;
  width: 18rem;
  margin-top: 0.5rem;
  padding: 0.2rem;
  line-height: 3.5rem;
}
.game-result .event-btn span {
  color: #feee5b !important;
  text-emphasis-style: dot !important;
  font-size: 1.5rem;
  font-weight: 600;
}
#copyBtn {
  cursor: pointer;
}

.game-result .game-btn-wrapper .event-btn.event-change {
  line-height: 1.8rem !important;
}

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

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

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

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

.game-result .detail .result-box .result-bot-text p {
  color: black;
}

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

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

.game-result .result-box .result-bot-text .colored-text {
  color: var(--game-147-color) !important;
  font-weight: bold;
  text-shadow: 0 0 black;
}

.game-result .share-sns-list .list-title > span::before {
  content: '';
  height: 0.5rem;
  bottom: 0.15rem;
  background-color: var(--game-130-sub-color);
  position: absolute;
  left: 0;
  width: 100%;
  z-index: -1;
}

.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;
  font-family: var(--game-147-font) !important;
  padding: 0.2rem;
  padding-right: 2rem !important;
  background-color: var(--game-147-color) !important ;
}

.game-result .btn_myranking a {
  color: #000000;
  line-height: 3.5rem;
  border-radius: 3rem;
  display: inline-block;
  background-repeat: no-repeat;
  font-size: 1.2rem !important;
  width: 18rem;
  background-image: url('https://cdn.banggooso.com/assets/images/common/grape-b.png');
  background-size: 0.9rem;
  background-position: 87% center;
  padding: 0.2rem;
  padding-right: 1rem;
  background-color: var(--game-147-sub-color) !important;
  font-family: var(--game-147-font) !important;
}

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

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

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

.game-result .graph-wrapper {
  font-family: 'lab-digital';
  font-size: 1rem;
  text-align: center;
  margin: 0.5rem 2rem 0;
}
.game-result .test-result-wrap ul {
  overflow: hidden;
}

.game-result .test-result-wrap ul li {
  float: left;
  border-right: 2px solid var(--game-100-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 .insta-box .under-line::before {
  background-color: var(--game-100-sub-color);
}

.game-result .result-box.most .result-box-title:before,
.game-result .result-box.type .result-box-title:before,
.game-result .result-box h3.result-box-title p:before,
.game-intro .game-count .count-label:before {
  bottom: 0.5rem !important;
}

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

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

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

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

.type-text {
  color: #2d9884 !important;
}

.insta-event-wrap {
  margin: 0rem auto;
  margin-bottom: 3rem;
  margin-top: -1.5rem;
}

/* 브랜드 소구 */
.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 .result-box .game-btn-wrapper .btn-caption {
  font-size: 0.65rem;
  color: #bfbfbf;
  margin: 0.5rem 0 -1.5rem;
}
.game-result .result-box.second {
  padding: 0 1rem !important;
}

.slider-text {
  color: rgba(196, 196, 196, 1) !important;
  font-size: 0.7rem;
  font-weight: 400;
  margin-top: 0.5rem;
}

.slider-text img.brand-logo {
  width: 30%;
  position: relative;
  top: -0.15rem;
}

.btn_medal {
  font-family: var(--game-147-font);
}

/* 인스타 섹션 */
.insta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1rem;
  color: black;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 550;
}

.insta-box .font {
  font-family: var(--game-130-font);
}

.insta-box .point-color {
  color: var(--game-100-4th-color);
  font-weight: 800;
}

.insta-box .text-container {
  margin-top: 0.7rem;
}

.insta-box .point-color.font {
  font-size: 1.2rem;
}

.insta-box .under-line.font {
  font-size: 1rem;
}

.insta-box .num {
  margin-right: 0.5rem;
}
.insta-box img {
  width: 90%;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.insta-box .insta-btn {
  background-color: white !important;
  color: black;
  line-height: 3.5rem;
}

.insta-box .event-btn.insta {
  background-color: white !important;
  line-height: 1.6rem;
  text-align: center;
}

.insta-box #copyBtn {
  background-color: white !important;
  text-align: center !important;
  line-height: 2.6rem;
}

.insta-box li {
  display: flex;
  margin-bottom: 0.2rem;
}

.insta-box div {
  display: block;
  text-align: start;
}

.insta-box .small-text {
  font-size: 0.55rem;
}

.insta-box .highlight {
  background-color: var(--game-100-4th-color);
  color: white;
  border-radius: 0.2rem;
  padding: 0.05rem 0.2rem;
  font-weight: 500;
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
  display: inline-block;
}

.insta-box .center {
  text-align: center;
}

.insta-box .bold {
  font-weight: 800;
}

.insta-box .bottom {
  margin-top: 0.7rem;
}

.insta-box .bottom p {
  line-height: 1.3rem;
}

/* Top3 노출 부분*/

.game-result .top3Box {
  border: 3px solid #f2f2f2;
}

/* 유형별 궁합 */
.game-result .good,
.game-result .bad {
  text-shadow: 0 0;
  color: black;
  font-size: 1.1rem;
  font-family: var(--game-147-font);
  margin-bottom: 0.7rem;
}

/* 가장 많은 유형 순위 */
.result-box .img-halt-box ul.list > li span.label-top {
  font-family: var(--game-147-font) !important;
  text-shadow: 0.5px 0.5px 0px #ffa621;
}
.result-box .img-halt-box ul.list > li span.label-bottom {
  font-family: 'RixGulim';
  color: black;
}
.result-box .img-halt-box ul.list > li span.label-bottom span {
  line-height: 1.5;
}

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

.test-lists-wrap .test-lists .test-list-item.rank_list .percen {
  background-color: #ededed !important;
}

.game-wrapper .test-lists-wrap .test-lists .test-list-item {
  border-color: #f1f1f1;
}
.test-lists-wrap .test-lists .test-list-item:first-child {
  border-color: var(--game-147-color);
}
.test-lists-wrap .test-lists .test-list-item:nth-child(2) {
  border-color: #fe78c5;
}
.test-lists-wrap .test-lists .test-list-item:nth-child(3) {
  border-color: #ffb4df;
}

/* 랭킹 페이지 */
#list_content > li:nth-of-type(1) {
  background: #fe78c5 !important;
}
#list_content > li:nth-of-type(2) {
  background: #f5aed7 !important;
}
#list_content > li:nth-of-type(3) {
  background: #f3dfeb !important;
}

@media (max-height: 685px) {
  .select-button-area {
    top: 70%;
  }

  #step08 .question-text,
  #step17 .question-text,
  #step32 .question-text {
    bottom: 35%;
  }

  #step21 .select-area,
  #step13 .select-area,
  #step32 .question-text,
  #step37 .select-area {
    top: 31% !important;
  }
  #step41 .select-area {
    top: 26% !important;
  }
  #step41 .question-text {
    top: 11% !important;
  }
  #step41 .select-button-area {
    top: 73% !important;
  }

  .premium-character {
    width: 90% !important;
    margin: 5% !important;
  }
  .premium-character.hand {
    margin: 0% !important;
  }

  #step11 .quote-box,
  #step24 .quote-box,
  #step30 .quote-box {
    top: 54% !important;
  }

  #step11 .select-area {
    top: 130% !important;
  }

  .select-button-area {
    top: 76% !important;
  }
  .select-button-area > button {
    min-height: 3rem;
    width: 80%;
  }
  .genie {
    width: 80% !important;
    margin-left: 10% !important;
  }
}
