/* 四个官网入口共用的顶部导航。 */
.public-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  height: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .86);
  font-family: MiSans, "PingFang SC", sans-serif;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.public-site-header--fixed { position: fixed; right: 0; left: 0; }
.public-site-header__shell { width: 100%; height: 100%; }
.public-site-header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  padding: 0 clamp(16px, 2.6vw, 32px);
}
.public-site-header__brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  color: #f5f2ed;
}
.public-site-header__brand img,
.public-site-header__brand svg {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255, 114, 16, .28));
}
.public-site-header__links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto 0 14px;
}
.public-site-header__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  color: #c4bdb4;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .01em;
  text-decoration: none;
  transition: color .2s, background-color .2s;
}
.public-site-header__links a:hover,
.public-site-header__links a:focus-visible {
  color: #f5f2ed;
  background: rgba(255, 255, 255, .06);
}
.public-site-header__links a[aria-current="page"] { color: #f5f2ed; }
.public-site-header__links a[aria-current="page"]::after {
  position: absolute;
  right: 12px;
  bottom: 4px;
  left: 12px;
  height: 1px;
  background: #ff7210;
  box-shadow: 0 0 8px rgba(255, 114, 16, .3);
  content: "";
}
.public-site-header__trial {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  border: 1px solid #ff7210;
  border-radius: 8px;
  background: #ff7210;
  color: #fffaf4;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
}
.public-site-header__trial:hover { background: #ff812c; }

@media (max-width: 720px) {
  .public-site-header__inner { gap: 8px; padding: 0 12px; }
  .public-site-header__brand { display: none; }
  .public-site-header__links { margin-left: 0; }
  .public-site-header__links a { padding: 0 7px; font-size: 12px; }
  .public-site-header__trial { height: 32px; padding: 0 10px; font-size: 12px; }
}
