/* Site Boost CSS — 互链模块样式 */
.site-boost {
  max-width: 1100px;
  margin: 32px auto 0;
  padding: 0 16px;
}
.sb-block {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.sb-title {
  font-size: 1rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 12px;
}
.sb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sb-chip {
  display: inline-block;
  padding: 6px 14px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  color: #4f46e5;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  transition: all .2s;
}
.sb-chip:hover {
  background: #4f46e5;
  color: #fff;
  border-color: #4f46e5;
  transform: translateY(-1px);
}
.sb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.sb-card {
  display: block;
  padding: 12px 16px;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  color: #1f2937;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  text-align: center;
  transition: all .25s;
}
.sb-card:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #fff;
  border-color: #4f46e5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79,70,229,.2);
}
.sb-sitemap {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}
.sb-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.sb-sitemap-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sb-sitemap-h {
  font-size: .85rem;
  font-weight: 800;
  color: #4f46e5;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.sb-sitemap-col a {
  color: #4b5563;
  text-decoration: none;
  font-size: .85rem;
  padding: 3px 0;
  transition: color .15s;
}
.sb-sitemap-col a:hover {
  color: #4f46e5;
}

/* 移动端适配 */
@media (max-width: 640px) {
  .site-boost { margin: 20px auto 0; padding: 0 12px; }
  .sb-block { padding: 16px; margin-bottom: 14px; border-radius: 10px; }
  .sb-grid { grid-template-columns: repeat(2, 1fr); }
  .sb-sitemap-grid { grid-template-columns: repeat(2, 1fr); }
  .sb-sitemap-h { font-size: .8rem; }
}
