/* шрифт локально-системный, без внешнего CDN */
:root {
  --bg: #000104; --panel: #11161d; --panel-2: #161b22; --border: #2a313c;
  --text: #e6edf3; --text-2: #8b949e; --text-3: #6e7681; --accent: #378add;
  --radius: 10px; --max-blue: #2d7ff9;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: Inter, -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
  background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 18px;
  padding: 12px 18px; background: rgba(11,14,20,.9); backdrop-filter: blur(8px);
  border-bottom: .5px solid var(--border); }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 16px; }
.brand .logo { width: 26px; height: 26px; border-radius: 7px; background: var(--max-blue);
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--text-2); font-size: 14px; padding: 6px 12px; border-radius: 8px; }
.nav a:hover { background: var(--panel-2); color: var(--text); }
.nav a.active { color: var(--text); background: var(--panel-2); }

.search { display: flex; align-items: center; gap: 8px; background: var(--panel-2);
  border: .5px solid var(--border); border-radius: 8px; padding: 7px 11px;
  color: var(--text-2); font-size: 13px; min-width: 240px; }
.search input { background: none; border: none; outline: none; color: var(--text);
  font-size: 13px; flex: 1; font-family: inherit; }
.search .kbd { border: .5px solid var(--border); border-radius: 4px; padding: 0 5px;
  font-size: 11px; color: var(--text-3); }

.btn { display: inline-flex; align-items: center; gap: 6px; background: var(--panel-2);
  border: .5px solid var(--border); color: var(--text); font-size: 13px;
  padding: 7px 13px; border-radius: 8px; transition: background .12s; }
.btn:hover { background: #1d242e; }
.btn.primary { background: var(--max-blue); border-color: var(--max-blue); color: #fff; }
.btn.primary:hover { filter: brightness(1.08); }

.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px;
  padding: 2px 9px; border-radius: 11px; }
.muted { color: var(--text-2); }
.tiny { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .5px; }

.avatar { border-radius: 50%; object-fit: cover; flex: none; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 600; line-height: 1; vertical-align: middle; }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: #2a313c; border-radius: 5px; }
::-webkit-scrollbar-track { background: transparent; }
