.sns-pull-refresh-indicator {
  position: fixed;
  top: max(10px, env(safe-area-inset-top));
  left: 50%;
  z-index: 12000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 112px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #dbe5f1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #526072;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -56px);
  transition: opacity 150ms ease, transform 180ms ease;
}

.sns-pull-refresh-indicator::before {
  width: 15px;
  height: 15px;
  border: 2px solid #dbe7f7;
  border-top-color: #3182f6;
  border-radius: 50%;
  content: "";
  transform: rotate(var(--sns-pull-rotation, 0deg));
}

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

.sns-pull-refresh-indicator.is-refreshing::before {
  animation: snsPullRefreshSpin 700ms linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .sns-pull-refresh-indicator { transition: none; }
  .sns-pull-refresh-indicator.is-refreshing::before { animation-duration: 1200ms; }
}
