/* 单词星际 · 高分辨率低功耗模式 v2
   进一步处理鼠标 hover 在 4K Android TV 上的高成本重绘。 */
html, body {
  background-attachment: scroll !important;
  overscroll-behavior: none !important;
}
body {
  animation: none !important;
  background-position: 50% 50% !important;
  background-size: 100% 100% !important;
}
* {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
a[href="eng-kaoshi.html"] { animation: none !important; }
.card, .mod, .btn, .fchip, .subj-tab, .opt, .toolbar button, .page-btn {
  transition: none !important;
}
@media (hover: hover), (pointer: fine) {
  .card:hover, .book:hover, .lv:hover, .un:hover, .wcard:hover,
  .stat:hover, .tabbar button:hover, .toolbar button:hover,
  .chip:hover, .front .sound:hover, .mark button:hover,
  .opt:hover:not(:disabled), .quiz-next:hover,
  .unitbar button:hover, .unitbar a.unit-btn:hover,
  .full-links a:hover {
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
  }
}

/* 遥控器焦点：上下左右移动时高亮当前可操作项 */
.range:focus, .opt:focus, button:focus, [role="button"]:focus {
  outline: 4px solid #fbbf24 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 8px rgba(251,191,36,.28) !important;
}

/* v3：电视/低性能设备彻底关闭 CSS 动画与过渡，避免鼠标移动和点击时反复重绘 */
*, *::before, *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
.range:active, .opt:active, button:active, [role="button"]:active {
  transform: none !important;
}
.range, .opt, .btn, .spell-btn, .panel, .card, .mod, .taskcard,
.stat, .chip, .fchip, .quiz-next, .toolbar button, .page-btn {
  box-shadow: none !important;
  filter: none !important;
}
