@font-face {
  font-family: 'NanumSquareNeo-Eb';
  src: url('https://cdn.banggooso.com/assets/fonts/NanumSquareNeo-dEb.ttf') format('ttf'),
    url('https://cdn.banggooso.com/assets/fonts/NanumSquareNeoOTF-Eb.otf') format('otf'),
    url('https://cdn.banggooso.com/assets/fonts/NanumSquareNeoTTF-dEb.woff') format('woff'),
    url('https://cdn.banggooso.com/assets/fonts/NanumSquareNeoTTF-dEb.woff2') format('woff2');
}

* {
  box-sizing: border-box;
  transform: skew(0deg);
  letter-spacing: normal;
}

button,
li,
ul,
dt,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
div,
a,
p,
span,
b {
  transform: skew(0);
}

body,
html {
  font-size: 16px;
  font-family: 'Pretendard';
}

.hidden {
  display: none !important;
}

a,
button,
.cursor-pointer {
  cursor: pointer;
}

@media (max-width: 500px) {
  body,
  html {
    font-size: 3.2vw;
  }
}

img {
  user-select: none;
  -webkit-user-drag: none; /* Safari, Chrome */
  -khtml-user-drag: none; /* 옛날 Konqueror 브라우저 */
  -moz-user-drag: none; /* Firefox */
  -o-user-drag: none; /* 구형 Opera */
  -webkit-user-drag: none;
  user-select: none; /* 텍스트처럼 선택 방지 */
  -webkit-touch-callout: none;
}

/* common */
.game-wrapper .share-sns-list {
  display: flex;
  padding: 2.625rem 0 3.125rem 0;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 0;
}

/* header */
.game-wrapper.basic .app-header {
  position: absolute;
  display: flex;
  width: 100%;
  height: 4.0625rem;
  padding: 0 0.5px;
  align-items: center;
  z-index: 999;
  border-bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
}

.game-wrapper.basic .app-header .app-header-btn.back {
  width: 0.7rem;
  left: 1.5rem;
  background: url(https://cdn.banggooso.com/assets/images/game295/common/back.png) no-repeat center / contain;
}

.game-wrapper .app-header .app-logo {
  width: 9.25rem;
  background-image: url(https://cdn.banggooso.com/assets/images/common/logo_2024_white.png) !important;
}

/* intro */
.game-wrapper .game-intro {
  padding-bottom: 5rem;
  background-color: #6b3b32;
}

.game-wrapper .game-intro .top-area {
  position: relative;
  width: 100%;
  height: 41.25rem;
}

.game-wrapper .game-intro .top-area .chicken-gif {
  width: 17rem;
  position: absolute;
  z-index: 1;
  left: 4.53rem;
  top: 26rem;
  mix-blend-mode: screen;
  transform: none;
  pointer-events: none;
}

.game-wrapper .game-intro .top-area .intro-rolling-image {
  width: 100%;
  position: absolute;
  left: 0;
  right: 0;
}

.game-wrapper .game-intro .top-area .intro-title-box {
  position: relative;
  top: 7.6rem;
  left: 1.81rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.game-wrapper .game-intro .top-area .intro-title-1 {
  width: 16rem;
}

.game-wrapper .game-intro .top-area .intro-title-2 {
  width: 14.5626rem;
  left: 1.44rem;
  position: relative;
}

/* initGame 실행 시 intro 화면이 숨겨지지 않도록 오버라이드 */
.game-intro.started {
  display: block !important;
}

.game-intro .content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.game-intro .start-button-box {
  position: relative;
  top: -0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.game-intro .start-button {
  background: url(https://cdn.banggooso.com/assets/images/game295/game/buttons/bt_long_default.png) no-repeat center /
    100% 100%;
  display: flex;
  width: 25rem;
  height: 5.4375rem;
  padding: 1.5rem 1.25rem;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
}

.game-intro .start-button:active {
  opacity: 0.6;
}

.game-intro .start-button p {
  color: #fff;
  text-align: center;
  font-family: 'NanumSquareNeo-Eb';
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 140%; /* 2.45rem */
}

.game-intro .start-button-box .intro-bubble-box {
  padding: 0.75rem 1.06rem 0rem;
  width: 22.875rem;
  height: 5.375rem;
  position: relative;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  top: 0.75rem;
}

.game-intro .start-button-box .intro-bubble-box .intro-bubble-arrow {
  width: 1.0625rem;
  height: 0.75rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -0.6rem;
}

.game-intro .start-button-box .intro-bubble-box .intro-bubble {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
}

.game-intro .start-button-box .intro-bubble-box .intro-rolling-container {
  position: absolute;
  left: 1.06rem;
  right: 1.06rem;
  top: 50%;
  transform: translateY(-50%);
  height: 5.375rem;
  overflow: hidden;
  -webkit-mask-image: -webkit-linear-gradient(white, white);
  mask-image: linear-gradient(white, white);
}

.game-intro .start-button-box .intro-bubble-box .intro-rolling-list {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.game-intro .start-button-box .intro-bubble-box .intro-rolling-text {
  min-height: 5.375rem;
  max-height: 5.375rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-intro .start-button-box .intro-bubble-box .intro-rolling-text-inner {
  color: #000;
  text-align: center;
  font-family: 'Pretendard';
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 120%;
  margin: 0;
  padding: 0;
}

.game-intro .start-button-box .intro-bubble-box .intro-rolling-text-inner span {
  color: #ff1426;
}

.game-intro {
  height: auto;
  padding-bottom: 0rem;
}

/* 참여자 수 */
.game-intro .game-count {
  display: flex;
  width: 27.5rem;
  padding-top: 3.75rem;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0;
}

.game-intro .game-count .count-label {
  color: #fff;
  text-align: center;
  font-family: 'Pretendard';
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.01375rem;
}

.game-intro .game-count .count-label::before {
  content: none;
}

.game-intro .game-count .count-num {
  color: #fff;
  text-align: center;
  font-family: 'Pretendard';
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.025rem;
  line-height: normal;
}

/* 라인 영역 */
.game-intro .line-box {
  width: 100%;
  padding: 0.7rem 1.5rem 0;
  display: flex;
}

.game-intro .line-box .line-image {
  margin-top: 3.12rem;
  width: 100%;
}

/* 공유하기 */
.game-wrapper .share-sns-list {
  display: flex;
  padding: 3.75rem 0;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 0;
}

.game-wrapper .share-sns-list .list-title {
  display: flex;
  align-items: center;
  margin: 0;
}

.game-wrapper .share-sns-list .list-title > span {
  color: #fff;
  text-align: center;
  font-family: 'Pretendard';
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.01375rem;
}

.game-wrapper .share-sns-list .list-title .countBox {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.game-wrapper .share-sns-list .list-title .countBox .countImg {
  width: 1.375rem;
  height: 1.375rem;
  background: url(https://cdn.banggooso.com/assets/images/game295/common/share.png) no-repeat center / contain;
  padding-bottom: 0;
  opacity: 0.6;
}

.game-wrapper .share-sns-list .list-title .countBox .countNumber {
  color: #fff;
  text-align: center;
  font-family: 'Pretendard';
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.25rem;
  letter-spacing: -0.01125rem;
  opacity: 0.6;
}

.game-wrapper .share-sns-list .list {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0.75rem;
}

.game-wrapper .share-sns-list .list li {
  margin: 0;
}

.game-wrapper .share-sns-list .list .btn-share {
  width: 3.375rem;
  height: 3.375rem;
  background-color: #222;
  border-radius: 100%;
}

.game-wrapper .share-sns-list .list .btn-share.kakao {
  background-image: url(https://cdn.banggooso.com/assets/images/game295/common/kakao.png);
}

.game-wrapper .share-sns-list .list .btn-share.instagram {
  background-image: url(https://cdn.banggooso.com/assets/images/game295/common/instagram.png);
}

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

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

.game-wrapper .share-sns-list .list .btn-share.link-copy {
  background-image: url(https://cdn.banggooso.com/assets/images/game295/common/link.png);
}

.game-wrapper .game-intro .present-by-level-image-box {
  padding: 0 1.88rem;
}

.game-wrapper .game-intro .present-by-level-image,
.game-wrapper .game-intro .present-privacy-image {
  width: 100%;
}

/* step-placeholder */
.step-placeholder {
  display: none;
}

/* tutorial */
.tutorial-modal {
  position: absolute;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.8);
  padding-top: 7.0625rem;
  width: 100%;
  height: 100%;
  justify-content: center;
  gap: 7.25rem;
  transform: none;
}

.tutorial-modal::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(4px);
}

.tutorial-modal .tutorial-content {
  width: 100%;
  transform: none;
}

.tutorial-modal .tutorial-content .tutorial-body {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  transform: none;
}

.tutorial-modal .tutorial-content .tutorial-body .tutorial-title {
  width: 25.4rem;
}

.tutorial-modal .tutorial-content .tutorial-body .chicken-box {
  position: relative;
  width: 22.125rem;
  margin: 0.5rem auto 1.25rem;
  transform: none;
}

.tutorial-modal .tutorial-content .tutorial-body .chicken-box .tutorial-chicken {
  width: 100%;
}

.tutorial-modal .tutorial-content .tutorial-body .chicken-box .tutorial-chicken-motion {
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  mix-blend-mode: screen;
  transform: none;
  pointer-events: none;
}

.tutorial-modal .tutorial-content .tutorial-body .tutorial-step {
  width: 24.1rem;
}

.tutorial-modal .tutorial-content .tutorial-footer {
  position: absolute;
  bottom: 0;
  display: flex;
  width: 100%;
  padding: 2.5rem 1.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.tutorial-modal .tutorial-content .tutorial-footer .event-date {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tutorial-modal .tutorial-content .tutorial-footer .event-date p {
  color: #fff;
  font-family: 'Pretendard';
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 130%;
}

.tutorial-modal .tutorial-content .tutorial-footer .event-date span {
  font-weight: 700;
}

.tutorial-modal .tutorial-content .tutorial-footer button {
  display: flex;
  padding: 1.5rem 1.875rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  align-self: stretch;
  color: #fff;
  text-align: center;
  font-family: 'NanumSquareNeo-Eb';
  background: url(https://cdn.banggooso.com/assets/images/game295/game/buttons/bt_long_default.png) no-repeat center /
    100% 100%;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 140%; /* 2.1rem */
}

/* result */
.game-wrapper.basic .game-result {
  padding: 4.0625rem 0 0;
  height: 100%;
  overflow: hidden;
  background: url(https://cdn.banggooso.com/assets/images/game295/game/game_bg.png) no-repeat center / cover !important;
}

/* 상단 레벨 영역 */
.game-result .level-container {
  padding: 1.25rem 2.5rem 0;
}

.level-container .level-box {
  display: inline-flex;
  padding: 1.75rem 1.25rem 1.25rem 1.25rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  border-radius: 1.25rem;
  border: 2px solid #000;
  background: #fff;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
}

.level-container .level-box p {
  color: #000;
  font-family: 'NanumSquareNeo-Eb';
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 800;
  line-height: 140%; /* 2.1rem */
}

.level-container .level-box .maker-name {
  display: block;
  color: #000;
  font-family: 'NanumSquareNeo-Eb';
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 140%; /* 1.75rem */
  text-align: center;
}

/* 게이지 래퍼 (핸들을 포함하기 위한 컨테이너) */
.level-container .level-gauge-wrapper {
  position: relative;
  width: 23.75rem;
  height: 1.875rem;
}

.level-container .level-gauge-wrapper .speech-bubble-box {
  position: absolute;
  width: 3.5625rem;
  height: 2.1875rem;
  top: -120%;
  right: 0;
}

.level-container .level-gauge-wrapper .speech-bubble-box.lv-gold {
  width: 4rem;
}

.level-container .level-gauge-wrapper .speech-bubble-box img {
  width: 100%;
  height: 100%;
}

.level-container .level-gauge-wrapper .shine-motion {
  position: absolute;
  left: -6rem;
  top: 0;
  z-index: 10;
  width: 5.875rem;
  height: 2.1875rem;
  opacity: 0;
  pointer-events: none;
}

.level-container .level-gauge-wrapper .shine-motion.play {
  animation: shine-slide 0.4s ease-out forwards;
}

@keyframes shine-slide {
  0% {
    left: -6rem;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

.level-container .level-gauge-box {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  border-radius: 0.625rem;
  border: 2px solid #000;
  background: linear-gradient(180deg, #e9e9e9 0%, #d0d0d0 100%);
  overflow: hidden;
}

/* 게이지 채우기 */
.level-container .level-gauge-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(0deg, #ff1426 0%, #ff868e 100%), #fff;
  transition: width 0.8s ease-out;
  z-index: 1;
}

.level-container .level-gauge-fill.gold {
  background: linear-gradient(0deg, #f2c53e 0%, #ffe59c 100%), #fff;
}

.level-container .level-gauge-box .star-1,
.level-container .level-gauge-box .star-2,
.level-container .level-gauge-box .star-3 {
  z-index: 9;
}

.level-container .level-gauge-box .star-1 {
  position: absolute;
  top: 0.39rem;
  left: 0.69rem;
  width: 0.625rem;
  height: 0.625rem;
}

.level-container .level-gauge-box .star-2 {
  position: absolute;
  top: 0.88rem;
  left: 1.37rem;
  width: 0.4375rem;
  height: 0.375rem;
}

.level-container .level-gauge-box .star-3 {
  position: absolute;
  bottom: 0.25rem;
  right: 0.69rem;
  width: 0.8125rem;
  height: 0.8125rem;
}

/* 게이지가 100%일 때 오른쪽도 둥글게 */
.level-container .level-gauge-fill[data-level='26'] {
  border-radius: 0.625rem;
}

/* 핸들 (별도 요소로 분리) */
.level-container .level-gauge-handle {
  position: absolute;
  left: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 0.5rem;
  height: 2.25rem;
  border-radius: 12.5rem;
  border: 2px solid #000;
  background: #fff;
  z-index: 10;
  transition: left 0.8s ease-out;
  pointer-events: none;
}

/* 상단 응모 영역 */
.game-result .apply-container {
  display: flex;
  width: 100%;
  padding: 2.5rem 1.25rem 1.25rem 1.25rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  background: linear-gradient(0deg, rgba(255, 237, 185, 0) 0%, rgba(0, 0, 0, 0.5) 46%, #000 100%);
}

.game-result .apply-container .maker-name {
  color: #fff;
  text-align: center;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  font-family: 'NanumSquareNeo-Eb';
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 140%; /* 2.1rem */
}

.game-result .apply-container .apply-count-box {
  display: flex;
  padding: 0.625rem 2rem;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  border-radius: 4.375rem;
  border: 2px solid #000;
  background: linear-gradient(91deg, #fdcc3a 9.27%, #ffedb9 56.68%, #fdcc3a 95.02%);
}

.game-result .apply-container .apply-count-box p {
  color: #000;
  text-align: center;
  font-family: 'NanumSquareNeo-Eb';
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 140%; /* 2.1rem */
}

/* 캐릭터 영역 */
.game-result .character-container {
  position: relative;
  margin-top: 2.69rem;
  width: 100%;
  transform: none;
}

.character-container .speech-bubble {
  position: absolute;
  width: 9.9375rem;
  left: 9.31rem;
  top: 1rem;
}

/* 빈 캐릭터일 때 말풍선 위치 조정 */
.character-container .speech-bubble.empty-character-state {
  right: 1.75rem;
  top: 10.5rem;
  left: auto;
}

.character-container .chicken-box {
  position: absolute;
  width: 17rem;
  left: 3.75rem;
  top: 15.25rem;
  transform: none;
  text-align: center;
}

.character-container .chicken-box .click-area {
  display: none;
  padding: 0.375rem 0.75rem;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  border-radius: 4.375rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(2px);
  position: relative;
  top: -1.5rem;
}

.character-container .chicken-box .click-area p {
  color: #fff;
  font-family: 'NanumSquareNeo-Eb';
  font-size: 1rem;
  font-weight: 800;
  line-height: 140%;
}

.character-container .chicken-box .click-area .triangle-icon {
  width: 0.5rem;
}

.character-container .chicken-gif {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  mix-blend-mode: screen;
  transform: none;
  pointer-events: none;
}

.character-container .two_levelup_bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  z-index: -1;
}

.character-container .chicken {
  width: 100%;
}

.character-container .chicken[src*='chicken_gold.png'],
.character-container .chicken[src*='chicken_original.png'] {
  animation: chicken-pulse 3s ease-in-out infinite;
}

@keyframes chicken-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.character-container .levelup {
  width: 9.125rem;
  position: absolute;
  opacity: 0;
  left: 3.97rem;
  top: -1.25rem;
}

.character-container .levelup.show {
  animation: show-bubble-maker 1.5s ease-in-out;
}

@keyframes show-bubble-maker {
  0% {
    transform: translateY(5rem);
    opacity: 0;
  }

  15%,
  85% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.character-container .character {
  width: 100%;
}

/* 쿠폰 배지 */
.character-container .coupon-badge {
  width: 6.5625rem;
  position: absolute;
  right: 3.25rem;
  top: 17.81rem;
}

.character-container .coupon-badge img {
  width: 100%;
  height: 100%;
}

.character-container .coupon-badge .badge-click-area {
  display: none;
  padding: 0.375rem 0.75rem;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  border-radius: 4.375rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(2px);
  position: absolute;
  top: -0.8rem;
  right: -0.4rem;
}

.character-container .coupon-badge .badge-click-area p {
  color: #fff;
  font-family: 'NanumSquareNeo-Eb';
  font-size: 1rem;
  font-weight: 800;
  line-height: 140%; /* 1.4rem */
}

/* 하단 버튼 영역 */
.game-result .buttons-wrap {
  width: 100%;
  position: absolute;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

/* 버튼 상단 얼럿 영역 {s} */
.game-result .buttons-wrap .level-alert {
  max-width: 26.25rem;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0s linear 0.5s;
}

.game-result .buttons-wrap .level-alert.show {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease-in-out;
}

.game-result .buttons-wrap .level-alert.default-bg {
  background: url(https://cdn.banggooso.com/assets/images/game295/common/alert_default.png) no-repeat center / 100% 100% !important;
}
.game-result .buttons-wrap .level-alert.gold-bg {
  background: url(https://cdn.banggooso.com/assets/images/game295/common/alert_gold.png) no-repeat center / 100% 100% !important;
}

.game-result .buttons-wrap .level-alert p {
  color: #000;
  text-align: center;
  font-family: 'Pretendard';
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 130%; /* 1.95rem */
  white-space: nowrap;
}

.game-result .buttons-wrap .level-alert span {
  color: #ff1426;
}

.game-result .buttons-wrap .level-alert .player-name {
  color: #000;
  white-space: nowrap; /* 줄바꿈 금지 (필수) */
  overflow: hidden; /* 넘치는 부분 숨기기 (필수) */
  text-overflow: ellipsis;
  width: auto;
  max-width: 7.8125rem;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -0.1rem;
}

/* 버튼 상단 얼럿 영역 {e} */
.game-result .bottom-box {
  width: 100%;
  display: flex;
  padding: 2rem 1.5rem 2.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: auto;
}

.bottom-box .button-wrap {
  display: flex;
  width: 100%;
  gap: 1rem;
}

.bottom-box .one-button {
  display: flex;
  flex: 1;
  padding: 1.5rem 0rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  align-self: stretch;
  background: url(https://cdn.banggooso.com/assets/images/game295/game/buttons/bt_short_default_red.png) no-repeat
    center / 100% 100%;
}

.bottom-box .one-button.disabled {
  background: url(https://cdn.banggooso.com/assets/images/game295/game/buttons/bt_short_default_gray.png) no-repeat
    center / 100% 100%;
  cursor: default;
}

.bottom-box .one-button.long {
  background: url(https://cdn.banggooso.com/assets/images/game295/game/buttons/bt_long_default.png) no-repeat center /
    100% 100%;
}

.bottom-box .two-button {
  display: flex;
  flex: 1;
  padding: 1.5rem 0rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  align-self: stretch;
  background: url(https://cdn.banggooso.com/assets/images/game295/game/buttons/bt_short_default_black.png) no-repeat
    center / 100% 100%;
}

.bottom-box .one-button p,
.bottom-box .two-button p {
  color: #fff;
  text-align: center;
  font-family: 'NanumSquareNeo-Eb';
  white-space: nowrap;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 140%;
}

.bottom-box .one-button span {
  font-size: 1.125rem;
}

.bottom-box .agree-box {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.bottom-box .agree-box {
  cursor: pointer;
}

.bottom-box .agree-box .check-box {
  width: 1.5rem;
  height: 1.5rem;
}

.bottom-box .agree-box .agree-text {
  color: #fff;
  font-family: 'Pretendard';
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5rem;
  letter-spacing: -0.0125rem;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.bottom-box .event-button {
  display: flex;
  padding: 1.625rem 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  align-self: stretch;
  background: url(https://cdn.banggooso.com/assets/images/game295/game/buttons/bt_gold_active.png) no-repeat center /
    100% 100%;
}

.bottom-box .event-button.disabled {
  background: url(https://cdn.banggooso.com/assets/images/game295/game/buttons/bt_gold_none.png) no-repeat center / 100%
    100%;
  cursor: default;
  pointer-events: none;
}

.bottom-box .event-button p {
  color: #000;
  text-align: center;
  font-family: 'NanumSquareNeo-Eb';
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 140%;
}

.bottom-box .timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.bottom-box .timer p {
  color: #fff;
  font-family: 'Pretendard';
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5rem; /* 120% */
  letter-spacing: -0.0125rem;
}

.bottom-box .timer .remaining-time {
  display: flex;
  padding: 0.25rem 1rem;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  border-radius: 2.5rem;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  text-align: center;
  font-family: 'Pretendard';
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 130%; /* 1.625rem */
  font-variant-numeric: tabular-nums;
  min-width: 9rem;
}

/* 모달 영역 */
.coupon-modal.modal-overlay,
.privacy-modal.modal-overlay,
.gold-chicken-modal.modal-overlay,
.end-game-modal.modal-overlay,
.level-benefit-modal.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 200;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  padding: 0 1.87rem;
  overflow: hidden;
  touch-action: none;
  -webkit-overflow-scrolling: auto;
}

.coupon-modal.modal-overlay.active,
.privacy-modal.modal-overlay.active,
.gold-chicken-modal.modal-overlay.active,
.end-game-modal.modal-overlay.active,
.level-benefit-modal.modal-overlay.active {
  display: flex;
}

.coupon-modal .modal-wrap,
.privacy-modal .modal-wrap,
.gold-chicken-modal .modal-wrap,
.level-benefit-modal .modal-wrap {
  border-radius: 2rem;
  border: 2px solid #000;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.coupon-modal .modal-wrap {
  width: 100%;
}

.end-game-modal .modal-content {
  border-radius: 2rem;
  border: 2px solid #000;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.privacy-modal .modal-content,
.coupon-modal .modal-content,
.gold-chicken-modal .modal-content,
.end-game-modal .modal-content,
.level-benefit-modal .modal-content {
  display: flex;
  width: 100%;
  padding: 3.75rem 1.5rem 1.5rem 1.5rem;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(0deg, #fff 0%, #fff 100%), linear-gradient(0deg, #fff 0%, #ffe0e0 100%);
}

.privacy-modal .modal-content,
.coupon-modal .modal-content,
.gold-chicken-modal .modal-content,
.level-benefit-modal .modal-content {
  max-height: 37.5rem;
  padding-bottom: 3rem;
  overflow: auto;
  position: relative;
}

.coupon-modal .modal-content {
  padding-bottom: 1.5rem;
}

.coupon-modal .modal-close,
.end-game-modal .modal-close {
  border: none;
  background-color: transparent;
  width: 1.5rem;
  height: 1.5rem;
  aspect-ratio: 1/1;
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
}

.privacy-modal .modal-close:hover,
.coupon-modal .modal-close:hover,
.gold-chicken-modal .modal-close:hover,
.end-game-modal .modal-close:hover,
.level-benefit-modal .modal-close:hover {
  opacity: 0.7;
}

.privacy-modal .modal-close img,
.coupon-modal .modal-close img,
.gold-chicken-modal .modal-close img,
.end-game-modal .modal-close img,
.level-benefit-modal .modal-close img {
  width: 100%;
}

.privacy-modal .modal-body,
.coupon-modal .modal-body,
.gold-chicken-modal .modal-body,
.end-game-modal .modal-body,
.level-benefit-modal .modal-body {
  width: 100%;
}

.privacy-modal .modal-body .privacy-text-image {
  width: 100%;
}

.coupon-modal .coupon-image {
  width: 20.25rem;
  margin: 0.62rem auto 0.75rem;
}

.coupon-modal .coupon-image img {
  width: 100%;
}

.coupon-modal .modal-body .modal-title-wrap,
.end-game-modal .modal-body .modal-title-wrap {
  text-align: center;
}

.coupon-modal .modal-body .modal-title-wrap p,
.end-game-modal .modal-body .modal-title-wrap p {
  color: #000;
  font-family: 'NanumSquareNeo-Eb';
  font-size: 1.75rem;
  font-style: normal;
  font-weight: 800;
  line-height: 130%;
}

.coupon-modal .modal-body .modal-title-wrap p {
  margin-bottom: 1.25rem;
}

.coupon-modal .modal-body .modal-title-wrap span,
.end-game-modal .modal-body .modal-title-wrap span {
  color: #ff1426;
}

.coupon-modal .coupon-code-box {
  display: flex;
  padding: 0.75rem 0.75rem 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  border-radius: 1.25rem;
  border: 2px solid rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.03);
  margin-top: 1.87rem;
}

.coupon-modal .coupon-code-box .coupon-code {
  flex: 1;
  color: #000;
  font-family: 'Pretendard';
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 150%; /* 2.25rem */
}

.coupon-modal .coupon-code-box .copy-btn {
  display: flex;
  padding: 0.625rem 1rem;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  border-radius: 1rem;
  background: #000;
  color: #fff;
  font-family: 'Pretendard';
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 130%; /* 1.7875rem */
}

.coupon-modal .action-button {
  width: 100%;
  display: flex;
  margin: 1.25rem 0;
  padding: 1.5rem 1.875rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  align-self: stretch;
  background: url(https://cdn.banggooso.com/assets/images/game295/game/buttons/bt_long_default.png) no-repeat center /
    100% 100%;
  color: #fff;
  text-align: center;
  font-family: 'NanumSquareNeo-Eb';
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 140%;
}

.coupon-modal .coupon-info {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.25rem;
  cursor: pointer;
}

.coupon-modal .coupon-box .coupon-use-text-image {
  width: 100%;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.coupon-modal .coupon-box .coupon-use-text-image.expanded {
  display: block;
  opacity: 1;
}

.coupon-modal .coupon-info .toggle-box {
  display: flex;
  width: 1.5625rem;
  height: 1.625rem;
  padding: 0.5rem;
}

.coupon-modal .coupon-info .toggle-box img {
  width: 0.625rem;
  transition: transform 0.3s ease;
}

.coupon-modal .coupon-info .toggle-box img.rotate {
  transform: rotate(90deg);
}

.coupon-modal .coupon-info p {
  color: #000;
  font-family: 'Pretendard';
  font-size: 1rem;
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.coupon-modal .coupon-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  top: -0.75rem;
  position: relative;
  min-height: 20rem;
}

.coupon-modal .coupon-loading p {
  color: #000;
  font-family: 'Pretendard';
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

.coupon-modal .loading-spinner {
  margin: 0 auto;
  width: 3rem;
  height: 3rem;
  border: 4px solid rgba(255, 20, 38, 0.2);
  border-top-color: #ff1426;
  border-radius: 50%;
  -webkit-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.coupon-modal .modal-header,
.privacy-modal .modal-header,
.gold-chicken-modal .modal-header,
.level-benefit-modal .modal-header {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3.5rem;
  padding-top: 1.75rem;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 1;
}

.coupon-modak .modal-header .modal-close,
.privacy-modal .modal-header .modal-close,
.gold-chicken-modal .modal-header .modal-close,
.level-benefit-modal .modal-header .modal-close {
  width: 1.5rem;
  background-color: transparent;
  border: none;
  position: absolute;
  right: 1.75rem;
}

.gold-chicken-modal .modal-body,
.end-game-modal .modal-body {
  text-align: center;
}

.gold-chicken-modal .modal-body .gold-title {
  color: #000;
  text-align: center;
  font-family: 'NanumSquareNeo-Eb';
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 130%; /* 2.275rem */
  margin-top: 0.25rem;
}

.gold-chicken-modal .modal-body .gold-title span {
  color: #ff1426;
}

.gold-chicken-modal .modal-body .gift-gold-bar-image,
.gold-chicken-modal .modal-body .gift-gold-frame-image {
  width: 100%;
}

.gold-chicken-modal .modal-body .gift-gold-frame-image {
  margin-bottom: 1.25rem;
}

.gold-chicken-modal .modal-body .notice-text {
  margin-top: 1.25rem;
}

.gold-chicken-modal .modal-body .notice-text-box .notice-text-image,
.level-benefit-modal .modal-body .notice-text-box .notice-text-image {
  width: 100%;
}

.gold-chicken-modal .modal-body .present-text {
  margin: 2rem auto 1.25rem;
  color: #000;
  text-align: center;
  font-family: 'NanumSquareNeo-Eb';
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 130%;
}

.gold-chicken-modal .modal-body .present-text span {
  color: #ff1426;
}

.gold-chicken-modal .scroll-arrow-box,
.level-benefit-modal .scroll-arrow-box {
  display: flex;
  width: 100%;
  height: 3.75rem;
  padding: 1.875rem 0 1.0625rem 0;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 30%, #fff 60%);
}

.gold-chicken-modal .scroll-arrow-box .scroll-arrow,
.level-benefit-modal .scroll-arrow-box .scroll-arrow {
  width: 1rem;
}

.end-game-modal .gold-chicken-image {
  margin: 0.75rem auto 0;
  width: 22.375rem;
}

.end-game-modal .end-game-description {
  position: relative;
  top: -0.9rem;
  color: #000;
  text-align: center;
  font-family: 'Pretendard';
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 130%;
}

.end-game-modal .end-game-description span {
  color: #ff1426;
}

.end-game-modal .end-game-button {
  width: 100%;
  display: flex;
  padding: 1.5rem 1.875rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  align-self: stretch;
  border-radius: 1.25rem;
  border: 2px solid #000;
  background: #000;
  color: #fff;
  text-align: center;
  font-family: 'NanumSquareNeo-Eb';
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 140%;
  margin-bottom: 0.75rem;
}

.end-game-modal .next-game-button {
  width: 100%;
  display: flex;
  padding: 1.5rem 1.875rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  align-self: stretch;
  border-radius: 1.25rem;
  border: 2px solid #000;
  background: #ff1426;
  color: #fff;
  text-align: center;
  font-family: 'NanumSquareNeo-Eb';
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 140%;
}

.level-benefit-modal .star-title-wrap {
  background: url(https://cdn.banggooso.com/assets/images/game295/game/coupons/star_bg.png) no-repeat center / contain;
  margin: 1rem auto 1.25rem;
  width: 17.875rem;
}

.level-benefit-modal .star-title-wrap .gold-title {
  color: #000;
  text-align: center;
  font-family: 'NanumSquareNeo-Eb';
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 130%;
}

.level-benefit-modal .star-title-wrap .gold-title span {
  color: #ff1426;
}

.level-benefit-modal .modal-content .coupon-list-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 19.375rem;
  margin: 0 auto;
}

.level-benefit-modal .modal-content .coupon-list-box .stroke-line {
  width: 3px;
  height: calc(100% - 4px);
  background-color: #ffd0d4;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.level-benefit-modal .modal-content .coupon-list-box .coupon-pack {
  width: 100%;
}

.level-benefit-modal .modal-content .invite-text {
  margin: 2.5rem 0 1.25rem;
  color: #000;
  text-align: center;
  font-family: 'NanumSquareNeo-Eb';
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 130%;
}

.level-benefit-modal .modal-content .invite-text span {
  color: #ff1426;
}

.level-benefit-modal .modal-content .gift-frame-image,
.level-benefit-modal .modal-content .gift-bar-image {
  width: 100%;
}

.level-benefit-modal .modal-content .gift-bar-image {
  margin-bottom: 1rem;
}

.privacy-modal .privacy-button-box {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  padding: 2.5rem 1.5rem 1.5rem 1.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 20%);
}

.privacy-modal .privacy-button-box .privacy-ok {
  width: 100%;
  height: 5.125rem;
  background: url(https://cdn.banggooso.com/assets/images/game295/game/buttons/bt_long_default.png) no-repeat center /
    100% 100%;
}

.privacy-modal .privacy-button-box .privacy-ok p {
  color: #fff;
  text-align: center;
  font-family: 'NanumSquareNeo-Eb';
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 140%; /* 2.1rem */
}
