/* ==========================================================================
   app.css —— 前台站点公用样式（Tailwind 之外的少量原生 CSS）
   Tailwind 编译产物见 tailwind.min.css，组件类（.btn-primary / .card 等）在
   resources/css/site.css 里定义。
   ========================================================================== */

/* 自定义滚动条 */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #F5F5F7; }
::-webkit-scrollbar-thumb { background: #B8DBFF; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #007AFF; }

/* 选中文字 */
::selection { background: rgba(0, 122, 255, 0.18); }

/* <details> 的默认三角形去掉（移动端菜单） */
summary::-webkit-details-marker { display: none; }

/* 时间线（发展历程页） */
.timeline { position: relative; }
.timeline::before {
    content: '';
    position: absolute; top: 0; bottom: 0; left: 1.125rem;
    width: 2px;
    background: linear-gradient(to bottom, #007AFF, #5856D6 60%, rgba(88, 86, 214, 0.15));
}
@media (min-width: 1024px) {
    .timeline::before { left: 50%; margin-left: -1px; }
}

/* 文章正文的行内样式已在渲染时由 ArticleHtml::beautify() 去掉，排版规则见 resources/css/site.css */

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    .animate-float, .animate-float-slow, .animate-fade-in-up { animation: none !important; }
    .js-fade { transition: none !important; }
}
