.header{
  background:#11151b!important;
  backdrop-filter:none;
}
.header .header-inner{
  width:calc(100% - 40px)!important;
  max-width:1900px!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  grid-template-rows:auto!important;
  column-gap:20px!important;
  row-gap:8px!important;
  padding:10px 0!important;
}
.header .brand{grid-column:1!important;grid-row:1!important}
.header .nav-row{
  grid-column:2!important;
  grid-row:1!important;
  width:100%;
  align-self:center;
}
.header .lang-switch{
  grid-column:3!important;
  grid-row:1!important;
  justify-self:end;
  position:static;
  transform:none;
}
.header .nav-row .main-nav{
  flex-wrap:wrap!important;
  justify-content:flex-start;
  gap:4px!important;
  overflow:visible;
  white-space:normal;
}
.header .nav-row .main-nav a{
  font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:14px!important;
  font-weight:600!important;
  line-height:1.4;
  color:#f0f3f9!important;
  padding:8px 9px!important;
  min-height:38px;
  letter-spacing:.01em;
  text-shadow:none;
  filter:none;
  transform:none;
}
.header .nav-row .main-nav a::before{
  font-size:14px;
  color:#c4cddb;
}
.header .nav-row .main-nav a:hover,.header .nav-row .main-nav a.is-current{
  color:#ffd181!important;
  background:#352719!important;
  box-shadow:none;
}
.header .lang-switch a{font-size:13px!important;line-height:1.4}
.header .nav-row .coin-ride{
  display:block!important;
  top:-10px!important;
  height:12px!important;
  overflow:visible!important;
  opacity:1;
  pointer-events:none;
}
.header .nav-row .ride-coin{
  width:20px!important;
  height:20px!important;
  filter:brightness(1.25) saturate(1.1)!important;
}
@media(max-width:1200px){
  .header .header-inner{
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:auto auto!important;
  }
  .header .lang-switch{grid-column:2!important}
  .header .nav-row{grid-column:1/-1!important;grid-row:2!important}
}
@media(max-width:700px){
  .header .header-inner{width:calc(100% - 24px)!important}
  .header .nav-row .main-nav{
    flex-wrap:nowrap!important;
    overflow-x:auto;
    overflow-y:hidden;
    white-space:nowrap;
    scrollbar-width:thin;
    scrollbar-color:#718099 #18202a;
    padding-bottom:5px!important;
  }
  .header .nav-row .main-nav a{flex:0 0 auto}
}
