.desktop-top-heading-menu {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
    padding: 16px 16px 0;
}

.desktop-top-heading-menu-shell {
    width: min(1440px, calc(100vw - 32px));
    margin: 0 auto;
    min-height: 82px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 22px;
    background: rgba(11, 16, 32, .74);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .26);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: min-height .28s ease, padding .28s ease, border-radius .28s ease, box-shadow .28s ease, background .28s ease, transform .28s ease;
    transform-origin: top center;
}

.desktop-top-heading-menu.is-scrolled .desktop-top-heading-menu-shell {
    min-height: 64px;
    padding: 10px 16px;
    border-radius: 999px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .3);
    transform: translateY(-1px);
}

.desktop-top-heading-menu-start {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.desktop-top-heading-menu-brand {
    max-width: 220px;
    width: 100%;
    display: inline-flex;
    align-items: center;
}

.desktop-top-heading-menu-brand img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 30px;
    object-fit: contain;
    object-position: left center;
}

.desktop-top-heading-menu-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.desktop-top-heading-menu-link {
    min-height: 38px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px;
    color: rgba(255, 255, 255, .84);
    background: rgba(255, 255, 255, .04);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background .16s ease, color .16s ease, transform .16s ease;
}

.desktop-top-heading-menu-actions .desktop-top-heading-menu-link {
    min-width: 74px;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}

.desktop-top-heading-menu-link:hover,
.desktop-top-heading-menu-link:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, .13);
    outline: none;
    transform: translateY(-1px);
}

.desktop-top-heading-menu-link.is-current {
    color: #111827;
    background: #dfff45;
    border-color: #dfff45;
}

.desktop-top-heading-menu-link.primary {
    color: #111827;
    background: #fff;
}

.desktop-top-heading-menu-link.is-icon,
.desktop-top-heading-menu-back {
    width: 38px;
    min-width: 38px;
    padding: 0;
}

.desktop-top-heading-menu-actions .desktop-top-heading-menu-link.is-icon {
    min-width: 38px;
    margin-left: 6px;
}

.desktop-top-heading-menu-actions .desktop-top-heading-menu-link.is-icon:last-child {
    margin-left: 10px;
}

.desktop-top-heading-menu-link.is-icon svg,
.desktop-top-heading-menu-back svg {
    width: 16px;
    height: 16px;
}

.desktop-top-heading-menu-back {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px;
    color: rgba(255, 255, 255, .84);
    background: rgba(255, 255, 255, .04);
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: background .16s ease, color .16s ease, transform .16s ease;
}

.desktop-top-heading-menu-back:hover,
.desktop-top-heading-menu-back:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, .13);
    outline: none;
    transform: translateY(-1px);
}

.desktop-top-heading-menu-back:has(+ .desktop-top-heading-menu-brand) {
    width: auto;
    min-width: 38px;
    padding: 0 12px 0 10px;
}

@media (max-width: 760px) {
    .desktop-top-heading-menu-actions { gap: 6px; }
    .desktop-top-heading-menu-link:not(.is-icon) { padding: 0 11px; }
}
