.pull-refresh-enabled {
  overscroll-behavior-y: contain;
}

.pull-refresh-indicator {
  position: fixed;
  z-index: 10000;
  top: calc(env(safe-area-inset-top, 0px) + 8px);
  left: 50%;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line, #eadde0);
  border-radius: 24px;
  background: var(--white, #fff);
  box-shadow: 0 5px 18px rgb(50 42 45 / 14%);
  color: var(--ink, #322a2d);
  font: 600 13px/1.2 'DM Sans', sans-serif;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-100% + var(--pull-refresh-offset, 0px)));
  transition: opacity 120ms ease;
}

.pull-refresh-indicator.is-visible {
  opacity: 1;
}

.pull-refresh-icon {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  color: var(--rose-dark, #874e61);
  font-size: 19px;
  line-height: 1;
}

.pull-refresh-indicator.is-ready .pull-refresh-icon {
  transform: rotate(180deg);
}

.pull-refresh-indicator.is-refreshing .pull-refresh-icon {
  overflow: hidden;
  border: 2px solid var(--line, #eadde0);
  border-top-color: var(--rose, #a86578);
  border-radius: 50%;
  color: transparent;
  animation: pull-refresh-spin 700ms linear infinite;
}

@keyframes pull-refresh-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .pull-refresh-indicator.is-refreshing .pull-refresh-icon {
    animation-duration: 1.5s;
  }
}
