/* 日报样式 - 与首页风格一致 */
@import url('https://fonts.googleapis.com/css2?family=Long+Cang&family=ZCOOL+KuaiLe&family=Noto+Sans+SC:wght@300;400;500;700;900&family=Ma+Shan+Zheng&display=swap');
:root {
  --bg-main: #faf8f4;
  --bg-primary: #faf8f4;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-section: #f5f3ee;
  --bg-highlight: #fff8f0;
  --accent-red: #c0392b;
  --accent-primary: #c0392b;
  --accent-primary-light: #fdf2f0;
  --accent-blue: #2874a6;
  --accent-secondary: #2874a6;
  --accent-secondary-light: #eef5fb;
  --accent-gold: #e67e22;
  --accent-green: #38a169;
  --accent-green-light: #f0fff4;
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #999999;
  --border: #e8e4de;
  --shadow: 0 2px 12px rgba(0,0,0,0.05);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.1);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: 'Noto Sans SC', sans-serif; font-weight: 400;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: 56px;
}

h1 { font-family: 'ZCOOL KuaiLe', 'Smiley Sans', sans-serif; font-weight: 700; }
h2 { font-family: 'Long Cang', 'ZCOOL KuaiLe', sans-serif; font-weight: 400; }
h3 { font-family: 'ZCOOL KuaiLe', sans-serif; font-weight: 700; }
h4 { font-family: 'Noto Sans SC', sans-serif; font-weight: 700; }
.nav-logo { font-family: 'ZCOOL KuaiLe', sans-serif; }
blockquote, .quote { font-family: 'Ma Shan Zheng', cursive; }


a { color: inherit; text-decoration: none; }

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

/* 导航栏 */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #333333;
  text-decoration: none;
}

.nav-logo span {
  font-size: 1.1rem;
}

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

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s;
}

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

.nav-links a:hover::after {
  width: 100%;
}

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  background: rgba(192, 57, 43, 0.1);
  border: 2px solid var(--accent-primary);
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  z-index: 1001;
  min-width: 44px;
  min-height: 44px;
  flex-shrink: 0;
  color: var(--accent-primary);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* 日报容器 */
.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(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

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

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

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

.blog-post:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.blog-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--accent-primary);
  color: white;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  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-primary);
  opacity: 0;
  transition: var(--transition);
}

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

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

.report-header h1 {
  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-primary);
}

/* 日报区块 */
.report-section {
  background: var(--bg-card);
  border-radius: var(--radius);
  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(--accent-primary);
}

.report-section h2 i {
  width: 20px;
  height: 20px;
}

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

/* 任务项 */
.task-item {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  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-primary);
  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-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.task-item .priority {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  min-width: 40px;
  text-align: center;
  background: var(--accent-primary);
  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-primary);
  border-radius: var(--radius);
  padding: 20px;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(192, 57, 43, 0.25);
}

.stat-card:nth-child(2) {
  background: var(--accent-secondary);
  box-shadow: 0 4px 14px rgba(40, 116, 166, 0.25);
}

.stat-card:nth-child(3) {
  background: var(--accent-green);
  box-shadow: 0 4px 14px rgba(56, 161, 105, 0.25);
}

.stat-card:nth-child(4) {
  background: var(--text-secondary);
  box-shadow: 0 4px 14px rgba(113, 128, 150, 0.25);
}

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

.stat-value {
  font-size: 32px;
  font-weight: 700;
}

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

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

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

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

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

.report-footer p {
  font-size: 14px;
  color: var(--text-light);
  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(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

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

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

.news-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-primary);
  border-radius: var(--radius);
  padding: 20px;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.news-item:hover {
  border-left-color: var(--accent-primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.news-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-primary);
  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(--accent-secondary);
  text-decoration: none;
  transition: 0.2s;
}

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

.news-link-icon {
  width: 16px;
  height: 16px;
  color: var(--accent-primary);
  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;
  font-size: 13px;
  color: var(--text-light);
}

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

.news-url a:hover {
  background: #1f618d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 116, 166, 0.35);
}

.summary-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 12px;
  line-height: 1.6;
}

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

  .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--border);
    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-primary);
  }

  /* 日报容器 */
  .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;
  }
}

/* Giscus 评论区域 - 与日报内容对齐 */
.giscus-wrapper {
    max-width: 860px;
    margin: 2rem auto 0;
    padding: 0 1.5rem;
}
