:root {
  color-scheme: dark;
  --clone-bg: #0b1021;
  --clone-panel: #151e34;
  --clone-line: rgba(255, 255, 255, 0.1);
  --clone-purple: #8b43ee;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--clone-bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 0, rgba(86, 57, 143, 0.24), transparent 32rem),
    var(--clone-bg) !important;
}

/* Three-second entry loader, using the spinner artwork supplied by the source site. */
html.clone-is-loading,
html.clone-is-loading body {
  overflow: hidden !important;
}

html.clone-is-loading body::before,
html.clone-is-loading body::after {
  position: fixed;
  z-index: 1000000;
  content: "";
  opacity: 1;
  visibility: visible;
  transition: opacity 320ms ease, visibility 320ms ease;
}

html.clone-is-loading body::before {
  inset: 0;
  background: #151e34;
}

html.clone-is-loading body::after {
  top: 50%;
  left: 50%;
  width: 110px;
  height: 110px;
  margin: -55px 0 0 -55px;
  background: url("assets/首页loading.3505d2c2.png") center / contain no-repeat;
  animation: clone-entry-spin 1.05s linear infinite;
}

html.clone-is-loading.clone-is-leaving body::before,
html.clone-is-loading.clone-is-leaving body::after {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes clone-entry-spin {
  to { transform: rotate(360deg); }
}

#app {
  display: block !important;
  position: relative;
  width: 100%;
  max-width: 428px !important;
  min-height: 100vh;
  margin: 0 auto !important;
  overflow: hidden;
  opacity: 1 !important;
  visibility: visible !important;
  background: var(--clone-panel);
}

.home[data-v-69da5759] {
  min-height: 100vh;
  background:
    radial-gradient(circle at 75% 4%, rgba(100, 53, 157, 0.22), transparent 14rem),
    linear-gradient(180deg, #151d32 0%, #151e34 100%) !important;
}

.home .home-content[data-v-69da5759] {
  overflow-x: hidden !important;
}

.portal-header .header[data-v-2f9d11b2] {
  background: rgba(21, 30, 52, 0.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.loginBtn,
.home .options .item,
.home .van-tab,
.home .gameItem,
.home .gameItem-big,
.home .wallet,
.home .softwareDownload,
.home .back-top,
.van-tabbar-item {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.home_swiper {
  position: relative;
  overflow: hidden !important;
}

.home_swiper .swiper-wrapper {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: min(16.533vw, 70.763px) !important;
  transform: none !important;
  transition: none !important;
}

.home_swiper .swiper-slide {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.home_swiper .swiper-slide.is-showing {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
}

.home_swiper .swiper_slide_bg {
  position: absolute !important;
  inset: 0;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.home_swiper .swiper-pagination {
  z-index: 4;
}

.home_swiper .anim-circle {
  animation: clone-progress 3.5s linear !important;
}

@keyframes clone-progress {
  from { width: 0; }
  to { width: 100%; }
}

.noticeBar .van-notice-bar__content {
  width: max-content;
  transform: none !important;
  animation: clone-marquee 24s linear infinite;
}

@keyframes clone-marquee {
  from { transform: translateX(15%); }
  to { transform: translateX(-100%); }
}

.home .officaWallet .top .softwareDownload[data-v-69da5759] {
  border: 1px solid rgba(202, 151, 255, 0.42);
  border-radius: 999px;
  background: linear-gradient(100deg, rgba(126, 54, 235, 0.9), rgba(72, 72, 215, 0.92)) !important;
  box-shadow: 0 6px 18px rgba(70, 32, 130, 0.28);
}

.clone-dialog[hidden],
.clone-toast[hidden] {
  display: none !important;
}

.clone-dialog {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 7, 18, 0.74);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.clone-dialog__card {
  width: min(92vw, 372px);
  padding: 22px 20px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(165deg, #272244, #151d33 62%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.clone-dialog__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.clone-dialog__title {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
}

.clone-dialog__close {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.clone-dialog__field {
  width: 100%;
  height: 46px;
  margin: 0 0 12px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  outline: none;
  color: #fff;
  background: rgba(0, 0, 0, 0.26);
}

.clone-dialog__field:focus {
  border-color: rgba(176, 103, 255, 0.85);
  box-shadow: 0 0 0 3px rgba(137, 62, 231, 0.16);
}

.clone-dialog__submit {
  width: 100%;
  height: 46px;
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(100deg, #7f36e8, #514bdc);
  cursor: pointer;
}

.clone-dialog__note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.55;
}

.clone-toast {
  position: fixed;
  left: 50%;
  bottom: 104px;
  z-index: 5000;
  max-width: min(82vw, 330px);
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  text-align: center;
  background: rgba(27, 23, 48, 0.94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.36);
  transform: translateX(-50%);
}

@media (min-width: 500px) {
  #app {
    box-shadow: 0 0 70px rgba(0, 0, 0, 0.52);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.clone-is-loading body::after { animation-duration: 1.8s; }
  .noticeBar .van-notice-bar__content,
  .home_swiper .anim-circle { animation: none !important; }
  .home_swiper .swiper-slide { transition: none; }
}
