body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Poppins', sans-serif;
}

.desc-content img {
    max-width: 100%;
    margin-inline: auto;
}

/* 平滑动画 */
.toast-enter {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
}

.toast-enter-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.toast-exit {
    opacity: 1;
    transform: translateY(0);
}

.toast-exit-active {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.15s ease-in;
}

/* 自定义滚动条 (适配深色模式) */
.custom-scroll::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.custom-scroll::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 10px;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.dark .custom-scroll::-webkit-scrollbar-track {
    background: #1e293b;
}

.dark .custom-scroll::-webkit-scrollbar-thumb {
    background: #475569;
}
/* 平滑主题切换动画（轻微淡入效果） */
.theme-transition {
    transition: background 0.25s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}


