/**
 * UE 风格首页导航（白底，对标 unrealengine.com）
 */
body.ue-spotlight-page .ac-site-header {
  background: #fff;
}

body.ue-spotlight-page .ecosystem-bar {
  display: none;
}

body.ue-spotlight-page #site-navbar,
body.ue-spotlight-page #site-navbar.navbar {
  background: #fff !important;
  border-bottom: 1px solid #eef2f7 !important;
  box-shadow: none !important;
}

body.ue-spotlight-page .nav-brand-group {
  flex-shrink: 0;
}

body.ue-spotlight-page .ac-epic-menu-trigger img {
  width: 26px;
  height: 26px;
}

body.ue-spotlight-page #site-navbar .container {
  max-width: 1440px;
  height: 56px !important;
  min-height: 56px !important;
  gap: 16px !important;
}

body.ue-spotlight-page .nav-brand-text small {
  display: none;
}

body.ue-spotlight-page .nav-brand-text strong {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0b1220;
}

body.ue-spotlight-page .nav-brand-mark {
  width: 28px;
  height: 28px;
}

body.ue-spotlight-page .nav-menu {
  flex: 1;
  justify-content: center;
  gap: 4px;
}

body.ue-spotlight-page .nav-menu a {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #334155 !important;
  padding: 8px 12px !important;
  border-radius: 6px;
}

body.ue-spotlight-page .nav-menu a:hover,
body.ue-spotlight-page .nav-menu a.active {
  color: #0b1220 !important;
  background: #f3f4f6;
}

body.ue-spotlight-page .ac-nav-search {
  flex-shrink: 0;
}

body.ue-spotlight-page .ac-nav-search-box {
  width: min(220px, 28vw) !important;
  height: 36px !important;
  border-radius: 999px !important;
  background: #f3f4f6 !important;
  border: 1px solid #e5e7eb !important;
}

body.ue-spotlight-page .ac-nav-search-input {
  font-size: 13px !important;
}

body.ue-spotlight-page .ac-nav-search-ai {
  font-size: 10px !important;
  opacity: 0.55;
}

body.ue-spotlight-page .nav-user {
  gap: 8px;
}

body.ue-spotlight-page .nav-cta-console {
  display: none;
}

body.ue-spotlight-page .nav-login-btn,
body.ue-spotlight-page .nav-register-btn {
  background: transparent !important;
  border: none !important;
  color: #334155 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 8px 12px !important;
  box-shadow: none !important;
}

body.ue-spotlight-page .nav-register-btn {
  display: none;
}

body.ue-spotlight-page .nav-cta-download {
  min-height: 36px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  background: #0052d9 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

body.ue-spotlight-page .nav-cta-download:hover {
  background: #0046c0 !important;
}

body.ue-spotlight-page .ac-lang-switcher-btn {
  border: none !important;
  background: transparent !important;
  padding: 6px !important;
}

@media (max-width: 960px) {
  body.ue-spotlight-page #site-navbar .container {
    height: auto !important;
    min-height: 0 !important;
  }
  body.ue-spotlight-page .nav-menu {
    justify-content: flex-start;
  }
}
