.site-header nav {
    gap: clamp(18px, 2.1vw, 30px);
    --header-control-height: 48px;
    --header-control-border: rgba(255,255,255,.115);
    --header-control-bg: rgba(255,255,255,.014);
}

.site-header .brand,
.brand {
    display: inline-flex;
    align-items: baseline;
    gap: .22em;
    flex: 0 0 auto;
    white-space: nowrap;
    word-break: keep-all;
}

.brand span {
    display: inline;
}

.site-header nav a,
.nav-more__toggle {
    white-space: nowrap;
}

.nav-more {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-more__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: var(--muted);
    padding: 0;
    cursor: pointer;
    font-weight: 700;
    transition: color .2s ease;
}

.nav-more__toggle::after {
    content: "⌄";
    color: #7edda5;
    font-size: 13px;
    transform: translateY(-1px);
}

.nav-more:hover .nav-more__toggle,
.nav-more:focus-within .nav-more__toggle {
    color: #fff;
}

.nav-more__menu {
    position: absolute;
    top: calc(100% + 18px);
    right: -18px;
    min-width: 230px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    background: rgba(9, 15, 31, .94);
    box-shadow: 0 24px 70px rgba(0,0,0,.34);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(.98);
    transform-origin: top right;
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.nav-more__menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -20px;
    height: 20px;
}

.nav-more:hover .nav-more__menu,
.nav-more:focus-within .nav-more__menu,
.nav-more.is-open .nav-more__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.site-header nav .nav-more__menu a {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 9px 11px;
    border-radius: 12px;
    color: #c5cedf;
    font-size: 13px;
}

.site-header nav .nav-more__menu a:hover,
.site-header nav .nav-more__menu a:focus-visible {
    color: #fff;
    background: rgba(85,212,134,.08);
    outline: none;
}

.top-search {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    box-sizing: border-box;
    min-width: 138px;
    height: var(--header-control-height);
    min-height: var(--header-control-height);
    justify-content: flex-start;
    gap: 10px;
    padding: 0 18px!important;
    border: 1px solid var(--header-control-border)!important;
    border-radius: 999px!important;
    background: var(--header-control-bg);
    line-height: 1;
}

.top-search__submit {
    display: inline-grid;
    place-items: center;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.top-search svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #7edda5;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 10px rgba(126,221,165,.18));
}

.top-search input {
    width: 68px;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    color: #f5f7ff;
    font: inherit;
    font-weight: 800;
    font-size: 13px;
    line-height: 1;
}

.top-search input::-webkit-search-decoration,
.top-search input::-webkit-search-cancel-button,
.top-search input::-webkit-search-results-button,
.top-search input::-webkit-search-results-decoration {
    display: none;
}

.top-search input::placeholder {
    white-space: nowrap;
    color: #c5cedf;
    opacity: .72;
}

.top-search:focus-within {
    border-color: rgba(126,221,165,.32)!important;
    background: rgba(126,221,165,.045);
}

.top-search::before {
    content: none!important;
}

.site-header nav .nav-game-link {
    color: #7edda5;
    font-weight: 850;
    text-shadow: 0 0 20px rgba(126, 221, 165, .12);
}

.site-header nav .nav-game-link:hover,
.site-header nav .nav-game-link:focus-visible {
    color: #9ff0bd;
    outline: none;
}

.site-header .account-status {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    box-sizing: border-box;
    height: var(--header-control-height);
    min-height: var(--header-control-height);
    padding: 5px 16px 5px 6px;
    border: 1px solid var(--header-control-border);
    border-radius: 999px;
    background: var(--header-control-bg);
    font-size: 13px;
    font-weight: 850;
    gap: 10px;
    line-height: 1;
}

.site-header .account-status > span {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
}

.site-header .account-status:not(.is-auth) {
    min-width: 126px;
    justify-content: center;
    border-color: var(--header-control-border);
    background: var(--header-control-bg);
}

.site-header .account-status:not(.is-auth) > span {
    background: rgba(255,255,255,.07);
    color: #cbd5e8;
    font-size: 0;
    line-height: 1;
}

.site-header .account-status:not(.is-auth) svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-header .account-status:not(.is-auth) b {
    color: #c5cedf;
    font-size: 13px;
}

.site-header .account-status.is-auth b {
    display: block;
    max-width: 120px;
    overflow: hidden;
    color: #c5cedf;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-header .account-status:not(.is-auth):hover,
.site-header .account-status:not(.is-auth):focus-visible {
    border-color: rgba(85,212,134,.28);
    background: rgba(85,212,134,.035);
}

@media(max-width:1320px) and (min-width:801px) {
    .site-header nav {
        gap: clamp(14px, 1.55vw, 24px);
    }
}

@media(max-width:800px) {
    .site-header nav {
        gap: 10px;
        padding: 92px 18px 28px;
    }

    .site-header nav > a,
    .site-header nav .mobile-only,
    .site-header nav .nav-more__menu a {
        display: flex!important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 50px;
        padding: 0 18px!important;
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 16px;
        background: rgba(255,255,255,.025);
        color: #eef3ff;
        font-size: 17px;
        font-weight: 800;
        line-height: 1.15;
    }

    .site-header nav > a:hover,
    .site-header nav > a:focus-visible,
    .site-header nav .nav-more__menu a:hover,
    .site-header nav .nav-more__menu a:focus-visible {
        border-color: rgba(85,212,134,.28);
        background: rgba(85,212,134,.075);
        color: #fff;
        outline: none;
    }

    .nav-more {
        display: contents;
    }

    .nav-more__toggle {
        display: none;
    }

    .nav-more__menu {
        position: static;
        display: grid;
        gap: 10px;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .nav-more__menu::before {
        display: none;
    }

    .site-header nav .nav-more__menu a {
        min-height: 50px;
        font-size: 17px;
    }

    .top-search {
        width: 100%;
        height: 52px;
        justify-content: flex-start;
        order: -1;
        min-width: 0;
        margin: 4px 0 8px;
        background: rgba(255,255,255,.035);
    }

    .top-search__submit {
        flex-basis: 24px;
        width: 24px;
        height: 24px;
    }

    .top-search svg {
        width: 21px;
        height: 21px;
    }

    .top-search input {
        width: 100%;
        font-size: 22px!important;
        font-weight: 800!important;
    }

    .site-header nav .nav-game-link {
        border-color: rgba(85,212,134,.32);
        background: linear-gradient(135deg, rgba(85,212,134,.13), rgba(101,169,255,.08));
        color: #91ebb4;
    }

    .site-header nav .account-menu.nav-account {
        width: 100%;
        margin-top: 10px;
    }

    .site-header nav > a,
    .site-header nav > a:not(.nav-cta),
    .site-header nav .mobile-only,
    .site-header nav .nav-more__menu a,
    .site-header nav .nav-more__menu a:not(.nav-cta) {
        min-height: 54px;
        padding: 0 18px!important;
        font-size: 22px!important;
        font-weight: 800;
        line-height: 1.08;
    }

    .site-header nav .nav-more__menu {
        gap: 10px;
    }
}
