.theme-scope .loading-status {
    margin: 0;
    color: var(--color-text-muted);
  }

  .loading-status:empty { position: absolute; }

  .loading-status[data-waiting]::before {
    content: "";
    display: inline-block;
    width: .875em;
    height: .875em;
    margin-inline-end: var(--rhythm-tight);
    border: 2px solid currentColor;
    border-inline-end-color: transparent;
    border-radius: 50%;
    vertical-align: -.08em;
  }

  @media (prefers-reduced-motion: no-preference) {
    .loading-status[data-waiting]::before { animation: loading-spin .85s linear infinite; }
  }

  @keyframes loading-spin { to { transform: rotate(1turn); } }

  .theme-scope .loading-status[data-page-loading] {
    position: fixed;
    z-index: 70;
    inset-block-start: max(var(--rhythm-body), env(safe-area-inset-top));
    inset-inline-start: 50%;
    transform: translateX(-50%);
    max-inline-size: calc(100% - 2 * var(--rhythm-body));
    color: var(--color-text-primary);
    background: var(--color-bg-primary);
    box-shadow: 0 0 0 1px var(--color-border);
    border-radius: var(--radius-md);
    pointer-events: none;
  }

  @media (max-width: 40rem) {
    .theme-scope .loading-status[data-page-loading] {
      inset-block-start: auto;
      inset-block-end: calc(var(--rhythm-body) + env(safe-area-inset-bottom));
    }

    .theme-scope.has-podovirus-dock .loading-status[data-page-loading] {
      inset-block-end: calc(var(--pod-dock-height, 10rem) + var(--rhythm-body) + env(safe-area-inset-bottom));
    }
  }

  .loading-status[data-page-loading]:not(:empty) {
    padding: var(--rhythm-tight) var(--rhythm-body);
  }
  .remote-list-feedback {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--rhythm-tight);
  }
  .remote-list-feedback:not(:has([data-listing-pending]:not(:empty))) { position: absolute; }
  .remote-list-feedback:has([data-listing-pending]:not(:empty)) {
    margin-block-end: var(--rhythm-body);
  }
  [data-remote-pages] > .remote-list-feedback { flex-basis: 100%; margin: 0; }
