@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

/* 전역 스타일 수정 */
* {
  letter-spacing: normal;
  box-sizing: border-box;
  transform: skew(0deg);
}

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

body.en-US .app button {
  font-family: 'Pretendard Variable' !important;
}

@media (max-width: 500px) {

  body,
  html {
    font-size: 3.2vw;
  }
}

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

.game-wrapper * {
  transform: skew(0);
}

/* header */

.game-wrapper .app-header {
  height: 4rem;
  background: rgba(201, 40, 35, 0.8) !important;
  backdrop-filter: blur(2px);
}

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

body.en-US .game-wrapper .app-header .app-logo {
  width: 9.3025rem !important;
  background-size: contain;
  background-image: url(https://cdn.banggooso.com/assets/images/common/LOGO-US.png) !important;
}

.game-wrapper .app-header .app-header-btn.back {
  background-size: 30%;
  filter: brightness(0) invert(1);
}

.game-wrapper .app-header.page .app-sound {
  top: 50%;
  right: 1rem;
  width: 2.0625rem;
  height: 1.75rem;
  background: url(https://cdn.banggooso.com/assets/images/game280/sound-icon-on.svg) no-repeat center/cover;
  transform: translateY(-50%);
}

.game-wrapper .app-header.page .app-sound.off {
  background: url(https://cdn.banggooso.com/assets/images/game280/sound-icon-off.svg) no-repeat center/cover;
}

/* common styles */
.btn-wrap {
  cursor: pointer;
}

.btn-wrap:active {
  opacity: 0.7;
}

#modal {
  display: none;
}

img {
  max-width: 100%;
  height: auto;
  max-height: 100%;
}

.hidden {
  display: none !important;
}

.strong {
  font-weight: 700 !important;
}

/* intro styles */
.game-intro {
  display: flex;
  align-items: center;
  justify-content: start;
  flex-direction: column;
  background-color: #f0f0f0;
}

.intro-bg {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding-top: 1.75rem;
  background: url(https://cdn.banggooso.com/assets/images/game280/intro-bg.png) no-repeat top/cover;
  background-position-y: -6rem;
}

.intro-bg .intro-rolling-1,
.intro-bg .intro-rolling-2,
.intro-bg .intro-rolling-3 {
  position: absolute;
  width: 100%;
  max-height: initial;
  top: -7.8rem;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.intro-bg .intro-rolling-1.show,
.intro-bg .intro-rolling-2.show,
.intro-bg .intro-rolling-3.show {
  opacity: 1;
}

.intro-title {
  width: 100%;
  height: 22.6rem;
  margin: 4rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

body.en-US .intro-title {
  width: 100%;
  height: 22.6rem;
  display: flex;
  margin: 0.5rem 0;
  justify-content: center;
  align-items: center;
}

.intro-title img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* background-size: contain 효과 */
}

.game-intro .input-wrapper {
  width: 22rem;
  height: 4.25rem;
  border: 2px solid #3f2021;
}

.game-intro input[name='nickname'] {
  width: 100%;
  height: 100%;
  border: none;
  background: #fff;
  color: #3f2021;
  font-size: 1.5rem;
  font-family: 'Pretendard';
  text-align: center;
  border-radius: 4px;
  outline: none;
}

.game-intro input[name='nickname']::placeholder {
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 500;
  color: #3f2021;
  text-align: center;
  letter-spacing: -0.03rem;
  opacity: 0.5;
}

.game-intro .btn-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0.8rem 2rem;
}

.enter-club-room-btn {
  width: 100%;
  height: 5.9rem;
  margin-top: 2rem;
  background: url(https://cdn.banggooso.com/assets/images/game280/start-btn.png) no-repeat center/contain;
}

.game-intro .participant-container {
  width: calc(100% - 3rem);
  padding: 3.75rem 0 2.5rem 0;
  border-bottom: 1px solid rgba(63, 32, 33, 0.5);
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  color: #3f2021;
  text-align: center;
  letter-spacing: -0.025rem;
}

body.en-US .game-intro .participant-container {
  font-family: 'Pretendard Variable' !important;
  width: calc(100% - 3rem);
  padding: 3.75rem 0 2.5rem 0;
  border-bottom: 1px solid rgba(63, 32, 33, 0.5);
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  color: #3f2021;
  text-align: center;
  letter-spacing: -0.025rem;
}

.game-intro .participant-container h3 {
  font-size: 1.375rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  color: #3f2021;
  text-align: center;
}

.game-intro .share-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 2.625rem 1.5rem 6.25rem 1.5rem;
}

body.en-US .game-intro .share-container {
  font-family: 'Pretendard Variable';
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 2.625rem 1.5rem 6.25rem 1.5rem;
}

.game-intro .share-container h3 {
  font-size: 1.375rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  color: #3f2021;
  text-align: center;
  letter-spacing: -0.01375rem;
  font-family: 'Pretendard';
}

.game-intro .share-container p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.42rem;
  line-height: 100%;
}

body.en-US .game-intro .share-container p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.42rem;
  line-height: 100%;
  font-size: 1.25rem;
}

.game-intro .share-container>div {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  margin-bottom: 1rem;
}

.game-intro .share-container>button {
  width: 21.25rem;
  padding: 1.28rem 0;
  border: 1.333px solid #fff;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1);
  background: #3f2021;
  font-size: 1.75rem;
  font-family: 'Pretendard';
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  /* 2.45rem */
  color: #fff;
  text-align: center;
  border-radius: 1rem;
}

/* game template styles */
.game-template {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  width: 100%;
  height: 100dvh !important;
  background-color: #ffffff;
  background-color: #f0f0f0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  user-select: none;
  transition: opacity 2s ease-in;
}

.game-template.overlay::before {
  position: absolute;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.4);
  content: '';
  inset: 0;
}

.game-template>* {
  z-index: 2;
}

.game-template .top {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  flex-direction: column;
  width: 100%;
  padding: 1.2rem;
}

.game-template .bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0;
  flex-direction: column;
  width: 100%;
  padding: 0 1rem 3rem;
}

.game-template .full {
  overflow: hidden;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}

.game-template.fadeOut {
  opacity: 0;
}

/* 01.php styles */
.game-template[data-step='1'] .top>article {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  background-color: transparent;
}

.game-template[data-step='1'] .top>article>img {
  width: 3.6rem;
}

.game-template[data-step='1'] .top>article>p {
  width: 100%;
  margin-top: 0.6rem;
  font-family: 'Pretendard';
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  /* 31.2px */
  color: #faf4f1;
  text-align: center;
  text-align: center;
}

/* result */

@font-face {
  font-family: 'SebangGothic';
  font-weight: normal;
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2104@1.0/SEBANG_Gothic_Regular.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'SebangGothic';
  font-weight: 700;
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2104@1.0/SEBANG_Gothic_Bold.woff') format('woff');
  font-display: swap;
}

.app-main.result {
  background: #f3ebe7;
}

.game-result {
  padding: 0;
}

.game-result .sub-title {
  margin: 3.75rem 0 1rem 0;
  font-family: 'Pretendard';
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  color: #3f2021;
  text-align: center;
}

.game-result .sub-title::before {
  display: inline-block;
  width: 0.75rem;
  height: 0.9375rem;
  margin-right: 0.5rem;
  background: url(https://cdn.banggooso.com/assets/images/game280/heart-icon.svg) no-repeat center/cover;
  content: '';
}

/* image container */

.result-img .title-box {
  position: absolute;
  top: 0;
  margin-top: 0.6rem;
  margin-left: 1.75rem;
}

.result-img .title-box .capture-title-logo {
  width: 7.5625rem;
}

.result-img .title-box h2 {
  font-family: 'SebangGothic';
  font-size: 1.325rem;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  color: #3f2021;
  margin-top: 0.2rem;
}

body.en-US .result-img .title-box h2 {
  font-family: 'SebangGothic';
  font-size: 1.25rem !important;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  color: #3f2021;
  margin-top: 0.2rem;
}

.result-img .title-box h2.white-text {
  color: white !important;
}

.radius {
  width: 28.25rem;
  height: 100%;
  max-height: 39.5625rem;
  margin: 0 auto;
  border-radius: 0.625rem;
  overflow: hidden;
}

.result-img {
  width: 28.25rem;
  height: 39.5625rem;
  max-height: 39.5625rem;
  margin: 0 auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  overflow: hidden;
  position: relative;
}

.result-img img {
  width: 100%;
  height: 100%;
}

.image-container .image-caption {
  margin-top: 1rem;
  font-family: 'Pretendard';
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 1.5rem */
  color: #3f2021;
  text-align: center;
  opacity: 0.7;
}

.image-container button {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 21.25rem;
  height: 5rem;
  margin: 2rem auto 0;

  border: 1.333px solid #fff;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1);
  background: #3f2021;

  font-family: 'Pretendard';
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  /* 2.275rem */
  color: #fff;
  text-align: center;
  border-radius: 1rem;
}

.img-object {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.result-bg-asset {
  position: absolute;
  top: 70%;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 이상형 만나는법 섹션 */

.meet-idol-container {
  margin: 3.75rem 0 5rem;
  padding: 0 1.5rem;
}

.meet-idol-container h4 {
  margin-bottom: 1.5rem;
  font-family: 'SebangGothic';
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  /* 1.95rem */
  color: #3f2021;
}

.meet-idol-container ul {
  display: flex;
  gap: 1.25rem;
  flex-direction: column;
}

.meet-idol-container ul li {
  padding-left: 1.3rem;
  font-family: 'Pretendard';
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  /* 1.625rem */
  color: #3f2021;
  white-space: pre-line;
}

.meet-idol-container ul li::before {
  display: inline-block;
  position: absolute;
  top: 0.5rem;
  left: 0;
  width: 0.8125rem;
  height: 0.6875rem;
  background: url(https://cdn.banggooso.com/assets/images/game280/red-heart-icon.svg) no-repeat center/cover;
  content: '';
}

/* recommend-music-container */

.recommend-music-container {
  position: relative;
}

.album-bg {
  overflow: visible;
  position: absolute;
  display: block;
  top: 220%;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  /* 클릭 이벤트 차단 */
  transform: translateZ(0);
  /* 사파리 렌더링 이슈 해결 */
  -webkit-transform: translateZ(0);
  /* 사파리 웹킷 전용 */
  will-change: transform;
  /* 브라우저 최적화 힌트 */
}

.music-tooltip {
  width: 24rem;
  margin: 0 auto;
  margin-bottom: calc(0.75rem + 0.8125rem);
  padding: 0.75rem 0;
  background: #9f0000;
}

.music-tooltip span {
  display: block;
  font-family: 'Pretendard';
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  /* 1.625rem */
  color: #fff;
  text-align: center;
}

.music-tooltip::after {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1.1875rem;
  height: 0.8125rem;
  border-style: solid;
  border-color: #900 transparent transparent transparent;
  content: '';
  border-width: 10px;
}

.cd-container {
  position: relative;
  width: 16.75rem;
  height: 16.75rem;
  margin: 0 auto;
}

.cd-container .cd-box {
  position: relative;
  z-index: 10;
  width: 16.75rem;
  height: 16.75rem;
  background: url(https://cdn.banggooso.com/assets/images/game280/result-cd-box.png) no-repeat center/cover;
  will-change: transform;
}

.cd-container .cd {
  position: absolute;
  top: 0;
  z-index: 0;

  width: 16.75rem;
  height: 16.75rem;
  background: url(https://cdn.banggooso.com/assets/images/game280/result-cd.png) no-repeat center/90%;
  will-change: transform;
}

.cd-box.appear {
  animation: box-move 1s ease-out forwards;
}

.cd.appear {
  animation: cd-appear 1s ease-out forwards, cd-rotate 3s linear infinite 1s;
}

@keyframes box-move {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-25%);
  }
}

@keyframes cd-appear {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(20%);
  }
}

@keyframes cd-rotate {
  from {
    transform: translateX(20%) rotate(0deg);
  }

  to {
    transform: translateX(20%) rotate(360deg);
  }
}

.recommend-music {
  width: 23.75rem;
  margin: 1.5rem auto;
  display: flex;
}

.album-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 28.25rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 1.75rem 1.5rem;
  border: 1px solid rgba(250, 244, 241, 0.8);
  box-shadow: 0 -2px 2px 0 rgba(63, 32, 33, 0.4) inset;
  background-image: url('https://cdn.banggooso.com/assets/images/game280/곡리스트-배경.png'),
    linear-gradient(#faf4f1, #faf4f1);
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-size: cover, cover;
  z-index: 999;

  border-radius: 1.25rem;
  background-blend-mode: plus-darker, normal;
}

.album-card .album-logo {
  display: flex;
  align-items: start;
  justify-content: center;
  width: 100%;
  border-bottom: solid 1px #3f20215d;
}

.album-card .album-logo img {
  width: 12rem;
  height: 2.125rem;
  margin-bottom: 0.88rem;
}

.album-contents {
  display: flex;
  gap: 0.75rem;
  flex-direction: row;
  margin-top: 1.5rem;
  width: 100%;
}

.album-contents>div {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex-shrink: 0;
  width: 11rem;
}

.album-contents img {
  display: flex;
  width: 11rem;
  height: 11rem;
  border-radius: 0.625rem;
}

.album-contents .kickflip {
  display: flex;
  align-items: center;
  justify-content: start;
  height: 100%;
  font-size: 1rem;
}

.album-contents ol {
  display: flex;
  gap: 0.17rem;
  justify-content: start;
  flex-direction: column;
  flex: 1;
  flex-grow: 1;
  min-width: 0;
}

.album-contents li {
  font-family: 'Pretendard';
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  color: #3f2021bb;
  position: relative;
  white-space: nowrap;
  left: 0.5rem;
}

.album-contents li.selected {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  align-self: stretch;
  left: 0;
  position: relative;
  padding: 0.125rem 0.625rem;
  background: #c92823;
  font-family: 'Pretendard';
  font-size: 1.125rem;
  font-style: normal;
  line-height: 130%;
  color: #fff;
  width: 100%;
}

.album-contents li.selected::before {
  font-size: 0.5rem;
  content: '▶';
}

@font-face {
  font-family: 'Ryuga';
  font-weight: normal;
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_five@.2.0/UhBeeRyuga.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'AvieSehyun';
  font-weight: normal;
  src: url('https://gcore.jsdelivr.net/gh/projectnoonnu/noonfonts_five@.2.0/UhBeeSe_hyun.woff') format('woff');
  font-display: swap;
}

.recommend-music-message {
  display: flex;
  gap: 0.75rem;
  flex-direction: column;
  padding: 10.5rem 2.3rem 2rem;
}

body.en-US .recommend-music-message {
  display: flex;
  gap: 0.75rem;
  flex-direction: column;
  padding: 6.5rem 2.3rem 2rem;
}

.recommend-music-message p {
  font-family: 'Ryuga';
  font-size: 2rem;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  color: #3f2021;
  text-align: center;
  letter-spacing: -0.035rem;
}

body.en-US .recommend-music-message p {
  font-family: 'SEBANGGothic' !important;
  font-size: 1.375rem;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  color: #3f2021;
  text-align: center;
}

.recommend-music-message p b {
  padding-right: 0.5rem;
  font-family: 'AvieSehyun';
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: -0.035rem;
  margin-bottom: 1rem;
  vertical-align: 0.6rem;
}

body.en-US .recommend-music-message p b {
  padding-right: 0.5rem;
  font-family: 'AvieSehyun';
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: -0.035rem;
  margin-bottom: 1rem;
}

body.en-US .recommend-music-message p b {
  padding-right: 0.5rem;
  font-family: 'SEBANGGothic';
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 0;
}

.recommend-music-message p span::before {
  display: inline-block;
  width: 1.1rem;
  height: 2rem;
  background: url(https://cdn.banggooso.com/assets/images/game280/arrow-icon.svg) no-repeat center/contain;
  content: '';
  transform: translateX(-10px);
}

.recommend-music-message p span::after {
  display: inline-block;
  width: 1.1rem;
  height: 2rem;
  background: url(https://cdn.banggooso.com/assets/images/game280/arrow-icon.svg) no-repeat center/contain;
  content: '';
  transform: translateX(10px) scaleX(-1);
}

.video-wrapper {
  display: flex;
  flex-direction: column;
  margin: 0 1.5rem;
  padding: 0.75rem;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background: #fffbf9;
}

.video-wrapper .kickflip {
  margin-top: 0.75rem;
}

.kickflip {
  font-family: 'Pretendard';
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
  /* 0.975rem */
  color: #3f2021;
  opacity: 0.5;
}

.kickflip::before {
  display: inline-block;
  width: 0.5625rem;
  height: 0.625rem;
  margin-right: 0.25rem;
  background: url(https://cdn.banggooso.com/assets/images/game280/music-icon.svg) no-repeat center/cover;
  content: '';
}

.video-wrapper img {
  height: 15rem;
}

.button-container {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
  justify-content: center;
  flex-direction: column;
  padding: 2.5rem 1.5rem;
}

body.en-US .button-container {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
  justify-content: center;
  flex-direction: column;
  padding: 2.5rem 1.5rem;
  margin-bottom: 2rem;
}

.button-container button {
  height: 5.625rem;
  padding: 0.25rem 0.75rem;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
  background: #c92823;
  font-family: 'SebangGothic';
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  color: #fff;
  border-radius: 1rem;
}

body.en-US .button-container button {
  height: 5.625rem;
  padding: 0.25rem 0.75rem;
  box-shadow: 0 2px 4px 0 rgba(242, 136, 136, 0.2);
  background: #c92823;
  font-family: 'SEBANGGothic' !important;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: normal;
  color: #fff;
  border-radius: 1rem;
}

.button-container img {
  width: 1.625rem;
  height: 1.625rem;
}

.button-container img {
  width: 1.3125rem;
  height: 1.5rem;
}

.behind-message-container {
  overflow: visible;
  width: 100%;
  height: 100%;
  background: url(https://cdn.banggooso.com/assets/images/game280/behind-message-bg.png) no-repeat center/cover;
}

/* video 팝업 공통 */
.popup-potal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 9999;
  background: rgb(0, 0, 0, 0.5);
  inset: 0;
}

.popup-frame {
  font-family: 'Pretendard Variable' !important;
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 28.25rem;
  height: 100%;
  max-height: 80dvh;
  border: 3px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  aspect-ratio: 9 / 16;
  border-radius: 2.5rem;
}

.popup-frame video {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 80%);
  object-fit: cover;
}

.video-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 30%;
  z-index: 10;
  width: 100%;
  height: 1rem;
}

.video-caption .active {
  width: fit-content;
  padding: 0.2rem 0.4rem;
  background-color: #000;
  font-size: 1rem;
  color: #fff;
  text-align: center;
  line-height: 1.4;
  white-space: pre-line;
}

/* video 팝업 - CD */
.video-interaction-container {
  display: flex;
  align-items: center;
  justify-content: space-between;

  flex-direction: row;
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 2rem 4.375rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 80%);
}

.video-interaction-container .video-btn-wrapper {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  font-family: 'Pretendard';
  font-size: 1.375rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  color: #fff;
}

.video-interaction-container button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
}

.video-interaction-container .video-close-btn img {
  width: 2.91669rem;
  height: 1.19794rem;
  pointer-events: none;
}

.video-interaction-container .video-sound-btn svg {
  width: 2.88081rem;
  height: 2.97475rem;
  pointer-events: none;
}

.video-interaction-container .video-sound-btn {
  background: #fff;
}

.video-interaction-container .video-close-btn {
  background-color: #ea3f39;
}

.video-interaction-container .video-sound-btn.inactive {
  background: #b2b2b2;
}

.video-interaction-container .video-sound-btn.inactive path {
  fill: #5a5a5a;
}

/* video 팝업 - 비하인드 */

.behind-video-close-btn {
  position: absolute;
  top: 1.8rem;
  right: 1.8rem;
  z-index: 10;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  aspect-ratio: 1/1;
  background: transparent;
  border: none;
}

.behind-video-close-btn img {
  width: 100%;
  height: 100%;
}

.behind-video-text-container {
  display: flex;
  width: 100%;
  justify-content: start;
  flex-direction: column;
  position: absolute;
  bottom: 0;
  padding: 2.5rem;
  flex-direction: column;
  align-items: flex-start;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 80%);
}

.behind-video-text-container p:nth-child(1) {
  color: #fff;
  font-family: 'Pretendard Variable';
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  /* 1.625rem */
}

.behind-video-text-container .line {
  width: 100%;
  height: 1px;
  background-color: #fff;
  margin: 0.62em 0;
  opacity: 0.5;
}

.behind-video-text-container p:nth-child(3) {
  color: #fff;
  font-family: 'Pretendard';
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 130%;
  /* 1.95rem */
}

/* 비하인드 섹션 */
.behind-message-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 5rem;
}

.behind-message-container>img {
  padding: 0 1.5rem;
}

.behind-message-container .swiper {
  --swiper-scrollbar-sides-offset: 1.5rem;
  overflow: visible;
  height: 17.5rem;
  margin-top: 1.25rem;
  margin-left: 0;
  margin-right: 0;
  padding: 0 1.5rem;
}

.behind-message-container .swiper-slide {
  overflow: hidden;
  width: 12.5rem !important;
  height: 17.5rem;
  background: #fff;

  border-radius: 1rem;
}

.behind-message-container .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-scrollbar {
  width: 60%;
  margin: 0 auto;
  margin: -1rem 0;
  background: rgba(63, 32, 33, 0.3);
  border-radius: 1.875rem;
}

.swiper-scrollbar-drag {
  background: #3f2021;
  border-radius: 8px;
}

/* 하단 고정 섹션 */
.game-result .contents-more {
  margin: 0;
  margin-top: -1px;
  padding-top: 2.5rem;
  padding-bottom: 2.19rem;
  background: #3f2021;
  border-radius: 0;
  flex-flow: wrap;
}

.game-result .contents-more .contents-main {
  align-items: flex-start;
  flex: 1 100%;
  margin: 0;
  padding: 0 2rem 1rem;
}

.game-result .contents-more .contents-main .contents-logo {
  width: 8.75rem;
  height: 1.875rem;
  background: url(https://cdn.banggooso.com/assets/images/game267/logo_white.png) no-repeat center / contain;
}

body.en-US .game-result .contents-more .contents-main .contents-logo {
  width: 8.75rem;
  height: 1.875rem;
  background-image: url(https://cdn.banggooso.com/assets/images/common/LOGO-US.png) !important;
}

.contents-more .contents-main .contents-logo img {
  display: none;
}

.game-result .contents-more .contents-main .sub-text {
  font-family: 'Pretendard';
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 2.125rem;
  color: #fff;
  /* 141.667% */
}

.game-result .contents-more .contents-list {
  flex: 1 100%;
  margin-top: 0;
  padding: 0;
  border-left: 0;
}

.game-result .contents-more .contents-list .game-btn {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 1.66669rem 2rem;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  order: 1;
  border-radius: 0;
}

.game-result .contents-more .contents-list .game-btn a {
  font-family: 'Pretendard';
  font-size: 1.375rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  color: #fff;
  order: -1;
}

.game-result .contents-more .contents-list .game-btn:before {
  display: block;
  position: static;
  width: 2rem;
  height: 2rem;
  background: url(https://cdn.banggooso.com/assets/images/game267/ico_result_more_content_arrow_grey.png) no-repeat center / contain;
  transform-origin: center;
}

.game-result .recommend-list {
  width: 100%;
  margin: 0;
  border-top: 0;
  background-color: #3f2021;
}

.game-result .recommend-list .inner .title {
  margin: 0;
  margin-bottom: 0.48rem;
  padding: 0;
  padding-left: 1.46rem;
  font-family: 'Pretendard';
  font-size: 1.50013rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  color: #fff;
  letter-spacing: -0.033rem;
}

.game-result .recommend-list .swiper-container {
  width: 100%;
  margin-bottom: 3.25rem;
  padding: 0;
  padding-left: 2.17rem;
}

.game-result .recommend-list .slide-box .img-box {
  height: 10.83406rem;
}

.game-result .recommend-list .swiper-slide {
  width: 10.83406rem;
  height: 13.33425rem;
}

.game-result .recommend-list .slide-box {
  width: 10.83406rem;
  height: 13.33425rem;
  border: 0.3rem solid #3f2021;
}

.game-result .recommend-list .slide-box .slide-text {
  background-color: #fff;
  font-family: 'Pretendard';
  font-size: 1.00006rem;
  font-weight: 500;
  color: #000;
  letter-spacing: -0.022rem;
}

.game-result .recommend-list .btn-wrap {
  position: relative;
  z-index: 999;
  padding-bottom: 4rem;
}

.game-result .recommend-list .btn-wrap .btn-white-round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 15.25106rem;
  height: 4.00025rem;
  background: #fff;
  font-family: 'Pretendard';
  font-size: 1.25006rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  color: #000;
  text-align: center;
  letter-spacing: -0.0275rem;
  border-radius: 2.00013rem;
}

.bottom .monologue-tooltip {
  padding: 0 2.3rem 0.5rem;
}

body.en-US .bottom .monologue-tooltip {
  padding: 0 7.3rem 0.5rem;
}

.bottom .monologue-tooltip img {
  width: 100%;
  height: 100%;
}

/* 툴팁 컨테이너 */
.tooltip-container {
  position: absolute;
  width: 19.25rem;
  top: 4.7rem;
  right: 1.94rem;
  z-index: 10;
}

.tooltip-image {
  max-width: 100%;
  height: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 배경 진동 효과 (bottom 영역은 고정) */
.game-template.vibrate-background {
  animation: backgroundShake 1s ease-in-out;
}

.game-template.vibrate-background .bottom {
  position: relative;
  z-index: 100;
  animation: counterShake 1s ease-in-out;
}

@keyframes backgroundShake {

  0%,
  100% {
    transform: translateX(0);
  }

  10% {
    transform: translateX(-3px);
  }

  20% {
    transform: translateX(3px);
  }

  30% {
    transform: translateX(-3px);
  }

  40% {
    transform: translateX(3px);
  }

  50% {
    transform: translateX(-2px);
  }

  60% {
    transform: translateX(2px);
  }

  70% {
    transform: translateX(-1px);
  }

  80% {
    transform: translateX(1px);
  }

  90% {
    transform: translateX(-1px);
  }
}

@keyframes counterShake {

  0%,
  100% {
    transform: translateX(0);
  }

  10% {
    transform: translateX(3px);
  }

  20% {
    transform: translateX(-3px);
  }

  30% {
    transform: translateX(3px);
  }

  40% {
    transform: translateX(-3px);
  }

  50% {
    transform: translateX(2px);
  }

  60% {
    transform: translateX(-2px);
  }

  70% {
    transform: translateX(1px);
  }

  80% {
    transform: translateX(-1px);
  }

  90% {
    transform: translateX(1px);
  }
}

/* 음소거 상태일 때만 툴팁 표시 */
.tooltip-container.sound-only {
  display: none;
}

.app-sound.off~* .tooltip-container.sound-only,
body:has(.app-sound.off) .tooltip-container.sound-only {
  display: block;
}

.game-result .album-wrap {
  background-image: url('https://cdn.banggooso.com/assets/images/game280/result-album-bg.png');
  background-position: center;
  background-size: cover;
  position: relative;
  top: 8rem;
}

.game-result .album-container {
  position: relative;
  top: -9rem;
}

.game-result .capture-user-box {
  background: #ea3f39;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1);
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  justify-content: center;
  align-items: center;
  gap: 0.1875rem;
  position: absolute;
  top: 22.16rem;
  left: 1.94rem;
}

body.en-US .game-result .capture-user-box {
  background: #ea3f39;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1);
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  justify-content: center;
  align-items: center;
  gap: 0.1875rem;
  position: absolute;
  top: 20.55rem;
  left: 1rem;
}

.game-result .capture-user-box p {
  color: #fff;
  font-family: 'Pretendard';
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
}