/**
 * 前后台通用微调：字体、焦点环、打印与动效偏好
 */
html {
  font-family: var(--yj-font-sans, system-ui, sans-serif);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--yj-color-accent, #0d6efd);
  outline-offset: 2px;
}

::selection {
  background: rgba(13, 110, 253, 0.18);
  color: inherit;
}

/* 后台页脚版权（替代 align="center" 的语义样式，可逐步给元素加 class） */
.lyear-layout-content > .copyright {
  margin: 1rem 0 0;
  padding: 0.75rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--yj-color-muted, #6c757d);
}

.lyear-layout-content > .copyright a {
  color: var(--yj-color-link, rgb(55 133 250));
}
