.header.brand-site-header {
  --site-header-height: 80px;
  position: relative;
  box-sizing: border-box;
  z-index: 20;
  height: var(--site-header-height);
  background: #fffffff0;
  border-bottom: 1px solid #e6ebf180;
  box-shadow: none;
  backdrop-filter: blur(12px);
  font-family: "Microsoft YaHei", "Segoe UI", sans-serif;
}

.brand-site-header > .container {
  position: static;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(1200px, calc(100% - 80px));
  height: 100%;
  margin-inline: auto;
  padding: 0;
  background: none;
}

.brand-site-header .logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

.brand-site-header .nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-inline: auto;
  font-size: 14px;
  white-space: nowrap;
}

.brand-site-header .nav a {
  color: #425466;
  line-height: var(--site-header-height);
}

.brand-site-header .nav a:hover,
.brand-site-header .nav a:focus-visible,
.brand-site-header .nav a[aria-current] {
  color: #635bff;
}

.brand-site-header .account {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.brand-site-header .account .btn {
  padding: 8px 12px;
  border-radius: 4px;
  background: #635bff;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
}

.brand-site-header .account a {
  box-sizing: border-box;
}

.brand-site-header .menu {
  display: none;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e6ebf1;
  border-radius: 4px;
  background: #fff;
  color: #0a2540;
}

.brand-site-header .menu .icon {
  display: block;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.brand-site-header .menu[aria-expanded="false"] .menu-close,
.brand-site-header .menu[aria-expanded="true"] .menu-open {
  display: none;
}

@media (max-width: 1100px) {
  .brand-site-header > .container {
    width: calc(100% - 56px);
  }
}

@media (max-width: 970px) {
  .brand-site-header ~ .main-container {
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .header.brand-site-header {
    --site-header-height: 74px;
  }

  .brand-site-header > .container {
    gap: 16px;
  }

  .brand-site-header .account {
    margin-left: auto;
  }

  .brand-site-header .menu {
    display: flex;
  }

  .brand-site-header .nav {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    max-height: calc(100dvh - var(--site-header-height));
    padding: 18px 28px;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid #e6ebf1;
    box-shadow: 0 15px 25px #0a254018;
  }

  .brand-site-header .nav.open {
    display: flex;
  }

  .brand-site-header .nav a {
    padding: 9px 0;
    line-height: 2;
  }
}

@media (max-width: 600px) {
  .brand-site-header > .container {
    width: calc(100% - 40px);
    gap: 12px;
  }

  .brand-site-header .menu {
    width: 33px;
    height: 33px;
    flex-basis: 33px;
  }

  .brand-site-header .nav {
    padding: 17px 20px;
  }

  .brand-site-header .account .plain {
    display: none;
  }
}
