/* 自定义动画 - 模仿 Fuwari 的平滑感 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 延迟动画用于列表项 */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* 文章内容微调 */
.prose pre {
    background-color: #0d1117 !important;
    border-radius: 1rem !important;
}

/* 只有当 <li> 里面包含 checkbox 时，才去掉圆点和内边距 */
.prose li:has(input[type="checkbox"]) {
    list-style-type: none !important;
    padding-left: 0 !important;
}

/* 移除专门针对这些项的 Tailwind 伪元素圆点 */
.prose li:has(input[type="checkbox"])::marker {
    content: none !important;
}
