/* Gachi stylesheet: pull-refresh.css. Pull-to-refresh indicator. */
/* Extracted verbatim from index.html. Load order is significant; see styles/README.md. */

/* ------------------------------ */
/* Pull-to-Refresh */
/* ------------------------------ */
.pull-refresh-indicator {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 1000;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.pull-refresh-indicator.visible {
  transform: translateY(0);
}

.pull-refresh-indicator .spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent-soft);
  border-top: 2px solid var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 8px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

