.topbar{height:60px;padding:0 max(24px,calc((100vw - 1180px)/2));display:grid;grid-template-columns:1fr auto 1fr;gap:24px;align-items:center;border-bottom:1px solid var(--line);background:rgba(255,255,255,.95);position:sticky;top:0;z-index:20}
.brand,.github,.topbar nav a{color:var(--ink);text-decoration:none}
.brand{font-size:15px;font-weight:680}
.github{justify-self:end;color:var(--muted);font-size:12px}
.topbar nav{display:flex;gap:24px}
.topbar nav a{color:var(--muted);font-size:13px}
.topbar nav a.active{color:var(--ink);font-weight:650}
@media(max-width:760px){.topbar{grid-template-columns:1fr auto;padding:0 18px}
.github{display:none}
.topbar nav{gap:12px}}
.topbar nav a span{font-variant-numeric:tabular-nums}
.brand{display:inline-flex;align-items:center;gap:9px;font-size:15px;font-weight:680;letter-spacing:-.01em;white-space:nowrap}
.brand img{display:block;width:23px;height:23px;flex:0 0 23px}
.brand-short{display:none}
@media(max-width:760px){.brand-full{display:none}
.brand-short{display:inline}
.brand{gap:7px}
.brand img{width:21px;height:21px;flex-basis:21px}}
.github{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid var(--ink);border-radius:7px;background:var(--ink);color:#fff;font-size:13px;font-weight:680;line-height:1}
.github:hover{background:#333;border-color:#333}
.github svg{width:20px;height:20px;fill:currentColor}
@media(max-width:760px){.topbar{grid-template-columns:auto 1fr auto;gap:10px;padding:0 16px}
.github{display:inline-flex;padding:8px}
.github span{display:none}
.github svg{width:21px;height:21px}
.topbar nav{justify-self:end;gap:11px}
.topbar nav a{font-size:12px}}
.topbar .github{position:relative}
.topbar .github .github-star-tooltip{display:block;position:absolute;top:calc(100% + 12px);right:0;width:248px;max-width:calc(100vw - 32px);padding:13px 16px;background:var(--surface);color:var(--muted);border:1px solid var(--line);border-radius:6px;box-shadow:0 4px 14px #0000000d;font-size:12px;font-weight:400;line-height:1.6;white-space:normal;text-align:left;z-index:200;visibility:hidden;opacity:0;pointer-events:none}
.topbar .github .github-star-tooltip::before{content:"";position:absolute;right:22px;top:-5px;width:8px;height:8px;background:var(--surface);border-top:1px solid var(--line);border-left:1px solid var(--line);transform:rotate(45deg)}
.topbar .github:hover .github-star-tooltip,.topbar .github:focus-visible .github-star-tooltip{visibility:visible;opacity:1;pointer-events:auto}
.topbar .github .github-star-tooltip::after{content:"";position:absolute;left:0;right:0;top:-14px;height:14px}
.topbar .github .github-star-tooltip{display:flex;gap:11px;align-items:flex-start;width:292px;padding:15px 16px;border-radius:12px;transform:translateY(4px);transition:opacity .16s ease,transform .16s ease,visibility .16s}
.topbar .github:hover .github-star-tooltip,.topbar .github:focus-visible .github-star-tooltip{transform:translateY(0)}
.topbar .github .star-mascot{display:flex;flex:none;align-items:center;justify-content:center;width:30px;height:30px;border-radius:10px;background:#fff5d9;color:#96722b;font-size:23px;line-height:1;transform:rotate(-10deg)}
.topbar .github .star-tooltip-copy{display:block}
.topbar .github .star-tooltip-copy strong{display:block;margin:0 0 4px;color:var(--ink);font-size:12px;font-weight:600}
.topbar .github .star-tooltip-copy>span{display:block;font-size:11px;line-height:1.65}
@media(prefers-reduced-motion:reduce){.topbar .github .github-star-tooltip{transition:none;transform:none}}