.nav a.active{color:var(--text);background:var(--surface-2)}.user-menu{position:relative}.user-btn{display:flex;align-items:center;gap:8px;height:40px;padding:0 10px 0 4px;max-width:220px;border-radius:999px;border:1px solid var(--border-strong);background:var(--surface-2);color:var(--text);font:inherit;font-size:14px;font-weight:600;cursor:pointer}.user-btn:hover,.user-menu.open .user-btn{background:var(--surface-3)}.user-btn svg{width:16px;height:16px;color:var(--muted);transition:transform .15s}.user-menu.open .user-btn svg{transform:rotate(180deg)}.user-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.avatar{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:50%;background:linear-gradient(135deg,#ea4359,#a81d34);color:#fff;font-weight:700;font-size:14px}.avatar.lg{width:44px;height:44px;font-size:18px}.avatar.xl{width:64px;height:64px;font-size:26px}.user-pop{position:absolute;right:0;top:calc(100% + 8px);z-index:30;width:280px;padding:8px;border-radius:14px;background:var(--surface);border:1px solid var(--border-strong);box-shadow:0 18px 50px #00000080;display:none;flex-direction:column}.user-menu.open .user-pop{display:flex}.user-head{display:flex;gap:12px;align-items:center;padding:8px 8px 12px}.user-head>div{display:flex;flex-direction:column;min-width:0;align-items:flex-start}.user-head strong,.user-head small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:190px}.user-head small{color:var(--muted);font-size:12.5px}.plan-chip{margin-top:4px;padding:1px 8px;border-radius:999px;font-size:11.5px;font-weight:700;background:var(--surface-3);color:var(--text-2)}.plan-chip.pro,.plan-chip.lifetime{background:var(--accent-soft);color:var(--accent-2)}.plan-chip.admin,.plan-chip.tester{background:var(--gold-soft);color:var(--gold)}.user-pop a,.user-pop button{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:var(--radius-sm);border:0;background:none;color:var(--text-2);font:inherit;font-size:14px;text-decoration:none;text-align:left;cursor:pointer}.user-pop a:hover,.user-pop button:hover{background:var(--surface-3);color:var(--text)}.user-pop a svg,.user-pop button svg{width:18px;height:18px;color:var(--muted)}.user-pop hr{border:0;border-top:1px solid var(--border);margin:6px 4px}@media(max-width:700px){.user-name{display:none}.user-btn{padding:0 6px 0 4px}}
