* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
html,
body {
  width: 100%;
  min-height: 100%;
  font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;
}
body {
  color: #7d5a4b;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  border: 0;
  cursor: pointer;
  background: none;
}
ul {
  list-style: none;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #ffbd33;
  outline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
[hidden] {
  display: none !important;
}
.home-page {
  --home-offset-y: clamp(52px, 9vh, 76px);
  height: 100%;
  overflow: hidden;
  background: #1a100c;
}
.screens {
  position: fixed;
  inset: 0;
  overflow: hidden;
  touch-action: pan-y;
}
.screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  background-position: center;
  background-size: cover;
}

.screen-home,
.screen-heroes,
.screen-news {
  background-size: 0 0;
}
.screen-home::before,
.screen-heroes::before,
.screen-news::before {
  content: '';
  position: absolute;
  inset: calc(-2 * var(--home-offset-y)) 0 0;
  background-image: inherit;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
}
.screen-home::before {
  top: calc(-1 * var(--home-offset-y));
  background-position: center top;
}
.screen-heroes .atlas-background {
  top: calc(-2 * var(--home-offset-y));
}

.screen.is-leaving {
  visibility: visible;
  opacity: 1;
  z-index: 0;
}

.screen.is-active {
  visibility: visible;
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
  transition: opacity 0.5s ease;
}
.screen.is-instant {
  transition: none;
}
.home-stage {
  position: absolute;
  width: 1280px;
  height: 2769px;
  left: 50%;
  top: calc(50% - var(--home-offset-y));
  margin: -1370px 0 0 -640px;
  transform: scale(var(--home-scale, 0.3));
}
.main-nav {
  position: fixed;
  z-index: 20;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  width: 95%;
  height: 10vw;
  max-height: 56px;
  background: rgba(54, 54, 30, 0.38);
  white-space: nowrap;
}
.main-nav button {
  position: relative;
  flex: 1;
  font-size: 4.8vw;
  line-height: 1;
  color: #fffcef;
  font-weight: bold;
}
.main-nav button + button:before {
  content: '';
  position: absolute;
  width: 1px;
  height: 66%;
  top: 17%;
  left: 0;
  background: #fffcef;
}
.main-nav button.is-active {
  color: #f9da4e;
}
.screen-home {
  background-image: url('/m/images/part1.jpg');
  background-position: center top;
}
.mini-box {
  position: absolute;
  left: calc((100% - 60px) / 4);
  top: -420px;
  transform: translateX(-50%);
  width: 333px;
  height: 415px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.52);
}
.mini-box p {
  color: #fffdeb;
  text-align: center;
  font-size: 40px;
  line-height: 88px;
}
.mini-code {
  width: 298px;
  height: 298px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
}
.downloads {
  position: absolute;
  left: 50%;
  top: 2050px;
  transform: translateX(-50%);
  width: max-content;
  min-width: 1080px;
  display: grid;
  grid-template-columns: repeat(2, minmax(max-content, 1fr));
  column-gap: 60px;
  row-gap: 48px;
}
.download {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 510px;
  height: 170px;
  padding: 0 32px 10px;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  font-size: 60px;
  color: #fff7dc;
  font-weight: bold;
  text-shadow:
    3px 0 #795239,
    -3px 0 #795239,
    0 3px #795239,
    0 -3px #795239,
    3px 3px #795239,
    -3px -3px #795239;
  isolation: isolate;
}
.download[hidden] {
  display: none;
}
.download-ios[hidden] ~ .download-android:not([hidden]) ~ .download-tap {
  grid-column: 1 / -1;
  justify-self: center;
}
.download:before,
.download:after {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  width: calc(50% + 4px);
  height: 100%;
  background-image: url('/images/btn_light.png');
  background-size: auto 100%;
  background-repeat: no-repeat;
}
.download:before {
  left: 0;
  background-position: left center;
}
.download:after {
  right: 0;
  background-position: right center;
}
.screen-heroes {
  background-image: url('/m/images/part2_1.jpg');
}
.screen-news {
  background-image: url('/m/images/part3.jpg');
}
.screen-news .home-stage {
  transform: scale(min(calc(var(--news-scale, 0.2) * 1.5), calc(var(--home-scale, 0.3) * 1.15)));
}
.section-title {
  position: absolute;
  left: 50px;
  top: 640px;
  width: 1180px;
  height: 210px;
  line-height: 210px;
  text-align: center;
  font-size: 98px;
  font-weight: bold;
  background: url('/images/minTitle.png') center / 100% auto no-repeat;
}
.home-news-banner {
  position: absolute;
  left: 50px;
  top: 875px;
  width: 1180px;
  height: 686px;
  object-fit: contain;
}
.home-news-banner .swiper-wrapper,
.home-news-banner .swiper-slide,
.home-news-banner .news-banner-link {
  width: 100%;
  height: 100%;
}
.home-news-banner .news-banner-link {
  display: block;
}
.home-news-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.home-news-banner.is-empty {
  visibility: hidden;
}
.home-news-tabs {
  position: absolute;
  left: 60px;
  top: 1630px;
  display: flex;
  gap: 24px;
}
.home-news-tabs button {
  width: 175px;
  height: 84px;
  font-size: 51px;
  line-height: 80px;
  font-weight: bold;
  background: url('/images/minBtn_grey.png') center / 100% 100% no-repeat;
}
.home-news-tabs button.is-active {
  color: #fff7df;
  background-image: url('/images/minBtn_light.png');
  text-shadow:
    2px 0 #77533d,
    -2px 0 #77533d,
    0 2px #77533d,
    0 -2px #77533d;
}
.news-more {
  position: absolute;
  left: 1040px;
  top: 1630px;
  height: 84px;
  line-height: 84px;
  font-size: 54px;
  font-weight: bold;
  color: #b79c8a;
}
.home-news-list {
  position: absolute;
  left: 60px;
  top: 1740px;
  width: 1160px;
  max-height: 720px;
  overflow: hidden;
}
.home-news-list li {
  height: 120px;
  line-height: 118px;
  font-size: 44px;
  color: #7d5a4b;
  border-bottom: 2px solid #d7c0a8;
  box-shadow: 0 1px #fff2dc;
  margin: 0 auto;
}
.home-news-list a {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.home-news-list .news-title {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.home-news-list time {
  flex: 0 0 170px;
  text-align: right;
  font-weight: bold;
}
.home-news-list .news-empty {
  border: 0;
  box-shadow: none;
  text-align: center;
}
.screen-features {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.screen-features::-webkit-scrollbar {
  width: 0;
}
.feature-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.feature-background {
  position: absolute;
  inset: 0 0 auto;
  top: calc(-1 * var(--home-offset-y));
  height: calc(50% + 865.5px * var(--home-scale, 0.3));
  background: url('/m/images/part4.jpg') center / cover no-repeat;
}
.feature {
  position: absolute;
  left: -147px;
  top: 550px;
  width: 1574px;
  height: 1396px;
}
.feature .swiper-container {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.feature .swiper-slide {
  width: 850px;
  height: 1396px;
  background: url('/m/images/bannerBg.png') center / 100% 100% no-repeat;
  transition: filter 0.35s;
}
.feature .swiper-slide:not(.swiper-slide-active) {
  filter: brightness(0.65);
  transform: scale(0.86);
}
.feature .swiper-slide img {
  position: absolute;
  left: 61px;
  top: 47px;
  width: 728px;
  height: 1299px;
  border-radius: 10px;
}
.feature-prev,
.feature-next {
  position: absolute;
  top: 1130px;
  z-index: 3;
  width: 84px;
  height: 140px;
  min-width: calc(44px / var(--home-scale, 0.3));
  min-height: calc(44px / var(--home-scale, 0.3));
  background-size: 84px 140px;
  background-position: center;
  background-repeat: no-repeat;
  filter: drop-shadow(0 3px 1px #44642a);
}
.feature-prev {
  left: 40px;
  background-image: url('/images/leftBtn.png');
}
.feature-next {
  right: 50px;
  background-image: url('/images/rightBtn.png');
}
.feature-dots {
  position: absolute;
  top: 2018px;
  left: 0;
  width: 1280px;
  text-align: center;
}
.feature-dots .swiper-pagination-bullet {
  width: 42px;
  height: 42px;
  margin: 0 20px;
  background: #2b481e;
  opacity: 1;
}
.feature-dots .swiper-pagination-bullet-active {
  background: #fad51c;
}
.site-footer {
  width: 100%;
  padding: 22px 18px 26px;
  background: #19100c;
  color: #cbbeb4;
  text-align: center;
}
.site-footer .foot-logo {
  display: block;
  width: 160px;
  height: 57px;
  object-fit: contain;
  margin: 0 auto 14px;
}
.site-footer .foot-text {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.site-footer .foot-text p + p {
  margin-top: 3px;
}
.site-footer .foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  row-gap: 6px;
  margin-bottom: 10px;
  color: #f6ece3;
  font-size: 13px;
  font-weight: bold;
}
.site-footer .foot-links span {
  display: none;
}
.site-footer .foot-links button,
.site-footer .foot-links a {
  min-height: 30px;
  padding: 0 8px;
  white-space: nowrap;
  border-left: 1px solid #7f7167;
}
.site-footer .foot-links a {
  display: inline-flex;
  align-items: center;
}
.site-footer .foot-links button:first-child {
  border-left: 0;
}
.home-footer {
  position: absolute;
  left: 0;
  top: calc(50% + 865.5px * var(--home-scale, 0.3) - var(--home-offset-y));
}
.follow {
  position: fixed;
  z-index: 40;
  right: 0;
  top: 50%;
  width: 300px;
  height: 920px;
  margin-top: -460px;
  transform: scale(var(--follow-scale, 0.3));
  transform-origin: right center;
  pointer-events: none;
}
.follow-panel {
  position: absolute;
  right: 0;
  top: 145px;
  width: 135px;
  height: 630px;
  background: url('/images/navBg.png') no-repeat;
  pointer-events: auto;
}
.follow-toggle {
  position: absolute;
  right: 0;
  top: 332px;
  width: 99px;
  height: 257px;
  background: url('/images/navBg_min.png') no-repeat;
  pointer-events: auto;
}
.follow.is-open .follow-toggle {
  right: 87px;
  top: 400px;
  width: 48px;
  height: 120px;
  background: none;
}
.follow-icon {
  position: absolute;
  left: 64px;
  width: 62px;
  height: 50px;
  background-position: center;
  background-repeat: no-repeat;
}
.follow-douyin {
  top: 74px;
  background-image: url('/images/icon_dy.png');
}
.follow-wx {
  top: 161px;
  background-image: url('/images/icon_wx.png');
}
.follow-bilibili {
  left: 72px;
  top: 247px;
  width: 53px;
  background-image: url('/images/icon_blbl.png');
}
.follow-qq {
  left: 73px;
  top: 334px;
  width: 50px;
  background-image: url('/images/icon_qq.png');
}
.follow-xhs {
  top: 420px;
  background-image: url('/images/icon_xhs.png');
}
.follow-tap {
  top: 507px;
  background-image: url('/images/icon_tap.png');
}
.follow-code {
  position: absolute;
  left: -108px;
  top: 95px;
  width: 170px;
  height: 170px;
  background: url('/images/codeBg.png') no-repeat;
}
.follow-code img {
  position: absolute;
  left: 13px;
  top: 5px;
  width: 134px;
  height: 135px;
}
.follow-code p {
  position: absolute;
  left: 0;
  top: 133px;
  width: 160px;
  color: #ffab3d;
  font-size: 20px;
  line-height: 30px;
  text-align: center;
}
.toast {
  position: fixed;
  z-index: 100;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 85vw;
  padding: 10px 16px;
  background: rgba(35, 23, 15, 0.9);
  color: #fff6dc;
  border-radius: 6px;
  font-size: 14px;
}
.age-dialog {
  width: min(90vw, 520px);
  max-height: 80vh;
  overflow-y: auto;
  border: 2px solid #d5a45b;
  border-radius: 12px;
  background: #fff0d8;
  color: #644c3a;
  padding: 22px;
  font-size: 14px;
  line-height: 1.8;
  margin: auto;
  position: fixed;
  inset: 0;
  z-index: 99;
}
.age-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
}
.age-dialog h2 {
  font-size: 20px;
  margin-bottom: 12px;
}
.age-dialog p {
  margin-bottom: 8px;
}
.age-close {
  float: right;
  font-size: 24px;
  line-height: 1;
}
@media (prefers-reduced-motion: reduce) {
  .screen.is-active {
    transition: none;
  }
}
