/* Match the native eight-spoke indicator; keep HumHub's loading/status lifecycle. */
.loop-shell .spinner-border,
.loop-shell [data-ui-richtext]:not([data-ui-richtext-rendered]):not([data-edit])::before,
.loop-shell .loop-feed-load-status[data-loading=true]::before {
  display:inline-block;
  flex:none;
  width:28px;
  height:28px;
  border:0;
  border-radius:0;
  background:var(--loop-accent,#a77bfa);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg fill='white'%3E%3Crect x='14' y='1' width='4' height='9' rx='2'/%3E%3Crect x='14' y='1' width='4' height='9' rx='2' transform='rotate(45 16 16)' opacity='.88'/%3E%3Crect x='14' y='1' width='4' height='9' rx='2' transform='rotate(90 16 16)' opacity='.76'/%3E%3Crect x='14' y='1' width='4' height='9' rx='2' transform='rotate(135 16 16)' opacity='.64'/%3E%3Crect x='14' y='1' width='4' height='9' rx='2' transform='rotate(180 16 16)' opacity='.52'/%3E%3Crect x='14' y='1' width='4' height='9' rx='2' transform='rotate(225 16 16)' opacity='.40'/%3E%3Crect x='14' y='1' width='4' height='9' rx='2' transform='rotate(270 16 16)' opacity='.28'/%3E%3Crect x='14' y='1' width='4' height='9' rx='2' transform='rotate(315 16 16)' opacity='.16'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg fill='white'%3E%3Crect x='14' y='1' width='4' height='9' rx='2'/%3E%3Crect x='14' y='1' width='4' height='9' rx='2' transform='rotate(45 16 16)' opacity='.88'/%3E%3Crect x='14' y='1' width='4' height='9' rx='2' transform='rotate(90 16 16)' opacity='.76'/%3E%3Crect x='14' y='1' width='4' height='9' rx='2' transform='rotate(135 16 16)' opacity='.64'/%3E%3Crect x='14' y='1' width='4' height='9' rx='2' transform='rotate(180 16 16)' opacity='.52'/%3E%3Crect x='14' y='1' width='4' height='9' rx='2' transform='rotate(225 16 16)' opacity='.40'/%3E%3Crect x='14' y='1' width='4' height='9' rx='2' transform='rotate(270 16 16)' opacity='.28'/%3E%3Crect x='14' y='1' width='4' height='9' rx='2' transform='rotate(315 16 16)' opacity='.16'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
  animation:loop-native-spinner .8s steps(8,end) infinite;
}
@keyframes loop-native-spinner { to {transform:rotate(360deg)} }
.loop-shell [data-ui-richtext]:not([data-ui-richtext-rendered]):not([data-edit])::before {
  margin:-14px 0 0 -14px;
}
.loop-shell .spinner-border-sm {width:18px;height:18px}
@media(prefers-reduced-motion:reduce) {
  .loop-shell .spinner-border,
  .loop-shell [data-ui-richtext]:not([data-ui-richtext-rendered]):not([data-edit])::before,
  .loop-shell .loop-feed-load-status[data-loading=true]::before {animation:none}
}
