.ub-page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(246, 246, 246, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 1;
  pointer-events: all;
  transition: opacity 220ms ease;
}

.ub-page-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.ub-page-loader__spinner {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  border: 4px solid rgba(156, 63, 0, 0.18);
  border-top-color: rgba(156, 63, 0, 0.9);
  animation: ubspin 0.9s linear infinite;
}

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

.ub-page-refresh {
  position: fixed;
  right: calc(18px + env(safe-area-inset-right));
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 9998;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  border: 1px solid rgba(156, 63, 0, 0.12);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(45, 47, 47, 0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease;
}

.ub-page-refresh:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 1);
}

.ub-page-refresh:active {
  transform: translateY(0);
}

.ub-page-refresh__icon {
  width: 22px;
  height: 22px;
  fill: rgba(156, 63, 0, 0.95);
}
