/* =============================================
   91网 - 主样式文件
   品牌：91网 | 视频教程 · 生活视频 · 资讯聚合
   ============================================= */

/* ---- 基础重置 ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: #333;
  background: #f5f6f8;
  line-height: 1.7;
}
a { color: #e02020; text-decoration: none; transition: color .2s; }
a:hover { color: #b01010; }
img { max-width: 100%; height: auto; display: block; border-radius: 4px; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ---- 容器 ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ---- 顶部通知栏 ---- */
.top-bar {
  background: #1a1a2e;
  color: #ccc;
  font-size: 12px;
  padding: 6px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar strong { color: #ff6b35; }

/* ---- 头部 ---- */
.site-header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 0;
}

/* Logo */
.site-logo a { display: flex; flex-direction: column; align-items: flex-start; }
.logo-box {
  display: flex;
  align-items: baseline;
  line-height: 1;
}
.logo-num {
  font-size: 36px;
  font-weight: 900;
  color: #e02020;
  letter-spacing: -2px;
}
.logo-text {
  font-size: 28px;
  font-weight: 900;
  color: #1a1a2e;
  margin-left: 2px;
}
.logo-tagline {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
  letter-spacing: 1px;
}

/* 搜索框 */
.header-search { flex: 1; max-width: 500px; position: relative; }
.search-form {
  display: flex;
  border: 2px solid #e02020;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
}
.search-input {
  flex: 1;
  padding: 9px 16px;
  border: none;
  outline: none;
  font-size: 14px;
  color: #333;
  background: transparent;
}
.search-btn {
  background: #e02020;
  color: #fff;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.search-btn:hover { background: #b01010; }
.search-suggest {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  z-index: 200;
  padding: 8px 0;
}
.suggest-item {
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  color: #333;
}
.suggest-item:hover { background: #fff5f5; color: #e02020; }

/* 移动端菜单按钮 */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: .3s;
}

/* ---- 主导航 ---- */
.main-nav {
  background: #e02020;
  border-top: 1px solid rgba(255,255,255,.15);
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-link {
  display: block;
  padding: 10px 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: background .2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { background: rgba(0,0,0,.15); color: #fff; }
.nav-tags {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
}
.tags-label { color: rgba(255,255,255,.7); font-size: 12px; }
.tag-link {
  background: rgba(255,255,255,.18);
  color: #fff;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px;
  transition: background .2s;
}
.tag-link:hover { background: rgba(255,255,255,.35); color: #fff; }

/* ---- 面包屑 ---- */
.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 8px 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #888;
}
.breadcrumb li:not(:last-child)::after { content: '>'; margin-left: 6px; color: #ccc; }
.breadcrumb a { color: #888; }
.breadcrumb a:hover { color: #e02020; }

/* ---- 主内容区 ---- */
.site-main { padding: 24px 0 40px; }

/* ---- 通用Section样式 ---- */
.section-headline,
.section-video,
.section-hot-news,
.section-industry,
.section-topic,
.section-popular,
.section-faq,
.section-reviews,
.section-contribute {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}
.section-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  gap: 8px;
}
.title-badge {
  background: #e02020;
  color: #fff;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}
.video-badge { background: #ff6b35; }
.more-link {
  font-size: 13px;
  color: #888;
  white-space: nowrap;
}
.more-link:hover { color: #e02020; }
.section-subtitle {
  font-size: 13px;
  color: #888;
  margin-bottom: 16px;
  margin-top: -8px;
}

/* ---- 头条区 ---- */
.headline-grid { display: grid; grid-template-columns: 1fr 360px; gap: 20px; }
.headline-main-link { display: block; }
.headline-img-wrap { position: relative; border-radius: 8px; overflow: hidden; }
.headline-img-wrap img { width: 100%; height: 240px; object-fit: cover; transition: transform .3s; }
.headline-main-link:hover .headline-img-wrap img { transform: scale(1.03); }
.headline-label {
  position: absolute;
  top: 12px; left: 12px;
  background: #e02020;
  color: #fff;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}
.headline-main-content { padding: 14px 0 0; }
.headline-main-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.5;
  margin-bottom: 10px;
}
.headline-main-title:hover { color: #e02020; }
.headline-main-desc { font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 10px; }
.headline-meta { display: flex; gap: 12px; font-size: 12px; color: #999; }
.headline-list { display: flex; flex-direction: column; gap: 0; }
.headline-item { border-bottom: 1px solid #f5f5f5; }
.headline-item:last-child { border-bottom: none; }
.headline-item-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  font-size: 14px;
  color: #333;
}
.headline-item-link:hover { color: #e02020; }
.headline-item-tag {
  flex-shrink: 0;
  background: #ff6b35;
  color: #fff;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
}
.headline-item-tag.hot { background: #e02020; }
.headline-item-tag.new { background: #28a745; }
.headline-item-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.headline-item-date { flex-shrink: 0; font-size: 12px; color: #bbb; }

/* ---- 视频卡片 ---- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.video-grid-full { grid-template-columns: repeat(3, 1fr); }
.video-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
}
.video-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.video-thumb-wrap {
  position: relative;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16/9;
}
.video-thumb-img, .video-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s, opacity .3s;
  border-radius: 0;
}
.video-card:hover .video-thumb-img,
.video-card:hover .video-thumb-wrap img { transform: scale(1.05); opacity: .85; }
.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s;
  background: rgba(0,0,0,.3);
}
.video-card:hover .video-play-overlay { opacity: 1; }
.play-btn {
  width: 60px; height: 60px;
  background: rgba(224,32,32,.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, background .2s;
}
.play-btn:hover { transform: scale(1.1); background: #e02020; }
.video-duration {
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(0,0,0,.75);
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
}
.video-quality {
  position: absolute;
  top: 8px; right: 8px;
  background: #ff6b35;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
}
.video-info { padding: 12px; }
.video-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-title a { color: #1a1a2e; }
.video-title a:hover { color: #e02020; }
.video-meta {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.video-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.vtag {
  background: #fff5f5;
  color: #e02020;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  border: 1px solid #ffd5d5;
}

/* 视频分类筛选 */
.video-filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 6px 16px;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 13px;
  color: #555;
  background: #fff;
  transition: .2s;
}
.filter-btn:hover, .filter-btn.active {
  background: #e02020;
  color: #fff;
  border-color: #e02020;
}

/* ---- 视频弹窗 ---- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.8);
}
.video-modal-box {
  position: relative;
  width: 90%;
  max-width: 800px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  z-index: 1;
}
.video-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  color: #fff;
  font-size: 20px;
  z-index: 2;
  background: rgba(0,0,0,.5);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-modal-player { background: #000; }
.video-modal-tip {
  text-align: center;
  color: #aaa;
  font-size: 12px;
  padding: 8px;
  background: #111;
}

/* ---- 新闻列表 ---- */
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item { border-bottom: 1px solid #f5f5f5; padding-bottom: 16px; }
.news-item:last-child { border-bottom: none; padding-bottom: 0; }
.news-item-link { display: flex; gap: 14px; }
.news-item-img { flex-shrink: 0; width: 160px; height: 90px; border-radius: 6px; overflow: hidden; }
.news-item-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.news-item-content { flex: 1; }
.news-item-title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 6px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-item-link:hover .news-item-title { color: #e02020; }
.news-item-desc { font-size: 13px; color: #777; line-height: 1.6; margin-bottom: 8px; }
.news-item-meta { display: flex; gap: 10px; font-size: 12px; color: #bbb; }
.news-views, .news-comments { color: #bbb; }

/* ---- 行业观察 ---- */
.industry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.industry-card { border-radius: 8px; overflow: hidden; border: 1px solid #f0f0f0; }
.industry-card img { width: 100%; height: 180px; object-fit: cover; border-radius: 0; }
.industry-card-body { padding: 14px; }
.industry-cat {
  background: #e8f4fd;
  color: #1890ff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
  display: inline-block;
}
.industry-card-body h3 { font-size: 15px; font-weight: 600; margin: 8px 0 8px; line-height: 1.5; }
.industry-card-body h3 a { color: #1a1a2e; }
.industry-card-body h3 a:hover { color: #e02020; }
.industry-card-body p { font-size: 13px; color: #777; line-height: 1.6; margin-bottom: 10px; }
.industry-meta { display: flex; gap: 10px; font-size: 12px; color: #bbb; }

/* ---- 专题 ---- */
.topic-grid { display: grid; grid-template-columns: 1fr 280px; gap: 16px; }
.topic-card { border-radius: 8px; overflow: hidden; position: relative; }
.topic-card img { width: 100%; object-fit: cover; border-radius: 0; }
.topic-card-large img { height: 280px; }
.topic-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  padding: 20px 16px 16px;
  color: #fff;
}
.topic-week {
  background: #e02020;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
  display: inline-block;
}
.topic-card-overlay h3 { font-size: 18px; font-weight: 700; margin: 6px 0 6px; }
.topic-card-overlay h3 a { color: #fff; }
.topic-card-overlay p { font-size: 13px; opacity: .85; margin-bottom: 8px; }
.topic-count { font-size: 12px; opacity: .7; }
.topic-side { display: flex; flex-direction: column; gap: 12px; }
.topic-card-small img { height: 130px; }
.topic-card-body { padding: 10px; background: #fff; }
.topic-cat {
  background: #fff5f5;
  color: #e02020;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 11px;
  margin-bottom: 6px;
  display: inline-block;
}
.topic-card-body h4 { font-size: 13px; font-weight: 600; margin: 4px 0 4px; }
.topic-card-body h4 a { color: #1a1a2e; }
.topic-card-body h4 a:hover { color: #e02020; }

/* ---- 热门阅读 ---- */
.popular-list { display: flex; flex-direction: column; gap: 0; }
.popular-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
}
.popular-item:last-child { border-bottom: none; }
.popular-rank {
  width: 24px; height: 24px;
  background: #f0f0f0;
  color: #888;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rank-1 { background: #e02020; color: #fff; }
.rank-2 { background: #ff6b35; color: #fff; }
.rank-3 { background: #ffa500; color: #fff; }
.popular-content { flex: 1; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.popular-title { font-size: 14px; color: #333; flex: 1; }
.popular-title:hover { color: #e02020; }
.popular-views { font-size: 12px; color: #bbb; white-space: nowrap; }

/* ---- 内容+侧边栏布局 ---- */
.content-sidebar-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 24px; }
.content-main { min-width: 0; }

/* ---- 侧边栏 ---- */
.content-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-widget {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.widget-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.author-list { display: flex; flex-direction: column; gap: 12px; }
.author-item { display: flex; align-items: center; gap: 10px; }
.author-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-info { flex: 1; min-width: 0; }
.author-name { font-size: 14px; font-weight: 600; color: #1a1a2e; display: block; }
.author-name:hover { color: #e02020; }
.author-title { font-size: 11px; color: #888; display: block; }
.author-articles { font-size: 11px; color: #bbb; display: block; }
.author-follow-btn {
  flex-shrink: 0;
  background: #fff5f5;
  color: #e02020;
  border: 1px solid #ffd5d5;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  transition: .2s;
}
.author-follow-btn:hover { background: #e02020; color: #fff; }
.widget-more-link {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: #888;
}
.widget-more-link:hover { color: #e02020; }

/* 标签云 */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.cloud-tag {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  border: 1px solid #eee;
  color: #555;
  background: #fafafa;
  transition: .2s;
}
.cloud-tag:hover { background: #e02020; color: #fff; border-color: #e02020; }
.tag-lg { font-size: 14px; padding: 5px 12px; }
.tag-md { font-size: 13px; }
.tag-sm { font-size: 12px; }
.tag-xs { font-size: 11px; padding: 3px 8px; }

/* 侧边栏新闻 */
.sidebar-news-list { display: flex; flex-direction: column; gap: 8px; }
.sidebar-news-list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; }
.sidebar-news-list a { color: #333; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-news-list a:hover { color: #e02020; }
.sidebar-news-list time { font-size: 11px; color: #bbb; flex-shrink: 0; }

/* 投稿入口 */
.sidebar-contribute p { font-size: 13px; color: #666; margin-bottom: 12px; }
.contribute-btn {
  display: block;
  text-align: center;
  background: #e02020;
  color: #fff;
  padding: 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s;
}
.contribute-btn:hover { background: #b01010; color: #fff; }

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid #f0f0f0; }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
  text-align: left;
  gap: 10px;
}
.faq-question:hover { color: #e02020; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-icon { flex-shrink: 0; transition: transform .3s; }
.faq-answer {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  padding: 0 0 14px;
  display: none;
}
.faq-item.open .faq-answer { display: block; }

/* ---- 用户评论 ---- */
.reviews-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.review-card {
  background: #fafafa;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid #f0f0f0;
}
.review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review-avatar {
  width: 40px; height: 40px;
  background: #e02020;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.review-user-info { flex: 1; }
.review-username { font-size: 14px; font-weight: 600; color: #1a1a2e; display: block; }
.review-stars { color: #ffa500; font-size: 13px; }
.review-date { font-size: 11px; color: #bbb; }
.review-content { font-size: 13px; color: #555; line-height: 1.7; margin-bottom: 10px; }
.review-likes { font-size: 12px; color: #bbb; }

/* ---- 投稿Banner ---- */
.contribute-banner {
  background: linear-gradient(135deg, #e02020, #ff6b35);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.contribute-text h2 { font-size: 22px; color: #fff; margin-bottom: 8px; }
.contribute-text p { font-size: 14px; color: rgba(255,255,255,.85); }
.contribute-actions { display: flex; gap: 12px; flex-shrink: 0; }
.btn-contribute-primary {
  background: #fff;
  color: #e02020;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  transition: .2s;
}
.btn-contribute-primary:hover { background: #f0f0f0; color: #e02020; }
.btn-contribute-secondary {
  background: rgba(255,255,255,.2);
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.4);
  transition: .2s;
}
.btn-contribute-secondary:hover { background: rgba(255,255,255,.3); color: #fff; }

/* ---- 页面Hero ---- */
.page-hero {
  text-align: center;
  padding: 32px 0 24px;
}
.page-hero-title { font-size: 28px; font-weight: 800; color: #1a1a2e; margin-bottom: 8px; }
.page-hero-desc { font-size: 15px; color: #777; }

/* ---- 文章列表 ---- */
.article-list { display: flex; flex-direction: column; gap: 20px; }
.article-list-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.article-list-link { display: flex; gap: 0; }
.article-list-img { flex-shrink: 0; width: 240px; position: relative; overflow: hidden; }
.article-list-img img { width: 100%; height: 135px; object-fit: cover; border-radius: 0; }
.article-video-badge {
  position: absolute;
  bottom: 8px; left: 8px;
  background: rgba(224,32,32,.9);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}
.article-list-content { flex: 1; padding: 16px; }
.article-list-cats { display: flex; gap: 6px; margin-bottom: 8px; }
.article-cat {
  background: #e8f4fd;
  color: #1890ff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}
.article-hot { background: #fff5f5; color: #e02020; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.article-new { background: #f0fff4; color: #28a745; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.article-list-title { font-size: 17px; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; line-height: 1.5; }
.article-list-link:hover .article-list-title { color: #e02020; }
.article-list-desc { font-size: 13px; color: #777; line-height: 1.6; margin-bottom: 10px; }
.article-list-meta { display: flex; gap: 10px; font-size: 12px; color: #bbb; margin-bottom: 8px; }
.article-tags { display: flex; gap: 4px; flex-wrap: wrap; }

/* ---- 关于我们 ---- */
.about-content { max-width: 900px; margin: 0 auto; }
.about-section {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.about-section h2 { font-size: 20px; font-weight: 700; color: #1a1a2e; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid #f0f0f0; }
.about-section p { font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 12px; }
.about-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.value-item { text-align: center; padding: 20px 12px; background: #fafafa; border-radius: 8px; }
.value-icon { font-size: 28px; color: #e02020; margin-bottom: 10px; }
.value-item h3 { font-size: 15px; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.value-item p { font-size: 13px; color: #666; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.stat-item { text-align: center; padding: 20px; background: #fff5f5; border-radius: 8px; }
.stat-num { display: block; font-size: 28px; font-weight: 800; color: #e02020; margin-bottom: 6px; }
.stat-label { font-size: 14px; color: #555; }

/* ---- 联系我们 ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-info {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.contact-info h2 { font-size: 20px; font-weight: 700; color: #1a1a2e; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid #f0f0f0; }
.contact-item { display: flex; gap: 8px; margin-bottom: 12px; font-size: 14px; color: #555; }
.contact-item strong { color: #1a1a2e; flex-shrink: 0; }
.contact-notice { padding-left: 16px; list-style: disc; }
.contact-notice li { font-size: 14px; color: #555; margin-bottom: 8px; line-height: 1.6; }
.contact-form-wrap {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.contact-form-wrap h2 { font-size: 20px; font-weight: 700; color: #1a1a2e; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid #f0f0f0; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: #333; margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  outline: none;
  transition: border-color .2s;
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #e02020; }
.form-submit-btn {
  width: 100%;
  background: #e02020;
  color: #fff;
  padding: 12px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  transition: background .2s;
}
.form-submit-btn:hover { background: #b01010; }
.contact-success { background: #f0fff4; border: 1px solid #28a745; border-radius: 6px; padding: 16px; margin-top: 16px; }
.contact-success p { color: #28a745; font-size: 14px; }

/* ---- 专题页 ---- */
.topic-page-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.topic-page-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.topic-page-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 0; }
.topic-page-body { padding: 16px; }
.topic-week-badge { background: #e02020; color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.topic-cat-badge { background: #fff5f5; color: #e02020; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; border: 1px solid #ffd5d5; }
.topic-page-body h2 { font-size: 17px; font-weight: 700; margin: 10px 0 8px; }
.topic-page-body h2 a { color: #1a1a2e; }
.topic-page-body h2 a:hover { color: #e02020; }
.topic-page-body p { font-size: 13px; color: #666; line-height: 1.6; margin-bottom: 10px; }
.topic-page-meta { display: flex; gap: 12px; font-size: 12px; color: #bbb; }

/* ---- 作者页 ---- */
.author-page-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 30px; }
.author-page-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  gap: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.author-page-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-page-info { flex: 1; }
.author-page-name { font-size: 18px; font-weight: 700; color: #1a1a2e; display: block; margin-bottom: 4px; }
.author-page-title { font-size: 12px; color: #888; display: block; margin-bottom: 8px; }
.author-page-bio { font-size: 13px; color: #666; line-height: 1.6; margin-bottom: 10px; }
.author-page-stats { display: flex; gap: 12px; font-size: 12px; color: #888; margin-bottom: 8px; }
.author-page-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 12px; }
.author-join-banner {
  background: linear-gradient(135deg, #1a1a2e, #2d2d5e);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  color: #fff;
}
.author-join-banner h2 { font-size: 22px; margin-bottom: 10px; }
.author-join-banner p { font-size: 14px; opacity: .85; margin-bottom: 20px; }

/* ---- 搜索结果页 ---- */
.search-result-header { margin-bottom: 20px; }
.search-page-form { display: flex; gap: 10px; margin-top: 16px; max-width: 600px; }
.search-page-form .search-input { flex: 1; padding: 10px 16px; border: 2px solid #e02020; border-radius: 6px; font-size: 15px; outline: none; }
.search-page-form .search-btn { background: #e02020; color: #fff; padding: 10px 24px; border-radius: 6px; font-size: 15px; font-weight: 600; }
.search-tips { background: #fff5f5; border-left: 3px solid #e02020; padding: 12px 16px; border-radius: 4px; margin-bottom: 20px; font-size: 14px; color: #555; }

/* ---- 页脚 ---- */
.site-footer {
  background: #1a1a2e;
  color: #aaa;
  padding: 40px 0 0;
  margin-top: 40px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 30px; padding-bottom: 30px; }
.footer-logo { display: flex; align-items: baseline; margin-bottom: 12px; }
.footer-logo .logo-num { font-size: 28px; font-weight: 900; color: #e02020; }
.footer-logo .logo-text { font-size: 22px; font-weight: 900; color: #fff; margin-left: 2px; }
.footer-desc { font-size: 13px; line-height: 1.7; margin-bottom: 10px; }
.footer-domain { font-size: 12px; }
.footer-domain strong { color: #ff6b35; }
.footer-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: #aaa; transition: color .2s; }
.footer-links a:hover { color: #ff6b35; }
.footer-contact-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.footer-contact-list li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.footer-social { display: flex; gap: 8px; }
.social-btn {
  background: rgba(255,255,255,.1);
  color: #aaa;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 12px;
  transition: .2s;
}
.social-btn:hover { background: #e02020; color: #fff; }
.footer-tags {
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.footer-tag {
  background: rgba(255,255,255,.08);
  color: #aaa;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  transition: .2s;
}
.footer-tag:hover { background: #e02020; color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-bottom-left p { font-size: 12px; color: #777; margin-bottom: 4px; }
.footer-update { color: #ff6b35 !important; }
.footer-bottom-right { display: flex; gap: 16px; }
.footer-bottom-right a { font-size: 12px; color: #777; }
.footer-bottom-right a:hover { color: #ff6b35; }

/* ---- 通用按钮 ---- */
.btn-primary {
  display: inline-block;
  background: #e02020;
  color: #fff;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s;
}
.btn-primary:hover { background: #b01010; color: #fff; }
