.wanwu-a {
  --pilot-auth-height: 228px;
}

.wanwu-a .wa-screen { scroll-snap-stop: always; }

.wanwu-a .pilot-account {
  position: relative;
  display: flex;
  align-items: center;
  flex: none;
}

.wanwu-a .pilot-login {
  min-width: 76px;
  min-height: 40px;
  border: 0;
  padding: 0 8px;
  color: #f2c89f;
  background: transparent;
  font-weight: 650;
}

.wanwu-a .pilot-identity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  max-width: 170px;
  padding: 4px 11px 4px 7px;
  border: 1px solid #f4d4c128;
  border-radius: 3px;
  color: #f6ebe9;
  background: #2e2428af;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.wanwu-a .pilot-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff0e9;
  background: #6c434d;
}

.wanwu-a .pilot-name { overflow: hidden; text-overflow: ellipsis; }

.wanwu-a .pilot-auth {
  position: absolute;
  top: 50px;
  right: 0;
  z-index: 1;
  width: min(268px, calc(100vw - 2 * var(--wa-gutter)));
  height: var(--pilot-auth-height);
  border: 0;
  background: transparent;
}

.wanwu-a .pilot-auth-frame {
  display: block;
  color-scheme: dark;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

.wanwu-a .pilot-auth-error {
  padding: 10px 13px;
  color: #f6efec;
  text-shadow: 0 1px 3px #0d0a0c, 0 0 7px #080709;
}

.wanwu-a :is(.pilot-retry, .pilot-logout button) {
  padding: 8px 0;
  border: 0;
  color: #f4c497;
  background: transparent;
  font-size: 12px;
}

.wanwu-a .pilot-logout { margin: 0; }
:root:has(body.pilot-complete) { color-scheme: dark; }
.pilot-complete { margin: 0; background: transparent; }

@media (min-width: 1100px) {
  .wanwu-a .wa-hero { padding-block: 78px 90px; }
  .wanwu-a .wa-header { gap: 22px; }
  .wanwu-a .wa-lead h1 { font-size: 88px; letter-spacing: -.059em; }
  .wanwu-a .wa-baseline { bottom: 24px; }
  .wanwu-a .wa-utilities { gap: 12px; }
  .wanwu-a .wa-links { gap: 0 29px; }
  .wanwu-a .wa-links a { font-size: 14px; }
  .wanwu-a .wa-products {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 31px 36px;
    background: #101014;
  }
  .wanwu-a .wa-products h2 { font-size: 31px; letter-spacing: -.034em; }
  .wanwu-a .wa-product-grid { gap: 15px; margin-top: 16px; }
  .wanwu-a .wa-product { min-height: 185px; padding: 20px 24px; }
  .wanwu-a .wa-product h3 { font-size: 26px; }
  .wanwu-a .wa-product p { max-width: 520px; margin-top: 6px; }
  .wanwu-a .wa-product-action {
    min-height: 37px;
    margin-top: 15px;
    gap: 8px;
    padding-inline: 11px;
    border-color: #d59e7940;
    background: #4b32384d;
  }
  .wanwu-a .wa-product-action span { color: #e8b179; }
  .wanwu-a :is(.wa-data-art, .wa-hub-art) { right: 10px; }
  .wanwu-a .wa-data-art { bottom: -12px; }
}

@media (max-width: 810px) {
  .wanwu-a .pilot-login { min-width: 42px; }
  .wanwu-a .pilot-identity { max-width: 120px; }
}

@media (pointer: coarse) {
  .wanwu-a { --pilot-auth-height: 264px; }
}

@media (max-width: 690px) {
  .wanwu-a .pilot-account { position: static; }
  .wanwu-a .pilot-auth { top: 64px; right: var(--wa-gutter); }
}

@media (max-width: 550px) and (max-height: 755px) {
  .wanwu-a .wa-hero:has(.pilot-auth:not([hidden])) {
    align-items: flex-start;
    padding-block: calc(64px + var(--pilot-auth-height) + 12px) 62px;
  }
}

@media (max-width: 370px) and (max-height: 680px) {
  html[lang="en"] .wanwu-a .wa-hero:has(.pilot-auth:not([hidden])) .wa-lead h1 {
    font-size: 30px;
  }
}

@media (max-width: 460px) {
  .wanwu-a .pilot-identity { max-width: min(120px, calc(100vw - 228px)); }
}

.wanwu-a .wa-hero .wa-motion { display: none; }
