﻿.global-menu {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 200;
}

.menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: 0.2s ease;
}

.menu-panel {
    position: absolute;
    top: 0;
    left: -280px;
    width: 270px;
    height: 100%;
    background: #fff;
    box-shadow: 4px 0 18px rgba(0,0,0,0.12);
    padding: 0 16px 24px;
    transition: 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
    padding: 0;
    border-bottom: 1px solid #f1f5f9;
}

.menu-logo {
    display: inline-flex;
    align-items: center;
}

.menu-logo img {
    height: 12px;
    width: auto;
    display: block;
}

.menu-close {
    background: none;
    border: none;
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
    line-height: 1;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.45;
    letter-spacing: 0.01em;
}

.menu-list a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #000;
    padding: 4px 0;
}

.menu-divider {
    height: 1px;
    background: #eef2f7;
    margin: 4px 0;
}

.menu-item--meta {
    margin-top: 4px;
}

.menu-list .menu-link--meta {
    font-size: 11px;
    font-weight: 500;
    color: #a8b0bd;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.menu-dev {
    font-size: 12px;
    color: #666;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.global-menu.open { pointer-events: auto; }
.global-menu.open .menu-backdrop { opacity: 1; }
.global-menu.open .menu-panel { left: 0; }
