.portal-loading {
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px 24px;
  text-align: center;
  background: #fbfaf7;
  color: #173c60;
  font:
    14px/1.6 system-ui,
    sans-serif;
}
.portal-loading p {
  margin: 0;
  max-width: 310px;
}
.portal-loading .portal-loading-brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.portal-loading p:not(.portal-loading-brand) {
  color: #71869a;
}
.portal-paw {
  position: relative;
  width: 78px;
  height: 78px;
  margin-bottom: 15px;
  color: #286a9e;
  animation: fp-paw-breathe 1.8s ease-in-out infinite;
  transform-origin: 50% 70%;
}
.portal-paw i,
.portal-paw b {
  position: absolute;
  display: block;
  background: currentColor;
}
.portal-paw i {
  width: 17px;
  height: 23px;
  border-radius: 50%;
  animation: fp-toe-glow 1.8s ease-in-out infinite;
}
.portal-paw i:nth-child(1) {
  left: 2px;
  top: 25px;
  transform: rotate(-30deg);
  animation-delay: 0s;
}
.portal-paw i:nth-child(2) {
  left: 20px;
  top: 5px;
  transform: rotate(-12deg);
  animation-delay: 0.15s;
}
.portal-paw i:nth-child(3) {
  right: 20px;
  top: 5px;
  transform: rotate(12deg);
  animation-delay: 0.3s;
}
.portal-paw i:nth-child(4) {
  right: 2px;
  top: 25px;
  transform: rotate(30deg);
  animation-delay: 0.45s;
}
.portal-paw b {
  width: 45px;
  height: 36px;
  left: 17px;
  top: 38px;
  border-radius: 52% 52% 40% 40%;
  transform: rotate(-3deg);
}
.portal-loading .portal-retry {
  display: inline-block;
  margin-top: 10px;
  border-radius: 24px;
  padding: 10px 22px;
  background: #286a9e;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.portal-loading .portal-retry[hidden] {
  display: none;
}
.portal-retry:focus-visible {
  outline: 3px solid #173c60;
  outline-offset: 4px;
}
.portal-loading.is-delayed .portal-paw,
.portal-loading.is-delayed .portal-paw i {
  animation: none;
}
@keyframes fp-paw-breathe {
  0%,
  100% {
    transform: translateY(0) scale(0.94);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-6px) scale(1);
    opacity: 1;
  }
}
@keyframes fp-toe-glow {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .portal-paw,
  .portal-paw i {
    animation: none;
  }
}
