/* Common */
@font-face {
  font-family: 'NanumSquareRound';
  src: url('https://cdn.banggooso.com/assets/fonts/NanumSquareRoundB.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'NanumSquareRound';
  src: url('https://cdn.banggooso.com/assets/fonts/NanumSquareRoundR.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'NanumSquareRound';
  src: url('https://cdn.banggooso.com/assets/fonts/NanumSquareRoundB.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'NanumSquareRound';
  src: url('https://cdn.banggooso.com/assets/fonts/NanumSquareRoundEB.woff') format('woff');
  font-weight: 800;
  font-style: normal;
}
body {
  transform: none !important;
}
body .game-wrapper,
body .game-wrapper input,
body .game-wrapper textarea,
body .game-wrapper button {
  font-family: 'NanumSquareRound', sans-serif;
  font-weight: 800;
}
.btn-style-short {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  background-color: transparent;
  background-image: url('https://cdn.banggooso.com/assets/images/game243/bt-short.png');
  background-size: contain;
  background-repeat: no-repeat;
  aspect-ratio: 640 / 142;
  max-width: 16rem;
  width: 100%;
}

/* Header */
.game-wrapper .app-header .app-logo {
  background-image: url(https://cdn.banggooso.com/assets/images/common/logo_2024_white.png);
  width: 9.3025rem;
}
.game-wrapper.basic .app-header .back {
  background: transparent url('https://cdn.banggooso.com/assets/images/icons/back-arrow-w.png') no-repeat center center /
    auto 1rem;
}
.game-wrapper.basic .app-header {
  background-color: rgb(37 17 17 / 70%);
  border: none;
  position: absolute;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 2.5rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px); /* Safari 지원 */
}
main.app-main footer.btn-wrap {
  width: 100%;
  display: flex;
}
main.app-main footer.btn-wrap button {
  flex: 1;
  height: 60px;
  font-size: 28px;
  color: #ffffff;
  margin: 0;
  padding: 0;
  background-image: url('https://cdn.banggooso.com/assets/images/game243/cook/btn-bottom.png');
  background-size: cover;
  background-position: top center;
}
/* Intro */
.game-intro {
  display: flex;
  flex-direction: column;
  font-weight: 800 !important;
  min-height: 100vh;
  padding-bottom: 0 !important;
}
.game-intro .intro-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
  background-image: url('https://cdn.banggooso.com/assets/images/game243/maker/light.png');
  background-size: cover;
  background-position: top center;
  background-color: #172249;
  padding-bottom: 7rem;
}
.game-intro .intro-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://cdn.banggooso.com/assets/images/game243/maker/snow.png');
  background-size: contain;
  background-repeat: repeat;
  z-index: 0;
}
.game-intro .intro-top::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4.5rem;
  background-image: url('https://cdn.banggooso.com/assets/images/game243/maker/awning-red-white.png');
  background-size: cover;
  background-repeat: repeat;
  background-position: center;
  z-index: 0;
}
.game-intro .intro-top .intro-title {
  margin-top: 4.5rem;
  position: relative;
}
.game-intro .intro-top .intro-title img {
  width: 100%;
  height: auto;
}
.game-intro .intro-top .intro-title img:nth-child(2) {
  position: absolute;
  top: 0;
  left: 0;
}
.game-intro .intro-top h2 {
  font-size: 1.2rem;
  color: #ffffff;
  background-color: #a16950;
  padding: 0.1rem 0.8rem;
  border-radius: 2.5rem;
}
.game-intro .intro-bottom {
  background-color: #7a443b;
  padding-bottom: 4rem;
}
.game-intro .intro-bottom > div {
  padding: 0 1.5rem;
}
.game-intro .intro-bottom #animation-wrap {
  position: relative;
  height: 1.5rem;
}
.game-intro .intro-bottom #animation-wrap img {
  width: 11rem;
  position: absolute;
  top: -6rem;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.game-intro .intro-bottom #animation-wrap .intro-desk {
  width: 120%;
  top: -6rem;
}
.game-intro .intro-bottom .nickname-wrap {
  margin-top: 2.5rem;
  padding: 0 2.2rem;
}
.game-intro .intro-bottom .nickname-wrap #nickname {
  background-color: #eedcd0;
  width: 100%;
  padding: 0.85rem 2rem;
  font-size: 1.2rem;
  box-shadow: 0px 4px 8px 0px #00000033;
  text-align: center;
  color: #61332c;
  border-radius: 0.8rem;
}
.game-intro .intro-bottom .nickname-wrap #nickname::placeholder {
  color: #61332c;
  opacity: 0.5;
}
.game-intro .intro-bottom .btn-wrap {
  margin: 0.8rem;
  padding: 0 1.1rem;
  width: 100%;
}
.game-intro .intro-bottom .btn-wrap button.btn-game-start {
  background: url('https://cdn.banggooso.com/assets/images/game243/maker/btn-start.png') no-repeat center center / auto
    100%;
  font-family: 'NanumSquareRound' !important;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  border: none;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  aspect-ratio: 22/5;
  filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.2));
}
.game-intro .intro-bottom .game-count {
  margin-top: 2.4rem;
  margin-bottom: 2rem;
}
.game-intro .intro-bottom .game-count .count-label {
  font-family: 'NanumSquareRound' !important;
  font-weight: 800;
  font-size: 1.2rem;
  color: #eedcd0;
}
.game-intro .intro-bottom .game-count .count-label:before {
  background-color: transparent;
}
.game-intro .intro-bottom .game-count .count-num {
  font-family: 'NanumSquareRound' !important;
  font-weight: 800;
  font-size: 2.2rem;
  color: #eedcd0;
}
.game-intro .intro-bottom .share-sns-list {
  border-top: 1px solid rgb(238 220 208 / 20%);
  margin: 0;
  padding: 2rem 0;
}
.game-intro .intro-bottom .share-sns-list .list-title .countBox .countImg {
  background-image: url('https://cdn.banggooso.com/assets/images/game243/share-light.png');
}
.game-intro .intro-bottom .share-sns-list .btn-share.kakao {
  background-image: url('https://cdn.banggooso.com/assets/images/game243/share-kakao-intro.png');
}
.game-intro .intro-bottom .share-sns-list .btn-share.facebook {
  background-image: url('https://cdn.banggooso.com/assets/images/game243/share-facebook-intro.png');
}
.game-intro .intro-bottom .share-sns-list .btn-share.instagram {
  background-image: url('https://cdn.banggooso.com/assets/images/game243/share-instagram-intro.png');
}
.game-intro .intro-bottom .share-sns-list .btn-share.twitter {
  background-image: url('https://cdn.banggooso.com/assets/images/game243/share-twitter-intro.png');
}
.game-intro .intro-bottom .share-sns-list .btn-share.link-copy {
  background-image: url('https://cdn.banggooso.com/assets/images/game243/share-link-copy-intro.png');
}

/* Maker Step 1 */
.game-wrap .full-page {
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.game-wrap #step1 .title-wrap {
  z-index: 1;
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 1.5rem 2rem;
  width: 100%;
}
.game-wrap #step1 .title-wrap h1 {
  background-image: url('https://cdn.banggooso.com/assets/images/game243/maker/bg-title.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  aspect-ratio: 105 / 29;
  font-size: 1.3rem;
  font-weight: 800;
  color: #61332c;
  -webkit-text-stroke-width: 0.2px;
  white-space: nowrap;
  text-align: center;
}
/* store interior */
#store-interior {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  background-color: #61332c;
}
#store-interior img {
  width: 100%;
  height: auto;
}
/* store interior selection */
#store-selection {
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 2rem;
  background-image: url('https://cdn.banggooso.com/assets/images/game243/maker/bg-selection.png');
  background-position: top center;
  background-size: cover;
}
#store-selection > .guide-msg {
  width: 18rem;
  position: absolute;
  top: -3.2rem;
  left: 50%;
  transform: translateX(-50%);
}
#store-selection > h2 {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #61332c;
  margin-top: 1rem;
}
#store-selection > section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0.8rem 1.5rem 1.5rem;
}
#store-selection > section > img {
  width: 6.7rem;
  border-radius: 0.6rem;
  height: auto;
  cursor: pointer;
}
#store-selection > section > img.selected {
  border: 5px solid #e06050;
}
#store-selection > footer {
  display: flex;
  justify-content: center;
  align-items: center;
}
#store-selection > footer > button {
  flex: 1;
  padding: 10px 20px;
  background-color: #263359;
  color: white;
  font-size: 28px;
  border: none;
  cursor: pointer;
}

.game-wrapper.basic .game-result {
  padding: 2.5rem 0;
  background-color: #dd9c6c;
  min-height: 100%;
}

/* Share component */
.share-sns-list {
  margin: 0.6rem 0 !important;
}
.share-sns-list span {
  font-weight: 800 !important;
}
.share-sns-list .list-title {
  color: #eedcd0;
  margin-bottom: 0.4rem;
}

/* Modal */
.modal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
}
.modal .modal-header {
  height: 1.2rem;
  width: 100%;
  text-align: right;
}
.modal .modal-header .btn-close {
  background: transparent;
}
.modal .modal-header .btn-close > img {
  width: 1.2rem;
  aspect-ratio: 1/1;
}
.modal .modal-content {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 1rem;
  margin: 1rem;
  color: #61332c;
  font-weight: 800;
  background-color: #f8ebde;
  border: 2px solid #d0b7ab;
  border-radius: 1.2rem;
}
