/* 修正后的 CSS 文件（tailwind-core.css） */
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer utilities {
    /* 滚动条隐藏 */
    .scrollbar-hide {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .scrollbar-hide::-webkit-scrollbar {
        display: none;
    }
    
    /* 消息阴影 */
    .message-shadow {
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    }
    
    /* 打字机动效 */
    .typing-dot {
        animation: typing 1.4s infinite ease-in-out both;
    }
    .typing-dot:nth-child(2) {
        animation-delay: 0.2s;
    }
    .typing-dot:nth-child(3) {
        animation-delay: 0.4s;
    }
    @keyframes typing {
        0%, 80%, 100% { transform: translateY(0); }
        40% { transform: translateY(-6px); }
    }
    
    /* 淡入动画 */
    .fade-in {
        animation: fadeIn 0.3s ease-in-out;
    }
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    /* 缩放动画 */
    .scale-in {
        animation: scaleIn 0.2s ease-in-out;
    }
    @keyframes scaleIn {
        from { transform: scale(0.95); opacity: 0; }
        to { transform: scale(1); opacity: 1; }
    }
    
    /* 按钮加载旋转动画 */
    .spin-loader {
        animation: spin 1s linear infinite;
    }
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    
    /* AI思考中呼吸灯效果 */
    .thinking-pulse {
        animation: pulse 1.5s infinite;
    }
    @keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.6; }
    }
}
/* 删掉原来错误的 <script> 标签部分！！！ */