.tnb-nav { --n-ink: #0b0b12; --n-muted: #6b6b78; --n-line: #ececf2; --n-violet: #8b5cf6;
    position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: blur(12px); font-family: 'Montserrat', sans-serif; }
.tnb-nav a { color: inherit; text-decoration: none; }
.tnb-nav .bar { max-width: 1080px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 28px; }
.tnb-nav .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; letter-spacing: .5px; color: var(--n-ink); margin-right: auto; }
.tnb-nav .brand img { width: 26px; height: 26px; border-radius: 7px; }
.tnb-nav .links { display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 500; color: #3a3a46; }
.tnb-nav .links > a:hover, .tnb-nav .hx-btn:hover { color: var(--n-ink); }
.tnb-nav .hx { position: relative; }
.tnb-nav .hx-btn { display: flex; align-items: center; gap: 6px; border: 0; background: none; font: 600 13px 'Montserrat', sans-serif; color: #3a3a46; cursor: pointer; padding: 8px 0; }
.tnb-nav .hx-btn::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s; }
.tnb-nav .hx.open .hx-btn::after { transform: rotate(-135deg) translateY(-1px); }
.tnb-nav .hx-menu { position: absolute; top: calc(100% + 10px); left: 50%; width: 560px; transform: translate(-50%, 8px); opacity: 0; visibility: hidden; background: #fff; border: 1px solid var(--n-line); border-radius: 18px; box-shadow: 0 30px 70px -20px rgba(11,11,18,.25); padding: 10px; transition: opacity .2s, transform .2s, visibility .2s; }
.tnb-nav .hx.open .hx-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.tnb-nav .hx-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.tnb-nav .hx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.tnb-nav .hx-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; transition: background .15s; }
.tnb-nav .hx-item:hover { background: #f5f3ff; }
.tnb-nav .hx-item img { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.tnb-nav .hx-item b { display: block; font-size: 13px; font-weight: 700; color: var(--n-ink); }
.tnb-nav .hx-item small { display: block; font-size: 11px; color: var(--n-muted); margin-top: 2px; }
.tnb-nav .hx-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding: 12px 14px; border-radius: 12px; background: #fafafc; font-size: 12px; color: var(--n-muted); }
.tnb-nav .hx-foot a { font-weight: 700; color: var(--n-violet); }
.tnb-nav .pill { display: inline-flex; align-items: center; background: var(--n-ink); color: #fff; font-size: 13px; font-weight: 600; padding: 10px 18px; border-radius: 999px; white-space: nowrap; transition: transform .2s, box-shadow .2s; }
.tnb-nav .pill:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(11,11,18,.18); }

@media (max-width: 860px) {
    .tnb-nav .links > a { display: none; }
    .tnb-nav .hx { position: static; }
    .tnb-nav .hx-menu { left: 12px; right: 12px; width: auto; transform: translateY(8px); }
    .tnb-nav .hx.open .hx-menu { transform: none; }
    .tnb-nav .hx-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .tnb-nav .bar { gap: 14px; }
    .tnb-nav .brand span { display: none; }
    .tnb-nav .hx-btn { white-space: nowrap; font-size: 12px; }
    .tnb-nav .pill { padding: 9px 14px; font-size: 12px; }
}
