@font-face {
  font-family: "Studio Smiley Sans";
  src: url("/fonts/smiley-sans-v2.0.1.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

body > .site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 7px clamp(14px, 2vw, 32px);
  gap: 8px clamp(15px, 1.6vw, 26px);
  border: 0;
  background: #fff;
  color: #17191e;
  font: 400 14px/1.35 "Studio Smiley Sans", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

.site-header a { color: inherit; text-decoration: none; }

body > .site-header > .brand {
  display: grid;
  justify-items: center;
  font: inherit;
  flex: none;
  gap: 0;
}

body > .site-header .brand-logo {
  display: block;
  width: clamp(136px, 12vw, 188px);
  height: auto;
  aspect-ratio: 3;
  object-fit: contain;
}

body > .site-header .studio-brand-name {
  font: inherit;
  font-size: 10px;
  white-space: nowrap;
  color: #676d76;
}

body > .site-header > nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  order: 0;
  width: auto;
  min-width: 0;
  gap: clamp(12px, 1.25vw, 20px);
  margin: 0;
  padding: 0;
  font: inherit;
}

body > .site-header > nav > a {
  display: block;
  position: relative;
  flex: none;
  padding: 8px 0;
  color: inherit;
  white-space: nowrap;
  font: inherit;
}

body > .site-header > nav > a[aria-current="page"] {
  color: #1854ff;
  box-shadow: inset 0 -2px #1854ff;
}

body > .site-header > nav > a[aria-current="page"]::after { content: none; }

body > .site-header > .site-account {
  margin-left: auto;
  font: inherit;
}

body > .site-header .site-account .nav-cta:not([hidden]) {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0;
  padding: 5px clamp(8px, 1vw, 15px);
  border: 1px solid #e8ebef;
  border-radius: 999px;
  font: inherit;
  white-space: nowrap;
}

@media (max-width: 960px) {
  body > .site-header { flex-wrap: wrap; }
  body > .site-header > nav {
    order: 3;
    flex: 0 0 100%;
    overflow-x: auto;
  }
  body > .site-header > nav > a { padding: 6px 0; }
}

@media (max-width: 420px) {
  body > .site-header { padding-inline: 10px; column-gap: 8px; font-size: 13px; }
  body > .site-header .brand-logo { width: 124px; }
  body > .site-header .studio-brand-name { font-size: 9px; }
}
