/* pull-to-refresh-20261115.css — индикатор «потяни, чтобы обновить» */

.bf-ptr {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 6px 18px rgba(15, 23, 42, .18);
  transform: translate(-50%, -70px);
  opacity: 0;
  transition: opacity .15s ease, transform .15s ease;
  pointer-events: none;
}
.dark .bf-ptr {
  background: rgba(30, 41, 59, .92);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
}

.bf-ptr__spinner {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(124, 58, 237, .35);
  border-top-color: #7c3aed;
  transition: transform .1s linear;
}

.bf-ptr--ready .bf-ptr__spinner {
  border-color: #7c3aed;
  border-top-color: rgba(124, 58, 237, .25);
}

.bf-ptr--loading .bf-ptr__spinner {
  animation: bf-ptr-spin .8s linear infinite;
}

@keyframes bf-ptr-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .bf-ptr { transition: none; }
  .bf-ptr--loading .bf-ptr__spinner { animation-duration: 1.6s; }
}
