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

@font-face {
  font-family: 'HappinessSans';
  font-style: normal;
  font-weight: 700;
  src: url('https://cdn.banggooso.com/assets/fonts/Happiness-Sans-Bold.woff2') format('woff2');
}

@font-face {
  font-family: 'HappinessSans';
  font-style: normal;
  font-weight: 800;
  src: url('https://cdn.banggooso.com/assets/fonts/Happiness-Sans-Title.woff2') format('woff2');
}

:root {
  --game-106-color: #8cd2f4;
  --game-106-sub-color: #ee3124;
  --game-106-right-background: #ffdedc;
  --game-106-right-border: #ee3124;
  --game-106-big-size: 1.2rem;
  --game-106-super-big-size: 2rem;
  --game-106-font :'HappinessSans', san-serif;
}

.game-wrapper .game-title {
  font-family: var(--game-106-font) !important;
  background-color: var(--game-106-color);
  font-weight: 900;
  color: #000;
}

.game-intro .result-box .result-box-title:before,
.game-wrapper .test-lists-wrap .title:before {
  background: var(--game-106-sub-color);
}

.game-intro .game-count .count-label:before{
  background-color: var(--game-106-color);
}

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

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

.bg-pattern {
  background-image: url('https://cdn.banggooso.com/assets/images/game106/background.png');
  background-repeat: repeat-y !important;
  background-position: center top !important;
  background-size: 100%;
}

.header-pattern {
  background-image: url('https://cdn.banggooso.com/assets/images/game106/background.png') !important;
}

/* intro */

.game-wrapper .app-header {
  background: transparent;
  border: none;
}

.game-intro .intro-box {
  background: #ffffff;
  border: 0.15rem solid #000000;
  border-radius: 0.7rem;
  text-align: center;
  margin: 3rem 1rem;
  padding-bottom: 3rem;
}

.game-intro .game-intro-title {
  background: #141006;
  display: inline-block;
  color: white;
  padding: 0.2rem 2rem;
  position: relative;
  top: -1.2rem;
  margin: 0;
  font-family: var(--game-106-font) !important;
  font-weight: 900;
}
.game-intro .intro-title-img {
  background: url('https://cdn.banggooso.com/assets/images/game106/intro/intro_title.png') no-repeat center center /
    100%;
  width: 9rem;
  height: 3rem;
  position: absolute;
  top: -3rem;
  left: 50%;
  transform: translateX(-50%);
}

.game-intro .game-intro-text {
  color: #000000;
}

.game-intro .game-intro-manual {
  background: #F2FBFF;
  border: 0.09rem solid #d9d9d9;
  box-sizing: border-box;
  box-shadow: 0 0.2rem 0.5rem rgb(0 0 0 / 15%);
  border-radius: 0.7rem;
  margin: 1rem 1.5rem;
  padding: 0.5rem;
  font-size: 0.8rem;
  color: #3e3e3e;
}
.game-intro .game-intro-manual .manual-title {
  display: inline-block;
  letter-spacing: -0.03125rem;
  color: #222;
  font-weight: 900;
  padding: 0 0.5rem;
  font-size: 1rem;
}
.game-intro .game-intro-manual .manual-title:before {
  content: '';
  height: 0.5rem;
  bottom: 0.15rem;
  background-color: #8cd2f4;
  position: absolute;
  left: 0;
  width: 110%;
  z-index: -1;
}
.game-intro .game-intro-manual ol {
  text-align: left;
}
.game-intro .game-intro-manual li {
  display: flex;
  margin-top: 0.3rem;
}
.game-intro .game-intro-manual .manual-num {
  margin-right: 0.5rem;
}

.game-intro .game-intro-manual .manual-red-btn{
  font-size: 0.5rem;
    display: inline-block;
    padding: 0.2rem;
    background: var(--game-106-sub-color);
    color: white;
    border: 1px solid black;
    border-radius: 1rem;
    box-shadow: 0.05rem 0.05rem 0 #222222;
}

.game-intro .game-intro-manual .manual-input{
  font-size: 0.6rem;
    border: 6px solid balck;
    display: inline-block;
    border: 1px solid black;
    padding: 0.1rem 0.4rem;
    background: white;
    border-radius: 0.3rem;
}

.game-intro .btn-game-start {
  background-color: var(--game-106-sub-color);
  color: #ffffff;
  font-family: var(--game-106-font) !important;
  font-weight: 700;
  font-size: 1.6rem;
}

.game-intro .user-nickname input {
  display: block;
  margin: 1rem auto 0;
  width: 80%;
  height: 3.2rem;
  font-size: 1.2rem;
  color: #222222;
  padding: 1rem;
  font-weight: 700;
  border-radius: 10px;
  border: 3px solid #000000;
}
.game-intro .user-nickname p {
  color: #3e3e3e;
  font-size: 0.8rem;
  margin-top: 0.7rem;
}

.game-intro .user-nickname input::placeholder {
  color: #cecece;
}

.game-intro .user-nickname input:focus {
  outline: none;
  border: 3px solid var(--game-106-sub-color);
}

.game-intro .game-count .count-label {
  font-family: var(--game-106-font);
  font-weight: 900;
}

.legal-text {
  background: url(https://cdn.banggooso.com/assets/images/game106/intro/legal_text.png) no-repeat center center / 100%;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  height: 1rem;
  width: 9rem;
  margin-top: 1rem;
    margin-bottom: -1rem;
}

.share-sns-list .list-title{
  font-family: var(--game-106-font);
}

.game-intro .game-count .count-num{
  font-family: var(--game-106-font);
}

.game-intro .intro-sticker{
  position: absolute;
}

.game-intro .intro-sticker.dog{
  width: 3.3rem;
  right: 2.3rem;
  top: -1.5rem;
  transform: rotate(10deg);
}

.game-intro .intro-sticker.paper{
  width: 1.1rem;
  right: 4.9rem;
  top: 0.7rem;
}

/* 문제페이지 - 공통 */
.game-wrap .game-body {
  width: 100%;
  margin: 0 auto;
  position: relative;
}
.game-wrapper .test-progress-header {
  border-top: 0.1rem solid var(--game-106-color);
  z-index: 1;
}
.game-wrapper .app-header.page {
  border-bottom: 1px solid var(--game-106-color);
  background-color: #fff;
  position: relative;
}
.game-wrapper .test-progress-header {
  padding: 0 1.625rem;
  height: auto;
  display: block;
  background-color: var(--game-106-color);
}
.game-wrapper .test-controller-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.game-wrapper .test-controller-top .back-btn-wrap {
  padding-left: 0.8rem;
  background: transparent url(https://cdn.banggooso.com/assets/images/icons/back-arrow-b.png) no-repeat left center / 0.4rem;
  display: flex;
  position: relative;
  bottom: -4.5rem;
  left: 1rem;
}
.game-wrapper .test-controller-top .back-btn-wrap button {
  cursor: pointer;
}

.game-wrapper .test-controller-top .back-btn-wrap .game-previous{
  background: transparent;
}

.game-wrap .back-btn-wrap.hide-back-btn {
  opacity: 0;
  pointer-events: none;
}

.game-wrap .game-body .question-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
  padding-bottom: 2.2rem;

}

.game-wrap .game-body {
  background: #ffffff;
  border: 0.15rem solid #000000;
  border-radius: 0.7rem;
  text-align: center;
  margin: 1rem 1rem 2rem;
  width: calc(100% - 2rem);
  padding-top: 3rem;
}

.game-wrap .test-controller-bottom {
  position: relative;
  bottom: -4rem;
  padding: 0 1rem;
}

/*사진 없는 글자 선택지*/
.game-wrapper .game-body .question-options .question-option {
  border: 0.15rem solid #000;
  font-family: var(--game-106-font)!important;
  font-weight: 500 !important;
}

.game-wrapper .game-body .question-options .question-option.active:after,
.game-wrapper .game-body .question-options .question-option:focus:after,
.game-wrapper .game-body .question-options .question-option:active:after {
  content: '';
  position: absolute;
  right: 1rem;
  background-image: url('https://cdn.banggooso.com/assets/images/game106/icon/maker_right.png');
  background-size: 1.5rem 1.5rem;
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.game-wrap .game-body .question-options .question-option.active > p {
  background-color: #e1f5ff !important;
}

.game-wrapper .game-body .question-options .question-option.active,
.game-wrapper .game-body .question-options .question-option:focus,
.game-wrapper .game-body .question-options .question-option:active {
  background-color: #e1f5ff;
  border: 0.15rem solid #8cd2f4 !important;
}

.game-wrap .game-body .question-title {
  font-size: 1.2rem;
  text-align: left;
  margin-top: 1.5rem;
  font-weight: 700;
  font-family: var(--game-106-font);
}

.game-wrapper .game-progress .game-progress-inner {
  background-color: var(--game-106-sub-color);
}

.test-controller-top .game-stage-wrap {
  font-weight: 900;
  position: relative;
  bottom: -4.5rem;
  right: 1rem;
}

.game-wrapper .game-body {
  position: relative;
}

.game-wrap .game-body .skip-question {
  background-color: var(--game-106-color);
}

.game-wrap .game-stage-wrap .current-stage {
  color: var(--game-106-color);
}

.game-wrap .game-body .next-question {
  text-align: center;
  background-color: var(--game-106-color);
  padding: 1rem;
  font-size: 1.3rem;
  font-family: var(--game-106-rounded-font);
  color: #ffffff;
  position: fixed;
  width: 100%;
  left: 0;
  bottom: 0;
  cursor: pointer;
}

/* 문제페이지 - 이미지 */

.game-answer .question-answer-box .question-option {
  border: 0.1rem solid #e1e1e1;
  border-radius: 3rem;
  padding: 0.5rem 0;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: bold;
  color: #3c3c3c;
}

/* 결과페이지 */
.game-wrapper .app-header.result {
  background-color: #fff;
}
.bg-pattern {
  background-image: url('https://cdn.banggooso.com/assets/images/game106/background.png');
  background-repeat: repeat-y !important;
  background-position: center top !important;
  background-size: 100%;
}

.app-main .game-result {
  padding: 2.3rem 0.8rem;
}
.app-main .game-title {
  color: #000000;
  font-family: none;
  font-weight: 800;
}

.game-result .brand-img {
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.game-result .brand-img p:nth-of-type(1){
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--game-106-font);
  color: #3D3D3D;
  margin-bottom: 0.3rem;
}

.game-result .brand-img p:nth-of-type(2){
font-family: var(--game-106-font);
    font-size: 0.7rem;
    color: #C4C4C4;
    margin-top: 0.3rem;
}

.game-result .brand-img img {
  width: 80%;
  box-shadow: 0.1rem 0.1rem 0.3rem rgb(0 0 0 / 25%);
  cursor: pointer;
}

.result-total-container {
  padding: 2rem 0.8rem 1rem;
  background-color: white;
  border-radius: 9px;
  color: white;
  font-size: 1.6rem;
  color: black;
  display: inline-block;
  border: 2px solid black;
  margin-bottom: 1rem;
}

.game-wrapper .result-icon {
  width: 4.5rem;
  margin: 0 auto 2rem auto;
}

.game-wrapper .result-icon > img {
  width: 100%;
}

.game-wrapper .complete-text {
  text-align: center;
  font-weight: 800;
  font-size: 1.2rem;
  font-family: var(--game-106-font);
  font-weight: 500;
}

.game-wrapper .complete-text span{
  font-weight: 700;
}

.game-wrapper .result-input {
  border: solid 2px #666666;
  border-radius: 5px;
  width: 70%;
  display: block;
  margin: 2rem auto;
  font-size: 0.85rem;
  text-align: center;
  color: #444444;
  padding: 0.2rem;
  text-overflow: ellipsis;
}

.pop_induce.rank .popup .wrap .btn_goRank {
  visibility: hidden;
}

.new-popup.popup-module.pop_induce.rank .popup div.btn_induce {
  padding: 0.8rem 0 1.2rem !important;
}
.new-popup.popup-module.induce-login .popup .popup-message-box {
  font-size: 0.95rem;
}

.game-result .legal-text {
  bottom: 0.5rem;
}

.game-result .result-desc-text{
  font-size: 0.75rem;
    font-family: var(--game-106-font);
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: -1.5rem;
    color: #3C3C3C;
}

.game-result .result-desc-text .manual-btn {
  border: 1px solid #000000;
  box-shadow: 1.01857px 1.01857px 0px #000000;
  border-radius: 6px;
  display: inline-block;
  padding: 0 0.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  margin-right: 0.2rem;
  position: relative;
  top: -0.05rem;
}

/* 결과페이지 - 로그인 안 했을 경우 */

.game-result {
  padding-top: 1.5rem !important;
}

.game-result .login-tab-section {
  position: relative;
  margin-top: 1.5rem;
  height: 12.5rem;
  text-align: center;
  margin-bottom: -1.2rem !important;
}

.game-result .login-tab-section .save-button {
  width: 70%;
  margin-top: 0.3rem;
  display: inline-block;
  line-height: 3.5rem;
  background-color: var(--game-106-sub-color);
  color: #ffffff;
  border: 0.1rem solid #000000;
  border-radius: 3rem;
  box-shadow: 0.15rem 0.15rem #000000;
  font-size: 1.3rem;
  font-family: var(--game-106-font);
  cursor: pointer;
  font-weight: 700;
}

.game-result .login-tab-section .login-tab-bubble {
  width: 70%;
  margin-top: 0.7rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.game-result .login-tab-section .login-tab-bubble > img {
  width: 85%;
}

/* 결과페이지 - 로그인 했을 경우 */

.game-result .bottom-bubble-section {
  text-align: center;
  margin: 2rem 0 1.2rem;
  width: 100%;
}

.game-result .character-bubble {
  width: 60%;
  margin: 0 auto;
}

.game-result .character-image {
  width: 18%;
  margin: 0 auto;
}

.game-result .bottom-bubble-section .character-bubble > img,
.game-result .bottom-bubble-section .character-image > img {
  width: 100%;
  image-rendering: -moz-crisp-edges; /* Firefox */
  image-rendering: -o-crisp-edges; /* Opera */
  image-rendering: -webkit-optimize-contrast; /* Webkit (non-standard naming) */
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor; /* IE (non-standard property) */
}

/*  ranking */

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

.test-lists-wrap .rankingBox .list_content_title > ul > li {
  background-color: #ffffff;
  font-size: 0.75rem;
}

.rankingBox .topRanking ul li.answer {
  opacity: 0;
}
.rankingBox .topRanking ul.list_title > li > ul > li {
  font-size: 0.75rem;
}
.rankingBox div > ul > li > ul > li:nth-of-type(2) {
  width: 31%;
}
.rankingBox div > ul > li > ul > li:nth-of-type(3) {
  width: 30%;
}
.rankingBox div > ul > li > ul > li:nth-of-type(4) {
  width: 24%;
}
.test-lists-wrap .rankingBox .list_content_div > ul > li > ul > li:nth-of-type(3) {
  padding-right: 0.3rem;
}

.test-lists-wrap .rankingBox .list_content_div > ul > li > ul > li:nth-of-type(4) {
  padding-bottom: 0.1rem;
}

.test-lists-wrap .rankingBox div > ul > li > ul {
  font-size: 0.8rem;
  display: flex;
  align-items: center;
}

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

.test-lists-wrap .rankingBox div > ul > li > ul > li:nth-of-type(4) .go-answer-btn {
  width: 80%;
  height: 1.4rem;
  margin-left: 0.4rem;
  font-family: var(--game-106-rounded-font);
  font-size: 0.75rem;
  color: #000000;
  background-color: #ffffff;
  border-radius: 0.3rem;
  box-shadow: 0.1rem 0.1rem #000000;
  border: 0.07rem solid #000000;
  display: table-cell;
  vertical-align: middle;
  cursor: pointer;
}

.test-lists-wrap .rankingBox .list_content_div > ul > li:nth-of-type(1) {
  background-color: var(--game-106-color);
}

.test-lists-wrap .rankingBox .list_content_div > ul > li:nth-of-type(2) {
  background-color: var(--game-106-2nd-color);
}

.test-lists-wrap .rankingBox .list_content_div > ul > li:nth-of-type(3) {
  background-color: var(--game-106-3rd-color);
}

.test-lists-wrap .rankingBox .list_content_div > ul > li:nth-of-type(1) > ul > li:nth-of-type(1)::after,
.test-lists-wrap .rankingBox .list_content_div > ul > li:nth-of-type(2) > ul > li:nth-of-type(1)::after,
.test-lists-wrap .rankingBox .list_content_div > ul > li:nth-of-type(3) > ul > li:nth-of-type(1)::after {
  content: '';
  padding-right: 1rem;
  top: 0.02rem;
  left: 0.8rem;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: 65%;
}

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

.rankingBox .btn_refresh > img {
  width: 100%;
}

/* 답변 페이지 */

.game-answer {
  height: auto;
  padding: 2rem 20px 3rem;
  text-align: center;
}

.app-main.answer-bg {
  background-image: url('https://cdn.banggooso.com/assets/images/game106/background.png');
  background-repeat: repeat-y !important;
  background-position: center top !important;
  background-size: 100%;
}

.game-answer .answer-list-icon {
  width: 30%;
  margin: 0 auto;
}

.maker-test-block span {
  font-family: none;
  font-weight: 600;
}

.game-answer .answer-list-icon > img {
  width: 100%;
}

.game-answer .maker-test-block {
  font-family: var(--game-106-rounded-font);
  color: #000000;
}

.game-answer .maker-test-block .maker-name {
  color: #ffffff;
}

.game-answer .open-answer {
  font-size: 1.8rem;
  color: #ffffff;
  text-shadow: -1.5px -1.5px 0 #000000, 1.5px -1.5px 0 #000000, -1.5px 1.5px 0 #000000, 1.5px 1.5px 0 #000000,
    0.15rem 0.15rem #000000;
}

.game-answer .player-name-box {
  background-color: white;
  display: inline-block;
  border: 2px solid black;
  border-radius: 0.5rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  margin: 0.3rem 0;
  color: #000000;
}
.player-box {
  padding: 0.4rem 2.5rem !important;
  font-family: 'NanumMyeongjoBold';
}
.game-answer .question-answer-box {
  background-color: #ffffff;
  border-radius: 0.3rem;
  padding: 0.6rem;
  border: 0.15rem solid #000000;
  box-shadow: 0.18rem 0.18rem #000000;
  margin-bottom: 1rem;
}

.game-answer .question-answer-box .question-option {
  padding: 0.5rem !important;
}

.game-answer .question-answer-box:last-of-type {
  margin-bottom: 0rem;
}

.game-answer .question-answer-box .question-text {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
}

/*답변 페이지 - 사진 없는 글자 선택지*/
.game-answer .question-answer-box .question-list .question-option {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
  padding-bottom: 2.2rem;
}

.game-answer .list-type-sticker{
  position:absolute;
}

.game-answer .list-type-sticker.telescope{
  top:9rem;
  right:2rem;
}

.game-answer .list-type-sticker.bag{
  top: 0.7rem;
  right: 2rem;
}

.game-answer .list-type-sticker.willy_2{
  top: 10.1rem;
  left: 1rem;
}

.game-answer .list-type-sticker.paper{
  left:3rem;
}

.game-answer .question-answer-box .question-option {
  border: 0.1rem solid #e1e1e1;
}

/*텍스트, 이미지 문제 공통 부분 */
.game-answer .question-answer-box .question-option.right {
  border: 0.1rem solid #93e056 !important;
  background-color: #d9fbbe;
}

.game-answer .question-answer-box .question-option.wrong {
  border: 0.1rem solid #ffe600 !important;
  background-color: #fff7ae;
}

/*텍스트 문제 체크 박스 */
.game-answer .question-answer-box .question-option.right:after {
  content: '';
  position: absolute;
  right: 0.7rem;
  background-image: url('https://cdn.banggooso.com/assets/images/game106/icon/answer_list_maker_right.png');
  background-size: 1.5rem 1.5rem;
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.game-answer .question-answer-box .question-option.wrong:after {
  content: '';
  position: absolute;
  right: 0.7rem;
  background-image: url('https://cdn.banggooso.com/assets/images/game106/icon/answer_list_player_right.png');
  background-size: 1.5rem 1.5rem;
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.myroom-popup .popup.my_pop .btn_retest {
  background-color: var(--game-106-color) !important;
  color: white !important;
}
