
.topbar{margin-left:51px;height:64px;padding:0 24px;display:flex;align-items:center;gap:16px;background:#121212}
.hamburger-btn{display:none}
.topbar .search{display:flex;align-items:center;flex:1;max-width:356px;min-width:0;height:40px;padding:0 12px;gap:8px;background:#ffffff05;border:1px solid #ffffff14;border-radius:6px}
.search-symbol{width:18px;height:18px;flex:none;color:#aaa}
.topbar .search input{width:100%;min-width:0;background:none;border:0;color:var(--text);font-size:14px;outline:none}
.topbar .search kbd{color:#777;background:#ffffff06;border-radius:4px;padding:2px 5px}
.topbar .top-actions{display:flex;align-items:center;margin-left:auto;gap:20px}
.connect-btn{margin-left:auto;padding:8px 16px;border-radius:8px;background:#fff;color:#111;font-size:14px;font-weight:600}
.topbar:has(.account-profile) .connect-btn{display:none}
.guest-topbar .top-actions:empty{display:none}
@media(max-width:640px){.topbar{margin-left:44px;padding:0 12px;gap:8px}.topbar .top-actions{gap:8px}.topbar .account-action,.topbar .account-balance{display:none}.connect-btn{padding:8px}}

.top-actions .account-action{display:inline-flex;align-items:center;justify-content:center;width:24px;height:32px;padding:0;background:transparent;color:#ccc;border:0}
.top-actions .portfolio-trigger{display:inline-flex;align-items:center;gap:4px;height:32px;white-space:nowrap;padding:0;background:transparent;border:0;color:inherit}
.portfolio-trigger>svg{width:20px;height:20px;flex:none;color:#ccc}
.portfolio-trigger .account-balance{line-height:20px;font-variant-numeric:tabular-nums}
.account-action svg{width:20px;height:20px}.account-action svg:not([fill]){fill:none;stroke:currentColor;stroke-width:1.7}
.account-profile{display:flex;align-items:center;gap:8px;border-left:1px solid #303030;padding-left:16px}.account-profile>svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5}
.account-avatar-wrap{display:flex}.account-avatar-wrap img{width:28px;height:28px;border-radius:50%}.account-balance{font:12px 'America Mono',monospace}
.sidebar-drawer .settings-toggle{background:transparent;border:0}
