.topbar{display:flex;align-items:center;gap:22px;padding:16px 0 14px;position:sticky;top:0;z-index:50;background:rgba(245,245,245,.86);backdrop-filter:blur(12px);border-bottom:1px solid rgba(0,0,0,.04)}
.topbar .brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit;flex-shrink:0}
.topbar .brand img{width:40px;height:40px;border-radius:9px;background:#fff;border:1px solid rgba(0,0,0,.07);padding:2px}
.topbar .brand b{display:block;font-size:17px;line-height:1.25;letter-spacing:-.01em}
.topbar .brand small{display:block;font-size:10px;letter-spacing:.14em;color:rgba(0,0,0,.42);margin-top:1px}
.mainnav{display:flex;align-items:center;gap:4px;margin-left:auto;flex-wrap:wrap}
.mainnav a{display:inline-flex;align-items:center;height:34px;padding:0 13px;border-radius:999px;font-size:13.5px;color:rgba(0,0,0,.58);text-decoration:none;white-space:nowrap;transition:background .18s,color .18s}
.mainnav a:hover{background:rgba(48,48,52,.06);color:rgba(0,0,0,.82)}
.mainnav a.active{background:rgba(255,46,77,.09);color:#e91d3a;font-weight:600}
.auth-chip{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 11px;border-radius:999px;background:rgba(48,48,52,.05);color:rgba(0,0,0,.45);font-size:11.5px;text-decoration:none;white-space:nowrap;flex-shrink:0}
.auth-chip:before{content:'';width:6px;height:6px;border-radius:50%;background:#c4c4c4}
.auth-chip.on{color:#087a2e;background:rgba(8,122,46,.07)}
.auth-chip.on:before{background:#16a34a}
@media(max-width:760px){.topbar{gap:10px;flex-wrap:wrap;padding:12px 0}.topbar .brand b{font-size:15px}.topbar .brand img{width:34px;height:34px}.mainnav{order:3;width:100%;margin-left:0;overflow:auto;gap:2px}.mainnav a{height:30px;padding:0 10px;font-size:12.5px}.auth-chip{margin-left:auto}}
