/* ==========================================================
   全站统一的「滚动出现」动画  V2（2026-11-19）
   旧版把 .pl-reveal 初始设为 opacity:0，必须等 site-reveal.js
   加载 + IntersectionObserver 回调 + 0.8s 过渡才显示。
   国内访问 Cloudflare 慢时，JS 晚到几秒，内容就一直处于
   opacity:0，看起来像页面卡住/灰蒙蒙。

   V2 改为：内容默认可见，动画只做「增强」。
   即使 JS 永远不执行，访客也能立刻看到完整内容。
   ========================================================== */

.pl-reveal {
    opacity: 1;
    transform: none;
}

.pl-reveal.pl-reveal-in {
    animation: plRevealIn .45s ease both;
}

@keyframes plRevealIn {
    from { opacity: .65; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}

/* 尊重系统「减少动态效果」设置 */
@media (prefers-reduced-motion: reduce) {
    .pl-reveal,
    .pl-reveal.pl-reveal-in {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}
