/* One shared loading layer; the native scrollbar remains untouched. */
#global-loading {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  overflow: visible;
  outline: none;
  box-shadow: none;
}
#global-loading:focus-visible {
  outline: none;
}
#global-loading[open] {
  display: grid;
  place-items: center;
}
#global-loading::backdrop {
  background: rgba(12, 16, 24, 0.46);
}
.loader {
  --color-1: #fff;
  --size: 1px;
  width: calc(48 * var(--size));
  height: calc(48 * var(--size));
  border: calc(5 * var(--size)) solid var(--color-1);
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
@keyframes rotation {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .loader { animation: none; }
}
