/* 文章阅读进度条样式 */

/* 进度条容器 */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(0, 0, 0, 0.1);
  z-index: 9999;
  pointer-events: none;
}

/* 进度条填充 */
.reading-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transition: width 0.2s ease-out;
  box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

/* 深色模式适配 */
[data-theme="dark"] .reading-progress-bar {
  background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .reading-progress-fill {
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 0 10px rgba(102, 126, 234, 0.8);
}

/* 动画效果 */
@keyframes progressPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.reading-progress-fill {
  animation: progressPulse 2s ease-in-out infinite;
}

/* 移动端优化 */
@media (max-width: 768px) {
  .reading-progress-bar {
    height: 2px;
  }
}
