/* ===== 全局重置 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #1a1a1a;
  background: #f5f5f5;
  line-height: 1.6;
  font-size: 15px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: #1a8cff; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ===== 顶部导航 ===== */
.header {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 60px;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  color: #1a8cff;
  letter-spacing: -0.5px;
  margin-right: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1a8cff, #4dabf7);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}
.logo-img {
  height: 44px;
  width: auto;
  max-width: 120px;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-brand .logo-img {
  height: 36px;
  width: auto;
}
.nav-menu {
  display: flex;
  gap: 3px;
  flex: 1;
}
.nav-menu a {
  padding: 8px 13px;
  font-size: 14px;
  color: #333;
  border-radius: 6px;
  font-weight: 500;
  transition: all .2s;
  white-space: nowrap;
}
.nav-menu a:hover, .nav-menu a.active {
  background: #f0f8ff;
  color: #1a8cff;
}

/* 导航下拉菜单 */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a {
  padding: 8px 13px;
  font-size: 14px;
  color: #333;
  border-radius: 6px;
  font-weight: 500;
  transition: all .2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
}
.nav-dropdown > a:hover, .nav-dropdown > a.active {
  background: #f0f8ff;
  color: #1a8cff;
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  border: 1px solid #f0f0f0;
  padding: 6px;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all .2s;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  padding: 7px 14px;
  font-size: 13px;
  color: #555;
  border-radius: 6px;
  transition: all .15s;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  background: #f0f8ff;
  color: #1a8cff;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #e8e8e8;
  border-radius: 50%;
  background: #fafafa;
  color: #666;
  cursor: pointer;
  transition: all .25s;
}
.search-trigger:hover {
  background: #1a8cff;
  border-color: #1a8cff;
  color: #fff;
  transform: scale(1.05);
}

/* ===== 搜索弹窗 ===== */
.search-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
  backdrop-filter: blur(2px);
}
.search-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}
.search-modal {
  width: 520px;
  max-width: 90%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.2);
  transform: translateY(-20px);
  transition: transform .25s;
}
.search-modal-overlay.show .search-modal {
  transform: translateY(0);
}
.search-modal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
}
.search-modal-icon {
  color: #1a8cff;
  flex-shrink: 0;
}
.search-modal-header input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  color: #1a1a1a;
  background: transparent;
}
.search-modal-header input::placeholder { color: #ccc; }
.search-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: #f5f5f5;
  color: #999;
  cursor: pointer;
  transition: all .2s;
  flex-shrink: 0;
}
.search-modal-close:hover {
  background: #ff4444;
  color: #fff;
}
.search-modal-btn {
  flex-shrink: 0;
  padding: 6px 18px;
  border: none;
  border-radius: 6px;
  background: #1a8cff;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s;
}
.search-modal-btn:hover { background: #0d6efd; }
.search-modal-results {
  max-height: 60vh;
  overflow-y: auto;
}
.search-loading, .search-empty {
  padding: 32px 20px;
  text-align: center;
  font-size: 14px;
  color: #999;
}
.search-results-group { padding: 8px 0; }
.search-results-group:not(:last-child) { border-bottom: 1px solid #f0f0f0; }
.search-results-label {
  padding: 6px 20px;
  font-size: 12px;
  font-weight: 600;
  color: #999;
}
.search-result-item {
  display: flex;
  gap: 12px;
  padding: 10px 20px;
  text-decoration: none;
  color: #333;
  transition: background .15s;
}
.search-result-item:hover { background: #f8f9fa; }
.search-result-thumb {
  width: 60px;
  height: 42px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}
.search-result-info { flex: 1; min-width: 0; }
.search-result-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: #222;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-result-item:hover .search-result-title { color: #1a8cff; }
.search-result-desc {
  font-size: 12px;
  color: #999;
  line-height: 1.5;
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-result-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 3px;
}
.search-result-cat {
  font-size: 11px;
  color: #1a8cff;
  background: #e8f4ff;
  padding: 1px 7px;
  border-radius: 3px;
}
.search-result-type {
  font-size: 11px;
  color: #999;
  background: #f2f2f2;
  padding: 1px 7px;
  border-radius: 3px;
}
.search-result-time { font-size: 11px; color: #bbb; }
.admin-link {
  font-size: 13px;
  color: #999;
  padding: 6px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  transition: all .2s;
}
.admin-link:hover { color: #1a8cff; border-color: #1a8cff; }

/* ===== 主容器 ===== */
.container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
  flex: 1;
  width: 100%;
}
.content-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.main-content {
  flex: 1;
  min-width: 0;
}
.sidebar {
  width: 280px;
  flex-shrink: 0;
}

/* ===== 焦点图区域 ===== */
.featured-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
  height: 340px;
  overflow: hidden;
}
/* 焦点推荐/推荐阅读 标签 */
.featured-carousel-wrap, .featured-side-wrap {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.featured-section-label {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  padding: 0 2px 8px 2px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.featured-section-label .label-bar {
  display: inline-block;
  width: 4px;
  height: 16px;
  background: #1a8cff;
  border-radius: 2px;
}
/* 左侧大图轮播 */
.featured-carousel-wrap { height: 100%; }
.featured-carousel {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #eee;
  height: 100%;
  min-height: 0;
  flex: 1;
}
.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.carousel-slide.active:hover img { transform: scale(1.04); }
.carousel-slide .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  color: #fff;
}
.carousel-slide .overlay h2 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 轮播指示点 */
.carousel-dots {
  position: absolute;
  bottom: 14px;
  right: 16px;
  display: flex;
  gap: 6px;
  z-index: 10;
}
.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.15);
  cursor: pointer;
  transition: all .3s;
}
.carousel-dots .dot.active {
  background: #1a8cff;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(26,140,255,.4);
}
/* 轮播箭头 */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all .3s;
}
.featured-carousel:hover .carousel-arrow { opacity: 1; }
.carousel-arrow:hover { background: rgba(0,0,0,.6); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
/* 右侧小图 */
.featured-side-wrap { height: 100%; }
.featured-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  min-height: 0;
  flex: 1;
}
.featured-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  flex: 1;
  min-height: 0;
  background: #eee;
}
.featured-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.featured-item:hover img { transform: scale(1.06); }
.featured-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 12px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,.8));
  color: #fff;
}
.featured-item .overlay h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== 文章列表 ===== */
.section-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #1a8cff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title::before {
  content: '';
  width: 4px;
  height: 16px;
  background: #1a8cff;
  border-radius: 2px;
}
.article-card {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: background .2s;
}
.article-card:hover { background: #fafafa; }
.article-card .thumb {
  width: 160px;
  height: 104px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #eee;
}
.article-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.article-card:hover .thumb img { transform: scale(1.08); }
.article-card .info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.article-card .info h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card .info h3 a:hover { color: #1a8cff; }
.article-card .summary {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #999;
}
.article-meta .author { color: #666; font-weight: 500; }
.article-meta .tag {
  display: inline-block;
  padding: 2px 8px;
  background: #f5f5f5;
  border-radius: 4px;
  font-size: 12px;
  color: #888;
}
.article-meta .tag:hover { background: #f0f8ff; color: #1a8cff; }
.article-meta .cat-badge {
  display: inline-block;
  padding: 2px 10px;
  background: #f0f8ff;
  color: #1a8cff;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

/* ===== 信息流通栏广告（与文章列表同宽） ===== */
.feed-ad-banner {
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}
.feed-ad-banner a {
  display: block;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.feed-ad-banner a::before {
  content: '广告';
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  padding: 2px 8px;
  background: rgba(0,0,0,.5);
  color: #fff;
  font-size: 11px;
  border-radius: 4px;
  line-height: 1.4;
}
.feed-ad-banner img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: transform .3s;
}
.feed-ad-banner a:hover img { transform: scale(1.02); }
.feed-ad-banner-placeholder {
  width: 100%;
  height: 150px;
  background: linear-gradient(135deg, #e8f4ff, #d1ecff);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #1a8cff;
  font-size: 15px;
  font-weight: 600;
  gap: 4px;
}
.feed-ad-banner-placeholder small {
  font-size: 12px;
  font-weight: 400;
  color: #7ab8ff;
}

/* ===== 侧边栏 ===== */
.widget {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
}
.widget-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.widget-title .icon { color: #1a8cff; font-size: 16px; }
.popular-list li {
  padding: 10px 0;
  border-bottom: 1px dashed #f0f0f0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.popular-list li:last-child { border-bottom: none; }
.popular-list .rank {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  background: #eee;
  color: #999;
}
.popular-list li:nth-child(1) .rank { background: #1a8cff; color: #fff; }
.popular-list li:nth-child(2) .rank { background: #4dabf7; color: #fff; }
.popular-list li:nth-child(3) .rank { background: #4dabf7; color: #fff; }
.popular-list .popular-thumb {
  width: 80px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popular-list .popular-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.popular-list li:hover .popular-thumb img { transform: scale(1.1); }
.popular-list .popular-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.popular-list .popular-title {
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.popular-list .popular-time {
  font-size: 11px;
  color: #aaa;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag-cloud a {
  padding: 5px 12px;
  background: #f5f5f5;
  border-radius: 14px;
  font-size: 12px;
  color: #555;
  transition: all .2s;
}
.tag-cloud a:hover { background: #1a8cff; color: #fff; }

/* ===== 文章详情页 ===== */
.article-detail {
  background: #fff;
  border-radius: 10px;
  padding: 28px 32px;
}
.article-detail h1 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  color: #1a1a1a;
}
.article-detail .meta-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 24px;
  font-size: 13px;
  color: #999;
}
.article-detail .meta-bar .author { font-weight: 600; color: #333; }
.article-detail .meta-bar .cat-badge {
  padding: 3px 12px;
  background: #f0f8ff;
  color: #1a8cff;
  border-radius: 12px;
  font-size: 13px;
}
.article-content {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}
.article-content h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 14px;
  padding-left: 12px;
  border-left: 4px solid #1a8cff;
}
.article-content p { margin-bottom: 16px; }
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 12px 0;
}
/* 文章内视频嵌入容器 */
.article-content .video-embed-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin: 16px 0;
  border-radius: 8px;
  overflow: hidden;
}
.article-content .video-embed-container iframe,
.article-content .video-embed-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

.article-copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 11px;
  color: #aaa;
  line-height: 1.6;
}
.article-copyright svg { flex-shrink: 0; color: #bbb; }
.article-copyright .copyright-line {
  flex: 1;
  height: 1px;
  background: #e8e8e8;
  min-width: 20px;
  max-width: 120px;
}

.article-tags-bar {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.article-tags-bar span { font-size: 13px; color: #999; }
.article-tags-bar a {
  padding: 3px 10px;
  background: #f5f5f5;
  border-radius: 4px;
  font-size: 12px;
  color: #555;
}
.article-tags-bar a:hover { background: #1a8cff; color: #fff; }

/* 评论区 */
.comment-section {
  margin-top: 28px;
}
.comment-form {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
}
.comment-form h3 { font-size: 15px; margin-bottom: 14px; }
.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 10px;
  outline: none;
  font-family: inherit;
  resize: vertical;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: #1a8cff; }
.comment-form button {
  padding: 9px 24px;
  background: #1a8cff;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s;
}
.comment-form button:hover { background: #0d6efd; }
.comment-list .comment-item {
  background: #fff;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
.comment-item .c-author { font-weight: 600; font-size: 13px; color: #333; }
.comment-item .c-time { font-size: 11px; color: #aaa; margin-left: 8px; }
.comment-item .c-content { margin-top: 6px; font-size: 13px; color: #555; }

/* 相关文章 */
.related-section {
  margin-top: 28px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.related-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.related-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.related-card img { width: 100%; height: 120px; object-fit: cover; }
.related-card .rc-info { padding: 10px 12px; }
.related-card .rc-info h4 { font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-card .rc-info p { font-size: 11px; color: #999; margin-top: 4px; }

/* ===== 页面标题（分类/搜索） ===== */
.page-header {
  background: #fff;
  border-radius: 10px;
  padding: 18px 24px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.page-header h1 { font-size: 20px; font-weight: 700; }
.page-header .count { font-size: 13px; color: #999; }

/* ===== 404 ===== */
.not-found {
  text-align: center;
  padding: 60px 20px;
}
.not-found h1 { font-size: 64px; color: #1a8cff; }
.not-found p { font-size: 16px; color: #666; margin: 16px 0; }
.not-found a { display: inline-block; padding: 9px 24px; background: #1a8cff; color: #fff; border-radius: 8px; font-size: 14px; }

/* 搜索无结果 */
.empty-result {
  text-align: center;
  padding: 48px 20px;
  background: #fff;
  border-radius: 10px;
}
.empty-result p {
  margin-top: 12px;
  font-size: 14px;
  color: #999;
}

/* ===== 整页搜索结果（多栏目分组） ===== */
.search-group { margin-bottom: 28px; }
.search-group-title {
  font-size: 17px;
  font-weight: 700;
  color: #333;
  margin: 0 0 14px;
  padding-left: 11px;
  border-left: 4px solid #1a8cff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-group-count {
  font-size: 12px;
  font-weight: 600;
  color: #1a8cff;
  background: #e8f4ff;
  padding: 1px 8px;
  border-radius: 10px;
}
.search-page-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.search-page-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
}
.search-page-item:hover {
  border-color: #1a8cff;
  box-shadow: 0 4px 14px rgba(26, 140, 255, 0.1);
  transform: translateY(-1px);
}
.search-page-thumb {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 8px;
  object-fit: cover;
  background: #f5f7fa;
}
.search-page-thumb.thumb-empty {
  background: linear-gradient(135deg, #f0f5ff 0%, #e8f0fe 100%);
}
.search-page-body { flex: 1; min-width: 0; }
.search-page-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}
.search-page-item:hover .search-page-title { color: #1a8cff; }
.search-page-desc {
  font-size: 13px;
  color: #888;
  margin: 5px 0 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-page-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.search-page-cat {
  font-size: 11px;
  color: #1a8cff;
  background: #e8f4ff;
  padding: 1px 7px;
  border-radius: 3px;
}
.search-page-type {
  font-size: 11px;
  color: #999;
  background: #f2f2f2;
  padding: 1px 7px;
  border-radius: 3px;
}

/* ===== 页脚（四栏布局） ===== */
.footer {
  background: #111;
  color: #999;
  padding: 40px 20px 0;
  margin-top: auto;
  flex-shrink: 0;
  font-size: 13px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #222;
}

.footer-col {
  min-width: 0;
}
.footer-col-narrow {
  max-width: 160px;
}
.footer-col-title {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

/* 第一栏：联系我们 */
.footer-contact-item {
  margin-bottom: 10px;
  line-height: 1.6;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.footer-contact-label {
  color: #999;
  white-space: nowrap;
}
.footer-contact-value {
  color: #bbb;
  word-break: break-all;
}
.footer-contact-value a {
  color: #bbb;
  text-decoration: underline;
  text-decoration-color: #444;
}
.footer-contact-value a:hover { color: #fff; }

.footer-social-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-social-label {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.footer-social-icons {
  display: flex;
  gap: 6px;
}
.footer-social-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  transition: all 0.2s;
}
.footer-social-icon:hover {
  background: #1a8cff;
  color: #fff;
  transform: translateY(-2px);
}

.footer-social-icon svg {
  width: 14px;
  height: 14px;
}

/* 第二栏：关于链接 */
.footer-col-link {
  display: block;
  color: #999;
  padding: 4px 0;
  transition: color 0.2s;
  font-size: 13px;
}
.footer-col-link:hover {
  color: #fff;
}

/* 第三栏：logo列表 */
.footer-logos {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-logo-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #999;
  font-size: 13px;
}
.footer-logo-item img {
  max-width: 100px;
  max-height: 28px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.2s;
  filter: grayscale(0.3);
}
.footer-logo-item:hover img {
  opacity: 1;
  filter: grayscale(0);
}
.footer-logo-item span {
  padding: 4px 0;
}

/* 第四栏：二维码 */
.footer-qrcode {
  width: 110px;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  padding: 6px;
}
.footer-qrcode img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.footer-qrcode-placeholder {
  width: 110px;
  aspect-ratio: 1;
  border-radius: 8px;
  border: 1px dashed #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #555;
  gap: 6px;
}
.footer-qrcode-placeholder p {
  font-size: 11px;
  color: #555;
}

/* 底部备案 */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: 12px;
  color: #555;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom-left,
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-bottom-dot {
  opacity: 0.5;
}

/* ===== 用户导航 ===== */
.user-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.user-menu-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 8px;
  transition: background .2s;
  position: relative;
}
.user-menu-trigger:hover {
  background: #f5f5f5;
}
.user-avatar-sm {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a8cff, #4dabf7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.user-name-sm {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}
.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  min-width: 150px;
  padding: 8px 0;
  display: none;
  z-index: 200;
  border: 1px solid #e8e8e8;
}
.user-dropdown.show {
  display: block;
}
.user-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #333;
  transition: background .15s;
}
.user-dropdown a:hover {
  background: #f0f8ff;
  color: #1a8cff;
}
.user-dropdown hr {
  border: none;
  border-top: 1px solid #f0f0f0;
  margin: 6px 0;
}
.nav-login, .nav-register {
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 6px;
  font-weight: 500;
  transition: all .2s;
}
.nav-login {
  color: #1a8cff;
  border: 1px solid #1a8cff;
}
.nav-login:hover {
  background: #1a8cff;
  color: #fff;
}
.nav-register {
  background: #1a8cff;
  color: #fff;
}
.nav-register:hover {
  background: #0d6efd;
  color: #fff;
}

/* ===== 认证页面（登录/注册）- 左右分栏 ===== */
.auth-page {
  max-width: 880px;
  margin: 32px auto;
  padding: 0 20px;
  flex: 1;
  display: flex;
  align-items: center;
}
.auth-card {
  display: flex;
  width: 100%;
  min-height: 480px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(0,0,0,.08);
}

/* 左侧品牌展示区 */
.auth-brand-side {
  flex: 0 0 40%;
  background: linear-gradient(135deg, #1a8cff 0%, #0d6efd 100%);
  padding: 36px 32px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.auth-brand-content {
  position: relative;
  z-index: 2;
}
.auth-brand-logo {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  margin-bottom: 24px;
  letter-spacing: .5px;
}
.auth-brand-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}
.auth-brand-content > p {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  margin-bottom: 24px;
}
.auth-brand-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.auth-brand-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.85);
  margin-bottom: 12px;
}
.auth-feature-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255,255,255,.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.auth-brand-deco1 {
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  z-index: 1;
}
.auth-brand-deco2 {
  position: absolute;
  right: 24px;
  top: -30px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  z-index: 1;
}

/* 右侧表单区 */
.auth-form-side {
  flex: 1;
  background: #fff;
  padding: 36px 36px;
  display: flex;
  align-items: center;
}
.auth-form-inner {
  width: 100%;
}
.auth-form-header {
  margin-bottom: 24px;
}
.auth-form-header h1 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 5px;
}
.auth-form-header p {
  font-size: 14px;
  color: #999;
}
.auth-error {
  padding: 12px 16px;
  background: #f0f8ff;
  color: #1a8cff;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 18px;
  border: 1px solid #c8e6ff;
}
.auth-success {
  padding: 12px 16px;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 18px;
  border: 1px solid #c8e6c9;
}
.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: #999;
}
.auth-footer a {
  color: #1a8cff;
  font-weight: 600;
}
.auth-form-row {
  display: flex;
  gap: 16px;
}
.auth-form-row .form-group {
  flex: 1;
}
.auth-login-options {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
/* 第三方登录（微信等） */
.auth-thirdparty {
  margin-top: 20px;
}
.auth-divider {
  display: flex;
  align-items: center;
  color: #aaa;
  font-size: 13px;
  margin: 4px 0 16px;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #ececec;
}
.auth-divider span {
  padding: 0 12px;
}
.btn-wechat-login {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border: none;
  border-radius: 8px;
  background: #07c160;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.btn-wechat-login:hover {
  background: #06ad56;
}
.remember-me {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #666;
  font-weight: normal;
  margin: 0;
  cursor: pointer;
}
.remember-me input {
  width: auto;
  margin: 0;
  padding: 0;
}
.forgot-link {
  font-size: 13px;
  color: #1a8cff;
  font-weight: 600;
}

/* ===== 表单通用元素 ===== */
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}
.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #e8e8e8;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  background: #fafafa;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #1a8cff;
  box-shadow: 0 0 0 3px rgba(211,47,47,.08);
  background: #fff;
}
.form-group select {
  cursor: pointer;
  appearance: auto;
}
.form-group textarea {
  resize: vertical;
  min-height: 80px;
}
.form-group input:disabled {
  background: #f5f5f5;
  color: #999;
  cursor: not-allowed;
}
.form-hint {
  font-size: 12px;
  color: #999;
  margin-bottom: 6px;
}
.btn-auth-submit {
  width: 100%;
  padding: 12px;
  background: #1a8cff;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .1s;
  letter-spacing: 2px;
}
.btn-auth-submit:hover { background: #0d6efd; }
.btn-auth-submit:active { transform: scale(.98); }

/* ===== 投稿页面 ===== */
.submit-container {
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 20px;
  flex: 1;
}
.submit-header {
  text-align: center;
  margin-bottom: 20px;
}
.submit-header h1 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 5px;
}
.submit-header p {
  font-size: 13px;
  color: #999;
}
.submit-form-box {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.submit-error {
  padding: 10px 16px;
  background: #f0f8ff;
  color: #1a8cff;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
  border: 1px solid #c8e6ff;
}
.submit-success {
  padding: 10px 16px;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
  border: 1px solid #c8e6c9;
}
.submit-success a {
  color: #1a8cff;
  font-weight: 500;
}

/* 投稿表单双栏布局 */
.submit-form-grid {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.submit-form-main {
  flex: 1;
  min-width: 0;
}
.submit-form-side {
  width: 260px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 72px;
}
.side-panel {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 16px;
  border: 1px solid #f0f0f0;
}
.side-panel-title {
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8e8e8;
}
.submit-tips {
  list-style: none;
  padding: 0;
  margin: 0;
}
.submit-tips li {
  position: relative;
  padding: 4px 0 4px 16px;
  font-size: 12px;
  color: #777;
  line-height: 1.6;
}
.submit-tips li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1a8cff;
}
.btn-submit-primary {
  width: 100%;
  padding: 11px;
  background: #1a8cff;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.btn-submit-primary:hover { background: #0d6efd; }
.btn-submit-cancel {
  display: block;
  text-align: center;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 13px;
  color: #666;
  transition: all .2s;
}
.btn-submit-cancel:hover {
  border-color: #1a8cff;
  color: #1a8cff;
}
.input-title {
  font-size: 16px !important;
  font-weight: 600 !important;
  padding: 10px 14px !important;
}

/* 富文本编辑器（投稿页面） */
.editor-wrapper {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .2s;
}
.editor-wrapper:focus-within { border-color: #1a8cff; }
.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 6px 8px;
  background: #fafafa;
  border-bottom: 1px solid #e8e8e8;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 5;
}
.toolbar-group {
  display: flex;
  gap: 2px;
}
.toolbar-group button {
  padding: 5px 9px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  color: #555;
  transition: all .15s;
  min-width: 30px;
  text-align: center;
  font-family: inherit;
  line-height: 1.4;
}
.toolbar-group button:hover {
  background: #fff;
  border-color: #e0e0e0;
  color: #1a8cff;
}
.toolbar-group button.active {
  background: #f0f8ff;
  border-color: #c8e6ff;
  color: #1a8cff;
}
.toolbar-divider {
  width: 1px;
  height: 20px;
  background: #e0e0e0;
  margin: 0 4px;
}
.toolbar-spacer { flex: 1; }
.word-count-box {
  font-size: 11px;
  color: #999;
  padding: 3px 8px;
  background: #fff;
  border-radius: 5px;
  border: 1px solid #eee;
  white-space: nowrap;
}
.editor-body {
  padding: 16px 20px;
  min-height: 340px;
  max-height: none;
  overflow-y: auto;
  outline: none;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}
.editor-body:empty::before {
  content: attr(data-placeholder);
  color: #bbb;
  pointer-events: none;
}
.editor-body h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 20px 0 12px;
  padding-left: 12px;
  border-left: 4px solid #1a8cff;
}
.editor-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 16px 0 8px;
}
.editor-body p { margin-bottom: 12px; }
.editor-body ul, .editor-body ol { margin: 10px 0 14px 24px; }
.editor-body li { margin-bottom: 6px; }
.editor-body a { color: #1976d2; text-decoration: underline; }
.editor-body img {
  max-width: 100%;
  border-radius: 8px;
  margin: 12px 0;
}
.editor-body blockquote {
  margin: 14px 0;
  padding: 12px 18px;
  border-left: 4px solid #1a8cff;
  background: #fafafa;
  color: #666;
  border-radius: 0 8px 8px 0;
}
.editor-body pre {
  margin: 14px 0;
  padding: 14px 18px;
  background: #f5f5f5;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.6;
}
.editor-body code {
  background: #f0f0f0;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
}
.editor-body.drag-over {
  background: #fff8f8;
  outline: 2px dashed #1a8cff;
  outline-offset: -4px;
}
.editor-hint {
  margin-top: 8px;
  font-size: 12px;
  color: #bbb;
}

/* ===== 个人中心（重新设计） ===== */
.profile-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 20px;
  flex: 1;
}

/* 顶部横幅 */
.profile-banner {
  background: linear-gradient(135deg, #1a8cff 0%, #4dabf7 100%);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(211,47,47,.15);
  position: relative;
  overflow: hidden;
}
.profile-banner::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.profile-banner::after {
  content: '';
  position: absolute;
  right: 50px;
  bottom: -50px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.profile-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 2;
}
.profile-banner-left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.profile-avatar-lg {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  border: 3px solid rgba(255,255,255,.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
}
.profile-banner-info h1 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.profile-banner-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,.85);
  flex-wrap: wrap;
}
.meta-dot { opacity: .5; }
.profile-role-badge {
  padding: 3px 12px;
  background: rgba(255,255,255,.2);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 500;
}
.btn-new-submission {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: #fff;
  color: #1a8cff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all .2s;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.btn-new-submission:hover {
  background: #f0f8ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}

/* 统计卡片 */
.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.profile-stat-card {
  background: #fff;
  border-radius: 10px;
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  transition: transform .2s, box-shadow .2s;
}
.profile-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.stat-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-icon-total { background: #f0f8ff; color: #1a8cff; }
.stat-icon-pending { background: #fff3e0; color: #e65100; }
.stat-icon-approved { background: #e8f5e9; color: #2e7d32; }
.stat-icon-rejected { background: #fce4ec; color: #0b5ed7; }
.stat-text {
  min-width: 0;
}
.stat-num {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  line-height: 1.2;
}
.stat-num.stat-pending { color: #e65100; }
.stat-num.stat-approved { color: #2e7d32; }
.stat-num.stat-rejected { color: #0b5ed7; }
.stat-label {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}

/* 水平标签页 */
.profile-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  border-bottom: 2px solid #f0f0f0;
}
.profile-tabs a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all .2s;
}
.profile-tabs a:hover { color: #1a8cff; }
.profile-tabs a.active {
  color: #1a8cff;
  border-bottom-color: #1a8cff;
}

/* 内容区 */
.profile-content {
  min-height: 300px;
}

/* 投稿卡片 */
.sub-card {
  background: #fff;
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: box-shadow .2s, transform .2s;
  border-left: 4px solid transparent;
}
.sub-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  transform: translateX(2px);
}
.sub-card.sub-pending { border-left-color: #ff9800; }
.sub-card.sub-approved { border-left-color: #4caf50; }
.sub-card.sub-rejected { border-left-color: #4dabf7; }
.sub-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 10px;
}
.sub-card-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  flex: 1;
  min-width: 0;
}
.sub-status {
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.sub-status-pending { background: #fff3e0; color: #e65100; }
.sub-status-approved { background: #e8f5e9; color: #2e7d32; }
.sub-status-rejected { background: #fce4ec; color: #0b5ed7; }
.sub-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #aaa;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.sub-meta-cat {
  padding: 3px 10px;
  background: #f5f5f5;
  border-radius: 6px;
  font-size: 12px;
  color: #777;
}
.sub-meta-dot { opacity: .4; }
.sub-card-summary {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 0;
}
.sub-review-comment {
  margin-top: 12px;
  padding: 10px 14px;
  background: #fff8e1;
  border-radius: 8px;
  font-size: 12px;
  color: #e65100;
  border: 1px solid #ffecb3;
}

/* 编辑资料卡片 */
.profile-edit-card {
  background: #fff;
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.edit-form-row {
  display: flex;
  gap: 24px;
  margin-bottom: 0;
}
.edit-form-row .form-group {
  flex: 1;
}
.profile-error {
  padding: 12px 16px;
  background: #f0f8ff;
  color: #1a8cff;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 18px;
  border: 1px solid #c8e6ff;
}
.profile-success {
  padding: 12px 16px;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 18px;
  border: 1px solid #c8e6c9;
}
.btn-save-profile {
  width: 100%;
  padding: 12px;
  background: #1a8cff;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  margin-top: 10px;
  letter-spacing: 1px;
}
.btn-save-profile:hover { background: #0d6efd; }

/* 空状态卡片 */
.empty-state-card {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.empty-icon {
  font-size: 36px;
  margin-bottom: 10px;
}
.empty-state-card h3 {
  font-size: 16px;
  color: #555;
  margin-bottom: 5px;
}
.empty-state-card p {
  font-size: 13px;
  color: #aaa;
  margin-bottom: 14px;
}
.btn-empty-submit {
  display: inline-block;
  padding: 9px 24px;
  background: #1a8cff;
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s;
}
.btn-empty-submit:hover { background: #0d6efd; color: #fff; }

/* 加载状态 */
.loading-state {
  text-align: center;
  padding: 40px;
  color: #aaa;
  font-size: 14px;
}

/* ===== 空状态 ===== */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #999;
}
.empty-state .icon {
  font-size: 36px;
  margin-bottom: 10px;
}

/* ===== 分页 ===== */
.pagination {
  display: flex;
  gap: 5px;
  justify-content: center;
  margin-top: 16px;
}
.pagination button {
  padding: 5px 12px;
  border: 1px solid #e0e0e0;
  background: #fff;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: all .2s;
  color: #555;
}
.pagination button:hover { border-color: #1a8cff; color: #1a8cff; }
.pagination button.active {
  background: #1a8cff;
  color: #fff;
  border-color: #1a8cff;
}

/* ===== 院校/教师/专业库页面 ===== */
.directory-header {
  margin-bottom: 16px;
}
.directory-header h1 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}
.directory-header p {
  font-size: 13px;
  color: #999;
}
/* ===== 筛选工具栏（院校 / 教师 / 校友 / 专业 统一） ===== */
.directory-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.filter-bar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.filter-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: #1a8cff;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .1s;
  box-shadow: 0 2px 8px rgba(26, 140, 255, .25);
}
.filter-trigger:hover {
  background: #0d6efd;
  box-shadow: 0 4px 14px rgba(13, 110, 253, .3);
}
.filter-trigger:active { transform: translateY(1px); }
.filter-trigger svg { width: 15px; height: 15px; }
.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #fff;
  color: #1a8cff;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
}
.filter-active-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: #eef6ff;
  color: #1a8cff;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
}
.filter-search,
.filter-select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #e6e9ee;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  background: #fafbfc;
  transition: border-color .2s, box-shadow .2s, background .2s;
  box-sizing: border-box;
}
.filter-search:focus,
.filter-select:focus {
  border-color: #1a8cff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26, 140, 255, .12);
}
.filter-select { cursor: pointer; appearance: auto; }
.filter-btn {
  padding: 10px 22px;
  background: #1a8cff;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .1s;
  box-shadow: 0 2px 8px rgba(26, 140, 255, .25);
}
.filter-btn:hover {
  background: #0d6efd;
  box-shadow: 0 4px 14px rgba(13, 110, 253, .3);
}
.filter-btn:active { transform: translateY(1px); }
.filter-reset {
  padding: 8px 14px;
  font-size: 13px;
  color: #888;
  text-decoration: none;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.filter-reset:hover { color: #1a8cff; background: #f2f7ff; }

/* ===== 筛选弹窗 ===== */
.filter-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.filter-modal-overlay[hidden] { display: none; }
.filter-modal {
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .28);
  animation: filterPop .22s ease;
}
@keyframes filterPop {
  from { transform: translateY(16px) scale(.97); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.filter-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #eef0f3;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.filter-modal-header h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #1f2733;
}
.filter-modal-close {
  border: none;
  background: #f3f5f8;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  color: #888;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.filter-modal-close:hover { background: #e9edf2; color: #333; }
.filter-modal-body {
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}
.filter-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.filter-field.full { grid-column: 1 / -1; }
.filter-field label {
  font-size: 13px;
  color: #5a6472;
  font-weight: 500;
}
.filter-field .filter-search,
.filter-field .filter-select {
  width: 100%;
  flex: 0 0 auto;
}
.filter-error {
  grid-column: 1 / -1;
  margin: 0;
  color: #e0301e;
  font-size: 13px;
}
.filter-modal-footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid #f0f2f5;
}
.filter-modal-reset {
  padding: 10px 18px;
  background: #f5f6f8;
  color: #5a6472;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s;
}
.filter-modal-reset:hover { background: #e9edf2; }
@media (max-width: 480px) {
  .filter-modal-body { grid-template-columns: 1fr; }
}

/* 院校对比 */
.inst-compare-btn, .detail-compare-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  color: #1a8cff;
  background: #eef6ff;
  border: 1px solid #cfe4ff;
  border-radius: 16px;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.inst-compare-btn:hover, .detail-compare-btn:hover { background: #dcecff; }
.inst-compare-btn.added, .detail-compare-btn.added { color: #fff; background: #1a8cff; border-color: #1a8cff; }
.inst-compare-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
}
.inst-showcase-card { position: relative; }
.detail-compare-btn { margin-left: 10px; }

/* 浮动对比栏 */
.compare-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  background: #fff;
  border-top: 1px solid #eef0f3;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .08);
}
.compare-bar[hidden] { display: none; }
.compare-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.compare-bar-info { font-size: 14px; color: #555; }
.compare-bar-info strong { color: #1a8cff; font-size: 16px; }
.compare-bar-actions { display: flex; gap: 10px; }
.compare-bar-clear {
  padding: 8px 16px;
  background: #f5f6f8;
  color: #666;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}
.compare-bar-clear:hover { background: #eceef1; }
.compare-bar-go {
  padding: 8px 22px;
  background: #1a8cff;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.compare-bar-go:hover { background: #0d6efd; }

/* 对比表 */
.compare-scroll {
  overflow-x: auto;
  margin-bottom: 80px;
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
}
.compare-table th, .compare-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid #eef0f3;
  font-size: 14px;
}
.compare-metric-th {
  width: 130px;
  background: #f5f9ff;
  color: #1a8cff;
  font-weight: 600;
  text-align: left;
  position: sticky;
  left: 0;
  z-index: 2;
}
.compare-metric-name {
  text-align: left;
  background: #fafbfc;
  color: #444;
  font-weight: 500;
  position: sticky;
  left: 0;
  z-index: 1;
  white-space: nowrap;
}
.compare-inst-th { vertical-align: top; border-bottom: 2px solid #1a8cff; }
.compare-inst-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  min-width: 150px;
}
.compare-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: #ff5b5b;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
.compare-remove:hover { background: #e84646; }
.compare-inst-logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #eef6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.compare-inst-logo img { width: 100%; height: 100%; object-fit: cover; }
.compare-inst-logo span { font-size: 22px; font-weight: 700; color: #1a8cff; }
.compare-inst-name { font-size: 15px; font-weight: 600; color: #222; text-decoration: none; }
.compare-inst-name:hover { color: #1a8cff; }
.compare-inst-sub { font-size: 12px; color: #999; }
.compare-cell { color: #333; }
.compare-best { background: #eaf6ff; color: #0d6efd; font-weight: 700; }
.compare-best::after { content: ' ▲'; font-size: 10px; }
.compare-add-th { background: #fafbfc; }
.compare-add-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 120px;
  min-height: 90px;
  color: #1a8cff;
  text-decoration: none;
  border: 1px dashed #cfe4ff;
  border-radius: 10px;
  font-size: 13px;
}
.compare-add-link:hover { background: #eef6ff; }
.compare-note { font-size: 12px; color: #999; margin: -60px 0 80px; }

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.dir-grid-teacher {
  grid-template-columns: repeat(3, 1fr);
}
.directory-card {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .2s, transform .2s;
  border: 1px solid #f0f0f0;
}
.directory-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.directory-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.directory-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.directory-logo-default {
  background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
  border: 1px solid #e0e0e0;
  color: #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
}
.directory-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.directory-avatar-default {
  background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
  border: 1px solid #e0e0e0;
  color: #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
}
.directory-card-titles {
  min-width: 0;
}
.directory-card-titles h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 2px;
}
.directory-sub {
  font-size: 12px;
  color: #999;
}
.directory-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.dir-badge {
  display: inline-block;
  padding: 2px 8px;
  background: #f5f5f5;
  border-radius: 4px;
  font-size: 11px;
  color: #777;
}
.dir-badge-level {
  background: #f0f8ff;
  color: #1a8cff;
}
.dir-badge-title {
  background: #e3f2fd;
  color: #1565c0;
}
.dir-badge-category {
  background: #fff8e1;
  color: #e65100;
  font-weight: 500;
}
.dir-badge-degree {
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 13px;
  padding: 4px 12px;
}
.detail-nodata {
  font-size: 16px;
  color: #bbb;
  letter-spacing: 2px;
}
.directory-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.directory-tag-row {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.dir-tag {
  padding: 2px 8px;
  background: #f5f5f5;
  border-radius: 10px;
  font-size: 11px;
  color: #888;
}
.teacher-title-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.alumni-achievement {
  font-size: 12px;
  color: #b8860b;
  background: #fffbe6;
  border: 1px solid #ffe58f;
  border-radius: 6px;
  padding: 4px 8px;
  line-height: 1.5;
}
.alumni-achievement-detail {
  font-size: 14px;
  color: #8a6d3b;
  background: #fffbe6;
  border-left: 3px solid #faad14;
  border-radius: 4px;
  padding: 10px 14px;
  line-height: 1.7;
}

/* 专业库列表 */

/* ===== 榜单页面 ===== */
.rankings-hero {
  background-image: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.55)), var(--rankings-hero-bg, url('/images/bg_bcsr_detail@3x.png'));
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 40px 0 48px;
  margin-bottom: 30px;
}
.rankings-breadcrumb {
  font-size: 13px;
  opacity: .85;
  margin-bottom: 16px;
}
.rankings-breadcrumb a { color: #fff; text-decoration: none; }
.rankings-breadcrumb a:hover { text-decoration: underline; }
.rankings-breadcrumb span { margin: 0 8px; }
.rankings-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}
.rankings-desc {
  font-size: 14px;
  line-height: 1.7;
  opacity: .92;
  max-width: 760px;
}
.rankings-section { margin-bottom: 40px; }
.rankings-section .section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
}
.rankings-section .title-bar {
  display: inline-block;
  width: 4px;
  height: 18px;
  background: #1a8cff;
  border-radius: 2px;
}
.rankings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.rankings-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  padding: 18px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
  text-decoration: none;
  color: inherit;
}
.rankings-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  transform: translateY(-3px);
  border-color: #d0e8ff;
}
.rankings-card-icon {
  font-size: 28px;
  margin-bottom: 10px;
}
.rankings-card-info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #222;
}
.rankings-card-info p {
  font-size: 12px;
  color: #888;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rankings-card-top {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rankings-card-top .top-label {
  font-size: 11px;
  color: #d32f2f;
  font-weight: 700;
  border: 1px solid #ffcdd2;
  display: inline-block;
  align-self: flex-start;
  padding: 1px 6px;
  border-radius: 4px;
}
.rankings-card-top .top-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rankings-card-top .top-value {
  font-size: 12px;
  color: #1a8cff;
  font-weight: 700;
}

/* 榜单详情页 */
.ranking-detail {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 40px;
}
.ranking-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}
.ranking-detail-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
}
.ranking-detail-title .title-bar {
  display: inline-block;
  width: 4px;
  height: 18px;
  background: #1a8cff;
  border-radius: 2px;
}
.ranking-count {
  font-size: 13px;
  color: #888;
}
.ranking-filter-bar {
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 18px;
}
.ranking-filter-form {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.ranking-filter-select,
.ranking-filter-search {
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  background: #fff;
}
.ranking-filter-select { cursor: pointer; min-width: 140px; }
.ranking-filter-search { flex: 1; min-width: 180px; }
.ranking-filter-select:focus,
.ranking-filter-search:focus { border-color: #1a8cff; }
.ranking-filter-btn {
  padding: 8px 18px;
  background: #1a8cff;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
}
.ranking-filter-btn:hover { background: #0d6efd; }
.ranking-filter-reset {
  font-size: 13px;
  color: #888;
  text-decoration: none;
}
.ranking-filter-reset:hover { color: #1a8cff; }
.ranking-table-wrap { overflow-x: auto; }
.ranking-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.ranking-table thead th {
  background: #fafafa;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: #555;
  border-bottom: 1px solid #f0f0f0;
  white-space: nowrap;
}
.ranking-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid #f5f5f5;
  vertical-align: middle;
}
.ranking-table tbody tr:hover { background: #fafafa; }
.ranking-table .rank-col { width: 70px; text-align: center; }
.ranking-table .school-col { min-width: 220px; }
.ranking-table .province-col { width: 90px; color: #666; }
.ranking-table .score-col { width: 120px; }
.ranking-table .nation-col { width: 110px; text-align: center; color: #888; }
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #f0f0f0;
  color: #666;
  font-weight: 700;
  font-size: 13px;
}
.rank-badge.rank-1 { background: #fff8e1; color: #d4a017; }
.rank-badge.rank-2 { background: #f5f5f5; color: #666; }
.rank-badge.rank-3 { background: #f5ebe0; color: #b87333; }
.ranking-school {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.ranking-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #f0f0f0;
}
.ranking-logo-default {
  background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
  color: #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ranking-school-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.ranking-school-info strong {
  font-size: 15px;
  font-weight: 600;
  color: #222;
}
.ranking-tags {
  font-size: 12px;
  color: #999;
}
.ranking-score {
  font-size: 16px;
  font-weight: 700;
  color: #1a8cff;
}

@media (max-width: 968px) {
  .rankings-grid { grid-template-columns: repeat(2, 1fr); }
  .rankings-title { font-size: 26px; }
}
@media (max-width: 640px) {
  .rankings-grid { grid-template-columns: 1fr; }
  .rankings-hero { padding: 28px 0 34px; }
  .ranking-detail { padding: 16px; }
  .ranking-table .school-col { min-width: 160px; }
  .ranking-table .score-col, .ranking-table .nation-col { white-space: nowrap; }
}

.major-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.major-card {
  background: #fff;
  border-radius: 10px;
  padding: 18px 22px;
  border: 1px solid #f0f0f0;
  transition: box-shadow .2s;
}
.major-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.major-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.major-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.major-code {
  font-size: 12px;
  color: #aaa;
  font-family: monospace;
}
.major-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* ===== 浮动操作区（投稿 + 返回顶部） ===== */
.float-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 99;
}
.float-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.float-btn-submit {
  background: #1a8cff;
  color: #fff;
}
.float-btn-submit:hover {
  background: #0d6efd;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(211,47,47,.35);
}
.float-btn-top {
  background: #fff;
  color: #666;
  border: 1px solid #e8e8e8;
  display: none;
}
.float-btn-top:hover {
  background: #f5f5f5;
  color: #1a8cff;
  border-color: #1a8cff;
}

/* ===== 面包屑 ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #999;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumb a { color: #666; transition: color .2s; }
.breadcrumb a:hover { color: #1a8cff; }
.bc-sep { color: #ccc; }
.bc-current { color: #333; font-weight: 500; }

/* ===== 详情页布局 ===== */
.detail-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.detail-card {
  background: #fff;
  border-radius: 10px;
  padding: 24px 28px;
  margin-bottom: 16px;
}
.detail-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 20px;
}
.detail-hero-logo {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #f0f0f0;
}
.detail-hero-logo-default {
  background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
  border: 1px solid #e0e0e0;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-hero-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #f0f0f0;
}
.detail-hero-avatar-default {
  background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
  border: 2px solid #e0e0e0;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-hero-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1a8cff, #4dabf7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.detail-hero-info {
  flex: 1;
  min-width: 0;
}
.detail-hero-info h1 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  color: #1a1a1a;
}
.detail-hero-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.detail-hero-title h1 {
  margin-bottom: 0;
}
.detail-hero-en {
  font-size: 13px;
  color: #888;
  margin: -2px 0 8px;
  line-height: 1.3;
}
.detail-hero-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.detail-visit-btn {
  padding: 8px 18px;
  background: #1a8cff;
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s;
}
.detail-visit-btn:hover { background: #0d6efd; color: #fff; }

.detail-env-banner {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #f5f7fa;
}
.detail-env-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-section {
  margin-bottom: 24px;
}
.detail-section:last-child { margin-bottom: 0; }
.detail-section-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 3px solid #1a8cff;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
}
.detail-section-title svg {
  color: #1a8cff;
  flex-shrink: 0;
}
.detail-sections {
  margin-top: 8px;
}
.inst-keyinfo-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 20px;
  padding: 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}
.keyinfo-item {
  flex: 1;
  min-width: 120px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid #f0f0f0;
}
.keyinfo-item:last-child { border-right: none; }
.keyinfo-label {
  font-size: 11px;
  color: #999;
}
.keyinfo-value {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}
.keyinfo-link {
  font-size: 14px;
  color: #1a8cff;
  text-decoration: none;
}
.keyinfo-link:hover { text-decoration: underline; }
.keyinfo-rank {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  transition: color .15s ease;
}
.keyinfo-rank:hover { color: #f5b800; }
.keyinfo-rank .sr-crown {
  width: 14px;
  height: 14px;
  fill: #f5b800;
  flex: none;
}
.keyinfo-rank.not-listed {
  color: #999;
  font-weight: 500;
}
.keyinfo-rank.not-listed:hover {
  color: #999;
}

.inst-metrics-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.metric-card {
  flex: 1;
  min-width: 100px;
  text-align: center;
  padding: 20px 12px;
  background: #fafafa;
  border-radius: 10px;
  border: 1px solid #f0f0f0;
}
.metric-value {
  font-size: 28px;
  font-weight: 700;
  color: #1a8cff;
  line-height: 1.2;
}
.metric-label {
  font-size: 12px;
  color: #888;
  margin-top: 6px;
}
.metric-card-sm {
  flex: 0 0 auto;
  min-width: 90px;
  padding: 14px 10px;
}
.metric-card-sm .metric-value {
  font-size: 22px;
}
.metric-card-sm .metric-label {
  font-size: 11px;
  margin-top: 4px;
}
@media (max-width: 640px) {
  .inst-keyinfo-bar { flex-direction: column; }
  .keyinfo-item { border-right: none; border-bottom: 1px solid #f0f0f0; }
  .keyinfo-item:last-child { border-bottom: none; }
  .inst-metrics-grid { flex-direction: column; }
}

/* 专业设置 - 表格布局 */
.major-setup-wrap {
  border: 1px solid #eef0f3;
  border-radius: 10px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}
.major-setup-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  min-width: 100%;
  font-size: 14px;
}
.major-setup-table thead th {
  padding: 12px 14px;
  background: #f5f9ff;
  font-size: 14px;
  font-weight: 600;
  color: #1a8cff;
  text-align: left;
  white-space: nowrap;
  border-bottom: 2px solid #dbe7f5;
}
.major-setup-table tbody td {
  padding: 12px 14px;
  vertical-align: middle;
  font-size: 14px;
  color: #444;
  border-bottom: 1px solid #eef0f3;
  border-right: 1px solid #eef0f3;
}
.major-setup-table tbody td:last-child {
  border-right: none;
}
.major-setup-table tbody tr:last-child td {
  border-bottom: none;
}
.major-setup-table tbody tr {
  transition: background-color 0.15s ease;
}
.major-setup-table tbody tr:hover td {
  background: #f8fbff;
}
.major-setup-th-dept {
  width: 30%;
}
.major-setup-th-majors {
  width: 70%;
}
.major-setup-td-dept {
  font-weight: 600;
  color: #333;
  text-align: left;
  background: #fafbfc;
}
.major-setup-td-majors {
  color: #555;
  line-height: 1.9;
  overflow-wrap: break-word;
}
.major-setup-td-majors a {
  color: #1a8cff;
  text-decoration: none;
  transition: color 0.15s ease;
}
.major-setup-td-majors a:hover {
  color: #0d6efd;
  text-decoration: underline;
}
.major-text {
  color: #1a8cff;
}
.major-sep {
  color: #c0c4cc;
  margin: 0 2px;
}

@media (max-width: 768px) {
  .major-setup-wrap {
    border-radius: 8px;
  }
  .major-setup-table thead th {
    padding: 10px 12px;
    font-size: 13px;
  }
  .major-setup-table tbody td {
    padding: 10px 12px;
    font-size: 13px;
  }
  .major-setup-td-majors {
    line-height: 1.8;
  }
  .major-setup-th-dept {
    width: 30%;
  }
  .major-setup-th-majors {
    width: 70%;
  }
}

.detail-nav-widget .sidebar-nav-item {
  font-size: 13px;
  padding: 6px 10px;
}
.detail-nav-widget .sidebar-nav-item:hover {
  color: #1a8cff;
  background: #fff5f5;
}
.detail-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}
.sidebar-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sidebar-nav-item {
  display: block;
  padding: 9px 14px;
  background: #f9f9f9;
  border-radius: 8px;
  font-size: 13px;
  color: #555;
  transition: all .2s;
  border: 1px solid transparent;
}
.sidebar-nav-item:hover {
  background: #f0f8ff;
  color: #1a8cff;
  border-color: #c8e6ff;
}

/* ===== 文章分享侧边栏 ===== */
.article-share-bar {
  position: fixed;
  left: calc((100vw - 1200px) / 2 - 60px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 50;
}
.share-sidebar {
  position: sticky;
  top: 72px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
}
.share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s;
  border: 1px solid #e8e8e8;
  background: #fff;
  color: #666;
  position: relative;
}
.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.share-btn-wechat:hover { background: #07c160; color: #fff; border-color: #07c160; }
.share-btn-weibo:hover { background: #e6162d; color: #fff; border-color: #e6162d; }
.share-btn-link:hover { background: #1a8cff; color: #fff; border-color: #1a8cff; }

/* 微信二维码弹层 */
.share-qr-popup {
  position: absolute;
  left: 50px;
  top: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  padding: 16px;
  width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-8px);
  transition: all .25s;
  z-index: 100;
  border: 1px solid #f0f0f0;
}
.share-btn-wechat:hover .share-qr-popup {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.share-qr-popup img {
  width: 148px;
  height: 148px;
  border-radius: 8px;
  display: block;
  margin: 0 auto 8px;
}
.share-qr-popup p {
  text-align: center;
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}
.share-qr-popup .qr-title {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

/* 复制成功提示 */
.share-copy-toast {
  position: absolute;
  left: 50px;
  top: 50%;
  transform: translateY(-50%);
  background: #333;
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all .2s;
  z-index: 100;
}
.share-copy-toast.show {
  opacity: 1;
  visibility: visible;
}

/* ===== 响应式 ===== */
/* 导航栏右侧区域 */
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
/* 移动端汉堡菜单按钮 */
.hamburger {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  background: #fafafa;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #666;
  transition: all .2s;
}
.hamburger:hover { background: #f0f8ff; border-color: #c8e6ff; color: #1a8cff; }
.hamburger svg { width: 20px; height: 20px; }

@media (max-width: 968px) {
  .sidebar { width: 100%; }
  .content-row { flex-direction: column; }
  .featured-section { grid-template-columns: 1fr; height: auto; }
  .featured-carousel-wrap, .featured-side-wrap { height: auto; }
  .featured-carousel { height: 220px; }
  .featured-side { flex-direction: row; height: 120px; }
  .article-card .thumb { width: 110px; height: 72px; }
  .article-detail { padding: 20px; }
  .article-detail h1 { font-size: 20px; }
  .related-grid { grid-template-columns: 1fr; }
  .submit-form-grid { flex-direction: column; }
  .submit-form-side { width: 100%; position: static; }
  .profile-stats { grid-template-columns: repeat(2, 1fr); }
  .profile-banner-inner { flex-direction: column; text-align: center; }
  .profile-banner-left { flex-direction: column; }
  .edit-form-row { flex-direction: column; gap: 0; }
  /* 认证页面：左侧品牌区隐藏，表单全宽 */
  .auth-card { flex-direction: column; min-height: auto; }
  .auth-brand-side { display: none; }
  .auth-form-side { padding: 28px 24px; }
  .auth-form-row { flex-direction: column; gap: 0; }
  /* 页脚响应式 */
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-col-narrow { max-width: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  /* 院校库响应式 */
  .directory-grid, .dir-grid-teacher { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { flex-direction: column; }
  .article-share-bar { left: 12px; top: auto; bottom: 70px; transform: none; }
  /* 首页hero区域 */
  .hero-section { flex-direction: column; gap: 16px; }
  .hero-carousel-wrap { width: 100%; }
  .featured-carousel { height: 220px; }
  .hero-recommend { grid-template-columns: repeat(3, 1fr); }
  .hero-briefing { width: 100%; min-height: var(--hero-h); }
  /* 院校展示4列 */
  .directory-grid { grid-template-columns: repeat(4, 1fr); }
}

/* 平板及以下：显示汉堡菜单，折叠导航 */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-menu {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all .25s;
    z-index: 99;
    overflow-x: visible;
  }
  .nav-menu.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-menu a {
    padding: 12px 20px;
    font-size: 15px;
    border-radius: 0;
    border-bottom: 1px solid #f5f5f5;
  }
  .nav-menu a:last-child { border-bottom: none; }
  .nav-dropdown { position: static; }
  .nav-dropdown > a { border-bottom: 1px solid #f5f5f5; }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: #fafafa;
    padding: 0 0 0 20px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: flex; }
  .nav-dropdown-menu a { font-size: 14px; padding: 10px 16px; }
  /* 搜索弹窗移动端 */
  .search-modal-overlay { padding-top: 60px; }
  .search-modal { width: 92%; }
  .search-modal-header { padding: 12px 14px; }
  .search-modal-header input { font-size: 15px; }
  .search-modal-hint { padding: 8px 14px; font-size: 12px; }
  /* 卡片移动端 */
  .article-card .summary { -webkit-line-clamp: 2; }
}

@media (max-width: 640px) {
  .header-inner { height: 54px; padding: 0 12px; }
  .logo { font-size: 19px; margin-right: 14px; }
  .logo-icon { width: 32px; height: 32px; font-size: 16px; }
  .logo-img { height: 36px; max-width: 100px; }
  .featured-carousel { height: 180px; }
  .hero-recommend { grid-template-columns: 1fr; gap: 8px; }
  .hero-recommend-thumb { width: 100%; height: 160px; }
  .featured-side { flex-direction: column; height: auto; gap: 8px; }
  .featured-item { height: 100px; flex: none; }
  .featured-item .overlay h3 { font-size: 13px; }
  .carousel-slide .overlay h2 { font-size: 15px; }
  .container { margin: 12px auto; padding: 0 12px; }
  .section-title { font-size: 14px; margin-bottom: 12px; }
  .article-meta { flex-wrap: wrap; gap: 4px 8px; font-size: 11px; }
  .article-meta .cat-badge { font-size: 11px; }
  .article-meta .tag { font-size: 11px; }
  .page-header { flex-direction: column; gap: 8px; align-items: flex-start; }
  .page-header h1 { font-size: 18px; }
  .widget { padding: 14px; }
  .widget-title { font-size: 14px; }
  .popular-list .popular-title { font-size: 13px; }
  .nav-menu a { padding: 5px 8px; font-size: 12px; }
  .search-trigger { width: 32px; height: 32px; }
  .user-avatar-sm { width: 26px; height: 26px; font-size: 12px; }
  .article-card { flex-direction: column; gap: 8px; }
  .article-card .thumb { width: 100%; height: 160px; }
  .article-detail { padding: 14px; border-radius: 8px; }
  .article-detail h1 { font-size: 18px; }
  .article-content { font-size: 14px; }
  .auth-page { margin: 16px auto; }
  .auth-form-side { padding: 24px 18px; }
  .auth-form-header h1 { font-size: 20px; }
  .submit-container { margin: 16px auto; }
  .submit-form-box { padding: 18px; }
  .editor-body { padding: 12px; }
  .toolbar-group button { padding: 4px 7px; font-size: 11px; }
  .user-name-sm { display: none; }
  .nav-login, .nav-register { padding: 4px 10px; font-size: 12px; }
  .profile-page { padding: 12px 12px; }
  .profile-banner { padding: 20px 18px; }
  .profile-banner-info h1 { font-size: 18px; }
  .profile-avatar-lg { width: 48px; height: 48px; font-size: 20px; }
  .profile-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-num { font-size: 20px; }
  .stat-icon-wrap { width: 30px; height: 30px; }
  .profile-tabs a { padding: 8px 12px; font-size: 13px; }
  .sub-card { padding: 14px; }
  .sub-card-header { flex-direction: column; gap: 5px; }
  .profile-edit-card { padding: 20px 16px; }
  .btn-new-submission { padding: 8px 18px; font-size: 13px; }
  /* 页脚小屏 */
  .footer-top { grid-template-columns: 1fr; }
  .footer { padding: 24px 14px 0; }
  /* 院校库小屏 */
  .directory-grid, .dir-grid-teacher { grid-template-columns: 1fr; }
  .float-actions { right: 12px; bottom: 12px; }
  .detail-card { padding: 16px; }
  .detail-hero { flex-direction: column; text-align: center; gap: 10px; }
  .detail-hero-info h1 { font-size: 18px; }
  .detail-hero-title { justify-content: center; }
  .keyinfo-rank .sr-crown { width: 13px; height: 13px; }
  .share-btn { width: 34px; height: 34px; }
  /* 首页hero区域小屏 */
  .hero-carousel-wrap { height: 180px; }
  .hero-briefing { padding: 12px; }
  .hero-briefing-title { font-size: 14px; }
  .hero-briefing .briefing-ticker-link { font-size: 13px; }
  /* 院校展示2列 */
  .directory-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .inst-showcase-card { padding: 14px 8px 12px; }
  .inst-showcase-logo { width: 52px; height: 52px; }
  .inst-showcase-info h4 { font-size: 12px; }
  /* 首页区块标题 */
  .home-section-title { font-size: 17px; }
  .home-section-more { font-size: 13px; }
  /* 资讯精选 */
  .news-featured-card .news-featured-thumb { height: 130px; }
  .news-featured-card.large .news-featured-thumb { height: 150px; }
  .news-featured-info h3 { font-size: 14px; }
  .news-featured-card.large .news-featured-info h3 { font-size: 15px; }
  /* 广告位 */
  .ad-widget { margin-bottom: 14px; }
  /* 推荐新闻 */
  .rec-news-thumb { width: 72px; height: 52px; }
  .rec-news-info h4 { font-size: 13px; }
}

/* ===== 专栏列表页 ===== */
.columns-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}
.column-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid #f0f0f0;
  transition: box-shadow .2s, transform .2s;
}
.column-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.column-card-cover {
  height: 160px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.column-card-cover-default {
  background: linear-gradient(135deg, #1a8cff 0%, #0d6efd 100%);
}
.column-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 8px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
}
.column-card-count {
  font-size: 12px;
  color: #fff;
  font-weight: 600;
}
.column-card-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.column-card-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: #222;
}
.column-card-subtitle {
  font-size: 13px;
  color: #999;
  margin: 0;
}
.column-card-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.column-card-author {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #aaa;
  margin-top: 4px;
}

/* ===== 专栏详情页 ===== */
.column-hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
}
.column-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.column-hero-bg-default {
  background: linear-gradient(135deg, #1a8cff 0%, #6a1b9a 100%);
}
.column-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}
.column-hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 36px;
  color: #fff;
}
.column-hero-title {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 8px;
}
.column-hero-subtitle {
  font-size: 15px;
  opacity: .85;
  margin: 0 0 10px;
}
.column-hero-desc {
  font-size: 14px;
  line-height: 1.7;
  opacity: .8;
  margin: 0 0 16px;
  max-width: 700px;
}
.column-hero-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  opacity: .85;
}
.column-hero-author,
.column-hero-count {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* 侧边栏专栏列表 */
.column-side-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.column-side-item {
  display: flex;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  padding: 8px;
  border-radius: 8px;
  transition: background .2s;
}
.column-side-item:hover {
  background: #f8f8f8;
}
.column-side-cover {
  width: 48px;
  height: 32px;
  border-radius: 5px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.column-side-cover-default {
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
}
.column-side-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.column-side-title {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.column-side-sub {
  font-size: 12px;
  color: #aaa;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 专栏响应式 */
@media (max-width: 768px) {
  .columns-grid { grid-template-columns: 1fr; }
  .column-hero-content { padding: 24px 18px; }
  .column-hero-title { font-size: 22px; }
}

/* ============ 关于页面 ============ */
.about-page {
  background: #f8f9fa;
  min-height: 100vh;
}

/* Hero 区域 */
.about-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 80px 20px 60px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}
.about-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  border-radius: 50%;
}
.about-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.about-hero-title {
  font-size: 38px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: 2px;
}
.about-hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  margin: 0 0 28px;
  letter-spacing: 1px;
}
.about-hero-desc {
  font-size: 15px;
  line-height: 2;
  color: rgba(255,255,255,0.8);
  margin: 0 0 12px;
  text-align: left;
  text-indent: 2em;
}

/* 板块导航 */
.about-nav {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.about-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 4px;
  padding: 0 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.about-nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px 18px;
  font-size: 14px;
  color: #666;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
}
.about-nav-link:hover {
  color: #1a1a2e;
}
.about-nav-link.active {
  color: #1a1a2e;
  border-bottom-color: #1a1a2e;
  font-weight: 600;
}
.about-nav-num {
  font-size: 12px;
  color: #aaa;
  font-family: 'Georgia', serif;
}
.about-nav-link.active .about-nav-num {
  color: #1a1a2e;
}

/* 内容板块 */
.about-sections {
  max-width: 860px;
  margin: 0 auto;
  padding: 20px;
}
.about-section {
  padding: 50px 0;
  border-bottom: 1px solid #eee;
}
.about-section:last-child {
  border-bottom: none;
}
.about-section-inner {
  background: #fff;
  border-radius: 12px;
  padding: 40px 44px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.about-section-header {
  margin-bottom: 24px;
}
.about-section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
  background: rgba(26,26,46,0.08);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.about-section-subtitle {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.4;
}
.about-section-content {
  font-size: 15px;
  line-height: 2;
  color: #444;
}
.about-section-content p {
  margin: 0 0 16px;
}
.about-section-content p:last-child {
  margin-bottom: 0;
}
.about-section-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 20px 0 12px;
}
.about-section-image {
  margin-top: 24px;
  border-radius: 10px;
  overflow: hidden;
}
.about-section-image img {
  width: 100%;
  display: block;
}
.about-section-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 14px;
  color: #1a1a2e;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid #1a1a2e;
  transition: opacity 0.2s;
}
.about-section-link:hover {
  opacity: 0.7;
}

/* 联系我们 */
.about-contact {
  background: #fff;
  padding: 60px 20px;
  margin-top: 20px;
}
.about-contact-inner {
  max-width: 860px;
  margin: 0 auto;
}
.about-contact-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 32px;
  text-align: center;
}
.about-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.about-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: box-shadow 0.2s;
}
.about-contact-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.about-contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: #1a1a2e;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.about-contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.about-contact-label {
  font-size: 13px;
  color: #999;
}
.about-contact-value {
  font-size: 15px;
  color: #1a1a2e;
  font-weight: 500;
  text-decoration: none;
  word-break: break-all;
}
a.about-contact-value:hover {
  text-decoration: underline;
}
.about-contact-extra {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}
.about-contact-extra-item {
  font-size: 14px;
  color: #666;
}
.about-contact-extra-label {
  color: #999;
}
.about-contact-extra-value {
  color: #1a1a2e;
  text-decoration: none;
  font-weight: 500;
}
a.about-contact-extra-value:hover {
  text-decoration: underline;
}

/* 关于页面响应式 */
@media (max-width: 768px) {
  .about-hero { padding: 50px 16px 40px; }
  .about-hero-title { font-size: 26px; }
  .about-hero-subtitle { font-size: 14px; }
  .about-hero-desc { font-size: 14px; line-height: 1.8; }
  .about-nav-inner { padding: 0 12px; }
  .about-nav-link { padding: 12px 14px; font-size: 13px; }
  .about-sections { padding: 12px; }
  .about-section { padding: 24px 0; }
  .about-section-inner { padding: 24px 20px; }
  .about-section-subtitle { font-size: 20px; }
  .about-section-content { font-size: 14px; line-height: 1.8; }
  .about-contact { padding: 40px 16px; }
  .about-contact-title { font-size: 22px; }
  .about-contact-grid { grid-template-columns: 1fr; gap: 16px; }
  .about-contact-extra { flex-direction: column; gap: 12px; align-items: center; }
}

/* ===== 院校信息雷达图 ===== */
.radar-widget { padding: 14px 12px; }
.radar-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border-radius: 10px;
  transition: box-shadow .18s ease, transform .18s ease;
}
.radar-link:hover {
  box-shadow: 0 6px 20px rgba(26,140,255,0.18);
  transform: translateY(-2px);
}
.guan-rank-row {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  margin-top: 8px;
}
.guan-rank {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
}
.guan-rank-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  color: #b8860b;
}
.guan-rank-num {
  font-size: 16px;
  font-weight: 800;
  color: #e0962a;
}
.radar-more {
  display: block;
  text-align: right;
  font-size: 13px;
  font-weight: 600;
  color: #1a8cff;
}
.radar-link:hover .radar-more { text-decoration: underline; }
.radar-chart-wrap { display: flex; justify-content: center; margin-bottom: 8px; }
.radar-svg { width: 100%; max-width: 240px; height: auto; }
.radar-legend { display: flex; flex-direction: column; }
.radar-legend-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 2px;
  border-bottom: 1px dashed #f0f0f0;
  font-size: 12px;
}
.radar-legend-item:last-child { border-bottom: none; }
.radar-legend-label { color: #888; }
.radar-legend-value { color: #1a8cff; font-weight: 600; }
.radar-cutoff { text-align: center; font-size: 11px; color: #aaa; margin-top: 10px; padding-top: 8px; border-top: 1px solid #f0f0f0; }

/* ===== 热门院校缩略图占位符 ===== */
.popular-thumb-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #4dabf7, #1a8cff);
  color: #fff; font-size: 16px; font-weight: 700;
  border-radius: 50%;
}

/* ===== 快讯列表页（时间线） ===== */
.briefing-list-header {
  margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 2px solid #f0f0f0;
}
.briefing-list-header .page-title {
  font-size: 24px; font-weight: 700; color: #222; margin: 0 0 4px;
}
.briefing-list-header .page-subtitle {
  font-size: 14px; color: #999; margin: 0;
}
.briefing-timeline { position: relative; }
.briefing-timeline::before {
  content: ''; position: absolute; left: 55px; top: 0; bottom: 0;
  width: 2px; background: #f0f0f0;
}
.briefing-date-group { margin-bottom: 28px; }
.briefing-date-header {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px; padding-left: 70px;
  position: relative;
}
.briefing-date-header::before {
  content: ''; position: absolute; left: 50px; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: #1a8cff; border: 3px solid #fff;
  box-shadow: 0 0 0 2px #1a8cff;
}
.briefing-date-text {
  font-size: 16px; font-weight: 700; color: #333;
}
.briefing-weekday {
  font-size: 13px; color: #999;
}
.briefing-item {
  display: flex; gap: 15px; padding: 16px 20px;
  position: relative;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}
.briefing-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.briefing-item:last-child { margin-bottom: 0; }
.briefing-time {
  width: 45px; flex-shrink: 0;
  font-size: 14px; font-weight: 600; color: #1a8cff;
  text-align: right; padding-top: 1px;
}
.briefing-content { flex: 1; min-width: 0; }
.briefing-title {
  font-size: 16px; font-weight: 600; margin: 0 0 4px;
  line-height: 1.5;
}
.briefing-title a {
  color: #222; text-decoration: none; transition: color 0.2s;
}
.briefing-title a:hover { color: #1a8cff; }
.briefing-summary {
  font-size: 14px; color: #666; line-height: 1.6; margin: 0 0 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.briefing-meta { display: flex; gap: 10px; align-items: center; }
.briefing-tag {
  display: inline-block; font-size: 12px; color: #1a8cff;
  background: #e8f4ff; padding: 1px 8px; border-radius: 10px;
}
.briefing-source { font-size: 12px; color: #bbb; }

/* ===== 快讯详情页 ===== */
.briefing-detail { padding: 0; }
.briefing-detail-meta {
  display: flex; gap: 12px; align-items: center;
  margin-bottom: 12px; flex-wrap: wrap;
}
.briefing-detail-time { font-size: 13px; color: #999; }
.briefing-detail-title {
  font-size: 24px; font-weight: 700; color: #222;
  line-height: 1.4; margin: 0 0 16px;
}
.briefing-detail-summary {
  font-size: 15px; color: #555; line-height: 1.8;
  padding: 12px 16px; background: #f9f9f9;
  border-left: 3px solid #1a8cff; border-radius: 0 4px 4px 0;
  margin-bottom: 20px;
}
.briefing-detail-cover { margin-bottom: 20px; }
.briefing-detail-cover img { width: 100%; border-radius: 8px; }
.briefing-nav {
  display: flex; gap: 16px; margin-top: 32px; padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}
.briefing-nav-prev, .briefing-nav-next {
  flex: 1; display: flex; flex-direction: column; gap: 4px;
  padding: 12px 16px; border-radius: 8px;
  background: #f9f9f9; text-decoration: none;
  transition: background 0.2s;
}
.briefing-nav-prev:hover, .briefing-nav-next:hover { background: #fff5f5; }
.briefing-nav-next { text-align: right; }
.briefing-nav .label { font-size: 12px; color: #999; }
.briefing-nav .title { font-size: 14px; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.briefing-nav .disabled { opacity: 0.5; cursor: default; }
.briefing-nav .disabled:hover { background: #f9f9f9; }
.empty-block { text-align: center; padding: 60px 20px; color: #999; font-size: 15px; }
.load-more-wrap { text-align: center; padding: 20px 0; }
.load-more-btn {
  display: inline-block; padding: 10px 32px;
  border: 1px solid #1a8cff; color: #1a8cff; text-decoration: none;
  background: #fff; cursor: pointer; font-family: inherit;
  border-radius: 6px; font-size: 14px; transition: all 0.2s;
}
.load-more-btn:hover { background: #1a8cff; color: #fff; }

/* ===== 热门院校占位图 ===== */
.popular-thumb-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: #f0f0f0; border-radius: 50%;
}
.popular-thumb-placeholder span {
  font-size: 18px; font-weight: 700; color: #1a8cff;
}

/* ===== 侧边栏快讯轮播 ===== */
.briefing-ticker-widget .widget-title.has-accent {
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
  padding-left: 12px;
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}
.briefing-ticker-widget .widget-title.has-accent::before {
  content: '';
  position: absolute;
  left: 0; top: 2px; bottom: 8px;
  width: 4px;
  background: #1a8cff;
  border-radius: 2px;
}
.briefing-ticker-widget .widget-more-link {
  font-size: 13px; font-weight: 400; color: #999; text-decoration: none;
}
.briefing-ticker-widget .widget-more-link:hover { color: #1a8cff; }
.briefing-ticker-widget .briefing-ticker-wrap {
  overflow: hidden; position: relative;
  padding-left: 22px;
}
.briefing-ticker-widget .briefing-ticker-wrap::before {
  content: '';
  position: absolute;
  left: 7px; top: 0; bottom: 0;
  width: 1px;
  background: #c0c0c0;
  z-index: 1;
}
.briefing-ticker-widget .briefing-ticker-track {
  position: relative;
  height: auto !important;
}
.briefing-ticker-widget .briefing-ticker-track.scrolling {
  animation: tickerScrollUp linear infinite;
}
.briefing-ticker-widget .briefing-ticker-track.scrolling:hover {
  animation-play-state: paused;
}
@keyframes tickerScrollUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(var(--scroll-dist, -50%)); }
}
.briefing-ticker-widget .briefing-ticker-item {
  position: relative !important;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
}
.briefing-ticker-widget .briefing-ticker-item:not(:last-child) {
  border-bottom: 1px dashed #f0f0f0;
}
.briefing-ticker-widget .briefing-ticker-check {
  position: relative;
  flex-shrink: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  margin-left: -19px;
  background: #1a8cff;
  z-index: 2;
}
.briefing-ticker-widget .briefing-ticker-body {
  flex: 1;
  min-width: 0;
}
.briefing-ticker-widget .briefing-ticker-link {
  display: block;
  font-size: 14px; color: #333; text-decoration: none;
  line-height: 1.55;
  margin-bottom: 6px;
  word-break: break-all;
}
.briefing-ticker-widget .briefing-ticker-link:hover { color: #1a8cff; }
.briefing-ticker-widget .briefing-ticker-meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px; color: #999;
}
.briefing-ticker-widget .briefing-ticker-meta svg {
  flex-shrink: 0;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .briefing-ticker { flex-wrap: wrap; }
  .briefing-ticker-label { border-right: none; padding-right: 0; }
  .briefing-ticker-wrap { width: 100%; }
  .briefing-timeline::before { left: 45px; }
  .briefing-date-header { padding-left: 60px; }
  .briefing-date-header::before { left: 40px; }
  .briefing-time { width: 35px; font-size: 12px; }
  .briefing-nav { flex-direction: column; }
  .hero-section { flex-direction: column; gap: 16px; }
  .hero-carousel-wrap { width: 100%; }
  .featured-carousel { height: 200px; }
  .hero-briefing { width: 100%; min-height: auto; }
  .directory-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .tag-cloud-home { gap: 6px 10px; }
}

/* ===== 首页重构：顶部轮播+快讯并排 ===== */
.hero-section {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  --hero-h: 400px;
}
.hero-carousel-wrap {
  flex: 1;
  min-width: 0;
}
.hero-briefing {
  width: 340px;
  flex-shrink: 0;
  height: var(--hero-h);
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}
.hero-briefing-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}
.hero-briefing-title .title-accent {
  width: 4px;
  height: 18px;
  background: #1a8cff;
  border-radius: 2px;
}
.hero-briefing-more {
  margin-left: auto;
  font-size: 13px;
  font-weight: 400;
  color: #999;
  text-decoration: none;
}
.hero-briefing-more:hover { color: #1a8cff; }

/* 快讯轮播在hero区域的样式复用briefing-ticker */
.hero-briefing .briefing-ticker-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
  padding-left: 22px;
}
.hero-briefing .briefing-ticker-wrap::before {
  content: '';
  position: absolute;
  left: 7px; top: 0; bottom: 0;
  width: 1px;
  background: #c0c0c0;
  z-index: 1;
}
.hero-briefing .briefing-ticker-track {
  position: relative;
}
.hero-briefing .briefing-ticker-track.scrolling {
  animation: tickerScrollUp linear infinite;
}
.hero-briefing .briefing-ticker-track.scrolling:hover {
  animation-play-state: paused;
}
.hero-briefing .briefing-ticker-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
}
.hero-briefing .briefing-ticker-item:not(:last-child) {
  border-bottom: 1px dashed #f0f0f0;
}
.hero-briefing .briefing-ticker-check {
  position: relative;
  flex-shrink: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  margin-left: -19px;
  background: #1a8cff;
  z-index: 2;
}
.hero-briefing .briefing-ticker-body {
  flex: 1;
  min-width: 0;
}
.hero-briefing .briefing-ticker-link {
  display: block;
  font-size: 14px; color: #333; text-decoration: none;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-briefing .briefing-ticker-link:hover { color: #1a8cff; }
.hero-briefing .briefing-ticker-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 12px;
  color: #999;
  line-height: 16px;
}
.hero-briefing .briefing-ticker-meta svg {
  flex-shrink: 0;
}

/* 焦点轮播样式调整 */
.featured-carousel {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #eee;
  height: var(--hero-h);
  flex-shrink: 0;
}
/* ===== 轮播下方推荐阅读（通栏） ===== */
.hero-recommend-section {
  margin-bottom: 30px;
}
.hero-recommend {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  flex-shrink: 0;
}
.hero-recommend-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.hero-recommend-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-color: #d0e8ff;
}
.hero-recommend-thumb {
  width: 100%;
  height: 130px;
  flex-shrink: 0;
  overflow: hidden;
}
.hero-recommend-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.hero-recommend-card:hover .hero-recommend-thumb img {
  transform: scale(1.06);
}
.hero-recommend-info {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.hero-recommend-cat {
  display: inline-block;
  font-size: 11px;
  color: #1a8cff;
  background: #f0f8ff;
  padding: 1px 7px;
  border-radius: 8px;
  margin-bottom: 4px;
  align-self: flex-start;
}
.hero-recommend-info h4 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  color: #222;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-recommend-time {
  font-size: 11px;
  color: #aaa;
  margin-top: 4px;
}
.carousel-slide .overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 24px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
}
.carousel-slide .overlay h2 {
  font-size: 20px;
  margin: 0;
  line-height: 1.4;
}
.carousel-cat-badge {
  display: inline-block;
  padding: 2px 10px;
  background: #1a8cff;
  color: #fff;
  font-size: 12px;
  border-radius: 4px;
  margin-bottom: 8px;
}

/* ===== 首页区块通用样式 ===== */
.home-section {
  margin-bottom: 30px;
}
.home-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}
.home-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: #222;
  margin: 0;
}
.home-section-title .title-accent {
  width: 4px;
  height: 20px;
  background: #1a8cff;
  border-radius: 2px;
}
.home-section-more {
  font-size: 14px;
  color: #999;
  text-decoration: none;
}
.home-section-more:hover { color: #1a8cff; }

/* ===== 院校展示区 ===== */
.inst-showcase {
  display: block;
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%);
}
.inst-showcase-track {
  display: flex;
  width: max-content;
  animation: instMarquee 42s linear infinite;
}
.inst-showcase:hover .inst-showcase-track {
  animation-play-state: paused;
}
.inst-showcase-track .inst-showcase-card {
  flex: 0 0 210px;
  width: 210px;
  margin-right: 18px;
}
@keyframes instMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}
.inst-showcase-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s;
  overflow: hidden;
}
.inst-showcase-card:hover {
  border-color: #1a8cff;
  box-shadow: 0 6px 18px rgba(26, 140, 255, 0.12);
  transform: translateY(-3px);
}
.inst-showcase-cover {
  position: relative;
  width: 100%;
  height: 120px;
  background: #f5f7fa;
  overflow: hidden;
}
.inst-showcase-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.inst-showcase-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f5ff 0%, #e8f0fe 100%);
}
.inst-showcase-logo-badge {
  position: absolute;
  top: 92px;
  right: 12px;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #fff;
  border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 3;
}
.inst-showcase-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.inst-showcase-logo-badge span {
  font-size: 16px;
  font-weight: 700;
  color: #1a8cff;
}
.inst-showcase-info {
  padding: 24px 12px 12px;
  text-align: left;
}
.inst-showcase-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0 0 4px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.inst-showcase-en {
  font-size: 12px;
  color: #999;
  margin: 0 0 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 15px;
}
.inst-showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.inst-showcase-tags span {
  font-size: 11px;
  color: #666;
  background: #f5f5f5;
  padding: 3px 8px;
  border-radius: 4px;
  line-height: 1.2;
}
.inst-showcase-rank {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  z-index: 2;
}
.inst-showcase-rank.rank-1 { background: #1a8cff; }
.inst-showcase-rank.rank-2 { background: #4dabf7; }
.inst-showcase-rank.rank-3 { background: #4dabf7; }

/* 院校库列表卡片：地区副标题 + 高亮标签（与首页热门院校同风格） */
.inst-showcase-sub {
  font-size: 12px;
  color: #999;
  margin: 0 0 8px;
  line-height: 1.3;
}
.inst-showcase-tags .tag-level {
  color: #1a8cff;
  background: #f0f8ff;
}
.inst-showcase-tags .tag-hot {
  color: #e65100;
  background: #fff8e1;
  font-weight: 500;
}

/* ===== 广告展位 ===== */
.ad-widget { margin-bottom: 20px; }
.ad-slot {
  display: block;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  background: #f8f8f8;
}
.ad-slot img.ad-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  transition: transform .3s;
}
.ad-slot:hover img.ad-image { transform: scale(1.03); }
.ad-label {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 1px 6px;
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 10px;
  border-radius: 3px;
  z-index: 1;
}
.ad-placeholder {
  background: linear-gradient(135deg, #f8f8f8, #e8e8e8);
  padding: 40px 20px;
  text-align: center;
  border: 1px dashed #ddd;
  border-radius: 8px;
}
.ad-placeholder span {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #999;
  margin-bottom: 6px;
}
.ad-placeholder small {
  font-size: 12px;
  color: #bbb;
}

/* ===== 推荐分类widget ===== */
.rec-cat-widget { margin-bottom: 20px; }
.rec-cat-item {
  display: flex;
  gap: 12px;
  text-decoration: none;
  padding: 10px 0;
}
.rec-cat-thumb {
  width: 100px;
  height: 70px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #eee;
}
.rec-cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.rec-cat-item:hover .rec-cat-thumb img { transform: scale(1.05); }
.rec-cat-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.rec-cat-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-cat-item:hover h4 { color: #1a8cff; }
.rec-cat-time {
  font-size: 12px;
  color: #aaa;
}

/* ===== 分类列表 ===== */
.cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cat-list li {
  border-bottom: 1px dashed #f0f0f0;
}
.cat-list li:last-child { border-bottom: none; }
.cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  text-decoration: none;
}
.cat-list .cat-name {
  font-size: 14px;
  color: #333;
}
.cat-list a:hover .cat-name { color: #1a8cff; }
.cat-list .cat-count {
  font-size: 12px;
  color: #aaa;
  background: #f5f5f5;
  padding: 1px 8px;
  border-radius: 10px;
}
.cat-list a.active .cat-name {
  color: #1a8cff;
  font-weight: 600;
}

/* ===== 标签云 ===== */
.tag-cloud-home {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}
.tag-cloud-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: #f8f8f8;
  border-radius: 20px;
  text-decoration: none;
  color: #555;
  transition: all 0.2s;
  line-height: 1;
}
.tag-cloud-item:hover {
  background: #1a8cff;
  color: #fff;
}
.tag-cloud-count {
  font-size: 11px;
  color: #aaa;
}
.tag-cloud-item:hover .tag-cloud-count {
  color: rgba(255,255,255,0.8);
}
.tag-cloud-sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag-cloud-item-sm {
  display: inline-block;
  padding: 4px 10px;
  background: #f5f5f5;
  border-radius: 12px;
  font-size: 12px;
  color: #666;
  text-decoration: none;
  transition: all 0.2s;
}
.tag-cloud-item-sm:hover {
  background: #1a8cff;
  color: #fff;
}

/* ===== 加载更多按钮 ===== */
.load-more-btn {
  display: inline-block;
  padding: 10px 40px;
  background: #fff;
  color: #1a8cff;
  border: 1px solid #1a8cff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.load-more-btn:hover {
  background: #1a8cff;
  color: #fff;
}
.load-more-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===== 资讯页顶部精选推荐 ===== */
.news-featured-section {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.news-featured-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #f0f0f0;
  transition: box-shadow 0.25s, transform 0.25s;
  flex: 1;
  min-width: 0;
}
.news-featured-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.news-featured-card.large {
  flex: 1.6;
}
.news-featured-thumb {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #f0f0f0;
}
.news-featured-card.large .news-featured-thumb {
  height: 200px;
}
.news-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.news-featured-card:hover .news-featured-thumb img {
  transform: scale(1.05);
}
.news-featured-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  background: rgba(26,140,255,0.9);
  color: #fff;
  font-size: 12px;
  border-radius: 4px;
  font-weight: 600;
}
.news-featured-info {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.news-featured-info h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #222;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-featured-card.large .news-featured-info h3 {
  font-size: 18px;
}
.news-featured-summary {
  margin: 0;
  font-size: 13px;
  color: #888;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-featured-meta {
  font-size: 12px;
  color: #aaa;
  margin-top: auto;
}

/* ===== 资讯页右侧固定推荐 ===== */
.rec-news-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed #eee;
  text-decoration: none;
  color: inherit;
}
.rec-news-item:last-child {
  border-bottom: none;
}
.rec-news-thumb {
  width: 90px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #f0f0f0;
}
.rec-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rec-news-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.rec-news-info h4 {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-news-item:hover h4 {
  color: #1a8cff;
}
.rec-news-meta {
  font-size: 12px;
  color: #aaa;
}

@media (max-width: 768px) {
  .news-featured-section {
    flex-direction: column;
  }
  .news-featured-card.large .news-featured-thumb {
    height: 160px;
  }
}

/* ===== 超小屏（480px以下）===== */
@media (max-width: 480px) {
  .header-inner { height: 50px; padding: 0 10px; }
  .logo { font-size: 17px; margin-right: 8px; }
  .logo-img { height: 32px; max-width: 90px; }
  .logo-icon { width: 30px; height: 30px; font-size: 15px; }
  .container { margin: 10px auto; padding: 0 10px; }
  /* hero区域 */
  .featured-carousel { height: 160px; }
  .hero-section { gap: 12px; margin-bottom: 20px; }
  .hero-recommend { grid-template-columns: 1fr; gap: 8px; }
  .hero-recommend-thumb { width: 100%; height: 140px; }
  .hero-recommend-info { padding: 8px 10px; }
  .hero-recommend-info h4 { font-size: 12px; }
  .carousel-slide .overlay { padding: 16px 12px 10px; }
  .carousel-slide .overlay h2 { font-size: 14px; }
  .carousel-cat-badge { font-size: 11px; padding: 1px 8px; }
  .hero-briefing { padding: 10px; }
  .hero-briefing-title { font-size: 13px; margin-bottom: 8px; padding-bottom: 8px; }
  .hero-briefing .briefing-ticker-link { font-size: 12px; }
  .hero-briefing .briefing-ticker-item { padding: 8px 0; }
  /* 院校展示 */
  .directory-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .inst-showcase-card { padding: 12px 6px 10px; }
  .inst-showcase-logo { width: 48px; height: 48px; margin-bottom: 8px; }
  .inst-showcase-info h4 { font-size: 11px; }
  .inst-showcase-info p { font-size: 10px; }
  /* 文章卡片 */
  .article-card { padding: 10px 0; gap: 6px; }
  .article-card .thumb { height: 130px; }
  .article-card .info h3 { font-size: 14px; }
  .article-card .summary { font-size: 12px; }
  /* 区块标题 */
  .home-section { margin-bottom: 20px; }
  .home-section-title { font-size: 16px; }
  .home-section-header { margin-bottom: 12px; padding-bottom: 10px; }
  .section-title { font-size: 13px; }
  /* 广告 */
  .ad-placeholder { padding: 24px 12px; }
  .ad-placeholder span { font-size: 14px; }
  /* 热门文章 */
  .popular-list .popular-thumb { width: 60px; height: 44px; }
  .popular-list .popular-title { font-size: 12px; }
  /* 资讯精选 */
  .news-featured-card .news-featured-thumb { height: 110px; }
  .news-featured-card.large .news-featured-thumb { height: 130px; }
  .news-featured-info { padding: 10px 12px; }
  .news-featured-info h3 { font-size: 13px; }
  .news-featured-card.large .news-featured-info h3 { font-size: 14px; }
  .news-featured-summary { font-size: 12px; }
  /* 推荐新闻 */
  .rec-news-thumb { width: 64px; height: 46px; }
  .rec-news-info h4 { font-size: 12px; }
  .rec-news-meta { font-size: 11px; }
  /* 搜索弹窗 */
  .search-modal-overlay { padding-top: 40px; }
  .search-modal { width: 94%; }
  /* 分页 */
  .pagination { gap: 3px; }
  .pagination button { padding: 4px 8px; font-size: 11px; }
  /* 详情页 */
  .detail-card { padding: 14px 12px; }
  .detail-hero-info h1 { font-size: 16px; }
  .detail-hero-title { justify-content: center; }
  .keyinfo-rank .sr-crown { width: 12px; height: 12px; }
  .article-detail { padding: 12px; }
  .article-detail h1 { font-size: 17px; }
  .article-detail .meta-bar { gap: 8px; flex-wrap: wrap; }
  /* 相关文章 */
  .related-card img { height: 100px; }
  .related-card .rc-info h4 { font-size: 13px; }
  /* 页脚 */
  .footer { padding: 20px 10px 0; }
  .footer-col-title { font-size: 13px; }
  /* 按钮和加载更多 */
  .load-more-btn { padding: 8px 24px; font-size: 13px; }
  /* 浮动按钮 */
  .float-actions { right: 10px; bottom: 10px; }
  .float-btn { width: 34px; height: 34px; }
}

/* ===== 自定义单页（隐私政策/关于/帮助等，参考虎嗅风格） ===== */
.legal-page {
  background: #f5f6f8;
  padding: 32px 16px 56px;
  min-height: 60vh;
}
.legal-page-inner {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  padding: 44px 50px;
  box-shadow: 0 2px 14px rgba(0,0,0,.05);
}
.legal-page-title {
  font-size: 28px;
  font-weight: 800;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.3;
}
.legal-page-meta {
  text-align: center;
  color: #999;
  font-size: 13px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}
.legal-page-content {
  font-size: 15px;
  line-height: 1.85;
  color: #333;
  word-break: break-word;
}
.legal-page-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 30px 0 12px;
  padding-left: 12px;
  border-left: 4px solid #1a8cff;
}
.legal-page-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 22px 0 10px;
}
.legal-page-content p { margin: 0 0 14px; }
.legal-page-content ul,
.legal-page-content ol { margin: 0 0 14px; padding-left: 24px; }
.legal-page-content li { margin-bottom: 8px; }
.legal-page-content strong { color: #1a1a1a; font-weight: 700; }
.legal-page-content a { color: #1a8cff; text-decoration: none; }
.legal-page-content a:hover { text-decoration: underline; }
.legal-page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 12px 0;
}
.legal-page-content blockquote {
  margin: 0 0 14px;
  padding: 10px 16px;
  background: #f7f9fc;
  border-left: 3px solid #1a8cff;
  color: #555;
}
.legal-page-foot {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid #eee;
  color: #999;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 768px) {
  .legal-page { padding: 18px 10px 36px; }
  .legal-page-inner { padding: 26px 18px; }
  .legal-page-title { font-size: 23px; }
}

/* 专业详情页 - 开设院校分批加载 */
.directory-card.inst-more { display: none !important; }
.load-more-wrap { text-align: center; margin-top: 22px; }
.load-more-btn {
  display: none;
  padding: 10px 30px;
  font-size: 14px;
  font-weight: 600;
  color: #1a8cff;
  background: #fff;
  border: 1px solid #1a8cff;
  border-radius: 24px;
  cursor: pointer;
  transition: all .25s;
}
.load-more-btn:hover {
  background: #1a8cff;
  color: #fff;
}

/* ===== 详情页右侧锚点导航（参考软科） ===== */
.detail-nav-widget .widget-title {
  margin-bottom: 16px;
}
.anchor-nav {
  position: relative;
  padding-left: 18px;
  border-left: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.anchor-nav-item {
  position: relative;
  display: block;
  padding: 5px 0 5px 8px;
  font-size: 14px;
  line-height: 1.55;
  color: #666;
  text-decoration: none;
  transition: color .2s;
}
.anchor-nav-item::before {
  content: '';
  position: absolute;
  left: -22px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d9d9d9;
  transition: all .2s;
}
.anchor-nav-item:hover {
  color: #1a8cff;
}
.anchor-nav-item.active {
  color: #1a8cff;
  font-weight: 600;
}
.anchor-nav-item.active::before {
  width: 9px;
  height: 9px;
  left: -23px;
  background: #1a8cff;
}
@media (max-width: 768px) {
  .detail-nav-widget {
    display: none;
  }
}