/* ===== Sober 加载蒙层 ===== */
.md3-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  box-sizing: border-box;
  padding: 24px;
  color: var(--s-color-on-surface, #191c1d);
  background: color-mix(in srgb, var(--s-color-surface, #fbfcfd) 76%, transparent);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  opacity: 1;
  visibility: visible;
  transition: opacity 450ms var(--s-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1)),
              visibility 450ms var(--s-motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1));
}

.md3-loading-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.materialis-page-loading {
  width: 58px;
  color: var(--s-color-primary, #006878);
}

.md3-loading-brand {
  font-family: var(--materialis-font-family, system-ui, sans-serif);
  font-size: 1.25rem;
  font-weight: 650;
  color: var(--s-color-primary, #006878);
  margin-bottom: 8px;
}

.materialis-loading-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .md3-loading-overlay {
    transition-duration: 0.01ms;
  }
}
