.gxs-brand-header {
  --gxs-header-bone: #faf8ff;
  --gxs-header-ink: #29294b;
  --gxs-header-soft: #56566f;
  --gxs-header-line: #e9e8ff;
  --gxs-header-red: #dc4b57;
  --gxs-header-gradient: linear-gradient(90deg, #3572df, #775fa9 58%, #dc4b57);
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  height: 64px;
  min-width: 0;
  border-bottom: 1px solid var(--gxs-header-line);
  background: rgba(250, 248, 255, .93);
  color: var(--gxs-header-ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  backdrop-filter: blur(14px);
}

.gxs-brand-header,
.gxs-brand-header * { box-sizing: border-box; }

.gxs-brand-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--gxs-header-gradient);
}

.gxs-brand-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100% - 48px));
  height: 64px;
  margin-inline: auto;
}

.gxs-brand-header a {
  color: inherit;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent;
}

.gxs-brand-header a:focus-visible {
  outline: 3px solid rgba(220, 75, 87, .5);
  outline-offset: 3px;
}

.gxs-brand-header__brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 44px;
}

.gxs-brand-header__logo {
  display: block;
  width: 148px;
  height: 48px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.gxs-brand-header__nav {
  display: flex;
  align-self: stretch;
  gap: 24px;
  color: var(--gxs-header-soft);
  font-size: 12px;
}

.gxs-brand-header__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.gxs-brand-header__link:hover { color: var(--gxs-header-ink); }

.gxs-brand-header__link.is-active {
  border-bottom-color: var(--gxs-header-red);
  color: var(--gxs-header-red);
  font-weight: 800;
}

.gxs-brand-header__end { justify-self: end; }

.gxs-brand-header__account {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--gxs-header-red) !important;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.gxs-brand-header__account.is-active { text-decoration: underline !important; text-underline-offset: 6px; }

@media (max-width: 640px) {
  .gxs-brand-header { height: 66px; }

  .gxs-brand-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    width: calc(100% - 32px);
    height: 66px;
  }

  .gxs-brand-header__nav { display: none; }
  .gxs-brand-header__logo { width: 126px; height: 42px; }
  .gxs-brand-header__brand,
  .gxs-brand-header__account { min-height: 44px; }
}
