body {
  background: radial-gradient(circle at 20% 20%, #0d1117, #080c12);
  color: #c9d1d9;
  font-family: "JetBrains Mono", Consolas, monospace;
  margin: 40px;
}

/* =========================
   链接 🔗
========================= */
a {
  color: #58a6ff;
  text-decoration: none;
  position: relative;
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #58a6ff;
  transition: 0.2s;
}

a:hover::after {
  width: 100%;
}

/* =========================
   标题 ✨
========================= */
h1 {
  margin-bottom: 12px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* =========================
   导航栏 🧭
========================= */
.nav {
  margin-bottom: 18px;
}

.nav a {
  padding: 6px 10px;
  border-radius: 6px;
  transition: 0.2s;
}

.nav a:hover {
  background: rgba(88,166,255,0.15);
}

/* =========================
   卡片容器 📦
========================= */
.filter, .pagination, .jump, table {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 10px;
  padding: 12px;
}

/* =========================
   输入框 & 按钮 🎛️
========================= */
input {
  background: #0d1117;
  border: 1px solid #30363d;
  color: #c9d1d9;
  padding: 6px 8px;
  border-radius: 6px;
  outline: none;
  transition: 0.2s;
}

input:focus {
  border-color: #58a6ff;
  box-shadow: 0 0 0 2px rgba(88,166,255,0.2);
}

button {
  background: #21262d;
  border: 1px solid #30363d;
  color: #c9d1d9;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

button:hover {
  background: #30363d;
}

button:active {
  transform: scale(0.96);
}

/* =========================
   标签 🏷️
========================= */
.tag {
  display: inline-block;
  background: linear-gradient(135deg, #30363d, #21262d);
  padding: 3px 8px;
  margin: 2px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  transition: 0.2s;
}

.tag:hover {
  transform: translateY(-1px);
  background: #3b424c;
}

.tag.active {
  background: linear-gradient(135deg, #1f6feb, #388bfd);
  color: white;
  box-shadow: 0 0 6px rgba(56,139,253,0.6);
}

/* =========================
   表格 📊
========================= */
table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 14px;
  overflow: hidden;
}

th, td {
  border-bottom: 1px solid #30363d;
  padding: 10px 12px;
}

th {
  background: #21262d;
  position: sticky;
  top: 0;
  z-index: 1;
}

tr {
  transition: 0.15s;
}

tr:hover {
  background: rgba(88,166,255,0.08);
  transform: scale(1.002);
}

/* =========================
   行内代码 inline code 💡
========================= */
:not(pre) > code {
  background: rgba(110, 118, 129, 0.2);
  color: #ffb86c;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 0.9em;
}

/* =========================
   代码块 pre / code 🧱
========================= */
pre {
  background: #161b22;
  padding: 16px;
  overflow-x: auto;
  border-radius: 8px;
  position: relative;
  line-height: 1.5;
}

/* =========================
   引用块 blockquote ✨
========================= */
blockquote {
  margin: 16px 0;
  padding: 10px 14px;
  border-left: 4px solid #58a6ff;
  background: rgba(88, 166, 255, 0.08);
  color: #a5d6ff;
  border-radius: 6px;
}

/* =========================
   排序按钮 🔽
========================= */
.sort-btn {
  cursor: pointer;
  margin-left: 6px;
  opacity: 0.7;
  transition: 0.2s;
}

.sort-btn:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* =========================
   分页 📄
========================= */
.pagination {
  margin-top: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.pagination button {
  min-width: 32px;
}

.active-page {
  background: linear-gradient(135deg, #1f6feb, #388bfd);
  color: white;
  font-weight: bold;
  border: none;
  box-shadow: 0 0 6px rgba(56,139,253,0.6);
}

/* =========================
   跳页 🎯
========================= */
.jump {
  margin-top: 12px;
}

/* =========================
   标签下拉 🧩
========================= */
.tag-select button {
  background: #21262d;
}

.tag-dropdown {
  display: none;
  position: absolute;
  background: #161b22;
  border: 1px solid #30363d;
  padding: 12px;
  width: 520px;
  max-height: 200px;
  overflow-y: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  animation: fadeIn 0.15s ease;
}

.tag-select:hover .tag-dropdown {
  display: block;
}

/* =========================
   动画 ✨
========================= */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   滚动条 🧊
========================= */
::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: #30363d;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #484f58;
}


.count-btn {
  vertical-align: 5px;
  display: inline-block;
  margin-left: 10px;
  padding: 2px 10px;
  font-size: 14px;
  color: #c9d1d9;
  background: #30363d;
  border: 1px solid #484f58;
  border-radius: 999px; /* 圆润一点像胶囊 */
  cursor: default;
  transition: all 0.2s ease;
}

.count-btn:hover {
  background: #3c444d;
}