body.modal-open {
  overflow: hidden;
}

.newsBox,
.socialBox,
.tabBox {
  position: relative;
  z-index: 20;
}

footer {
  z-index: 10;
}

.searchBox span {
  cursor: pointer;
}

.searchBox button {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.marquee-1-content {
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.marquee-track {
  animation: marquee-scroll var(--marquee-duration, 28s) linear infinite;
  display: inline-flex;
  gap: 48px;
  padding-right: 48px;
  white-space: nowrap;
}

.marquee-track span {
  display: inline-block;
  white-space: nowrap;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

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

.swiper-slide {
  display: none;
}

.swiper-slide.is-active {
  display: block;
}

.swiper-pagination {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}

.swiper-dot {
  background: rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  cursor: pointer;
  height: 8px;
  transition: width 0.2s ease, background 0.2s ease;
  width: 8px;
}

.swiper-dot.is-active {
  background: #f9d34b;
  width: 26px;
}

.tabmenuBox .tab {
  cursor: pointer;
}

.gameBox {
  cursor: pointer;
}

.gameBox img {
  border-radius: 18px;
  object-fit: cover;
}

.empty-state {
  align-items: center;
  color: #d5d5d5;
  display: flex;
  font-size: 14px;
  grid-column: 1 / -1;
  justify-content: center;
  min-height: 120px;
  text-align: center;
}

.modal-overlay {
  background: rgba(0, 0, 0, 0.82);
  display: none;
  inset: 0;
  position: fixed;
  z-index: 9998;
}

.modal-overlay.is-visible {
  display: block;
}

.iframe-modal {
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  display: none;
  height: min(78vh, 760px);
  inset: 50% auto auto 50%;
  max-width: min(92vw, 1200px);
  overflow: hidden;
  position: fixed;
  transform: translate(-50%, -50%);
  width: 92vw;
  z-index: 9999;
}

.iframe-modal.is-visible {
  display: block;
}

.iframe-modal__header {
  align-items: center;
  background: linear-gradient(180deg, rgba(31, 31, 31, 0.95), rgba(16, 16, 16, 0.95));
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
}

.iframe-modal__title {
  color: #f3f3f3;
  font-size: 16px;
  font-weight: 700;
}

.iframe-modal__close {
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  height: 36px;
  line-height: 1;
  width: 36px;
}

.iframe-modal iframe {
  background: #fff;
  border: 0;
  display: block;
  height: calc(100% - 64px);
  width: 100%;
}

.lightbox_content p,
.lightbox_content span,
.promoBox .detail p {
  white-space: normal;
}

.promoBox .detail p {
  min-height: 24px;
}

@media (max-width: 768px) {
  .searchBox {
    position: static;
    margin: 18px auto 8px;
    width: min(100%, 220px);
  }

  header {
    display: flex;
    flex-direction: column-reverse;
    gap: 8px;
  }

  .logo {
    margin: 20px auto 0;
  }

  .iframe-modal {
    border-radius: 14px;
    height: 86vh;
    width: 96vw;
  }
}
