#game-modal .flag {
  width: 5rem;
  margin: auto;
  display: block;
}

.story-box {
  padding: 1rem 0 1.5rem 0;
  background-color: #372b2b;
  margin: 1.5rem 0 2rem 0;
  font-size: 0.85rem;
  width: 115%;
  margin-left: -7.5%;
}

/* 스토리 대사 */
.story-text {
  text-align: center;
  color: black;
  background: rgba(255, 255, 255, 0.8);
  border: 3px solid #213356;
  width: 20rem;
  padding: 1rem;
  font-size: 1rem;
  box-shadow: 0px 3px 0px #213356;
  border-radius: 0.3rem;
  font-weight: bold;
}

#step4-modal,
#game-modal {
  color: white;
  text-align: center;
  font-family: var(--game-129-font);
}

#game-button {
  background-color: #fff7f1;
  border: 2px solid #796262;
  color: #554444;
  padding: 0.7rem 5rem;
  font-size: 1rem;
  font-family: var(--game-129-font);
}
.game-wrap .back-img {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 2s;
}

/* 공통 */
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #554444 inset;
}

/* font */
@font-face {
  font-family: 'GmarketSans';
  font-style: normal;
  font-weight: 500;
  src: url('https://cdn.banggooso.com/assets/fonts/GmarketSansTTFMedium.woff2') format('woff2');
}

@font-face {
  font-family: 'GmarketSansBold';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'BMDOHYEON';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/BMDOHYEON.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Happiness-Sans-Bold';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2205@1.0/Happiness-Sans-Bold.woff2') format('woff2');
  font-weight: 700;
  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');
}
@font-face {
  font-family: 'ChosunGs';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@1.0/ChosunGs.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

img {
  width: 100%;
}
:root {
  --game-143-font: 'GmarketSans';
  --game-143-bold-font: 'GmarketSansBold';
  --game-165-color: '#FFF855';
  --game-165-sub-color: '#FEFFE4';
  --game-165-font: 'Pretendard';
  --game-165-sub-font: 'BMDOHYEON';
  --game-165-sub-font2: 'ChosunGs';
}

.game-btn {
  font-family: var(--game-165-sub-font) !important;
  display: inline-block;
  width: 100%;
  line-height: 3.5rem;
  border-width: 0.17rem;
  border-style: solid;
  border-radius: 3rem;
  box-shadow: 0 0.25rem black;
  background-color: #fff855;
  font-family: var(--game-143-bold-font);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: black;
  padding-top: 0.3rem;
}

.game-btn-wrapper {
  margin: 0 auto 0;
  width: 18rem;
  text-align: center;
}

.game-wrapper .game-title {
  font-family: var(--game-143-bold-font) !important;
  background-color: #fff855;
  color: black;
  border: 2px solid;
  border-left: none;
  border-right: none;
}

.app .app-header.intro-header {
  z-index: 1;
  width: 100%;
  border-bottom: 1px solid #e8e8e8;
}

.game-wrapper .app-header .app-logo,
.game-wrapper .app-header.result .app-logo {
  background-image: url('https://cdn.banggooso.com/assets/images/game165/logo.png');
  width: 10rem;
  background-size: auto 65%;
}

.app .app-header.result {
  background-color: var(--game-129-color);
}

.app .app-header.intro-header .app-header-btn.back {
  background: transparent url(https://cdn.banggooso.com/assets/images/game143/back_arrow.png) no-repeat center center /
    auto 1rem !important;
}
.game-wrapper .app-header .app-header-btn.back {
  background: transparent url(https://cdn.banggooso.com/assets/images/game143/back_arrow.png) no-repeat center center /
    auto 1rem;
}

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

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

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

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

.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 .img-title {
  width: 80%;
  margin: 1rem auto 0;
}
.game-intro .img-intro {
  margin: 0.5rem auto 0;
}
.game-intro .start-btn {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: 31rem;
  width: 7rem;
  height: 7rem;
  border-radius: 5rem;
}
.game-intro .img-box {
  width: 80%;
  margin: 2rem auto 0;
}
.game-intro .img-btn {
  width: 40%;
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  margin-top: 1.7rem;
}
.game-intro .user-nickname {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: 27.7rem;
}
.game-intro .thumb-img-text {
  color: #a3927a;
  font-size: 0.8rem;
  text-align: center;
  margin-top: 7rem;
}
.game-wrapper .game-intro {
  padding-bottom: 0;
}
.game-intro .btn-line {
  width: 3rem;
  background-color: red;
}
.game-intro .user-nickname input {
  width: 10.5rem;
  height: 2.6rem;
  border: 0.15rem solid black;
  text-align: center;
  font-size: 0.8rem !important;
  color: #9b9b9b;
  font-size: var(--game-165-font);
  padding: 0.5rem;
  font-family: var(--game-143-font);
}

.game-intro .user-nickname input::placeholder {
  color: #9b9b9b !important;
}

.game-intro .user-nickname input:focus::placeholder {
  border: none;
}
.game-intro .img-intro-message {
  background-image: url('https://cdn.banggooso.com/assets/images/game165/intro-union.png');
  /* background-image: url("./include/intro-union.png"); */
  background-size: 100% 100%;
  font-family: var(--game-165-font);
  width: 59%;
  margin: 1rem auto 0;
  text-align: center;
  padding: 1rem 1rem 1.8rem;
  font-size: 1rem;
}
.game-intro .img-intro-message > span {
  font-weight: 700;
}
.game-intro .btn-wrap {
  top: 30rem;
  width: 16.847rem;
}
/* .game-wrap .btn-wrap {
  text-align: center;
  position: absolute;
  bottom: -3%;
  transform: translate(-50%, -50%);
  left: 50%;
  width: 80%;
} */
.save-reason {
  text-align: center;
  width: 90%;
  margin: auto;
}
.game-intro .btn-wrap .btn-game-start {
  background-color: #c0e3f8 !important;
  box-shadow: 0px 4px 0px #213356;
  font-size: 1.35rem !important;
  margin-bottom: 0.4rem;
  border: 0.15rem solid #213356 !important;
}

.game-intro > dl.game-count {
  top: 31em;
}
.game-intro .share-sns-list .list-title {
  font-weight: 900;
  font-family: 'Pretendard';
  color: #0c0c0c;
}
.game-intro .share-sns-list {
  margin: 2rem 0;
}

.game-intro > .result-box {
  border: 3px solid #f2f2f2;
}
.game-intro .game-count .count-label,
.game-intro .game-count .count-num {
  color: var(--game-129-font-color);
}
.game-intro .result-box .result-box-title:before {
  background-color: var(--game-129-sub-color) !important;
}
.game-intro .game-count .count-label {
  font-family: var(--game-143-bold-font);
}
.game-intro .game-count .count-label:before {
  background-color: #fffbd8 !important;
}

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

.swiper-container-free-mode > .swiper-wrapper {
  transition-timing-function: linear;
}

.premium-bg {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
}
.game-intro > .slider-section > .intro-slide-wrapper > .swiper-container > .swiper-wrapper > .swiper-slide {
  width: 30%;
  margin: 0 5px;
  border: solid 1px #5a598d;
}

.game-intro > .slider-section {
  width: 100%;
  left: 50%;
  text-align: center;
  height: 11rem !important;
  background: var(--game-165-color);
}

.game-intro > .slider-section > .subtitle {
  font-family: var(--game-143-bold-font) !important;
  position: relative;
  display: inline-block;
  margin: 0 auto;
  color: black !important;
  margin-bottom: 10px;
  font-weight: 900;
}

.game-intro > .slider-section > .subtitle:before {
  content: '';
  height: 0.7rem;
  bottom: -0.05rem;
  background-color: #fffcac;
  position: absolute;
  left: -4%;
  width: 110%;
  z-index: -1;
}

/* 문제 페이지 */
.game-wrapper .game-wrap {
  padding: 0;
  overflow: hidden;
  background: #feffe4;
}
.game-wrap .full-page {
  height: 100vh;
  position: relative;
}

.game-wrap .full-page-story {
  width: 100%;
  height: 100%;
  /* display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center; */
  padding: 4rem 1.625rem;
  background-color: transparent;
  background-size: 100%;
  background-position: center center;
  background-repeat: no-repeat;
}

.game-wrap .full-page.goToNextSub {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 4rem 1.625rem;
  background-color: transparent;
  background-size: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.game-wrapper .app-main {
  height: 100vh;
  background-color: #feffe4;
}
a.app-sound,
a.app-home {
  background-repeat: no-repeat;
  width: 2rem;
  height: 100%;
  background-position: center center;
}
.app-home {
  background-image: url('https://cdn.banggooso.com/assets/images/game143/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: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

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

.game-wrap .game-title {
  color: var(--game-129-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 {
  top: 4%;
  min-height: 90px;
  /* border: solid 3px #000000; */
  text-align: center;
  color: #213356;
  bottom: auto;
  font-family: var(--game-143-bold-font);
  font-size: 1.5rem;
  background: none;
}

.game-wrap .pop-text.question-text .quiz-notification {
  margin-top: 0.5rem;
  font-size: 0.75rem;
}

.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: 0.2rem 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;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
}

.game-wrap .full-page .bottom-button:active,
.game-wrap .select-area div:active,
.game-wrap .select-area button:active {
  background-color: #f6df0f;
}

.game-wrap .pop-text {
  position: absolute;
  padding: 1rem;
  color: #ffffff;
  font-weight: 600;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 5;
  min-width: 250px;
  min-height: 70px;
  font-size: 1.1rem;
  background-color: rgba(11, 10, 11, 0.86);
  bottom: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-wrap .pop-text.circle-text {
  width: 60%;
  padding: 1.5rem 0;
  background-color: #ffffff;
  border: 0.15rem solid #000000;
  border-radius: 50%;
  color: black;
}
/* step2 */
.quote-box {
  text-align: center;
  color: black;
  background: #c0e3f8;
  border: 3px solid #213356;
  padding: 0.3rem;
  font-size: 0.8rem;
  margin-right: 14.6rem;
  border-radius: 0.6rem 0.6rem 0 0;
  margin-bottom: -0.2rem;
  margin-left: 1rem;
  font-weight: bold;
  width: 6rem;
}

.balloon {
  width: 205px;
  height: 40px;
  left: 448px;
  bottom: 62px;
  background: white;
  color: black;
  border-radius: 5px;
  padding: 12px 12.8px;
}

.balloon:after {
  border-top: 10px solid blue;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 0px solid transparent;
  content: '';
  position: absolute;
  top: 40px;
  left: 160px;
}
.balloon:before {
  border-top: 10px solid red;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 0px solid transparent;
  content: '';
  position: absolute;
  top: 40px;
  left: 160px;
}

#step01 .alone-text {
  background-image: url('https://cdn.banggooso.com/assets/images/game165/intro-union.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  font-family: var(--game-165-font);
  width: 75%;
  margin: 15% auto 0;
  text-align: center;
  padding: 1.2rem 1rem 2rem;
  color: var(--game-161-color);
  font-weight: 500;
  line-height: 1.4rem;
  font-size: 1rem;
}

#step01 .alone-text > span {
  font-weight: bold;
}
#step01 .reception-wrapper {
  position: relative;
  margin-top: 1rem;
}
#step01 .sub-text {
  z-index: 1;
  position: absolute;
  top: 16%;
  transform: translate(-50%, -50%);
  left: 79%;
  font-size: 0.7rem;
  line-height: 0.9rem;
  color: #a3927a;
  text-align: center;
}
#step01 .btn-wrap {
  text-align: center;
  width: 80%;
  margin: 10% auto 0;
}
/* step3*/
#step02 .alone-text {
  background-image: url('https://cdn.banggooso.com/assets/images/game165/line-union.png');
  /* background-image: url("./include/line-union.png"); */
  position: none;
  font-family: var(--game-165-sub-font);
  background-size: 100% 100%;
  height: 3rem;
  width: 70%;
  margin: auto;
  text-align: center;
  padding-top: 0.5rem;
}
#step02 .reason-btn-wrapper {
  display: flex;
  text-align: center;
  justify-content: space-between;
  flex-wrap: wrap;
  height: 23rem;
  width: 100%;
  margin-top: 1.5rem;
}

#step02 .radio-reason {
  display: none;
}
#step02 input[type='radio']:checked + label {
  background: #ff6b31;
  font-weight: 700;
  color: white;
  font-weight: 500;
  font-family: 'Pretendard';
  padding-top: 0.6rem;
  box-shadow: none;
  margin-top: 0.1rem;
}
/* #step02 .reason-btn {
  height: 2.5rem;
  font-size: 0.8rem;
  font-family: var(--game-165-sub-font);
  background: linear-gradient(to bottom, #FFFBA3 10%, white 50%, #FFFBA3);
  border-radius: 0.2rem;
  box-shadow: 0 0.1rem #c6be00;
  border: 2px solid #C6BE00;
  padding-top : 0.6rem;
  display: inline-block;
  width: 100%;
} */
#step02 .reason-btn {
  height: 2.5rem;
  font-size: 0.8rem;
  font-family: 'Pretendard';
  font-weight: 600;
  background-color: #ffe455;
  border-radius: 0.2rem;
  box-shadow: 0 0.1rem #0c0c0c;
  border: 2px solid #0c0c0c;
  padding-top: 0.5rem;
  display: inline-block;
  width: 100%;
}
#step02 span {
  text-align: center;
  display: inline-block;
  width: 100%;
  margin: 0.3rem 0 0;
  color: #0c0c0c;
  font-weight: 900;
  font-family: var(--game-165-sub-font);
  font-size: 0.6rem;
}
#step02 .reason-input span {
  text-align: center;
  display: inline-block;
  width: 100%;
  color: #0c0c0c;
  font-weight: 500;
  font-family: var(--game-165-font);
  font-size: 0.7rem;
  margin-top: 0.4rem;
}
#step02 .reason-input {
  width: 100%;
}
#step02 .reason-input input {
  width: 100%;
  text-align: center;
  height: 3rem;
  border: 2px solid #0c0c0c;
  box-shadow: 0 0.3rem #0c0c0c;
  border-radius: 0.3rem;
  font-family: 'Pretendard';
  font-size: 1rem;
}
#step02 .reason-btn-wrapper .radio-wrapper {
  height: 2.5rem;
  width: 48%;
}
/* step4 */
.select-area {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  height: 60%;
  padding: 1.5rem;
  top: 15%;
}

.select-area div {
  width: 6rem;
  height: 6rem;
  background: #edf8ff;
  margin: 0.3rem 0;
  border: 3px solid #213356;
  box-shadow: 0px 3px 0px #213356;
  align-items: center;
  justify-content: center;
  display: flex;
  font-weight: bold;
  font-size: 1rem;
}
.arrow-down {
  color: #213356;
}
.app-header.custom-page {
  /* background: #fff09b !important;
*/
  background: none;
  border: none !important;
  position: fixed;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
#step4 {
  color: #000000;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}
.custom-page .app-header-btn.back {
  background: url(https://cdn.banggooso.com/assets/images/game129/elements/back_w.png);
}

#step4 section.top {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* margin: 1.1rem 0;
  margin-top: 0; */
}
#step4 section.top .instruction-box {
  color: #213356;
  font-family: var(--game-143-bold-font);
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  line-height: 1.5rem;
}
#step4 section.top h1 {
  font-family: 'SF_HambakSnow';
  font-weight: 900;
  font-size: 1.1rem;
}

#step4 section.top h2 {
  font-family: 'SF_HambakSnow';
  font-weight: 900;
  font-size: 1.3rem;
}
#step4 section.top h3 {
  line-height: 1.3rem;
  font-size: 1rem;
  text-align: center;
}

#step4 section.bottom {
  display: flex;
  flex-direction: column;
}
#step4 section.middle .scroll-btn {
  /* border: 2px solid #213356; */
  color: inherit;
  text-decoration: none;
  display: inline-block;
  font-size: 12px;
  line-height: 100%;
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  background: #ffffff url(https://cdn.banggooso.com/assets/images/icons/arrow-bold-right.png) no-repeat center 55% /
    auto 0.7rem;
}
#step4 section.middle .scroll-btn:first-of-type {
  transform: rotate(180deg);
  margin: 0 0.5rem 0;
}
#step4 section.middle .scroll-btn:last-of-type {
  margin: 0 0.5rem 0;
  transform: rotate(0deg);
}
#step4 section.middle .category-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: #ffffff;
  border-top: 2px solid #0c0c0c;
  height: 2.6rem;
}
#step4 section.middle ul.category-inner {
  display: flex;
  flex-direction: row;
  flex: 1;
  overflow-x: scroll;
  align-items: center;
  justify-content: left;
  height: 100%;
  border-left: 1px solid black;
  border-bottom: 1px solid #0c0c0c;
  border-right: 1px solid #0c0c0c;
}

#step4 section.middle ul.category-inner li.category {
  border-left: 1px solid #0c0c0c;
  /* border-right: 1px solid #0C0C0C; */
  white-space: nowrap;
  padding-top: 0.2rem;
  background-color: #e2e2e2;
  color: #6f6f6f;
  font-size: 0.7rem;
  text-align: center;
  width: 5rem;
  font-family: var(--game-143-font);
  line-height: 1.4rem;
  font-family: 'Happiness-Sans-Bold';
  font-size: 0.9rem;
  padding-top: 0.5rem;
  height: 100%;
}

#step4 section.middle ul.category-inner li.category:first-child {
  border-left: none;
  /* border-right: 1px solid #0C0C0C; */
}

#step4 section.middle ul.category-inner li.category.active,
#step4 section.middle ul.category-inner li.category:active {
  background-color: #fff855;
  color: #0c0c0c;
  height: 100%;
  font-size: 0.9rem;
  padding-top: 0.5rem;
  font-family: 'Happiness-Sans-Bold';
}
#step4 section.bottom {
  overflow-y: scroll;
  margin: 0 0.5rem;
  max-height: 250px;
  padding: 1rem 0 0 1rem;
}
#step4 section.bottom .category-item .sub-category {
  text-align: center;
  background: #f4edde;
  padding: 0.2rem 0;
  font-size: 0.8rem;
  border-radius: 1rem;
  margin: 1rem 0 0.5rem;
  font-weight: 600;
}
#step4 section.bottom .category-item ul.item-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  transform: skew(0deg);
}
#step4 section.bottom .category-item ul.item-list > li {
  width: 30%;
  background-color: #e8e8e8;
  margin: 1%;
  border-radius: 0.7rem;
  border: 2px solid #213356;
  transform: skew(0deg);
  overflow: hidden;
}
#step4 section.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1.9rem;
}
#step4 section.footer .generate {
  width: 100%;
  line-height: 3.5rem;
  border: 0.2rem solid #0c0c0c;
  border-radius: 3rem;
  box-shadow: 0 0.25rem #0c0c0c;
  background-color: #fff855;
  margin-top: 1rem;
  color: #0c0c0c;
  text-align: center;
  padding-top: 0.2rem;
  cursor: pointer;
  font-family: var(--game-165-sub-font);
  font-size: 1.3rem;
}
#step04-1 {
  padding: 2rem 0.625rem !important;
  justify-content: none !important;
}

/* 스크롤바 디자인 */
.game-wrap .full-page .bottom::-webkit-scrollbar {
  display: block;
  background-color: #ffda79 !important;
  width: 0.3rem;
  border-radius: 10px;
}

.game-wrap .full-page .bottom::-webkit-scrollbar-thumb {
  background-color: #213356;
  width: 0.3rem;
  border-radius: 10px;
  height: 50%;
}

/* 결과 페이지 */
.game-result .shorten-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 6.6rem;
  display: inline-block;
}
.game-result #result-title .result-title-header .effect {
  margin: auto 1rem;
}
.game-result #result-title .result-title-header .effect > img {
  width: 1.2rem;
}
.game-result #result-title .result-title-header .result-subTitle {
  font-family: var(--game-143-font);
  font-size: 1.5rem;
  line-height: 1.2rem;
}
.game-result #result-title .result-title-header .result-subTitle .result-subTitle-upper {
  font-size: 1.4rem;
  font-family: var(--game-165-sub-font);
  display: flex;
  justify-content: center;
  padding: 0.7rem 0 0;
}
.game-result #result-title .result-title-header .result-subTitle .nickname-box {
  font-size: 1.4rem;
}
.game-result #result-title .result-title-header .result-subTitle .bold-text {
  font-family: var(--game-143-bold-font);
}

.game-result {
  padding: 1rem 0 0;
}
.game-result .img-box img {
  left: 0;
}
.game-result #result-title {
  padding-top: 0;
  font-family: var(--game-129-font) !important;
  margin: auto;
}
.game-result #result-title p {
  color: #a3927a;
  font-size: 0.8rem;
  text-align: center;
  margin-top: 0.4rem;
}
.game-result #result-title span {
  color: var(--game-129-font-color);
  font-family: var(--game-129-font);
}
.game-result #result-title h1 {
  font-size: var(--game-129-super-big-size);
}
.game-result .result-detail-wrapper {
  border: 2px solid #213356;
  margin: 2rem 2.2rem 0;
  border-radius: 5px;
}
.game-result .result-detail-upper {
  background: #fffba3;
  font-size: 0.8rem;
  font-family: 'RixGulim';
  color: #786520;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 1rem 0.8rem 0.7rem;
  border-bottom: 2px solid #213356;
}
.game-result .result-detail-upper .percent {
  font-family: var(--game-165-sub-font);
  font-size: 1.2rem;
  color: #0c0c0c;
  font-weight: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: solid 1px #e7ca65;
  padding-bottom: 0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.game-result .result-detail-upper .percent-title {
  font-size: 1.3rem;
}
.game-result .result-detail-upper .percent-text {
  color: #785520;
  font-size: 0.8rem;
  font-family: 'RixGulim';
  font-weight: 700;
}
.game-result .result-detail-upper .percent span {
  color: #ff6b31;
}

.game-result .result-detail-upper .percent-wrap {
  background-color: #ffffff;
  border-radius: 50%;
  padding: 1rem 1.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.game-result .result-detail-upper .todo-list {
  padding: 0.8rem 0.5rem 0 0;
}

.game-result .result-detail-upper .todo-list .check-list-title > span {
  background-color: #e7ca65;
  padding: 0.3rem 0.5rem;
  color: black;
  font-size: 1rem;
  margin-left: 0.4rem;
}
.game-result .result-detail-upper .todo-list .check-list-wrapper .check-list {
  color: black;
  line-height: 1rem;
  font-size: 0.8rem;
}
.game-result .result-detail-lower {
  background: white;
  text-align: center;
  font-size: 0.8rem;
  font-family: 'RixGulim';
  color: #0c0c0c;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 1.5rem 0.5rem;
  border-top: none;
}
.game-result .result-detail-lower .todo-list {
  width: 37%;
  margin: 0 auto 0.5rem;
  background: #ff6b31;
  color: white;
  font-family: var(--game-165-sub-font);
  font-weight: 400;
  letter-spacing: 0.05rem;
  padding: 0.3rem 0 0.2rem;
  border-radius: 2rem;
  border: 2px solid #0c0c0c;
  font-size: 0.8rem;
}
.game-result .outro-btn-wrap {
  margin-top: 0.5rem;
}
.game-result .outro-btn-wrap .go-lotteworld {
  width: 95%;
  background-color: #ff6b31;
  font-size: 1.2rem;
  color: #ffffff;
  font-family: var(--game-165-sub-font);
  padding: 1rem 0 0.9rem;
  border-radius: 100px;
  border: solid 2px #0c0c0c;
  box-shadow: #0c0c0c 0 0.3rem;
}

.game-result .check-list-wrapper {
  margin-top: 0.5rem;
  font-size: 0.7rem;
}
.game-result .check-list-wrapper .check-list img {
  width: 10%;
  transform: scale(0.5);
  margin-right: -0.2rem;
  margin-bottom: 0.1rem;
}
.game-result .outro-text {
  font-family: 'RixGulim';
  font-size: 0.8rem;
  width: 100%;
  text-align: center;
  letter-spacing: 0rem;
  font-weight: 600;
}

.game-result .outro-text .outro-text-upper {
  font-family: var(--game-165-sub-font);
  text-align: center;
  font-size: 0.95rem;
  font-weight: 100;
}
.game-result .outro-text .outro-text-upper span {
  position: relative;
}
.game-result .outro-text .outro-text-upper span:before {
  content: '';
  height: 0.7rem;
  bottom: -0.05rem;
  background-color: #fffba3;
  position: absolute;
  left: -6px;
  width: 105%;
  z-index: -1;
}
.game-result .outro-text .outro-text-upper .point {
  color: #ff6b31;
  display: inline-block;
}
.game-result .outro-text .outro-text-lower {
  font-family: 'RixGulim';
  font-size: 0.9rem;
}
.game-result .outro-text img {
  margin: 1rem 0;
  width: 80%;
}
.game-result .replay-game,
.game-result .hashtag-copy,
.game-result .go-park {
  width: 93%;
  margin: 2rem auto 0.5rem;
  padding: 1.1rem 0 1rem;
  border-radius: 3rem;
  text-align: center;
  font-size: 1.3rem;
  box-shadow: 0 0.3rem #0c0c0c;
  font-family: var(--game-165-sub-font);
}
.game-result .go-item {
  margin: 2rem auto 0;
  font-family: var(--game-165-sub-font);
  text-align: center;
  font-size: 1.15rem;
}
.game-result .go-item span {
  position: relative;
}
.game-result .go-item span:before {
  content: '';
  height: 0.7rem;
  bottom: -0.05rem;
  background-color: #fffba3;
  position: absolute;
  left: -6px;
  width: 105%;
  z-index: -1;
}
.game-result .go-park {
  background-color: white;
  border: 2px solid #1a1a1a;
}
.game-result .hashtag-copy {
  background-color: #fffcba;
  border: 2px solid #0c0c0c;
}
.game-result .replay-game {
  margin-top: 1rem;
  background-color: #fff855;
  border: 2px solid #0c0c0c;
}
.game-result .result-box {
  margin: 3rem 2rem 0;
}
.game-result .result-box .result-box-title {
  font-family: 'GowunBatang';
  color: #000000;
  font-size: 1.23rem;
}
.game-wrapper.basic .game-result .result-box {
  transform: none;
  padding: 0.5rem 1rem;
}

.game-result p.num-statement > span {
  font-family: var(--game-129-font) !important;
  color: var(--game-129-color) !important;
}
.game-result .img-box {
  position: relative;
  margin: 0;
}
.game-result .thumb-img-text {
  color: #b19d57;
  font-size: 0.8rem;
  text-align: center;
  margin-top: 0.4rem;
}
.game-result .user-reason-text {
  position: absolute;
  transform: translate(-50%);
  left: 61%;
  top: 24rem;
  width: 16rem;
  font-family: 'ChosunGs';
  z-index: 1;
}
.game-result .result-box img {
  width: 120%;
  margin-left: -10%;
}

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

.game-result .ranking-btn,
.game-result .event-btn {
  background-color: var(--game-129-font-color) !important;
  box-shadow: 0px 0px 4px rgb(107 96 67 / 25%) !important;
  border: 0.2rem solid #796262 !important;
  border-radius: 0;
  color: #554444;
  cursor: pointer;
  margin-top: 1rem;
  margin-bottom: -1rem;
}

.game-result .ranking-btn {
  background-color: #fff7f1 !important;
}

.game-result .event-btn {
  background-color: #ffe1d4 !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-129-color) !important;
}

.game-result .result-box .btn-gray-round {
  background-color: var(--game-129-color);
}
.game-result .btn_myranking a {
  background-color: var(--game-129-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 {
  margin: 3rem auto 2.5rem;
}
.game-result .btn_retest a {
  font-family: var(--game-143-bold-font) !important;
  display: inline-block;
  width: 100%;
  line-height: 3.5rem;
  border-width: 0.2rem;
  border-style: solid;
  border-radius: 3rem;
  border-color: black;
  box-shadow: 0.25rem 0.25rem black;
  background-color: #c0e3f8;
  font-size: 1.3rem;
  margin-top: 1rem;
  color: black;
  text-align: center;
  cursor: pointer;
  background-image: url('https://cdn.banggooso.com/assets/images/common/re-test-b.png');
}
.game-result .share-sns-list {
  margin: 0 0 0.5rem;
  padding: 1rem;
  background-color: #fcffa4;
  border-radius: 0.9rem;
}
.game-result .share-sns-list span,
.game-result .share-sns-list .countNumber {
  line-height: 1.5em;
  font-size: 0.9rem;
  margin: 0;
  display: inline-block;
  font-weight: 900;
  font-family: 'Pretendard';
  color: #0c0c0c;
}
.share-sns-list .btn-share.kakao {
  background-image: url('https://cdn.banggooso.com/assets/images/game165/btn-share-kakao.png');
}
.game-result .recommend-list {
  margin-top: 6rem;
  margin-left: 0rem;
}
.game-result .recommend-list:before {
  background-color: #fffba3 !important;
}

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

.game-result .test-result-wrap ul li {
  float: left;
  border-right: 2px solid var(--game-129-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-129-color);
  position: absolute;
  left: 0;
  width: 100%;
  z-index: -1;
}

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

.game-result .download-img {
  z-index: 9999;
  position: absolute;
  top: 0;
}

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

/* 브랜드 소구 */
.game-result .result-box,
.game-result .result-box.most {
  border: 0;
}
.game-result .result-box {
  margin: 1.5rem 1.5rem 2rem;
}
.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 .result-bot-text .lotti {
  width: 16rem;
  margin: 0;
}
/* 인스타 섹션 */
.game-result .event-img-wrapper {
  margin: 1rem 1rem 0;
}
.game-result .insta-event-wrap > img {
  width: 100%;
}
.game-result .insta-event-wrap .game-btn-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 18rem;
  margin-bottom: -1.5rem;
}
.game-result .insta-event-wrap .game-btn-wrapper #copyBtn {
  background: #c0e3f8;
  cursor: pointer;
}
.game-result .insta-event-wrap .game-btn-wrapper .event-btn {
  width: 48%;
  height: 4.5rem;
  line-height: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  word-break: keep-all;
  margin-top: 1rem;
}
.game-result .app-main {
  background-color: var(--game-165-color);
}
#move-kr-btn {
  line-height: 1.5rem;
  padding: 0.5rem;
}

.notice-kr {
  margin-top: 1rem;
}

/* 캐릭터 생성 */
.avatar-wrap,
.capture-wrap {
  position: relative;
  width: 100%;
  /* max-height: 300px; */
  margin: 0 auto;
  text-align: initial;
  margin-bottom: 0.2rem;
  border: 2px solid black;
}

.avatar-wrap {
  height: 17.1rem;
  overflow: hidden;
  border: none;
  margin-bottom: 0;
}

.avatar-wrap > .img-object,
.avatar-wrap > .object-background,
.capture-wrap > .img-object {
  position: absolute;
  width: 100%;
}
/* object 삭제 */
.item-li {
  position: relative;
}

.item-li > .delete-img {
  position: absolute;
  opacity: 0.5;
  filter: alpha(opacity=50);
  display: none;
  background-color: #5dbbff;
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
}
/* 캐릭터 생성 */

.capture-frame {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.capture-frame-title {
  margin-bottom: 0.2rem;
}

.capture-frame-footer {
  display: flex;
}
.capture-frame-footer > div:nth-child(1) {
  flex-shrink: 0;
  width: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.capture-frame-footer > div:nth-child(2) {
  flex-grow: 1;
}

.footer-inputbox {
  width: 100%;
  font-family: var(--game-165-sub-font2);
  /* background: url(/gl/165/input-background.png); */
  background: url('https://cdn.banggooso.com/assets/images/game165/input-background.png');
  background-size: contain;
  background-position-y: center;
  background-repeat: no-repeat;
  /* padding: 7px; */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 2.3rem;
}
.game-result .footer-input-title {
  font-family: var(--game-165-sub-font2);
  font-weight: 500;
  font-size: 1.5rem;
}
.game-result .img-box {
  background-color: #feffe4;
}

.game-result .img-box .capture-box {
  margin: 1.3rem 2.2rem 0 2.2rem;
}
.game-result .img-box .inner-img-box {
  padding: 0.6rem;
  border: solid black 2px;

  background-color: #ffffff;
}

/* 아이폰 작은 버전 브라우저에서 크기 */
@media (max-height: 700px) {
  #step4 section.bottom {
    max-height: 220px;
  }
}
