html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #12061c;
}

img { display: block; max-width: none; }
button { font-family: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }

.c-h5 { display: none; }

.logo {
  display: flex;
  align-items: center;
  gap: calc(14 * var(--u));
  color: #fff;
}
.logo img {
  width: calc(86 * var(--u));
  height: calc(86 * var(--u));
  object-fit: contain;
}
.logo b {
  display: block;
  font-size: calc(36 * var(--u));
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.15;
}
.logo small {
  display: block;
  margin-top: calc(4 * var(--u));
  color: rgba(255, 220, 240, 0.72);
  font-size: calc(18 * var(--u));
}

.feat-img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.show-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: calc(14 * var(--u));
  background: transparent;
  box-shadow: 0 0 0 1px rgba(255, 140, 210, 0.28);
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.show-card picture,
.show-card img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.show-card img {
  object-fit: cover;
  object-position: center 18%;
}
.show-card b {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  min-width: calc(28 * var(--u));
  padding: calc(3 * var(--u)) calc(10 * var(--u)) calc(4 * var(--u));
  border-radius: 0 0 calc(12 * var(--u)) 0;
  background: linear-gradient(180deg, #ff4d8d, #c43bff);
  font-size: calc(14 * var(--u));
  font-weight: 800;
  text-align: center;
}
.show-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: calc(36 * var(--u)) calc(10 * var(--u)) calc(10 * var(--u));
  background: linear-gradient(180deg, transparent 0%, rgba(16, 4, 24, 0.92) 68%);
}
.show-info cite,
.show-info small,
.show-info em {
  display: block;
  font-style: normal;
}
.show-info cite {
  overflow: hidden;
  font-size: calc(15 * var(--u));
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.show-info small {
  margin-top: calc(2 * var(--u));
  color: rgba(255, 220, 240, 0.72);
  font-size: calc(11 * var(--u));
}
.show-info em {
  margin-top: calc(2 * var(--u));
  color: #ff7aa8;
  font-size: calc(11 * var(--u));
}
.show-info em:before { content: "♥ "; }

.cover-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  will-change: transform;
  backface-visibility: hidden;
  animation: cover-marquee 36s linear infinite;
}
.is-paused .cover-track { animation-play-state: paused; }
@keyframes cover-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.c-pc {
  --u: min(calc(100vw / 1920), calc(100vh / 1080));
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #12061c;
}
.pc-stage {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: calc(1920 * var(--u));
  height: calc(1080 * var(--u));
  overflow: hidden;
  background: #16071f;
  transform: translate(-50%, -50%);
}
.pc-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.pc-title {
  position: absolute;
  z-index: 6;
  left: 4.6%;
  top: 7.2%;
  width: 27.5%;
  height: auto;
  pointer-events: none;
}
.pc-aside {
  position: absolute;
  z-index: 6;
  left: 33.5%;
  top: 16.5%;
  width: 18.5%;
  height: auto;
  pointer-events: none;
}
.pc-top {
  position: absolute;
  z-index: 8;
  left: 2.2%;
  top: 2.4%;
}
.pc-feat {
  position: absolute;
  z-index: 8;
  left: 2.71%;
  top: 45.2%;
  width: 67.08%;
}
.pc-hot {
  position: absolute;
  z-index: 8;
  left: 4.11%;
  top: 67.6%;
  width: 62.2%;
}
.pc-hot h2 {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--u));
  margin-bottom: calc(20 * var(--u));
  color: #fff;
  font-size: calc(24 * var(--u));
  font-weight: 800;
}
.pc-hot h2:before {
  content: "🔥";
  font-size: calc(22 * var(--u));
}
.pc-covers {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent);
  mask-image: linear-gradient(90deg, #000 90%, transparent);
}
.pc-covers .show-card {
  flex: none;
  width: calc(160 * var(--u));
  height: calc(232 * var(--u));
  margin-right: calc(16 * var(--u));
}
.pc-dl {
  position: absolute;
  z-index: 9;
  left: calc(1342 * var(--u));
  top: calc(682 * var(--u));
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: calc(523 * var(--u));
  padding: calc(20 * var(--u)) calc(22 * var(--u)) calc(22 * var(--u));
  border: calc(2 * var(--u)) solid rgba(255, 186, 226, 0.88);
  border-radius: calc(32 * var(--u));
  background: linear-gradient(105deg, rgba(255, 61, 130, 0.6) 0%, rgba(225, 58, 160, 0.56) 40%, rgba(155, 58, 230, 0.54) 74%, rgba(116, 52, 238, 0.58) 100%);
  backdrop-filter: blur(14px);
  box-shadow: 0 0 16px rgba(255, 90, 170, 0.32);
}
.pc-dl-btns {
  display: flex;
  gap: calc(10 * var(--u));
  margin-bottom: calc(14 * var(--u));
}
.pc-dl-btns button {
  display: block;
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.pc-dl-btns img {
  width: 100%;
  height: auto;
}
.pc-dl-row {
  display: flex;
  align-items: center;
  gap: calc(14 * var(--u));
}
.pc-qrcode {
  flex: none;
  width: calc(108 * var(--u));
  height: calc(108 * var(--u));
  padding: calc(6 * var(--u));
  overflow: hidden;
  border-radius: calc(12 * var(--u));
  background: #fff;
}
.pc-qrcode img {
  width: 100% !important;
  height: 100% !important;
}
.pc-qrcode canvas,
.pc-qrcode table { display: none !important; }
.pc-dl-tip {
  min-width: 0;
  color: #fff;
}
.pc-dl-tip strong {
  display: block;
  margin-bottom: calc(6 * var(--u));
  font-size: calc(15 * var(--u));
  font-weight: 800;
  letter-spacing: 0.02em;
}
.pc-dl-tip p {
  color: rgba(255, 245, 250, 0.96);
  font-size: calc(13 * var(--u));
  line-height: 1.55;
}

.android-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  overflow: auto;
  background: #fff;
}
.android-modal .header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 8px 14px;
  background: #fff;
  box-shadow: 0 3px 5px rgba(57, 63, 72, 0.1);
}
.android-modal .header .title { color: #000; font-size: 15px; font-weight: 600; }
.android-modal .content { width: 100%; max-width: 750px; margin: 0 auto; padding: 16px; }
.android-modal .platform-item { margin-bottom: 10px; cursor: pointer; }
.android-modal .platform-item img,
.android-modal .pic img { width: 100%; }
.android-modal .contentAnser { display: none; }
.android-modal .pic { margin-bottom: 12px; }

.download-guide-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 24px 18px calc(24px + env(safe-area-inset-bottom, 0px));
  background: rgba(0, 0, 0, .72);
}
.download-guide-modal.is-visible { display: flex; }
.download-guide-card {
  position: relative;
  width: min(100%, 390px);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  padding: 28px 22px 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .3);
  color: #242424;
}
.download-guide-close {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #8a8a8a;
  font-size: 28px;
  cursor: pointer;
}
.download-guide-title {
  margin: 0 30px 20px;
  color: #1f1f1f;
  font-size: 21px;
  font-weight: 600;
  text-align: center;
}
.download-guide-description {
  margin: 0 0 16px;
  color: #626262;
  font-size: 15px;
  line-height: 1.65;
  text-align: center;
}
.download-guide-browser-icon {
  display: flex;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff6aa8, #c43bff);
  color: #fff;
  font-size: 29px;
  font-weight: 700;
}
.download-guide-copy-row { display: flex; align-items: stretch; gap: 8px; margin-top: 15px; }
.download-guide-url {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 11px;
  border: 1px solid #ddd;
  border-radius: 9px;
  background: #f7f7f7;
  color: #505050;
  font-size: 13px;
}
.download-guide-copy {
  min-width: 78px;
  height: 42px;
  border: 0;
  border-radius: 9px;
  background: #d94b9a;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.download-guide-status { min-height: 20px; margin: 9px 0 4px; color: #777; font-size: 13px; text-align: center; }
.download-guide-status.is-success { color: #28a265; }
.download-guide-confirm {
  display: block;
  width: 140px;
  height: 43px;
  margin: 21px auto 0;
  border: 0;
  border-radius: 22px;
  background: #d94b9a;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}
.android-guide-card {
  width: min(92vw, 390px);
  padding: 27px 21px;
  overflow: auto;
  border-radius: 21px;
  background: #fff;
}
.install-guide-head { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 16px; }
.install-guide-head h2 { color: #2a2a2a; font-size: 21px; font-weight: 700; }
.android-lead { margin-bottom: 10px; color: #2a2a2a; font-size: 14px; line-height: 1.55; text-align: center; }
.android-box {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-bottom: 10px;
  padding: 19px 16px;
  border: 1.5px solid #ffa3a3;
  border-radius: 14px;
  background: #fff6ec;
}
.android-box h3 { color: #ff1818; font-size: 16px; font-weight: 700; text-align: center; }
.android-store { color: #2a2a2a; font-size: 14px; text-align: center; }
.android-points { color: #c26868; font-size: 12px; line-height: 1.45; text-align: center; }
.android-choice { display: flex; gap: 10px; }
.android-choice span { flex: 1; padding: 12px 0; border-radius: 999px; font-size: 14px; font-weight: 700; text-align: center; }
.android-choice .is-go { border: 1.5px solid #ff8500; color: #ff1818; }
.android-choice .is-cancel { border: 1.5px solid #bbb; color: #bbb; }
.android-offline { margin-bottom: 10px; color: #cdab84; font-size: 12px; text-align: center; }
.install-guide-ok {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4d8d 0%, #c43bff 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
#iosInstallGuide { --u: 10vw; padding: 0; color: #111; }
#iosInstallGuide .ios-guide-card {
  position: relative;
  width: calc(7.92 * var(--u));
  height: calc(11.76 * var(--u));
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  padding: 0;
  overflow: hidden;
  border-radius: calc(0.373 * var(--u));
  background: #fff;
}
#iosInstallGuide .ios-guide-sheet { position: absolute; inset: 0; }
#iosInstallGuide .ios-guide-sheet img { display: block; width: 100%; height: 100%; object-fit: fill; }
#iosInstallGuide .download-guide-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
#iosInstallGuide .download-guide-confirm {
  position: absolute;
  left: 50%;
  bottom: calc(0.693 * var(--u));
  width: calc(3.44 * var(--u));
  height: calc(0.88 * var(--u));
  margin: 0;
  transform: translateX(-50%);
  border-radius: calc(0.44 * var(--u));
  background: transparent;
  color: transparent;
  font-size: 0;
}
@media (min-width: 500px) {
  #iosInstallGuide { --u: 37.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .cover-track { animation: none; }
}

@media (max-width: 960px) {
  html, body {
    width: 100%;
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background: #0a1038;
  }
  .c-pc { display: none; }
  .c-h5 {
    --u: calc(min(100vw, 750px) / 750);
    --s: 4.7%;
    position: relative;
    display: block;
    width: 100%;
    max-width: 750px;
    min-height: 100dvh;
    margin: 0 auto;
    overflow-x: hidden;
    background: linear-gradient(180deg, #15143a 0%, #111240 42%, #0c113b 72%, #080f36 100%);
  }
  .h5-scene {
    position: relative;
    z-index: 1;
    height: calc(720 * var(--u));
    overflow: hidden;
  }
  .h5-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 80% 16%;
    transform: scale(1.2);
    transform-origin: 82% 10%;
    pointer-events: none;
  }
  .h5-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(22 * var(--u)) var(--s) 0;
  }
  .h5-top .logo img {
    width: calc(92 * var(--u));
    height: calc(92 * var(--u));
  }
  .h5-top .logo b { font-size: calc(40 * var(--u)); }
  .h5-top .logo small { font-size: calc(22 * var(--u)); }
  .h5-top-dl {
    display: flex;
    align-items: center;
    gap: calc(10 * var(--u));
    padding: calc(12 * var(--u)) calc(18 * var(--u)) calc(12 * var(--u)) calc(28 * var(--u));
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff4d8d, #c43bff);
    box-shadow: 0 8px 18px rgba(255, 70, 140, 0.35);
    color: #fff;
    font-size: calc(26 * var(--u));
    font-weight: 800;
    cursor: pointer;
  }
  .h5-top-dl i,
  .h5-cta span i {
    display: block;
    flex: none;
    width: calc(36 * var(--u));
    height: calc(36 * var(--u));
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
  }
  .h5-top-dl i:before,
  .h5-cta span i:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 6.2v11.6L18.5 12z'/%3E%3C/svg%3E") 54% 50% / 54% no-repeat;
  }
  .h5-hero {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
  }
  .h5-title {
    position: absolute;
    z-index: 4;
    left: calc(20 * var(--u));
    top: calc(118 * var(--u));
    width: calc(340 * var(--u));
    height: auto;
    pointer-events: none;
  }
  .h5-aside {
    position: absolute;
    z-index: 5;
    left: calc(36 * var(--u));
    top: calc(392 * var(--u));
    width: calc(270 * var(--u));
    height: auto;
    pointer-events: none;
  }
  .c-h5 .feat-img {
    position: absolute;
    z-index: 3;
    left: calc(16 * var(--u));
    top: calc(498 * var(--u));
    width: calc(718 * var(--u));
    height: auto;
    margin: 0;
    object-fit: contain;
  }
  .hot-block {
    position: relative;
    z-index: 2;
    padding: calc(8 * var(--u)) calc(51.4 * var(--u)) 0;
    background: transparent;
  }
  .hot-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: calc(18 * var(--u));
    color: #fff;
  }
  .hot-head h2 {
    display: flex;
    align-items: center;
    gap: calc(8 * var(--u));
    font-size: calc(30 * var(--u));
    font-weight: 800;
  }
  .hot-head h2:before { content: "🔥"; }
  .hot-head button {
    border: 0;
    background: transparent;
    color: rgba(255, 220, 240, 0.78);
    font-size: calc(22 * var(--u));
    cursor: pointer;
  }
  .h5-covers {
    overflow: hidden;
    margin: 0;
    padding: 0 0 calc(8 * var(--u));
    -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent);
    mask-image: linear-gradient(90deg, #000 90%, transparent);
  }
  .h5-covers .show-card {
    flex: none;
    width: calc(170 * var(--u));
    height: calc(319 * var(--u));
    margin-right: calc(15 * var(--u));
  }
  .h5-cta {
    display: flex;
    flex-direction: column;
    width: 62%;
    margin: calc(56 * var(--u)) auto 0;
    align-items: center;
    justify-content: center;
    padding: calc(16 * var(--u)) calc(28 * var(--u)) calc(14 * var(--u));
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff6aa8 0%, #ff3d7a 52%, #d94b9a 100%);
    box-shadow: 0 10px 24px rgba(255, 70, 140, 0.35);
    color: #fff;
    cursor: pointer;
  }
  .h5-cta span {
    display: flex;
    align-items: center;
    gap: calc(12 * var(--u));
    font-size: calc(34 * var(--u));
    font-weight: 800;
    letter-spacing: 0.06em;
  }
  .h5-cta span i {
    width: calc(40 * var(--u));
    height: calc(40 * var(--u));
  }
  .h5-cta small {
    margin-top: calc(4 * var(--u));
    color: rgba(255, 255, 255, 0.82);
    font-size: calc(18 * var(--u));
  }
  .h5-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: calc(20 * var(--u)) var(--s) calc(48 * var(--u) + env(safe-area-inset-bottom, 0px));
    text-align: center;
  }
  .h5-disclaimer {
    display: none;
    width: auto;
    max-width: calc(620 * var(--u));
    margin: calc(20 * var(--u)) auto 0;
    padding: 0 calc(8 * var(--u));
    color: rgba(255, 255, 255, 0.72);
    font-size: calc(22 * var(--u));
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.8;
    text-align: center;
    text-wrap: pretty;
  }
  html.is-android .h5-disclaimer { display: block; }
  .bot-text {
    width: 100%;
    margin-top: calc(12 * var(--u));
    color: #fff;
    font-size: calc(20 * var(--u));
    line-height: 1.35;
  }
  .bot-text:empty { display: none; }
}
