body.user-drawer-open {
    overflow: hidden !important;
}

.user-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1198;
    background: rgba(0, 8, 22, 0.68);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: opacity 0.28s ease, visibility 0s linear 0.28s;
}

.user-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.28s ease, visibility 0s linear 0s;
}

:where(body[class^="page-"], body[class*=" page-"]) .user-menu {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    z-index: 1199 !important;
    display: flex !important;
    flex-direction: column;
    width: min(430px, 92vw) !important;
    min-width: 0 !important;
    height: 100dvh;
    max-height: none !important;
    padding: 0 22px 28px;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 0 !important;
    border-left: 1px solid rgba(100, 195, 255, 0.24) !important;
    border-radius: 0 !important;
    background:
        radial-gradient(circle at 82% 8%, rgba(24, 154, 230, 0.23), transparent 33%),
        linear-gradient(160deg, rgba(5, 25, 50, 0.985), rgba(2, 11, 28, 0.995)) !important;
    box-shadow: -32px 0 80px rgba(0, 4, 16, 0.48) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    animation: none !important;
    transform: translate3d(100%, 0, 0);
    will-change: transform, opacity;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease, visibility 0s linear 0.38s;
}

:where(body[class^="page-"], body[class*=" page-"]) .user-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    animation: none !important;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease, visibility 0s linear 0s;
}

.user-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 108px;
    padding: 22px 0 18px;
    border-bottom: 1px solid rgba(151, 216, 255, 0.17);
}

.user-menu__brand {
    display: grid;
    gap: 5px;
}

.user-menu__brand strong {
    color: #f4fbff;
    font-size: clamp(1.45rem, 4vw, 1.85rem);
    font-weight: 850;
    letter-spacing: 0.04em;
}

.user-menu__eyebrow {
    color: #69d8ff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.user-menu__close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border: 1px solid rgba(156, 218, 255, 0.25);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #eef9ff;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.user-menu__close:hover,
.user-menu__close:focus-visible {
    border-color: rgba(105, 216, 255, 0.72);
    background: rgba(105, 216, 255, 0.14);
    outline: none;
    transform: rotate(7deg);
}

:where(body[class^="page-"], body[class*=" page-"]) .user-menu .user-info {
    margin: 18px 0 8px;
    padding: 18px !important;
    border: 1px solid rgba(105, 216, 255, 0.16) !important;
    border-radius: 18px;
    background: rgba(19, 82, 126, 0.2) !important;
}

:where(body[class^="page-"], body[class*=" page-"]) .user-menu-item {
    width: 100%;
    min-height: 62px;
    margin-top: 8px;
    padding: 14px 16px !important;
    border: 1px solid transparent !important;
    border-radius: 16px;
    background: transparent;
    color: rgba(239, 248, 255, 0.88) !important;
    font: inherit;
    text-align: left;
}

:where(body[class^="page-"], body[class*=" page-"]) .user-menu-item:hover,
:where(body[class^="page-"], body[class*=" page-"]) .user-menu-item:focus-visible {
    border-color: rgba(105, 216, 255, 0.2) !important;
    background: rgba(105, 216, 255, 0.09) !important;
    color: #ffffff !important;
    outline: none;
    transform: translateX(-3px);
}

:where(body[class^="page-"], body[class*=" page-"]) .user-menu-item i {
    display: grid;
    place-items: center;
    width: 36px !important;
    height: 36px;
    flex: 0 0 auto;
    border-radius: 11px;
    background: rgba(35, 156, 218, 0.14);
    color: #69d8ff;
}

:where(body[class^="page-"], body[class*=" page-"]) .user-menu #logoutMenuItem {
    margin-top: auto;
    color: #ffb7bd !important;
}

:where(body[class^="page-"], body[class*=" page-"]) .user-menu #logoutMenuItem i {
    background: rgba(255, 96, 111, 0.12);
    color: #ff8c98;
}

@media (max-width: 560px) {
    :where(body[class^="page-"], body[class*=" page-"]) .user-menu {
        width: 100vw !important;
        padding-inline: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .user-menu-backdrop,
    :where(body[class^="page-"], body[class*=" page-"]) .user-menu {
        transition-duration: 0.01ms !important;
    }
}
