/* 全局过渡：按钮、导航、列表、主题切换 */
html, body {
  transition: background-color .35s ease, color .28s ease;
}
a, button, input, textarea, select,
.ico-btn, .theme-btn, .nav-item, .file-row, .file-thumb, .file-name,
.crumb, .el-button, .el-tag, .el-input__wrapper, .seg,
.short-item, .link-row, .card, .ident-box {
  transition:
    background-color .22s ease,
    color .22s ease,
    border-color .22s ease,
    box-shadow .22s ease,
    transform .22s ease,
    opacity .22s ease,
    filter .22s ease;
}
.ico-btn:hover:not(:disabled),
.theme-btn:hover,
.nav-item:hover {
  transform: translateY(-1px);
}
.ico-btn:active:not(:disabled),
.theme-btn:active,
.nav-item:active {
  transform: translateY(0);
}
.file-row:hover { transform: translateX(2px); }
.nav-item.active { transition-duration: .18s; }
@media (prefers-reduced-motion: reduce) {
  html, body, a, button, input, textarea, select,
  .ico-btn, .theme-btn, .nav-item, .file-row, .file-thumb,
  .crumb, .el-button, .el-tag, .el-input__wrapper, .seg,
  .short-item, .link-row, .card, .ident-box {
    transition: none !important;
    transform: none !important;
  }
}
