.ptr-root {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transform: translateY(calc(-100% + var(--ptr-pull, 0px)));
  transition: transform 0.2s ease;
  padding-top: env(safe-area-inset-top, 0px);
}

.ptr-root.is-pulling {
  transition: none;
}

.ptr-root.is-refreshing {
  transform: translateY(0);
  transition: transform 0.25s ease;
}

.ptr-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  min-width: 10rem;
  padding: 0.75rem 1rem 0.65rem;
  border-radius: 0 0 1rem 1rem;
  background: rgba(13, 0, 71, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  color: #ffffff;
  pointer-events: none;
}

.ptr-spinner {
  width: 1.35rem;
  height: 1.35rem;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #E3A509;
  border-radius: 50%;
  transform: rotate(var(--ptr-rotate, 0deg));
  transition: transform 0.08s linear;
}

.ptr-root.is-refreshing .ptr-spinner {
  animation: ptr-spin 0.75s linear infinite;
}

.ptr-label {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

@keyframes ptr-spin {
  to {
    transform: rotate(360deg);
  }
}

html.ptr-enabled,
html.ptr-enabled body {
  overscroll-behavior-y: contain;
}

@media (prefers-reduced-motion: reduce) {
  .ptr-root,
  .ptr-spinner {
    transition: none;
    animation: none !important;
  }
}
