/* 开发日志 - 时间线样式 */
.devlog-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 16px 60px;
}

.devlog-header {
  margin-bottom: 32px;
}

.devlog-intro {
  color: #666;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.devlog-stats {
  display: flex;
  gap: 8px;
}

.devlog-stat-badge {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 4px 14px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
}

/* 时间线 */
.devlog-timeline {
  position: relative;
  padding-left: 28px;
}

.devlog-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #667eea 0%, #764ba2 50%, #e0e0e0 100%);
}

.devlog-item {
  position: relative;
  margin-bottom: 24px;
}

.devlog-dot {
  position: absolute;
  left: -24px;
  top: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #667eea;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #667eea;
  z-index: 1;
}

.devlog-item:first-child .devlog-dot {
  background: #764ba2;
  box-shadow: 0 0 0 2px #764ba2, 0 0 8px rgba(118, 75, 162, 0.4);
}

.devlog-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
  transition: box-shadow 0.2s, transform 0.2s;
}

.devlog-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.devlog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.devlog-date {
  font-size: 13px;
  font-weight: 600;
  color: #667eea;
  font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
}

.devlog-hour {
  font-size: 11px;
  color: #999;
  background: #f5f5f5;
  padding: 1px 8px;
  border-radius: 10px;
  font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
}

.devlog-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.5;
}

.devlog-content {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}

/* 分页 */
.devlog-pagination {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  font-size: 13px;
}

.devlog-pagination button {
  padding: 6px 12px;
  border: 1px solid #e0e0e0;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.15s;
}

.devlog-pagination button:hover {
  border-color: #667eea;
  color: #667eea;
}

.devlog-pagination button.active {
  background: #667eea;
  color: #fff;
  border-color: #667eea;
}

.devlog-pagination span {
  color: #999;
  padding: 0 4px;
}

/* 状态提示 */
.devlog-loading,
.devlog-empty,
.devlog-error {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 14px;
}

.devlog-error {
  color: #c62828;
}

/* 响应式 */
@media (max-width: 600px) {
  .devlog-container {
    padding: 12px 8px 40px;
  }
  .devlog-card {
    padding: 14px;
  }
  .devlog-title {
    font-size: 15px;
  }
  .devlog-content {
    font-size: 13px;
  }
}
