﻿/*
 * 官网基础样式。
 * 除必要的 reset 外，业务类名统一使用 site/home 前缀，避免影响文档、SDK 等外部页面。
 */
html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Source Han Sans CN;
}

/* PC 缩窄时保持桌面布局并产生横向滚动；手机与 iPad 不设置最小宽度。 */
html.site-device--desktop,
html.site-device--desktop body,
html.site-device--desktop .site,
html.site-device--desktop .site-header,
html.site-device--desktop .home-hero,
html.site-device--desktop .site-footer {
  min-width: 1200px;
}

html.site-device--desktop body {
  overflow-x: auto;
}

html.site-device--mobile,
html.site-device--mobile body,
html.site-device--mobile .site {
  min-width: 0;
  width: 100%;
  overflow-x: hidden;
}

.site-mobile-only {
  display: none;
}

html.site-device--mobile .site-desktop-only {
  display: none !important;
}

html.site-device--mobile .site-footer {
  display: none !important;
}

html.site-device--mobile .site-mobile-only {
  display: block;
}

html.site-device--mobile .mobile-footer.site-mobile-only {
  display: block;
}

.mobile-home {
  min-height: 100vh;
  min-height: calc(var(--mobile-vh, 1vh) * 100);
  padding-top: 52px;
  --mobile-header-height: 52px;
  background: #fff;
}

.mobile-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: 52px;
  background: #fff;
}

.mobile-header__logo {
  position: absolute;
  top: 10px;
  left: 22px;
  width: 42px;
  height: 30px;
}

.mobile-header__logo img {
  width: 42px;
  height: auto;
}

.mobile-header__menu {
  position: absolute;
  top: 13px;
  right: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 28px;
  cursor: pointer;
}

.mobile-header__menu .iconfont {
  font-size: 22px;
  color: #000;
}

.mobile-menu {
  position: fixed;
  z-index: 90;
  top: 52px;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  padding: 8px 20px 30px;
  background: #fff;
  overflow-y: auto;
}

html.site-device--mobile .mobile-menu {
  display: none;
}

.mobile-menu--open,
html.site-device--mobile .mobile-menu.mobile-menu--open {
  display: block;
}

.mobile-menu__link,
.mobile-menu__language,
.mobile-menu__languages button {
  display: block;
  width: 100%;
  min-height: 65px;
  padding: 23px 2px 18px;
  border: 0;
  border-bottom: 1px solid #eee;
  color: #111;
  background: transparent;
  text-align: left;
  font-size: 14px;
}

.mobile-menu .mobile-menu__link--active,
.mobile-menu .mobile-menu__link--active:visited {
  color: #21c064;
  color: var(--primary-color, #21c064);
  font-weight: 600;
}

.mobile-menu__languages button {
  padding-left: 18px;
  color: #666;
  text-align: center;
}

.mobile-menu__languages button.active {
  color: #000;
}

.mobile-hero {
  position: relative;
  /* 首页第一屏按真实可视高度计算，避免 iOS Safari 100vh 把底部工具栏也算进去。 */
  height: calc((var(--mobile-vh, 1vh) * 100) - var(--mobile-header-height));
  /* height: calc(100dvh - var(--mobile-header-height)); */
  /* min-height: 0; */
  min-height: 100dvh - var(--mobile-header-height);
  overflow: hidden;
  background: #edfaff url("/public/index/images/landing-backdrop-touch.png") center 42% /
    cover no-repeat;
  --mobile-hero-bottom-gap: 30px;
  --mobile-hero-button-height: 53px;
  --mobile-hero-content-gap: clamp(18px, 3.2vh, 28px);
  --mobile-title-focus-y: 39%;
}

@supports (bottom: max(30px, env(safe-area-inset-bottom))) {
  .mobile-hero {
    --mobile-hero-bottom-gap: max(30px, env(safe-area-inset-bottom));
  }
}

.mobile-hero__glass {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: 0;
  width: 55%;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 0 28px 28px 0;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 18px 0 32px rgba(255, 255, 255, 0.3);
}

.mobile-hero__glass:after {
  position: absolute;
  z-index: 3;
  top: 60px;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  content: "";
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.mobile-hero__title {
  position: absolute;
  z-index: 5;
  top: var(--mobile-title-focus-y);
  left: 50%;
  width: min(70vw, 360px);
  height: auto;
  transform: translate(-50%, -50%);
}

.mobile-hero__earth {
  position: absolute;
  z-index: 1;
  top: clamp(244px, 47%, 342px);
  left: 50%;
  width: clamp(210px, 65vw, 244px);
  height: clamp(210px, 65vw, 244px);
  object-fit: contain;
  opacity: 0.92;
  transform: translate(-50%, -50%);
}

.mobile-hero__content {
  position: absolute;
  z-index: 5;
  /* 文案始终位于下载按钮上方，距离跟随视口高度轻微伸缩。 */
  bottom: calc(
    var(--mobile-hero-bottom-gap) + var(--mobile-hero-button-height) +
      var(--mobile-hero-content-gap)
  );
  left: 23px;
  color: #606060;
  font-size: 13px;
  line-height: 1.35;
}

.mobile-hero__content p {
  margin: 0;
}

.mobile-hero__content span {
  display: block;
  width: 28px;
  height: 5px;
  margin-top: 10px;
  border-radius: 5px;
  background: linear-gradient(318deg, #ff5252, #ff946a);
}

.mobile-hero__download {
  position: absolute;
  z-index: 6;
  right: 20px;
  bottom: var(--mobile-hero-bottom-gap);
  left: 20px;
  /* height: var(--mobile-hero-button-height); */
  height: 44px;
  border: 0;
  border-radius: 30px;
  color: #fff;
  background: #404241;
  font-size: 18px !important;
  width: calc(100% - 40px);
}

.mobile-footer {
  padding: 10px 24px 28px;
  color: #727b84;
  background: #edfaff;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.mobile-footer a {
  color: inherit;
}

.mobile-footer__nav {
  margin-bottom: 10px;
  color: #000;
  font-size: 13px;
}

.mobile-footer__nav span {
  margin: 0 7px;
}

.mobile-footer__record {
  margin: 5px 0;
}

.mobile-footer__record a {
  display: inline-flex;
  align-items: center;
}

.mobile-footer__record img {
  margin-right: 3px;
}

.mobile-footer p {
  display: block;
  margin: 4px 0;
  color: #727b84;
  font-size: 12px;
}

.mobile-footer__divider {
  height: 1px;
  margin: 28px 0 25px;
  background: #eee;
}

.mobile-footer .mobile-footer__contact {
  color: #000;
  font-size: 12px;
  font-weight: 500;
}

.site-floating-tools {
  position: fixed;
  z-index: 80;
  right: 18px;
  bottom: 34px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s;
}

.site-floating-tools--visible {
  visibility: visible;
  opacity: 1;
}

.site-floating-tools__button {
  display: block;
  width: 62px;
  height: 62px;
  margin-top: 12px;
  padding: 0;
  border: 4px solid #fff;
  border: 0.04rem solid #fff;
  border-radius: 50%;
  color: #111;
  background: linear-gradient(0deg, #fff 0%, #e9e9e9 100%);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
  box-shadow: 0 0 0.3rem rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.site-floating-tools__button .iconfont {
  display: block;
  font-size: 32px;
  line-height: 54px;
}

.site-floating-tools__button:hover,
.site-floating-tools__button:focus,
.site-floating-tools__button--active {
  color: #21c064;
  color: var(--primary-color, #21c064);
  outline: none;
}

.site-floating-tools__button .icon-arrow-right {
  transform: rotate(-90deg);
}

.site-contact-panel {
  position: fixed;
  z-index: 81;
  right: 104px;
  bottom: 108px;
  display: none;
  width: 305px;
  padding: 28px 22px 24px;
  border: 2px solid #fff;
  border-radius: 8px;
  background: #edf3fc;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
}

.site-contact-panel--open {
  display: block;
}

.site-contact-panel__close {
  position: absolute;
  top: 27px;
  right: 22px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  color: #111;
  background: transparent;
  font-size: 24px !important;
  line-height: 24px;
  text-align: center;
  cursor: pointer;
}

.site-contact-panel__close:hover,
.site-contact-panel__close:focus {
  color: #21c064;
  color: var(--primary-color, #21c064);
  outline: none;
}

.site-contact-panel h2 {
  display: flex;
  align-items: center;
  margin: 0 0 24px;
  padding-right: 34px;
  color: #111;
  font-size: 18px;
  line-height: 24px;
}

.site-contact-panel h2 .iconfont {
  margin-right: 8px;
  font-size: 20px;
  line-height: 24px;
}

.site-contact-panel hr {
  height: 1px;
  margin: 0 0 24px;
  border: 0;
  background: rgba(255, 255, 255, 0.95);
}

.site-contact-panel p {
  margin: 0;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
}

.site-contact-panel__row {
  display: flex;
  align-items: center;
}

.site-contact-panel__row .iconfont {
  width: 22px;
  margin-right: 8px;
  color: #111;
  font-size: 20px;
  line-height: 1;
}

.site-contact-panel__row a:hover,
.site-contact-panel__row a:focus {
  color: #21c064;
  color: var(--primary-color, #21c064);
}

.site-contact-panel__time {
  padding: 10px 0 26px 30px;
}

/*
 * 公祭日全站黑白模式。类名同时添加到 html 和 body，确保页面背景、固定层、
 * 图片及视频均被覆盖；filter: gray 为旧版 IE 的降级写法。
 */
html.gray-mode,
html.gray-mode body,
body.gray-mode {
  filter: gray;
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
}

html.gray-mode img,
html.gray-mode video,
body.gray-mode img,
body.gray-mode video {
  filter: gray;
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
}

body {
  color: #111;
  background: #edf5f9;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 14px;
}

/* 样式变量 */
:root {
  /* --primary-color: #21c064; */
  --primary-color: #21c064;
}

.site,
.site * {
  box-sizing: border-box;
}

.site .home-hero:focus {
  outline: none;
}

.site img {
  border: 0;
  max-width: 100%;
}

.site button,
.site input,
.site textarea,
.site select {
  font: inherit;
}

.site a {
  color: inherit;
  text-decoration: none;
}

.site .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: visible;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site--home {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #edf5f9;
}

.site__skip {
  position: absolute;
  z-index: 1000;
  top: -60px;
  left: 16px;
  padding: 10px 16px;
  color: #fff;
  background: #2864dc;
}

.site__skip:focus {
  top: 10px;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  height: 64px;
  background: transparent;
}

.site-header__inner {
  position: relative;
  width: calc(100% - 100px);
  height: 64px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  display: -webkit-flex;
  justify-content: space-between;
}

.site-header__left,
.site-header__right {
  display: flex;
  align-items: center;
  height: 64px;
}
.site-header__left {
  justify-content: flex-start;
}
.site-header__right {
  justify-content: flex-end;
  gap: 22px;
}
.site-header__brand {
  grid-column: 2;
  justify-self: center;
}
.site-header__left {
  grid-column: 1;
}
.site-header__right {
  grid-column: 3;
}
/* .site-header__right .site-nav__link {
  margin: 0;
  padding-top: 0;
  height: auto;
} */

.site-header__brand {
  /* float: left; */
  height: 64px;
  padding-top: 10px;
  margin-right: 100px;
}

.site-header__brand img {
  display: block;
  width: auto;
  height: 44px;
}

.site-nav {
  display: inline-block;
  height: 64px;
}

.site-nav__link {
  position: relative;
  display: inline-block;
  height: 64px;
  margin: 0 20px;
  padding-top: 22.5px;
  font-size: 14px;
}

.site-nav__link:first-child {
  margin-left: 0;
}

.site-nav__link:hover,
.site-nav__link:focus,
.site-nav__link--active {
  color: var(--primary-color) !important;
}

.site-nav__link--active:before {
  position: absolute;
  bottom: 15px;
  /* left: calc(50% - 36px); */
  left: 0;
  width: 30%;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-color);
  content: "";
  margin-right: 2px;
}

.site-nav__link--active:after {
  position: absolute;
  bottom: 15px;
  left: 40%;
  width: 60%;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-color);
  content: "";
}

.site-locale {
  float: right;
  white-space: nowrap;
}

.site-locale__button {
  padding: 0 5px;
  border: 0;
  color: #505050;
  background: transparent;
  cursor: pointer;
  font-weight: 400;
}

.site-locale__button:hover,
.site-locale__button:focus {
  color: #000;
}

.site-locale__button--active,
.site-locale__button--active:hover,
.site-locale__button--active:focus {
  color: #000;
  font-weight: bold;
}

.site-locale__separator {
  color: #c8c8c8;
}

.site-header__toggle {
  display: none;
}

.home-hero {
  position: relative;
  min-height: 100vh;
  padding: 0 24px 150px;
  background: #edf5f9 url("/public/index/images/landing-backdrop.png") center center
    no-repeat;
  background-size: cover;
  text-align: center;
}

.home-hero__title {
  /* width: 22vw;
  min-width: 340px;
  max-width: 422px;
  margin: 0 auto;
  padding-top: 14vh; */

  width: 422px;          
  max-width: 40%;        
  margin: 0 auto;
  padding-top: 120px;   
}
/* 4K@200% 屏（DPR 2）单独覆盖 */
@media (min-resolution: 1.5dppx) {
  .home-hero__title { padding-top: 160px; }
}

@media (min-resolution: 2dppx) {
  .home-hero__title { padding-top: 200px; }
}

@media (min-resolution: 2.5dppx) {
  .home-hero__title { padding-top: 240px; }
}

.home-hero__title img {
  display: block;
  width: 100%;
  height: auto;
}

.home-download {
  position: absolute;
  right: 24px;
  bottom: 116px;
  left: 24px;
}

.home-download__list {
  width: 100%;
  /* max-width: 1002px; */
  margin: 0 auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.home-platform .home-download__link {
  position: relative;
  overflow: hidden;
}
.home-platform[data-platform="Android"] .home-download__link:before,
.home-platform[data-platform="IOS"] .home-download__link:before {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 18px;
  height: 18px;
  background: url("/public/index/images/platform-scan.png") center/contain
    no-repeat;
}
.home-download__qr {
  display: none;
  width: 140px;
  height: 140px;
  object-fit: contain;
}
.home-platform[data-platform="Android"] .home-download__link:hover:before,
.home-platform[data-platform="IOS"] .home-download__link:hover:before,
.home-platform[data-platform="Android"] .home-download__link:focus:before,
.home-platform[data-platform="IOS"] .home-download__link:focus:before {
  display: none;
}
.home-platform[data-platform="Android"]
  .home-download__link:hover
  .home-download__qr,
.home-platform[data-platform="IOS"]
  .home-download__link:hover
  .home-download__qr,
.home-platform[data-platform="Android"]
  .home-download__link:focus
  .home-download__qr,
.home-platform[data-platform="IOS"]
  .home-download__link:focus
  .home-download__qr {
  display: block;
  visibility: visible;
}
.home-platform[data-platform="Android"] .home-download__link:hover,
.home-platform[data-platform="IOS"] .home-download__link:hover,
.home-platform[data-platform="Android"] .home-download__link:focus,
.home-platform[data-platform="IOS"] .home-download__link:focus {
  background-image: var(--platform-qr, url("/public/index/images/download-arrow.png"));
  background-size: 140px 140px;
  background-repeat: no-repeat;
  background-position: center;
  color: transparent;
}
.home-platform[data-platform="Android"] .home-download__link:hover > *,
.home-platform[data-platform="IOS"] .home-download__link:hover > *,
.home-platform[data-platform="Android"] .home-download__link:focus > *,
.home-platform[data-platform="IOS"] .home-download__link:focus > * {
  visibility: hidden;
}
.home-platform[data-platform="Android"]
  .home-download__link:hover
  > .home-download__qr,
.home-platform[data-platform="IOS"]
  .home-download__link:hover
  > .home-download__qr,
.home-platform[data-platform="Android"]
  .home-download__link:focus
  > .home-download__qr,
.home-platform[data-platform="IOS"]
  .home-download__link:focus
  > .home-download__qr {
  visibility: visible;
}
.home-download__qr {
  width: 140px !important;
  height: 140px !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.home-platform[data-platform="Android"] .home-download__link:hover,
.home-platform[data-platform="IOS"] .home-download__link:hover,
.home-platform[data-platform="Android"] .home-download__link:focus,
.home-platform[data-platform="IOS"] .home-download__link:focus {
  background-image: none;
}
.home-platform[data-platform="Android"]
  .home-download__link:hover
  > .home-download__qr,
.home-platform[data-platform="IOS"]
  .home-download__link:hover
  > .home-download__qr,
.home-platform[data-platform="Android"]
  .home-download__link:focus
  > .home-download__qr,
.home-platform[data-platform="IOS"]
  .home-download__link:focus
  > .home-download__qr {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
}
.home-platform[data-platform="HarmonyOS"] .home-download__link:before {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 18px;
  height: 18px;
  background: url("/public/index/images/platform-scan.png") center/contain
    no-repeat;
}
.home-platform[data-platform="HarmonyOS"] .home-download__link:hover:before,
.home-platform[data-platform="HarmonyOS"] .home-download__link:focus:before {
  display: none;
}
.home-platform[data-platform="HarmonyOS"] .home-download__link:hover,
.home-platform[data-platform="HarmonyOS"] .home-download__link:focus {
  background-image: none;
}
.home-platform[data-platform="HarmonyOS"]
  .home-download__link:hover
  .home-download__qr,
.home-platform[data-platform="HarmonyOS"]
  .home-download__link:focus
  .home-download__qr {
  display: block;
  visibility: visible;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.home-platform[data-platform="HarmonyOS"] .home-download__link:hover > * {
  visibility: hidden;
}
.home-platform[data-platform="HarmonyOS"]
  .home-download__link:hover
  > .home-download__qr {
  visibility: visible;
}
.home-platform:hover .home-download__link,
.home-platform:focus-within .home-download__link {
  color: var(--primary-color);
}
.home-platform:hover .home-download__version,
.home-platform:focus-within .home-download__version {
  color: var(--primary-color);
}

.home-download__item {
  display: inline-block;
  width: 10vw;
  height: 10vw;
  min-width: 160px;
  min-height: 160px;
}
/* .home-download__item{width:19%;max-width:220px} */

.home-download__link {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 28px 12px;
  border: 1px solid #fff;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.home-download__icon {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin: 0;
}
.home-download__version {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #555;
}
.home-slogans {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  position: absolute;
  right: 50px;
  bottom: 18px;
  left: 50px;
  padding-bottom: 18px;
  border-bottom: 1px solid #222;
}
.home-slogans img {
  max-width: 100%;
  height: auto;
}
.home-slogans img:last-child {
  justify-self: end;
}
.home-slogans img:first-child {
  justify-self: start;
}
/* .home-platform[data-platform="Android"] .home-download__link:hover,
.home-platform[data-platform="IOS"] .home-download__link:hover,
.home-platform[data-platform="Android"] .home-download__link:focus,
.home-platform[data-platform="IOS"] .home-download__link:focus {
  background-color: rgba(255, 255, 255, 0.6);
  background-image: var(--platform-qr, url("/public/index/images/download-arrow.png"));
  background-size: 140px 140px;
  background-repeat: no-repeat;
  background-position: center;
  color: transparent;
} */
.home-platform[data-platform="Android"] .home-download__link:hover > *,
.home-platform[data-platform="IOS"] .home-download__link:hover > *,
.home-platform[data-platform="Android"] .home-download__link:focus > *,
.home-platform[data-platform="IOS"] .home-download__link:focus > * {
  visibility: hidden;
}

.home-platform {
  position: relative;
}

.home-platform:hover .home-download__link,
.home-platform:focus-within .home-download__link {
  color: var(--primary-color);
}

/* width: 552px; */
.home-popover {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 100%;
  z-index: 30;
  min-height: 250px;
  margin: 0 0 22px -276px;
  padding: 28px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.16);
  text-align: left;
}

.home-popover:after {
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  background: #fff;
  content: "";
  transform: rotate(45deg);
}

.home-popover--visible {
  display: block;
}

.home-popover__left {
  float: left;
  width: 210px;
}

.home-popover__qr {
  display: block;
  width: 210px;
  height: 210px;
  object-fit: contain;
}

.home-popover__right {
  position: relative;
  min-height: 210px;
  margin-left: 232px;
  padding-top: 18px;
  overflow: hidden;
  text-align: left;
  min-width: 260px;
}

.home-popover__right--desktop {
  margin-left: 0;
  padding-left: 22px;
  min-width: 280px;
}

.home-popover__hello {
  position: relative;
  z-index: 2;
  display: block;
  width: 144px;
  height: auto;
  margin: 0 0 3px;
}

.home-popover__title {
  margin: 24px 0 8px;
  font-size: 28px;
}

.home-popover__title span {
  color: var(--primary-color);
}

.home-popover__desc {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #111;
  font-size: 13px;
  line-height: 1.25;
}

.home-popover__line {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 10px;
}

.home-popover__decoration {
  position: absolute;
  right: -18px;
  bottom: -12px;
  z-index: -1;
  width: 190px;
  height: 190px;
  object-fit: contain;
}

.home-popover__right .home-popover__title {
  position: relative;
  z-index: 2;
  margin: 10px 0 0;
  white-space: nowrap;
}

.home-popover__button {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 28px;
  border-radius: 99px;
  color: var(--primary-color) !important;
  border: 1px solid var(--primary-color);
  font-size: 18px;
}

.home-popover__button:hover {
  background: rgba(226, 50, 50, 0.6);
  color: #fff !important;
}

.home-download__link {
  font-size: 20px;
  font-weight: 600;
}

.home-download__link:hover,
.home-download__link:focus {
  color: var(--primary-color);
}

.home-download__icon {
  display: inline-block;
  margin-right: 5px;
  font-size: 28px !important;
  vertical-align: top;
}

.home-download__icon--windows {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.site-footer {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  text-align: center;
  background: #f8f9fb;
}

.site-footer p {
  margin: 0 8px;
  color: #4f5964;
  font-size: 14px;
}

.site-footer__main {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 84px;
}

.site-footer--home {
  position: relative;
  bottom: auto;
  padding: 72px 50px 16px;
  background: #edfaff;
  text-align: left;
}
.site-footer__column h2 {
  display: flex;
  align-items: center;
}
.site-footer__column h2:before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background: center/contain no-repeat;
}
.site-footer__column1 h2:before {
  background-image: url("/public/index/images/contact-email.svg");
}
.site-footer__column:nth-of-type(2) h2:before {
  background-image: url("/public/index/images/contact-support.svg");
}
.site-footer__column:nth-of-type(3) h2:before {
  background-image: url("/public/index/images/contact-documents.svg");
}

.site-footer__column2 a {
  line-height: 30px;
  margin-left: 26px;
}

.site-footer__docs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-left: 26px;
}

.site-footer__intro,
.site-footer__downloads,
.site-footer__column {
  display: table-cell;
  padding-right: 28px;
  vertical-align: top;
}

.site-footer__hotline,
.site-footer__email {
  /* display: flex; */
  font-size: 14px;
  margin-left: 26px;
}
.site-footer__email {
  margin-top: 26px;
}

.site-footer__intro img {
  width: 82px;
  height: auto;
  vertical-align: middle;
}

.site-footer__intro strong {
  margin-left: 12px;
  font-size: 20px;
  font-weight: 400;
}

.site-footer__intro p {
  display: block;
  margin: 28px 0 0;
  font-size: 16px;
}

.site-footer__downloads {
  margin-top: 38px;
}

.site-footer__download-card {
  display: inline-block;
  width: 145px;
  margin: 0 4px 14px 0;
  padding: 20px 18px;
  border: 2px solid #fff;
  border-radius: 14px;
  background: linear-gradient(#f3f6f9, #f0f2f7);
  box-shadow: 0 0 30px rgba(73, 73, 73, 0.1);
  text-align: center;
  vertical-align: top;
}

.site-footer__download_img_box {
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  flex: 1 1;
  height: 110px;
  margin-bottom: 50px;
}

.site-footer__download_img {
  width: 100%;
  height: 100%;
}

.site-footer__download-image {
  display: block;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 6px;
}

.site-footer__download-image--qr {
  width: 82px;
  height: 86px;
}

.site-footer__download-image--windows,
.site-footer__download-image--macos {
  width: 34px;
  height: 39px;
  margin-top: 23px;
}

.site-footer__dowload-title1,
.site-footer__dowload-title {
  font-size: 0.85vw;
  color: #505050;
}

.site-footer__dowload-title {
  cursor: pointer;
}

.site-footer__column {
  display: flex;
  flex-direction: column;
}

.site-footer__column h2 {
  margin: 0 0 26px;
  font-size: 16px;
  color: #000;
}
.site-footer__column h2:before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: -4px;
  background: center/contain no-repeat;
}
.site-footer__column1 h2:before {
  background-image: url("/public/index/images/contact-email.svg");
}
.site-footer__column:not(.site-footer__column1):nth-of-type(3) h2:before {
  background-image: url("/public/index/images/contact-support.svg");
}
.site-footer__column:not(.site-footer__column1):nth-of-type(4) h2:before {
  background-image: url("/public/index/images/contact-documents.svg");
}

.site-footer__column a {
  /* display: block; */
  color: #505050;
  font-size: 16px;
  text-decoration: none !important;
}

.site-footer__column a:hover {
  text-decoration: none;
}

.site-footer__records {
  color: #000;
  font-size: 14px;
  text-align: center;
}

.site-footer__record-line {
  min-height: 24px;
  line-height: 24px;
}

.site-footer__record {
  display: inline-flex;
  align-items: center;
  margin: 0;
  color: #000;
  vertical-align: middle;
}

.site-footer__record img {
  width: 18px;
  height: 20px;
  margin-right: 8px;
}

.site-footer__record-divider {
  display: inline-block;
  width: 1px;
  height: 14px;
  margin: 0 9px;
  background: #aaa;
  vertical-align: middle;
}

.site-footer__licenses a {
  display: inline;
  margin: 0;
  color: #000;
}

.site-footer a:hover,
.site-footer a:focus {
  text-decoration: underline;
}

.site-noscript {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  margin: 0;
  padding: 8px;
  color: #fff;
  background: #333;
  text-align: center;
}

/* 首页重要通知弹窗：进入首页调用 /v2/notice/top，有公告且当前 id 未读时展示。 */
.top-notice-mask {
  position: fixed;
  z-index: 1200;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
}

.top-notice-dialog {
  position: relative;
  width: 560px;
  max-width: 92vw;
}

.top-notice-close {
  position: absolute;
  z-index: 2;
  top: -18px;
  right: -18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #635f60;
  background: #f8eeef;
  font-size: 30px;
  cursor: pointer;
}

.top-notice-close:hover,
.top-notice-close:focus {
  color: #21c064;
}

.top-notice-card {
  min-height: 430px;
  padding: 30px 24px 24px;
  border-radius: 16px;
  background: #fff url("/public/index/images/dialog-backdrop.png") center top / cover
    no-repeat;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  box-sizing: border-box;
  overflow: hidden;
}

.top-notice-title {
  margin: 0 0 22px;
  color: #111;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.top-notice-content {
  max-height: min(52vh, 430px);
  padding: 22px 26px;
  border-radius: 10px;
  color: #111;
  background: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.65;
  overflow-y: auto;
  box-sizing: border-box;
  overflow-y: auto;
}

.top-notice-content p {
  margin: 0 0 18px;
}

.top-notice-content p:last-child {
  margin-bottom: 0;
}

.top-notice-confirm {
  display: block;
  width: 62%;
  height: 44px;
  margin: 22px auto 0;
  border: 0;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(318deg, #ff5252, #ff946a);
  font-size: 16px;
  cursor: pointer;
}

.top-notice-confirm:hover,
.top-notice-confirm:focus {
  filter: brightness(0.96);
}

@media (max-width: 1023px) {
  .site-nav__link {
    margin-right: 10px;
    margin-left: 10px;
  }

  .home-hero__title {
    padding-top: 7vh;
  }
}

@media (max-width: 1366px) {
  html.site-device--mobile .site-header,
  html.site-device--mobile .site-header__inner {
    height: 56px;
  }

  html.site-device--mobile .site-header__inner {
    width: 100%;
    padding: 0 16px;
  }

  html.site-device--mobile .site-header__brand {
    height: 56px;
    padding-top: 8px;
  }

  html.site-device--mobile .site-header__brand img {
    height: 40px;
  }

  html.site-device--mobile .site-header__toggle {
    float: right;
    display: block;
    margin-top: 12px;
    padding: 6px 10px;
    border: 1px solid #bcc7cf;
    border-radius: 4px;
    background: #fff;
  }

  html.site-device--mobile .site-nav {
    position: absolute;
    top: 56px;
    right: 0;
    left: 0;
    display: none;
    height: auto;
    padding: 8px 16px 14px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
    text-align: left;
  }

  html.site-device--mobile .site-nav--open {
    display: block;
  }

  html.site-device--mobile .site-nav__link {
    display: block;
    height: 42px;
    margin: 0;
    padding: 11px 4px 0;
  }

  html.site-device--mobile .site-locale {
    float: none;
    position: absolute;
    top: 17px;
    right: 84px;
    padding: 0;
  }

  html.site-device--mobile .home-hero {
    min-height: 100vh;
    padding: 8vh 18px 176px;
  }

  html.site-device--mobile .home-hero__title {
    width: 74vw;
    min-width: 0;
    max-width: 360px;
    margin-top: 0;
    padding-top: 0;
  }

  html.site-device--mobile .home-download {
    right: 16px;
    bottom: 76px;
    left: 16px;
  }

  html.site-device--mobile .home-download__list {
    padding: 14px 8px;
    border-radius: 22px;
  }

  html.site-device--mobile .home-download__item {
    width: 48%;
    padding: 8px 0;
  }

  html.site-device--mobile .home-download__link {
    font-size: 15px;
  }

  html.site-device--mobile .home-popover {
    width: calc(100vw - 32px);
    margin-left: calc((32px - 100vw) / 2);
    padding: 18px;
  }

  html.site-device--mobile .home-popover__left {
    width: 120px;
  }

  html.site-device--mobile .home-popover__qr {
    width: 120px;
    height: 120px;
  }

  html.site-device--mobile .home-popover__right {
    min-height: 140px;
    margin-left: 134px;
    padding-top: 4px;
  }

  html.site-device--mobile .home-popover__title {
    margin-top: 14px;
    font-size: 18px;
  }

  html.site-device--mobile .site-footer--home {
    padding: 36px 18px 18px;
  }

  html.site-device--mobile .site-footer__main {
    display: block;
  }

  html.site-device--mobile .site-footer__intro,
  html.site-device--mobile .site-footer__downloads,
  html.site-device--mobile .site-footer__column {
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: 28px;
  }

  html.site-device--mobile .site-footer__records {
    line-height: 1.8;
  }

  html.site-device--mobile .top-notice-mask {
    padding: 18px 0;
  }

  html.site-device--mobile .top-notice-dialog {
    width: 80vw;
    max-width: 360px;
  }

  html.site-device--mobile .top-notice-close {
    top: -17px;
    right: -17px;
    width: 34px;
    height: 34px;
    font-size: 28px;
  }

  html.site-device--mobile .top-notice-card {
    min-height: 0;
    padding: 24px 16px 18px;
    border-radius: 8px;
  }

  html.site-device--mobile .top-notice-title {
    margin-bottom: 18px;
    font-size: 20px;
  }

  html.site-device--mobile .top-notice-content {
    max-height: calc((var(--mobile-vh, 1vh) * 100) - 290px);
    padding: 18px 18px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.55;
  }

  html.site-device--mobile .top-notice-content p {
    margin-bottom: 16px;
  }

  html.site-device--mobile .top-notice-confirm {
    width: 76%;
    height: 40px;
    margin-top: 16px;
    font-size: 15px;
  }
}
/* 2K屏幕 */
@media (min-width: 2048px) {
  .home-hero__title {
    padding-top: 20vh;
    max-width: 24vw;
  }
}
/* 4K */
@media (min-width: 3840px) {
  .home-hero__title {
    padding-top: 9vh;
    max-width: 22vw;
  }
}

@media (min-width: 768px) and (max-width: 1366px) {
  html.site-device--mobile .mobile-hero__download {
    right: 12vw;
    left: 12vw;
  }
}

@media (max-height: 700px) {
  html.site-device--mobile .mobile-hero {
    --mobile-hero-content-gap: 14px;
    --mobile-title-focus-y: 38%;
  }
}

@media (min-height: 850px) {
  html.site-device--mobile .mobile-hero {
    --mobile-title-focus-y: 39%;
  }
}

@media (min-width: 1920px) {
  /* .home-download__list {
    max-width: 1120px;
  } */
}

@media (prefers-reduced-motion: reduce) {
  .site * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* 已有本地安装包的卡片直接下载，不再在悬停/键盘焦点时切换成二维码。 */
.home-platform.home-platform--direct .home-download__link::before,
.home-platform.home-platform--direct .home-download__link .home-download__qr {
  display: none !important;
}
.home-platform.home-platform--direct .home-download__link:hover,
.home-platform.home-platform--direct .home-download__link:focus {
  background-image: none;
  color: var(--primary-color);
  cursor: pointer;
}
.home-platform.home-platform--direct .home-download__link:hover > *,
.home-platform.home-platform--direct .home-download__link:focus > * {
  visibility: visible;
}
.site-footer__download-card[role="button"] {
  cursor: pointer;
}
