.nv-header { position: sticky; top: 0; z-index: 1030; backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--nv-border); background: rgba(10,12,18,0.55); }
.nv-navbar { display:flex; align-items:center; justify-content: space-between; gap: 16px; padding: 12px 16px; min-height: 64px; }
.nv-brand { display:flex; align-items:center; gap: 10px; text-decoration: none; color: var(--nv-text); font-weight: 800; letter-spacing: .2px; }
.nv-brand:hover { text-decoration: none; opacity: .95; }
.nv-logo { height: 28px; width: 28px; display:block; border-radius: 6px; object-fit: contain; background: transparent; box-shadow: none; }
.nv-title { font-size: 16px; }
.nv-actions { display:flex; gap: 16px; align-items:center; }
.nv-link { color: var(--nv-text); opacity: .9; text-decoration: none; padding: 8px 10px; border-radius: 10px; transition: color .15s ease, background .15s ease, opacity .15s ease; }
.nv-link:hover { opacity: 1; background: rgba(255,255,255,0.04); }
.nv-link:active { transform: translateY(0.5px); }

/* Desktop nav */
.nv-nav { display:flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.nv-nav .nv-link { display:inline-flex; align-items:center; gap:8px; }

/* Account dropdown */
.nv-account { position: relative; }
.nv-account-btn { display:inline-flex; align-items:center; gap:8px; background: transparent; border: 1px solid var(--nv-border); color: var(--nv-text); padding: 8px 10px; border-radius: 10px; cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, border-color .15s ease, color .15s ease, background .15s ease; }
.nv-account-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0,0,0,.28); border-color: #8b5cf6; color:#fff; text-decoration:none; background: rgba(255,255,255,0.06); }
.nv-caret { opacity:.8; font-size: 12px; }
.nv-dropdown-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--nv-card-2); border: 1px solid var(--nv-border); border-radius: 12px; box-shadow: var(--nv-shadow); padding: 8px; display:none; }
.nv-dropdown-menu.show { display:block; }
.nv-dropdown-item { display:flex; align-items:center; gap:10px; color: var(--nv-text); padding: 8px 10px; border-radius: 8px; text-decoration: none; }
.nv-dropdown-item:hover { background: rgba(255,255,255,0.06); color:#fff; }
.nv-dropdown-sep { height:1px; background: var(--nv-border); margin: 6px 4px; }

/* Buttons */
.nv-btn-ghost { background: transparent; border: 1px solid var(--nv-border); color: var(--nv-text); padding: 8px 12px; border-radius: 12px; text-decoration:none; }
.nv-btn-ghost:hover { background: rgba(255,255,255,0.06); color:#fff; }

/* Mobile */
body.nv-lock { overflow: hidden; }

/* Burger */
.nv-burger { display: inline-flex; flex-direction: column; gap: 4px; background: transparent; border: none; padding: 8px; border-radius: 10px; color: var(--nv-text); cursor: pointer; }
.nv-burger:hover { background: rgba(255,255,255,0.06); }
.nv-burger span { display:block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* Mobile panel */
.nv-mobile { background: rgba(10,12,18,0.92); border-bottom: 1px solid var(--nv-border); }
.nv-mobile-inner { display:flex; flex-direction: column; gap: 10px; padding: 12px 0 16px; }
.nv-mobile-nav { display:flex; flex-direction: column; gap: 4px; }
.nv-mobile-acc, .nv-mobile-auth { display:flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.w-100 { width:100%; text-align:center; }

@media (min-width: 992px) {
	.nv-burger { display:none; }
	.nv-mobile { display:none !important; }
}

/* Мобильный вид: оставляем только бренд и кнопку аккаунта; меню уходит в дропдаун */
@media (max-width: 768px) {
	.nv-navbar { padding: 8px 16px; }
	.nv-title { font-size: 15px; }
	.nv-actions { gap: 8px; }
	.nv-nav { display:none; }
	.nv-burger { display:none; }
	.nv-account-name { display:none; }
	.nv-only-mobile { display:flex !important; }
}

/* По умолчанию nv-only-mobile скрыт на десктопе */
.nv-only-mobile { display:none; }
