/* ── progress.css — barra de progreso de lectura ── */

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: calc(var(--z-modal, 900) + 10);
  background: transparent;
  pointer-events: none;
}

.reading-progress[hidden] {
  display: none;
}

.reading-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(
    to right,
    var(--accent),
    color-mix(in srgb, var(--accent) 70%, #00e5ff)
  );
  border-radius: 0 2px 2px 0;
  transition: width 80ms linear;
  transform-origin: left;
}