/* ===== OOEG 线装批注本 · 全站共享体验层 v1 (2026-09-20) =====
   纯视觉层：不改动任何页面结构与功能脚本 */
/* 1) 纸纹底 */
body {
  background-color: #FCFBF7 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}
/* 2) 选区 / 焦点 / 滚动条 */
::selection { background: rgba(51, 83, 158, 0.16); }
:focus-visible { outline: 2px solid rgba(51, 83, 158, 0.55); outline-offset: 2px; border-radius: 4px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #DDD9CC; border-radius: 8px; border: 2px solid #FCFBF7; }
::-webkit-scrollbar-thumb:hover { background: #C9C3B2; }
/* 3) 卡片悬停墨浮（命中常见卡片类名，无则自然跳过） */
.result-item, .sidebar-card, .card, .history-item, .quiz-card, .panel {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.result-item:hover, .sidebar-card:hover, .card:hover, .history-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(31, 39, 51, 0.08);
  border-color: #C9D6EF;
}
/* 4) 侧栏卡片标题红点起笔 */
.sidebar-card h3::before, .card h3.dot::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #B91C1C; margin-right: 8px; vertical-align: middle;
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.12);
}
.sidebar-card h3 { display: flex; align-items: center; gap: 8px; }
/* 5) 动效克制 */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* 6) 空态与提示文案对比度 */
.empty, .placeholder, [class*=empty-state] { color: #566074 !important; }
.empty *, .placeholder * { color: inherit; }
