.go-site-header,
.go-site-header * {
  box-sizing: border-box;
}

.go-site-header {
  --go-header-shell: min(1180px, calc(100vw - 48px));
  --go-header-text: #f5f5f5;
  --go-header-muted: #96999e;
  position: fixed;
  inset: 0 0 auto;
  z-index: 10003;
  height: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 9, 10, 0.9);
  color: var(--go-header-text);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.go-site-header a,
.go-site-header a:hover {
  text-decoration: none;
}

.go-site-shell {
  width: var(--go-header-shell);
  margin-inline: auto;
}

.go-site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.go-site-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--go-header-text) !important;
  font-size: 15px;
  letter-spacing: 0.12em;
}

.go-site-brand-mark {
  position: relative;
  width: 26px;
  height: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
}

.go-site-brand-mark::before,
.go-site-brand-mark::after {
  content: "";
  position: absolute;
  top: 5px;
  width: 4px;
  height: 16px;
  border-radius: 4px;
  background: #fff;
  transform: skew(-15deg);
}

.go-site-brand-mark::before { left: 7px; }
.go-site-brand-mark::after { left: 15px; opacity: 0.5; }

.go-site-links {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 28px;
  color: var(--go-header-muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.go-site-links a {
  color: inherit !important;
  white-space: nowrap;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.go-site-links a:hover,
.go-site-links a[aria-current="page"] {
  color: #fff !important;
}

.go-site-purchase {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #e9e9e9 !important;
}

.go-site-account {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  color: #e9e9e9 !important;
}

.go-site-avatar {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1);
}

.go-site-account-name {
  white-space: nowrap;
}

body.admin-bar .go-site-header { top: 32px; }

@media (max-width: 760px) {
  .go-site-header {
    --go-header-shell: calc(100vw - 24px);
    height: 58px;
  }

  .go-site-nav { gap: 12px; }

  .go-site-links {
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .go-site-links::-webkit-scrollbar { display: none; }
}

@media (max-width: 782px) {
  body.admin-bar .go-site-header { top: 46px; }
}

@media (max-width: 480px) {
  .go-site-brand > span:last-child { display: none; }
}
