html,
body {
  height: 100%;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background-color: #000;
  color: #fff;
  font-family: system-ui, sans-serif;
}

div,
section,
article,
ul,
li,
p,
video,
a,
span,
img {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  pointer-events: none;
}

a,
a:hover,
a:active,
a:visited {
  text-decoration: none;
  color: #fff;
}

#app {
  height: 100%;
  background-color: #000;
}

.center-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.max-width750 {
  max-width: 750px;
  margin: 0 auto;
  left: 0 !important;
  right: 0 !important;
}

.m-page {
  max-width: 750px;
  margin: 0 auto;
}

body.m-page {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  overflow-y: auto;
}

body.m-page #app {
  height: auto;
  min-height: 100%;
}

.m-page-cont {
  margin-bottom: 12px;
  width: 100%;
  max-width: 100%;
}

.m-page-head-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  aspect-ratio: 100 / 19.2;
  max-width: 750px;
  margin: 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 19.2vw;
  max-height: 144px;
  padding: 8px 10px;
  padding-top: calc(8px + constant(safe-area-inset-top));
  padding-top: calc(8px + env(safe-area-inset-top));
  height: calc(19.2vw + constant(safe-area-inset-top));
  height: calc(19.2vw + env(safe-area-inset-top));
  max-height: calc(144px + constant(safe-area-inset-top));
  max-height: calc(144px + env(safe-area-inset-top));
  box-sizing: border-box;
  background: #00000073;
}

.m-page-head-content {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
}

.bar-pic {
  width: 100%;
  max-width: 180px;
  height: calc(180px * 40 / 138);
  aspect-ratio: 138 / 40;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}

.m-nav-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  height: 19.2vw;
  max-height: 144px;
  aspect-ratio: 750 / 144;
  z-index: 19;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.m-head-banner {
  width: 100%;
  margin: 0 auto;
  height: calc(100vw * 250 / 366);
  max-height: calc(750px * 250 / 366);
  aspect-ratio: 366 / 250;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
}

.m-page-box {
  position: relative;
  background-color: #070605;
  overflow: visible;
  padding: 0;
}

.list-goods {
  width: 100%;
  background-color: #070605;
}

.list-goods-image-wrap {
  position: relative;
  --panel-w: 100vw;
  --panel-h: 156vw;
  height: 156vw;
  min-height: 560px;
  max-height: 920px;
  overflow: hidden;
  background-color: #070605;
  background:
    radial-gradient(ellipse 90% 55% at 50% 42%, rgba(86, 58, 22, 0.42), transparent 68%),
    radial-gradient(ellipse 40% 30% at 18% 72%, rgba(120, 78, 24, 0.16), transparent 70%),
    linear-gradient(180deg, #100d0b 0%, #1a140f 38%, #0c0a08 100%);
}

.float-scene,
.mid-carousel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
}

.float-cover,
.mid-slide {
  position: absolute;
  overflow: hidden;
  background-color: #1a140f;
  background-repeat: no-repeat;
  background-size: var(--sw) var(--sh);
  background-position: var(--sx) var(--sy);
  border: 1px solid rgba(226, 186, 96, 0.88);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.48),
    inset 0 0 0 1px rgba(255, 220, 140, 0.12);
}

.float-pair {
  position: absolute;
  z-index: var(--z, 3);
  animation: pair-float var(--dur) ease-in-out var(--delay) infinite;
}

.float-pair-body {
  display: flex;
  align-items: center;
  gap: 6px;
  transform: scale(var(--scale, 1));
  transform-origin: left center;
}

.float-pair.is-edge-right .float-pair-body {
  transform-origin: right center;
}

.float-pair[data-depth="0"] {
  --scale: 1;
  --z: 5;
  --tag-bg: 0.16;
}

.float-pair[data-depth="1"] {
  --scale: 0.78;
  --z: 3;
  --tag-bg: 0.1;
}

.float-pair[data-depth="2"] {
  --scale: 0.56;
  --z: 1;
  --tag-bg: 0.06;
}

.float-cover {
  z-index: 2;
  aspect-ratio: 3 / 4.05;
  transform: rotate(var(--rot));
  animation: cover-float var(--dur) ease-in-out var(--delay) infinite;
}

.float-pair .float-cover {
  position: relative;
  flex: none;
  width: calc(var(--cover-w) * 1.2);
  height: calc(var(--cover-w) * 1.2 * 4.05 / 3);
  animation: none;
}

.float-tag {
  position: absolute;
  z-index: 6;
  display: flex;
  padding: 4.171px 16.685px;
  justify-content: center;
  align-items: center;
  gap: 10.428px;
  border-radius: 103.238px;
  background: rgba(246, 185, 2, 0.16);
  white-space: nowrap;
  animation: tag-float var(--dur) ease-in-out var(--delay) infinite;
}

.float-tag-text {
  background: linear-gradient(270deg, #f6b902 0%, #ffe084 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "PingFang SC", sans-serif;
  font-size: 14.599px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.float-pair .float-tag {
  position: relative;
  top: auto;
  left: auto;
  flex: none;
  animation: none;
  background: rgba(246, 185, 2, var(--tag-bg, 0.16));
}

.float-pair[data-depth="1"] .float-tag-text {
  background: linear-gradient(270deg, #a67c08 0%, #c4a25a 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.float-pair[data-depth="2"] .float-tag-text {
  background: linear-gradient(270deg, #6d5a2e 0%, #8c7850 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.float-pair[data-depth="2"] .float-cover {
  opacity: 0.78;
}

.float-tag.is-empty {
  width: var(--tw, 28%);
  padding: 0;
  color: transparent;
  background: linear-gradient(180deg, rgba(86, 62, 24, 0.55), rgba(40, 28, 10, 0.42));
  box-shadow: inset 0 1px 0 rgba(255, 214, 140, 0.12);
}

.float-spark {
  position: absolute;
  z-index: 7;
  width: 16px;
  height: 16px;
  pointer-events: none;
  background: #fff6d2;
  clip-path: polygon(
    50% 0%,
    61% 39%,
    100% 50%,
    61% 61%,
    50% 100%,
    39% 61%,
    0% 50%,
    39% 39%
  );
  filter: drop-shadow(0 0 6px rgba(255, 214, 120, 0.95));
  animation: spark-pulse 2.6s ease-in-out var(--delay) infinite;
}

.mid-carousel {
  z-index: 7;
}

.mid-slide {
  --banner-h: calc(var(--panel-w) * 250 / 366);
  --footer-h: calc(var(--panel-w) * 55 / 375 + 10px);
  --footer-h: calc(var(--panel-w) * 55 / 375 + 10px + constant(safe-area-inset-bottom));
  --footer-h: calc(var(--panel-w) * 55 / 375 + 10px + env(safe-area-inset-bottom, 0px));
  --visible-h: max(180px, calc(100vh - var(--banner-h) - var(--footer-h)));
  --visible-h: max(180px, calc(100dvh - var(--banner-h) - var(--footer-h)));
  --fit-h: min(calc(var(--panel-w) * 0.5 * 4.05 / 3), calc(var(--visible-h) - 16px));
  --view-h: min(var(--visible-h), var(--panel-h));
  position: absolute;
  left: 50%;
  top: max(8px, calc((var(--view-h) - var(--fit-h)) / 2));
  width: min(calc(var(--panel-w) * 0.5), calc(var(--fit-h) * 3 / 4.05));
  height: var(--fit-h);
  transform: translateX(-50%);
  border: none;
  opacity: 0;
  transition: opacity 0.7s ease;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.5);
}

.mid-slide.is-full {
  background-size: cover;
  background-position: center;
}

.mid-slide.is-active {
  opacity: 1;
}

.list-goods-image-mask {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 8;
}

@keyframes pair-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  25% {
    transform: translate3d(calc(var(--dx) * 0.85), var(--dy), 0);
  }
  50% {
    transform: translate3d(var(--dx), calc(var(--dy) * 0.2), 0);
  }
  75% {
    transform: translate3d(calc(var(--dx) * -0.55), calc(var(--dy) * 0.75), 0);
  }
}

@keyframes cover-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(var(--rot));
  }
  50% {
    transform: translate3d(var(--dx), -14px, 0) rotate(var(--rot));
  }
}

@keyframes tag-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(var(--dx), -10px, 0);
  }
}

@keyframes spark-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.m-page-space-box {
  width: 100%;
  height: calc(100vw * 80 / 408);
  max-height: calc(750px * 80 / 408);
  aspect-ratio: 408 / 80;
}

.m-foot {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
  background-color: #070605;
}

.footer_img {
  width: 100%;
  height: calc(100vw * 55 / 375);
  max-height: calc(750px * 55 / 375);
  aspect-ratio: 375 / 55;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.footer_dl_img {
  width: 100%;
  height: calc(100vw * 93 / 375);
  max-height: calc(750px * 93 / 375);
  aspect-ratio: 375 / 93;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.row-slide {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  z-index: 2;
}

.item-RndTag {
  padding-left: 8px;
  padding-right: 8px;
  display: flex;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
}

.item-RndTag-icon-wrap {
  position: relative;
}

.item-RndTag .icons {
  width: 26px;
  height: calc(26px * 34 / 20);
  aspect-ratio: 20 / 34;
  display: block;
}

.item-RndTag-icon-mask {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.userDialogbox {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.38);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
}

.userDialogbox .dialog {
  width: 85%;
  background: #fff;
  padding: 15px 25px 20px;
  border-radius: 12px;
  text-align: center;
}

.userDialogbox .header,
.userDialogbox .tit,
.userDialogbox .link {
  color: #000;
  font-size: 16px;
}

.userDialogbox .tit {
  margin-top: 30px;
}

.copybtn {
  border: 0;
  background: #8b1210;
  width: 65%;
  padding: 10px;
  border-radius: 20px;
  color: #fff;
  margin-top: 30px;
}

.jcbox {
  width: 100vw;
  height: 100vh;
  display: flex;
  padding: 45px;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.69);
  position: fixed;
  z-index: 101;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.download-loading {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 150;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  pointer-events: auto;
  animation: download-loading-fade-in 0.18s ease-out;
}

.download-loading-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 120px;
  padding: 22px 28px 18px;
  border-radius: 16px;
  background: linear-gradient(
    160deg,
    rgba(36, 36, 36, 0.96) 0%,
    rgba(18, 18, 18, 0.96) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.download-loading-ring {
  position: relative;
  width: 42px;
  height: 42px;
}

.download-loading-ring-outer,
.download-loading-ring-inner {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 50%;
  border-style: solid;
  border-color: transparent;
  box-sizing: border-box;
}

.download-loading-ring-outer {
  border-width: 3px;
  border-top-color: #c43a36;
  border-right-color: rgba(196, 58, 54, 0.35);
  animation: download-loading-spin 0.85s linear infinite;
}

.download-loading-ring-inner {
  top: 8px;
  right: 8px;
  bottom: 8px;
  left: 8px;
  border-width: 2px;
  border-bottom-color: rgba(255, 255, 255, 0.85);
  border-left-color: rgba(255, 255, 255, 0.25);
  animation: download-loading-spin-reverse 1.1s linear infinite;
}

.download-loading-text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  letter-spacing: 0.12em;
  line-height: 1;
}

@keyframes download-loading-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes download-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes download-loading-spin-reverse {
  to {
    transform: rotate(-360deg);
  }
}

.download-toast {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 200;
  max-width: 80%;
  padding: 12px 18px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.download-toast.is-show {
  opacity: 1;
  visibility: visible;
}

.jcbox-inner {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.jcbox .item {
  width: 296px;
  height: 441px;
}

.webbox {
  position: relative;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: #000;
}

.webbox--bg-dragging .collection {
  cursor: grabbing;
}

.bg-slider {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}

.bg-slider--dragging {
  cursor: grabbing;
}

.bg-slider-track {
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.bg-slider-track--no-trans {
  transition: none !important;
}

.bg-slide {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.webbox-inner {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.webbox-inner > * {
  pointer-events: auto;
}

.banner {
  position: relative;
  z-index: 10;
  margin-top: 32px;
  margin-left: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.left_logo {
  height: 100px;
}

.logo_img {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
}

.right_logo {
  margin-right: 20px;
  display: flex;
  gap: 25px;
}

.right_logo .item {
  cursor: pointer;
  background-repeat: no-repeat;
  background-size: contain;
}

.tg_link,
.sw_link,
.kf_link,
.sc_link {
  width: 96px;
  height: 40px;
}

.collection {
  position: fixed;
  left: 80px;
  bottom: 80px;
  display: flex;
  align-items: center;
  touch-action: none;
  cursor: grab;
}

/* 二维码图片 */
.left_img {
  height: 250px;
  width: auto;
  display: block;
  object-fit: contain;
}
