.btn__spinner {
  display: none;
  width: 0.8rem; height: 0.8rem;
  margin-left: 0.55rem;
  border: 1.5px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  opacity: 0.75;
  animation: stub-spin 0.7s linear infinite;
}
.btn--quiet.is-spinning {
  color: var(--gold-400);
  border-color: rgb(214 189 131 / 0.45);
}
.btn--quiet.is-spinning .btn__spinner { display: inline-block; }

@keyframes stub-spin { to { rotate: 360deg; } }

.loadnote {
  margin-top: 0.85rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.loadnote.is-on {
  opacity: 0.75;
  animation: loadnote-pulse 1.8s ease-in-out infinite;
}

@keyframes loadnote-pulse {
  0%, 100% { opacity: 0.75; }
  50%      { opacity: 0.4; }
}

.loadbar {
  position: fixed;
  top: 0; left: 0;
  z-index: 200;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, rgb(192 161 91 / 0.55), var(--gold-500));
  box-shadow: 0 0 10px rgb(192 161 91 / 0.6);
  opacity: 0;
  pointer-events: none;
}
.loadbar.is-running {
  opacity: 1;
  animation: loadbar-creep 2.2s cubic-bezier(0.1, 0.88, 0.2, 1) forwards;
}

.loadbar.is-done {
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

@keyframes loadbar-creep {
  0%   { width: 0; }
  10%  { width: 46%; }
  30%  { width: 62%; }
  100% { width: 71%; }
}

@media (max-width: 26rem) {
  .btn--quiet.is-spinning .btn__spinner { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .btn__spinner { animation: none !important; }
  .loadbar.is-running { animation: none !important; width: 71%; }

  .loadnote.is-on { animation: none !important; opacity: 0.75; }
}
