.scw-pull-refresh-indicator {
  position: fixed;
  top: calc(12px + env(safe-area-inset-top));
  left: 50%;
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #e2e8f0;
  box-shadow: 0 18px 40px -20px rgba(15, 23, 42, 0.4);
  color: #0f172a;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -24px) scale(0.96);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.scw-pull-refresh-indicator.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.scw-pull-refresh-spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #dbeafe;
  border-top-color: var(--site-accent-color);
  flex-shrink: 0;
  transform: rotate(0deg);
}

.scw-pull-refresh-indicator.is-loading .scw-pull-refresh-spinner {
  animation: scwPullRefreshSpin 0.7s linear infinite;
}

.scw-pull-refresh-text {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

@keyframes scwPullRefreshSpin {
  to {
    transform: rotate(360deg);
  }
}
