.liusheng-subnav {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.liusheng-subnav-link {
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}
.liusheng-subnav-link:hover,
.liusheng-subnav-link.active {
  color: var(--text);
  border-color: var(--accent);
  background: var(--accent-glow);
}
.liusheng-filters { display: flex; gap: 8px; margin-bottom: 20px; }
.liusheng-filters .tag {
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}
.liusheng-filters .tag-active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}
.liusheng-article-list { display: flex; flex-direction: column; gap: 12px; }
.liusheng-card {
  display: block;
  padding: 16px 18px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.liusheng-card:hover { border-color: var(--accent); color: inherit; }
.liusheng-card-title { font-size: 15px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.liusheng-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--text-faint);
}
.liusheng-badge {
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--bg3);
  color: var(--text-muted);
}
.liusheng-badge-copy { color: var(--yellow); border: 1px solid var(--yellow); background: transparent; }
.liusheng-article .liusheng-body img,
.liusheng-article .liusheng-body video { max-width: 100%; border-radius: var(--radius); margin: 12px 0; }
.liusheng-export-bar { display: flex; gap: 8px; margin-top: 12px; }
.liusheng-help {
  margin-bottom: 20px;
  padding: 14px 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-muted);
}
.liusheng-help ol { margin: 10px 0 0 1.2rem; }
.liusheng-help li { margin-bottom: 6px; }
.liusheng-form.card { padding: 20px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.liusheng-form .form-textarea { width: 100%; font-family: var(--font-mono); font-size: 12px; background: var(--bg); border: 1px solid var(--border); color: var(--text); border-radius: var(--radius); padding: 10px; }
.liusheng-form input[type="text"], .liusheng-form select { width: 100%; max-width: 400px; padding: 8px 10px; background: var(--bg); border: 1px solid var(--border); color: var(--text); border-radius: var(--radius); }
.liusheng-status { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.pagination { display: flex; gap: 16px; align-items: center; justify-content: center; margin-top: 28px; font-size: 13px; }
.empty-state { text-align: center; padding: 48px 20px; color: var(--text-faint); }
.alert-warning { background: rgba(210,153,34,.12); border: 1px solid var(--yellow); color: var(--yellow); padding: 12px 14px; border-radius: var(--radius); margin-bottom: 16px; }
.alert-success, .liusheng-cookie-saved { background: rgba(63,185,80,.1); border: 1px solid var(--green); color: var(--green); padding: 12px 14px; border-radius: var(--radius); margin-bottom: 16px; }
.liusheng-cookie-saved strong { color: var(--text); }
.liusheng-sync-logs { padding: 16px 18px; margin-top: 20px; margin-bottom: 0; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.liusheng-sync-logs-title { font-size: 15px; margin-bottom: 4px; }
.liusheng-log-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.liusheng-log-item {
  display: grid;
  grid-template-columns: 72px 72px 1fr;
  grid-template-rows: auto auto;
  gap: 6px 10px;
  font-size: 12px;
  align-items: start;
  padding: 8px 10px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.liusheng-log-time { color: var(--text-faint); font-family: var(--font-mono); grid-row: 1; }
.liusheng-log-status { font-weight: 600; grid-row: 1; }
.liusheng-log-ok .liusheng-log-status { color: var(--green); }
.liusheng-log-fail .liusheng-log-status { color: var(--red); }
.liusheng-log-cookie_invalid .liusheng-log-status { color: var(--yellow); }
.liusheng-log-msg {
  grid-column: 1 / -1;
  color: var(--text-muted);
  word-break: break-word;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  max-height: calc(1.45em * 2);
}
