        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .ai-body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
            background-color: #f7f7f7;
            color: #333;
            line-height: 1.6;
            height: 100vh;
            overflow: hidden;
        }

        .container {
            height: calc(100vh - 96px) ;
            display: flex;
            flex-direction: column;
            max-width: 1100px;
            margin: 96px auto 0 auto;
        }

        /* 头部标题 - 隐藏默认头部 */
        .header {
            display: none;
        }

        /* 主要内容区 */
        .main-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            background-color: #f7f7f7;
            overflow: hidden;
            min-height: 0;
        }

        /* 聊天区域 */
        .chat-area {
            flex: 1;
            display: flex;
            flex-direction: column;
            padding: 20px;
            background-color: #f7f7f7;
            overflow: hidden;
            min-height: 0;
        }

        /* 聊天消息 - 可独立滚动 */
        .chat-messages {
            flex: 1;
            display: flex;
            flex-direction: column;
            background-color: #f7f7f7;
            overflow-y: auto;
            overflow-x: hidden;
            min-height: 0;
            /* 隐藏垂直滚动栏 */
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* IE and Edge */
        }

        /* 隐藏Chrome、Safari和Opera的滚动栏 */
        .chat-messages::-webkit-scrollbar {
            display: none;
        }

        .message {
            margin-bottom: 15px;
            display: flex;
            align-items: flex-start;
        }

        .message.bot-message {
            justify-content: flex-start;
        }

        .message.user-message {
            justify-content: flex-end;
        }

        .chat-message-container {
            max-width: 90%;
            position: relative;
        }

        .chat-message-item {
            padding: 12px 16px;
            border-radius: 12px;
            font-size: 16px;
            line-height: 1.6;
            margin-bottom: 8px;
            height: auto;
            min-height: auto;
        }

        .bot-message .chat-message-item {
            background-color: #ffffff;
            color: #333;
            border-bottom-left-radius: 4px;
        }

        /* 初始欢迎消息固定高度 */
        .bot-message:first-child .chat-message-container {
            max-width: 100%;
            width: 100%;
        }

        .bot-message:first-child .chat-message-item {
            height: 60px;
            overflow-y: hidden;
            display: flex;
            align-items: center;
        }

        .user-message .chat-message-item {
            background-color: rgb(28, 150, 221);
            color: #fff;
            border-bottom-right-radius: 4px;
        }

        .message-content {
            white-space: pre-wrap;
        }

        /* 聊天消息操作按钮 */
        .chat-message-top-actions {
            display: none;
            gap: 8px;
            position: absolute;
            top: -20px;
            right: 0;
            background-color: transparent;
            z-index: 10;
        }

        .chat-message-top-action {
            font-size: 12px;
            color: #999;
            cursor: pointer;
            padding: 2px 4px;
            border-radius: 3px;
        }

        .bot-message:hover .chat-message-top-actions {
            display: flex;
        }

        /* 常见问题 - 水平滚动标签 */
        .common-questions {
            flex-shrink: 0;
            padding: 0 20px 10px;
            background-color: #f7f7f7;
        }

        .common-questions-scroll {
            overflow-x: auto;
            white-space: nowrap;
            padding: 10px 0;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .common-questions-scroll::-webkit-scrollbar {
            display: none;
        }

        .common-questions-list {
            display: inline-flex;
            gap: 10px;
        }

        .common-question-item {
            background-color: white;
            border-radius: 50px;
            padding: 6px 18px;
            font-size: 14px;
            cursor: pointer;
            white-space: nowrap;
            transition: all 0.2s ease;
            border: 1px solid transparent;
        }

        .common-question-item:hover {
            border-color: rgb(158, 32, 32);
            color: rgb(158, 32, 32);
        }

        /* 输入区域包装器 - 固定在底部 */
        .input-area-wrapper {
            flex-shrink: 0;
            background-color: #f7f7f7;
            padding: 0 20px 20px;
        }

        /* 输入区域 */
        .input-area {
            display: flex;
            gap: 10px;
            align-items: center;
            border-radius: 0;
            border: none;
        }

        .input-wrapper {
            flex: 1;
            display: flex;
            align-items: center;
            background-color: white;
            border-radius: 50px;
            padding: 8px 15px;
            gap: 10px;
        }

        .chat-input {
            flex: 1;
            padding: 12px 0;
            border: none;
            border-radius: 0;
            font-size: 14px;
            outline: none;
            transition: none;
            background: transparent;
        }

        .chat-input:focus {
            border-color: transparent;
            box-shadow: none;
        }

        .send-btn {
            width: 40px;
            height: 40px;
           background-color: rgb(28, 150, 221);
            color: #fff;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }

        .send-btn:hover {
            background-color: #c0392b;
        }

        .send-btn img {
            width: 16px;
            height: 16px;
        }

        /* 页脚 */
        .ai-footer {
            flex-shrink: 0;
            text-align: center;
            font-size: 12px;
            color: #A9A9A9;
            padding: 10px 0;
            background-color: #f7f7f7;
        }
        .ai-banner-content {
            width: 100%;
            height: auto;
            max-width: 1100px;
            margin: 0 auto;
        }
        /* Markdown样式 */
        .markdown-body {
            font-size: 16px;
            line-height: 1.6;
            white-space: pre-wrap;
            word-break: break-word;
            height: auto;
            min-height: auto;
        }

        .markdown-body p {
            margin: 0;
        }

        .markdown-body ul,
        .markdown-body ol {
            margin: 0 0 10px 20px;
        }

        .markdown-body li {
            margin: 5px 0;
        }

        /* 聊天消息推荐列表样式 */
        .chat-message-recommend {
            background-color: white;
            border-radius: 8px;
            margin-top: 12px;
            border: 1px solid #e0e0e0;
            overflow: hidden;
        }

        .recommend-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .recommend-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 16px;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.2s ease;
            flex-wrap: nowrap;
        }

        .recommend-item:last-child {
            border-bottom: none;
        }

        .recommend-item:hover {
            background-color: #fafafa;
        }

        .recommend-arrow {
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            color: #c1c1c1;
            margin-left: 20px;
            padding: 0;
            flex-shrink: 0;
        }

        .recommend-item:hover .recommend-arrow {
            color: rgb(158, 32, 32);
        }

        /* 箭头图标样式 */
        .recommend-arrow svg {
            width: 16px;
            height: 16px;
            fill: currentColor;
        }

        /* 滚动条样式 */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: #f1f1f1;
        }

        ::-webkit-scrollbar-thumb {
            background: #c1c1c1;
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #a8a8a8;
        }

       .ai-banner {
            margin-bottom: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100vw;
            background-color: rgb(158, 32, 32);
            padding: 20px;
            text-align: center;
            color: white;
            border-radius: 0;
            box-sizing: border-box;
        }
        /* 响应式设计 */
        @media (max-width: 768px) {
            .chat-area {
                padding: 15px;
            }

            .input-area-wrapper {
                padding: 0 15px 15px;
            }

            .chat-message-item {
                font-size: 14px;
                max-width: 90%;
            }

            .common-question-item {
                font-size: 13px;
                padding: 5px 15px;
            }
        }