/* 日报样式 - 与首页风格一致 */
@import url('https://fonts.googleapis.com/css2?family=ZCOOL+KuaiLe&family=Noto+Sans+SC:wght@400;500;700;900&display=swap');

:root {
  --bg-color: #e8e4dc;
  --text-primary: #222;
  --text-secondary: #666;
  --accent-color: #c0392b;
  --accent-hover: #a32d28;
  --nav-bg: rgba(255,255,255,0.97);
  --card-bg: #ffffff;
  --border-color: #e8e4df;
  --shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-size: 16px;
  font-family: 'LXGW WenKai', 'Noto Sans SC', sans-serif;
  background: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 56px;
}

/* 进度条 */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent-color);
  width: 0%;
  z-index: 200;
  transition: width 0.1s;
}

/* 导航栏 */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--border-color);
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
}

.nav-logo {
  font-family: 'ZCOOL KuaiLe', 'Noto Sans SC', sans-serif;
  font-size: 22px;
  color: var(--accent-color);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  text-decoration: none;
}

.nav-logo i {
  width: 24px;
  height: 24px;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  opacity: 0.7;
  transition: 0.2s;
  padding: 6px 4px;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--accent-color);
}

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle i {
  width: 24px;
  height: 24px;
  color: var(--text-primary);
}

/* 日报容器 */
.daily-report {
  padding: 76px 32px 28px;
  max-width: 860px;
  margin: 0 auto;
}

/* 博客列表容器 */
.blog-list-container {
  padding: 76px 32px 28px;
  max-width: 860px;
  margin: 0 auto;
}

/* 博客列表 */
.blog-list {
  margin-top: 24px;
}

.blog-month {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.blog-month h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--accent-color);
}

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 博客卡片 */
.blog-post {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-color);
  border-radius: 8px;
  text-decoration: none;
  transition: 0.2s;
  border: 1px solid transparent;
}

.blog-post:hover {
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.blog-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  min-width: 60px;
}

.blog-date .day {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.blog-date .month {
  font-size: 12px;
  font-weight: 500;
}

.blog-content {
  flex: 1;
}

.blog-content h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.blog-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.blog-arrow {
  width: 20px;
  height: 20px;
  color: var(--accent-color);
  opacity: 0;
  transition: 0.2s;
}

.blog-post:hover .blog-arrow {
  opacity: 1;
}

/* 日报头部 */
.report-header {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.report-header h1 {
  font-family: 'ZCOOL KuaiLe', 'Noto Sans SC', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.report-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.report-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-secondary);
}

.report-meta i {
  width: 16px;
  height: 16px;
  color: var(--accent-color);
}

/* 日报区块 */
.report-section {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.report-section h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
}

.report-section h2 i {
  width: 20px;
  height: 20px;
  color: var(--accent-color);
}

/* 任务组 */
.task-group h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

/* 任务项 */
.task-item {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
}

.task-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.task-status.completed {
  color: var(--accent-color);
  font-size: 16px;
}

.task-status.in-progress {
  color: #666;
  font-size: 16px;
}

.task-item h4 {
  font-size: 15px;
  font-weight: 600;
  flex: 1;
  color: var(--text-primary);
}

.task-time {
  font-size: 13px;
  color: var(--text-secondary);
}

.task-details {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.task-details p {
  margin-bottom: 8px;
}

.task-details ul {
  margin-left: 20px;
  margin-bottom: 8px;
}

.task-details li {
  margin-bottom: 4px;
}

/* 任务列表 */
.task-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.task-list .task-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.task-item .priority {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  min-width: 40px;
  text-align: center;
  background: var(--accent-color);
  color: white;
}

.task-item .priority.medium {
  background: #666;
}

.task-item .priority.low {
  background: #999;
}

.task-item .task-name {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.task-item .task-time {
  font-size: 13px;
  color: var(--text-secondary);
  min-width: 60px;
  text-align: right;
}

/* 创意项 */
.idea-item {
  margin-bottom: 16px;
}

.idea-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.idea-item ul {
  margin-left: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.idea-item li {
  margin-bottom: 4px;
}

/* 统计卡片 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.stat-card {
  background: var(--accent-color);
  border-radius: 12px;
  padding: 20px;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(192, 57, 43, 0.2);
}

.stat-card:nth-child(2) {
  background: #666;
  box-shadow: 0 2px 8px rgba(102, 102, 102, 0.2);
}

.stat-card:nth-child(3) {
  background: #888;
  box-shadow: 0 2px 8px rgba(136, 136, 136, 0.2);
}

.stat-card:nth-child(4) {
  background: #999;
  box-shadow: 0 2px 8px rgba(153, 153, 153, 0.2);
}

.stat-icon {
  font-size: 24px;
  opacity: 0.9;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  font-family: 'Noto Sans SC', sans-serif;
}

.stat-label {
  font-size: 14px;
  opacity: 0.9;
}

/* 空状态 */
.empty-state {
  background: var(--bg-color);
  border: 2px dashed var(--border-color);
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  color: var(--text-secondary);
}

.empty-state i {
  font-size: 32px;
  margin-bottom: 12px;
  opacity: 0.5;
  color: var(--accent-color);
}

.empty-state p {
  font-size: 14px;
}

/* 日报页脚 */
.report-footer {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 2px solid var(--border-color);
}

.report-footer p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.navigation {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s;
  box-shadow: var(--shadow);
}

.nav-link:hover {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(192, 57, 43, 0.2);
}

/* 新闻内容 */
.news-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s;
  box-shadow: var(--shadow);
}

.news-item:hover {
  border-color: var(--accent-color);
  box-shadow: 0 4px 16px rgba(192, 57, 43, 0.12);
  transform: translateY(-4px);
}

.news-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 12px;
  opacity: 0.3;
}

.news-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: 0.2s;
}

.news-title a:hover {
  color: var(--accent-color);
}

.news-link-icon {
  width: 16px;
  height: 16px;
  color: var(--accent-color);
  flex-shrink: 0;
}

.news-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.news-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.news-url a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 20px;
  background: var(--accent-color);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(192, 57, 43, 0.2);
}

.news-url a:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(192, 57, 43, 0.3);
}

/* 响应式 - 移动端 */
@media (max-width: 768px) {
  /* 导航栏 */
  nav {
    padding: 0 16px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    border-bottom: 2px solid var(--border-color);
    padding: 16px;
    flex-direction: column;
    gap: 16px;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links a {
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
  }

  .nav-links a:hover {
    background: var(--bg-color);
  }

  /* 日报容器 */
  .daily-report,
  .blog-list-container {
    padding: 76px 16px 28px;
  }

  /* 统计卡片 */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .report-header h1 {
    font-size: 20px;
  }

  .report-meta {
    flex-direction: column;
    gap: 8px;
  }

  /* 博客卡片 */
  .blog-post {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .blog-date {
    flex-direction: row;
    gap: 8px;
    padding: 8px 12px;
    min-width: auto;
  }

  .blog-date .day {
    font-size: 18px;
  }

  .blog-arrow {
    display: none;
  }
}
