#app {
  height: 100vh;
  height: 100dvh;
}

.top-header {
  position: fixed;
  z-index: 5;
  top: 0.32rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.37rem 0 0.48rem;
  box-sizing: border-box;
  pointer-events: none;
}
.top-header .logo {
  width: 2.82rem;
  height: 0.78rem;
  background: url('https://img.fhyx.com/fxegames/sgm/htbyrfh/logo.png')
    no-repeat;
  background-size: 100% 100%;
  pointer-events: visible;
}
.top-header .right-actions {
  display: flex;
  align-items: center;
  gap: 0.22rem;
  pointer-events: visible;
}
.top-header .right-actions .user-box {
  min-width: 2.43rem;
  height: 0.62rem;
  background: url('https://img.fhyx.com/fxegames/sgm/htbyrfh/namebg.png')
    center/100% 100% no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
  font-size: 0.18rem;
  font-weight: bold;
  color: #2e3944;
  box-sizing: border-box;
  margin-right: 0.07rem;
}
.top-header .right-actions .user-box button {
  text-decoration: underline;
  text-underline-offset: 0.03rem;
  font-weight: bold;
}
.top-header .right-actions .user-box .logout-btn {
  font-weight: normal;
  color: #445863;
}
.top-header .right-actions :is(.home-btn, .down-btn) {
  position: relative;
  width: 0.65rem;
  height: 0.66rem;
  background: url('https://img.fhyx.com/fxegames/sgm/htbyrfh/btnabg.png')
    center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-header .right-actions :is(.home-btn, .down-btn)::before {
  content: '';
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
}
.top-header .right-actions .home-btn::before {
  background-image: url('https://img.fhyx.com/fxegames/sgm/htbyrfh/btna1_1.png');
  width: 0.37rem;
  height: 0.37rem;
}
.top-header .right-actions .down-btn::before {
  background-image: url('https://img.fhyx.com/fxegames/sgm/htbyrfh/btna1_2.png');
  width: 0.38rem;
  height: 0.35rem;
}

.outer-swiper {
  width: 100%;
  height: 100%;
}
.outer-swiper > .swiper-wrapper > .swiper-slide {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  box-sizing: border-box;
  background-image: url('https://img.fhyx.com/fxegames/sgm/htbyrfh/bg2.jpg');
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.part-menus {
  position: fixed;
  z-index: 10;
  top: 50%;
  left: 0.48rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.26rem;
}
.part-menus.hide {
  display: none;
}
.part-menus::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0.16rem;
  width: 0.01rem;
  height: 94%;
  background-color: #ffffff;
  z-index: -1;
}
.part-menus .part-menu {
  display: flex;
  align-items: center;
  gap: 0.05rem;
}
.part-menus .part-menu .icon {
  width: 0.33rem;
  height: 0.32rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.part-menus .part-menu .icon::before {
  content: '';
  width: 0.13rem;
  height: 0.13rem;
  background-image:
    linear-gradient(#574024, #574024), linear-gradient(#ffffff, #ffffff);
  background-blend-mode: normal, normal;
  border: solid 0.02rem #ffffff;
  border-radius: 50%;
  box-sizing: border-box;
}
.part-menus .part-menu .name {
  font-size: 0.18rem;
  letter-spacing: 0.01rem;
  color: #ffcd8a;
  cursor: pointer;
  user-select: none;
}
.part-menus .part-menu.active .icon::before {
  width: 0.33rem;
  height: 0.32rem;
  background: url('https://img.fhyx.com/fxegames/sgm/htbyrfh/now.png')
    center/contain no-repeat;
  border: none;
  border-radius: none;
}
.part-menus .part-menu.active .name,
.part-menus .part-menu:hover .name {
  color: #ffffff;
  font-weight: bold;
}
.part-menus .part-menu.home .icon::before {
  width: 0.27rem;
  height: 0.27rem;
  background: url('https://img.fhyx.com/fxegames/sgm/htbyrfh/up.png')
    center/.15rem 0.09rem no-repeat;
  background-color: #574024;
  border: solid 1px #ffffff;
}

.part-title {
  width: 4.6rem;
  height: 1.36rem;
  background: url('https://img.fhyx.com/fxegames/sgm/htbyrfh/btbg.png')
    center/cover no-repeat;
  font-size: 0.36rem;
  font-weight: bold;
  letter-spacing: 0.07rem;
  color: #fbe58f;
  text-shadow: 0rem 0.05rem 0.1rem #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0.15rem;
  box-sizing: border-box;
}
.part-desc {
  width: 8.3rem;
  font-size: 0.18rem;
  line-height: 0.28rem;
  font-weight: bold;
  letter-spacing: 0.01rem;
  color: #392715;
  text-align: center;
}
.part-content {
  position: relative;
  width: 11.49rem;
  height: 6.22rem;
  background: url('https://img.fhyx.com/fxegames/sgm/htbyrfh/jnbg1.png')
    center/cover no-repeat;
  padding: 0.6rem 0.65rem 0.75rem 0.65rem;
  box-sizing: border-box;
}

.part-swiper-wrap {
  position: relative;
  width: 6.2rem;
  height: 3.54rem;
  border: 0.03rem solid #a45340;
  box-sizing: border-box;
  border-radius: 0.1rem;
  margin: 0 auto;
}
.part-swiper-wrap .swiper-container {
  width: 100%;
  height: 100%;
}
.part-swiper-wrap .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.part-swiper-wrap .swiper-slide img {
  width: 6rem;
  height: 3.34rem;
  object-fit: cover;
}
.part-swiper-wrap :is(.swiper-button-prev, .swiper-button-next)::after {
  display: none;
}
.part-swiper-wrap :is(.swiper-button-prev, .swiper-button-next) {
  width: 0.43rem;
  height: 0.3rem;
  background: center/contain no-repeat;
  transition: transform 0.2s;
}
.part-swiper-wrap :is(.swiper-button-prev, .swiper-button-next):hover {
  transform: scale(1.05);
}
.part-swiper-wrap .swiper-button-prev {
  left: -1.03rem;
  background-image: url('https://img.fhyx.com/fxegames/sgm/htbyrfh/lr1.png');
}
.part-swiper-wrap .swiper-button-next {
  right: -1.03rem;
  background-image: url('https://img.fhyx.com/fxegames/sgm/htbyrfh/lr2.png');
}
.swiper-desc {
  font-size: 0.18rem;
  font-weight: bold;
  letter-spacing: 0.01rem;
  color: #392715;
  text-align: center;
  margin-top: 0.25rem;
}

.part-rich-text {
  height: 100%;
  padding: 0.18rem 0.75rem 0.1rem;
  box-sizing: border-box;
}
.part-rich-text h1 {
  width: 5.03rem;
  height: 0.79rem;
  background: url('https://img.fhyx.com/fxegames/sgm/htbyrfh/btbg1.png')
    center/contain no-repeat;
  font-size: 0.24rem;
  font-weight: bold;
  letter-spacing: 0rem;
  color: #ffe19b;

  line-height: 0.7rem;
  padding-left: 0.84rem;
  box-sizing: border-box;
  margin-top: 0.26rem;
}
.part-rich-text h1:first-child {
  margin-top: 0;
}
.part-rich-text p {
  font-size: 0.14rem;
  font-weight: bold;
  letter-spacing: 0rem;
  color: #503831;
  line-height: 0.24rem;
}
.part-rich-text p label {
  color: #a84021;
}
.part-rich-text span {
  color: #42ad3f;
}
.part-rich-text img {
  width: 100%;
  border: 0.03rem solid #a45340;
  box-sizing: border-box;
  padding: 0.07rem;
  border-radius: 0.1rem;
  margin: 0.05rem 0;
}

.part-tips {
  position: absolute;
  width: 100%;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0.1rem;
  font-size: 0.14rem;
  color: #f8efd9;

  --text-stroke-color: #564125;
  --text-stroke-width: 0.03rem;
}

.part-tabs {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -0.15rem;
  display: flex;
  align-items: center;
}
.part-tabs .tab-item {
  width: 2.86rem;
  height: 1.03rem;
  background: url('https://img.fhyx.com/fxegames/sgm/htbyrfh/tab2.png')
    center/cover no-repeat;
  color: #55402a;
  font-size: 0.24rem;
  letter-spacing: 0.01rem;

  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0.16rem;
  box-sizing: border-box;
  cursor: pointer;
  user-select: none;
}
.part-tabs .tab-item:hover,
.part-tabs .tab-item.active {
  color: #f8eed7;
  font-weight: bold;
  background-image: url('https://img.fhyx.com/fxegames/sgm/htbyrfh/tab1.png');
  transition: background-image 0.2s;
}

.part-1 {
  position: relative;
  background-image: url('https://img.fhyx.com/fxegames/sgm/htbyrfh/pcbg.jpg') !important;
  display: flex;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-end !important;
}
.part-1 video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.part-1 .slogan {
  position: relative;
  width: 11.85rem;
  height: 6.72rem;
  background: url('https://img.fhyx.com/fxegames/sgm/htbyrfh/slg1.png')
    center/contain no-repeat;
  mask: url('https://img.fhyx.com/fxegames/sgm/htbyrfh/slg1.png') 0 0 / 100%;
  margin-bottom: -1.75rem;
  margin-left: -0.17rem;
}
.part-1 .slogan:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.8) 50%,
    transparent 60%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 30%,
    black 70%,
    transparent 100%
  );
  animation: mask-img-light 4s linear infinite;
}
@keyframes mask-img-light {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}
.part-1 .slogan-time {
  position: relative;
  width: 4.62rem;
  height: 0.63rem;
  background: url('https://img.fhyx.com/fxegames/sgm/htbyrfh/time.png')
    center/contain no-repeat;
}
.part-1 .join-btn {
  position: relative;
  width: 1.9rem;
  height: 1.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
  transition: transform 0.2s;
  margin-bottom: 0.25rem;
}
.part-1 .join-btn::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('https://img.fhyx.com/fxegames/sgm/htbyrfh/btn3.png')
    center/contain no-repeat;
  animation: rotate-360 8s linear infinite;
  /* animation-play-state: paused; */
}
.part-1 .join-btn::after {
  content: '';
  position: absolute;
  width: 1.38rem;
  height: 1.38rem;
  background: url('https://img.fhyx.com/fxegames/sgm/htbyrfh/btn2.png')
    center/contain no-repeat;
}
.part-1 .join-btn .text {
  position: relative;
  z-index: 1;
  width: 0.82rem;
  height: 0.82rem;
  background: url('https://img.fhyx.com/fxegames/sgm/htbyrfh/btn1.png')
    center/contain no-repeat;
  margin-top: 0.06rem;
}
/* .part-1 .join-btn:hover::before {
  animation-play-state: running;
} */

.part-2 .skill-list {
  display: grid;
  grid-template-columns: repeat(4, 2.21rem);
  gap: 0.58rem;
  margin-top: 0.45rem;
}
.part-2 .skill-list .skill-item {
  position: relative;
  width: 2.21rem;
  height: 2.59rem;
  background: url('https://img.fhyx.com/fxegames/sgm/htbyrfh/jnbg.png')
    center/contain no-repeat;
  padding: 0.45rem 0.33rem 0 0.35rem;
  box-sizing: border-box;
}
.part-2 .skill-item .icon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -0.36rem;
  width: 0.85rem;
  height: 0.85rem;
  background: url('https://img.fhyx.com/fxegames/sgm/htbyrfh/skill_bg.png')
    center/contain no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.part-2 .skill-item .icon img {
  width: 0.58rem;
  height: 0.59rem;
  object-fit: contain;
  margin-bottom: 0.12rem;
  border-radius: 50%;
}
.part-2 .skill-item .name {
  font-size: 0.2rem;
  font-weight: bold;
  letter-spacing: 0.01rem;
  color: #a70909;
  text-align: center;
}
.part-2 .skill-item .desc {
  margin-top: 0.15rem;
}
.part-2 .skill-item .desc-item {
  margin-top: 0.11rem;
}
.part-2 .skill-item .desc-title {
  color: #7a6856;
}
.part-2 .skill-item .desc-content {
  color: #7a6856;
  font-weight: bold;
}

.part-2 .skill-item p {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin-top: 0.11rem;
}
.part-2 .part-tips {
  bottom: -0.2rem;
}

.part-2-1 .part-swiper-wrap {
  margin-top: 0.5rem;
}

.part-3 .part-swiper-wrap {
  margin-top: 0.5rem;
}
.part-3 .part-desc {
  width: 9.58rem;
}

.part-4 .part-tabs {
  top: -0.05rem;
}
.part-4 .part-desc {
  width: 7.86rem;
}
.part-4 .part-swiper-wrap {
  width: 7.83rem;
  height: 4.32rem;
  margin-top: 0.3rem;
}
.part-4 .part-swiper-wrap .swiper-slide img {
  width: 7.63rem;
  height: 4.12rem;
}
.part-4 .part-swiper-wrap .swiper-button-next {
  right: -0.63rem;
}
.part-4 .part-swiper-wrap .swiper-button-prev {
  left: -0.63rem;
}

.part-5 .part-content {
  padding: 0.6rem 0.7rem 0.75rem 0.75rem;
}
