.site-header {
  --site-header-bg-opacity: 0;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: calc(108 / var(--design-width) * 100vw);
  min-height: 90px;
  background: rgb(5 6 7 / var(--site-header-bg-opacity));
  pointer-events: none;
  transition: background-color 0.12s linear;
  will-change: background;
}

.site-header__inner {
  position: relative;
  width: 100%;
  max-width: var(--page-max-width);
  height: 100%;
  margin-inline: auto;
  pointer-events: auto;
}

.site-header__brand {
  position: absolute;
  top: calc(31 / var(--design-width) * 100vw);
  left: calc(40 / var(--design-width) * 100vw);
  display: block;
  width: calc(209 / var(--design-width) * 100vw);
  min-width: 174px;
  height: calc(46 / var(--design-width) * 100vw);
  min-height: 38px;
}

.site-header__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.site-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(54 / var(--design-width) * 100vw);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: #ffffff;
  font-size: calc(16 / var(--design-width) * 100vw);
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__link.is-active {
  color: var(--color-primary);
}

.site-nav__link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

/* 公共毛玻璃内容面板：页面私有样式只负责尺寸、位置和圆角。 */
.site-glass-panel {
  --glass-panel-bg:
    linear-gradient(180deg, rgb(18 20 31 / 42%) 0%, rgb(5 6 7 / 46%) 36%, rgb(5 6 7 / 38%) 100%),
    rgb(5 6 7 / 24%);
  --glass-panel-fallback-bg:
    linear-gradient(180deg, rgb(12 14 21 / 76%) 0%, rgb(5 6 7 / 70%) 100%),
    #050607;
  --glass-panel-border-color: rgb(255 255 255 / 22%);
  --glass-panel-inner-border-color: rgb(255 255 255 / 7%);

  background: var(--glass-panel-bg);
  background-clip: padding-box;
  border-color: var(--glass-panel-border-color);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 12%),
    inset 0 0 48px rgb(255 255 255 / 3%),
    0 -28px 80px rgb(58 164 255 / 8%);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}

.site-glass-panel::after {
  position: absolute;
  top: 0;
  right: 4%;
  left: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgb(122 118 255 / 44%) 18%, rgb(255 255 255 / 24%) 50%, rgb(255 96 206 / 22%) 82%, transparent 100%);
  pointer-events: none;
  content: "";
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-glass-panel {
    background: var(--glass-panel-fallback-bg);
  }
}

@media (min-width: 1921px) {
  .site-header {
    height: 144px;
  }

  .site-header__brand {
    top: 41.3333px;
    left: 53.3333px;
    width: 278.6667px;
    height: 61.3333px;
  }

  .site-nav__list {
    gap: 72px;
  }

  .site-nav__link {
    font-size: 21.3333px;
  }
}

@media (max-width: 1199px) {
  .site-header {
    height: 72px;
    min-height: 72px;
  }

  .site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 20px;
  }

  .site-header__brand {
    position: static;
    width: 150px;
    min-width: 150px;
    height: 33px;
    min-height: 33px;
  }

  .site-nav {
    justify-content: flex-end;
    overflow-x: auto;
    padding-left: 16px;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav__list {
    justify-content: flex-start;
    gap: 20px;
  }

  .site-nav__link {
    font-size: 14px;
  }
}
