:root {
  --bn-header-height: 78px;
  --bn-page-width: min(1180px, calc(100% - 32px));
}

html {
  scroll-padding-top: calc(var(--bn-header-height) + 24px);
}

body {
  padding-top: var(--bn-header-height);
}

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

.bn-site-header [hidden],
.bn-search-overlay[hidden] {
  display: none !important;
}

.bn-site-header {
  position: fixed;
  z-index: 1400;
  inset: 0 0 auto;
  height: var(--bn-header-height);
  color: #f7f2e8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  border-bottom: 1px solid #ffffff1a;
  background: #132018ee;
  box-shadow: 0 10px 32px #07100a38;
  backdrop-filter: blur(18px);
}

.bn-site-header button,
.bn-site-header input {
  font: inherit;
}

.bn-site-header button {
  margin: 0;
  border: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
  transform: none;
  cursor: pointer;
}

.bn-site-header button:hover,
.bn-site-header button:active {
  background: transparent;
  box-shadow: none;
  transform: none;
}

.bn-header-shell {
  display: flex;
  align-items: center;
  gap: 24px;
  width: var(--bn-page-width);
  height: 100%;
  margin: auto;
}

.bn-brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 11px;
  color: #f7f2e8;
  font-family: Georgia, serif;
  font-size: 1.42rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.bn-brand-mark {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
  filter: drop-shadow(0 5px 9px #0006);
}

.bn-desktop-tabs {
  display: flex;
  align-self: stretch;
}

.bn-tab-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  color: #aebdad;
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none;
}

.bn-tab-link:after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 0;
  left: 8px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #e8b858;
  opacity: 0;
  transform: scaleX(.45);
}

.bn-tab-link.active {
  color: #fff;
}

.bn-tab-link.active:after {
  opacity: 1;
  transform: scaleX(1);
}

.bn-game-search {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  width: min(430px, 38vw);
  margin-left: auto;
  border: 1px solid #ffffff24;
  border-radius: 14px;
  background: #ffffff0d;
}

.bn-search-icon {
  width: 20px;
  height: 20px;
  margin-left: 14px;
  fill: none;
  stroke: #aebdad;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.bn-search-input {
  width: 100%;
  height: 44px;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 10px;
  background: transparent;
  color: #fff;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

.bn-search-input::-webkit-search-cancel-button {
  display: none;
}

.bn-search-input::placeholder {
  color: #8f9f90;
}

.bn-game-search:focus-within {
  border-color: #e8b858aa;
  background: #ffffff12;
  box-shadow: 0 0 0 3px #e8b85818;
}

.bn-game-search:focus-within .bn-search-icon {
  stroke: #e8b858;
}

.bn-search-clear,
.bn-mobile-search-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  margin-right: 4px !important;
  border-radius: 10px !important;
}

.bn-search-clear:hover,
.bn-mobile-search-close:hover {
  background: #ffffff12 !important;
}

.bn-search-clear svg,
.bn-mobile-search-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.bn-mobile-search-close {
  display: none;
}

.bn-search-results {
  position: absolute;
  z-index: 1430;
  top: calc(100% + 10px);
  right: 0;
  left: 0;
  overflow: hidden;
  border: 1px solid #ffffff1f;
  border-radius: 16px;
  background: #f7f2e8;
  color: #253126;
  box-shadow: 0 20px 50px #0008;
}

.bn-search-list {
  display: grid;
  padding: 7px;
}

.bn-search-result {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 9px;
  border-radius: 11px;
  color: #253126;
  text-decoration: none;
}

.bn-search-result:hover,
.bn-search-result:focus-visible {
  outline: none;
  background: #e8e4d8;
}

.bn-search-result img {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
}

.bn-search-result-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.bn-search-result-title {
  font-weight: 850;
}

.bn-search-result-description {
  overflow: hidden;
  color: #718071;
  font-size: .76rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bn-search-result-status {
  color: #3f7247;
  font-size: .7rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.bn-search-empty {
  margin: 0;
  padding: 17px;
  color: #718071;
  font-size: .86rem;
  text-align: center;
}

.bn-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bn-language-menu,
.bn-mobile-language {
  position: relative;
}

.bn-icon-button,
.bn-menu-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px !important;
  color: #d8e1d7 !important;
}

.bn-icon-button:hover,
.bn-menu-toggle:hover {
  background: #ffffff12 !important;
}

.bn-icon-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.bn-language-dropdown {
  position: absolute;
  z-index: 1440;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: 190px;
  padding: 7px;
  border: 1px solid #ffffff1f;
  border-radius: 14px;
  background: #f7f2e8;
  color: #253126;
  box-shadow: 0 18px 42px #0007;
}

.bn-language-option {
  display: grid !important;
  grid-template-columns: 34px 1fr 18px;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 9px !important;
  border-radius: 9px !important;
  color: #253126 !important;
  text-align: left;
}

.bn-language-option:hover,
.bn-language-option:focus-visible {
  outline: 0;
  background: #e8e4d8 !important;
}

.bn-language-code {
  color: #3f7247;
  font-size: .73rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.bn-language-option svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #3f7247;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  opacity: 0;
}

.bn-language-option[aria-checked="true"] svg {
  opacity: 1;
}

.bn-menu-toggle,
.bn-mobile-search-toggle,
.bn-mobile-menu {
  display: none;
}

.bn-menu-toggle {
  align-content: center;
  gap: 5px;
}

.bn-menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: center;
  transition: transform .24s ease, opacity .18s ease;
}

.bn-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.bn-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.bn-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.bn-mobile-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  overflow: hidden;
  max-height: 0;
  padding: 0 12px;
  border-bottom: 1px solid transparent;
  background: #17251cfa;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: max-height .3s ease, padding .3s ease, opacity .2s ease, transform .3s ease;
}

.bn-mobile-menu-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  color: #d8e1d7;
  font-weight: 780;
  text-decoration: none;
}

.bn-mobile-menu-link.active {
  background: #344b39;
  color: #fff;
}

.bn-mobile-language {
  display: flex;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid #ffffff14;
}

.bn-mobile-language .bn-language-dropdown {
  top: auto;
  right: auto;
  bottom: 0;
  left: 52px;
}

.bn-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bn-brand:focus-visible,
.bn-tab-link:focus-visible,
.bn-icon-button:focus-visible,
.bn-menu-toggle:focus-visible,
.bn-mobile-menu-link:focus-visible,
.bn-search-clear:focus-visible,
.bn-mobile-search-close:focus-visible {
  outline: 3px solid #e8b858;
  outline-offset: 3px;
}

.bn-search-overlay {
  position: fixed;
  z-index: 1350;
  inset: var(--bn-header-height) 0 0;
  background: #303732b8;
  backdrop-filter: grayscale(1) blur(2px);
}

.fullscreen-open .bn-site-header,
.fullscreen-open .bn-search-overlay {
  display: none !important;
}

@media (max-width: 900px) {
  .bn-header-shell {
    gap: 16px;
  }

  .bn-desktop-tabs {
    display: none;
  }

  .bn-game-search {
    width: min(430px, 48vw);
  }
}

@media (max-width: 680px) {
  :root {
    --bn-header-height: 64px;
  }

  body.bn-search-active {
    overflow: hidden;
  }

  .bn-site-header {
    background: #132018f7;
  }

  .bn-header-shell {
    gap: 9px;
    width: calc(100% - 24px);
  }

  .bn-menu-toggle {
    display: grid;
    order: 1;
    width: 40px;
    height: 40px;
  }

  .bn-brand {
    order: 2;
    gap: 8px;
    min-width: 0;
    font-size: 1.15rem;
  }

  .bn-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .bn-header-actions {
    order: 3;
    margin-left: auto;
  }

  .bn-language-menu {
    display: none;
  }

  .bn-mobile-search-toggle {
    display: grid;
    width: 40px;
    height: 40px;
  }

  .bn-game-search {
    display: none;
    margin: 0;
  }

  .bn-site-header.bn-search-open .bn-menu-toggle,
  .bn-site-header.bn-search-open .bn-brand,
  .bn-site-header.bn-search-open .bn-header-actions {
    visibility: hidden;
    pointer-events: none;
  }

  .bn-site-header.bn-search-open .bn-game-search {
    position: absolute;
    z-index: 1420;
    inset: 7px 12px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    width: auto;
    height: 50px;
    border-color: #e8b85888;
    background: #26352a;
    box-shadow: 0 0 0 3px #e8b85818;
  }

  .bn-site-header.bn-search-open .bn-mobile-search-close {
    display: grid;
  }

  .bn-site-header.bn-search-open .bn-search-clear {
    display: none !important;
  }

  .bn-search-input {
    height: 48px;
    padding-right: 4px;
  }

  .bn-search-icon {
    margin-left: 13px;
  }

  .bn-search-results {
    top: calc(100% + 8px);
    max-height: calc(100vh - var(--bn-header-height) - 20px);
    overflow-y: auto;
    border-radius: 14px;
  }

  .bn-search-result {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .bn-search-result img {
    width: 46px;
    height: 46px;
  }

  .bn-search-result-status {
    display: none;
  }

  .bn-mobile-menu {
    display: grid;
  }

  .bn-site-header.bn-menu-open .bn-mobile-menu {
    max-height: 270px;
    padding-top: 10px;
    padding-bottom: 14px;
    border-bottom-color: #ffffff1a;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

@media (max-width: 360px) {
  .bn-brand {
    font-size: 1.02rem;
  }

  .bn-header-shell {
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bn-site-header *,
  .bn-site-header *:before,
  .bn-site-header *:after {
    transition-duration: .01ms !important;
  }
}
