:root {
  color-scheme: dark;
  --page-pad: clamp(10px, 3.8vw, 18px);
  --cyan: #4fe9ff;
  --cyan-soft: rgba(79, 233, 255, .28);
  --panel: rgba(5, 10, 17, .9);
  --muted: #8a96a9;
}

@property --topbar-brand-hue {
  syntax: "<angle>";
  inherits: false;
  initial-value: 5deg;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #000;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: #000;
  color: #eefcff;
  font-family: "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a,
button {
  color: inherit;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

a {
  text-decoration: none;
}

button {
  border: 0;
}

img {
  display: block;
  max-width: 100%;
  user-select: none;
  -webkit-user-drag: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mobile-site {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 18%, rgba(19, 59, 88, .12), transparent 21%),
    linear-gradient(#000 0%, #000 82%, #02070a 100%);
}

.cosmic-atmosphere {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 660px;
  overflow: hidden;
  pointer-events: none;
}

.cosmic-streak,
.cosmic-spark {
  position: absolute;
  display: block;
}

.cosmic-streak {
  width: 1px;
  height: 150px;
  background: linear-gradient(transparent, rgba(255, 220, 62, .55), transparent);
  box-shadow: 0 0 4px rgba(255, 225, 60, .3);
  transform: rotate(-7deg);
  opacity: .45;
}

.cosmic-streak--one { top: 56px; left: 16%; }
.cosmic-streak--two { top: 54px; right: 26%; transform: rotate(1deg); }
.cosmic-streak--three { top: 248px; right: 12%; height: 100px; transform: rotate(13deg); }

.cosmic-spark {
  width: 7px;
  height: 2px;
  border-radius: 50%;
  background: #79ffe9;
  box-shadow: 0 0 5px #32f7d8, 0 0 10px rgba(50, 247, 216, .65);
}

.cosmic-spark--one { top: 143px; right: 30%; transform: rotate(-24deg); }
.cosmic-spark--two { top: 189px; left: 34%; transform: rotate(28deg); }

.mobile-header {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  min-height: 78px;
  padding: max(12px, env(safe-area-inset-top)) var(--page-pad) 14px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  width: max-content;
  min-height: 38px;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  transform: scale(.96);
  transform-origin: 0 50%;
  cursor: pointer;
}

.brand-lockup:focus-visible {
  outline: 1px solid rgba(99, 232, 255, .78);
  outline-offset: 6px;
  border-radius: 20px;
}

.brand-lockup .brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .68)) drop-shadow(0 0 5px rgba(96, 201, 255, .2));
}

.brand-lockup .brand-mark::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .32), inset 0 -2px 3px rgba(0, 0, 0, .28);
  pointer-events: none;
}

.brand-lockup .brand-mark img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 50%;
}

.next-brand-copy {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  margin: 0;
  white-space: nowrap;
  line-height: 1;
  text-shadow: none;
}

.next-brand-copy strong,
.next-brand-copy b {
  --topbar-brand-hue: 5deg;
  color: #fff;
  background-image: linear-gradient(90deg, hsl(var(--topbar-brand-hue) 100% 62%), hsl(calc(var(--topbar-brand-hue) + 32deg) 100% 62%) 48%, hsl(calc(var(--topbar-brand-hue) + 62deg) 100% 68%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 13px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: .02em;
  animation: topbar-brand-spectrum 7.2s linear infinite;
}

.next-brand-copy b {
  animation-delay: -3.6s;
}

.next-brand-copy i {
  margin: 0 4px;
  color: rgba(237, 216, 255, .48);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
}

@keyframes topbar-brand-spectrum {
  from { --topbar-brand-hue: 5deg; }
  to { --topbar-brand-hue: 365deg; }
}

.get-app-button {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border: 1px solid rgba(182, 88, 255, .2);
  border-radius: 11px;
  background: linear-gradient(105deg, rgba(43, 16, 47, .64), rgba(8, 15, 24, .9));
  box-shadow: inset 0 0 14px rgba(130, 58, 255, .05);
  font-size: clamp(9px, 2.7vw, 12px);
  font-weight: 800;
  white-space: nowrap;
}

.header-tools {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-self: end;
}

.language-switch {
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 6px;
  border-radius: 11px;
  background: rgba(7, 12, 21, .95);
  box-shadow: inset 0 0 0 1px rgba(102, 174, 255, .06);
}

.language-switch button {
  min-width: 29px;
  height: 27px;
  padding: 0 5px;
  border-radius: 9px;
  background: transparent;
  color: #7c8799;
  font-size: 11px;
  cursor: pointer;
}

.language-switch button.is-active {
  color: #e7fcff;
  background: linear-gradient(115deg, rgba(35, 80, 110, .72), rgba(42, 22, 73, .88));
  box-shadow: inset 0 0 0 1px rgba(112, 206, 255, .24), 0 0 11px rgba(69, 183, 255, .1);
}

.language-switch i {
  width: 1px;
  height: 16px;
  background: linear-gradient(transparent, #b866ff, transparent);
}

.universe-hero {
  position: relative;
  z-index: 2;
  height: 350px;
  min-height: 350px;
}

.homepage-stage-window {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}

.homepage-stage-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.mobile-bean-trigger {
  position: absolute;
  z-index: 10;
  top: 258px;
  left: 50%;
  right: auto;
  bottom: auto;
  width: 44px;
  height: 44px;
  transform: translateX(-50%);
  border-radius: 50%;
  filter: drop-shadow(0 7px 8px rgba(0, 0, 0, .65));
  touch-action: manipulation;
}

.mobile-bean-trigger .universe-bean {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  transform: none !important;
  transition: none !important;
}

.universe-bean__halo {
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(86, 238, 255, .12);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(92, 214, 255, .08);
}

body.bean-chat-open .mobile-bean-trigger {
  opacity: 0;
  pointer-events: none;
}

body[data-bean-trigger-only="true"] .bean-chat-close {
  color: #d9e7ee;
  background: rgba(255, 255, 255, .045);
}

body[data-bean-trigger-only="true"] .bean-chat-send {
  filter: none;
}

body[data-bean-trigger-only="true"] .bean-chat-conversion-link {
  background: transparent;
  filter: none;
}

.mobile-catalog {
  position: relative;
  z-index: 3;
  padding: 0 var(--page-pad);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 7px;
}

.catalog-column,
.catalog-section {
  min-width: 0;
}

.catalog-column .catalog-section + .catalog-section {
  margin-top: 58px;
}

.section-heading {
  min-height: 24px;
  margin: 0 1px 4px;
}

.section-heading small {
  display: block;
  overflow: hidden;
  color: #35dffc;
  font-size: 4.5px;
  font-weight: 900;
  letter-spacing: .1em;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section-heading h2 {
  margin: 1px 0 0;
  color: #f1fdff;
  font-size: 9px;
  font-weight: 760;
  line-height: 1.12;
  white-space: nowrap;
}

.catalog-list {
  display: grid;
  gap: 3px;
}

.catalog-card {
  --accent: #4fe9ff;
  position: relative;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) 7px;
  align-items: center;
  min-width: 0;
  height: 23px;
  padding: 1px 2px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: linear-gradient(105deg, rgba(14, 21, 29, .94), rgba(0, 0, 0, .98));
  box-shadow: inset 0 0 8px rgba(255, 255, 255, .018);
  overflow: hidden;
}

.catalog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, var(--accent), transparent 38%);
  opacity: .06;
  pointer-events: none;
}

.catalog-card__icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border-radius: 50%;
  background: rgba(20, 33, 44, .85);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 0 5px rgba(74, 224, 255, .08);
  overflow: hidden;
}

.catalog-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.catalog-card__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding-left: 2px;
}

.catalog-card__copy b,
.catalog-card__copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-card__copy b {
  color: #f5fdff;
  font-size: 6px;
  font-weight: 760;
  line-height: 1.15;
}

.catalog-card__copy small {
  margin-top: 0;
  color: #768396;
  font-size: 3.7px;
  line-height: 1.1;
}

.catalog-card__arrow {
  position: relative;
  z-index: 1;
  color: var(--accent);
  font-size: 7px;
  font-style: normal;
  text-align: right;
}

.catalog-card:active {
  transform: translateY(1px);
  filter: brightness(1.24);
}

.mobile-bottom {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
  margin: 28px var(--page-pad) 0;
}

.social-panel {
  min-width: 0;
  padding: 7px;
  border: 1px solid rgba(39, 229, 255, .09);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(4, 16, 22, .82), rgba(0, 0, 0, .92));
}

.section-heading--social {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 28px;
  margin: 0 0 6px;
}

.section-heading--social > span {
  padding: 3px 6px;
  border-radius: 10px;
  background: rgba(49, 177, 215, .1);
  color: #6f9daf;
  font-size: 5px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.social-grid a {
  --social: #4fe9ff;
  display: grid;
  grid-template-columns: clamp(11px, 2.8vw, 18px) minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  height: clamp(27px, 5.2vw, 33px);
  padding: 2px 1px;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(84, 209, 255, .12);
  border-radius: 6px;
  background: rgba(4, 9, 15, .93);
  box-shadow: inset 0 -2px 0 var(--social);
}

.social-icon {
  display: grid;
  width: clamp(11px, 2.8vw, 18px);
  height: clamp(11px, 2.8vw, 18px);
  place-items: center;
  overflow: hidden;
  border-radius: 5px;
  border: 1px solid color-mix(in srgb, var(--social) 58%, transparent);
  background: color-mix(in srgb, var(--social) 15%, #000);
  color: var(--social);
  box-shadow: 0 0 8px rgba(79, 233, 255, .2);
}

.social-icon svg,
.social-icon img {
  display: block;
  width: 76%;
  height: 76%;
  object-fit: contain;
  fill: currentColor;
}

.social-logo--mail svg,
.social-logo--mini svg,
.social-logo--douyin svg,
.social-logo--bili svg,
.social-logo--weibo svg,
.social-logo--sohu svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-logo--douyin .echo-a { stroke: #25f4ee; }
.social-logo--douyin .echo-b { stroke: #fe2c55; }
.social-logo--channels circle:nth-child(1) { fill: #07c160; }
.social-logo--channels circle:nth-child(2) { fill: #ffcf3d; }
.social-logo--channels circle:nth-child(3) { fill: #ff5c6c; }

.social-grid b {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #dbeaf0;
  font-size: clamp(4.5px, 1.28vw, 6px);
  line-height: 1;
  text-overflow: clip;
  white-space: nowrap;
}

.mobile-footer {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  padding: 7px;
  gap: 9px;
  border: 1px solid rgba(39, 229, 255, .09);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(4, 16, 22, .82), rgba(0, 0, 0, .92));
  color: #66717d;
  text-align: left;
}

.mobile-footer__brand {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(85, 233, 255, .11);
}

.mobile-footer__logo {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 0 7px rgba(85, 233, 255, .22));
}

.mobile-footer__brand-copy {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.mobile-footer__brand-copy strong,
.mobile-footer__brand-copy b {
  --topbar-brand-hue: 5deg;
  color: #fff;
  background-image: linear-gradient(90deg, hsl(var(--topbar-brand-hue) 100% 62%), hsl(calc(var(--topbar-brand-hue) + 32deg) 100% 62%) 48%, hsl(calc(var(--topbar-brand-hue) + 62deg) 100% 68%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(7px, 2vw, 10px);
  font-weight: 800;
  animation: topbar-brand-spectrum 7.2s linear infinite;
}

.mobile-footer__brand-copy b {
  animation-delay: -3.6s;
}

.mobile-footer__brand-copy i {
  margin: 0 3px;
  color: rgba(237, 216, 255, .48);
  font-size: clamp(7px, 1.8vw, 9px);
  font-style: normal;
}

.mobile-footer__links {
  display: grid;
  align-content: start;
  gap: 5px;
}

.mobile-footer__links a {
  color: #747e89;
  font-size: clamp(5px, 1.55vw, 7px);
  line-height: 1.15;
}

.footer-company {
  color: #939da7 !important;
  font-size: clamp(5px, 1.35vw, 6.5px) !important;
}

.mobile-sidebar-menu {
  position: absolute;
  z-index: 60;
  top: calc(50% + 20px);
  left: var(--page-pad);
  width: clamp(164px, 46vw, 188px);
  max-height: calc(100vh - 88px);
  max-height: calc(100dvh - 88px);
  padding: 8px 8px 10px;
  overflow: hidden;
  border: 0;
  border-right: 1px solid rgba(85, 255, 154, .86);
  border-bottom: 1px solid rgba(85, 255, 154, .86);
  border-radius: 0 0 15px 0;
  background: #000;
  box-shadow: 16px 24px 48px rgba(0, 0, 0, .78), inset -7px 0 14px -14px rgba(85, 255, 154, .9);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px) scaleY(.97);
  transform-origin: 0 0;
  transition: opacity .18s ease, visibility 0s linear .2s, transform .22s cubic-bezier(.22, .82, .2, 1);
}

.mobile-sidebar-menu.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scaleY(1);
  transition-delay: 0s;
}

.mobile-sidebar-list {
  display: grid;
  gap: 3px;
  max-height: calc(100vh - 111px);
  max-height: calc(100dvh - 111px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.mobile-sidebar-list::-webkit-scrollbar {
  display: none;
}

.mobile-sidebar-item {
  --accent: #55d9ff;
  position: relative;
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) 8px;
  align-items: center;
  width: 100%;
  height: 40px;
  min-width: 0;
  padding: 4px 6px;
  gap: 5px;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 22%, rgba(47, 188, 255, .035) 0 1px, transparent 1.5px) 0 0 / 83px 83px,
    radial-gradient(circle at 78% 18%, rgba(255, 91, 205, .035) 0 1px, transparent 1.5px) 0 0 / 117px 117px,
    #000;
}

.mobile-sidebar-item__flow {
  position: absolute;
  z-index: -1;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: var(--accent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.mobile-sidebar-item__icon {
  position: relative;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, .045);
}

.mobile-sidebar-item__icon img {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.mobile-sidebar-item__copy {
  min-width: 0;
}

.mobile-sidebar-item__copy b,
.mobile-sidebar-item__copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-sidebar-item__copy b {
  color: #f7fbff;
  font-size: 8.5px;
  font-weight: 720;
  line-height: 1.15;
}

.mobile-sidebar-item__copy small {
  margin-top: 2px;
  color: #77808c;
  font-size: 5.5px;
  line-height: 1.1;
}

.mobile-sidebar-item__arrow {
  color: #74727e;
  font-size: 7px;
  font-style: normal;
  text-align: right;
}

.mobile-sidebar-item:active {
  transform: translateX(2px);
  filter: brightness(1.16);
}

.mobile-sidebar-item:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: -2px;
}

.windows-icon {
  grid-template-columns: repeat(2, 7px);
  grid-template-rows: repeat(2, 7px);
  gap: 2px;
}

.windows-icon i {
  display: block;
  width: 7px;
  height: 7px;
  background: #8da0af;
}

.catalog-card__icon.windows-icon {
  grid-template-columns: repeat(2, 5px);
  grid-template-rows: repeat(2, 5px);
  gap: 1px;
}

.catalog-card__icon.windows-icon i {
  width: 5px;
  height: 5px;
  background: #58dcff;
}

body[data-language="en"] .section-heading h2 {
  font-size: 9px;
}

body[data-language="en"] .catalog-card__copy b {
  font-size: 5.5px;
}

@media (min-width: 520px) {
  .mobile-site {
    width: 520px;
    min-height: 100vh;
    margin: 0 auto;
    box-shadow: 0 0 90px rgba(0, 231, 255, .06);
  }

}

@media (max-width: 420px) {
  .mobile-header {
    gap: 5px;
    padding-inline: 12px;
  }

  .mobile-sidebar-menu {
    left: 12px;
  }

  .brand-lockup {
    gap: 5px;
  }

  .brand-lockup .brand-mark,
  .brand-lockup .brand-mark img {
    width: 32px;
    height: 32px;
  }

  .next-brand-copy strong,
  .next-brand-copy b {
    font-size: 11px;
  }

  .next-brand-copy i {
    margin-inline: 3px;
    font-size: 11px;
  }

  .get-app-button {
    padding-inline: 8px;
    font-size: 10px;
  }

  .language-switch {
    padding-inline: 4px;
  }

  .language-switch button {
    min-width: 26px;
    padding-inline: 3px;
  }
}

@media (max-width: 359px) {
  .mobile-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .get-app-button {
    position: absolute;
    top: 77px;
    left: var(--page-pad);
    min-height: 32px;
    padding-inline: 10px;
  }

  .header-tools {
    grid-column: 2;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 8px;
  }

  .catalog-section--owned,
  .catalog-section--third {
    grid-column: auto;
  }

  .catalog-column .catalog-section + .catalog-section { margin-top: 28px; }
  .catalog-card__copy b { font-size: 7px; }
  .catalog-card__copy small { font-size: 4px; }

  .mobile-bottom { gap: 5px; }
  .mobile-footer,
  .social-panel { padding: 5px; }
  .mobile-footer__brand { grid-template-columns: 24px minmax(0, 1fr); gap: 4px; }
  .mobile-footer__logo { width: 24px; height: 24px; }
  .social-grid { gap: 3px; }
}

@media (prefers-reduced-motion: no-preference) {
  .mobile-bean-trigger { animation: bean-float 4.2s ease-in-out infinite; }
  .cosmic-spark { animation: spark-pulse 3.2s ease-in-out infinite; }
}

@keyframes bean-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-7px); }
}

@keyframes spark-pulse {
  0%, 100% { opacity: .25; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
