/* ── Reset & tokens ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent:    #6c63f5;
  --accent-lo: rgba(108,99,245,.14);
  --accent-br: rgba(108,99,245,.30);
  --bg:        #0a0d18;
  --bg-rail:   #0c1020;
  --card:      #141a2e;
  --card-2:    #10162a;
  --line:      #222a44;
  --line-soft: #1a2138;
  --ink:       #e7ecf7;
  --ink-dim:   #aeb6cc;
  --ink-mute:  #6f7896;
  --link:      #5aa6ff;
  --danger:    #f4708a;
  --ok:        #19b894;
  --warn:      #e0794f;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

html, body { height: 100%; overflow: hidden; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
}

/* ── App shell ──────────────────────────────────────── */
#app { display: flex; height: 100vh; overflow: hidden; }

.rail {
  width: 300px;
  flex: none;
  background: var(--bg-rail);
  border-right: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  padding: 22px 16px 16px;
  overflow: hidden;
}

.stage {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* ── Brand ──────────────────────────────────────────── */
.brand { margin-bottom: 18px; }
.logo {
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -1px;
  color: var(--accent);
  line-height: 1;
}
.tagline {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
}

/* ── New search button ──────────────────────────────── */
.new-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 13px;
  font-family: var(--mono);
  cursor: pointer;
  margin-bottom: 18px;
  transition: border-color .15s;
}
.new-btn:hover { border-color: var(--accent); }
.new-plus { color: var(--accent); font-size: 16px; font-weight: 700; }

/* ── Corpus list ────────────────────────────────────── */
.corpus-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}
.corpus-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.corpus-count { font-size: 11px; color: var(--ink-mute); }

.search-local {
  background: var(--card-2);
  border: 1px solid var(--line-soft);
  color: var(--ink);
  border-radius: 8px;
  padding: 8px 11px;
  font-size: 12px;
  font-family: var(--mono);
  outline: none;
  width: 100%;
  margin-bottom: 12px;
  transition: border-color .15s;
}
.search-local::placeholder { color: var(--ink-mute); }
.search-local:focus { border-color: var(--accent); }

.corpus-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 0;
}

.group-label {
  font-size: 9.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  opacity: .75;
  margin: 12px 0 5px 8px;
}

.corpus-item {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--ink-dim);
  padding: 9px 10px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
  font-family: var(--mono);
  transition: background .12s, color .12s;
}
.corpus-item:hover { background: rgba(255,255,255,.04); color: var(--ink); }
.corpus-item.active { background: var(--accent-lo); color: var(--ink); }

.item-title {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.item-meta {
  font-size: 10.5px;
  color: var(--ink-mute);
  display: flex;
  gap: 7px;
  align-items: center;
}
.item-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line);
  flex: none;
}

/* ── Badges ─────────────────────────────────────────── */
.badge {
  font-size: 9px;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 1px 5px;
  border-radius: 4px;
  white-space: nowrap;
}
.badge-local  { background: rgba(174,182,204,.08); color: var(--ink-mute); }
.badge-pinned { background: rgba(108,99,245,.15); color: var(--accent); border: 1px solid rgba(108,99,245,.3); }
.badge-public { background: rgba(108,99,245,.15); color: var(--accent); border: 1px solid rgba(108,99,245,.3); }

/* ── Sidebar footer ─────────────────────────────────── */
.rail-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.status-indicator {
  font-size: 11px;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 6px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
}
.status-dot.online  { background: var(--ok); }
.status-dot.offline { background: var(--danger); }

.export-btn {
  background: none;
  border: 1px solid var(--line);
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 11px;
  border-radius: 7px;
  padding: 5px 10px;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.export-btn:hover { border-color: var(--accent); color: var(--ink); }

/* ── Hero / empty state ─────────────────────────────── */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.hero-kicker {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.hero-heading {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--ink);
  text-align: center;
  margin-bottom: 10px;
}
.hero-sub {
  font-size: 13px;
  color: var(--ink-mute);
  text-align: center;
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
}

.composer {
  display: flex;
  gap: 10px;
  align-items: stretch;
  width: 100%;
  max-width: 640px;
  margin-bottom: 20px;
}
.hero-input {
  flex: 1;
  resize: none;
  background: var(--card-2);
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 13px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.5;
  outline: none;
  font-family: var(--mono);
  min-height: 68px;
  transition: border-color .15s;
}
.hero-input::placeholder { color: var(--ink-mute); }
.hero-input:focus { border-color: var(--accent); }
.hero-ask {
  border: none;
  border-radius: 13px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 0 22px;
  cursor: pointer;
  font-family: var(--mono);
  white-space: nowrap;
  transition: filter .15s;
}
.hero-ask:hover:not(:disabled) { filter: brightness(1.1); }
.hero-ask:disabled { opacity: .45; cursor: default; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 640px;
}
.chip {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line-soft);
  color: var(--ink-dim);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-family: var(--mono);
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.chip:hover { border-color: var(--accent); color: var(--ink); }

/* ── Article view ───────────────────────────────────── */
.article-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 780px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 32px 80px;
}

.article-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -.5px;
}
.article-meta {
  font-size: 11px;
  color: var(--ink-mute);
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 28px;
}

/* ── Messages ───────────────────────────────────────── */
.messages { display: flex; flex-direction: column; gap: 20px; }

.msg-user {
  align-self: flex-end;
  max-width: 78%;
  background: var(--accent-lo);
  border: 1px solid var(--accent-br);
  border-radius: 13px 13px 4px 13px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--ink);
}

.msg-assistant {
  align-self: flex-start;
  max-width: 100%;
  width: 100%;
}
.msg-assistant-inner {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 4px 13px 13px 13px;
  padding: 18px 20px;
}

/* markdown rendered content */
.md-content h1, .md-content h2, .md-content h3 {
  color: var(--ink);
  font-weight: 700;
  margin: 1.2em 0 .5em;
  letter-spacing: -.3px;
}
.md-content h1 { font-size: 18px; }
.md-content h2 { font-size: 16px; }
.md-content h3 { font-size: 14px; }
.md-content p { color: var(--ink-dim); margin: 0 0 .9em; line-height: 1.7; }
.md-content p:last-child { margin-bottom: 0; }
.md-content ul, .md-content ol { color: var(--ink-dim); padding-left: 1.4em; margin: 0 0 .9em; }
.md-content li { margin-bottom: .35em; line-height: 1.6; }
.md-content strong { color: var(--ink); font-weight: 700; }
.md-content em { font-style: italic; }
.md-content code {
  background: var(--card-2);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: .88em;
}
.md-content pre {
  background: var(--card-2);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 14px 16px;
  overflow-x: auto;
  margin: .8em 0;
}
.md-content pre code { background: none; border: none; padding: 0; }
.md-content a { color: var(--link); text-decoration: none; }
.md-content a:hover { text-decoration: underline; }
.md-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  color: var(--ink-mute);
  margin: .8em 0;
}

/* streaming cursor */
.stream-cursor::after {
  content: '▋';
  color: var(--accent);
  animation: blink .9s step-start infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ── Follow-up composer ─────────────────────────────── */
.followup-wrap {
  margin-top: 28px;
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.followup-input {
  flex: 1;
  resize: none;
  background: var(--card-2);
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--mono);
  outline: none;
  min-height: 52px;
  transition: border-color .15s;
}
.followup-input::placeholder { color: var(--ink-mute); }
.followup-input:focus { border-color: var(--accent); }
.followup-ask {
  border: none;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 0 18px;
  cursor: pointer;
  font-family: var(--mono);
  transition: filter .15s;
}
.followup-ask:hover:not(:disabled) { filter: brightness(1.1); }
.followup-ask:disabled { opacity: .45; cursor: default; }

/* ── Action bar ─────────────────────────────────────── */
.action-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.bar-sep { width: 1px; height: 22px; background: var(--line-soft); margin: 0 2px; }

.btn-pin {
  background: var(--accent);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  border-radius: 9px;
  padding: 9px 18px;
  cursor: pointer;
  font-family: var(--mono);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: filter .15s;
}
.btn-pin:hover { filter: brightness(1.1); }
.btn-pin:disabled { opacity: .5; cursor: default; }

.btn-ghost {
  background: none;
  border: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: 13px;
  border-radius: 9px;
  padding: 9px 14px;
  cursor: pointer;
  font-family: var(--mono);
  transition: border-color .15s, color .15s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--ink); }
.btn-ghost.active { color: var(--accent); border-color: var(--accent-br); }

.btn-danger {
  background: none;
  border: 1px solid var(--line);
  color: var(--ink-mute);
  font-size: 13px;
  border-radius: 9px;
  padding: 9px 14px;
  cursor: pointer;
  font-family: var(--mono);
  transition: border-color .15s, color .15s;
}
.btn-danger:hover { border-color: var(--danger); color: var(--danger); }

/* pin success inline card */
.pin-success {
  margin-top: 12px;
  background: rgba(108,99,245,.08);
  border: 1px solid rgba(108,99,245,.25);
  border-radius: 11px;
  padding: 14px 16px;
  width: 100%;
  max-width: 460px;
}
.ps-badge {
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(108,99,245,.18);
  color: var(--accent);
  border: 1px solid rgba(108,99,245,.35);
  border-radius: 5px;
  padding: 2px 6px;
  margin-bottom: 8px;
  display: inline-block;
}
.ps-url {
  background: var(--card-2);
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  padding: 8px 11px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.ps-url-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--link); }
.ps-copy {
  background: none;
  border: 1px solid var(--line);
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 11px;
  border-radius: 6px;
  padding: 4px 9px;
  cursor: pointer;
  flex: none;
  transition: border-color .15s, color .15s;
}
.ps-copy:hover { border-color: var(--accent); color: var(--ink); }
.ps-sub { font-size: 11px; color: var(--ink-mute); }
.ps-sub a { color: var(--accent); text-decoration: none; }

/* export modal */
.modal-back {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.modal {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 22px 24px;
  max-width: 380px;
  width: 90%;
}
.modal-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.modal-sub { font-size: 13px; color: var(--ink-dim); margin-bottom: 20px; line-height: 1.6; }
.modal-btns { display: flex; gap: 8px; }
.modal-dl {
  background: var(--accent);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  border-radius: 9px;
  padding: 10px 16px;
  cursor: pointer;
  font-family: var(--mono);
}
.modal-cancel {
  background: none;
  border: 1px solid var(--line);
  color: var(--ink-mute);
  font-size: 13px;
  border-radius: 9px;
  padding: 10px 13px;
  cursor: pointer;
  font-family: var(--mono);
}

/* ── Offline banner ─────────────────────────────────── */
.offline-banner {
  background: rgba(244,112,138,.05);
  border: 1px solid rgba(244,112,138,.18);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 12px;
}
.offline-banner-title { font-weight: 700; color: var(--danger); margin-bottom: 2px; }
.offline-banner-sub { color: var(--ink-mute); line-height: 1.5; }

/* ── Toast ──────────────────────────────────────────── */
.toast-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--ink);
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  animation: slide-up .2s ease;
  pointer-events: auto;
}
.toast.ok { border-color: rgba(25,184,148,.35); }
.toast.err { border-color: rgba(244,112,138,.35); }
@keyframes slide-up {
  from { transform: translateY(12px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* ── Reader (public /s/:slug) ───────────────────────── */
.reader {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px 80px;
}
.reader-urlbar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card-2);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 12px;
  color: var(--ink-mute);
  width: 100%;
  max-width: 640px;
  margin-bottom: 36px;
}
.urlbar-dots { display: flex; gap: 5px; }
.urlbar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.urlbar-dot:nth-child(1) { background: #ff5f57; }
.urlbar-dot:nth-child(2) { background: #febc2e; }
.urlbar-dot:nth-child(3) { background: #28c840; }
.urlbar-url { flex: 1; text-align: center; }

.reader-wrap {
  width: 100%;
  max-width: 680px;
}
.reader-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.reader-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -.5px;
  line-height: 1.3;
}
.reader-meta {
  font-size: 11px;
  color: var(--ink-mute);
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}

.fork-bar {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.fork-bar-text { font-size: 13px; color: var(--ink-dim); }
.fork-bar-text strong { color: var(--ink); }
.fork-btn {
  background: var(--accent);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  border-radius: 9px;
  padding: 9px 18px;
  cursor: pointer;
  font-family: var(--mono);
  white-space: nowrap;
  transition: filter .15s;
}
.fork-btn:hover { filter: brightness(1.1); }

.reader-section {
  margin-bottom: 36px;
}
.reader-q {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-mute);
  letter-spacing: .5px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}

/* ── Trending / article cards ───────────────────────── */
.trending-section {
  width: 100%;
  max-width: 640px;
  margin-top: 36px;
}
.trending-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.trending-label {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.trending-more {
  font-size: 11px;
  color: var(--accent);
  text-decoration: none;
}
.trending-more:hover { text-decoration: underline; }

.trending-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 540px) { .trending-grid { grid-template-columns: 1fr; } }

.trend-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.trend-card:hover {
  border-color: var(--accent-br);
  background: color-mix(in srgb, var(--card) 90%, var(--accent) 10%);
}
.trend-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.trend-meta {
  font-size: 10.5px;
  color: var(--ink-mute);
  display: flex;
  gap: 6px;
  align-items: center;
}
.trend-pin-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .7;
  flex: none;
}

/* ── /articles page ─────────────────────────────────── */
.articles-page {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
}
.articles-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  border-bottom: 1px solid var(--line-soft);
}
.articles-nav-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--accent);
  text-decoration: none;
}
.articles-nav-right {
  font-size: 12px;
  color: var(--ink-mute);
}
.articles-body {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 32px 80px;
}
.articles-heading {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.5px;
  margin-bottom: 6px;
}
.articles-sub {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 28px;
}
.articles-search {
  background: var(--card-2);
  border: 1.5px solid var(--line);
  color: var(--ink);
  border-radius: 11px;
  padding: 11px 16px;
  font-size: 14px;
  font-family: var(--mono);
  outline: none;
  width: 100%;
  max-width: 480px;
  margin-bottom: 28px;
  transition: border-color .15s;
}
.articles-search::placeholder { color: var(--ink-mute); }
.articles-search:focus { border-color: var(--accent); }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.article-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  transition: border-color .15s;
  cursor: pointer;
}
.article-card:hover { border-color: var(--accent-br); }
.article-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.article-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  flex: 1;
}
.article-card-meta {
  font-size: 11px;
  color: var(--ink-mute);
  display: flex;
  gap: 8px;
  align-items: center;
}
.article-card-excerpt {
  font-size: 12.5px;
  color: var(--ink-dim);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.article-card-pins {
  font-size: 11px;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 5px;
}
.article-card-pin-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .7;
}
.articles-empty {
  font-size: 13px;
  color: var(--ink-mute);
  text-align: center;
  padding: 60px 0;
}

/* ── Scrollbar ──────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-mute); }
