.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(16px);
    background: rgba(6, 7, 10, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 14px;
}

.header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    cursor: pointer;
}

.site-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 180px;
}

.site-logo img {
    max-height: 38px;
    width: auto;
}

.hamburger-lines {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 18px;
}

.hamburger-lines span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.user-menu-wrap {
    position: relative;
}

.user-icon {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
}

.user-icon::before,
.user-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 2px solid currentColor;
}

.user-icon::before {
    top: 0;
    width: 9px;
    height: 9px;
    border-radius: 999px;
}

.user-icon::after {
    bottom: 0;
    width: 16px;
    height: 8px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom: 0;
}

.mobile-menu {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(10, 12, 18, 0.96);
}

.mobile-nav {
    display: grid;
    gap: 4px;
    max-width: var(--max);
    margin: 0 auto;
    padding: 12px 14px 16px;
}

.mobile-nav a {
    display: block;
    padding: 14px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
}

.user-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 220px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(12, 16, 24, 0.98);
    box-shadow: var(--shadow-soft);
}

.user-menu-btn {
    display: block;
    padding: 12px 12px;
    border-radius: 12px;
    color: var(--text);
}

.user-menu-btn + .user-menu-btn {
    margin-top: 4px;
}

.user-menu-btn:hover,
.mobile-nav a:hover,
.header-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}
