/* Legacy templates expose these tags only until Vue mounts the shell. */
body > :has(aside-menu, top-menu) {
  display: none !important;
}
/* The theme loader takes over existing per-page initial masks. */
html.mf701-page-loading-enabled #mainLoading {
  display: none !important;
}
#mf701-page-loading {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  align-items: center;
  justify-content: center;
  background: var(--member-bg-surface, #fff);
  cursor: wait;
}
html.mf701-page-loading-active #mf701-page-loading {
  display: flex;
}
html.mf701-page-loading-active {
  overflow: hidden;
}
.mf701-page-loading__bar {
  width: 5px;
  height: 56px;
  margin: 3px;
  border-radius: 3px;
  background: var(--member-brand-gradient, linear-gradient(115deg, #075f43 0%, #14834e 49%, #527c31 100%));
  animation: mf701-page-loading 1s infinite ease-in-out;
}
.mf701-page-loading__bar:nth-child(2) { animation-delay: -0.9s; }
.mf701-page-loading__bar:nth-child(3) { animation-delay: -0.8s; }
.mf701-page-loading__bar:nth-child(4) { animation-delay: -0.7s; }
.mf701-page-loading__bar:nth-child(5) { animation-delay: -0.6s; }
@keyframes mf701-page-loading {
  0%, 40%, 100% { transform: scaleY(0.5); }
  20% { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  .mf701-page-loading__bar { animation: none; transform: scaleY(0.5); }
}
