.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  background: #f5f5f7;
  border-bottom: 1px solid rgba(0, 0, 0, .04);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header .site-header-inner {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 14px 5%;
  display: flex;
  align-items: center;
  gap: 14px;
}

.game-page-header .site-header-inner {
  max-width: 1200px;
}

.site-header .site-header-logo {
  flex-shrink: 0;
  color: #000;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  text-decoration: none;
}

.site-header .site-header-search {
  flex: 0 1 520px;
  min-width: 0;
  margin-left: auto;
}

.site-header .site-header-search-form {
  position: relative;
  width: 100%;
  margin: 0;
}

.site-header .site-header-search-input {
  width: 100%;
  min-width: 0;
  padding: 12px 46px 12px 14px;
  border: 0;
  border-radius: 14px;
  outline: 0;
  background: #e9e9ed;
  color: #111;
  font: inherit;
  font-size: 13px;
  -webkit-appearance: textfield;
  transition: background .2s ease, box-shadow .2s ease;
}

.site-header .site-header-search-submit {
  position: absolute;
  top: 50%;
  right: 3px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #8b8b92;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .2s ease, color .2s ease;
}

.site-header .site-header-search-submit:hover {
  background: rgba(0, 0, 0, .055);
  color: #111;
}

.site-header .site-header-search-submit svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.site-header .site-header-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.site-header .site-header-search-input:focus {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(108, 92, 231, .14);
}

.site-header .site-header-favorite {
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #e9e9ed;
  color: #b5b5bb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.site-header .site-header-favorite:active {
  transform: scale(.96);
}

.site-header .site-header-favorite svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.site-header .site-header-favorite.active {
  background: #ffe5eb;
  color: #ff375f;
}

@media (max-width: 640px) {
  .site-header .site-header-inner {
    position: relative;
    gap: 10px;
    padding: 14px calc(5% + 46px) 14px 5%;
  }

  .site-header .site-header-logo {
    font-size: 24px;
  }

  .site-header .site-header-search {
    flex: 1;
    margin-left: 0;
  }

  .site-header .site-header-search-input {
    padding: 12px 44px 12px 12px;
  }

  .site-header .site-header-favorite {
    position: absolute;
    top: 17px;
    right: 5%;
  }
}
