html.is-wechat-browser {
  overflow: hidden;
}

html.is-wechat-browser body {
  min-height: 100vh;
  overflow: hidden;
  background: #f4f7fc;
}

html.is-wechat-browser body > :not(.wechat-browser-gate) {
  display: none !important;
}

.wechat-browser-gate {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  display: grid !important;
  overflow: auto;
  place-items: center;
  padding: 24px 16px;
  background: rgba(244, 247, 252, .97);
  color: #121722;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.wechat-browser-gate-card {
  position: relative;
  width: min(440px, 100%);
  border: 1px solid #d7e3f5;
  border-radius: 18px;
  padding: 42px 24px 24px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(26, 56, 102, .16);
  text-align: center;
}

.wechat-browser-gate-arrow {
  position: fixed;
  z-index: 1;
  top: 7px;
  right: 18px;
  color: #1769e0;
  font-size: 55px;
  font-weight: 800;
  line-height: 1;
  transform: rotate(-16deg);
  animation: wechat-gate-arrow-pulse 1.1s ease-in-out infinite;
}

@keyframes wechat-gate-arrow-pulse {
  0%, 100% { transform: translate(0, 0) rotate(-16deg); }
  50% { transform: translate(5px, -5px) rotate(-16deg); }
}

.wechat-browser-gate-badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 10px;
  color: #155bbd;
  background: #eaf3ff;
  font-size: 11px;
  font-weight: 800;
}

.wechat-browser-gate h1 {
  margin: 16px 0 10px;
  font-size: 25px;
  line-height: 1.28;
}

.wechat-browser-gate p {
  margin: 0;
  color: #5d6c81;
  font-size: 14px;
  line-height: 1.75;
  text-align: left;
}

.wechat-browser-gate-steps {
  display: grid;
  gap: 10px;
  margin: 22px 0 18px;
  text-align: left;
}

.wechat-browser-gate-steps > div {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #e0e8f3;
  border-radius: 11px;
  padding: 12px 13px;
  color: #26364c;
  background: #f8fbff;
  font-size: 14px;
  font-weight: 700;
}

.wechat-browser-gate-steps strong {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #1769e0;
  font-size: 12px;
}

.wechat-browser-gate-copy {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: #1769e0;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.wechat-browser-gate-copy:hover {
  background: #0f54bd;
}

.wechat-browser-gate small {
  display: block;
  margin-top: 12px;
  color: #79879a;
  font-size: 11px;
  line-height: 1.6;
}

@media (max-width: 480px) {
  .wechat-browser-gate {
    align-items: start;
    padding-top: 54px;
  }

  .wechat-browser-gate-card {
    padding: 40px 18px 21px;
  }

  .wechat-browser-gate h1 {
    font-size: 23px;
  }
}
