.navigation-menu-trigger {
    position: relative;
    width: 30px;
    height: 30px;
    border: 0;
    padding: 5px 2px;
    background: transparent;
    cursor: pointer;
    flex: 0 0 auto;
}

.navigation-menu-trigger span {
    position: absolute;
    left: 2px;
    width: 26px;
    height: 3px;
    border-radius: 3px;
    background: #e7e7e7;
    transition: transform .2s ease, top .2s ease, opacity .15s ease;
}

.navigation-menu-trigger span:nth-child(1) { top: 5px; }
.navigation-menu-trigger span:nth-child(2) { top: 13px; }
.navigation-menu-trigger span:nth-child(3) { top: 21px; }

.navigation-menu-trigger[aria-expanded="true"] span:nth-child(1) {
    top: 13px;
    transform: rotate(45deg);
}

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

.navigation-menu-trigger[aria-expanded="true"] span:nth-child(3) {
    top: 13px;
    transform: rotate(-45deg);
}

#app-nav .navigation-menu-item {
    align-items: center;
    margin-right: 12px;
}

.navigation-panel-close {
    display: none;
    border: 0;
    padding: 0;
    background: transparent;
    color: #e7e7e7;
    cursor: pointer;
}

.navigation-panel-close svg {
    display: block;
    width: 24px;
    height: 24px;
}

body.navigation-is-open {
    overflow: hidden;
}

.navigation-panel {
    display: none;
    position: fixed;
    z-index: 110;
    inset: var(--dx-header-height) 0 0;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.92);
}

.navigation-panel[data-open="true"] {
    display: block;
}

.navigation-panel__content {
    width: min(calc(100% - 48px), 1372px);
    margin: 0 auto;
    padding: 40px 0 80px;
}

.navigation-panel__main {
    display: none;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-bottom: 36px;
}

.navigation-panel__main a {
    color: #b1b1b1;
    font-size: 16px;
    font-weight: 600;
}

.navigation-panel__main a:hover,
.navigation-panel__grid a:hover,
.navigation-panel__grid em {
    color: var(--dx-primary-color);
}

.navigation-panel__section {
    margin-bottom: 48px;
}

.navigation-panel__section:last-child {
    margin-bottom: 0;
}

.navigation-panel__section h2 {
    margin: 0;
    color: #e7e7e7;
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
}

.navigation-panel__section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.navigation-panel__section--pick h2 {
    margin-bottom: 28px;
}

.navigation-panel__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 48px;
    row-gap: 24px;
}

.navigation-panel__grid a {
    color: #e7e7e7;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.navigation-panel__grid em {
    margin-right: 6px;
    font-style: normal;
}

.navigation-panel__toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 0;
    padding: 0;
    background: transparent;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.navigation-panel__toggle svg {
    width: 16px;
    height: 16px;
    transition: transform .2s ease;
}

.navigation-panel__toggle.is-expanded svg {
    transform: rotate(180deg);
}

.navigation-panel__section:not(.is-open) .navigation-panel__grid--tags a:nth-child(n+9) {
    display: none;
}

.navigation-panel__account {
    display: none;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #333;
}

.navigation-panel__account a,
.navigation-panel__account button {
    color: #e013a9;
    font-size: 16px;
    background: transparent;
    border: 0;
    cursor: pointer;
}

@media (max-width: 768px) {
    .navigation-header-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .navigation-panel-close--mobile {
        display: none;
    }

    body.navigation-is-open .navigation-panel-close--mobile {
        display: block;
    }

    .navigation-panel__content {
        width: 100%;
        padding: 24px 16px 58px;
    }

    .navigation-panel__main,
    .navigation-panel__account {
        display: flex;
    }

    .navigation-panel__section {
        margin-bottom: 36px;
    }

    .navigation-panel__section h2 {
        font-size: 22px;
    }

    .navigation-panel__section--pick h2,
    .navigation-panel__section-heading {
        margin-bottom: 20px;
    }

    .navigation-panel__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
        row-gap: 18px;
    }

    .navigation-panel__grid a {
        font-size: 15px;
        line-height: 24px;
    }
}
