:root {
  --tw-header-bg: #0b1020;
  --tw-header-fg: #ffffff;
  --tw-header-muted: #c7d2fe;
  --tw-header-accent: #7c3aed;
}

.tw-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  color: var(--tw-header-fg);
  background: linear-gradient(100deg, var(--tw-header-bg), #161a36 58%, #241247);
  box-shadow: 0 2px 18px rgba(11, 16, 32, .28);
}

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

.tw-site-header a {
  text-decoration: none;
}

.tw-site-header__inner {
  width: 100%;
  max-width: 1180px;
  min-height: 58px;
  margin: 0 auto;
  padding: 0 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.tw-site-header__brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 850;
  white-space: nowrap;
}

.tw-site-header__mark {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  background: conic-gradient(from 205deg, #7c3aed, #06b6d4, #10b981, #f59e0b, #7c3aed);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14);
}

.tw-site-header__brand b {
  color: #a5f3fc;
}

.tw-site-header__nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.tw-site-header__nav::-webkit-scrollbar {
  display: none;
}

.tw-site-header__link {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 9px;
  color: var(--tw-header-muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
}

.tw-site-header__link:hover,
.tw-site-header__link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  outline: none;
}

.tw-site-header__link[aria-current="page"] {
  color: #fff;
  background: rgba(124, 58, 237, .48);
}

.tw-site-header__context {
  margin-left: 5px;
  padding-left: 13px;
  border-left: 1px solid rgba(255, 255, 255, .2);
}

.tw-site-header__account {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(90deg, #7c3aed, #0891b2);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.tw-site-header__account:hover,
.tw-site-header__account:focus-visible {
  filter: brightness(1.1);
  outline: 2px solid rgba(165, 243, 252, .65);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .tw-site-header__inner {
    min-height: 52px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 10px;
    padding: 6px 12px 7px;
  }

  .tw-site-header__brand {
    overflow: hidden;
    font-size: 16px;
  }

  .tw-site-header__mark {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .tw-site-header__account {
    max-width: 124px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .tw-site-header__nav {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: flex-start;
    padding: 1px 0;
  }

  .tw-site-header__link {
    padding: 7px 10px;
    font-size: 12.5px;
  }
}

@media (max-width: 380px) {
  .tw-site-header__brand-name {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .tw-site-header__account {
    max-width: 106px;
  }
}
